M-S Cash Drawer 7193 Manuale Utente

Pagina di 118
Commands
7193 Owner’s Guide
May 1996
100
Print Code 128 Bar Code
Selects and prints the Code 128 bar code.
This command is available only on RS-232C and Parallel printers.
Hex
Decimal
ASCII
Value of n
Value of dn
1D 6B
49 n dn
29 107
73 n dn
GS k
n dn
1-255
0-105
Since the characters encoded via Code 128 include the NUL (Hex 00) character, a
NUL cannot be used to terminate the Code 128 bar code sequence as is done with
other bar code sequences. The number of characters to be encoded is variable and
is specified by n.
Following n are the data bytes: dn. The printer processes n bytes from the next
character data as bar code data.
• 
The first data byte must be a Start code:  d1 = 103-105.
• 
Data bytes past the Start code:  d2 = 0-102.
• 
The printer provides the Stop code.
If character code d cannot be printed, the printer prints the processed bar code
data up to that point and the following data is treated as normal data. If the
horizontal size exceeds one line, the printer does not print the excess data.
This command is enabled only when no data is in the print buffer. When data is
in the printer buffer, the printer processes the data following ‘GS  k  I’ as normal
data.
Select Width of Bar Code
Sets the bar code width to n dots or n/152 inch (n/6 mm).
Hex
Decimal
ASCII
Value of n
Default
1D 77 n
29 119 n
GS w n
2, 3, 4
3