ZPL Programming for Memory Management

ZPL Programming for Memory Management

ZPL has various printer memory locations that are used to run the printer, assemble the print image, store formats (forms), graphics, fonts and configuration settings.
  • ZPL treats formats (forms), fonts, and graphics like files; and memory locations like disk drives in the DOS operating system environment:
    • Memory object naming (of up to 16 alphanumeric characters followed by a three alphanumeric character file extension such as
      123456789ABCDEF.TTF
      )
    • Legacy ZPL printers with version 60.13 firmware and earlier can only use the 8.3 file name format instead of today’s 16.3 file name format.
  • Allows moving objects between memory locations and deleting objects.
  • Supports DOS directory style file list reports as printouts or status to the host.
  • Allows the use of wildcards (
    *
    ) to access files,
Object Management and Status Report Commands
Command
Name
Description
^WD
Print directory label
Prints a list of objects and resident barcodes and fonts in all addressable memory locations,.
~WC
Print configuration label
Prints a printer configuration status label.
Same as
FEED
button ( ) mode one-flash routine.
^ID
Object delete
Deletes objects from printer memory,.
^TO
Transfer object
Used to copy an object or group of objects from one memory area to another.
^CM
Change memory letter designation
Reassigns a letter designation to a printer memory area.
^JB
Initialize flash memory
Similar to formatting a disk. Erases all objects from the specified memory locations
B:
or
E:
.
~JB
Reset optional memory
Similar to formatting a disk. Erases all objects from the
B:
memory (factory option).
~DY
Download objects
Downloads and installs wide variety of printer usable programming objects: fonts (OpenType and TrueType), graphics, and other object data types.
Use ZebraNet Bridge for downloading graphics and fonts to the printer.
~DG
Download graphic
Downloads an ASCII Hex representation of a graphic image that is used by ZebraDesigner (label creation application) for graphics handling.
^FL
Font linking
Appends secondary TrueType font or fonts to the primary TrueType font to add glyphs (characters).
^LF
List font links
Prints a list of the linked fonts.
^CW
Font identifier
Assigns a single alphanumeric character as an alias to a font stored in memory.
Some factory-installed ZPL fonts in your printer cannot be copied, cloned, or restored to your printer by reloading or updating firmware. If these license restricted ZPL fonts are removed by an explicit ZPL object delete command, they must be repurchased and then reinstalled using a font activation and installation utility. EPL fonts do not have this restriction.