Bar code description – Compuprint 4247-L03 Programmer Manua User Manual

Page 72

Advertising
background image

Bar Code Description

EAN-8

DC4 DC4 ESC ! n 1 p EM

The EAN-8 bar code data field must only contain numeric data and must be eight bytes long
including the check digit. The EAN-8 character repertoire provides 0 to 9 ASCII numeric figures. n
indicates the bar code height in units of 1/6 inch and must be in the range 1 to 12. p must be NUL
(hex. X'00') if no Human Readable Characters are to be printed, and 1 (hex. X'01') if they are to be
printed. The range of values for the n and p parameters can be increased of 32 dec.

EAN-13

DC4 DC4 ESC ! n 2 p EM

The EAN-13 bar code data field must only contain numeric data and must be 13 bytes long
including the check digit. The EAN-13 character repertoire provides 0 to 9 ASCII numeric figures. n
indicates the bar code height in units of 1/6 inch and must be in the range 1 to 12. If you want to
print the Human Readable Characters, p must have the value 1 (hex. X'01'); otherwise this value
must be NUL (hex. X'00'). The range of values for the n and p parameters can be increased of 32
dec.

UPC-A

DC4 DC4 ESC ! n 3 p EM

The UPC-A bar code data field allows 10 numeric characters plus one system number digit and one
check digit at the leftmost and rightmost positions, respectively. The UPC-A character repertoire
provides 0 to 9 ASCII numeric figures. n indicates the bar code height in units of 1/6 inch and must
be in the range 1 to 12. p must be NUL (hex. X'00') if no Human Readable Characters are to be
printed, and 1 (hex. X'01') if they are to be printed. The range of values for the n and p parameters
can be increased of 32 dec.

UPC-E

DC4 DC4 ESC ! n 4 p EM

If 11-digit strings are received and the o check digit field is missing or takes values 0 or 2, question
marks are printed in place of the HRC string, when possible. If the o field takes a value of 1, the
12

th

digit is inserted by the printer as a result of the internally available algorithm applied to the

received string.

If 10-digit strings are received and the o check-digit is missing or takes NULL value, question marks
are printed in place of HRC string, if possible. If the o field takes a value of 1, a default 0
System-Digit is automatically inserted by the printer and the 12

th

digit is also inserted as result of he

internally available algorithm applied to the final string.

If the final UPC-A string cannot be compressed to an 8-digits string, or the received System-Digit is
different than 0 or 1, question marks are printed in place of the HRC string, if possible.

The LEFT and RIGHT delimiters, System-Digit, and the Check-Digit are printed as descending bars
to make a field to host a 6-digits HRC string. The System-Digit HRC to the left of the LEFT delimiter
(at about the middle of the symbol) when the f field is missing or set to 1. In this case, the
Check-Digit shows in HRC to the right of the RIGHT delimiter (at about the middle of the symbol),
when o field takes values 2 or 3. Otherwise it never shows on the HRC string.

56

Programmer Manual

Advertising