38 Chapter 4: Programming CommandsRevision D 12/09

Select sensors to stop printing

ASCII

ESC c 4 n

Hexadecimal

1B 63 34 n

Decimal

27 99 52 n

Value of n:

Sensor status

Sensor Status

Bit

Sensor

0

1

0

Receipt paper near-end

Disabled

Enabled

1

Receipt paper near-end

Disabled

Enabled

2–4

Undefined

 

 

6

Undefined

 

 

Bits 5 and 7 are not used.

Default: 0

Determines which sensor stops printing on the respective station. The command does not affect the paper out status on the receipt station, which will automatically stop the printer when the paper is depleted.

Enable or disable panel button

ASCII

ESC c 5 n

Hexadecimal

1B 63 35 n

Decimal

27 99 53 n

Value of n:

0

= Enable

 

1

= Disable

Default:

0

(Enable)

Enables or disables the paper feed button. If the last bit is 0, the paper feed button is enabled. If the last bit is 1, the paper feed button is disabled.

Exceptions

Functions that require the paper feed button (except for the execute macro [1D 5E] command) cannot be used when it has been disabled with this command.

Generate pulse to open cash drawer

ASCII

ESC p n p1 p2

Hexadecimal

1B 70 n p1 p2

Decimal

27 112 n p1 p2

Value of n:

00, 48

(Decimal) = Drawer 1;

 

01, 49

(Decimal) = Drawer 2

Value of p1:

0–255

 

Value of p2:

0–255

 

Sends a pulse to open the cash drawer.

Formulas

The value for either p1 or p2 is the hexadecimal number multiplied by 2 msec to equal the total time.

On-time = p1 (Hex) x 2 msec

Off-time = p2 (Hex) x 2 msec

Related information

Off-time is the delay before the printer performs the next operation. Refer to cash drawer specifications for required on and off-time.

A799-PG00001D

Page 38
Image 38
Cognitive Solutions A799 manual Select sensors to stop printing, Enable or disable panel button