
Setting Printer Behaviors
Convert ZebraDesigner Prototype Receipts to ZPL Code
48
P1026208-001 Rev. B Software Integrator Guide 10/29/2010
Much of the code shown here was to ensure that the printer has all needed printer
properties restored. Previous printer uses may have altered the printer’s configuration
settings.
All five (5) sections of the code need to be made into separate code files for editing and re-
use later. Break section 3 up into individual download files.
Figure 4-11 • ZebraDesigner ZPL Code File’s Functional Areas
1
Restores command prefixes and delimiters to default values.
2
Sets printer configuration parameters in a format (form).
Note the
^XA and ^XZ. For more information, refer to "ZPL Basics"
on page 49.
3
Download Objects - Fonts and Graphics
Shown: Graphic download code (
~DG) command string and the encoded
graphics data on the following line. Note the
^XA at the end of the line (see
"Convert ZebraDesigner Prototype Receipts to ZPL Code" on page 46) is the
Start Format command of the receipt format (#4).
In this area, there may be fonts or font subsets.
All the download commands used here are Control (~) commands (~D___).
The command string and the line data of data following may contain more
than one download object and may have additional line in this section. Use a
Find or Search feature for
~D and a command string similar to this:
~DG000.GRF,05012,028,
4
The Prototype Receipt Format (form). This is the primary ZPL code that you
will be modifying for use in the kiosk application(s).
5
This format deletes the graphic loaded into RAM memory that was used by
the format. Memory needs to be to preserved for the image map and internal
processes that share this memory.
Kommentare zu diesen Handbüchern