> For the complete documentation index, see [llms.txt](https://kb.logicerp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.logicerp.com/logic-erp-installation-configuration-and-troubleshooting-solutions/faqs/printing/optional-lines-in-printing-skip-field-if-blank.md).

# Optional Lines in Printing (Skip Field if Blank)

**YouTube:** [How to Configure Optional Lines in Document Printing ( Skip Field if Blank )?](https://www.youtube.com/watch?v=SuLAaa-BJAw)

## How to Configure Optional Lines in Document Printing (Skip Field if Blank)?

In this tutorial, we’ll demonstrate how to configure the option that **automatically skips any field if its value is blank** in both **Visual Base Printing** and **Designer Printing** formats.

***

### Enable Skip Blank Fields in Multiple Printing Configuration

* Go to Menu/Configuration and select **"Sale Multiple Printing Configuration"**.
* Select the **required series**.
* Optional lines can be defined in both the **header** and **footer**.
  * Example: If a bill contains items only under a single GST slab, you can skip the other tax slab fields automatically.
* Go to the **Footer section**&#x20;

<figure><img src="/files/giaOaYdn76W94c5GUZmp" alt=""><figcaption></figcaption></figure>

* Locate the option Functions Icon (top-right).
* From the dropdown, choose **Skip if All Fields are Blank**.

<figure><img src="/files/NP9Rp7Y9YljUJQJk1Vxm" alt=""><figcaption></figcaption></figure>

* Save the configuration.
* Open the Sale Bill **Print Preview**.
* &#x20;Blank fields are skipped (e.g., only GST 5% appear while other slabs are hidden).

<figure><img src="/files/M3IIYfNW8HbZZNmnGiUE" alt=""><figcaption></figcaption></figure>

***

### Enable Skip Blank Fields in Designer Printing

* Go to Menu/Continuous Printing and then select **"Sales Bill Print Designer and Printing"**.
* Select the **required configuration** and **sales bill**, then click **Refresh**.
* Preview the bill first to compare before/after results.
  * Example: Discount or IGST may appear even when no value is defined.

<figure><img src="/files/SkF6n3ncPiKE8jEH30sT" alt=""><figcaption></figcaption></figure>

* Close the preview and click **Design**.

<figure><img src="/files/uFYrUXhDy2SEmkUg5jjt" alt=""><figcaption></figcaption></figure>

* From the Menu Bar/Options click on **Preview Options**

<figure><img src="/files/qIRpj9tikPLF40OJkahR" alt=""><figcaption></figcaption></figure>

* Locate the option labeled as " **Allow Optional Lines in Printing**."

<figure><img src="/files/PEruQgaAgwgBgwAPMWHy" alt=""><figcaption></figcaption></figure>

* Now, go to the **Footer (Total Details section)**.
  * Click between the fields → Open **Options → Skip Line if Value is Blank**.
  * A caret (^) symbol will appear, marking it as optional.

<figure><img src="/files/vz0Zkb0GUVm81tIbpdUm" alt=""><figcaption></figcaption></figure>

* Apply this setting to all relevant fields (e.g., IGST, Discount, etc.).
* Save the layout and preview again.
* Fields with no values are now hidden automatically.

<figure><img src="/files/eYllST1UlvQc7E9elTtD" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.logicerp.com/logic-erp-installation-configuration-and-troubleshooting-solutions/faqs/printing/optional-lines-in-printing-skip-field-if-blank.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
