1 DATECS
DPP-350
Programmer’s manual VER.1.50
35
88.
Printing 2-D (two dimensional) barcodes (
GS Q
)
Code:
[1Dh] + [51h] + n + …
n
selects the type of barcode:
2
or ‘
2
’:
PDF417
Code:
[1Dh] + [51h] + n + Type + E ECCL+Size +nl + nh +Data
i
Type
PDF417 type
0
:
Standard
1
:
Truncate
EncMode
Encoding mode
0
:
Automatic most suitable encoding
1
:
Binary encoding
ECCL
Error correction control level. Possible values 0 to 9.
ECCL
=9 automatically
selects correction level dependent on data length.
Size
Specify one from the bellow table (X: bar width, Y: row height).
0
X=2, Y=4
8
X=12, Y=4
1
X=2, Y=9
9
X=12, Y=9
2
X=2, Y=15
10
X=12, Y=15
3
X=2, Y=20
11
X=12, Y=20
4
X=7, Y=4
12
X=20, Y=4
5
X=7, Y=9
13
X=20, Y=9
6
X=7, Y=15
14
X=20, Y=15
7
X=7, Y=20
15
X=20, Y=20
nl, nh
Specify lower byte and upper byte of data size (1 to 384).
Data
i
Data bytes
2
or ‘
2
’:
QR Code
Code:
[1Dh] + [51h] + n + Size + ECCL + nl + nh + Data
i
Size
Size of symbol. Possible values: 1, 4, 6, 8, 10, 12, 14
ECCL
Error correction control level:
1
:
L (7%)
2
:
M (15%)
3
:
Q (25%)
4
:
H (30%)
nl, nh
Specify lower byte and upper byte of data size (1 to 448).
Data
i
Data bytes
89.
Filling or inverting a rectangle in page mode (GS R).
Code:
[1Dh] + [52h] + xL + xH + yL + yH + dxL + dxH + dyL + dyH + n
xL
and
xH
Low and high byte of the horizontal position of the top left corner of the rectangle in the
active page.
yL
and
yH
Low and high byte of the vertical position of the top left corner of the rectangle in the
active page.
dxL
and
dxH
Low and high byte of the width of the rectangle.
dyL
and
dyH
Low and high byte of the height of the rectangle.
N
Filling mode:
0
or
‘0’
Rectangle area is cleared (white).
1
or
‘1’
Rectangle area is filled (black).
2
or
‘2’
Rectangle area is inverted.
The coordinates are relative to the left corner of the page, defined using
ESC W
(The print direction
doesn’t matter).