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
A. Physical
Characteristics......................................................... 2
B. Printer
Font.............................................................................
2
C. Print
Paper..............................................................................
2
..................................................... 2
A. Front View of the
Printer......................................................... 2
B. Rear View of the
Printer.......................................................... 3
C. Loading Paper
Roll................................................................. 3
............................................................... 4
........................................................................................
4
A. Serial
Connection...................................................................
4
B. Parallel
Connection................................................................ 5
C. Power
Input............................................................................
5
D. Cash Drawer
Port................................................................... 5
............................................................................ 6
Receipt Printer
User's Manual
4
5
6. Receipt Printer
Command 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<=FFSets line
space to n dots, n=30 default
5
ESC ! n
1B 21 n Sets fond
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
default Disables Feed & Online buttons
n=01 (The buttons get enabled
automatically
when paper roll being loaded.)
9
ESC * m 1B 2A m n1 n2
Sets dot matrix
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
1B 70 m n1 n2
Controls cash drawer
m=00 01<n1<=n2
n1 is the time for attracting micro-switch
n1<=n2<FF
n2 is the time for starting next attractive
command, attractive time interval=n1*2ms,
response time interval=n2*2ms
5. Receipt Printer Pinouts
A. Serial Connection
B. Parallel Connection of the Receipt
Printer
C. Power Input
D. Cash Drawer Port
PRP-058 requires DC 7.5V/2.0A power.
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
Contents
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
I
O
+
-
OFF ON
7.5V
2.0A