zpl.tools
CommandsMemory storage

^WD - Print Directory on Label

Prints directory listing of stored objects on a label

^WD - Print Directory on Label

Overview

The ^WD command prints a formatted label showing directory listings of bar codes, objects stored in memory, or installed fonts. Provides a physical reference of available printer resources enclosed in a double-line box.

Syntax

^WDd:

Parameters

  • d = Storage device to list (required)
    • R: = RAM (DRAM)
    • B: = Flash Card (PCMCIA)
    • E: = Flash Memory (onboard)
    • Z: = Bar codes and fonts (system resources)

Description

  • Prints directory on label (not to host)
  • Shows bar codes, objects, or fonts
  • Enclosed in double-line box
  • Useful for physical inventory/reference
  • Only works when printer is idle

Examples

List RAM Objects

^XA
^WDR:
^XZ

Prints label with all RAM objects.

List Bar Codes

^XA
^WDZ:
^XZ

Prints label with available bar codes and fonts.

List Flash Card

^XA
^WDB:
^XZ

Prints label with Flash Card contents.

Output Format

Output appears in double-line box on label:

╔═══════════════════════════════════╗
║  - DIR R:                         ║
║  * LOGO.GRF      00150      123   ║
║  * SAMPLE.GRF    00200      000   ║
║  - 0000780 bytes free             ║
╚═══════════════════════════════════╝

Directory Details

Bar Codes (Z:)

  • Lists all available bar code types
  • Shows bar code names
  • Shows numeric identifier for use with commands

Fonts (Z:)

  • Lists all installed fonts
  • Shows font name
  • Shows font number for use with ^A instruction
  • Shows font size

Objects (R:, B:, E:)

  • Lists stored graphics, fonts, formats
  • Shows name (8 chars) + extension
  • Shows size in bytes
  • Shows option flags

Usage Notes

  • Printer must be idle (not printing)
  • Only one device can be listed per label
  • Useful for:
    • Visual inventory of stored objects
    • Printer troubleshooting
    • Configuration documentation
    • Quick reference while working
  • Consumes one label for output
  • Provides physical hardcopy reference

Practical Applications

Setup Verification

^XA
^WDR:
^XZ

Verify expected graphics are stored in RAM.

Configuration Record

^XA
^WDZ:
^XZ

Print and file list of available fonts and barcodes.

Debugging

^XA
^WDB:
^XZ

Check Flash Card contents to verify backup.

  • ^HW - Host Directory List (to host computer)
  • ^TO - Transfer Object
  • ^ID - Image Delete
  • ~WC - Print Configuration Label

See Also