Optional Lines in Printing (Skip Field if Blank)
YouTube: How to Configure Optional Lines in Document Printing ( Skip Field if Blank )?
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

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

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

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.

Close the preview and click Design.

From the Menu Bar/Options click on Preview Options

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

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.

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.

Last updated