Esc C 4 N Select Paper Near End Sensor To Stop Printing; Esc C 5 N Enable/Disable Button; Esc P M T1 T2 Generate Cash Drawer Control Pulse - SNBC BTP-R580II Programming Manual

Table of Contents

Advertisement

signal.
• When both sensors are disabled, the paper end sensor is used to output paper end
signal.
[Default]
n = 12

ESC c 4 n Select paper near end sensor to stop printing

[Function]
Select paper sensor to stop printing.
[Format]
ASCII
Hex
Decimal 27
[Range]
0 ≤ n ≤ 255
[Notes]
n is defined as below:
Bit
0
1
2-7
• When either bit 0 or bit 1 of n is 1, paper near end sensor is enabled, and when the
printer detects paper near end, it stops printing after completing the current task.
[Default]
n = 0

ESC c 5 n Enable/disable button

[Function]
Enable/disable button.
[Format]
ASCII
Hex
Decimal 27
[Range]
0 ≤ n ≤ 255
[Notes]
• When the least significant bit of n is 0, the button is enabled.
• When the least significant bit of n is 1, the button is disabled.
• Only the least significant bit of n is effective.
• When the button is disabled, it does not work when pressed.
• When executing macro command, the button is always enabled.
[Default]
n = 0

ESC p m t1 t2 Generate cash drawer control pulse

[Function]
Generate cash drawer control pulse and output it to specified pin.
[Format]
ASCII
Hex
Decimal 27
[Range]
0 ≤ m ≤ 1, 48≤m ≤ 49
0 ≤ t1 ≤ 255, 0 ≤ t2 ≤ 255
ESC
c
4
1B
63
34 n
99
52 n
0/1
Hex
Decimal
0
00
0
Paper near end sensor disabled.
1
01
1
Paper near end sensor enabled.
0
00
0
Paper near end sensor disabled.
1
02
2
Paper near end sensor enabled.
Undefined.
ESC
c
5
1B
63
35 n
99
53 n
ESC
p
m t1
1B
70
m t1
112 m t1
n
Function
n
t2
t2
t2
- 65 -
BTP-R580II Programming Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents