Esc P M N1 N2 (Generating The Specified Pulses) - Citizen CT-S2000 Command Reference Manual

Line thermal printer
Hide thumbs Also See for CT-S2000:
Table of Contents

Advertisement

ESC p m n1 n2
[Function]
[Code]
[Range]
[Outline]
[Caution]
[Sample Program]
Generating the specified pulses
<1B>H<70>H<m><n1><n2>
m = 0, 1, 48, 49
0 <n1≤n2≤255
• The signals specified by "n1" and "n2" are output to the connector pin specified by
"m".
• "m" has the followings.
m
0, 48
1, 49
• The ON time is n1 x2 ms, and OFF time n2 x2 ms.
• When "m" is beyond a definition range, no signal is output, discarding "n1" and "n2".
• The drawer drive duty must be within the following range:
ON time
ON time + OFF time
(The OFF time should be 4 times or more longer than the ON time.)
LPRINT CHR$(&H1B) + "p"
LPRINT CHR$(0); ←Selects pin No. 2.
LPRINT CHR$(5); ←Sets ON time to 10 ms
LPRINT CHR$(50); ←Sets OFF time to 100 ms
Connector Pin
Drawer kick-out pin No. 2
Drawer kick-out pin No. 5
0.2
- 145 -

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents