Samsung SRP-350PG Service Manual - Page 74

GS ! n, GS $ nL nH

Page 74 highlights

Command FS q n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n [Name] Defined NV bit image. [Format] ASCII FS q n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n Hex 1C 71 n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n Decimal 28 113 n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n [Range] 1 ≤n ≤255 0 ≤xL ≤255 0 ≤xH ≤3 (when 1 ≤(xL + xH ×256) ≤1023 0 ≤yL ≤3 (when 1 ≤(xL + xH ×256) ≤288 1 ≤d ≤255 k = (xL + xH ×256) ×(yL + yH ×256) ×8 Total defined data area = 2M bits (256K bytes) [Description] Define the NV bit image specified by n. * n specifies the number of the defined NV bit image. * xL, xH specifies (xL + xH ×256) ×8 dots in the horizontal direction for the NV bit image you are defining. * yL, yH specifies (yL + yH ×256) ×8 dots in the vertical direction for the NV bit image you are defining. GS ! n [Name] [Format] [Range] [Description] Select character size. ASCII GS ! n Hex 1D 21 n Decimal 29 33 n 0 ≤n ≤255 (1 ≤vertical number of times ≤8, 1 ≤horizontal number of times ≤8) Selects the character height using bits 0 to 2 and selects the character width using bits 4 to 7, as follows : Bit Off/On Hex Decimal 0-3 Character height selection. See Table 2 4-7 Character width selection. See Table 1 Table 1 Character Width Selection Hex Decimal Width 00 0 1 (normal) 10 16 2 (double-width) 20 32 3 30 48 4 40 64 5 50 80 6 60 96 7 70 112 8 Function Table 2 Character Height Selection Hex Decimal Height 00 0 1 (normal) 10 16 2 (double-width) 20 32 3 30 48 4 40 64 5 50 80 6 60 96 7 70 112 8 GS $ nL nH [Name] Set absolute vertical print position in page mode. [Format] ASCII GS $ nL nH Hex 1D 24 nL nH Decimal 29 36 nL nH [Range] 0 ≤nL ≤255, 0 ≤nH ≤255 [Description] * Sets the absolute vertical print starting position for buffer character data in page mode. * This command sets the absolute print position to [(nL + nH ×256) ×(vertical or horizontal motion unit)] inches. Samsung Electro-Mechanics 8-11

  • 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-11
FS q n [xL xH yL yH d1…dk]1…[xL xH yL yH d1…dk]n
[Name]
[Format]
[Range]
[Description]
Defined NV bit image.
ASCII
FS
q
n
[xL xH yL yH d1…dk]1…[xL xH yL yH d1…dk]n
Hex
1C
71
n
[xL xH yL yH d1…dk]1…[xL xH yL yH d1…dk]n
Decimal
28
113
n
[xL xH yL yH d1…dk]1…[xL xH yL yH d1…dk]n
1
n
255
0
xL
255
0
xH
3 (when 1
(xL + xH ×256)
1023
0
yL
3 (when 1
(xL + xH ×256)
288
1
d
255
k = (xL + xH ×256) ×(yL + yH ×256) ×8
Total defined data area = 2M bits (256K bytes)
Define the NV bit image specified by n.
* n specifies the number of the defined NV bit image.
* xL, xH specifies (xL + xH ×256) ×8 dots in the horizontal direction
for the NV bit image you are defining.
* yL, yH specifies (yL + yH ×256) ×8 dots in the vertical direction
for the NV bit image you are defining.
GS ! n
[Name]
[Format]
[Range]
[Description]
Select character size.
ASCII
GS
!
n
Hex
1D
21
n
Decimal
29
33
n
0
n
255
(1
vertical number of times
8, 1
horizontal number of times
8)
Selects the character height using bits 0 to 2 and selects the character width using bits 4 to 7, as
follows :
Bit
Off/On
Hex
Decimal
Function
0-3
Character height selection. See Table 2
4-7
Character width selection. See Table 1
Table 1
Character Width Selection
Table 2
Character Height Selection
Hex
Decimal
Width
Hex
Decimal
Height
00
0
1 (normal)
00
0
1 (normal)
10
16
2 (double-width)
10
16
2 (double-width)
20
32
3
20
32
3
30
48
4
30
48
4
40
64
5
40
64
5
50
80
6
50
80
6
60
96
7
60
96
7
70
112
8
70
112
8
GS $ nL nH
[Name]
[Format]
[Range]
[Description]
Set absolute vertical print position in page mode.
ASCII
GS
$
nL
nH
Hex
1D
24
nL
nH
Decimal
29
36
nL
nH
0
nL
255, 0
nH
255
* Sets the absolute vertical print starting position for
buffer character data in page mode.
* This command sets the absolute print position to
[(nL + nH ×256) ×(vertical or horizontal motion unit)] inches.