User’s Manual1 DATECS LP-1000
38 39
Example: b0,0,P,320,100,f0,”DATECSLtd.\ 10www.datecs.bg\10"
will print the a PDF417 barcode containing the data:
DATECS Ltd.<LF>www.datecs.bg<LF>
Upper left corner of the image will be (0,0). Starting from module width
6, the printer reduces the size until the barcode can be printed. The
resulting bar-code has 9 columns and 5 rows. Error correction level is
automatically set to 1 (4 error correction codewords). Auto compres-
sion mode is selected, the printer uses text compaction with shift to
byte compaction for encoding the <LF> characters.
Direct printing of graphics
The command permits the screening of a graphic image in the
memory of the printer, which has not been saved there in advance.
Format: GWa,b,c,d,e
a X coordinate of the upper left angle: 0 - 2047.
b Y coordinate of the upper left angle: 0 - 4095.
c Horizontal size in units of 8 dots (bytes) 1 - 127.
d Vertical size in dots: 0 - 2047.
e Graphic lines. There are c*d bytes of information,
8 dots per byte where bit 1 is a black dot. Data is sent
in horizontal lines from left to right. CR and LF are
added at the end of all data.
Format of the text information for commands A (text) and
B (barcode)
The input data for the commands A and B is a string which can be
formed by the joining of a free text the current date and hour as well as
some of the defined and initialized counters and variables in the
order and quantity as required by the user. The separate elements
are joined together in the order of their description from left to right.
Their encoding is as follows:
Free text: This is entered directly and is closed by inverted
brackets. If the symbol “ has to find a place in
the text it must be preceded by ‘\’.
Current date: It is coded with TD[m], where m is not a compulsory
whole number from -3500 to 3500 setting the offset
size in relation to the current date.
p
7
(c) Data compression method.
c0 Auto-encoding (default).
c1 Binary mode.
p
8
(p) Print human readable data. Non-standard
PDF417 and should be used for troubleshooting
purposes only.Internal format: px,y,n
x X start coordinate. 0 - 2047.
y Y start coordinate. 0 - 4095.
n Maximum characters per line. 1 - 40.
p
9
(f) Barcode origin point.
f0 Barcode origin point is defined by parameters
p
1
and p
2
.
f1 Barcode is centered in the rectangle, defined
by p
1
, p
2
, p
4
and p
5
. This is the default.
p
10
(x) Set maximum module width (in dots). Allowed
values: x2 to x9. Default: x6.
p
11
(y) Set maximum bar height (in dots). Allowed values:
y4 to y99. Default is 4 times module width (4*p
10
).
p
12
(r) Set maximum row count. Allowed values: r3 to
r90. Default: r90.
p
13
(l) Set maximum column count. Allowed values:
l5 to l34. Default: l34.
p
14
(o) Rotation. Allowed values: o0: 0, o1: 90, o2: 180,
o3: 270 degrees. Default o0.
Data Contains barcode data. The format is the same
as the data format for text and barcode, but it is
possible additionally to encode non printable
characters (with ASCII codes below 32) using
the syntax ‘\dd’, where dd is the decimal
representation of the ASCII code.
If the barcode with the selected module width and height fits not in the
area, defined by p
1
, p
2
, p
4
and p
5
, the printer automatically starts to
lower p
10
and p
11
until the area of the barcode becomes small enough
to be printed. Row and column count are calculated so the propor-
tions of the barcode are as near as possible to p
4
: p
5
. If this procedure
fails, the barcode is not printed.