Samsung SRP-370 User Manual page 30

Thermal receipt printer
Hide thumbs Also See for SRP-370:
Table of Contents

Advertisement

GS ( A pL pH n m
[Name]
Execute test print.
[Format]
ASCII
GS
(
Hex
1D
28
Decimal
29
40
[Range]
(pL + pH x 256) = 2 (pL=2, pH=0)
0 ≤ n ≤ 2, 48 ≤ n ≤ 50
1 ≤ m ≤ 3, 49 ≤ m ≤ 51
[Description]
▪ 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
Paper roll
2, 50
- 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
[Notes]
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]
Enable/disable real-time command.
[Format]
ASCII
GS
(
Hex
1D
28
Decimal
29
40
[Range]
3 ≤ (pL + pH x 256) ≤ 65535
m=20
a=1, 2
[Default]
b=0, 1, 48, 49
a
Type(s) of real-time commands
1
DLE DC4 fn m t (fn=1) : Generate pulse in real-time
2
DLE DC4 fn a b (fn=2) : Execute power-off sequence
[Description]
▪ 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.
[Notes]
▪ 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.
A
pL
pH
n
41
pL
pH
n
65
pL
pH
n
D
pL
pH
m
[a1 b1]...[ak bk]
44
pL
pH
m
[a1 b1]...[ak bk]
68
pL
pH
m
[a1 b1]...[ak bk]
Default
Enable (b=1)
disable (b=0)
58
GS ( E pL pH fn [parameter]
[Name]
m
[Description]
m
m
fn
Format
1
GS ( E pL pH fn d1 d2
2
GS ( E pL pH fn d1 d2 d3
3
GS ( E pL pH fn [a1 b18...b11]...
[ak bk8...bk1]
4
GS ( E pL pH fn a
11
GS ( E pL pH fn a d1...dk
12
GS ( E pL pH fn a
[Notes]
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.
No.
Function
1
Changes into the user setting mode.
2
Ends the user setting mode session.
(Performs a soft reset.)
3
Sets value(s) for the memory switch.
4
Transmits the settings of the memory
switch to the host.
11
Sets the communication conditions for
the serial interface.
12
Transmits the communication
conditions for the serial interface.
▪ 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.
59

Advertisement

Table of Contents
loading

This manual is also suitable for:

Srp-372Bixolon srp-370Bixolon srp-372

Table of Contents