Samsung SRP-370 User Manual page 37

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

Advertisement

<Function 2> GS ( M pL pH fn m (fn=2, 50)
[Format]
ASCII
GS
(
Hex
1D
28
Decimal
29
40
[Range]
(pL + pH x 256) = 2 (pL=2, pH=0)
fn=2, 50
m=0, 1, 48, 49
[Description]
▪ When (m=0,48), initializes all settings in the active area, as described in
these specifications.
▪ When (m=1,49), copies the setting stored in the mth storage area to the
active area. If no data in the storage area is protected, all settings in the
active area are initialized as described in these specifications.
<Function 3> GS ( M pL pH fn m (fn=3, 51)
[Format]
ASCII
GS
(
Hex
1D
28
Decimal
29
40
[Range]
(pL + pH x 256) = 2 (pL=2, pH=0)
fn=3, 51
m=0, 1, 48, 49
[Description]
▪ When m=0,48, does not load data in the storage area to the active area
upon initialization.
▪ When m=1,49, loads data in the storage area to the active area upon
initialization.
GS ( N pL pH fn [parameter]
[Name]
Select character style.
[Description]
▪ Executes commands for the character style as specified by the function
code fn.
fn
Format
48
GS ( N pL pH fn m
<Function 48> GS ( N pL pH fn m (fn=48)
[Format]
ASCII
GS
(
Hex
1D
28
Decimal
29
40
[Range]
(pL + pH x 256) = 2 (pL=2, pH=0)
fn=48
m=49 (when the monochrome paper is selected)
m=49,50 (when the two-color paper is selected)
[Default]
m=49
[Description]
▪ Prints characters in the color specified by m.
m
49
50
- Color 1 means black (high level of energy) in the specified two-color
thermal paper.
- Color 2 means red (low level of energy) in the specified two-color
thermal paper.
M
pL
pH
fn
m
4D
pL
pH
fn
m
77
pL
pH
fn
m
M
pL
pH
fn
m
4D
pL
pH
fn
m
77
pL
pH
fn
m
Function No.
Description
Function 48
Selects character color.
N
pL
pH
fn
m
4E
pL
pH
fn
m
78
pL
pH
fn
m
Color
Color 1
Color 2
72
GS * x y [d1...d(x x y x 8)]
[Name]
Define downloaded bit image.
[Format]
ASCII
GS
Hex
1D
Decimal
29
[Range]
1 ≤ x ≤ 255
1 ≤ y ≤ 48 (where x x y ≤ 1536)
0 ≤ d ≤ 255
[Description]
▪ Defines the downloaded bit image using the number of dots specified by x
and y.
- x specifies the number of dots in the horizontal direction.
- y specifies the number of dots in the vertical direction.
▪ When the memory switch 8-7 is On, the user-defined character and the
downloaded bit image cannot be defined simultaneously. The downloaded
bit image data is cleared with this command.
GS / m
[Name]
Print downloaded bit image.
[Format]
ASCII
Hex
Decimal
[Range]
0 ≤ m ≤ 3, 48 ≤ m ≤ 51
[Description]
▪ Prints the defined downloaded bit image in m mode.
- For SRP-370
m
Mode
0, 48
Normal
1, 49
Double-width
2, 50
Double-height
3, 51
Quadruple
- For SRP-372
m
Mode
0, 48
Normal
1, 49
Double-width
2, 50
Double-height
3, 51
Quadruple
GS :
[Name]
Start/end macro definition.
[Format]
ASCII
Hex
Decimal
[Description]
▪ Starts or ends macro definition.
- The contents of the macro can be defined up to 2048 bytes.
*
x
y
[d1...d(x x y x 8)]
2A
x
y
[d1...d(x x y x 8)]
42
x
y
[d1...d(x x y x 8)]
GS
/
m
1D
2F
m
29
47
m
Vertical dot density
Horizontal dot density
180 dpi
180 dpi
180 dpi
90 dpi
90 dpi
180 dpi
90 dpi
90 dpi
Vertical dot density
Horizontal dot density
203 dpi
203 dpi
203 dpi
203/2 dpi
203/2 dpi
203 dpi
203/2 dpi
203/2 dpi
dpi : dots per 25.4mm {1"}
GS
:
1D
3A
29
58
73

Advertisement

Table of Contents
loading

This manual is also suitable for:

Srp-372Bixolon srp-370Bixolon srp-372

Table of Contents