CognitiveTPG A798 User Manual

Page 44

Advertising
background image

Chapter 4: Programming Commands

44

Revision C 12/09

A798-PG00001C

Set vertical line spacing

ASCII

ESC 3 n

Hexadecimal 1B 33 n

Decimal

27 51 n

Value of n:

n/406 inch in A798 native mode, A794 emulation

n/360 inch in A793 emulation mode

n/203 inch in Application Compatible Escape Commands emulation mode

Range of n:

0-255

Default:

3.37 mm (0.13 inch)

Sets the line spacing to n/16 mm (n/406 inch).
The minimum line spacing is 8.5 lines per inch. The line spacing equals the character height when n is too small.
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.

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:
Standard pitch =

44 columns

Compressed pitch = 56 columns

Advertising