[ESC+BM] UPC-A Barcode (With 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
BM <42>16<4D>16

Parameter

abbcccn...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 character barcode height of the first and the last digit to the same height of the guard bar.

Format 1

<BM>abbcccn...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

Coding Example

Barcode type: UPC-A, Narrow bar width: 02, Barcode height: 120, Print data: 20123948573


<A>
<H>100<V>100<BM>H0212020123948573
<Q>2
<Z>
                    

Supplementary Explanation

  1. This command supports UPC-A only. When barcode type is specified other than "H", command error occurs.
  2. HRI needs following conditions;
    8 dots/mm (203 dpi): Set Narrow bar width to [02] or [03]
    12 dots/mm (305 dpi): Set Narrow bar width to [03] or [04]
    24 dots/mm (609 dpi): Set Narrow bar width to [06] or [07] or [08]
    When the value other than above are specified, HRI is not printed.
  3. Setting of Guard bar, HRI and Ratio is following.
    Guard bar HRI Ratio
    Available Available Fix
  4. When the parameter value exceeds the range, operation is not supported.
  5. All character barcode have the same height when printing UPC-A specifying <BD> 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 <BD> 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 <BM> 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 <BD>


    UPC-A specifying <BM>