EasyManua.ls Logo

Datecs LP-1000 - Diagnostics and Returning of Data; Direct Printing of a Text

Default Icon
27 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
User’s Manual1 DATECS LP-1000
48 49
5.10. Direct printing of a text
Format: =Line
Prints out a text directly, without savings in the graphic buffer. The
printing results are always of a size 12 x 20 (No.3). When printing
sticker labels the margin between the labels is skipped.
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 con-
tents 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
Most significant byte of the total number of bytes
in font.
n
2
Least significant byte of the total number of bytes - i.e,
(n
1
* 256 +n
2
)
D Font data. The total bytes count is n
1
*256+n
2
. The
format of the data is described further
5.9 Diagnostics and returning of data
Printing out of diagnostic data
This command activates the printing of data on the status of the print-
ing head as well as the model of the printer, available free memory
the baud rate of the serial port and the values of the cur rent printer
settings.
Format: U
Returning data on the engaged and free printer memory
The serial port transfers data in one line on: a,b,c,d where:
a Is the memory, engaged with forms, presented in bytes
b Is the memory, engaged with graphics, presented in
bytes
c Is the memory engaged with fonts, presented in bytes
d Is the free memory in bytes.
Format: UM
Returning data on loaded forms
Format: UF or FI”NAME”
The first form of the command returns a list of the loaded
forms in the memory of the printer, which has the follow
ing structure:
nnn The number of the loaded forms. 3 digits.
Form1 mmm The name and the size of first form.
...
Formn mmm The name and the size of n-th form.
Each element of the above structure ends in <CR><LF>.
The second form of the command permits the printer to deliver the
content of the form under the entered name. The form must have
been loaded there in advance. Data is sent line-by-line, lines being
divided by the combination <CR><LF>. After the last line one byte
is sent with the ASCII code 00h.
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:

Related product manuals