Fenix PN10 Manual
Fenix PN10 Manual
Fenix PN10 Manual
Date: 28 - 6 - 2002
page 2
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
INDEX
IMPORTANT NOTES ON PANEL-10 HANDLING 4
1- INTRODUCTION 5
2- INSTALLATION 7
2.1 Installing PANEL – 10 printer series 7
2.1.1 Connectors location 8
2.2 Installing the 190X / 180X interfaces 9
2.2.1 Connecting EPSON M-190/M-192 micro dot printer mechanism to
IF190X interface 9
2.2.2 Connecting EPSON M-190G/M-192G micro dot printer mechanism
to IF190X interface 11
2.2.3 Connecting EPSON M-180/M-183 micro dot printer mechanism to
IF180X interface 13
2.2.4 Connecting the external components 15
2.3 Power supply connector 15
2.4 Serial port connector (RS-232/TTL) 17
2.4.1 Serial port configuration 17
2.5 Parallel port connector (CENTRONICS) 19
2.6 Interfacing with a personal computer 20
2.6.1 Parallel input/output 20
2.6.2 Serial input/output 21
3- BASIC OPERATIONS 22
3.1 Loading paper 22
3.2 Ribbon Cassette handling 23
3.3 Paper feed 23
3.4 Self – Test feature 24
3.5 Hexadecimal mode 25
3.6 Sending data to the printer 26
3.6.1 Serial transmission 26
3.6.2 Parallel transmission 28
4-PRINTER COMMANDS 30
4.1- Control commands 31
4.2- Text printing 35
4.3- Graphics printing 37
4.4- Graphics layout 38
4.5- Printer command summary 41
page 3
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
• Beware not to invert power supply polarity. This may irremediably damage
the printer. FENIX recommends the use of 4 wires (minimum section = 2
mm2) for the corresponding 4 power supply connector contacts.
• Use power supply voltage within specified range. Overvoltage may
irremediably damage the printer. Voltage under the specified range may
cause incorrect operations.
• Before connecting any input interface, verify the correct operation of
PANEL-10 printer with self test feature.
• Avoid using PANEL-10 printer in environments where there are excessive
temperatures or moisture.
• Printing without paper or ribbon is prohibited to avoid damaging the
printer.
• Conditions on inside end of roll paper (with or without a core):
- No fold is allowed. The paper must be wound so that the paper edge
goes along the internal circunference.
- No folding back is allowed.
- No folds, wrinkles or tears are allowed.
- Inside end must not be glued to the core (when a core exist).
-Neither perforations nor holes can be positioned within the printable
area.
- When printing is stopped in the middle of a print job and the paper is
reset after being pulled out or moved, printing position and pitch
cannot be guaranteed for subsequent printing.
page 4
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
________________________________________________________________
1.- INTRODUCTION
________________________________________________________________
PANEL-10 is a low cost - high performance impact printer series which covers any
application in hard environment as intense vibrations or shocks, corrosive places,
etc.
FENIX supplies PANEL – 10 impact– 10 impact printers printer series as a
terminated product where the EPSON printer mechanism (M180, M183, M190,
M192, M190G, M192G) and its suitable interface (IF190X, IF180X) have been
incorporated to a plastic chassis with the purpose of panelling the system.
The chassis provides PANEL – 10 impact printers with a receptacle to allocate the
paper roll, a cover which can be pulled out in order to replace the paper roll, a
paper feed button and a power on LED indicator.
page 5
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
page 6
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
________________________________________________________________
2.- INSTALLATION
________________________________________________________________
page 7
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
JP4 JP
CON 5 CON 3
CON 1
D1 10 16 S1
1 1 1 4
Fig. 2.2 – IF190X impact printer controller connectors for EPSON M190 / M192 or
M190G / M192G mechanisms.
JP2 JP3
CON 5 CON 3
CON 1
D1 10 16 S1
1 1 1 4
Fig. 2.3 – IF180X impact printer controller connectors for EPSON M180 / M183
interfaces.
page 8
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
If not using the terminated product PANEL – 10 printer, user must previously make
the connections specified from points 2.2.1 to 2.2.4
If using M-190 / M-192 micro dot printer connect it to CON 4 (see fig. 2.4).
page 9
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
M-190 / M-192
1 18
DOT PRINTER
MECHANISM
Flat Cables
1 18 IF190X
CON 4 M190 /M192
JP4 JP1
Fig. 2.4.- Connecting EPSON M-190 / M-192 Printer to IF190X CON 4 printer
terminals.
To check the correct connection of the mechanism please follow next steps:
If using M-190G / M-192G micro dot printer connect it to CON 2 (see fig. 2.5).
page 11
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
1 20 M-190G / M-192G
DOT PRINTER
MECHANISM
Flat Cables
IF190X
1 20
CON 2 M190G / M192G
JP4 JP1
Fig. 2.5.- Connecting EPSON M-190G / M-192G Printer to IF190X CON 2 printer
terminals.
In order to check the correct connection of the mechanism please follow next
steps:
page 12
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
If using M-180 / M-183 micro dot printer connect it to CON 4 (see fig. 2.6).
page 13
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
M-180 / M-183
1 15
DOT PRINTER
MECHANISM
Flat Cables
1 15 IF180X
CON 4 M180 / M183
In order to check the correct connection of the mechanism please follow next
steps:
page 14
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
If the IF190X/IF180X interface is used without the PN10 printer chassis, connect
the external components as shown in fig. 2.7.
The power - on LED and the paper feed push - button must be soldered on the
board pads.
POWER ON
LED PAPER FEED
BUTTON
CON 5 CON 3
CON 1
D1 10 16 S1
1 1 1 4
1 2 3 4
page 15
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
WARNING : Beware not to invert the polarity of power supply. This may
irremediably damage the printer. FENIX recommends the use of 4 wires
(minimum section = 2 mm2) for the corresponding 4 power supply connector
contacts.
Beware to respect consumption limits according to next table:
M-190 / M-192 M-180 / M-183
M-190G / M-192G
Maximum
Power 7.5 A peak MAX. 6 A peak MAX.
Consumption
The necessary power supply depends on content printed in the ticket. The
manufacturer of the impact mechanism, Epson, shows for M-190/M-192 a peak
current of max. 2.5 A/solenoid, although the experience teaches us that standard
peak current to be considered is around a 60% of this value. This means we are
talking a peak current of approx. 4.5 A to 5 A (2.5 A x 3 solenoids * x 60%).
*number of needles activated simultaneously.
The recommended power supply for our PN10-190X or PN10-192X should be
approximately of nominal 2,5 A or more, but able to support peak currents of 4.5
A. Anyway, the customer should test the power supply to use, adjusting it in
accordance to his printing needs, since if in the exceptional cases he may need
peak currents of 6.5 A or even 7.5 A, printer would reset itself.
For a total security, if customer uses a power supply able to support peak current
of 7.5 A, printer would remain fully covered.
The necessary power supply depends on content printed in the ticket. The
manufacturer of the impact mechanism, Epson, shows for M-180/M-183 a peak
current of max. 3 A/solenoid, although the experience teaches us that standard
peak current to be considered is around a 60% of this value. This means we are
talking a peak current of approx. 3.6 A to 4 A (3 A x 2 solenoids * x 60%).
*number of needles activated simultaneously.
The recommended power supply for our PN10-180X or PN10-183X should be
approximately of nominal 2,5 A or more, but able to support peak currents of 4 A.
Anyway, the customer should test the power supply to use, adjusting it in
accordance to his printing needs, since if in the exceptional cases he may need
peak currents of 5 A or even 6 A, printer would reset itself.
For a total security, if customer uses a power supply able to support peak current
of 6 A, printer would remain fully covered.
page 16
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
If you use serial interface, attach serial port cable to connector CON 5 (see
fig.2.9).
RS 232
2 10
1 9
If serial port is used, baud rate must be configured by on – board jumpers (JP2,
JP3, see fig. 2.10).
page 17
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
Baud rate is configured by two on – board jumpers (JP2, JP3) as shown below.
0 1 9600
1 0 4800
1 1 2400
page 18
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
CENTRONICS
2 16
1 15
page 19
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
Before connecting any cable to PANEL – 10 interface, check the correct pinout.
Following drawings show how to make the interface cables with a compatible PC
CENTRONICS connector.
/Strobe
1 1
Data 0
2 2
Data 1
3 3
Data 2
4 4
Data 3
5 5
Data 4
6 6
Data 5
7 7
Data 6
8 8
Data 7
9 9
/Acknowledge
10 10
Busy
11 11
Paper end
12 12
/Error
13 15
GND
14 18 to 25
GND
15
GND
16
CENTRONICS
2 16
1 15
page 20
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
Following drawings show how to make the interface cables with a compatible PC
RS232 connector (DB-9 or DB-25).
DTR DSR
1 6
DSR DTR
2 4
Transmit Receive
3 2
CTS RTS
4 7
Receive Transmit
5 3
RTS CTS
6 8
N.C.
7
N.C.
8
GND GND
9 5
GND
10
DTR DSR
1 6
DSR DTR
2 20
Transmit Receive
3 3
CTS RTS
4 4
Receive Transmit
5 2
RTS CTS
6 5
N.C.
7
N.C.
8
GND GND
9 7
GND
10
RS 232
2 10
1 9
page 21
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
________________________________________________________________
3.- BASIC OPERATIONS
________________________________________________________________
1.- Pull out the frontal cover and place the paper roll in its receptacle in
the position shown in fig. 3.1.
2.- Insert the end of the paper roll in the slit of the printer marked as
PAPER LOAD in fig. 3.1.
3.- Press the FEED button until a few centimeters come out of the
printer.
4.- Make sure that the paper roll remains in its receptacle in the right
position shown in fig. 3.1, and put the frontal cover back in its place.
page 22
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
Both IF190X and IF180X interfaces have two on-board pads (see 2.2.4.-
CONNECTING THE EXTERNAL COMPONENTS) to solder the push - button
cables. Its main function is to allow user to do paper feeding when paper is loaded.
Paper is fed until the push – button is released.
page 23
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
Before connecting any data interface, check the correct operation of printer using
self-test feature.
To enter self – test mode, user must power the printer on with paper feed button
pressed. Self – test mode prints a rapport about the PANEL – 10 configuration. It
also prints the character set in normal format.
HI 0 1 2 3 4 5 6 7 8 9 A B C D E F
LO
0 0 @ P ` p Ç É á α ≡
1 ! 1 A Q a q ü æ í β ±
2 “ 2 B R b r é Æ ó Γ ≥
3 # 3 C S c s â ô ú π ≤
4 $ 4 D T d t ä ö ñ Σ ⌠
5 % 5 E U e u à ò Ñ σ ⌡
6 & 6 F V f v å û ª µ
7 ‘ 7 G W g w ç ù º τ ≈
8 ( 8 H X h x ê ÿ ¿ φ °
9 ) 9 I Y i y ë Ö θ •
A * : J Z j z è Ü ¬ Ω ∙
B ESC + ; K [ k { ï ¢ ½ δ √
n
C , < L \ l ¦ î £ ¼ ∞
2
D - = M ] m } ì ¥ ¡ ∅
E . > N ^ n ~ Ä Pt « ∈ #
F / ? O _ o Å ƒ » ∩
page 24
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
To enter hexadecimal mode user must enter self – test mode and keep the
paper feed button pushed until complete rapport has been printed. If the paper
feed button is pressed within the next 5 seconds, next text will be printed:
/ / / HEXADECIMAL MODE \ \ \
reporting that the system has entered in hexadecimal mode. Otherwise, if the
button is not pressed, the system remains in normal mode, waiting for some
command or data.
When the hexadecimal mode is activated, all data received is printed in
hexadecimal code (no command is performed). Through this function, user can
easily confirm whether or not the data sent from the host device is correctly
received or if the host device has sent the correct data.
page 25
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
If 128 bytes have been stored in the IF190X / IF180X input buffer, the busy status
continues until the amount of data stored in the input buffer becomes 127 bytes or
less.
Timing Chart
/RTS
RXD
1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 0
Flow chart
Initialize
Serial Port
NO
/RTS = 0
YES
Transmit
1 Byte
NO
End of
Transmission
YES
END
page 27
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
Timing Chart
DATA VALID
T3 T4 T5
!STROBE
BUSY
T1 T2
!ACK
T1 - T2 : APROX. 5 uS
T3 - T5 : 0,5 uS OR MORE
Flow Chart
Initialize
Parallel Port
YES
BUSY = 1
NO
Transmit
1Byte
Activate
STROBE
NO
ACK Received ERROR
YES
NO YES
End of Transmission
END
page 29
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
________________________________________________________________
4.- PRINTER COMMANDS
________________________________________________________________
PANEL-10 printer have two printing modes of operation. First is text mode, which
prints normal text in ASCII code. Second is graphic mode which allows printing
bitmap images and pictures.
PANEL-10 printer is designed like a terminal which can recognize some software
control codes. There are some codes which perform the same action. This is for
compatibility with some popular printers.
Control codes may be classified into several groups:
CONTROL COMMANDS: This group includes commands which control printer
behaviour.
________________________________________________________________
CAN DELETE PRINT BUFFER
________________________________________________________________
Decimal codes: <24>
Hexadecimal codes: <18>
Function:
When received this code, all characters which remain in printing buffer are
deleted. This code cancels the last data sent to printer.
________________________________________________________________
CR CARRY RETURN
________________________________________________________________
Decimal codes: <13>
Hexadecimal codes: <0D>
Function:
This code causes that all data stored in the line buffer are printed. Paper is
advanced one character line after executing CR code.
________________________________________________________________
LF PRINT AND SKIP LINE
________________________________________________________________
Decimal codes: <10>
Hexadecimal codes: <0A>
Function:
Provides the same function as CR. Any LF code received immediately following a
CR is ignored.
________________________________________________________________
ESC @ RESET PRINTER
________________________________________________________________
Decimal codes: <27><64>
Hexadecimal codes: <1B><40>
Function:
This command resets PANEL-10 printer. It’s equivalent to hardware reset.
page 31
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
________________________________________________________________
0FH CRLF MODE
________________________________________________________________
Decimal codes: <15>
Hexadecimal codes: <0F>
Function:
This control code causes to disable CR command, and enable LF command.
________________________________________________________________
n 0BH PAPER FEEDING
________________________________________________________________
Decimal codes: <n><11>
Hexadecimal codes: <n><0B>
Function:
This control code causes to advance paper n lines. 0<n<9 (in ASCII).
________________________________________________________________
ESC J n LONG PAPER FEEDING
________________________________________________________________
Decimal codes: <27><74><n>
Hexadecimal codes: <1B><4A><n>
Function:
This control code causes to advance paper n lines. One line is 3 dots height;
n parameter is in binary format (not ASCII).
________________________________________________________________
ESC j n SHORT PAPER FEEDING
________________________________________________________________
Decimal codes: <27><106><n>
Hexadecimal codes: <1B><6A><n>
Function:
This control code causes to advance paper n dot lines. One line is 1 dot height;
n parameter is in binary format (not ASCII).
________________________________________________________________
13H SETTING TIME/CALENDAR
________________________________________________________________
Decimal codes: <19>
Hexadecimal codes: <13>
Function:
This control code allows update time and date. User must input a data string in
the following format:
Time/date in decimal : 12:45 19-01-93
String data input: 31H+32H+34H+35H+31H+39H+30H+31H+39H+33H+13H
page 32
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
________________________________________________________________
ESC h n d SETTING TIME/CALENDAR
________________________________________________________________
Decimal codes: <27><104><n><d>
Hexadecimal codes: <1B><68><n><d>
Function:
This control code allows update time and date. Character n is time and d is the
new value. Both n and d characters are in binary format (not ASCII). User can
update time and date by Set190.exe PC program, too.
n=1 Minutes
n=2 Hour
n=4 Date
n=5 Month
n=6 Year
________________________________________________________________
ESC D SET DATE IN BUFFER
________________________________________________________________
Decimal codes: <27><68>
Hexadecimal codes: <1B><44>
Function:
This control code causes to insert the date in the actual position in buffer.
________________________________________________________________
ESC T SET HOUR IN BUFFER
________________________________________________________________
Decimal codes: <27><84>
Hexadecimal codes: <1B><54>
Function:
This control code causes to insert the hour in the actual position in buffer.
________________________________________________________________
ESC U SET HOUR/DATE IN BUFFER
________________________________________________________________
Decimal codes: <27><85>
Hexadecimal codes: <1B><55>
Function:
This control code causes to insert the date in the actual position in buffer.
The date are in american format: month - date - year
________________________________________________________________
ESC N L-TYPE MODE
________________________________________________________________
Decimal codes: <27><78>
Hexadecimal codes: <1B><4E>
Function:
This control code causes to print from left side.
________________________________________________________________
ESC R R-TYPE MODE
________________________________________________________________
Decimal codes: <27><82>
Hexadecimal codes: <1B><52>
Function:
This control code causes to inverse print from right side.
page 34
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
________________________________________________________________
ESC s TRANSMIT CHARACTER
________________________________________________________________
Decimal codes: <27><115>
Hexadecimal codes: <1B><73>
Function:
page 35
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
________________________________________________________________
03H DOUBLE WIDTH DOUBLE HEIGHT SELECTION
________________________________________________________________
Decimal codes: <03>
Hexadecimal codes: <03>
Function:
This code sets double height and double width characters mode.
________________________________________________________________
04H NORMAL CHARACTER MODE
________________________________________________________________
Decimal codes: <04>
Hexadecimal codes: <04>
Function:
This code sets normal characters mode.
________________________________________________________________
ESC w n DOUBLE HEIGHT SELECTION
________________________________________________________________
Decimal codes: <27><119><n>
Hexadecimal codes: <1B><77><n>
Function:
This code sets double height characters mode.
If n = ”1” sets on the double height characters. If n = ”0” sets off the double height
characters.
“0” is the ASCII character number 48 decimal, 30 hexadecimal.
“1” is the ASCII character number 49 decimal, 31 hexadecimal.
________________________________________________________________
ESC W n DOUBLE WIDTH SELECTION
________________________________________________________________
Decimal codes: <27><87><n>
Hexadecimal codes: <1B><57><n>
Function:
This code sets double width characters mode.
If n = ”1” sets on the double width characters. If n = ”0” sets off the double width
characters.
“0” is the ASCII character number 48 decimal, 30 hexadecimal.
“1” is the ASCII character number 49 decimal, 31 hexadecimal.
page 36
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
________________________________________________________________
ESC - (ESC minus) UNDERLINE SELECTION
________________________________________________________________
Decimal codes: <27><45><n>
Hexadecimal codes: <1B><2D><n>
Function:
It sets underline character mode .
If n = “1” sets on the underlined characters. If n = ”0” sets off the underlined
characters.
The n parameter is in ASCII format.
D7 D6 D5 D4 D3 D2 D1 D0
X R p6 p5 p4 p3 p2 p1
X : not used.
R: must be 1.
p1...p6 : graphic data.
________________________________________________________________
ESC V n1 n2 BIT IMAGE GRAPHICS MODE
________________________________________________________________
Decimal codes: <27><86><n1><n2>
Hexadecimal codes: <1B><56><n1><n2>
Function:
Direct bit image graphics mode. The n1 and n2 parameters are the numbers of
graphic lines to print in binary format. See next section for a detailed description.
page 37
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
Before connecting any data interface, check the correct operation of printer using
self-test feature. To enter self-test mode, user must power the printer on with
paper feed button pressed.
PANEL-10 printer allows printing of bitmap graphics and images. Graphic mode is
entered with an escape sequence.
Before using printer graphic command , it’s important to describe the format and
layout of the image to be printed.
A bitmap picture may be considered as a two - dimensional array of bits. Each bit
corresponds to a graphic dot (called “pixel”) of the image. If bit is at logical state
‘1’ pixel is not printed. If bit is at logical state ‘0’ pixel is printed.
Because of memory configuration, bits are grouped in bytes of 8 bits each one.
However, pixels in the image are grouped in bytes, too.
page 38
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
18 bytes x 8 bits = 144 pixels in a row (EPSON M190, M180 and M190G
mechanisms)
This is a fixed number and user cannot change it. Number of rows is freely
configured by user and is limited to a maximum of 65535 in each graphic
command.
.
.
.
N-1
N
N = number of graphic rows (max. 65535).
Each byte has 8 pixels horizontally.
where:
ESC is escape character (27 dec., 1B hex.)
V is “V” character (uppercase)
n1 is number of graphics rows in binary format (low byte)
n2 is number of graphics rows in binary format (high byte)
data are bit image data to print
page 39
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
To print this letter in graphic mode, we can send the following sequence of bytes:
page 40
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
page 41
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
________________________________________________________________
APPENDIX A – PANEL10 PHYSICAL DIMENSIONS
________________________________________________________________
This chassis provides PANEL - 10 impact printers with a receptacle to allocate the
paper roll, a cover which can be pulled out in order to replace the paper roll, a
paper feed button and a power on LED indicator.
page 42
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
Fig. A.2- Physical dimensions for PANEL – 10 impact printers (normal chassis).
page 43
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
page 44
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
________________________________________________________________
APPENDIX B - TROUBLESHOOTING
________________________________________________________________
This chapter covers the most common problems with PANEL-10 operation, and
what to do:
page 45
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
________________________________________________________________
APPENDIX C - SOFTWARE EXAMPLES
________________________________________________________________
This chapter shows some software examples using PANEL-10 printer. Code
fonts and executable files are in a floppy disk supplied with the printer.
________________________________________________________________
APPENDIX D - SPECIFICATIONS
________________________________________________________________
page 46
PANEL-10 IMPACT PRINTERS OPERATION MANUAL
_________________________________________________________________
APPENDIX E – HOW TO ORDER
_________________________________________________________________
PN10 – XXXX – XX – X – XX
nil : standard type
XX : custom-made type (1)
Mechanism Code R_ : RS232 level IN/OUT signals
T_ : TTL level IN/OUT signals
M-180 _180
nil : standard frontal plate
M-183 _183
I : reversed frontal plate serigraphy for
M-190 _190
reversed mount
M-192 _192
N : without frontal plate serigraphy (1)
M-190G 190G
M-192G 192G
To order the INTERFACE + MECHANISM kit (without chassis), refer to Fig. E.2:
180 180X
183 180X
190 190X nil : without clock
192 190X R : with clock
190G 190X
192G 190X
page 47