Samsung SRP-370 User Manual page 36

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

Advertisement

<Function 112> GS ( L pL pH m fn a bx by c xL xH yL yH d1...dk (fn=112)
[Format]
ASCII
GS
(
L
Hex
1D
28
4C
Decimal
29
40
76
[Range]
▪ GS ( L parameter
11 ≤ (pL + pH x 256) ≤ 65535 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 255)
▪ GS 8 L parameter
11 ≤ (p1 + p2 x 256 + p3 x 65535 + p4 x 16777216) ≤ 4294967295
( 0 ≤ p1 ≤ 255, 0 ≤ p2 ≤ 255, 0 ≤ p3 ≤ 255, 0 ≤ p4 ≤ 255 )
▪ Common parameter for GS 8 L / GS ( L
m=48, fn=112, a=48
bx=1, 2
by=1, 2
c=49 (when the monochrome paper is selected)
c=50 (when the two-color paper is selected)
- When single-color paper is specified :
1 ≤ (yL + yH x 256) ≤ 1662 (when by = 1)
1 ≤ (yL + yH x 256) ≤ 831 (when by = 2)
- When two-color paper is specified :
1 ≤ (yL + yH x 256) ≤ 831 (when by = 1)
1 ≤ (yL + yH x 256) ≤ 415 (when by = 2)
0 ≤ d ≤ 255
k = ( int ( ( xL + xH x 256 ) + 7 ) / 8 ) x ( yL + yH x 256 )
[Description]
▪ Stores the raster graphics data, enlarged by bx and by in the horizontal
and vertical directions to the print buffer.
- xL, xH specifies the raster graphics data in the horizontal direction
as (xL + xH x 256) dots.
- xL, xH specifies the raster graphics data in the vertical direction to
(yL + yH x 256) dots.
- c specifies the color of the defined data.
c
49
50
- Color 1 means black (high level of energy) in the specified tow-color
thermal paper.
- Color 2 means red (low level of energy) in the specified tow-color
thermal paper.
[Notes]
▪ In standard mode, each color can be defined only once.
pL pH m fn a bx by c xL xH yL yH d1...dk
pL pH m fn a bx by c xL xH yL yH d1...dk
pL pH m fn a bx by c xL xH yL yH d1...dk
Printing color
Color 1
Color 2
70
GS ( M pL pH fn m
[Name]
Customize printer.
[Description]
▪ Protects or recovers values or data set or defined in the active area by commands.
fn
Function No.
1, 49
Function 1
2, 50
Function 2
3, 51
Function 3
- Active area : Volatile memory (RAM)
- Storage area : Hon-volatile memory (Flash ROM)
▪ List of commands
Setting value
Command
Status
ESC c 3, GS a
Defined data
GS :
Character
Kind of character
ESC M, ESC R, ESC t
style
ESC !, ESC -, ESC E, ESC G, ESC V, ESC {, GS !,
GS B, GS b, GS ( N
etc
ESC SP, ESC 2, ESC 3
Bar code
GS H, GS f, GS h, GS w
2-dimension
<Function 065> through <Function 070> of GS ( k
code
Print position
ESC D, ESC T, ESC a, GS L, GS W
etc
ESC c 4, ESC c 5, GS ( D, GS P
<Function 1> GS ( M pL pH fn m (fn=1, 49)
[Format]
ASCII
GS
(
Hex
1D
28
Decimal
29
40
[Range]
(pL + pH x 256) = 2 (pL=2, pH=0)
fn=1, 49
m=1, 49
[Description]
▪ Copies the setting stored in the active area to the mth storage area.
[Notes]
▪ Frequent write command executions by this command may damage the
NV memory. Therefore, it is recommended to write to the NV memory no
more than 10 times a day.
▪ While processing this command, the printer is BUSY while writing data to
the NV user memory and stops receiving data. Therefore it is prohibited to
transmit data including the real-time commands during the execution of
this command.
Descriptions
Copies the settings stored in the active area
to the storage area (save settings).
Copies the settings stored in the storage area
to the storage area (load settings).
Enables or disables automatic loading of the
settings upon initialization.
M
pL
pH
fn
m
4D
pL
pH
fn
m
77
pL
pH
fn
m
71

Advertisement

Table of Contents
loading

This manual is also suitable for:

Srp-372Bixolon srp-370Bixolon srp-372

Table of Contents