[ESC+BK] PDF417 (Compatible Command)

CL4NX CL6NX CL4NX-J CL6NX-J PW208/PW208m PW208NX/PW208mNX FX3-LX CT4-LX/HC4-LX PW4NX LR4NX-FA S84NX/S86NX CL4-SXR CL6-SXR

Hexadecimal code

ESC <1B>16
BK <42>16<4B>16

Parameter

aabbcddeeffffg...g(,h)

Initial value

Nil

Valid range and term of command

When the power switch is OFF The set parameter is not maintained.
Valid range within items The set parameter becomes invalid.
Valid range between items The set parameter becomes invalid.

Function

Specifying PDF417.

Format

<BK>aabbcddeeffffg...g(,h)

  • Parameter

    a [Minimum module width] = Valid range: 01 to 27 dots

    b [Minimum module height] = Valid range: 01 to 72 dots

    c [Security level] = Valid range: 0 to 8

    d [No. of data code words per digit]

    = Valid range: 01 to 30

    = 00: Automatic (Width varies depending on the No. of data specified)

    e [Digit No. per symbol]

    = Valid range: 03 to 90

    = 00: Automatic (Height varies depending on the No. of data specified)

    f [Digit No. of data] = Valid data: 0001 to 2681

    g [Print data] = Data

    h [PDF code type]

    = When omitted: PDF 417

    = T: Truncated scale

    = M: Micro PDF

Coding Example

Minimum module width: 03 dots, Minimum module height: 09 dots

Security level: 3, Number of data codewords per line: 03, Digit Number of line per symbol: 18


<A>
<V>100<H>200<BK>0309303180010PDF1234567
<Q>2
<Z>
                    

Supplementary Explanation

  1. Minimum module width can be set to 01 and 02; however, this may not be read properly.
  2. 01, 02, and 03 are designable for Minimum module height however; it may cause a reading problem.
  3. When d=e=00, aspect ratio will be at 1:2 based on the number of print data.
  4. When specifying security level height, parameter d or e should have large number.
  5. Maximum number of digit of data is 2,681, but it varies depending on Minimum module size, Security level and type of print data.
  6. When parameter d and e doesn't match number of data, print may not be performed properly.
  7. When Micro PDF is specified by PDF type, number per symbol is specified by number of data codeword per line, and accordingly maximum number of data digit is specified. For details, refer to "Symbol size and number of data".
  8. When specifying Micro PDF by PDF code type, security level is disabled.
  9. Commands that allow data size specification and binary data specification (<DN>) will result in a command error if there is no ESC (0x1B) immediately after the specified amount of data.

Point

  1. Sequential number is not available.
  2. Specifying print position by automatic line feed is not available.
  3. Print 00H to FFH is available.
  4. Format registration is available.
  5. Enlarging minimum module size improves print quality.
  6. Increasing security level improves read rate.
  7. Print height varies depending on the character such as numeric only, alphabet only or mixture of numeric and alphabets.

Supplementary explanation per model: PW2 series

  1. Support only PW208NX/PW208mNX (International).

Precautions during use

  1. This is the command of the old specification. Recommend the use of <2D10>.

* Symbol size of Micro PDF417 is following 34 types in the table below.

Symbol size and number of data of MicroPDF417
Symbol size:
Cols
Symbol size:
Rows(d)
Maximum number of data:
Alphabet (A to Z)
Maximum number of data:
Numeric
Maximum number of data:
Binary mode
1 11 6 8 3
14 12 17 7
17 18 26 10
20 22 32 13
24 30 44 18
28 38 55 22
2 8 14 20 8
11 24 35 14
14 36 52 21
17 46 67 27
20 56 82 33
23 64 93 38
26 72 105 43
3 6 10 14 6
8 18 26 10
10 26 38 15
12 34 49 20
15 46 67 27
20 66 96 39
26 90 132 54
32 114 167 68
38 138 202 82
44 162 237 97
4 4 14 20 8
6 22 32 13
8 34 49 20
10 46 67 27
12 58 85 34
15 76 111 45
20 106 155 63
26 142 208 85
32 178 261 106
38 214 313 128
44 250 366 150

* Mix of Alphabet (Capital letter, small letter), Numeric and Control code varies depending on number of combined characters.

PDF417 Code table

SI SO
B8 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
B7 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
B6 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
B5 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
B4 B3 B2 B1 0 1 2 3 4 5 6 7 8 9 A B C D E F
0 0 0 0 0 SP 0 @ P ` p
0 0 0 1 1 ! 1 A Q a q
0 0 1 0 2 " 2 B R b r
0 0 1 1 3 # 3 C S c s
0 1 0 0 4 $ 4 D T d t
0 1 0 1 5 % 5 E U e u
0 1 1 0 6 & 6 F V f v
0 1 1 1 7 ' 7 G W g w
1 0 0 0 8 ( 8 H X h x
1 0 0 1 9 ) 9 I Y i y
1 0 1 0 A * : J Z j z
1 0 1 1 B + ; K [ k {
1 1 0 0 C , < L ¥ l |
1 1 0 1 D - = M ] m }
1 1 1 0 E . > N ^ n ~
1 1 1 1 F / ? O _ o DEL

PDF417 can specify from 00H to FFH.