Bar Codes; Select Printing Position Of Hri Characters; Select Pitch Of Hri Characters; Select Bar Code Height - CognitiveTPG A776 Programming Manual

Two-color thermal/impact hybrid printer
Hide thumbs Also See for A776:
Table of Contents

Advertisement

100
Chapter 5: Programming commands

Bar codes

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

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.2 CPI
1 = Compressed pitch at 19 CPI
Default:
0 (Not printed)
Selects standard and compressed font for printing bar code characters.
When slip is selected as the interface, HRI is always compressed.

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 (decimal)
Default:
162 (decimal)
Sets the bar code height to (n/154") for receipt and

Print bar code

First Variation
ASCII
GS k m d1...dk NUL GS k m n d1...dn
Hexadecimal
1D 6B m d1...dk 00
Decimal
29 107 m d1 dk 0
(0 = End of command)
Selects the bar code type and prints a bar code for the ASCII characters entered. If the width of the bar code exceeds
one line, the bar code is not printed.
There are two variations to this command. The first variation uses a NUL character to terminate the string; the second
uses a length byte at the beginning of the string.
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.
Continued . . .
A776 (B780) Programming Guide
01-FF (hexadecimal)
A2 (hexadecimal)
(n/172") for slip.
Second Variation
1D 6B m n d1...dn
29 107 m n d1...dn
A776-PG00001 C 12/09

Advertisement

Table of Contents
loading

This manual is also suitable for:

B780

Table of Contents