USER'S MANUAL
USER'S MANUAL
GS
( A pL pH n m
<Function 1> GS ( E pL pH fn d1 d2 (fn=1)
Execute test print.
GS ( A pL p H n m
Hex 1 D 28 41 p L 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).
ASCII
ASCII
GS ( E pL p H fn d1 d 2
Hex 1D 28 45 pL pH fn d1 d2
Decimal 29 40 69 pL pH fn d1 d2
(pL + pH x 256) = 3 (pL=3, pH=0)
fn=1
d1=73, d2=78
Enter the user setting mode and notifies that the mode has changed.
[Name]
[Format]
[
]
Range
[Description]
[Format]
[
]
Range
[Description]
n Paper type
0, 48
1, 49 Paper roll
2, 50
m Test pattern
1, 49 Hexadecimal dump
2, 50 Self Test Printing
3, 51 Self Test rolling pattern
n specifies the paper type as listed below to be tested :
m specifies a test pattern as listed below :
If this command is processed while a macro is being defined, the printer
cancels macro definition and starts processing this command. At that
time, the macro becomes undefined.
After processing this command, the printer performs a software reset.
[Notes]
Header 37H 55 1byte
Flag 20H 32 1byte
NUL 00H 0 1 byte
Hexadecimal Decimal Number of Data
The following commands are enabled in the user setting mode.
<Function 2> through <Function 12> of GS ( E, GS I.
<Function 2> GS ( E pL pH fn d1 d2 d3 (fn=2)
<Function 3> GS ( E pL pH fn [a1 b18...b11]...[ak bk8...bk1] (fn=3)
ASCII
GS ( E pL p H fn d1 d 2 d3
Hex 1D 28 45 pL pH fn d1 d2 d3
Decimal 29 40 69 pL pH fn d1 d2 d3
(pL + pH x 256) = 4 (pL=4, pH=0)
fn=2
d1=79, d2=85,d3=84
Ends the user setting mode and performs a software reset.
Therefore, the printer clears the data received in print buffers,
and resets all settings (user-defined character, downloaded
bit images, macros, and the print mode) to the mode that was
in effect at powering on.
This function code (fn=2) is enabled only in the user setting mode.
ASCII
GS (
E pL pH fn [a1 b18...b11]... [ak bk8...bk1]
Hex
1D 28 45 pL pH fn [a1 b18...b11]... [ak bk8...bk1]
Decimal 29 40 69 pL pH fn
[a1
b18...b11]...
[ak
bk8...bk1]
10
(pL + pH x 256) 65535
fn=3
a= 5
b=48, 49,50
All switches are set to Off (b=48).
Change the memory switch specified by a to the values
specified by b.
- When b=48, the applicable bit is turned to Off.
- When b=49, the applicable bit is turned to On.
- When b=50, the applicable bit is not changed.
When a=5 the memory switch 5 is set as follows :
Set power off time (1~90 minute.) *When memory switch setting
value 0, not work power off
[Format]
[
]
Range
[Description]
[Format]
[
]
Range
[Default]
[Description]