1.nterface connector terminal assignments and
signal functions
Pin number Signal name Signal Source
Description
2
TXD
Printer
When using XON/XOFF
handshake protocol, printer
transmits control code XON/XOFF
3
RXD
Host
Printer receives data from host
4
RTS
Printer
Indicates printer current status,
whether the printer is Busy or
Ready to receive data
7
GND
Signal ground
20
DTR
Printer
Same as RTS (pin 4)
1. Data transmission:
Parallel
2. Synchronization:
Externally supplied nStrobe signals
3. Handshaking:
nAck and Busy signals
4. Signal levels:
TTL compatible
5. Data word length:
8 bits
6. Connector (printer side):
36 pins Centronics connector
b. IEEE 1284 Bidirectional Parallel
Interface(Parallel Interface
Specifications)
b.1) Parallel Specifications
-21-
-20-
b.2) Parallel Interface Pin Assignments for
Each Mode
Pin
Mode
Source
1
/STB
Host
The computer presents the data on the
data lines, and pulses STB
2
DATA0
Host
Indicates the 1st data bit through 8th
data bit
3
DATA1
Host
4
DATA2
Host
5
DATA3
Host
6
DATA4
Host
7
DATA5
Host
8
DATA6
Host
9
DATA7
Host
10
nAck
Printer
Printer acknowledge signal which
indicates that printer has received
previous data bit
11
BUSY
Printer
Printer is busy and cannot receive
data
12
GND
Ground
13
Select
Printer
High electric potential
14
15
NC
No Connect
16
17
GND
Ground
18
Logic-H
Printer
High electric potential
19
30
GND
Ground
31
NC
No Connect
32
Nerror
Printer
Printer Error Signal
(nFault)
33
GND
Ground
34
36
NC
No Connect
-23-
-22-
3. Drawer kick-out drive signal
Output signal:
Output voltage: Approximately 24 V
Output current: 1A or less
2.2) Connectors
a. Interface Connectors
b. Power Supply Connector
Pin Number
Signal Name
c. Drawer Kick-out Connector (Modular
Connector)
Drawer Kick-out Connector Pin Assignments
Pin Number
Signal Name
Direction
Refer to Interface explain.
This connector is used to connect the printer
to an external power source.
Power Supply Connector Pin Assignments
1
+24 VDC
2
GND
3
NC
Shell
Frame GND
The pulse specified by ESC p or DLE DC4 is
output to this connector. The
host can confirm the status of the input
signal by using the DLE EOT, GS a,
or GS r commands.
1. Pin assignments: Refer to Table
2. Connector model: Printer side:
MOLEX 52065-6615 or
RJ11 telephone jack
User side:
6-position 6-contact
(RJ11 telephone jack)
1
NC
2
Frame GND
Output
3
NC
4
Drawer kick-out drive signal
Output
5
NC
6
NC
General Printer Commands
Command Lists:
-25-
-24-
Command
Code Description
Function Description
(Hex)
HT
09
Horizontal tab
LF
0A
Print and line feed
CR
0D
Print and carriage return
ESC $ nL nH
1B 24 nL nH
0 nL 255
0 nH 255
ESC & y c1 c2
1B 26 y c1 c2
y=3 32 c1 c2 126
ESC * m nL nH d1 dk 1B 2A m nL nH d1 dk
Select bit-image mode
m=0,1,32,33
0 nH 3 0 d 255
ESC
n
1B 2D n
Turn underline mode on/off
0 n 2 48 n 50
ESC 2
1B 32
Select default line spacing
ESC @
1B 40
Initialize printer
ESC D n1 nk NUL
1B 44 n1 nk 00
Set horizontal tab positions
1 n 255 0 k 32
ESC \ nL nH
1B 5C nL nH
0 nL 255
0 nH 255
ESC c 5 n
1B 63 35 n
0 n 255
ESC d n
1B 64 n
0 n 255
Print and feed n lines
ESC p m t1 t2
1B 70 m t1 t2
m=0,1,48,49
0
t1
255
0
t2
255
ESC SP n
1B 20 n 0 n 255
Set right-side character spacing
ESC ! n
1B 21 n 0 n 255
Select print mode(s)
Set absolute print position
ESC % n
1B 25 n
Select/cancel user-defined
0 n 255
character set
Define user-defined characters
0 nL 255
ESC 3 n
1B 33 n 0 n 255
Set line spacing
ESC ? n
1B 3F n 32 n 126
Cancel user-defined characters
ESC G n
1B 47 n 0 n 255
Turn on/off double-strike mode
ESC J n
1B 4A n 0 n 255
Print and feed paper
Set relative print position
Enable/disable panel buttons
Generate pulse
Command
Code Description
Function Description
(Hex)
GS * x y d1 d(x y 8) 1D 2A x y d1(x
y 8)
Define downloaded bit image
1 x 255 1 y 48
x y 1536 0 d 255
Print downloaded bit image
Set left margin
Set printing area width
ESC E n
1B 45 n 0 n 255
Turn emphasized mode on/off
ESC R n
1B 52 n 0 n 13
Select an international
character set
Select justification
ESC { n
1B 7B n 0 n 255
Turns on/off upside-down
printing mode
Select printing position
(1) GS V m
1D 56 m m=0,1,49
Select cut mode and cut paper
(2) GS V m n
1D 56 m n m=66
0 n 255
(1) GS k m d1 dk NUL 1D 6B m d1 dk 00
Print bar code
0 m 6
(2) GS k m n d1 dn
1D 6B m n d1 dn
65 m 73
GS v 0 m xL xH yL yH 1D 76 30 m xL xH yL
Print raster bit image
d1 dk
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)
GS / m
1D 2F m
0 m 3 48 m 51
GS L nL nH
1D 4C nL nH
0 nL 255
0 nH 255
GS W nL nH
1D 57 nL nH
0 nL 255
0 nH 255
ESC a n
1B 61 n
0 n 2 48 n 50
ESC t n
1B 74 n 0 n 7 n=19
Select character code table
GS H n
1D 48 n
0 n 3 48 n 51
for HRI characters
GS h n
1D 68 n 1 n 255
Select bar code height
GS w n
1D 77 n 2 n 6
Set bar code width
PRP-080I & II COMMANDS COMPARISON
Command
Name
PRP-080I
PRP-080II
(Standard)
(Advanced)
HT
Horizontal tab
*
*
LF
Print and line feed
*
*
FF
Print and return to standard
*
mode in page mode
CR
Print and carriage return
*
*
CAN
Cancel print data in page mode
*
DLE EOT n
Real-time status transmission
*
DLE ENQ n
Real-time request to printer
*
DLE DC4 n m t
Generate pulse at real-time
*
ESC FF
Print data in page mode
*
ESC SP n
Set right-side character spacing
*
ESC ! N
Select print mode(s)
*
ESC $ nL nH
Set absolute print position
*
ESC % n
Select/cancel user-defined character set
*
*
ESC & y c1 c2
Define user-defined characters
*
*
ESC & y c1 c2
[x1 d1 d(y X x1)] [xk d1 d(y X xk)]
*
*
ESC * m nL nH
Select bit-image mode
*
*
D1 dk
ESC - n
Turn underline mode on/off
*
*
ESC 2
Select default line spacing
*
*
ESC 3 n
Set line spacing
*
*
ESC = n
Set peripheral device
*
*
ESC ? N
Cancel user-defined characters
*
*
ESC @
Initialize printer
*
*
ESC D n1
Set horizontal tab positions
*
*
nk Annual
ESC E n
Turn emphasized mode on/off
*
*
ESC G n
Turn double-strike mode on/off
*
*
ESC J n
Print and feed paper
*
*
ESC L
Select page mode
*
ESC M n
Select character font
*
ESC S
Select standard mode
*
ESC T n
Select print direction in page mode
*
ESC V n
Turn 90 clockwise rotation mode on/off
*
ESC W xL xH
Set printing area in page mode ESC
*
yL yH dxL dxH
W xL xH yL yH dxL dxH dyL dyH
*
dyL dyH
ESC \ nL nH
Set relative print position
*
*
ESC a n
Select justification
*
*
ESC c 5 n
Enable/disable panel buttons
*
*
ESC d n
Print and feed n lines
*
*
o
Command
Name
PRP-080I
PRP-080II
Command classification
(Standard)
(Advanced)
ESC p m t1 t2
General pulse
*
*
ESC { n
Turns on/off upside-down printing mode
*
*
FS p n m
Print NV bit image
*
GS ! N
Select character size
*
GS # n
Define NV bit image number
*
GS $ nL nH
Set absolute vertical print position
*
in page mode
GS* x y d1
Define downloaded bit image
*
*
d(x X y X 8)
GS* x y d1 d(x X y X 8)
GS / m
Print downloaded bit image
*
*
GS :
Start/end macro definition
*
GS B n
Turn white/black reverse printing mode
*
GS H n
Select printing position for HRI characters
*
GS L nL nH
Set left margin
*
*
GS P x y
Set horizontal and vertical motion units
*
GS V m /
Select cut mode and cut paper
*
*
GS V m n
GS W nL nH
Set printing area width
*
*
GS \ nL nH
Set relative vertical print position
*
in page mode
GS ^ r t m
Execute macro
*
GS f n
Select font for HRI characters
*
GS h n
Select barcode height
*
GS r n
Transmit status
*
GS v 0 m xL xH
Print raster bit image
*
yL yH d1 dk
GS v 0 m xL xH yL yH d1 dk
GS w n
Set barcode width
*
FS ! n
Set print mode(s) for Kanji characters
*
*
FS &
Select Kanji character mode
*
FS
n
Turn underline mode on/off for
*
*
Kanji characters
FS .
Cancel Kanji character mode
*
FS 2 c1 c2
Define user-defined Kanji characters
*
*
D1 dk
FS 2 c1 c2 d1 dk
FS S n1 n2
Set left- and right-side Kanji
*
*
character spacing
FS W n
Turn quadruple-size mode on/off for
*
*
Kanji characters
Executing: Printer executes the command,
which does not then affect the following data.
Setting: Printer uses flags to make
settings, and those settings affect the following data.
-27-
-26-
Previous
Page | Next
Page
PDF Version
|
POS Printer Index |
Specifications |
Product Index |
PRP-080
Standard/Basic
Barcode Scanner |
Magstripe Card Reader
/ Writer |
POS Customer
Display |
POS Keyboard
Touchscreen POS System | Cash Drawer
|
Serial-Ethernet Converter | Links to Other Sites
www.barcode-manufacturer.com