Bar code commands – M-S Cash Drawer A794 User Manual

Page 126

Advertising
background image

A794 Owner’s Guide

Chapter 6: Programming Information

December 1999

121

Bar Code Commands

These commands format and print bar codes and are described in order of their
hexadecimal codes.

These commands describe operation for 80 mm paper. If the printer supports 82.5 mm
paper, the dot spacing is the same but there are 640 printable dots rather than 576
printable dots on 80 mm paper.

Select Printing Position of HRI Characters

ASCII

GS H n

Hexadecimal

1D 48 n

Decimal

29 72 n

Value of n:

Printing position

0 = Not printed
1 = Above the bar code
2 = Below the bar code
3 = Both above and below the bar code

Default:

0 (Not printed)

Prints HRI (Human Readable Interface) characters above or below the bar code.

Select Pitch of HRI Characters

ASCII

GS f n

Hexadecimal

1D 66 n

Decimal

29 102 n

Value of n:

0 = Standard Pitch at 15 CPI
1 = Compressed Pitch at 20 CPI

Default:

0 (Standard Pitch at 15 CPI)

Selects standard and compressed font for printing Bar Code characters.

Select Bar Code Height

ASCII

GS h n

Hexadecimal

1D 68 n

Decimal

29 104 n

Value of n:

Number of dots

Range of n:

1-255

Default:

216

Sets the bar code height to n dots or (n/8 mm , n/203 inch).

Advertising