Samsung SRP-350 Printer User Manual


 
40
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
41
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.
GS * x y d1…d(x ×y ×8)
[Name]
[Format]
[Range]
[Description]
Define downloaded bit image.
ASCII GS *
x y d1…d(x ×y ×8)
Hex 1D 2A x y d1…d(x ×y ×8)
Decimal 29 42 x y d1…d(x ×y ×8)
1 x 255, 1 y 48
x x y 1536, 0 d 255
Defines a downloaded bit image using the dots specified by x and y.
* x indicates the number of dots in the horizontal direction.
* y indicates the number of dots in the vertical direction.
GS / m
[Name]
[Format]
[Range]
[Description]
Print downloaded bit image.
ASCII GS / m
Hex 1D 2F m
Decimal 29 47 m
0 m 3, 48 m 51
Prints a downloaded bit image using the mode specified by m.
m selects a mode from the table below :
m Mode
Vertical Dot Density (DIP) Horizontal Dot Density (DIP)
0, 48 Normal 180 180
1, 49 Double-width 180 90
2, 50 Double-height 90 180
3, 51 Quadruple 90 90
GS :
[Name]
[Format]
[Description]
Start/End macro definition.
ASCII GS :
Hex 1D 3A
Decimal 29 58
Starts or ends macro definition.