Specifications

Table Of Contents
^XG
Recall Graphic
Description: The ^XG command is used to recall one or more graphic images for
printing. This command is used in a label format to merge pictures such as company
logos and piece parts, with text data to form a complete label.
An image may be recalled and resized as many times per format as needed. Other
images and data may be added to the format.
Format:^XGd:o.x,mx,my
Parameters:
d = source device of stored image
Accepted Values: up to 8 alphanumeric characters
Default Value: search priority (R:, B:, E:, Z:)
o = name of stored image
Accepted Values: up to 8 alphanumeric characters
Default Value: UNKNOWN
x = image extension
Fixed Value: .GRF
mx = magnification factor on the x-axis
Accepted Values: 1to10
Default Value: 1
my = magnification factor on the y-axis
Accepted Values: 1to10
Default Value: 1
Example: The following is an example of using the ^XG command to recall the
image SAMPLE.GRF from DRAM and print it in 5 different locations and 5
different sizes on the same label:
^XA
^FO100,100^XGR:SAMPLE.GRF,1,1^FS
^FO100,200^XGR:SAMPLE.GRF,2,2^FS
^FO 100,300^XGR:SAMPLE.GRF,3,3^FS
^FO100,400^XGR:SAMPLE.GRF,4,4^FS
^FO100,500^XG R:SAMPLE.GRF,5,5^FS
^XZ
ZPL II Programming Guide Volume One: Command Reference for X.10
251