
67
Learning ZPL
Basic ZPL Exercises and Examples
10/29/2010 Software Integrator Guide P1026208-001 Rev. B
Basic ZPL Exercises and Examples
The purpose of these exercises is to introduce basic ZPL commands to novice ZPL users.
Make sure this checklist is complete:
• Load the printer with continuous roll media that matches the media guide that is
installed on the printer.
• Restore the printer’s default settings using Load factory defaults and then Choose
Action - Reset Printer.
• Also from the Tools tab, Choose Print - Print configuration receipt (label).
These are some tips when using ZPL:
• Use the ASCII text editor to write ZPL files. A free to use text editor is TextPad
found at Web site: www.textpad.com
• For editing Unicode, try BabelPad (www.babelstone.co.uk) or UltraEdit
(www.ultraedit.com)
• Save the file as a .
TXT file and copy it to the printer using the ZDownloader or a
ZDesigner, the ZD Windows driver or ZebraNet Bridge.
Before you begin
Some things that are important to understand before you begin are:
• 203 dpi means the resolution of the printhead is 203 dots per inch. If you program the
printer to draw a line 100 dots long that equals approximately a half inch.
• The home position that all your coordinates are referencing is at the left-hand trailing
edge of the label as the label comes out of the printer. (There are some exceptions to
this).
Exercises
The exercises start simple and gradually progress to give you an opportunity to try a
variety of commonly used ZPL commands. Not all commands are covered, but this should
be a good core of commands to learn.
Prepare Your Printer
• Load continuous roll receipt media in the printer.
• Restore the printer’s factory defaults. See "Printer Settings - Tools Tab" on page 32 to
use the Windows driver to do this operation.
• Reset the printer or cycle the power to the printer.
Kommentare zu diesen Handbüchern