M-S Cash Drawer A794 사용자 설명서

다운로드
페이지 147
Chapter 6: Programming Information
A794 Owner’s Guide
December 1999
74
Set Horizontal Tab Positions
ASCII
ESC D [n]…k NUL
Hexadecimal
1B 44 [n]…k 00
Decimal
27 68 [n]…k  0
Value of n:
 
Column number for tab minus one.
(n is always less than or equal to the current selected column width)
Value of k:
0-32
Default:
Every 8 characters from column. 1 (9, 17, 25, etc.) for normal print.
Sets up to 32 horizontal tab positions n columns from column one, but does not move
the print position. See the Horizontal Tab command (09).
The tab positions remain unchanged if the character widths are changed after the tabs
are set. The command ends with hexadecimal 00; hexadecimal 1B 44 00 clears all tabs.
Tabs assumed to be in strictly ascending order. A tab out of order terminates the
command string as if it were 00, and remaining tab values are taken as normal data.
Formulas
Set the tab positions in ascending order and put Hex 00 at the end.
Hex 1B 44 00 (number of tabs not specified) clears all tab positions.
Exceptions
The tabs cannot be set higher than the column width of the current pitch:
Standard pitch = 
44 columns
Compressed pitch =  56 columns