Set Vertical Line Spacing; Set Horizontal Tab Positions - CognitiveTPG A776 ColorPOS Programming Manual

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

Advertisement

Set vertical line spacing

ASCII
ESC 3 n
Hexadecimal
1B 33 n
Decimal
27 51 n
Value of n:
Receipt - n/406 inch
Slip -
n/144 inch
Range of n:
0 – 255
Default:
Receipt - 0.13 inch (3.37 mm or 7.52 lines
per inch, 3 extra dot rows)
Slip -
0.14 inch (7.20 lines per inch,
3 extra dot rows)
Sets the line spacing for the receipt and for the slip. For the receipt, the space is set to n/406 inches. For the slip, the line
spacing is set to n/144 inches. The line spacing equals the character height when n is too small.
Line spacing is set for the station or stations selected by the command 1B 63 31 n .
If the set horizontal and vertical minimum motion units command (1D 50) is used to change the horizontal and vertical
minimum motion unit, the parameters of this command (set line spacing) will be interpreted accordingly.
Related information
For more information, see the description of the set horizontal and vertical minimum motion units command
in this document.
In addition, see "Configure line spacing" (1F 03 46 n).

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 (decimal)
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.
A776-PG00001 D 07/13
Chapter 5: Programming commands
A776 (B780) Programming Guide
39

Advertisement

Table of Contents
loading

Table of Contents