Commands
e = user defined error correctio n level (0 to 8), if it is 0 wh ich means the error correction
level will be set accordi ng to PDF417 specification. It will be assigned as per the follow ing
Table:
Error Correction Level Error Correction
Codewords
Number of Data
Codewords
0 2 --
1 4 1-40
2 8 1-40
3 16 41-160
4 32 161
5 64 320
6 128 >321
7 256 --
8 512 --
m1 = the most sig nificant byte o f data length.
m2= the least sig nificant byte o f data length.
Total data length = m1 * 256 + m2
Example
GS ‘k’0 x0E 0x0 0x0 0x0 0x0 0x23 “Thi si sa PDF417 Test, test 123 4567”
prints the followin g PDF417 image:
GS l Draw Line inLandscape Mode
Description
Draws a line in landscape mode .The t hickness of the line is determined by the bit set
by the bitmask, m.
Expression
ASCII GS l n1n2 L1 L2 m
Decimal 29108 n1 n2 L1 L2 m
Hex 1D6C n1 n2 L1 L2 m
41