CognitiveTPG A760 User Manual

Page 36

Advertising
background image

A760 User Guide: Programming Supplement
Chapter 4: Programming commands

36

Revision F January 2010

Select receipt or slip for setting line spacing

ASCII

ESC c 1 n

Hexadecimal 1B 63 31 n
Decimal

27 99 49 n

Value of n:

1, 2, 3

Select receipt

4

Select Slip

Default of n:

1

Selects which station receives the effects of the following
commands:
1.

Select Default Line Spacing (1B 32)

2.

Set Line Spacing (1B 33)

3.

Add n extra dot rows (16 n)

Exceptions

This command is ignored if n is out of range.

Select paper sensors to output paper end signals

ASCII

ESC c 3 n

Hexadecimal 1B 63 33 n
Decimal

27 99 51 n

Value of n:

If either bit 0 or bit 1 is on, the paper roll near-end sensor
is selected as the paper sensor outputting paper-end
signals.
If either bit 2 or bit 3 is on, the paper roll-end sensor is
selected as the paper sensor outputting paper-end signals.

Bit

Position Hex

Decimal Function

0

Off

00

0

Paper roll near-end

sensor disabled

On

01

1

Paper roll near-end

sensor enabled

1

Off

00

0

Paper roll near-end

sensor disabled

On

02

2

Paper roll near-end

sensor enabled

2

Off

00

0

Paper roll-end

sensor disabled

On

04

4

Paper roll-end

sensor enabled

3

Off

00

0

Paper roll-end

sensor disabled

On

08

8

Paper roll-end

sensor enabled

4, 5, 6, 7 –

Undefined

Range of n:

1–255

Default of n:

15

Specifies the paper sensor to output a paper end signal.
Multiple sensors may be selected to signal when paper
has run out. When multiple sensors have been selected,
anytime one of the sensors detects a paper end, the
paper-end signal is output.
When this command is executed a sensor is switched.
The paper-end signal switching is delayed depending on
the receive buffer state.

Advertising