Samsung SRP-350PG Service Manual - Page 68

ESC 2, ESC 3 n, ESC = n, ESC ? n

Page 68 highlights

Command ESC 2 [Name] [Format] [Description] Select default line spacing. ASCII ESC 2 Hex 1B 32 Decimal 27 50 Selects 1/6-inch line (approximately 4.32mm) spacing. ESC 3 n [Name] [Format] [Range] [Description] Set line spacing ASCII ESC 3 n Hex 1B 33 n Decimal 27 51 n 0 ≤n ≤255 Sets the line spacing to [n X vertical or horizontal motion unit] inches. ESC = n [Name] [Format] [Range] [Description] Select peripheral device. ASCII ESC = n Hex 1B 3D n Decimal 27 61 n 0 ≤n ≤3 Selects device to which host computer sends data, using n as follows : Bit Off/On Hex Decimal 0 Off 00 0 On 01 1 1-7 - - - Function Printer Disabled. Printer Disabled. Undefined. ESC ? n [Name] [Format] [Range] [Description] Cancel user-defined characters. ASCII ESC ? n Hex 1B 3F n Decimal 27 63 n 32 ≤n ≤126 Cancels user-defined characters. ESC @ [Name] [Format] [Range] [Description] Initialize printer. ASCII ESC @ Hex 1B 40 Decimal 27 64 32 ≤n ≤126 Clears the data in the print buffer and resets the printer mode to the mode that was in effect when the power was turned on. ESC D n1... nk NUL [Name] Set horizontal tab positions. [Format] ASCII ESC D n1... nk NUL Hex 1B 44 n1... nk 00 Decimal 27 68 n1... nk 0 [Range] 1 ≤n ≤255 0 ≤k ≤32 [Description] Sets horizontal tab positions. * n specifies the column number for setting a horizontal tab position from the beginning of the line. * k indicates the total number of horizontal tab positions to be set. Samsung Electro-Mechanics 8-5

  • 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-5
ESC 2
[Name]
[Format]
[Description]
Select default line spacing.
ASCII
ESC
2
Hex
1B
32
Decimal
27
50
Selects 1/6-inch line (approximately 4.32mm) spacing.
ESC 3 n
[Name]
[Format]
[Range]
[Description]
Set line spacing
ASCII
ESC
3
n
Hex
1B
33
n
Decimal
27
51
n
0
n
255
Sets the line spacing to [n X vertical or horizontal motion unit] inches.
ESC = n
[Name]
[Format]
[Range]
[Description]
Select peripheral device.
ASCII
ESC
=
n
Hex
1B
3D
n
Decimal
27
61
n
0
n
3
Selects device to which host computer sends data, using n as follows :
Bit
Off/On
Hex
Decimal
Function
Off
00
0
Printer Disabled.
0
On
01
1
Printer Disabled.
1-7
-
-
-
Undefined.
ESC ? n
[Name]
[Format]
[Range]
[Description]
Cancel user-defined characters.
ASCII
ESC
?
n
Hex
1B
3F
n
Decimal
27
63
n
32
n
126
Cancels user-defined characters.
ESC @
[Name]
[Format]
[Range]
[Description]
Initialize printer.
ASCII
ESC
@
Hex
1B
40
Decimal
27
64
32
n
126
Clears the data in the print buffer and resets the printer mode to the mode that was in effect when the
power was turned on.
ESC D n1… nk NUL
[Name]
[Format]
[Range]
[Description]
Set horizontal tab positions.
ASCII
ESC
D
n1… nk
NUL
Hex
1B
44
n1… nk
00
Decimal
27
68
n1… nk
0
1
n
255
0
k
32
Sets horizontal tab positions.
* n specifies the column number for setting a horizontal tab position from the beginning
of the line.
* k indicates the total number of horizontal tab positions to be set.