zpl.tools
Graphics Commands

^XG - Recall Graphic

Recalls stored graphic from memory

^XG - Recall Graphic

Overview

The ^XG command retrieves and prints a previously stored graphic image from printer memory.

Syntax

^XGd:o.x,

Parameters

  • d:o.x = Device:object.extension
    • d = Device (R:, E:, B:, A:)
    • o = Graphic name
    • x = File extension (.GRF)
  • mx = X-axis magnification (1-10)
  • my = Y-axis magnification (1-10)

Description

  • Recalls graphic stored with ~DG or ^IS
  • Applies magnification to graphic
  • Positioned with ^FO
  • Saves bandwidth vs. retransmitting images

Usage Notes

  • Graphic must be pre-downloaded
  • Magnification defaults to 1 if omitted
  • Different magnification for X and Y possible
  • Device A: searches all locations

Example

^XA
^FO100,100
^XGR:LOGO.GRF,2,2
^FS
^XZ

Magnification Reference

ValueEffectUsage
1100% (original)Default
2200% (double)Enlarge
3300% (triple)Large graphics
0.550% (half)Shrink

Common Uses

  • Company logos
  • Product images
  • QR code graphics (alternative)
  • Label backgrounds
  • Icons

Device Types

DeviceStorageUsage
R:RAMTemporary
E:FlashPermanent
B:CardExtended
A:AutoAny location
  • ~DG - Download Graphic
  • ^IS - Image Save
  • ^EG - Erase Graphic

See Also