Error Conditions:
If an image cannot be printed, status byte 7, bit 2 will be set. This may
happen when the image is too big to print. Try decreasing the ECC level.
Select PDF417 ECC (error correction codewords) level
Syntax:
GS R n or X'1D;52;n1;n2'
Where:
n1 The high-order byte of the ECC level.
n2 The low-order byte of the ECC level.
Default:
n1=00
n2=15
Range:
0 ≤ n1n2 ≤ 400 decimal (170 hex)
Remarks:
For 0 ≤ n1n2 ≤ 8, the ECC level is assumed as that particular security level.
The security level determines the number of error correction code words
added to the symbol.
Error Correction
Security Level Codewords
0 0
1 2
2 6
3 14
4 30
5 62
6 126
7 254
8 510
For 9 ≤ n1n2 ≤ 400, the ECC level is assumed as a percentage of the
codewords in the bar code.
Select aspect ratio PDF417 bar code
Syntax:
GS S r;c or X'1D;53;r;c'
Where:
r The height dimension for the ratio; 1 ≤ r ≤ 9.
c The width dimension for the ratio; 1 ≤ c ≤ 9.
Default:
r=1,c=2
Chapter 2. Communication parameters 63