Bar codes – CognitiveTPG A798 User Manual
Page 83

Chapter 4: Programming Commands
83
Revision C 12/09
A798-PG00001C
Bar codes
These commands format and print bar codes and are described in order of their hexadecimal codes.
These commands describe operation for 80mm paper. If the printer supports 82.5mm paper, the dot spacing is the same but
there are 640 printable dots rather than the 576 printable dots on 80mm 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/154 inch).