How to Enable Zebra Native INC-DEC Fields using Custom Command or Pass Through Field
Description
The article details the syntax for the ^SN ZPL command for use as a custom command or in a "passthrough" field.
Explanation
The Zebra Native INC\DEC functionality is applied at the field level on a label. The custom command must include the field information. When using passthrough fields, the ZPL string must contain all the elements for that field.
From the Zebra ZPLII programming guide:
In order to apply this command using a Loftware custom command at the printer or label level, or within a passthrough field, the instructions must contain the field origin (^FO) and serialization data (^SN).
For example
^FO153,889^A0N,56,134^SN01,1,Y^FS
Where:
^FO153,889 = the position of the field on the label (x and y axis)
^A0N,56,134 = Scable\ Bitmapped Font based on font used for field , Font name, Field orintation, hieght, and width
^SN1,1,Y = Serialzation data- starting value, increment or decrement value, leading zeros .
^FS = Field Separator denotes the end of the field definition.
Solution
Adding the custom command or passing the ZPL code string in a passthrough field will print a Native Zebra INC\DEC filed on the label as defined by the ZPL code.
Requirements
Knowledge of ZPL II code. For a passthrough field, the version of Loftware must support passthrough (v10.0 or later).
How to
Refer to the online Loftware Label A label is a design area on the computer screen where a label format is created or edited. Manager Users Guide for detailed instructions on using custom commands and passthrough field set up.
Result
The increment or decrement field is added to the Label printed on the Zebra printer as defined in the ZPL II code string.
Related Artilces
Article Number
2014099
Versions
All LLM/LPS versions
Environment
All supported installation environments.