A795 User Guide: Programming Supplement
Chapter 4: Programming commands
90
Bar codes
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 the 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).