DOT MATRIX PRINTER
DP8340R SERIES
[SERIAL INTERFACE]
USERS MANUAL
Download from Www.Somanuals.com. All Manuals Search And Download.
TABLE OF CONTENTS
1. OUTLINE .............................................................................................. 1
2. UNPACKING AND INSTALLATION ................................................ 2
2-1. Unpacking .................................................................................... 2
2-2. Installation of Paper Holders and Re-Roll
Prevention Guard ......................................................................... 3
2-3. Handling Notes.............................................................................4
3. PART IDENTIFICATION AND NOMENCLATURE ........................ 5
3-1. Power Supply Unit ....................................................................... 5
3-2. Printer ........................................................................................... 6
3-3. Part Functional Description.......................................................... 7
4. INSTALLATION OF INK RIBBON AND PAPER.............................8
4-1. Installation of Ink Ribbon ............................................................ 8
4-2. Removal of Ink Ribbon ................................................................9
4-3. Paper Insertion ...........................................................................10
4-3-1. For Roll Paper .................................................................10
4-3-2. Roll Paper Installation
(When using the optional Printer Cover 8340R).............11
4-3-3. Validation Option Installation .........................................12
4-4. Roll Paper Removal ................................................................... 12
5. CONTROL CODES ............................................................................13
6. GENERAL SPECIFICATIONS.......................................................... 20
7. INTERFACE FOR MODEL DP8340RM
(MODULAR JACK CONNECTOR) ..................................................24
7-1. Interface Specifications ..............................................................24
7-2. Interface Circuit .........................................................................24
7-3. Setting of the DIP Switches ....................................................... 25
7-3-1. DIP-SW 1 ........................................................................25
7-3-2. DIP-SW2 .........................................................................25
7-4. Connectors and Signals ..............................................................26
7-5. Interface Connections.................................................................27
7-6. Peripheral Unit Drive Circuit .....................................................28
7-6-1. Cable Connection ............................................................28
7-6-2. Peripheral Drive Circuit ..................................................29
7-6-3. Control Codes.................................................................. 29
Download from Www.Somanuals.com. All Manuals Search And Download.
8. INTERFACE FOR MODEL DP8340RD
(D-SUB 25 PIN CONNECTOR)......................................................... 30
8-1. Interface Specifications ..............................................................30
8-2. Interface Circuit ......................................................................... 31
8-2-1. RS-232C ..........................................................................31
8-2-2. Current Loop ................................................................... 31
8-3. Setting of the DIP Switches ....................................................... 32
8-3-1. DIP-SW 1 ........................................................................ 32
8-3-2. DIP-SW 2 ........................................................................ 32
8-4. Jumper Setting............................................................................33
8-4-1. Removal of the Bottom Cover ........................................33
8-4-2. Setting of Jumper ............................................................ 33
8-5. Connectors and Signals ..............................................................34
8-6. Interface Connections.................................................................35
8-7. Peripheral Unit Drive Circuit .....................................................36
8-7-1. Cable Connection ............................................................ 36
8-7-2. Peripheral Drive Circuit ..................................................37
8-7-3. Control Codes.................................................................. 37
9. DATA STRUCTURE AND CONTROL ............................................ 38
9-1. DTR Mode (1 BLOCK) ............................................................. 38
9-2. X-ON/X-OFF Mode................................................................... 39
9-3. STX-ETX Mode......................................................................... 41
10. CHARACTER CODE LIST..............................................................43
11. WHEN POWER IS SUPPLIED BY THE USER .............................46
Download from Www.Somanuals.com. All Manuals Search And Download.
1. OUTLINE
The DP8340R series of serial dot matrix printers is for use in ECR, POS,
electronic instruments, banking machines and computer peripheral equipment.
The DP8340R series include the following features;
1) 2 color printing (Red and Black)
2) High-speed bidirectional printing (2 line/sec, 29 or 44 columns per line)
3) 9-pin print head
4) The interface conforms to RS-232C in M type, and to RS-232C/20mA
Current Loop in D type.
5) Commands for expanded characters, inverted characters, emphasized
characters, red and black printing, and 10CPI or 15CPI characters etc. are
provided, which makes the printer very versatile.
6) Simultaneous Data Communication and Printing
7) Error Checking Protocol
8) Peripheral Driver
9) One line validation printing (Option)
Model Name Notation
– 1 –
Download from Www.Somanuals.com. All Manuals Search And Download.
2. UNPACKING AND INSTALLATION
2-1. Unpacking
After opening the box, check if all necessary accessories are included.
(A) Printer
1 Printer
2 User’s Manual
3 Paper Holders
4 Re-Roll Prevention Guard
5 Ink Ribbon
6 DIP Switch Cover
(B) Power Supply Unit
1
1 Power Supply Unit
2 User’s Manual
Figure 2-1. Unpacking
– 2 –
Download from Www.Somanuals.com. All Manuals Search And Download.
2-2. Installation of Paper Holders and Re-Roll Prevention Guard
Install the Paper Holders in the intermost holes in the rear of the printer.
Figure 2-2. Installation of Paper Holders
– 3 –
Download from Www.Somanuals.com. All Manuals Search And Download.
Install the Re-Roll Prevention Wire in the holes of the printer cover. Twisting the
Wire as shown in the figure below, will make the installation easier.
Figure 2-3. Installation of Re-Roll Prevention
2-3. Handling Notes
(1) Install the printer near an easily accessible socket-outlet.
(2) Place the unit on a flat and stable surface for operation.
(3) Do not connect the AC Power Plug to the same outlet used for other noise
generating devices (large motors, etc.).
(4) Be careful not to drop paper clips, pins and other foreign objects into the
unit.
(5) Wipe off dirt with a soft cloth soaked in alcohol or benzine. Do not use
Lacquer thinner, Trichlorethelene or Ketone solvents because they may
damage plastic parts.
(6) Use a soft brush, etc. for cleaning the printer mechanism and PCB.
(7) Keep hands out of printer while power is on.
(8) Do not attempt to print when there is no ink ribbon or paper in the unit. The
print head life could be severly reduced.
(9) If the paper is fastened tightly to the roll, the paper may not detach from the
roll when the end is reached.
If this happens, the no paper detection function and paper feed will not
operate.
(10) Always keep the printer cover attached when printing to prevent paper
jams, noise, and other problems.
(11) Always turn the power off before opening the printer cover. (e.g. When
renewing a ink ribbon)
– 4 –
Download from Www.Somanuals.com. All Manuals Search And Download.
3. PART IDENTIFICATION AND NOMENCLATURE
3-1. Power Supply Unit
DC Power Connector (Output)
Shape of AC Power plug will
vary according to destinations.
Figure 3-1. Power Supply Unit
– 5 –
Download from Www.Somanuals.com. All Manuals Search And Download.
3-2. Printer
Figure 3-2. Printer: Front View
Figure 3-3. Printer: Rear View
– 6 –
Download from Www.Somanuals.com. All Manuals Search And Download.
3-3. Part Functional Description
(1) AC Power Plug
(2) DC Power Outlet
(3) Printer Cover
(4) POWER Lamp
(5) ON LINE Lamp
Connect to an outlet of the specified voltage.
Supplies DC 12V power to the printer.
Protects the printer against dust and reduces noise.
Lights up (green LED) when power is on.
Lights up (green LED) when the unit is in the online
mode.
(6) ALARM Lamp
Lights up (red LED) when printer operation is not
normal, or the printer is out of paper. It is necessary
to install paper into the printer and press the ON
LINE Button to recover from paper empty status.
Turn off the printer power in order to recover from
abnormal operation.
(7) ON LINE Button
(8) FEED Button
Toggles between the on-line and off-line modes. The
printer will go on-line after turning power on.
Momentary operation of this button provides one
line feed. Pressing this button continuously will
cause continuous paper feed. If power is turned on
while pressing this button, self printing*1 will be
performed.
(9) Interface Connector Connects the printer to host computers. Check that
both computer and printer are off before connecting.
(10) DIP Switches
Allows for setting of various functions according to
user requirements.
*1 Self Printing
This printer has another convenient function, the
Automatic Test Printing. With the ink ribbon and
paper properly installed in the printer, turn the power
ON while holding down the Feed switch. Test print-
ing will start and stop again automatically.
– 7 –
Download from Www.Somanuals.com. All Manuals Search And Download.
4. INSTALLATION OF INK RIBBON AND PAPER
4-1. Installation of Ink Ribbon
(1) Turn power off, lift the Printer Cover up and remove it.
Note: Be careful not to touch the print head immediately after printing,
because it can get very hot.
Figure 4-1. Printer Cover Removal
(2) Unwind ribbon so that the spools are separated as shown in Figure 4-3.
Hold the ribbon taut as shown with the drive pins facing down and slide the
ribbonbetweentheprintheadandtheplaten. Whilekeepingtheribbontaut,
wrap one side around the black ribbon guide on the end of the platen and
droponespoolonthespoolshaft. Asyoumovethespooldownwards, move
the detecting lever aside to allow the spool to drop into place. Make sure the
spool drive pins engage with the spool drive holes. As the spool drops into
place there will be a click.
(3) While continuing to hold the ribbon taut, install the remaining ribbon spool
in a similar fashion.
(4) Turn the spool that rotates freely to take up the ribbon slack.
Ribbon Life
Ribbon life
Description
Black
Red
SF-03BR
(Fuji Kagakushi
Kogyo Co., Ltd.)
Approx.
0.8 million
characters
– 8 –
Approx.
0.4 million
characters
Download from Www.Somanuals.com. All Manuals Search And Download.
Ribbon Life
Ribbon life
Black
Description
SF-03B
(Fuji Kagakushi
Kogyo Co., Ltd.)
Approx.
0.8 million
characters
Figure 4-2. Installation of Ink Ribbon
Figure 4-3. Ribbon Spools
4-2. Removal of Ink Ribbon
Hold the spool and lift gently, rotating it until the ribbon sags. Push the ribbon
detecting lever out, lift the spool until it comes off the shaft. Remove the second
spool in a similar manner.
(Do not apply excessive force when lifting spools.)
– 9 –
Download from Www.Somanuals.com. All Manuals Search And Download.
4-3. Paper Insertion
4-3-1. For Roll Paper
(1) Cut the Roll Paper end straight and square. Hold the roll so that the paper
comes from the bottom.
(2) Attach the Roll Paper to the Holders Paper by slipping one side of the roll
onto the Hub and pulling the other Hub out to allow the roll to slip in place.
(3) Insert the paper evenly into the Paper Insertion Slot.
(4) Turn the Power Switch “ON”, and press the FEED Button. The paper will
be fed into the unit.
Figure 4-4. Paper Insertion (1)
Figure 4-5. Paper Insertion (2)
– 10 –
Download from Www.Somanuals.com. All Manuals Search And Download.
4-3-2. RollPaperInstallation(WhenusingtheoptionalPrinterCover8340R)
When installing roll paper with the optional “Ptinter Cover 8340R”, please use
the following procedure.
(1) Turn power off, lift the Printer Cover up and remove it.
Note: Be careful not to touch the print head immediately after printing
because it can get very hot.
(2) Insert paper into the printer, and feed the paper so it extends 3 inches or
more above the top surface of the printer.
(3) Insert the paper into the slot in the “Printer Cover 8340R”.
(4) Install the “Printer Cover 8340R” on the printer.
Figure 4-6. Replace the Printer Cover
Figure 4-7. Printer Cover 8340R
– 11 –
Download from Www.Somanuals.com. All Manuals Search And Download.
4-3-3. Validation Option Installation
The validation printing requires the optional printer cover 8340R. Refer to
item 4-3-2 for the installation.
(1) Turn power ON.
(2) Enter the printer the validation mode.
(Refer to the control code “GS” in Chapter 5.)
(3) Insert the material to be validated against the right side of the slot in the
Printer Cover 8340R.
Figure 4-8. Insertion of Material to be validated
4-4.
Roll Paper Removal
Cut the paper close to the slot and use the feed button until paper has passed
completely through the printer.
Note: Do not try to remove the paper by hand as it could become crooked and
get jammed inside the printer.
– 12 –
Download from Www.Somanuals.com. All Manuals Search And Download.
5. CONTROL CODES
LF
(0A)H
CODE
FUNCTION
Print and line feed instruction
OUTLINE
The LF code causes the data in the line buffer to be printed,
followed by a single line feed. When the line buffer is empty,
only the feed takes place.
CR
(0D)H
CODE
FUNCTION
Print and line feed instruction
Same function as of LF code.
OUTLINE
However, when the DIP switch 2-4 is ON, the CR code
becomes invalid.
CODE
SO
(0E)H
Expanded character instruction
FUNCTION
OUTLINE
This code causes the printer to print expanded characters
twice as wide as the regular ones. This remains in effect until
a DC4 code is received.
DC4
(14)H
CODE
FUNCTION
Release from expanded characters
OUTLINE
The expanded character instruction is released by the DC4
code, and the succeeding data is printed as regular width
characters.
CODE
ESC-1
(1B)H (2D)H (01)H or (1B)H (2D)H (31)H
Underline mode selection
FUNCTION
OUTLINE
All data received after this code is underlined until a ESC-0
is received.
ESC-0
CODE
(1B)H (2D)H (00)H or (1B)H (2D)H (30)H
Release from underline mode
FUNCTION
OUTLINE
The underline mode selection is released by this code.
– 13 –
Download from Www.Somanuals.com. All Manuals Search And Download.
SI
(0F)H
CODE
FUNCTION
Inverted print instruction
OUTLINE
This function causes the printing to be inverted. This code
must be received at the beginning of a line. If this code is
received anywhere other than at the beginning of a line, it is
disregarded. Accordingly, normal characters and inverted
characters, can not be mixed on the same line.
DC2
(12)H
CODE
FUNCTION
Release from inverted print instruction
OUTLINE
The inverted print instruction is released by this code. This
code must be received at the beginning of a line.
ESC E
(1B)H (45)H
CODE
FUNCTION
Emphasized print mode instruction
OUTLINE
Data following this command is printed with emphasized
characters.
In this mode, characters are printed in a single direction.
ESC F
(1B)H (46)H
CODE
FUNCTION
Release from emphasized print instruction
Emphasized print is released.
OUTLINE
ESC 4
(1B)H (34)H
CODE
Red character print instruction
FUNCTION
OUTLINE
This command causes subsequent data to be printed with red
characters.
The instruction is released by the code, ESC 5.
Red and black characters may be intermixed.
This command is ignored when DIP SW 2-3 is OFF.
ESC 5
(1B)H (35)H
CODE
FUNCTION
Release from red character print instruction
OUTLINE
The red character print instruction is released by this code.
– 14 –
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC a n
(1B)H (61)H
CODE
n
n-line feed
FUNCTION
OUTLINE
Afterprintingthedatainthecurrentline,nlinesarefedbythis
code. The value of n ranges from 1 to 120.
ESC C n
(1B)H (43)H
CODE
n
FUNCTION
Sets page length in lines
OUTLINE
This code sets the length of a page to n lines. The value of n
ranges from 1 to 120. On initialization, the page length
default condition will be 42 lines. The line feed pitch is one-
sixth inch.
ESC Nn
(1B)H (4E)H
CODE
n
Sets bottom margin in lines
FUNCTION
OUTLINE
Upon receiving this code, the bottom margin is set to n lines.
0
n
120; Default Value n = 0
ESC O
(1B)H (4F)H
CODE
Cancels bottom margin.
FUNCTION
OUTLINE
Upon input of this code, bottom margin setting is cleared.
FF
(0C)H
CODE
Form feed
FUNCTION
OUTLINE
The FF code prints the data in the current line and transports
the paper to the start of the next page.
– 15 –
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC @
(1B)H (40)H
CODE
Printer initialization
FUNCTION
OUTLINE
All printing conditions except ESC BEL n1 n2, the line buffer
and data buffer are set to the power on default condition.
ESC BEL n1 n2
(1B)H (07)H n1 n2
CODE
Sets peripheral unit drive pulse duration.
FUNCTION
OUTLINE
This command sets the pulse duration for peripheral unit
drive (Paper Cutter, Take-Up Device, cash drawer, etc.)
Pulse Duration = 10 × n1 (ms)
Delay = 10 × n2 (ms)
1
n1
127; 1
n2
127
Default value: n1 = n2 = 20
Executed by BEL code and FS code after printing.
BEL
(07)H
CODE
FUNCTION
Trigger peripheral unit drive (Deferred)
OUTLINE
Causes a peripheral drive pulse to be generated. This code is
normallystoredinthebufferandisperformedasitisreceived
from the data queue.
– 16 –
Download from Www.Somanuals.com. All Manuals Search And Download.
FS
(1C)H
CODE
FUNCTION
Trigger peripheral unit drive (immediate)
OUTLINE
Causes a peripheral drive pulse to be generated immediately
ENQ
(05)H
CODE
Enquiry
FUNCTION
OUTLINE
When this code is received, the printer outputs status data.
If it is input after text data input in the STX-ETX mode, the
printer outputs status data and the check byte.
STX
(02)H
CODE
Start of text
FUNCTION
OUTLINE
When this code is received, the printer enters the STX-ETX
mode. ThiscodeisignoredifreceivedwhenSTX-ETXmode
is already in effect.
ETX
(03)H
CODE
End of text
FUNCTION
OUTLINE
When this code is received, the printer leaves the STX-ETX
mode. Contents of the data buffer is printed, this code is
ignored if received before ENQ.
CAN
(18)H
CODE
FUNCTION
Clears print buffer
OUTLINE
Upon input of this code the data buffer and line buffer is
cleared.
ESC P
(1B)H (50)H
CODE
Select 10 CPI
FUNCTION
OUTLINE
This code causes the printer to print at 10 CPI. The number
of columns per is 29.
– 17 –
Download from Www.Somanuals.com. All Manuals Search And Download.
ESC M
(1B)H (4D)H
CODE
Select 15 CPI
FUNCTION
OUTLINE
This code causes the printer to print at 15 CPI. The number
of columns per line is 44. When the power is turned on, the
15 CPI mode is selected.
GS
(1D)H
CODE
Validation printing instruction
FUNCTION
OUTLINE
This code causes the printer to perform validation printing
of a maximum of 32 subsequent characters (at 15 CPI, from
the thirteenth to the forty-forth column).
After the GS code is received, a maximum of 32 characters
should be input, followed by the LF code which indicates
the end of the validation printing data.
(At this time, control codes except FS, ENQ, CAN and SUB
codes, or any character received beyond the limit of 32
characters are ignored.)
When the printer enters the validation mode, the ribbon is
shifted up and the ON-LINE lamp blinks. (This lamp goes
on and off at a 0.5-second interval until the end of the va-
lidation mode.) Afterthematerialtobevalidatedisinserted,
and the LF button is pressed, the validate line is printed,
followed by a single line feed. When the check is removed
and the ON-LINE button is pressed, the printer returns to
regular mode and is set to ON-LINE status.
1) The print settings by commands (such as emphasized
REMARKS
mode and underline mode) are invalid only during val-
idation printing.
2) When the CAN code is received in the validation mode,
the printer returns to regular mode, and the mechanism
is initialized.
3) If the FS or SUB codes is received in the validation
mode, these codes are executed just after the printer
returns to regular mode.
4) In the validation mode, the LF button and the ON-LINE
button do not work except the above behavior.
5) If the printer has a Red black ribbon installed, the va-
lidate line will be printed in red.
– 18 –
Download from Www.Somanuals.com. All Manuals Search And Download.
Character Code List
Character
LF
Code
Function
1
2
(0A)H
(0D)H
Print and line feed instruction
Print and line feed instruction
(same as LF)
CR
3
4
5
SO
(0E)H
(14)H
Expanded character instruction
Expanded character release
Underline instruction
DC4
ESC-1
(1B)H (2D)H(01)H
(1B)H (2D)H (31)H
(1B)H (2D)H(00)H
(1B)H (2D)H (30)H
(0F)H
6
ESC-0
Underline release
7
8
9
SI
Inverted print instruction
Inverted print release
DC2
ESC E
(12)H
(1B)H (45)H
Emphasized print instruction
(one-way printing)
10 ESC F
11 ESC 4
12 ESC 5
13 ESC a n
14 ESC C n
(1B)H (46)H
(1B)H (34)H
(1B)H (35)H
(1B)H (61)H n
(1B)H (43)H n
Emphasized print release
Red character print instruction
Red character print release
n-line feed instruction
Sets page length in lines
1
n
120 (default n = 42)
Set bottom margin in lines
120 (default n = 0)
15 ESC N n
(1B)H (4E)H n
0
n
16 ESC O
17 FF
(1B)H (4F)H
(0C)H
Cancel Bottom margin
Form feed
18 ESC @
19 ESC BEL
n1 n2
(1B)H (40)H
(1B)H (07)H
n1 n2
Printer initialization instruction
Set peripheral unit drive pulse duration
1
n1
127, 1
n2
127
(default n1 = n2 = 20)
20 BEL
21 FS
(07)H
(1C)H
Trigger peripheral unit drive (Deferred)
Trigger peripheral unit drive
(Immediate)
22 ENQ
23 STX
24 ETX
25 CAN
26 ESC P
27 ESC M
28 GS
(05)H
Enquiry
(02)H
Start of text enter STX-ETX mode
End of text end STX-ETX mode
Clears print buffer
(03)H
(18)H
(1B)H (50)H
(1B)H (4D)H
(1D)H
Select 10 CPI
Select 15 CPI (Default value)
Validation printing instruction
– 19 –
Download from Www.Somanuals.com. All Manuals Search And Download.
6. GENERAL SPECIFICATIONS
Printing method
Serial impact dot matrix printing,
9 wires
Number of print columns 29 columns (10CPI), 44 columns (15CPI)
Print speed
Print direction
Line spacing
Approx. 2 lines/sec
Bi-directional
1/6 inch
Paper feed method
Paper feed speed
Character set
Friction Feed
Approx. 12 lines/sec
ASCII
Special
Block graphics*
96 characters
64 characters
64 characters
Font configuration
10CPI Ordinary characters 5 × 9 dots
Block graphics* 6 × 6 dots
15CPI Ordinary characters 7 × 9 half dots
Block graphics* 5 × 6 dots
* Graphic Feed Not Available
Character size
Character spacing
Dot spacing
Gross dot
10CPI 2.00 (H) × 2.42 (V) mm
15CPI 1.32 (H) × 2.42 (V) mm
10CPI 2.55 mm (1/10 inch)
15CPI 1.70 mm (1/15 inch)
10CPI H=0.425 mm V=0.353 mm
15CPI H=0.340 mm V=0.353 mm
10CPI 174 dots/wire/line
15CPI 220 dots/wire/line
10CPI 73.53 mm
Print area
15CPI 74.46 mm
Approx. 1.5 KB
Print Buffer
Peripheral drive
Serial Interface
Model DP8340-RM
Model DP8340-RD
External dimensions
(Printer)
1 output (1A max. at 12V)
Only RS-232C
RS-232C/20mA Current Loop
202(W) × 200(D) × 98(H) mm
(without paper holder, DC Power Connector)
60(W) × 120(D) × 36(H) mm (without AC cable)
(Power supply unit)
Weight
(Printer)
(Power supply unit)
Approx. 1.9 kg
Approx. 0.4 kg (without AC cable)
– 20 –
Download from Www.Somanuals.com. All Manuals Search And Download.
Power supply unit
Four supplies available with following ratings
Input
Output
AC 100 – 240 V
47Hz – 63 Hz
0.8 A Max
DC 12.0 V ± 5%
2.0 A
Paper specification
Paper type
Size Paper width
Roll diameter
Thickness (single)
(2 copy)
Ordinary and carbonless copy paper
82.55 ± 0.5mm (3.25 inches)
80 mm outer diameter (Max)
0.07 mm (52.3 g/m2) to 0.09 mm (64g/m2)
One copy and one original (max 0.13 mm)
Paper should not be attached to the core
Check (Refer to Fig. 6-2)
Paper end
One line validation
Paper width 70 to 90 mm
Thickness 0.1 to 0.15 mm
* Requires the optional Printer Cover 8340R
Ink ribbon specification
Color
Ribbon material
Ribbon size
Spool
Black and red / Black only
Nylon (#40 denier)
13mm × 6m
13mm (width), 35mm in diameter (two spool)
Recommended ribbon SF-03BR (Black and red), SF-03B (Black)
(manufactured by Fuji Kagakushi Kogyo Co., Ltd.)
or approved equivalent.
Operating conditions
Temperature
Humidity
Temperature
Humidity
+5˚C — +40˚C
10% — 80%RH
–20˚C — +70˚C
5% — 95%RH (+40˚C)
Storage conditions
Head life
70 million characters
Printer reliability
5.0 million lines MCBF (except head life)
– 21 –
Download from Www.Somanuals.com. All Manuals Search And Download.
Figure 6-1. Roll Paper and Print Area
Figure 6-2. Material to be validated and One Line Validation Printing
– 22 –
Download from Www.Somanuals.com. All Manuals Search And Download.
Figure 6-3. External Dimensions (Printer)
36mm
120mm
2.0m
Shape of AC Power plug will
vary according to destinations.
Figure 6-4. External Dimensions (Power Supply Unit)
– 23 –
Download from Www.Somanuals.com. All Manuals Search And Download.
7. INTERFACE FOR MODEL DP8340RM
(MODULAR JACK CONNECTOR)
7-1. Interface Specifications
(1) Synchronization system Asynchronous
(2) Baud rate
150, 300, 600, 1200, 2400, 4800, 9600,
BPS (Selectable)
(3) Word length
Start bit:
1 bit
Data bit:
Parity bit:
Stop bit:
7 or 8 bits (Selectable)
Odd, Even, or None (Selectable)
1 or 2 bit length (Selectable)
(4) Signal polarity
RS-232C
MARK : Logic “1” (–3V to –25V)
SPACE : Logic “0” (+3V to +25V)
(5) Handshaking
1 DTR Mode (1 block)
2 X-ON/Y-OFF Mode
3 STX-ETX Mode
Note: STX-ETX Mode may use DTR or X-ON/X-OFF, selected by DIP SW 1-
5. See Chapter 9. for details.
7-2. Interface Circuit
Input (RXD, CTS)
Output (DTR, FAULT, TXD, RTS)
Figure 7-1. RS-232C Interface
– 24 –
Download from Www.Somanuals.com. All Manuals Search And Download.
7-3. Setting of the DIP Switches
7-3-1. DIP-SW 1
Factory
setting
Switch
ON
OFF
M
TYPE
ONLY
1-1
1-2
1-3
1-4
1-5
1-6
1-7
1-8
ON
ON
ON
ON
ON
ON
ON
ON
Data transfer rate — see below (*1)
Stop bit 1
DTR MODE (1 BLOCK)
8 data bits
Stop bit 2
X-ON/X-OFF MODE
7 data bits
No parity
Odd parity
Parity checked
Even parity
(*2) DIP Switch 2-3 should
be set to ON when you
use a 2-color ribbon for
2-color printing.
(*1)
Baud rate
150
SW1-1
OFF
OFF
OFF
OFF
ON
SW1-2
OFF
OFF
ON
SW1-3
OFF
ON
OFF
ON
OFF
ON
ON/OFF
300
600
1200
2400
4800
9600
It should be set to OFF
when a monochrome
ribbon is used.
ON
OFF
OFF
ON
ON
ON
7-3-2. DIP-SW2
Factory
setting
Switch
ON
OFF
International character set :
U.S.A
2-1
ON
FRANCE
2-2
2-3(*2)
2-4
Always ON
Monochrome Ribbon
CR Valid
ON
ON
ON
2-color Ribbon
CR Invalid
Note: DIP switches are only read by the
controller at power turn on. DIP
switch changes should be made
with power off, or after changing
switch setting, turn the power off
and on again.
Figure 7-2. Setting of DIP Switch
– 25 –
Download from Www.Somanuals.com. All Manuals Search And Download.
7-4. Connectors and Signals
Signal
Pin No.
Direction
Function
Name
GND
GND
1
2
—
—
Shield Ground
Frame Ground
This pin carries data from the printer.
(Return channel)
3
TXD
OUT
4
5
RXD
RTS
IN
This pin carries data to the printer.
This is SPACE when the printer power is ON.
This is MARK when the printer is abnormal.
(Refer to Error Condition Alarm Mode *1.)
Or there is a paper error.
OUT
6
FAULT
OUT
7
8
GND
DTR
—
Signal ground.
This printer turns this pin SPACE when
it is ready to receive data.
OUT
Figure 7-3. Modular Jack Connector
*1 Error Condition Alarm Mode
If an error condition is detected during operation, the printer will stop
printing and cause the FAULT signal to go MARK. All solenoides &
motors will be de-energized. It is necessary to turn the printer power
off and on again in order to recover from the alarm mode.
This printer can detect the following error coditions:
a. Motor Lock
b. Defective timing detector
c. Micro-proccessor out of program sequence
– 26 –
Download from Www.Somanuals.com. All Manuals Search And Download.
7-5. Interface Connections
For interface connections, refer to the instructions for interface of the host
computer. The following gives basic examples.
M
TYPE
ONLY
Figure 7-4. Interface Connections using Modular/D-Sub 25 Adapter to IBM PC
(Use with straight through cable wiring)
Before selecting interface cable wiring, it is necessary to know the wiring of the
modular interconnect cable. Figure 7-5. below shows the way to determine if the
cable is straight connected, or cross connected. Cross connected wiring is not
suitable for shielded cable.
Figure 7-5.
– 27 –
Download from Www.Somanuals.com. All Manuals Search And Download.
Figure 7-6. Wiring of cable for direct connection between DP8340
and IBM PC serial part
7-6. Peripheral Unit Drive Circuit
The Control Board of this unit is equipped with a circuit for driving a peripheral
unit (Paper Cutter, Take-Up Device, Cash Drawer, etc.)
The Control Board Connector (CN3) is used to connect the Peripheral Unit to the
DriveCircuit.WhenusingthiscircuitconnecttheperipheralunitcabletotheCN3
Connector (cable is not included). Use a cable with the following specifications:
Note: Do not run cable near devices generating large amounts of electrical
noise.
Figure 7-7. Cable Specifications
7-6-1. Cable Connection
Remove the printer Bottom Cover and connect the cable to the CN3 Connector.
Pass the cable around the control board as shown and through grommetted hole
in bottom cover. (Grommet may have to be cut)
– 28 –
Download from Www.Somanuals.com. All Manuals Search And Download.
M
TYPE
ONLY
Figure 7-8. Cable Connection
7-6-2. Peripheral Drive Circuit
Absolute Ratings (Ta = 25˚C)
Drive
Output
12V, MAX. 1A
D1
Voltage Breakdown
100V
1A
Peak Forward Current
Figure 7-9. Drive Circuit
Caution: Do not use external power supply with peripheral drive circuit.
7-6-3. Control Codes
Codes for Drive Circuit control are ESC BEL n1 n2, BEL and FS. Refer to the
Control Codes in Chapter 5.
– 29 –
Download from Www.Somanuals.com. All Manuals Search And Download.
8. INTERFACE FOR MODEL DP8340RD
(D-SUB 25 PIN CONNECTOR)
8-1. Interface Specifications
(1) Synchronization system Asynchronous
(2) Baud rate
150, 300, 600, 1200, 2400, 4800, 9600
BPS (Selectable)
(3) World length
Start bit:
1 bit
Data bit:
Parity bit:
Stop bit:
7 or 8 bits (Selectable)
Odd, Even, or None (Selectable)
1 or 2 bit length (Selectable)
(4) Signal polarity
RS-232C
MARK : Logic “1” (–3V to –25V)
SPACE : Logic “0” (+3V to +25V)
MARK : Logic “1” (Current ON)
SPACE : Logic “0” (Current OFF)
Current Loop
1 Start bit
2 Data bits
3 Parity bit
4 Stop bit
(5) Handshaking
1 DTR Mode (1 block)
2 X-ON/Y-OFF Mode
3 STX-ETX Mode
Note: STX-ETX Mode may use DTR or X-ON/Y-OFF, selected by DIP SW 1-
5. See Chapter 9. for details.
– 30 –
Download from Www.Somanuals.com. All Manuals Search And Download.
8-2. Interface Circuit
8-2-1. RS-232C
Input (RXD, CTS)
D
TYPE
ONLY
Output (DTR, FAULT, TXD, RCH, RTS)
Figure 8-1. RS232-C Interface
8-2-2. Current Loop
Input (TTY-RXD, TTY-RXDR)
Output (TTY-TXD, TTY-TXDR)
Note: Resistance should be set so that Current Loop is restricted to the range of
10 ~ 20 mA.
Figure 8-2. Current Loop Interface
– 31 –
Download from Www.Somanuals.com. All Manuals Search And Download.
8-3. Setting of the DIP Switches
8-3-1. DIP-SW 1
Factory
setting
Switch
ON
OFF
1-1
1-2
1-3
1-4
1-5
1-6
1-7
1-8
ON
ON
ON
ON
ON
ON
ON
ON
Data transfer rate — see below (*1)
Stop bit 1
DTR MODE (1 BLOCK)
8 data bits
Stop bit 2
X-ON/X-OFF MODE
7 data bits
No parity
Odd parity
Parity checked
Even parity
(*2) DIP Switch 2-3 should
be set to ON when you
use a 2-color ribbon for
2-color printing.
(*1)
Baud rate
150
SW1-1
OFF
OFF
OFF
OFF
ON
SW1-2
OFF
OFF
ON
SW1-3
OFF
ON
OFF
ON
OFF
ON
ON/OFF
300
600
1200
2400
4800
9600
It should be set to OFF
when a monochrome
ribbon is used.
ON
OFF
OFF
ON
ON
ON
8-3-2. DIP-SW 2
Factory
setting
Switch
ON
OFF
International character set :
U.S.A
2-1
ON
FRANCE
2-2
2-3(*2)
2-4
Always ON
Monochrome Ribbon
CR Valid
ON
ON
ON
2-color Ribbon
CR Invalid
Note: DIP switches are only read by the
controller at power turn on. DIP
switch changes should be made
with power off, or after changing
switch setting, turn the power off
and on again.
Figure 8-3. Setting of DIP Switch
– 32 –
Download from Www.Somanuals.com. All Manuals Search And Download.
8-4. Jumper Setting
The serial interface is set to the RS-232C mode upon shipment from the factory.
When using in the 20mA current loop mode, it is necessary to set the jumpers.
The jumpers built into the Control Board allow for setting of functions shown in
the table. However, the Bottom Cover must be removed to perform this setting.
For setting the Jumper, disconnect the power source beforehand.
8-4-1. Removal of the Bottom Cover
D
TYPE
ONLY
Figure 8-4. Removal of the Bottom Cover
8-4-2. Setting of Jumper
Jumper
No.
Factory
Setting
Setting
Function
OPEN
RS-232C
J3
J7
SHORT
Current Loop
Selection of Current Loop
A-C
B-C
Output (between TTY-TXD and
TTY-TXDR) Signal Polarity
(inversion possible) Consult
STAR MICRONICS for details.
– 33 –
Download from Www.Somanuals.com. All Manuals Search And Download.
8-5. Connectors and Signals
Signal
Name
Pin No.
Direction
Function
1
2
GND
—
Frame Ground
This pin carries data from the printer.
(Return channel)
TXD
OUT
3
4
RXD
RTS
IN
OUT
This pin carries data to the printer.
This is SPACE when the printer power is ON.
This pin is SPACE when the computer is
ready to send data.The printer does not
check this pin.
This pin is SPACE when the computer is
ready to send data.The printer does not
check this pin.
5
6
CTS
DSR
IN
IN
—
7
8
GND
N/C
Signal ground.
Unused.
This pin is the return path for data
transmitted from the printer on the 20mA
current loop.
This pin carries data from the printer on the
20mA current loop.
9
TTY TXDR
TTY TXD
—
10
OUT
This pin is SPACE when the printer is ready
to receive data. This line carries the same
signal as pin 20.
11
RCH
OUT
12
13
N/C
GND
Unused.
Signal ground.
—
This is MARK when the printer is abnor-
mal. (Refer to Error Condition Alarm Mode
*1.) Or there is a paper error.
14
15 ~ 16
17
FAULT
N/C
OUT
Unused.
This pin is the return path for data transmit-
ted from the printer on the 20mA current
loop.
This pin is the return path for data trans-
mitted to the printer on the 20mA current
loop.
TTY TXDR
—
—
18
19
TTY RXDR
TTY RXD
This pin carries data to the printer on the
20mA current loop.
IN
This printer turns this pin SPACE when it is
ready to receive data.
Unused.
20
DTR
N/C
OUT
21 ~ 22
This pin is the return path for data trans-
mitted to the printer on the 20mA current
loop.
23
TTY RXDR
—
This pin carries data from the printer on the
20mA current loop.
This pin carries data to the printer on the
20mA current loop.
24
25
TTY TXD
TTY RXD
OUT
IN
– 34 –
Download from Www.Somanuals.com. All Manuals Search And Download.
Figure 8-5. D-Sub 25 Pin Connector
*1 Error Condition Alarm Mode
If an error condition is detected during operation, the printer will stop
printing and cause the FAULT signal to go MARK. All solenoides & motors
will be de-energized. It is necessary to turn the printer power off and on again
in order to recover from the alarm mode.
D
TYPE
ONLY
This printer can detect the following error coditions:
a. Motor Lock
b. Defective timing detector
c. Micro-proccessor out of program sequence
8-6. Interface Connections
For interface connections, refer to the instructions for interface of the host
computer. The following gives one basic example of connections.
Figure 8-6. Interface Connections
with D-Sub 25 Pin Connector to IBM PC
– 35 –
Download from Www.Somanuals.com. All Manuals Search And Download.
8-7. Peripheral Unit Drive Circuit
The Control Board of this unit is equipped with a circuit for driving a peripheral
unit (Paper Cutter, Take-Up Device, Cash Drawer, etc.)
The Control Board Connector (CN3) is used to connect the Peripheral Unit to the
DriveCircuit.WhenusingthiscircuitconnecttheperipheralunitcabletotheCN3
Connector (cable is not included). Use a cable with the following specifications:
Note: Do not run cable near devices generating large amounts of electrical
noise.
Figure 8-7. Cable Specifications
8-7-1. Cable Connection
Remove the printer Bottom Cover and connect the cable to the CN3 Connector.
Pass the cable around the control board as shown and through grommetted hole
in bottom cover. (Grommet may have to be cut)
– 36 –
Download from Www.Somanuals.com. All Manuals Search And Download.
D
TYPE
ONLY
Figure 8-8. Cable Connection
8-7-2. Peripheral Drive Circuit
Absolute Ratings (Ta = 25˚C)
Drive
Output
12V, MAX. 1A
Voltage Breakdown
100V
1A
D1
Peak Forward Current
Figure 8-9. Drive Circuit
Caution:
Do not use external power supply with peripheral drive circuit.
8-7-3. Control Codes
Codes for Drive Circuit control are ESC BEL n1 n2, BEL and FS. Refer to the
Control Codes in Chapter 5.
– 37 –
Download from Www.Somanuals.com. All Manuals Search And Download.
9. DATA STRUCTURE AND CONTROL
9-1. DTR Mode (1 BLOCK)
Controls Data Transfer by using DTR line as BUSY FLAG
(a)
(b) In case of Paper Empty
Paper Empty
Whenthepaperoutdetectorindicatesendofpaper, theprinterstopsprintingafter
amaximumoftwolinesofprintingorpaperfeed. TheprintergoesOFFLINEand
sets the DTR to “MARK” status immediately after occurrence of a paper empty.
It is necessary to install paper into the printer and press the ON LINE BUTTON
to light the ON LINE LAMP in order to recover from paper empty status.
Machine Error
Amachineerrormaybegeneratedbypaperjammingorwhentheprinterisunable
to print data. When a machine error occurs the printer stops printing. The printer
goes OFF LINE and sets the DTR to “MARK” status immediately after the
occurrence of Machine Error. It is necessary to turn the printer power off and on
again in order to recover from Machine Error.
– 38 –
Download from Www.Somanuals.com. All Manuals Search And Download.
9-2. X-ON/X-OFF Mode
The printer transmits an X-ON (Control Code; DC1, Hexadecimal Value; 11H,)
signal after power is turned on, if there is no printer error being generated. When
this signal is received by the host computer, the host computer transmits the data
to the printer. The X-ON signal is output intermittently every three seconds until
the host computer receives and responds to this signal.
The X-OFF (DC3, 13H) signal outputting begins when the amount of empty
space in the buffer becomes less than 256 bytes. When the computer receives the
X-OFFsignal, itwillhaltdatatransmissionassoonasitcan. Howeverevenatthis
time the printer can receive data until the buffer is completely full. An X-ON
signal is output when the contents of the buffer goes below 256 bytes. The
increase of the empty area in the buffer is caused by printing. If the computer
causes a buffer overflow, a flag bit in the status register will be set. (See Status)
The X-OFF signal will continue to be output at a 3-second interval until the data
buffer becomes near empty (less than 256 bytes).
– 39 –
Download from Www.Somanuals.com. All Manuals Search And Download.
Paper Empty
Whenthepaperoutdetectorindicatesendofpaper, theprinterstopsprintingafter
a maximum of two lines of printing or paper feed. The host computer can receive
theprinterstatusbytransmittinganENQcodetotheprinter.TheprintergoesOFF
LINEandsetstheDTRto“MARK”statusin5secondsafteroccurrenceofapaper
empty. It is necessary to install paper into the printer and press the ON LINE
BUTTON to light the ON LINE LAMP in order to recover from paper empty
status.
Machine Error
Amachineerrormaybegeneratedbypaperjammingorwhentheprinterisunable
toprintdata.Whenamachineerroroccurstheprinterstopsprinting.IntheX-ON/
X-OFF mode, the printer outputs an X-OFF signal immediately. At this time the
host computer can receive the printer status after transmitting an ENQ code to
printer. The printer goes OFF LINE and sets the DTR to “MARK” status within
5 seconds after the occurrence of Machine Error. It is necessary to turn the printer
power off and on again in order to recover from Machine Error.
STATUS
Parity
In DTR mode and X-ON/X-OFF mode parity check is done on vertical parity
only.
Framing Error
Framing Error occurs when SPACE signal is detected at STOP Bit time. Framing
error and vertical parity error will be indicated by printing “?”.
– 40 –
Download from Www.Somanuals.com. All Manuals Search And Download.
9-3. STX-ETX Mode
The start of the STX-ETX mode should occur with a totally empty print buffer.
This can be achieved by sending an ENQ code to the printer and checking the
status until the status code indicates an empty buffer. At that point, the STX code
is sent by the host computer followed by a data block. While receiving the data
block, the printer generates a horizontal parity check character. After the data
block is sent, the host computer sends an ENQ which causes the printer to return
2 characters, one would be the normal status character, and the second would be
the horizontal parity check character that was generated by the printer while the
data block was received.
The host computer checks the status character to determine if any vertical parity
errors or other errors occurred during block transmission, and checks the
horizontal parity character against a character generated in the host computer
while the data was transmitted. If there are no errors, ETX causes the buffer to be
printed, but if an error is detected, CAN code clears the buffer and the data is
transmitted again. Any control codes transmitted to the printer during the STX-
ETX mode will be ignored as control codes, but will be included in the check
character. This is done to prevent a control code received in error from causing
printing of erroneous data.
STATUS
Parity
Vertical and horizontal parity check is executed in STX-ETX mode.
Framing Error
Framing Error occurs when SPACE signal is detected at STOP Bit time. Framing
error or even vertical parity error will be indicated by printing “?”.
– 41 –
Download from Www.Somanuals.com. All Manuals Search And Download.
STX-ETX Mode Flow Diagram
– 42 –
Download from Www.Somanuals.com. All Manuals Search And Download.
10. CHARACTER CODE LIST
– 43 –
Download from Www.Somanuals.com. All Manuals Search And Download.
– 44 –
Download from Www.Somanuals.com. All Manuals Search And Download.
International Character Sets
– 45 –
Download from Www.Somanuals.com. All Manuals Search And Download.
11. WHEN POWER IS SUPPLIED BY THE USER
When printer power is supplied by the user rather than through the accessory
power source unit, please be careful of the following points.
+10%
–5%
Note 1: The power supply must be +12V
2A or above. An electrolytic ca-
pacitor (C = 4700µF/25V to 6800µF/25V) must be connected across
the output of the power supply.
Note 2: A DC power plug is available as an option.
GND
+12V
GND
Reference: Design the power supply referring to the power supply circuit shown
below.
Note: A line noise filter must be used to prevent line transients from passing
through power supply. Filter design to be determined by environmental
noise requirements.
– 46 –
Download from Www.Somanuals.com. All Manuals Search And Download.
VAC
VDC
IAC
C1
14V
12V
C2
ZD1
C3
100 ~ 200µF/25V
VZD = 14V (1W)
4700 ~ 6800µF/25V
2SD633 (TOSHIBA)
+10%
–5%
2 ~ 3A
6800µF/25V
TR1
Other parameters may be determined by user.
Figure 11-1. Power Supply Reference Circuit
– 47 –
Download from Www.Somanuals.com. All Manuals Search And Download.
ELECTRONIC PRODUCTS DIVISION
STAR MICRONICS CO., LTD.
536 Nanatsushinnya, Shimizu, Shizuoka
424-0066 Japan
OVERSEAS SUBSIDIARY COMPANIES
STAR MICRONICS AMERICA, INC.
70-D Ethel Road West, Piscataway, NJ 08854 U.S.A
Tel: 732-572-9512, Fax: 732-572-5095
Tel: 0543-47-0112, Fax: 0543-48-5271
STAR MICRONICS U.K. LTD.
Please access the following URL
Star House, Peregrine Business Park, Gomm Road,
High Wycombe, Bucks, HP 13 7DL, U.K.
Tel: 01494-471111, Fax: 01494-473333
for the lastest revision of the manual.
1999.05.30
Printed in Japan, 80870185
Download from Www.Somanuals.com. All Manuals Search And Download.
|