Samsung SRP-350PG Service Manual - Page 72

ESC c 4 n, ESC c 5 n, ESC d n, ESC p m t1 t2

Page 72 highlights

Command ESC c 4 n [Name] [Format] [Range] [Description] Select paper sensor(s) to stop printing. ASCII ESC c 4 n Hex 1B 63 34 n Decimal 27 99 52 n 0 ≤nL ≤255 Selects the paper sensor(s) used to stop printing when a paper-end is detected, using n as follows : Bit Off/On Hex 0 Off 00 On 01 1 Off 00 On 02 2-7 - - Decimal 0 1 0 2 - Function Paper roll end sensor disable. Paper roll end sensor enable. Paper roll end sensor disable. Paper roll end sensor enable. Undefined. ESC c 5 n [Name] [Format] [Range] [Description] Enable / Disable panel button. ASCII ESC c 3 n Hex 1B 63 35 n Decimal 27 99 53 n 0 ≤n ≤255 Enables or disables the panel button. * When the LSB of n is 0, the panel buttons are enabled. * When the LSB of n is 1, the panel buttons are disabled. ESC d n [Name] [Format] [Range] [Description] Print and feed n lines. ASCII ESC d n Hex 1B 64 n Decimal 27 100 n 0 ≤n ≤255 Prints the data in the print buffer and feeds n lines. ESC p m t1 t2 [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 [Description] Outputs the pulse specified by t1 and t2 to connector pin m as follows. m 0, 48 1, 49 Connector pin Drawer kick-out connector pin 2 Drawer kick-out connector pin 5 Samsung Electro-Mechanics 8-9

  • 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
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125

Command
Samsung Electro-Mechanics
8-9
ESC c 4 n
[Name]
[Format]
[Range]
[Description]
Select paper sensor(s) to stop printing.
ASCII
ESC
c
4
n
Hex
1B
63
34
n
Decimal
27
99
52
n
0
nL
255
Selects the paper sensor(s) used to stop printing when a paper-end is detected, using n as follows :
Bit
Off/On
Hex
Decimal
Function
Off
00
0
Paper roll end sensor disable.
0
On
01
1
Paper roll end sensor enable.
Off
00
0
Paper roll end sensor disable.
1
On
02
2
Paper roll end sensor enable.
2-7
-
-
-
Undefined.
ESC c 5 n
[Name]
[Format]
[Range]
[Description]
Enable / Disable panel button.
ASCII
ESC
c
3
n
Hex
1B
63
35
n
Decimal
27
99
53
n
0
n
255
Enables or disables the panel button.
* When the LSB of n is 0, the panel buttons are enabled.
* When the LSB of n is 1, the panel buttons are disabled.
ESC d n
[Name]
[Format]
[Range]
[Description]
Print and feed n lines.
ASCII
ESC
d
n
Hex
1B
64
n
Decimal
27
100
n
0
n
255
Prints the data in the print buffer and feeds n lines.
ESC p m t1 t2
[Name]
[Format]
[Range]
[Description]
Generate pulse.
ASCII
ESC
p
m
t1
t2
Hex
1B
70
m
t1
t2
Decimal
27
112
m
t1
t2
m = 0, 1, 48, 49
0
t1
255, 0
t2
255
Outputs the pulse specified by t1 and t2 to connector pin m as follows.
m
Connector pin
0, 48
Drawer kick-out connector pin 2
1, 49
Drawer kick-out connector pin 5