2 graphic, Images, Dgd:aa…a.eee,b,r,xx…x (download graphic) – Compuprint 6314 CZL User Manual

Page 30: 2 graphic images

Advertising
background image

CZL – Programmer Manual

30

3.1.7.2 Graphic images

~DGd:aa…a.eee,b,r,xx…x (Download Graphic)

CZL makes it possible to save graphic images in hexadecimal format that are created in any
application, whether CAD or a graphic layout program. Once they are saved (in temporary memory
or elsewhere), the images can be used on the label as desired.
Refer to section 5.2 on page 53, where a printing example with graphic images is described.
The current command controls the following functions: placing the printer in “graphic mode,”
giving a name to the image (which is the same that will be used to retrieve the image when the label
is created), defining its size, and uploading the image on the printer memory.
The name given does not necessarily have to be the same as the name of the file in which the file is
stored on the computer. However, it must adhere to several conventions that are explained below.
The CZL emulation interprets the space, “return” character, or extension as the end of the name.
Therefore, in order to preserve the uniqueness of names, it is wise not to use a space inside names
because two names (consisting of more than one word) having the same first word will be treated as
being the same, and the images to which these names have been applied will no longer be treated as
separate and distinct. Therefore, different names must be given, even mnemonic ones, to different
images: a file given an existing name will not be saved to memory.
d: is R:

135

to save the image to RAM, B: when it is saved in the base flash, C: or D: when it is saved

in the flash memory on the expander card

136

.

aa…a is the name to be attributed to the graphic image. It can be from 1 to 8 characters long and the

default value is UNKNOWN.

b is the total (whole) number of bytes of the graphic image.
r is the number of bytes per line.
xx…x is a string of numbers in hexadecimal code comprising the representation of the graphic

image.

.eee is the extension of the file name, which must be .GRF for graphic images.
This format specifies that each block of 4 bits (nibble) is the image of 4 adjacent dots: the high bit
(1) corresponds to the on bit (black), and the low bit (0) corresponds to the off bit (white). The
entire graphic image is coded in the same way: in practice, it is a single long string of hexadecimal
values.
The total number of bytes b is a function of the dimensions of the image and the printer resolution
(please see the User Manual) according to the following formula:

(

) ( )

b

ris

a

ris

l

=

8

135

Default value.

136

Since flash memory is a non-volatile memory, it is available on the expander cards so that it can transport the images

it contains. Unit B: is the flash memory contained in the base machine, C: and D: are the memory contained in the
expander cards (where provided), and the letter indicates in which of the two available slots the expander card is
installed. Please refer to the User Manual for more information.

Advertising
This manual is related to the following products: