Epson L60IIP Information Guide - Page 54
ESC u, command allows the host to determine the status of a peripheral device.
View all Epson L60IIP manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 54 highlights
TM-L60II/L60IIP Information Manual ESC u n [Name] [Format] [Range] Transmit peripheral device status ASCII ESC u n Hex 1B 75 n Decimal 27 117 n n = 0, 48 ESC u n transmits the status of drawer kick-out connector pin 3 as 1 byte of data when n=0 or 48. This command allows the host to determine the status of a peripheral device. GS r is preferred for checking the status because ESC u is not a recommended command. Program Example PRINT #1, CHR$(&H1B);"p";CHR$(0);CHR$(25);CHR$(250); ← Generates a pulse PRINT #1, CHR$(&H1B);"u";CHR$(0); Peripheral device status Bit Off/On Hex Decimal Status Off 0 On 00 0 01 1 Drawer kick-out connector pin 3 is LOW. Drawer kick-out connector pin 3 is HIGH. 1-3 - -- Undefined. 4 Off 00 0 Not used. Fixed to Off. 5, 6 - -- Undefined. 7 Off 00 0 Not used. Fixed to Off. Rev. A Command Descriptions 1-47