ZPL Programming for Memory Management
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: Up to sixteen  alphanumeric characters followed by a three  alphanumeric character file extension: i.e.
      123456789ABCDEF.TTF
    • Legacy ZPL printers with V60.13 firmware and earlier can only use the 8.3 file name format versus 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 use of ‘wild cards’ (*) in file access
Object Management and Status Report Commands
Command
Name
Description
^WD
Print Directory Label
Prints a list of objects and resident bar codes and fonts in all addressable memory locations.
~WC
Print Configuration Label
Prints a configuration Status Receipt (Label) Same as Feed Button mode one flash routine.
^ID
Object Delete
Deletes objects from the 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 a wide variety of printer usable programming objects: fonts (OpenType and TrueType), graphics, and other object data types.
It is recommended that you use ZebraNet Bridge to download graphics and fonts to the printer.
~DG
Download Graphic
Downloads an ASCII Hex representation of a graphic image. This is used by ZebraDesigner (label creation application) for graphics.
^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.