# Set Margins / Borders or Page Layout in Printing

**YouTube:** [How to Set Margins / Borders / Page Layout in Document Printing?](https://www.youtube.com/watch?v=OAUc8xyOPEA)

## How to Set Margins / Borders / Page Layout in Document Printing?

In this tutorial, we’ll walk you through how to configure **print borders and margins** in Logic ERP.

***

### Review the Print

* First, take a print preview of the bill.
* As you’ll notice, no border has been set yet.

***

### Set Borders in Multiple Printing Configuration

* Go to **Sale Multiple Printing Configuration**.
* Select the relevant **printing configuration**.
* To create a border for the **header**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FAUHtba6VcObk2Fkt0LIZ%2FVB%20-%20Header.png?alt=media&#x26;token=c8e323ee-c323-41d6-abb3-6c2994a807f8" alt=""><figcaption></figcaption></figure>

* Click on **Insert Shapes → Rectangle**.
  * Place it to form the border.
  * Expand and adjust as needed.
  * Save changes.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fe87aexkutBLFEKjw0cxD%2FVB%20-%20Header%20Broder.png?alt=media&#x26;token=fab8ca99-b959-4534-a559-9e6238757aa2" alt=""><figcaption></figcaption></figure>

* Repeat the same steps for the **footer**.

***

#### Configure Margins

* Open the **Page Formatting** option.
* Define the **top and bottom margins** for the page.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FUPaa7gzY7c2YqlF40zUw%2FVB%20-%20Page%20Formating.png?alt=media&#x26;token=592e4b70-7f2f-4501-9fd6-fa4c9bb0ae6d" alt=""><figcaption></figcaption></figure>

* Save the configuration and preview the bill again.\
  The print now displays with the defined borders.

***

#### Explore Additional Print Options

* **Font** → Change the font style used in printing.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fhg2dAzppUrn9OKKK6NkV%2FVB%20-%20Font%20edit.png?alt=media&#x26;token=1bb14e7f-dbf1-44d1-a072-c76c0c25dc4f" alt=""><figcaption></figcaption></figure>

* **Save/Export** → Export the bill in **RTF** or **PDF**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fx8Zsn8bgyYsilU4ZO341%2FVB%20-%20Save%20as%20PDF.png?alt=media&#x26;token=50de529b-af35-4b10-b73b-0cc5b010712f" alt=""><figcaption></figcaption></figure>

* **Printer Page Settings** → Configure page setup options such as:
  * Display page numbers (choose position & alignment).
  * Change orientation (portrait/landscape).
  * Adjust page margins.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F2DC0JetyeG8EjCHTQuXo%2FVB%20-%20Printer%20page%20setting.png?alt=media&#x26;token=6d9e0628-be58-4f19-8493-ffe7259eef22" alt=""><figcaption></figcaption></figure>

***

### Borders & Margins in Designer Printing

* Navigate to Continuous Printing and select **"Sales Bill Print Designer and Printing"**.
* Select the configuration and sales bill, then click **Refresh**.
* Open the **Design Window**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FYnmQtRWzhDNkIyqioLCM%2FDP%20-Design.png?alt=media&#x26;token=3ebccb17-1056-43a6-b717-ceb8f22386d6" alt=""><figcaption></figcaption></figure>

* &#x20;Click on File and then select **Page Setup**.
  * Define paper format.
  * Set orientation (portrait/landscape).
  * Adjust margins.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FEojx3HP8jHGKsKZYhDDQ%2FDP%20-%20Page%20Setup.png?alt=media&#x26;token=aec6c21c-4b94-482b-a031-2f3963395bbd" alt=""><figcaption></figcaption></figure>

***

### Apply Borders in Designer Printing

* Go to the **Border Tab**.
* Choose the type of frame (e.g., Box Frame).
* Customize the border by:
  * Adjusting distance.
  * Increasing line thickness.
  * Selecting a preferred color.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FJGcCVPsAhawnaOlDy1tj%2FDP%20-%20Border.png?alt=media&#x26;token=2ec0c95e-a472-4d8a-b93d-ff5ce16328ed" alt=""><figcaption></figcaption></figure>

* Save and preview to confirm changes.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FlCvoaBYuF1eIkL2evNz3%2FDP%20-%20Print%20Preview.png?alt=media&#x26;token=a96dc5df-7cf9-43e5-bcaf-9d9384313239" alt=""><figcaption></figcaption></figure>

As you can see, the borders, margins, and formatting have been successfully applied to the bill.
