58
GS ( A pL pH n m
[Name]
[Format]
[Range]
[Description]
[Notes]
Execute test print.
ASCII GS ( A pL pH n m
Hex 1D
28
41
pL
pH
n
m
Decimal 29 40 65 pL pH n m
(pL + pH x 256) = 2 (pL=2, pH=0)
0
≤
n
≤
2, 48
≤
n
≤
50
1
≤
m
≤
3, 49
≤
m
≤
51
▪
Executes a test print with a specified test pattern on a specified paper
type (roll paper).
- n specifies the paper type as listed below to be tested :
m Paper
type
0, 48
1, 49
2, 50
Paper roll
- m specifies a test pattern as listed below :
m Test
pattern
1, 49
Hexadecimal dump
2, 50
Self Test Printing
▪
The printer executes a hardware reset after the procedure to place the image into the non-volatile
memory. The printer clear the receive and print butters, and resets all settings (user-defined
characters, macros, and the character styles) to the mode that was in effect at power on.
GS ( D pL pH m [a1 b1]...[ak bk]
[Name]
[Format]
[Range]
[Default]
[Description]
[Notes]
Enable/disable real-time command.
ASCII
GS
(
D
pL pH m
[a1 b1]...[ak bk]
Hex
1D
28 44 pL pH m
[a1
b1]...[ak
bk]
Decimal
29 40 68 pL pH m
[a1
b1]...[ak
bk]
3
≤
(pL + pH x 256)
≤
65535
m=20
a=1, 2
b=0, 1, 48, 49
a
Type(s) of real-time commands
Default
1
DLE DC4 fn m t
(fn=1) : Generate pulse in real-time
Enable (b=1)
2
DLE DC4 fn a b
(fn=2) : Execute power-off sequence
disable (b=0)
▪
Enable or disables the following real-time commands.
a b Function
0, 48
DLE DC4 fn m t
(fn=1) : Not processed (disabled)
1
1, 49
DLE DC4 fn m t
(fn=1) : Processed (enabled)
0, 48
DLE DC4 fn a b
(fn=2) : Not processed (disabled)
2
1, 49
DLE DC4 fn a b
(fn=2) : Processed (enabled)
- pL, pH specifies (pL + pH x 256) as the number of bytes after pH (m
and [a1 b1]...[ak bk]).
- a specifies the type of real-time command.
- b specifies enable or disable.
▪
If bit image data accidentally includes a character string with this command, it is
recommended to use this command in advance to disable the real-time command.
59
GS ( E pL pH fn [parameter]
[Name]
[Description]
Customize NV memory area.
▪
Customize the NV user memory area. The table below explains the
functions available in this command. Executes commands related to the
user setting mode by specifying the function code fn.
fn Format
No.
Function
1
GS ( E pL pH fn d1 d2
1
Changes into the user setting mode.
2
GS ( E pL pH fn d1 d2 d3
2
Ends the user setting mode session.
(Performs a soft reset.)
3
GS ( E pL pH fn [a1 b18...b11]...
[ak bk8...bk1]
3
Sets value(s) for the memory switch.
4
GS ( E pL pH fn a
4
Transmits the settings of the memory
switch to the host.
11
GS ( E pL pH fn a d1...dk
11
Sets the communication conditions for
the serial interface.
12
GS ( E pL pH fn a
12
Transmits the communication
conditions for the serial interface.
[Notes]
▪
pL, pH specifies (pL + pH x 256) as the number of bytes after pH (fn and
[parameter]).
▪
The user setting mode is a special mode to change the values in the NV
user memory with this command.
▪
In Function 2, the printer performs software reset. Therefore, the printer
clears the receive and print buffers, and resets all settings (user-defined
characters, macros, and the character style) to the mode in effect at power
on.
▪
Frequent write commands by this command, may damage the NV memory.
Therefore, it is recommended to write to NV memory no more than 10 times
a day.
▪
While processing this command, the printer is BUSY while writing data to
the user NV 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 ...