Samsung SRP-350 Operator's Manual page 25

Samsung receipt printer operator's manual
Hide thumbs Also See for SRP-350:
Table of Contents

Advertisement

① GS k m d1...dk NUL , ② GS k m n d1...dn
[Name]
Print bar code.
[Format]
① ASCII
GS
k
Hex
1D
6B
Decimal
29
107
② ASCII
GS
k
Hex
1D
6B
Decimal
29
107
[Range]
① 0 ≤m ≤6 (k and d depends on the bar code system used.)
② 65 ≤m ≤73 (n and d depends on the bar code system used.)
[Description]
Selects a bar code system and prints the bar-code.
m selects a bar ode system as follows :
m
Bar Code System Number of Characters
11 ≤k ≤12
0
UPC-A
11 ≤k ≤12
1
UPC-E
2
JAN13(EAN13)
12 ≤k ≤13
7 ≤k ≤8
3
JAN8(EAN8)
4
CODE 39
1 ≤k
1 ≤k (even number) 48 ≤d ≤57
5
ITF
1 ≤k
6
CODABAR
65 UPC-A
11 ≤n ≤12
11 ≤n ≤12
66 UPC-E
12 ≤n ≤13
67 JAN13(EAN13)
68 JAN8(EAN8)
7 ≤n ≤8
1 ≤n ≤255
69 CODE 39
1 ≤n ≤255 (even
70 ITF
number)
1 ≤n ≤255
71 CODABAR
1 ≤ n ≤255
72 CODE 93
1 ≤ n ≤255
73 CODE 128
GS r n
[Name]
Transmit status.
[Format]
ASCII
GS
V
Hex
1D
72
Decimal
29
114
[Range]
n = 1, 2, 49, 50
[Description]
Transmits the status specified by n as follows.
m
d1...dk
NUL
m
d1...dk
00
m
d1...dk
0
m
n
d1...dn
m
n
d1...dn
m
n
d1...dn
Remarks
48 ≤d ≤57
48 ≤d ≤57
48 ≤d ≤57
48 ≤d ≤57
48 ≤d ≤57,
65 ≤d ≤90, 32, 36, 37, 43, 45, 46, 47
48 ≤d ≤57,
65 ≤d ≤68, 36, 43, 45, 46, 47 ,58
48 ≤d ≤57
48 ≤d ≤57
48 ≤d ≤57
48 ≤d ≤57
48 ≤d ≤57,
65 ≤d ≤90, 32, 36, 37, 43, 45, 46, 47
d1 = dk = 42(1)
48 ≤d ≤57
48 ≤d ≤57,
65 ≤d ≤68, 36, 43, 45, 46, 47 ,58
0 ≤d ≤127
0 ≤d ≤127
n
n
n
48
GS v 0 m xL xH yL yH d1...dk
[Name]
Print raster bit image.
[Format]
ASCII
GS
V
Hex
1D
76
Decimal
29
118
0 ≤m ≤3, 48 ≤m ≤51
[Range]
0 ≤xL ≤255
0 ≤xH ≤255
0 ≤yL ≤255
0 ≤d ≤255
k = (xL + xH ×256) ×(yL + yH ×256) (k ≠0)
[Description]
Selects Raster bit-image mode. The value of m selects the mode, as follows :
m
Mode
Vertical Dot Density (DIP)
0, 48
Normal
180 DPI
1, 49
Double-width
180 DPI
2, 50
Double-height
90 DPI
3, 51
Quadruple
90 DPI
* xL, xH, select the number of data bits (xL + xH ×256) in the
horizontal direction for the bit image.
* yL, yH, select the number of data bits (yL + yH ×256) in the
vertical direction for the bit image.
GS w n
[Name]
Set bar code width.
[Format]
ASCII
GS
w
Hex
1D
77
Decimal
29
119
2 ≤n ≤6
[Range]
[Description]
Set the horizontal size of the bar code.
n specifies the bar code width as follows :
Module width for
n
multi-level bar code
Thin element width (mm)
2
0.282
3
0.423
4
0.564
5
0.706
6
0.847
* Multi-level bar codes are as follows :
UPC-A, UPC-E, JAN13(EAN13), JAN8(EAN8), CODE93, CODE128.
* Binary-level bar codes are as follows :
CODE39, ITF, CODABAR.
0
m
xL
xH
yL
yH
d1...dk
30
m
xL
xH
yL
yH
d1...dk
48
m
xL
xH
yL
yH
d1...dk
Horizontal Dot Density (DIP)
180 DPI
90 DPI
180 DPI
90 DPI
n
n
n
Binary-level bar code
Thick element width (mm)
0.282
0.706
0.423
1.129
0.564
1.411
0.706
1.834
0.847
2.258
49

Advertisement

Table of Contents
loading

Table of Contents