Epson L60IIP Information Guide - Page 54

ESC u, command allows the host to determine the status of a peripheral device.

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98

Rev. A
Command Descriptions
1-47
TM–L60II/L60IIP Information Manual
ESC u
n
[Name]
Transmit peripheral device status
[Format]
ASCII
ESC
u
n
Hex
1B
75
n
Decimal
27
117
n
[Range]
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.
Peripheral device status
Program Example
PRINT #1, CHR$(&H1B);"p";CHR$(0);CHR$(25);CHR$(250);
Generates a pulse
PRINT #1, CHR$(&H1B);"u";CHR$(0);
Bit
Off/On
Hex
Decimal
Status
0
Off
00
0
Drawer kick-out connector pin 3 is LOW.
On
01
1
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.