BTP-M300 Programming Manual
- 33 -
This command is enabled at the beginning of a line.
[Default]
n=0
GS ( A pL pH n m
[Function]
Execute
test
print.
[Format]
ASCII
GS ( A pL pH n m
Hex 1D 28 41 pL pH n m
Decimal 29 40 65 pL pH n m
[Range]
( pL + ( pH × 256) ) = 2 ( pL = 2 , pH = 0)
0
≤
n
≤
2, 48
≤
n
≤
50
1
≤
m
≤
3, 49
≤
m
≤
51
[Notes]
• Execute test print with print method specified by n, m.
n specifies the test paper type:
n
Paper type
0, 48
Basic type (roll paper)
1, 49
2, 50
Roll paper
m specifies print content:
m
Print content
1, 49
Hexadecimal dump
2, 50
Printer internal configuration information print
3, 51
Cyclic character print
[Note]
• This command is enabled only when processed at the beginning of a line.
• The printer cuts paper when this command is finished.
• After this command is executed, the printer is initialized automatically.
• Hexadecimal dump print cannot exit automatically. Please operate according to print
prompt information.
GS ( C pL pH m fn b [c1 c2] [d1...dk]
[Function]
Edit user data in NV memory
[Notes]
• Edit data in NV memory.
• pL and pH specify the byte number of (m fn b [c1 c2] [d1...dk]) after pH.
• fn can specify the function of this command.
• c1 and c2 are index code of user data.
• [d1…dk] is the user data.
n
Print color
0, 48
Black
1, 49
Red