[ESC+BZ] Customer Barcode

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
BZ <42>16<5A>16

Parameter

aaaaaaan...n

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

Printing a customer barcode.

Format

<BZ>aaaaaaa,n...n

  • Parameter

    a [Postal code] = Numeral: 0000000 to 9999999 [7 digits, fixed]

    n [Print data] = Data (Block number) [Maximum 13 digits]

    (Refer to the customer barcode code table for details.)

Coding example

Postal code: 3310043, Print data: 1-207


<A>
<V>100<H>200<BZ>3310043,1-207
<Q>2
<Z>
                    

Supplemental explanation

  1. Only Alphanumeric and a hyphen can be specified as print data. (See the code table.)
  2. When alphabet is specified for print data, data is recognized as 2 digits (Control code and Alphabet font code), and be sure the print data not to exceed 13 digits.
  3. When alphabet is specified for the print data, one alphabet is handled as 2 digits data (Control code + Numeric code). When ten alphabet characters [ABCDEFGHIJ] are specified as print data, first 6 characters of [ABCDEF] become 12 digits data (control code + numeric code: 2 digits x 6 characters). For the seventh character [G], the control code of "control code + numeric code" stays in 13 digits and is valid, but numeric code is the 14th digits and invalid. The 8th character and later [HIJ] exceed 13 digits and become invalid.
    e.g. [ABCDEFGHIJ]
    • [ABCDEF]: Six characters x 2 digits (Control code + numeric code), total 12 digits
      All six data are valid.
    • [G]: One character x 2 digits (Control code + numeric code), total 2 digits
      The control code is valid because it is within 13 digits, and the numeric code is invalid because it is the 14th digits.
    • [HIJ]: Three characters x 2 digits (Control code + numeric code), total 6 digits
      All invalid because of exceeding 14 digits.
  4. Start/Stop character and C/D will be added automatically.
  5. When the number of print data is less than 13 digits, the control code (CC4) will be added automatically. When the number of print data exceeds 13 digits, the data from the 14th digits become invalid.
  6. When specifying parameter other than above or the number of print data is not matched, the barcode may not be printed properly or the scanner cannot read it.

Supplementary explanation per model: PW2 series

  1. Support only PW208/PW208m, PW208NX/PW208mNX (Japan)

Supplementary explanation per model: FX3-LX series

  1. Support only FX3-LX (Japan)

Supplementary explanation per model: CT4-LX/HC4-LX series

  1. Support only CT4-LX (Japan)/HC4-LX

Supplementary explanation per model: CL4-SXR/CL6-SXR series

  1. Support only CL4-SXR/CL6-SXR (Japan)

Code table for Customer Barcode

SI S0
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 0 P
0 0 0 1 1 1 A Q
0 0 1 0 2 2 B R
0 0 1 1 3 3 C S
0 1 0 0 4 4 D T
0 1 0 1 5 5 E U
0 1 1 0 6 6 F V
0 1 1 1 7 7 G W
1 0 0 0 8 8 H X
1 0 0 1 9 9 I Y
1 0 1 0 A J Z
1 0 1 1 B K
1 1 0 0 C L
1 1 0 1 D - M
1 1 1 0 E N
1 1 1 1 F O