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
^XZMagnification Reference
| Value | Effect | Usage |
|---|---|---|
| 1 | 100% (original) | Default |
| 2 | 200% (double) | Enlarge |
| 3 | 300% (triple) | Large graphics |
| 0.5 | 50% (half) | Shrink |
Common Uses
- Company logos
- Product images
- QR code graphics (alternative)
- Label backgrounds
- Icons
Device Types
| Device | Storage | Usage |
|---|---|---|
| R: | RAM | Temporary |
| E: | Flash | Permanent |
| B: | Card | Extended |
| A: | Auto | Any location |
Related Commands
~DG- Download Graphic^IS- Image Save^EG- Erase Graphic