Samsung SRP-350 Printer User Manual


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