Samsung STP-103P Printer User Manual


 
50
GS v 0 xL xH yL yH dl…dk
[Name] Print raster bit image
[Format] ASCII GS v 0 m xL xH yL yH dl…dk
Hex 1D 76 30 m xL xH yL yH dl…dk
Decimal 29 118 48 m xL xH yL yH dl…dk
[Range] 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)
[Description] Selects raster bit-image mode.
The value of m selects the mode, as follows :
m Mode Vertical dot density Horizontal dot density
0,48 Normal 200dpi 200dpi
1,49 Double-width 200dpi 100dpi
2,50 Double-height 100dpi 200dpi
3,51 Quadruple 100dpi 100dpi
xL, xH, selects the number of data bits(xL+xH×256)in the
horizontal direction for the bit image.
yL, yH, selects 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 n
Hex 1D 77 n
Decimal 29 119 n
[Range] 2 n 6
[Description] Set the horizontal size of the bar code.
n specifies the bar code width as follows:
Bi-level Bar Code
N
Module width (mm) 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, CODE93, CODE128
Bi-level bar codes are as follows: CODE39, ITF, CODABAR
[Default] n = 3
51
APPENDIX A : CONNECTORS
Serial Interface Connector (STP-103S)
PRINTER HOST
20 TXD (O) --------------------- 2 RXD (I)
19 RXD (I) --------------------- 3 TXD (O)
21 CTS (I) --------------------- 7 RTS (O)
22~25 GND --------------------- 5 GND
18 RTS (O) --------------------- 8 CTS (I)
FGND 4 DTR (O)
25 PINE MALE 6 DSR (I)
FGND
9 PINE FEMALE
Parallel Interface Connector (STP-103P)
PRINTER HOST
1 /STROBE (I/O) 1 /STROBE (I/O)
2 DATA0 (I/O) 2 DATA0 (I/O)
3 DATA1 (I/O) 3 DATA1 (I/O)
4 DATA2 (I/O) 4 DATA2 (I/O)
5 DATA3 (I/O) 5 DATA3 (I/O)
6 DATA4 (I/O) 6 DATA4 (I/O)
7 DATA5 (I/O) 7 DATA5 (I/O)
8 DATA6 (I/O) 8 DATA6 (I/O)
9 DATA7 (I/O) 9 DATA7 (I/O)
10 /ACK (I) 10 /ACK (I)
11 BUSY (I) 11 BUSY (I)
12 PE (I) 12 PE (I)
13 SLCT 13 SLCT
15 /ERROR (I) 15 /ERROR (I)
16~21 N.C 16 /INIT (O)
22~25 GND 18~25 GND
FGND FGND
25 PINE MALE 25 PINE MALE
CONNECT