^XG — Recall a Stored Graphic

ZPL course · ZPL FAQ

Command reference: Labelary ZPL introduction.

Below, commands are bold, parameters are colored, field data stays plain.

^XG — Recall a Stored Graphic

Description

^XG prints a graphic previously downloaded with ~DG, scaled by the two magnification factors. (There is no ^GX in ZPL.)

Example

^XA
^FX Prints SAMPLE.GRF stored earlier with a ~DG download.
^FO20,20^XGR:SAMPLE.GRF,1,1^FS
^FO20,120^A0N,28,28^FDLogo above^FS
^XZ

Rendered ^XG label

Result

The preview shows only the caption: SAMPLE.GRF is not in preview memory — on a printer the logo lands above it.

Article author: Andrei Olegovich

Related articles
RFID
ZPL
ZPL course: 50 lessons
ZPL FAQ
RFID tools

Search this site

Channel @aofeed Chat @aofeedchat

Contacts and cooperation:
I recommend our hosting beget.ru
Write to info@urn.su, info@aredel.com if you:
1. Want to write an article for our site or translate an article into your native language.
2. Want to place thematically relevant ads on the site.
3. Ads on my site pass maximum censorship. If you see an ad block unsuitable for school-age children, shocking or misleading - please contact us by e-mail
4. Found a mistake, inaccuracy, bug, etc. on the site. ... .......
5. Articles can be shared on social media by clicking a network icon: