70
<Function 112>
GS ( L pL pH m fn a bx by c xL xH yL yH d1...dk
(fn=112)
[Format]
[Range]
[Description]
[Notes]
ASCII
GS
(
L
pL pH m fn a bx by c xL xH yL yH d1...dk
Hex
1D
28 4C
pL pH m fn a bx by c xL xH yL yH d1...dk
Decimal
29
40 76
pL pH m fn a bx by c xL xH yL yH d1...dk
▪
GS ( L
parameter
11
≤
(pL + pH x 256)
≤
65535 (0
≤
pL
≤
255, 0
≤
pH
≤
255)
▪
GS 8 L
parameter
11
≤
(p1 + p2 x 256 + p3 x 65535 + p4 x 16777216)
≤
4294967295
( 0
≤
p1
≤
255, 0
≤
p2
≤
255, 0
≤
p3
≤
255, 0
≤
p4
≤
255 )
▪
Common parameter for
GS 8 L
/
GS ( L
m=48, fn=112, a=48
bx=1, 2
by=1, 2
c=49 (when the monochrome paper is selected)
c=50 (when the two-color paper is selected)
- When single-color paper is specified :
1
≤
(yL + yH x 256)
≤
1662 (when by = 1)
1
≤
(yL + yH x 256)
≤
831 (when by = 2)
- When two-color paper is specified :
1
≤
(yL + yH x 256)
≤
831 (when by = 1)
1
≤
(yL + yH x 256)
≤
415 (when by = 2)
0
≤
d
≤
255
k = ( int ( ( xL + xH x 256 ) + 7 ) / 8 ) x ( yL + yH x 256 )
▪
Stores the raster graphics data, enlarged by bx and by in the horizontal
and vertical directions to the print buffer.
- xL, xH specifies the raster graphics data in the horizontal direction
as (xL + xH x 256) dots.
- xL, xH specifies the raster graphics data in the vertical direction to
(yL + yH x 256) dots.
- c specifies the color of the defined data.
c Printing
color
49 Color
1
50 Color
2
- Color 1 means black (high level of energy) in the specified tow-color
thermal paper.
- Color 2 means red (low level of energy) in the specified tow-color
thermal paper.
▪
In standard mode, each color can be defined only once.
71
GS ( M pL pH fn m
[Name]
[Description]
Customize printer.
▪
Protects or recovers values or data set or defined in the active area by commands.
fn Function
No. Descriptions
1, 49
Function 1
Copies the settings stored in the active area
to the storage area (save settings).
2, 50
Function 2
Copies the settings stored in the storage area
to the storage area (load settings).
3, 51
Function 3
Enables or disables automatic loading of the
settings upon initialization.
- Active area : Volatile memory (RAM)
- Storage area : Hon-volatile memory (Flash ROM)
▪
List of commands
Setting value
Command
Status
ESC c 3, GS a
Defined data
GS :
Character
Kind of character
ESC M, ESC R, ESC t
style
ESC !, ESC -, ESC E, ESC G, ESC V, ESC {, GS !,
GS B, GS b, GS ( N
etc
ESC SP, ESC 2, ESC 3
Bar code
GS H, GS f, GS h, GS w
2-dimension
code
<Function 065> through <Function 070> of
GS ( k
Print position
ESC D, ESC T, ESC a, GS L, GS W
etc
ESC c 4, ESC c 5, GS ( D, GS P
<Function 1>
GS ( M pL pH fn m
(fn=1, 49)
[Format]
[Range]
[Description]
[Notes]
ASCII GS
(
M
pL
pH
fn
m
Hex
1D 28 4D pL pH fn m
Decimal 29 40 77 pL pH fn m
(pL + pH x 256) = 2 (pL=2, pH=0)
fn=1, 49
m=1, 49
▪
Copies the setting stored in the active area to the mth storage area.
▪
Frequent write command executions by this command may damage the
NV memory. Therefore, it is recommended to write to the NV memory no
more than 10 times a day.
▪
While processing this command, the printer is BUSY while writing data to
the NV user memory and stops receiving data. Therefore it is prohibited to
transmit data including the real-time commands during the execution of
this command.
Summary of Contents for 2 COLOR THERMAL PRINTER SRP-370
Page 11: ...20 Page 1 Katakana 21 Page 2 PC850 Multilingual ...
Page 12: ...22 Page 3 PC860 Portuguese 23 Page 4 PC 863 Canadian French ...
Page 13: ...24 Page 5 PC 865 Nordic 25 Page 16 WPC1252 Latin 1 ...
Page 14: ...26 Page 17 PC866 Cyrillic 2 27 Page 18 PC852 Latin2 ...
Page 15: ...28 Page 19 PC858 Euro 29 Page 22 PC864 Arabic ...
Page 16: ...30 Page 23 Thai character code 42 31 Page 24 WPC1253 Greek ...
Page 17: ...32 Page 28 WPC1251 Cyrillic 33 Page 29 PC737 Greek ...
Page 18: ...34 Page 255 Space Page 35 International Character Set ...