CONFIDENTIAL

Paper roll Miscellaneous commands ESC p

Ver. 10.0 1 p. 416

ESC p EXECUTING COMMAND
[Name] Generate pulse
[Format] ASCII ESC p
m t1 t2
Hex 1B 70
m t1 t2
Decimal 27 112
m t1 t2
[Range]
m
= 0, 1, 48, 49
0
t1
255
0
t2
255
[Default] None
[Printers not featuring this command] TM-P60
[Description] Outputs the pulse specified by
t1
and
t2
to the specified connector pin
m
as follows:
The pulse for ON time is (
t1
× 2 msec) and for OFF time is (
t2
× 2 msec).
[Notes] If
t2
<
t1
, the OFF time is equal to the ON time.
[Model-dependent variations] TM-U230, TM-U220, TM-U210
TM-U230
If
t1
< 50,
t1
is supposed to be 50.
If
t2
< 50,
t2
is supposed to be 50.
TM-U210, TM-U220
If t2 < 50, t2 is supposed to be 50.
m
Connector pin
0, 48 Drawer kick-out connector pin 2
1, 49 Drawer kick-out connector pin 5
Program Example for all printers
PRINT #1, CHR$(&H1B);"p";CHR$(0);CHR$(25);CHR$(250);
Miscellaneous commands