
75
Learning ZPL
Basic ZPL Exercises and Examples
10/29/2010 Software Integrator Guide P1026208-001 Rev. B
Exercise 9 • This exercise shows you how to change font size of bitmap fonts.
1. Send this format to the printer:
2. Change the font height and graphic box height parameter by a few dots (e.g.
27+3=30) and print. Note the height.
3. Change the font height and graphic box height the other direction by the same amount
(e.g. 27-3=24) and print. Note the height.
1
^XA (Start Format) command
2
^FO (Field Origin) command
3
^A (Font) commands. The A font is a 9x5 dot font.
4
^FD (Field Data) command
5
^FS (Field Separator) command
6
^FO (Field Origin) command
7
^GB (Graphic Box)
8
^CN (Cut Now) command
9
^PN (Present Now)
10
^XZ (End Format) command
Height parameter of the
^A command and ^GB command.
^XA
^FO150,150
^AAN,27,15
^FDZEBRA
^FS
^FO130,150
^GB4,27,2^FS
^CN1
^PN0
^XZ
Comentarios a estos manuales