EPOS Control Codes
POSjet
®
1500
Programmer's Guide
Page 214
Rev M
Nov-07
Paper Sensor Commands
Function
Select Paper Sensor(s) to Stop Printing
ASCII
[ESC] c 4 <n>
Hexadecimal
1BH 63H 34H <n>
Decimal
<27> <99> <52> <n>
Range
0
≤
n
≤
255
Description
ESC c 4
n
selects whether to stop printing or not when the paper low is detected. There are three
sensors in the TM-U325D that are simulated in the POSjet
1500: the paper roll low, paper roll
end sensor, and validation sensor. The paper roll low sensor is enabled when either bit 0 or bit 1 is
on. The paper roll end sensor is enabled when either bit 2 or bit 3 is on. The validation sensor is
enabled when either bit 6 or bit 7 is on. When a paper low or a paper out is detected, printing stops
after printing the current line. The printer goes off line after printing stops. Installing a new roll
starts printing again. The default setting is n=12. If the paper roll low sensor or paper roll end
sensor is disabled and a paper out is detected, printing does not stop. The printer does not go off
line, and the Paper Out LED comes on. When the validation sensor is enabled and a paper-end is
detected, the printer ejects the paper after printing as much as possible and enters the paper
waiting state. When the validation sensor is disabled and a paper-end is detected, the printer does
not stop printing and eject the paper. It is possible to select multiple sensors to stop printing. Then
when any sensor detects a paper-end, printing stops. When a paper sensor is enabled with this
command, printing stops only when the corresponding paper is selected for printing. Print sheet
can be selected by using
ESC c 0.
Note:
The POSjet
®
does not allow the paper out sensor to be disabled.
The paper sensor(s) used to stop printing are selected by using
n
as follows:
Bit
Off/On
Hex
Decimal
Function
Off
00
0
Paper roll low sensor disabled.
0
On
01
1
Paper roll low sensor enabled.
Off
00
0
Paper roll low sensor disabled.
1
On
02
2
Paper roll low sensor enabled.
2- 3
—
—
—
Paper roll end sensor enabled (always on)
4-5
—
—
—
Undefined.
Off
00
0
Validation sensor disabled.
6
On
40
64
Validation sensor enabled.
Off
00
0
Validation sensor disabled.
7
On
80
128
Validation sensor enabled.
Table 48 Paper Sensor Commands
Содержание POSJET 1500
Страница 1: ...PROGRAMMER S GUIDE POSjet 1500 PN 20 03398 Rev M Nov 2007...
Страница 14: ......