[ESC+BL-ESC+d] UPC-A Barcode (Specifying HRI)

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
BL-d <42>16<4C>16-character type

Parameter

abbcccn...n-<d>n...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

Set the height of character barcode of the first digit and the last digit to the same height of the guard bar.

Format

<BL>abbcccn...n-<d>n...n

  • Parameter

    a [Barcode type] = H : UPC-A (Fixed 'H')

    b [Narrow bar] = Valid Range : 01-36 dots

    c [Height of barcode] = Valid range : 001 - 999 dots

    n [Print data] = Data : Fixed 11 digit

    d [Font type]

    = OA

    = OB

    = XU

    = XS

    = XM

    = XB

    = XL

    = U

    = S

    = M

    = WB

    = WL

    n [Print data] = HRI data: fixed 12 digits

Coding Example

Font type: UPC-A, Narrow bar width: 02. Barcode height: 120, Print data: 01234567890

Font type: XS, HRI data: 01234567890


<A>
<H>100<V>100<BL>H0212001234567890
<XS>01234567890
<Q>2
<Z>
                    

Supplementary Explanation

  1. This command supports UPC-A only. When barcode type is specified other than "H", command error occurs.
  2. Recommended to specify [02] or [03] for the narrow bar width.
  3. Check digit (12th digit) for HRI data should be set the calculation result of modulus 10.
  4. Setting of Guard bar, HRI and Ratio is following.
    Guard bar HRI Ratio
    Available Available Fix
  5. If barcode with human readable text has errors, the human readable text is printed in a normal font.
  6. HRI will not be printed when barcode is error for barcode with HRI.
  7. All character barcode have the same height when printing UPC-A specifying <D> and then <font>. The first and the last character barcode have the same height to the guard bar when printing UPC-A specifying <BL> and then <font>.
    When printing UPC-A specifying <D> and <font>, HRI can be printed under the first digit and the last digit because the height of the first digit and the last digit of the barcode is low. When printing UPC-A specifying <BL> and <font>, the height of the first digit and the last digit of the barcode is high, and the font interval is narrower than previous case.

    UPC-A specifying <D> + <font>


    UPC-A specifying <BL> + <font>