EFP9800 ESC/POS Commands

Print Bar Code (Receipt Station)

Selects the bar code type and prints a bar code for the ASCII characters entered. The command is only valid at the beginning of a line. If the width of the bar code exceeds one line, the excess data is not printed. Illegal data cancels the command.

There are two variations to this command: the first uses a NULL character to terminate the string; the second uses a length byte at the beginning of the string to compensate for the Code 128 bar code which can accept a NULL character as part of the data.

Note: Fixed-length codes can be aligned left, center, or right using the Align Positions command (1B 61). Variable-length codes are always center aligned.

The check digit is calculated for UPC and JAN (EAN) codes if it is not sent from the host computer. Six-character zero-suppressed UPC-E tags are generated from full 11 or 12 characters sent from the host computer according to standard UPC-E rules. Start/Stop characters are added for Code 39 if they are not included.

3255 4073– 002

6– 65

Page 155
Image 155
Unisys manual EFP9800 ESC/POS Commands Print Bar Code Receipt Station