CognitiveTPG A760 User Manual

Page 53

Advertising
background image

A760 User Guide: Programming Supplement

Chapter 4: Programming commands

53

Revision F January 2010

Set right-side character spacing

ASCII

ESC SP n

Hexadecimal 1B 20 n
Decimal

27 32 n

Range of n:

0 – 32 (decimal)

Default:

0

Sets the right side character spacing to [ n x horizontal or
vertical motion units]. Values for this command are set
independently in standard and paper mode.
The units of horizontal and vertical motion are specified
by the set horizontal and vertical minimum motion units
(1D 50 …) command. Changes in the horizontal or vertical
units do not affect the current right side character spacing.
When the horizontal or vertical motion unit is changed by
the set horizontal and vertical minimum motion units (1D
50 …) command the value must be in even units and not
less than the minimum amount of horizontal movement.
In standard mode the horizontal motion unit is used.

In page mode the horizontal or vertical motion unit differs
and depends on the starting position of the printable
area. When the starting printing position is the upper left
or lower right of the printable area (set by select print
direction in page mode, 1B 54 n) the horizontal motion
unit (x) is used. When the starting printing position is the
upper right or lower left of the printable area (set by select
print direction in page mode, 1B 54 n) the vertical motion
unit (y) is used.

Exception

This is ignored in A756 emulation mode and is only valid
on the receipt station.

Select print mode

ASCII

ESC ! n

Hexadecimal 1B 21 n
Decimal

27 33 n

Value of n:

Pitch selection (standard, compressed,

double-high, or double-wide.)

Value of n
Bit

Function

0

1

Bit 0

Pitch

2

Standard

1

Compressed

(See chart below)

pitch

pitch

Bit 3

Emphasized mode Canceled

Set

Bit 4

Double-high

2

Canceled

Set

Bit 5

Double-wide

Canceled

Set

Bit 7

Underlined mode

Canceled

Set

Bits 1, 2 and 6 are not used.

1

Standard and compressed pitch cannot be used together

in the same line.

2

Double-high character cannot be used with normal

character in the same line, nor can they be used on the
slip station.

Default:

0 (for bits 0, 3, 4, 5, 7)

Selects the print mode: standard, compressed,
double-high, or double-wide.

Pitch

Receipt Receipt

Slip

Slip

Station

CPI

Station

CPI

Standard

44

15.6

66

13.9

Compressed 56

20.3

80

17.1

Related information

The bits in this command perform the same function as the
stand-alone functions:

1B 16 n

Select pitch

1B 45 n

Emphasized

1B 47 n

Double-strike

12

Double-wide

13

Single-wide

1B 2D n

Underline

Advertising