# Set Field Character Limit in Printing

**YouTube:** [How to Set Field Character Limit in Document Printing?](https://www.youtube.com/watch?v=EH_djDpfikk)

## How to Set Field Character Limit in Document Printing?

In this tutorial, we’ll demonstrate how to **set field character limits in printing**.

***

### Review the Print Layout

* Open the bill preview.
* Notice that fields like **Party Name**, **Rate**, and **Amount** are not printed correctly due to character overflow.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FUhhpQV468yI2eLArn7ON%2FDefault%20Preview%20UP.png?alt=media&#x26;token=ac2c8688-ac49-4251-85f9-039201edc787" alt=""><figcaption></figcaption></figure>

***

### Set Character Limits in Sale Multiple Printing Configuration

* Go to **Menu → Configuration → Sale Multiple Printing Configuration**.
* Select the **required series**.
* Under **Print Options,** click on **Print Columns**.
* For each column, define the **character length**:
  * Example: Wrap the *Item Name* column and reduce its character limit.
* To set the limit:
  * Press the **Space Key** and enter the **desired number of characters**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FYbb8KHy6UvhDdh6YZwiC%2FVB%20-%20Print%20Column%20Layout.png?alt=media&#x26;token=b93d8c6d-6707-48a6-8d75-89d3b1769fb6" alt=""><figcaption></figcaption></figure>

* Save the changes.

Next, update the **Header Section**:

* Open the **Insert Shapes Format**.
* In the header, click on the field to modify.
* Right-click → **Insert Field/Text**.
* Search and select the required field.
* Define the **character length** and save the changes.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fw8CM3omf1lrvwYCOLI7W%2FVB%20-%20Party%20Name%20length.png?alt=media&#x26;token=c25e8789-c058-47c1-8ce0-c72146d7940e" alt=""><figcaption></figcaption></figure>

Now, return to the **Sale Bill → Preview** to verify.\
The **Party Name** and grid columns will now print correctly.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FtK0tixn5JUw1kRNaQxFM%2FVB%20-%20Perview.png?alt=media&#x26;token=db5eef79-7957-43c9-a7b4-3b97137b7ce9" alt=""><figcaption></figcaption></figure>

***

### Set Character Limits in Designer Printing Format

* From the **Menu Bar**, go to **Continuous Printing → Sales Bill Print Designer and Printing**.
* Choose the **configuration and sales bill**, press **Refresh**, and open the **Design Window**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FGqZd3URAHwPLizHQv65D%2FDP%20-%20Design.png?alt=media&#x26;token=b4d51c67-ad05-4531-b878-707a79c7f5cc" alt=""><figcaption></figcaption></figure>

* Preview the bill format to confirm the issue.

#### Adjusting Fields

* Click on the **field**, right-click, and select **Field Properties**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FT5YHz3xlM5BpMym0jenu%2FDP%20-%20Field%20Properties.png?alt=media&#x26;token=4e632c78-f506-475a-a084-bbfbf6c8fb30" alt=""><figcaption></figcaption></figure>

* Go to **Text → Field Length**.
* Define the **character limit** and click **Format**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fe8zb2fCKUmDqJFEBvVVS%2FDP%20-%20Field%20Length.png?alt=media&#x26;token=e9995c06-8a9d-4a3d-8c13-6b34104fb4ac" alt=""><figcaption></figcaption></figure>

* Repeat the same for all required fields.

#### Adjusting Grid Columns

* Open **Edit Bound Table → Settings**.
* Select the **column**, then go to **Column Properties → Column Expression**.
* Define the **character limit** and click **Format**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F5IFtYXs6d36pwk4lxNhI%2FDP%20-%20Text%20Field%20leghth.png?alt=media&#x26;token=889de4e3-2eaa-4266-b998-a2b0b49d9194" alt=""><figcaption></figcaption></figure>

* Save the changes.

***

### Final Preview

* Exit the bound table.
* Save the configuration and open **Preview Print Design.**
* The characters are now **properly aligned and printed** in the format.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FdJopeduMLDP6IZRwBlHs%2FDP%20-%20Preview.png?alt=media&#x26;token=280c0801-b8cb-49a1-aca4-c48660f54707" alt=""><figcaption></figcaption></figure>
