Select Sensors To Stop Printing; Enable Or Disable Panel Button; Generate Pulse To Open Cash Drawer - CognitiveTPG A799 Programming Manual

A799 two-color thermal receipt printer
Hide thumbs Also See for A799:
Table of Contents

Advertisement

38
Chapter 4: Programming Commands

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
Bit
Sensor
0
Receipt paper near-end
1
Receipt paper near-end
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.
Sensor Status
0
1
Disabled
Enabled
Disabled
Enabled
A799-PG00001D
Revision D 12/09

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colorpos a799

Table of Contents