Select your printer model

Parameters are refined by the selected printer.
  • EU-m30
  • TM-J2000
  • TM-J2100
  • TM-L90
  • TM-L90 LFC
  • TM-L100
  • TM-m10
  • TM-m30
  • TM-m30II
  • TM-m30II-H
  • TM-m30III
  • TM-m30III-H
  • TM-m30II-NT
  • TM-m30II-S
  • TM-m30II-SL
  • TM-m50
  • TM-m50II
  • TM-m50II-H
  • TM-P20
  • TM-P20II
  • TM-P60
  • TM-P60II
  • TM-P80
  • TM-P80II
  • TM-T20
  • TM-T20II
  • TM-T20III
  • TM-T20IIIL
  • TM-T20X
  • TM-T70
  • TM-T70II
  • TM-T81III
  • TM-T82II
  • TM-T82III
  • TM-T82IIIL
  • TM-T82X
  • TM-T83III
  • TM-T88IV
  • TM-T88V
  • TM-T88VI
  • TM-T88VII
  • TM-T90
  • TM-T100
  • TM-U220
  • TM-U220II
  • TM-U230

GS ( k   <Function 069>


[Name]

PDF417: Set the error correction level

[Format]

ASCII
   
GS
  
(
  
k
  
pL
  
pH
  
cn
  
fn
  
m
  
n
Hex
1D
28
6B
04
00
30
45
m
n
Decimal
29
40
107
4
0
48
69
m
n

[Range]

(pL + pH × 256) = 4
cn = 48
fn = 69
m = 48, 49
n = 48 – 56 [m = 48]
n = 1 – 40 [m = 49]

[Default]

m = 49, n = 1 [ratio: 10%]

[Description]

Sets the error correction level for PDF417.
m
Function
48
The error correction level is set by "level."
In this case, the error correction level set by the "Ratio Setting"is canceled.
49
The error correction level is set by "ratio." The ratio is[n × 10%].
In this case, the error correction level set by the "Level Setting" is canceled.

[Notes]

  • Settings of this function affect the processing of GS ( k   <Function 081> and GS ( k   <Function 082> .
  • Error correction level is specified by either "level" or "ratio."
  • Error correction level specified by "level" (m = 48) is as follows. In this case, the error correction level set by the " Ratio Setting" is canceled. The number of the error correction codeword is fixed regardless of the number of codewords in the data area.
  • n
    Function
    Number of error correction codeword
    48
    Error correction level 0
    2
    49
    Error correction level 1
    4
    50
    Error correction level 2
    8
    51
    Error correction level 3
    16
    52
    Error correction level 4
    32
    53
    Error correction level 5
    64
    54
    Error correction level 6
    128
    55
    Error correction level 7
    256
    56
    Error correction level 8
    512
  • Error correction level specified by "ratio" (m = 49) is as follows. The error correction level is defined by the calculated value [number of data codeword × n × 0.1 = (A)]. The number of the error correction codeword is changeable in proportion to the number of the codeword in the data area.
  • Calculated value (A)
    Correction level
    Number of error correction codeword
    0 – 3
    Error correction level 1
    4
    4 – 10
    Error correction level 2
    8
    11 – 20
    Error correction level 3
    16
    21 – 45
    Error correction level 4
    32
    46 – 100
    Error correction level 5
    64
    101 – 200
    Error correction level 6
    128
    201 – 400
    Error correction level 7
    256
    401 or more
    Error correction level 8
    512
  • The error correction codeword calculated by modulus 929.
  • Settings of this function are effective until ESC @ is executed, the printer is reset, or the power is turned off.
 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

ESC/POS® includes patented or patent pending commands. The contents must not be disclosed to third parties.


ESC/POS® Command Reference for TM Printers

Jump to the top