ZPL Programming for Memory Management
ZPL Programming for Memory Management

ZPL Programming for Memory Management

Programming for memory management and file naming is outlined.
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.
Printer file naming requirements:
  • 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 16 alphanumeric characters followed by a three alphanumeric character file extension, for example, 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

Print Directory Label
Prints a list of objects and resident barcodes and fonts in all addressable memory locations.
Print Configuration Label
Prints a configuration Status Receipt (Label) Same as
button mode one flash routine.
Object Delete
Deletes objects from the printer memory.
Transfer Object
Used to copy an object or group of objects from one memory area to another.
Change Memory Letter Designation
Reassigns a letter designation to a printer memory area.
Initialize Flash memory
Similar to formatting a disk - erases all objects from the specified memory locations B: or E:.
Reset Optional Memory
Similar to formatting a disk -  erases all objects from the B: memory (factory option).
Download Objects
Downloads and installs a wide variety of printer usable programming objects: fonts (OpenType and TrueType), graphics, and other object data types. Recommendation: Use ZebraNet Bridge for downloading graphics and fonts in the printer.
Download Graphic
Downloads an ASCII Hex representation of a graphic image. This is used by ZebraDesigner (label creation application) for graphics.
Font Linking
Appends secondary TrueType font or fonts to the primary TrueType font to add glyphs (characters).
List Font Links
Prints a list of the linked fonts.
Font Identifier
Assigns a single alphanumeric character as an alias to a font stored in memory.
Some factory-installed ZPL fonts in the printer cannot be copied, cloned, or restored to the 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 reinstalled via a font activation and installation utility. EPL fonts do not have this restriction.