A795 User Guide: Programming Supplement
Chapter 4: Programming commands
38
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.
Select paper sensors to output paper end signals
ASCII
ESC c 3 n
Hexadecimal
1B 63 33 n
Decimal
27 99 51 n
Vaue 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
00
0
Paper roll near-end
sensor disabled
On
01
1
Paper roll near-end
sensor enable
1
Off
00
0
Paper roll near end
sensor disabled
On
02
2
Paper roll near end
sensor enabled
2
Off
00
0
Paper roll end
sensor disabled
On
04
4
Paper roll end
sensor enabled
3
Off
00
0
Paper roll end
sensor disable
On
08
8
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.
Содержание A795
Страница 1: ...A795 D100 PS UserGuide ProgrammingSupplement A795Two ColorThermalReceiptPrinter TM...
Страница 10: ...A795 User Guide Programming Supplement Chapter 1 About this Supplement 10...
Страница 110: ...A795 User Guide Programming Supplement Chapter 4 Programming commands 110...
Страница 118: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 118 Code page 737 Greek...
Страница 119: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 119 Code page 850 Multilingual...
Страница 120: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 120 Code page 852 Slavic...
Страница 121: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 121 Code page 858 with Eurosymbol...
Страница 122: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 122 Code page 860 Portuguese...
Страница 123: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 123 Code page 862 Hebrew...
Страница 124: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 124 Code page 863 French Canadian...
Страница 125: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 125 Code page 865 Nordic...
Страница 126: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 126 Code page 866 Cyrillic...
Страница 127: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 127 Code page 1252 Windows Latin 1...
Страница 128: ...189 9200281 E A795 D100 PS 05 01 TM...