Confidential
EPSON
TITLE SHEET
REVISION NO
SHEETNEXT
92 93
A
TM-T81 Specification (STANDARD)
<Function 069> GS ( k pL pH cn fn m n (cn = 48 , fn = 69)
[Name] PDF417: Set the error correction lev el
[Format] ASCII GS ( k pL pH cn fn m n
Hex 1D 28 6B pL pH cn fn m n
Decimal 29 40 107 pL pH cn fn m n
[Range] (pL + pH × 256) = 4 (pL = 4 , pH = 0)
cn = 48
fn = 69
m = 48, 49
48 n 56 [when m = 48]
1 n 40 [when m = 49]
[Default] m = 49 , n = 1
[Description] Sets the err or c or r ection level for PDF417.
When m = 48, the error correction lev el is set by the “Level Setting” and t he “Ratio
Setting” is canceled. The number of error correction codewords are as f ol lows:
n Function Number of error correction codewords
48 Select error correction level 0 2
49 Select error correction level 1 4
50 Select error correction level 2 8
51 Select error correction level 3 16
52 Select error correction level 4 32
53 Select error correction level 5 64
54 Select error correction level 6 128
55 Select error correction level 7 256
56 Select error correction level 8 512
When m = 49, the error correction lev el is set by the “Ratio Setting” to the l evel
indicated by the number for encoded data, and the “ Lev el Setting” is canceled.
The rate is set to [n × 10%]. The error correction levels i n the following table are
determined by the calculation [Data c odeword × n × 0.1 = (A)] (fractions of 0.5 and
over are rounded up, and others are truncated.)
Result (A) Use the error correction lev el Number of error correction codeword
0 to 3 Error correction level 1 4
4 to 10 Error correction level 2 8
11 to 20 Error correction level 3 16
21 to 45 Error correction level 4 32
46 to 100 Error correct ion level 5 64
101 to 200 Error correction level 6 128
201 to 400 Error correction level 7 256
401 or more Error correction level 8 512