M-S Cash Drawer A794 用户手册

下载
页码 147
Chapter 6: Programming Information
A794 Owner’s Guide
December 1999
64
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
On
00
01
0
1
Paper roll near-end sensor disabled
Paper roll near-end sensor enable
1
Off
On
00
02
0
2
Paper roll near end sensor disabled
Paper roll near end sensor enabled
2
Off
On
00
04
0
4
Paper roll end sensor disabled
Paper roll end sensor enabled
3
Off
On
00
08
0
8
Paper roll end sensor disable
Paper roll end sensor enabled
4, 5, 6, 7
-
-
-
Undefined
Range of n:
1-255
Default of n:
12
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.
Exceptions
This command can only be used with a parallel interface.
The command is ignored if it used with a serial interface.