Samsung SRP-350PG Service Manual - Page 67

ESC % n, ESC - n

Page 67 highlights

Command ESC % n [Name] [Format] [Range] [Description] Select / Cancel user-defined character set. ASCII ESC % n Hex 1B 25 n Decimal 27 37 n 0 ≤n ≤255 Selects or cancels the user-defined character set. When the LSB is 0, the user-defined character set is canceled. When the LSB is 1, the user-defined character set is selected. ESC & y c1 c2 [x1 d1...d(y X x1)]... [xk d1... d(yx X xk)] [Name] Define user-defined characters. [Format] ASCII ESC & n y c1 c2[x1 d1...d(y X x1)]... [xk d1... d(yx X xk)] Hex 1B 26 n y c1 c2[x1 d1...d(y X x1)]... [xk d1... d(yx X xk)] Decimal 27 38 n y c1 c2[x1 d1...d(y X x1)]... [xk d1... d(yx X xk)] [Range] y = 3, 32 ≤c1 ≤c2 ≤126 0 ≤x ≤12 (12x24 font) 0 ≤x ≤9 (9x17 font) 0 ≤d1 ... d(y X xk) ≤255 [Description] - y specifies the number of bytes in the vertical direction. - c1 specifies the beginning character code for the definition, and c2 specifies the final code. - x specifies the number of dots in the horizontal direction. ESC * m nL nH d1...dk [Name] Select bit-image mode. [Format] ASCII ESC * m nL nH d1...dk Hex 1B 2A m nL nH d1...dk Decimal 27 42 m nL nH d1...dk [Range] m = 0, 1, 32, 33 0 ≤nL ≤255 0 ≤nH ≤3 0 ≤d ≤255 [Description] Selects a bit-image mode using m for the number of dots specified by nL and nH, as follows : Vertical Direction m No. Vertical Dots Number Dot of Dots Density 0 8-dots single-density 8 60 DPI 1 8-dot double-density 8 60 DPI 32 24-dot single-density 24 180 DPI 33 24-dot double-density 24 180 DPI Dot Density 90 DPI 180 DPI 90 DPI 180 DPI Horizontal Direction Number of Data (k) nL + nH ×256 nL + nH ×256 (nL + nH ×256) ×3 (nL + nH ×256) ×3 ESC - n [Name] [Format] [Range] [Description] Turn underline mode on / off. ASCII ESC - n Hex 1B 2D n Decimal 27 45 n 0 ≤n ≤2, 48 ≤H ≤50 Turns underline mode on or off, based on the following values of n : n 0, 48 1, 49 2, 50 Function Turns off underline mode. Turns on underline mode (1-dot thick). Turns on underline mode (2-dot thick). 8-4 Samsung Electro-Mechanics

  • 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
8-4
Samsung Electro-Mechanics
ESC % n
[Name]
[Format]
[Range]
[Description]
Select / Cancel user-defined character set.
ASCII
ESC
%
n
Hex
1B
25
n
Decimal
27
37
n
0
n
255
Selects or cancels the user-defined character set.
When the LSB is 0, the user-defined character set is canceled.
When the LSB is 1, the user-defined character set is selected.
ESC & y c1 c2 [x1 d1…d(y X x1)]… [xk d1… d(yx X xk)]
[Name]
[Format]
[Range]
[Description]
Define user-defined characters.
ASCII
ESC
&
n
y
c1
c2[x1 d1…d(y X x1)]… [xk d1… d(yx X xk)]
Hex
1B
26
n
y
c1
c2[x1 d1…d(y X x1)]… [xk d1… d(yx X xk)]
Decimal
27
38
n
y
c1
c2[x1 d1…d(y X x1)]… [xk d1… d(yx X xk)]
y = 3, 32
c1
c2
126
0
x
12 (12x24 font)
0
x
9 (9x17 font)
0
d1 … d(y X xk)
255
- y specifies the number of bytes in the vertical direction.
- c1 specifies the beginning character code for the definition,
and c2 specifies the final code.
- x specifies the number of dots in the horizontal direction.
ESC * m nL nH d1…dk
[Name]
[Format]
[Range]
[Description]
Select bit-image mode.
ASCII
ESC
*
m nL nH d1…dk
Hex
1B
2A
m nL nH d1…dk
Decimal
27
42
m nL nH d1…dk
m = 0, 1, 32, 33
0
nL
255
0
nH
3
0
d
255
Selects a bit-image mode using m for the number of dots specified by nL and nH, as follows :
Vertical Direction
Horizontal Direction
m
No. Vertical Dots
Number
of Dots
Dot
Density
Dot
Density
Number of Data (k)
0
8-dots single-density
8
60 DPI
90 DPI
nL + nH ×256
1
8-dot double-density
8
60 DPI
180 DPI
nL + nH ×256
32
24-dot single-density
24
180 DPI
90 DPI
(nL + nH ×256) ×3
33 24-dot double-density
24
180 DPI
180 DPI
(nL + nH ×256) ×3
ESC - n
[Name]
[Format]
[Range]
[Description]
Turn underline mode on / off.
ASCII
ESC
-
n
Hex
1B
2D
n
Decimal
27
45
n
0
n
2, 48
H
50
Turns underline mode on or off, based on the following values of n :
n
Function
0, 48
Turns off underline mode.
1, 49
Turns on underline mode (1-dot thick).
2, 50
Turns on underline mode (2-dot thick).