Samsung 275C User Manual - Page 52

ESC u, ESC v

Page 52 highlights

ESC u [Name] [Format] [Range] [Description] [Notes] Transmit peripheral device status ASCII ESC u n Hex 1B 75 n Decimal 27 117 n n = 0, 48 Transmits the peripheral device status of 1 byte. • The peripheral device status to be transmitted is as follows: Bit Binary Hex 0 0 1 1-3 - - 4 0 00 5,6 - - 7 0 00 Decimal 0 0 Status Drawer kick-out connector pin 3 is LOW. Drawer kick-out connector pin 3 is HIGH. Undefined. Not used. Fixed to Off. Undefined. Not used. Fixed to Off. ESC v [Name] [Format] [Description] [Notes] Transmit paper sensor status ASCII ESC v Hex 1B 76 Decimal 27 118 Transmits the status of paper sensor(s) as 1 byte of data. • The paper sensor status to be transmitted is as follows: Bit Binary Hex Decimal Status 0,1 00 00 11 03 0 Paper near end sensor: paper adequate. 3 Paper near end sensor: paper near end. 2,3 00 00 11 0C 4 0 00 5,6 - - 7 Off 00 00 Paper end sensor: paper present. 12 Paper end sensor: paper not present. 0 Not used. Fixed to Off. - Undefined. 0 Not used. Fixed to Off. ESC { [Name] [Format] [Range] [Default] [Description] Turn upside-down printing mode on/off ASCII ESC { n Hex 1B 7B n Decimal 27 123 n 1 ≤ n ≤ 255 n = 0 Turns upside-down printing mode on or off. - When the LSB of n is 0, upside-down printing mode is turned off. - When the LSB of n is 1, upside-down printing mode is turned on. 4-16

  • 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
  • 99
  • 100

4-16
ESC u
[Name]
Transmit peripheral device status
[Format]
ASCII
ESC
u
n
Hex
1B
75
n
Decimal
27
117
n
[Range]
n
= 0, 48
[Description]
Transmits the peripheral device status of 1 byte.
[Notes]
• The peripheral device status to be transmitted is as follows:
Bit
Binary
Hex
Decimal
Status
0
Drawer kick-out connector pin 3 is LOW.
0
1
Drawer kick-out connector pin 3 is HIGH.
1-3
-
-
-
Undefined.
4
0
00
0
Not used. Fixed to Off.
5,6
-
-
-
Undefined.
7
0
00
0
Not used. Fixed to Off.
ESC v
[Name]
Transmit paper sensor status
[Format]
ASCII
ESC
v
Hex
1B
76
Decimal
27
118
[Description]
Transmits the status of paper sensor(s) as 1 byte of data.
[Notes]
• The paper sensor status to be transmitted is as follows:
Bit
Binary
Hex
Decimal
Status
00
00
0
Paper near end sensor: paper adequate.
0,1
11
03
3
Paper near end sensor: paper near end.
00
00
00
Paper end sensor: paper present.
2,3
11
0C
12
Paper end sensor: paper not present.
4
0
00
0
Not used. Fixed to Off.
5,6
-
-
-
Undefined.
7
Off
00
0
Not used. Fixed to Off.
ESC {
[Name]
Turn upside-down printing mode on/off
[Format]
ASCII
ESC
{
n
Hex
1B
7B
n
Decimal
27
123
n
[Range]
1
n
255
[Default]
n
= 0
[Description]
Turns upside-down printing mode on or off.
- When the LSB of
n
is 0, upside-down printing mode is turned off.
- When the LSB of
n
is 1, upside-down printing mode is turned on.