^XG
^XG

^XG

The
^XG
command is used to recall one or more graphic images for printing. This command is used in a label format to merge graphics, such as company logos and piece parts, with text data to form a complete label.

Recall Graphic

An image can be recalled and resized as many times as needed in each format. Other images and data might be added to the format.
Format:
^XGd:o.x,mx,my
Parameters
Details
d =
source device of stored image
Values:
R:
,
E:
,
B:
, and
A:
Default:
search priority (
R:
,
E:
,
B:
, and
A:
)
o =
name of stored image
Values:
1
to
8
alphanumeric characters
Default:
if a name is not specified, UNKNOWN is used
x =
extension l
Fixed Value:
.GRF
mx =
magnification factor on the x-axis
Values:
1
to
10
Default:
1
my =
magnification factor on the y-axis
Values:
1
to
10
Default:
1
Example:
This is an example of using the
^XG
command to recall the image
SAMPLE.GRF
from DRAM and print it in five different sizes in five different locations on the same label:
^XA ^FO100,100^XGR:SAMPLE.GRF,1,1^FS ^FO100,200^XGR:SAMPLE.GRF,2,2^FS ^FO100,300^XGR:SAMPLE.GRF,3,3^FS ^FO100,400^XGR:SAMPLE.GRF,4,4^FS ^FO100,500^XGR:SAMPLE.GRF,5,5^FS ^XZ