User guide

A795 User Guide: Programming Supplement
Chapter 4: Programming commands
39
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
The off-time is the delay before the printer performs the
next operation. Refer to cash drawer specifications for
required on and off-time.