Font Shortcuts
There are times when you might include a specific font into your
script and use it repeatedly within different fields. The following is an
example of one way to write this script:
^XA
^FO120,108^A0N,89^FDA Guide to^FS
^FO120,207^A0N,89^FDZPL II^FS
^FO120,306^A0N,89^FDProgramming^FS
^FO120,405^A0N,89^FDLanguage^FS
^XZ
Notice that the ^FS command is used on the second to last line to
close the field. Actually, it is unnecessary because the ^XZ will
accomplish the same thing, so we can remove it from our script. Also,
since the font and font size are not changing within the fields, this
script can be simplified for quicker transmission by removing the
unnecessary font entries and listing the font information once using
the ^CF command (see ^CF command on page 180):
^XA
^CF0,89
^FO120,108^FDA Guide to^FS
^FO120,207^FDZPL II^FS
^FO120,306^FDProgramming^FS
^FO120,405^FDLanguage
^XZ
This script can be made even more efficient by including the ^FB
command to identify the left origin of the text which occurs at the
same place each time(see ^FB command on page 214):
^XA
^CF0,89
^FO120,108
^FB300,4
^FDA Guide to\&ZPL II\&Programming\&Language
^XZ
NOTE: The entries “\&” within the text indicate a carriage
return/line feed as allowed by the ^FB command. For more
information, see the ^FB comand on page 214.
92 CHAPTER 5
ZPL II Advanced Techniques
15 Undeniable Reasons To Love Tiktokpornstar tiktokpornstar
What Do You Need To Know To Be All Set To Top Pornstars Kayleigh Wanless top pornstars kayleigh Wanless