Receipt Printer
User's Manual
4
5
5. Pinouts
A. Serial Connection
B. Parallel Connection
C. Power Input
D. Cash Drawer Port
PRP-058 requires DC 8.8V/3.5A power adapter.
Pin#
Signal
Pin#
Signal
1
/STB
10
/ACK
2
DATA1
11
BUSY
3
DATA2
12
GND
4
DATA3
13
SEL
5
DATA4
14
/ERR
6
DATA5
15
N/C
7
DATA6
16
N/C
8
DATA7
17
N/C
9
DATA8
18~25
GND
Pin#
Signal
Description
1.
N/C
2.
Drive Signal
Cash drawer drive signal (output)
3.
Drive Signal
Cash drawer drive signal (output)
4.
DC +12V
Output power
5.
DC +12V
Output power
6.
N/C
PRP-058 Series
Printer Dsub-25pin POS Dsub-25pin POS Dsub-9pin
Socket Serial Socket Serial Socket
GND 7
RTS 4
TXD 2
RXD 3
6 DSR 6
20 DTR 20
7 GND 7
5 CTS 5
8 DCD 8
3 RXD 3
2
TXD 2
6 DSR
4 DTR
5 GND
8 CTS
1 DCD
2 RXD
3 TXD
6. Command Set
No.
Command
Hex Code
Function Description
1
LF
0A
Prints out buffer and advances one line
2
ESC J n
1B 4A n 18<=n<=FF Prints out buffer and advances n lines
3
ESC 2
1B 32
Sets line space to 1/6 inch or 30 dots
4
ESC 3 n
1B 33 n 0B<=n<=FF Sets line space to n dots, n=30 default
5
ESC ! n
1B 21 n
Sets font size, n=00 default
n=00, 10, 20, 30
n=10 double height n=20 double width
n=30 double height and double width
(This command gets overridden by ESC DC4
command.)
6
ESC SO
1B 0E
Sets double width printing for all characters
subsequent to the command in a line (This
command gets overridden by LF, CR, or ESC
DC4 command.)
7
ESC DC4 1B 14
Resets to default font size
8
ESC c 5 n 1B 63 35 n
Enables Feed & Online buttons n=00
00<=n<=01
Disables Feed & Online buttons n=01
(Default n=00)
(The button get enabled automatically when
paper roll being loaded.)
9
ESC * m
1B 2A m n1 n2
Sets bit image mode
n1 n2 d1
d1...dx
...dx
m=01, 21
m=01 8 dots double density
00<=n1<=FF
m=21 24 dots double density
n2=00, 01
n1+256*n2 total number of horizontal dots
00<=d<=FF
d=1 to print the dot
d=0 not to print the dot
x denotes the data number
x=n1+256*n2 when m=01
x=(n1+256*n2)*3 when m=21
10 ESC @
1B 40
Initializes printer and sets all defaults
11 ESC P m
1B 70 m n1 n2
Generate drawer kick-out drive pulse
n1 n2
m=00
The defined pules:
01<n1<=n2
On time is n1 x 2 ms
n1<=n2<FF
Off time is n2 x 2 ms
Note: Commands detailed information can be referred from the bundled
diskette.
I
O
OFF ON
+
-
8.8V/3.5A
1. Unpacking
2. Specifications
3. Indicators and Connections
4. Self Test of the Printer
5. Pinouts
6. Command Set
................................................................................... 1
A. Standard Package.................................................................. 1
B. Models.................................................................................... 1
............................................................................
1
.....................................................
2
A. Front View of the Printer......................................................... 2
B. Rear View of the Printer.......................................................... 2
C. Loading Paper Roll................................................................. 3
............................................................... 3
........................................................................................ 4
A. Serial Connection................................................................... 4
B. Parallel Connection................................................................ 4
C. Power Input............................................................................ 4
D. Cash Drawer Port................................................................... 4
............................................................................
5
Contents