Using the drawer kick
350 PRINT #1, CHR$(27);"p";CHR$(O);CHR$(10);CHR$(100);
The “p” generates a specified pulse;
Refer to ESC p m n1 n2.
In line 350, the module terminal of the drawer kick outputs a
20-ms
pulse followed by a 200-ms wait.
How to read the status of the drawer kick
360 PRINT #1, CHR$(27);"u";CHR$(O);
370 A$=INPUT$(1, #1)
380 IF A$=CHR$(0) THEN PRINT "DRW:L"
390 IF A$=CHR$(1) THEN PRINT "DRW:H"
The “u” command in line 360 transmits the status of the drawer kick to
printer. Refer to ESC u n.
370 recieves the data from the printer through RS-232C.
380 and 390 display the status of the drawer kick on the CRT.
Close RS-232C
400 CLOSE #1
RS-232C must be closed by the computer using this command.
-56-
Содержание TM-T60
Страница 1: ...THERMAL LINE PRINTER TM T60 T60P TM T80 T80P Operator s Manual 400206500 ...
Страница 7: ...I SETTING UP ...
Страница 26: ...II REFERENCE ...
Страница 40: ......
Страница 78: ......
Страница 81: ......
Страница 82: ......
Страница 83: ...n International character set 7 6 ...
Страница 85: ... 7 8 ...