Samsung STP131 Series Operator's Manual page 20

Hide thumbs Also See for STP131 Series:
Table of Contents

Advertisement

GS H n
[Name]
Select printing position of HRI characters.
[Format]
ASCII
ESC
H
Hex
1B
48
Decimal
27
72
[Description]
Selects the printing position of HRI characters when printing a bar code.
n selects the printing position as follows:
n
Printing postion
0, 48
Not printed.
1, 49
Above bar code.
2, 50
Below bar code.
3, 51
Both above and below the bar code.
HRI indicates Human Readable Interpreatiion.
GS I n
[Name]
Transmit printer ID.
[Format]
ASCII
GS
I
Hex
1D
49
Decimal
29
73
1 < n < 3, 49 < n < 51
[Range]
[Description]
Transmits the printer ID specified by n as follows:
n
Printer ID
Specification
1, 49
Printer mode ID
STP130S/STP130P
2, 50
Type ID
3, 51
ROM version ID
Depends on ROM version
GS L nL nH
[Name]
Set left margin.
[Format]
ASCII
GS
L
Hex
1D
4C
Decimal
29
76
1 < nL < 255
[Range]
0 < nH < 255
[Description]
Set the left margin using nL and nH.
The left margin is set to [(nL + nH x 256) x horizontal motion unit)]
inches.
Left margin
n
n
n
n
n
n
ID (hexadecimal)
30
02
10
nL
nH
nL
nH
nL
nH
Printable area
Printing area width
GS P x y
[Name]
Set horizontal and vertical motion units.
[Format]
ASCII
Hex
Decimal
1 < x < 255
[Range]
0 < y < 255
[Description]
Sets the horizontal and vertical motion units to approximately 25.4/x mm
{1/x inch and} and approximately 25.4/y mm {1/y inches}, respectively.
When x and y are set to 0, the default setting of each value is used
GS V m,
GS V m n
1
2
[Name]
Select cut mode and cut paper.
[Format]
ASCII
1
Hex
Decimal
ASCII
2
Hex
Decimal
[Range]
m = 1, 49
1
m = 66, 0 < n < 255
2
[Description]
Selects a mode for cutting paper and exectes paper cutting.
The value of m selects the mode as follows:
m
0, 1, 49
66
GS W nL nH
[Name]
Set printing area width.
[Format]
ASCII
Hex
Decimal
0 < nL < 255
[Range]
0 < nH < 255
[Description]
Set the printing area width to the area specified by nL and nH.
The printing area width is set to [(nL + nH x 256) x horizontal motion unit)]
inches.
Left margin
39
40
GS
P
x
y
1D
50
x
y
29
80
x
y
GS
V
m
1D
56
m
29
86
m
GS
V
m
n
1D
56
m
n
29
86
m
n
Print mode
Partial cut (one point center uncut)
Feeds paper (cutting position + [n x )vertical motion unit)]), and
cuts the paper partially (one point center uncut).
GS
W
nL
nH
1D
57
nL
nH
29
87
nL
nH
Printable area
Printing area width

Advertisement

Table of Contents
loading

Table of Contents