User`s manual

1 DATECS LP-50
48
Returning data on loaded graphics
Format: UG or GI”NAME”
The first form of the command returns a list of the graphics,
loaded in the printer. It has the following structure:
nnn The overall number of loaded graphics. 3 digits.
Gr
1
mmm The name and the size of the first graphic
image.
...
Gr
n
mmm The name and the size of the n-th graphic
image.
Each element of the above structure ends in the combination
<CR><LF>.
The second form of the command makes the printer return the
contents of the graphic image under the given name. The image
must have been loaded in the memory in advance.
The data is sent in the following format:
n
1
n
2
D
i
where:
n
1
Most significant byte of total data count.
n
2
Least significant byte of total data count.
D
i
Image data. The total bytes count is n
1
*256+n
2
.
The format of the data is monochrome PCX.
Returning data on loaded fonts
Format: UE or EI”Name”
The first form of the command returns a list of the fonts, loaded
in the printer having the following structure:
nnn Overall number of the loaded fonts. 3 digits.
Font
1
mmm Name and size of the first font.
...
Font
n
mmm Name and size of the n-th font.
Each element of the above structure ends in <CR><LF>.
The second form of the command permits to call from the printer
a selected font with the given name. The font must be stored
there in advance. The data is sent in the following format:
n
1
n
2
D where:
n
1
Most significant byte of the total number of bytes
in font.