Samsung STP131 Series Operator's Manual page 21

Hide thumbs Also See for STP131 Series:
Table of Contents

Advertisement

GS ^ r t m
[Name]
Execute macro.
[Format]
ASCII
GS
Hex
1D
Decimal
29
0 < r < 255
[Range]
0 < t < 255
[Description]
m = 0, 1
Executes a macro.
r specifies the number of times to execute the macro.
t specifies the waiting time for exceuting the macro.
m specifies macro executing mode.
When the LSB of m = 0
The macro executes r times continuously at the interval specified by t.
When the LSB of m = 1:
After waiting for the period specified by t, the PAPER OUT LED
indicators blink and the printer waits for the FEED button to be
pressed. After the button is pressed, the priner executes the
macro once. The printer repeats the operation r times.
Gs f n
[Name]
Select font for Human Readable Interpreation(HRI) characters.
[Format]
ASCII
GS
Hex
1D
Decimal
29
[Range]
n = 0, 1, 48, 49
[Description]
Selects a font for the HRI characters used when printing
a bar code. n selects a font from the following table:
n
Font
0, 48
Font A (12 x 24)
1, 49
Font B (9 x 24)
GS h n
[Name]
Set bar code height.
[Format]
ASCII
GS
Hex
1D
Decimal
29
1 < n < 255
[Range]
[Description]
Set the height of the bar code.
n specifies the number of dots in the vertical direction.
^
r
t
m
5E
r
t
m
94
r
t
m
f
n
66
n
102
n
h
n
68
n
104
n
GS k m d1... dk NUL,
1
[Name]
Print bar code.
[Format]
ASCII
1
Hex
Decimal
ASCII
2
Hex
Decimal
0 < m < 6 (k and d depends on the bar code system used.)
[Range]
1
65 < m < 73 (n and d depends on the bar code system used)
2
[Description]
Selects a bar code system and prints the bar-code.
m selects a bar code system as follows:
m
Bar Code
System
0
UPC-A
1
UPC-E
2
JAN13(EAN13)
3
JAN8(EAN8)
4
CODE39
1
5
ITF
6
CODABAR
65
UPC-A
66
UPC-E
67
JAN13(EAN13)
68
JAN8(EAN8)
69
CODE39
2
70
ITF
71
CODABAR
72
CODE93
73
CODE128
41
42
GS k m n d1... dn
2
GS
k
m
d1...dk
NUL
1D
6B
m
d1...dk
00
29
107
m
d1...dk
0
GS
V
m
n d1...
dn
1D
56
m
n d1...
dn
29
86
m
n d1...
dn
Number of Characters
Remarks
11 < k < 12
48 < d < 57
11 < k < 12
48 < d < 57
12 < k < 13
48 < d < 57
7 < k < 8
48 < d < 57
1 < k
48 < d < 57, 65 < d < 90,32,
36,37,43,45,46,47
1 < k (even number)
48 < d < 57
1 < k
48 < d < 57, 65 < d < 68
36,43,45,46,47,58
11 < n < 12
48 < d < 57
11 < n < 12
48 < d < 57
12 < n < 13
48 < d < 57
7 < n < 8
48 < d < 57
48 < d < 57, 65 < d < 90,32,
1 < n < 255
36,37,43,45,46,47
d1 = dk = 42(1)
1 < n < 255 (even number)
48 < d < 57
1 < n < 255
48 < d < 57, 65 < d < 68, 36,
43,45,46,47,58
1 < n < 255
0 < d < 127
2 < n < 255
0 < d < 127

Advertisement

Table of Contents
loading

Table of Contents