^FS · Field Separator
Ends the current field.
Syntax and practical example
^FSCloses the text/code/box defined by ^FD.
^XA
^PW600
^LL400
^FO40,40^A0N,30,30^FDLOT: A17^FS
^FO40,100^A0N,30,30^FDQTY: 24^FS
^XZEducational example; not a certified label or a physical print test. Sample text and codes stay the same in every language for comparison.
Expected result with ^FS
The example has two independent fields: lot and quantity. Each ^FD ends with ^FS before the next position is defined. Change the quantity without touching the lot to check that the fields are separate.
What should I check if ^FS does not give the expected result?
A newline in the file is not ^FS. Nor do you need ^FS after every global setting such as ^PW: use it to delimit fields and ^XZ to end the complete format.
Related commands
About the author
Eduard Diaz
Eduard Diaz is an IT technician (development) at S-IE, an official Zebra partner with more than 20 years providing identification and labelling services. He builds and maintains EditorZPL to make working with ZPL and Zebra label printers easier.
s-ie.cat