37 38
APPENDIX A: CONNECTORS
SERIAL INTERFACE CONNECTOR (STP100S)
PRINTER
25 PIN MALE
2
3
6
7
20
5
4
TXD(O)
RXD(I)
DSR(I)
GND
DTR(O)
CTS(I)
RTS(O)
PARALLEL INTERFACE CONNECTOR (STP100P)
PRINTER
25 PIN FEMALE
1
2
3
4
5
6
7
8
9
10
11
12
15
16
13
18
/STROBE(I/O)
DATA0(I/O)
DATA1(I/O)
DATA2(I/O)
DATA3(I/O)
DATA4(I/O)
DATA5(I/O)
DATA6(I/O)
DATA7(I/O)
/ACK(I)
BUSY(I)
PE(I)
/ERROR(I)
/INIT(O)
SLCT
GROUND
HOST
25 PIN FEMALE
1
2
3
4
5
6
7
8
9
10
11
12
15
16
13
18
/STROBE(I/O)
DATA0(I/O)
DATA1(I/O)
DATA2(I/O)
DATA3(I/O)
DATA4(I/O)
DATA5(I/O)
DATA6(I/O)
DATA7(I/O)
/ACK(I)
BUSY(I)
PE(I)
/ERROR(I)
/INIT(O)
SLCT
GROUND
HOST
9 PIN MALE
2
3
4
5
6
7
8
RXD(I)
TXD(O)
DTR(O)
GND
DSR(I)
RTS(O)
CTS(I)
0, 48
1, 49
2, 50
3, 51
m
Normal
Double-width
Double-height
Quadruple
Mode
180
180
90
90
Vertical Dot Density(DPI)
180
90
180
90
Horizontal Dot Density(DPI)
GS ! n
[Name]
[Format]
[Range]
[Description]
Select character size.
ASCII
Hex
Decimal
0
<
n
<
255
(1
<
vertical number of times
<
8, 1
<
horizontal number of times
<
8)
Selects thecharacter height using bits 0 to 2 and selects the character width
using bits 4 to 7, as following:
GS
1D
29
!
21
33
n
n
n
0-1
4-5
Bit
Character height selection. See Table 2
Character width selection. See Table 1
Off/On
n
Hex Decimal Function
GS $ nL nH
[Name]
[Format]
[Range]
[Description]
Set absolute vertical print position in page mode
ASCII
Hex
Decimal
0
<
nL
<
255, 0
<
nH
<
255
Sets the absolute vertical print starting position for buffer charcter data
in page mode.
This command sets the absolute print position to [(nL + nH x 256) x
(vertical or horizontal motion unit)] inches.
GS
1D
29
$
24
36
nL nH
nL nH
nL nH
00
10
Hex
0
16
Decimal
Table 1
Character Width Selection
1(normal)
2(double-width)
Width
00
01
Hex
0
1
Decimal
Table 2
Character Height Selection
1(normal)
2(double-width)
Width
GS B n
[Name]
[Format]
[Range]
[Description]
Turn white/black reverse printing mode on/off.
ASCII
Hex
Decimal
0
<
n
<
255
Turn on or off white/black reverse printing mode.
When the LSB is 0, white/black reverse printing mode is turned off.
When the LSB is 1, white/black reverse printing mode is turned on.
GS
1D
29
B
42
66
n
n
n
GS / m
[Name]
[Format]
[Range]
[Description]
Print downloaded bit image.
ASCII
Hex
Decimal
0
<
m
<
3, 48
<
m
<
51
Prints a downloaded bit image using the mode specified by m.
m selects a mode from the table below:
GS
1D
29
/
2F
47
m
m
m
GS :
[Name]
[Format]
[Description]
Start/End macro definition.
ASCII
Hex
Decimal
Starts or ends macro definition.
GS
1D
29
:
3A
58