View
221
Download
1
Category
Tags:
Preview:
DESCRIPTION
control impressora
Citation preview
CONTROL BOARDBD300FD-24-BX
SPECIFICATIONAND
OPERATION MANUAL
NOTICE• All rights reserved. Reproduction of any part of this manual in any form whatsoever,without
STAR's express permission is forbidden.
• The contents of this manual are subject to change without notice.
• All efforts have been made to ensure the accuracy of the contents of this manual at the timeof going to press. However, should any errors be detected, STAR would greatly appreciatebeing informed of them.
• The above notwithstanding, STAR can assume no responsibility for any errors in this manual.
©Copyright 1991,2000 Star Micronics Co., LTD.
CONTENTS
1. GENERAL DESCRIPTION .............................................................................................. 11.1 Overview ................................................................................................................... 11.2 Features ..................................................................................................................... 1
2. MAIN SPECIFICATIONS ................................................................................................ 2
3. CONFIGURATION ............................................................................................................ 33.1 Block Diagram .......................................................................................................... 33.2 Connector Assignment Diagram ............................................................................... 53.2 Connector Specifications and Signal Names ............................................................ 5
3.3.1 CN1 (Print Head Drive Signals) .................................................................. 53.3.2 CN2 (Printer Control Signals) ..................................................................... 63.3.3 CN3 (Paper Out Signals) ............................................................................. 63.3.4 CN5 (Paper Winder Signals) ....................................................................... 73.3.5 CN6 (Paper Cutter Signals) ......................................................................... 73.3.6 CN7 (Peripheral Drive Signals)................................................................... 83.3.7 CN8 (Serial Interface) ............................................................................... 103.3.8 CN9 (Optional Interface Board) ................................................................ 123.3.9 CN10 (Control Panel Signals) ................................................................... 133.3.10 CN1l (Power Supply) ............................................................................... 16
4. CONNECTION AND SETTINGS .................................................................................. 174.1 Connecting the Power Supply and Connectors ....................................................... 174.2 INterface Connections ............................................................................................. 184.3 Setting the Jumper ................................................................................................... 184.4 Setting the DIP switches ......................................................................................... 19
4.4.1 DIP switch1 ............................................................................................... 194.4.2 DIP switch2 ............................................................................................... 194.4.3 DIP switch3 ............................................................................................... 204.4.4 DIP switch4 ............................................................................................... 20
5. INTERFACE ..................................................................................................................... 215.1 Interface Specifications ........................................................................................... 215.2 Interface Timing ...................................................................................................... 21
5.2.1 RS-232C .................................................................................................... 215.2.2 Current Loop (Option) ............................................................................... 225.2.3 RS-422A Serial I nterface (Option) ........................................................... 22
6. CONTROLCODES .......................................................................................................... 236.1 Control Codes Used for Character Setting .............................................................. 236.2 Control Codes Used for Line Spacing .................................................................... 286.3 Control Codes Used for Page Layout ...................................................................... 296.4 Control Codes Used for Graphics Printing ............................................................. 326.5 Control Codes Used for Download Characters ....................................................... 366.6 Control Codes Used for Peripheral Units ................................................................ 396.7 Other Control Codes ............................................................................................... 40
7. DATA STRUCTURE ........................................................................................................ 447.1 DTR Mode .............................................................................................................. 447.2 X-ON/X-OFF Mode ................................................................................................ 467.3 STX-ETX Mode ...................................................................................................... 48
8. PC BOARD, CIRCUIT DIAGRAM, PARTS LIST ...................................................... 508.1 PC Board Dimension Drawing................................................................................ 508.2 Component Layout .................................................................................................. 518.3 Circuit Diagram ....................................................................................................... 528.4 Parts List .................................................................................................................. 56
9. APPENDIX ................................................................................................................... 599.1 Control Code List .................................................................................................... 599.2 Character Code Table............................................................................................... 62
9.2.1 U.S.A & Europe ......................................................................................... 629.2.2 IBM Character Set #1 ................................................................................ 649.2.3 IBM Character Set #2 ................................................................................ 669.2.4 Japan .......................................................................................................... 689.2.5 International Character Sets ...................................................................... 70
– 1 –
1. GENERAL DESCRIPTION1.1 Overview
1.2 Features
The BD300FD-24-BX Control board is a dedicated circuit board designed for driving the MP300 series printer
mechanisms. It consists of the control circuits that control the motor, print head, and other mechanisms; an
interface circuit for exchanging signals with a personal computer or other host; and other circuits. Its interface
conforms to the RS-232C. By simply providing a power supply, the user can employ a personal computer or
other host to easily drive the printer mechanism.
(1) Model Name Notation
(2) Applicable Printer Mechanisms
Applicable Printer Mechanisms Remarks
MP312F-24-A 40 columns
MP312FV-24-A 40 columns, Validation functions provided
MP342F-24-A 40 columns, Paper cutter provided
MP311F-24-A 28 columns
MP341F-24-A 28 columns, Paper cutter provided
(1) The built-in serial intergface conforms to tne RS-232C.
(2) The resident data buffer has a storage capacity of about 4 Kbytes, enabling data to be received even
while printing.
(3) Commands are available for printing expanded, inverted, emphasized, highlighted characters, and so on.
There is thus a wide selection of characters to choose.
B D 3 0 0 F D - 24 - B X
Voltage
24: 25VDC, 5VDC
Interface and Connector type
C: Ser ia l Interface D-Sub 25pin Connector
Paper feeding method for applicableprinter machanism
F: Fr ict ion feed
– 2 –
2. MAIN SPECIFICATIONS
Applicable printers See “(2) Applicable Printer Mechanisms” in section 1.1.
Interface Conforms to the RS-232C,20mA Current Loop (Optional),RS-422A (Optional)
Power supply 25VDC, 5VDC
Configuration See the block diagram in Fig. 3-1.
No. of characters See section 9.2, “Character Code Tables.”
96 ASCII characters, 50 IBM block graphics
64 special characters, 64 katakana (Japanese) characters
64 block graphics, 12 international characters
64 IBM special characters, 10 user-definable (download) characters
Font matrices Normal characters 5 × 9 7 × 9 (half-dot)
Block graphics 6 × 6 5 × 6
IBM block graphics 6 × 12 5 × 12
No. of commands 68 types (see Chapter 6)
External dimensions 150 × 166 mm
Weight approx. 160 g (cable assembly excluded)
Operating environment Temperature 0˚C to +50˚C
Humidity 10% to 80% RH (at +40˚C without condensation)
Storage environment Temperature -20˚C to +70˚C
Humidity 5% to 95% RH (at +40˚C without condensation)
– 3 –
3. CONFIGURATION3.1 Block Diagram
(1) Control Board
The data output from the host computer passes through the control board’s interface then is stored in
RAM by the CPU.
Next, the CPU reads the data stored in RAM and edits it according to the program stored in ROM.
When editing is completed, the CPU outputs various drive signals to the printer mechanism to execute
printing.
[Description of each component]
a. CPU TMP90C041: CMOS-structured single-chip microcomputer
Performs overall control of the printer.
b. EPROM 27256: 32 Kbytes
Stores the program used for control by CPU.
c. RAM 6264: 8 Kbytes
Is used as the stack area and work area by the CPU and as the data buffer.
d. Serial interface circuit
Transfers serial data with the host computer.
e. Gate array
Performs input, output, and conversion of various signals.
f. Driver
Converts the signals output from the CPU or gate array into drive signals to drive the printer
mechanism.
Fig. 3-1 Block Diagram
Control panel board
CPU
Control board
Data (from host computer)
Serialinterface Driver
Gate array
EPROM 32KB
RAM 8KB
Driver
Paper Out detector
25VDC 5VDC
Print head
PeripheralUnit
Carriage motor
Paper feed motor
Detectors
Printer mechanism
– 4 –
(2) Control Panel
The control panel is used to manually operate the printer.
(3) Printer Mechanism
The printer mechanism consists of the print head, carriage motor, paper feed motor, and detectors.
(4) Paper Out Detector
The paper out detector detects whether a paper is set or not.
(5) Peripheral Unit
After receiving the driving signal from the control board, peripheral units (such as cash drawers) are
activated.
– 5 –
Board connector HLEM14S-1 [FCI]
Applicable cable set Cable Unit 14 × 265 SP312 (Optional)
3.3 Connector Specificarions and Signal Names
3.3.1 CN1(Print Head Drive Signals)
3.2 Connector Assignment Diagram
Cable SMCD-14× 265-AD×10-P1.25-S6-M-K, UL2896 (Sumitomo Electric Industries, Ltd.)
Pin No. Signal Name Function Pin No. Signal Name Function
1 HD #2 Head solenoid 2 8 HD CMN3 Head common 3
2 HD #4 Head solenoid 4 9 THERMISTOR Thermistor
3 HD #1 Head solenoid 1 10 HD #9 Head solenoid 9
4 HD #6 Head solenoid 6 11 THERMISTOR Thermistor
5 HD CMN 1 Head common 1 12 HD #5 Head solenoid 5
6 HD #8 Head solenoid 8 13 HD #3 Head solenoid 3
7 HD CMN 2 Head common 2 14 HD #7 Head solenoid 7
Fig.3-3 Cable Unit 14 × 265 SP312 (Optional)
Fig.3-2 Connector Assignment Diagram
Printer mechanism Control board side
12
14
265±5 mm
Note: An optional U14 × 100 BD300F 100-mm long cable or U14 × 330 BD300F 330-mm long cable isalso available.
6CN7
8
1SW3
CN941
J3
J1 J2
SW4
1
1
8
1 1SW1
8
1SW2 24
SW6SW5CN8
25
8
1CN10
CN5
1 2
CN3
11
3
19 1
14
CN2CN1
CN114
1
CN65
1
Cable Unit 8 × 510C BD300F
(Option)
Cable Unit 19 × 265 SP312(Option)
or Cable Unit 19 × 100 BD300F(Option)
or Cable Unit 19 × 330 BD300F(Option)
Cable Unit 14 × 265 SP312(Option)
or Cable Unit 14 × 100 BD300F(Option)
or Cable Unit 14 × 330 BD300F(Option)
Cable Unit 4 × 510C BD300F
(Option)
– 6 –
Board connector 5483-03A [Molex]
Applicable cable set Not supplied with this unit.
3.3.2 CN2(Printer Control Signals)
Board connector HLEM 19S-1 [FCI]
Applicable cable set Cable Unit 19 × 265 SP312 (Optional)
Cable SMCD-19 × 265-AD× 10-P1.25-S6-M-K, UL2896 (Sumitomo Electric Industries, Ltd)
Fig. 3-4 Cable Unit 19 × 265 SP312 (Optional)
Pin No. Signal Name Function Pin No. SignalName Function
1 LF-ø1 LF motor ø1 11 N.C. Not connected
2 LF-ø2 LF motor ø2 12 +5V +5V
3 LF-ø3 LF motor ø3 13 H.P.SIG Home position signal
4 LF-ø4 LF motor ø4 14 VALIDATION Validation signal*l
5 LF-CMN A LF motor common A 15 N.C. Not connected
6 LF-CMN B LF motor common B 16 TIMING SIG 1 Timing signal 1
7,8 MOTOR (+) CR motor (+) 17 TIMING SIG 2 Timing signal 2
9,10MOTOR (-) CR motor (-) 18 S-GND Signal ground
(M-GND) (Motor Ground) 19 N.C. Not connected
*1 The Validation signal is only effective if the MP312FV-24-A Printer Mechanism (which is equipped with
Validation functions) has been mounted.
3.3.3 CN3 (Paper Out Signals)
Pin No. Signal Name Function
1 N.C. Not connected
2 PAPER OUT SIG 1 Paper out signal
3 GND Signal ground
Fig. 3-5 Paper Out Detector Cable
Note: An optional U19 × 100 BD300F 100-mm long cable or U19 × 330 BD300F 330-mm long cable isalso available.
1
3Housing 5480-03A (Molex)Terminal 5479-PBT/PBTZ (Molex)
CLOSE no paper is set
Printer mechanism Control board side
123
19
265 5 mm+-
– 7 –
3.3.4 CN5 (Paper Winder Signals)
Board connector 5483-02A [Molex]
Applicable cable set PW300-24 (optional)
Fig. 3-6 PW300-24 Rewinder (Optional)
Pin No. Signal Name Function
1 REWINDER (+) Paper winding (+)
2 REWINDER (-) Paper winding (-)
3.3.5 CN6 (Paper Cutter Signals)
These signals only effect the Printer Mechanism which is equipped with an auto cutter, MP342F-24-A and
MP341F-24-A.
Board connector 5483-05A [Molex]
Applicable cable set Cable Unit 5 × 195 SP342 (Optional)
Fig. 3-7 Cable Unit 5 × 195 SP342 (Optional)
Pin No. Signal Name Function
1 F/P POSIRION SIG F/P Position signal
2 RESET SIG Reset signal
3 GND Ground
4 MOTOR (-) Motor (-)
5 MOTOR (+) Motor (+)
12
Control board side
PW300-24
Housing 5480-02 (Molex)Terminal 5479 PBT/PBTZ (Molex)
Rewinder (option)
– 8 –
3.3.6 CN7 (Peripheral Drive Signals)
A drive circuit for driving peripheral units (such as cash drawers) is featured on the control board. A modular
connector for driving peripheral unit is featured on the output side on the drive circuit. When using this circuit,
connect the cable for the peripheral unit. (Cables must be prepared by the user.)
Board connector 6-P Modular Jack Connector
Applicable cable set Cables must be prepared by the user
Use cables which meet the following specifications.
Fig. 3-8 Cable specifications
Pin No. Signal Name Function
1 F-GND Frame ground
2 PERIPHERAL EXT 1 Peripheral unit 1 (-)
3, 4 PERIPHERAL COM Drive Common (+24V)
5 PERIPHERAL EXT 2 Peripheral unit 2 (-)
6 COMPULSION SIG Compulsion signal
– 9 –
[Drive output 24V, max. 1.0A]
Notes:
1. Peripheral units 1 and 2 cannot be driven simultaneously.
When the printer has been driven continuously, set the drive duty to maximum 20%.
2. The status of the compulsion switch is available in printer as status data. (Refer to “Chapter 7. Data
structure”.)
3. Resistance values of coils L1 and L2 are minimum 24Ω.
4. Absolute maximum rating of diodes D1 and D2 (Ta = 25˚C)
Average rectified current I0 = 1A
Maximum forward surge current (60Hz, sine wave 1 cycle) IFSM = 40A
5. Absolute maximum rating of transistors TR1 and TR2 (Ta = 25˚C)
Collector current Ic = 2A
Collector loss Pc = 1.2W
6. Shield of cable must be connected to frame of peripheral device to provide static (ESD) drain.
Fig. 3-9 Drive circuit
– 10 –
3.3.7 CN8 (Serial Interface)
Board connector D-Sub 25-pin connector
Applicable cable Not supplied with this unit.
RS-232C
Pin no. Signal name I/O Functiondirection
1 F-GND - Frame ground
2 TXD OUT Transmitted data
3 RXD IN Received data
4 RTS OUT Data transmission request signal. This is always “SPACE” when
the control board is turned on.
5 CTS IN This signal changes to “SPACE” when host computer is ready to
transmit data.(In this instance, the control board does not check
this signal.)
6 N.C. Not connected
7 S-GND - Signal ground.
8 N.C. Not connected.
9 to 10 OP-IF This pin is used when using the optional interface board.
11 RCH OUT This signal changes to “SPACE” when the control board is ready
to receive data. (The signal line is same as pin 20.)
12 N.C. Not connected.
13 S-GND - Signal ground
14 FAULT OUT When control board error occurs (such as paper out, mechanical
error), this signal is set to “MARK”.
15 Multi-printer TXD OUT Diode coupled TXD
16 Multi-printer DTR OUT Diode coupled DTR
17 to 19 OP-IF This pin is used when using the optional interface board.
20 DTR OUT Data terminal ready signal. When the control board is ready to
receive data, this signal changes to “SPACE”.
21 to 22 N.C. Not connected
23 to 25 OP-IF This pin is used when using the optional interface board.
Fig. 3-10 Serial interface connector
14
1
25
13
– 11 –
When attaching an optional board 20mA current loop or RS-422A to the connector CN9, pins No.9-10, 17-
19 and 23-25 have the following functions.
20mA current loop (option)
Pin no. Signal name I/O Functiondirection
9 TTY TXDR - Indicates the ground side of the data signal of 20mA current loop.
10 TTY TXD OUT Transmitted data of 20mA current loop.
17 TTY TXDR - Indicates the ground side of the data signal of 20mA current loop.
18 TTY RXDR - Indicates the ground side of the data signal of 20mA current loop.
19 TTY RXD IN Received data of 20mA current loop.
23 TTY RXDR - Indicates the ground side of the data signal of 20mA current loop.
24 TTY TXD OUT Transmitted data of 20mA current loop.
25 TTY RXD IN Reception data of 20mA current loop
Pin no. Signal name I/O Functiondirection
9 SD(+) OUT Transmitted data
10 SD(-) OUT Transmitted data
17 RD(+) IN Received data
18 RD(-) IN Received data
19 CS(+) IN When the host computer is set to stand by for data transmission, this
signal changes to “SPACE”.
(In this instance, the printer does not check the signal.)
23 CS(-) IN When the host computer is set to stand by for data transmission, this
signal changes to “SPACE”.
(In this instance, the printer does not check the signal.)
24 RS(+) OUT Data transmission request signal. When the printer is ready to
receive data, this signal changes to “SPASE”.
25 RS(-) OUT Data transmission request signal. When the printer is ready to
receive data, this signal changes to “SPASE”.
RS-422A (option)
– 12 –
Board connector IL-W-24S-SD[JAE]
Applicable cableBD 300L (20mA current loop)
BD 300K (RS-422A)
3.3.8 CN9 (Optional Interface Board)
When using the optional 20mA current loop interface or the RS-422A interface, the optional interface board
must be mounted to the control board.
The following is the method of mounting the interface board to the control board.
1 Connect the optional interface board connector to connector CN9 on the control board.
2 At the same time, insert the plastic board support into thr hole on the interface board.
3 Switch SW5 and SW6 on the control board from A-C to B-C.
4 When using the optional 20mA current loop interface, the optional interface board mst be munted to the
DIP switch 3-5 on the control board.
When the DIP switch is ON...SW1 is B-C
Wheb the DIP switch is OFF...SW1 is A-C
Fig. 3-11 Installing the optional interface board
Fig. 3-12 Switch SW5 and SW6 (BD300L)
Optional board support
CN9
Control board
Optional interface board
SW6
SW5
– 13 –
3.3.9 CN10 (Control Panel Signals)
Board connector B8B-PH-K J.S.T
Applicable cable set Cable Unit 8 × 510C BD300F (Optional)
Fig.3-13 Cable Unit 8 × 510C BD300F (Optional)
Pin No. Signal Name Function Pin No. Signal Name Function
1 +5V +5V 5 ON LINE LAMP On line lamp
2 ON LINE SWOn-line/Off-line 6 FEED SW Paper feed switch
selector switch 7 N.C. Not connected
3 POWER LAMP Power lamp 8 GND Ground
4 ALARM LAMP Alarm lamp
The control panel circuit is to be created by the user. Fig. 3-14 shows a sample diagram of the control panel
circuit.
In case a control panel circuit is installed, the functions described on the following page become available.
R1 to R3 270Ω resistor, l/4W
LED1,3 Diode LT1E21A (SHARP)
LED2 Diode LT1D1lA (SHARP)
SW l, 2 Pushbutton switch SKHHAL (ALPS)
Fig. 3-14 Sample Diagram of a Control Panel Circuit
(1) ON LINE switch
This pushbutton switch sets the printer to either on-line or off-line status. When on-line status is entered,
the ON LINE lamp lights.
1
8
Control board side Control panel side
500 - 0 mm+10
10-0 mm+2
1
3R1 LED1
+5V
GND
4R2 LED2
5R3 LED3
POWER LAMP
ALARM LAMP
ON LINE LAMP
2SW1
ON LINE SW
6SW2
8
FEED SW
7
– 14 –
(2) FEED switch
When this pushbutton switch is pressed once briefly (for 0.5 seconds or less), the paper is fed forward
by one line. When it is held down continuously, the paper is fed forward continuously until the switch
is released.
This operation can be performed while the printer is in either on-line or off-line status.
(3) FEED switch + POWER ON (The FEED switch is held down while the printer is turned on)
A self-test pattern is printed to check the printer’s printing functions. The ROM Version No., DIP switch
settings, interface settings, and characters are printed in sequence.
If the FEED switch is pressed at the time self-test printing is completed, only the printing of the
characters can be repeated.
In the case of auto cutter equipped type printer mechanism (MP342F-24-A and MP341F-24-A), partial
cutting and full cutting will be repeatedly performed after completed character printing.
Fig. 3-15 Sample Printout of the Self-Test Pattern
(When using printer mechanism MP312F-24-A)
(4) ON LINE switch + POWER ON(The ON LINE switch is held down while the printer is turned on)
When this mode is activated, all of the data sent from a personal computer or other connected host will
be printed as hexadecimal codes.
By sending a program you have written to the printer, you can check whether or not the control codes
are being properly received by the printer.
– 15 –
If the final line of data does not fill an entire line, the final line of data will not be printed. That line will
be printed, however, when the ON LINE switch is pressed and the printer enters off-line status. To cancel
this mode, turn off the printer.
Fig. 3-16 Sample Hexadecimal Dump Printout
(When using printer mechanism MP312F-24-A)
(5) FEED switch + ON LINE switch + POWER ON (Turn the power on while holding both the FEED and
ON LINE switches depressed.)
This operation clears the printer buffer. (The buzzer gives two short beeps.)
When DIP switch 1-7 of this board is set to ON (which is the factory presetting), the RAM back-up
function operates to maintain the data in the data buffer, even if the power for the board is shut off due
to power failure, etc.
However, when the board power is shut off for more than 10 hours, the data content will become unstable
and its content could degenerate and become unusable in the worst instances. For this reason, when the
board power is turned off for more than 10 hours, perform the above operation to clear the data in the data
buffer.
Note that the data in the buffer can also be cleared by control code < CAN >.
(6) ON LINE switch + FEED switch (In off-line status, the ON LINE switch is held down while the FEED
switch is pressed)
While these two switches are pressed, the paper is fed forward in units of n/72th inch each.
(7) Indicator Lamps
The seven states described in the following table are indicated by the status of the POWER, ALARM,
and ON LINE lamps.
Printer Status POWER Lamp ALARM Lamp ON LINE Lamp
1 Power is on ON OFF ON
2 On-line status ON OFF ON
3 Off-line status ON OFF OFF
4 Validation enabled ON OFF Flashing
5 Mechanical error ON Flashing OFF
6 CPU error ON ON ON
7 Power is off OFF OFF OFF
– 16 –
a. Mechanical error
During operation of the printer mechanism, if either malfunction listed below is detected, a mechanical
error is regarded as having occurred, the printer mechanism stops operating, and the FAULT signal
assumes “mark” status. To cancel a mechanical error, turn the power off and then back on or press the
ON LINE switch, after the problem is corrected.
[Malfunctions of the printer mechanism]
• Lock-up of the carriage motor
• Malfunction of the timing detector (Timing signals are not generated)
• Signal timing error of the auto cutter
Even while in the status of no RAM back up with DIP SW1-7, the RAM is not cleared when power is
turned OFF. Printing resumes from the line being printed when the mechanism stopped.
b. CPU error
If operation of the CPU hangs up due to external noise or some other reason, the control board stops
operating. To cancel the CPU error state,the printer must be turned off then back on again.
3.3.10 CN11 (Power Supply)
Board connector 5483-04A [Molex]
Applicable cable set Cable U4 × 510C BD300F (Optional)
Fig. 3-17 Cable U4 × 510C BD300F (Optional)
PinNo. Simal Name Function
1 +25V +25V power supply
2 M-GND Ground
3 +5V +5V power supply
4 S-GND Signal ground
Supply voltage specifications
Voltage Average Current Peak Current
+25V + 5.0% 1.65A 3.5A
+5V + 2.5% 0.75A 1.2A
Note: Connect a minumum 3300 µF electrolytic capacitor to the 25 V outputs and a munimum 220 µF
electrolytic capacitor to the 5 V outputs as back-up capacitors.
1
4
Control board
500 - 0 mm+10
10-0 mm+2
– 17 –
4. CONNECTION AND SETTINGS4.1 Connecting the Power Supply and Connectors
To connect a printer mechanism, power supply, and personal computer or other host computer to the control
board, use the optional cables to perform connection as shown in the figure below.
Fig. 4-1 Connecting the Power Supply and Connectors
6CN7
1
1
1
24
CN8
25
CN5
1 2
CN3
1 13
19 1CN2CN1
CN114
1
Cable Unit 8 × 510C BD300F
[Option]
Cable Unit 4 × 510C BD300F
(Option)
Cable Unit 14 × 265 SP312F (Option)
5
1CN6
Optional interface board CN9
Connect with Auto cutter equipped printer mechanism
1
8
CN10
14
Personal computer etc.
Peripheralunit
To Power Supply
Cable Unit 5 × 195 SP342F
Cable for Auto cutter equipped printer mechanism
Printer mechanism
Rewinder
(Option)
Cable Unit 19 × 265 SP312F (Option)
To control panel board
To paper out detector
8
1SW3
41
J3
J1 J2
SW4 8
1SW1
8
1SW2
SW6SW5
– 18 –
4.3 Setting the Jumper
Set the jumpers J1 to J3 to the printer mechanism.
They are set OPEN in factory setting.
Printer mechanism J1 J2 J3
MP312F-24-AOPEN OPEN OPEN
MP312FV-24-A
MP311F-24-A SHORT OPEN OPEN
MP342F-24-A OPEN OPEN SHORT
MP341F-24-A SHORT OPEN SHORT
Please refer to fig. 3-2 for jumper locations.
Setting
OPEN
SHORT
4.2 Interface Connections
The following is a basic example of interface connections. (For interface connections, refer to the specifica-
tions for the respective interface.) IBM PC type serial port is shown as example.
Fig. 4-2 Example of interface connections for IBM PC (RS-232C)
Board Side
ShieldF-GND
TXD
RXD
RTS
CTS
1
2
3
4
5
S-GND
DTR
7
20
IBM PC Side
1 F-GND
2 TXD
3 RXD
4 RTS
5 CTS
6 DSR
7
20
S-GND
DTR
FAULT 14 8 DCD
DSR 6
Solder
– 19 –
4.4 Setting the DIP Switches
U.S.A. France Germany U.K. Denmark Sweden Italy Spain
2-6 ON OFF ON OFF ON OFF ON OFF
2-7 ON ON OFF OFF ON ON OFF OFF
2-8 ON ON ON ON OFF OFF OFF OFF
Before changing the setting of any DIP switch, make sure to first turn off the power at both the controller board
and host computer.
When shipped from the factory, all DIP switch bits are set to ON.
4.4.1 DIP Switch 1Function ON OFF
1-1 (Not used) (Leave ON)
1-2 (Not used) (Leave ON)
1-3 Control code CR Disabled Enabled
1-4 When turning the DC1, DC3 mode Select Deselect
power on Addressable mode *1 Deselec Select
1-5 Setting the paper feed length l/6-inch l/8-inch
1-6 Setting the buffer size 4 K-bytes 256 bytes
1-7 RAM back up YES NO
1-8 Paper out detecion function Valid Invalid
*1 The addressable mode is valid only when optional RS-422A serial interface is mounted.
4.4.2 DIP Switch 2
Function ON OFF
2-1Character code table See the table below
2-2
2-3 (Not used) (Leave ON)
2-4 Paper widthMP312F(V), MP342F 3.25, 3.0 inches 2.25 inches
MP311F, MP341F 3.25, 3.0 inches
2-5 (Notused) (Leave ON)
2-6
2-7 International character set See the table below
2-8
U.S.A. & Europe IBM #1 IBM #2 Japan
2-1 ON OFF ON OFF
2-2 ON ON OFF OFF
International character set
Character code table
– 20 –
4.4.3 DIP Switch 3
*1 This mode is only effective in case the paper cutter printer mechanism MP342F-24-A and MP341F-24-A has been mounted and the J3 jumper is in SHORT status (see section 4.3,“Setting the Jumper”).When auto cutter control mode is enabled, the auto cutter performs a full cut in case a paper feed instructionspecifying continuous feed for 7/6 inches or more is issued.
ON OFF
3-1
3-2 Data transfer rate See the table below
3-3
3-4J3 OPEN (Not used) (Not used)
J3 SHORT Auto cutter control mode disabled*1 Auto cutter control mode enabled*1
3-5 DTR mode X-ON/X-OFF mode
3-6 8-data bit 7-data bit
3-7 No parity check Parity check
3-8 Odd parity Even paeity
Baud rate 3-1 3-2 3-3
150 bps OFF OFF OFF
300 bps OFF OFF ON
600 bps OFF ON OFF
1200 bps OFF ON ON
2400 bps ON OFF OFF
4800 bps ON OFF OFF
9600 bps ON ON ON/OFF
4.4.4 DIP Switch 4
Function DC1,CD3 Addressable mode *2 DC1,DC3
Switch invalid mode #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11 #12 #13 #14 valid mode
4-1 ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF ON OFF
4-2 ON ON OFF OFF ON ON OFF OFF ON ON OFF OFF ON ON OFF OFF
4-3 ON ON ON ON OFF OFF OFF OFF ON ON ON ON OFF OFF OFF OFF
4-4 ON ON ON ON ON ON ON ON OFF OFF OFF OFF OFF OFF OFF OFF
*2: The addressable mode is valid only when an optional RS-422A serial interface is mounted.
For more details, see the description of the DC1 and DC3 codes in Chapter 6,“CONTROL CODES.”
– 21 –
1. Data transmission method: Asynchronous serial interface
2. Baud rate: Selectable from 150, 300, 600, 1200, 2400, 4800,
9600 bps (Refer to “4.4 DIP Switch Setting”.)
3. Word length Start bit: 1 bitData bit: 7 or 8 bits (selectable. Refer to “4.4 DIPSwitch Setting”.)Parity bit: Odd, even or none (selectable. Refer to“4.4 DIP switch setting”.)Stop bit: 1 or 2 bit length
4. Signal polarity RS-232C (Standard feature)MARK: Logic“1” (-3V to -15V)SPACE: Logic “0” (+3V to +15V)
Current loop (oprional)MARK: Logic “1” (current ON)SPACE: Logic“0” (current OFF)
RS-422A (optional)MARK: Logic“1”
A is -0.2V or less than BSPACE: Logic “0”
A is 0.2V or more than B
5. INTERFACE5.1 Interface Specifications
5.2 Interface Circuit
5.2.1 RS-232C
Fig. 5-2 RS-232C Interface Circuit
Printer
Input (RXD, CTS)
75189 or equivalent
Host computer
Printer
75188 or equivalent
Host computer
Output (DTR, FAULT, TXD, RCH, RTS)
Fig. 5-1 Data Format
MARK "1"SPACE "0"
A B
b0 b1 b2 b3 b4 b5 b6 (b7)
C D
ABCD
: Start bit: Data bit: Parity bit: Stop bit
– 22 –
5.2.2 Current Loop (Option)
Note: Adjust “R” so that the loop current is set within 10 to 20mA
Fig. 5-3 Current Loo Intergace Circuit
5.2.3 RS-422A Serial Interface (Option)
Fig. 5-4 RS-422A INterface Circuit
Printer R
+VHost computer
Input (TTY-RXD, TTY-RXDR)
Printer R
+VHost computer
Output (TTY-TXD, TTY-TXDR)
Printer( )
( )
Host computer
Printer Host computer
Input (RD, RS)
Output (SD, CS)
( )
( )
– 23 –
Select international character set
< ESC > “R” n
(lB)H (52)H n
(00)H n (08)H
Selects the international character set corresponding to the value set for n.
n = (00)H:U.S.A. (03)H: England (06)H: Italy
(01)H: France (04)H: Denmark (07)H: Spain
(02)H: Germany (05)H: Sweden (08)H: Japan
The default international characters can also be set with DIP switches, however,
setting by control code takes priority over setting by DIP switches.
Refer to 9.2.5 ”Code Table” in Chapter 9.
Select IBM character set #2.
< ESC > “6”
(lB)H (36)H
Selects IBM character set #2.
This code is only valid when the character code table set by DIP switches 2-1 and
2-2 is IBM character set #1 or #2.
Select IBM character set #1.
< ESC > “7”
(lB)H (37)H
Selects IBM character set #1.
This code is only valid when the character code table set by DIP switches 2-1 and
2-2 is IBM character set #1 o r #2.
6. CONTROL CODES6.1 Control Codes Used in Character Setting
DEFINITION RANGE
FUNCTION
CODE
DEFINITION RANGE
OUTLINE
FUNCTION
CODE
OUTLINE
Note
FUNCTION
CODE
OUTLINE
Note
– 24 –
Printer mechanism DIP Switch 2-4 ON OFF
MP312F-24-A Maximum no. of print columns 40 28MP312FV-24-A
MP342F-24-A CPI(Characters Per Inch) 15.4
MP311F-24-A Maximum no. of print columns 28 28
MP341F-24-A CPI (Characters Per Inch) 12.2
Select font matrix 7 × 9 (half-dots)
< ESC > “M”
(1B)H (4D)H
Selects font matrix 7 × 9 (half-dots).
The maximum number of print columns varies to the printer mechanism and the
DIP swith 2-4 (paper width) setting as follows:
This code valid only when received at the beginning of a line.
When the power is turned on, this code is automatically selected.
Select font matrix 5 × 9 (2 pulses-1 dot)
< ESC > “P”
(1B)H (50)H
Selects 5 × 9 font matrix. where 1 dot corresponds to 2 pulses of timing signal 1.
The maximum number of print columns varies to the printer mechanism and the
DIP switch 2-4 (paper width) setting as follows:
Printer mechanism DIP Switch 2-4 ON OFF
MP312F-24-A Maximum no. of print columns 33 23MP312FV-24-A
MP342F-24-A CPI (Character sPer Inch) 12.8
MP311F-24-A Maximum no. of print columns 23 23
MP341F-24-A CPI (Characters Per Inch) 10.2
This code valid only when received at the beginning of a line.
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
– 25 –
Select font matrix 5 × 9 (3pulses-1 dot)
< ESC > “ : ”
(lB)H (3A)H
Selects 5 × 9 font matrix, where 1 dot corresponds to 3 pulses of timing signal 1.
The maximum number of print columns varies to the printer mechanism and the DIP
switch 2-4 (paper width) setting as follows :
Printer mechanism DIP Switch 2-4 ON OFF
MP312F-24-A Maximum no. of print columns 22 15MP312FV-24-AMP342F-24-A CPI (Characters Per Inch) 8.5
This code valid only when received at the baginning of a line.
This code will be ignored if the printer mechanism MP311F-24-A or MP341F-24-
A is used.
Select expanded character mode
< SO >
(0E)H
Data following this code is printed in double-width characters.
Same as < ESC >“W” “l” or < ESC > “W” < 1 >.
Cancel expanded character mode.
< DC4 >
(14)H
Cancels expanded character mode set by < SO > or < ESC > “W” “l” or < ESC >“W”
< 1 > code (Data following this code is printed out in normal size characters.)
Same as < ESC >“W” “0” or < ESC >“W” < 0 >.
Select expanded character mode.
< ESC >“W” “1” or < ESC >“W” < 1 >.
(lB)H (57)H (31)H or (lB)H (57)H (01)H
Data following this code is printed in double-width characters.
Same as < SO >.
Cancel expanded character mode.
< ESC >“W” “0” or < ESC >“W” < 0 >.
(lB)H (57)H (30)H or (lB)H (57)H (00)H
Cancels expanded character mode set by < ESC >“W” “l” or < ESC >“W” < 1 > or
< SO > code (Data following this code is printed out in normal size characters.)
Same as < DC4 >
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
– 26 –
Select emphasized print mode.
< ESC >“E”
(lB)H (45)H
Data following this code is printed in the emphasized print mode. In this mode only
uni-directional printing is performed.
Cancel emphasized print mode.
< ESC > “F”
(lB)H (46)H
Cancels emphasized print mode.
Select underline mode
< ESC > “-” “1” or < ESC > “-”< 1 >
(lB)H (2D)H (31)H or (lB)H (2D)H (01)H
Data following this code is printed out underlined. (However, the spaces generated
by horizontal tab are not underlined.)
Cancel underline mode
< ESC > “-” “0” or < ESC > “-” < 0 >
(lB)H (2D)H (30)H or (lB)H (2D)H (00)H
Cancels underline mode.
Select overline mode
< ESC > “_” “1” or < ESC > “_” < 1 >
(lB)H (5F)H (31)H or (lB)H (5F)H (01)H
Data following this code is printed out with an overline. (However the spaces
generated by horizontal tab are not overlined.)
Cancel overline mode
< ESC > “_” “0” or < ESC > “_” < 0 >
(lB)H (5F)H (30)H or (lB)H (5F)H (00)H
Cancels overline mode.
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
– 27 –
Select highlighted print mode.
<ESC> “4”
(lB)H (34)H
Prints with highlighted characters.
If an underline, overline or inverted print command is input while the highlighted
print mode is in effect, the highlighted mode will be canceled and the newly input
command will be executed. If a highlighted print command is received while the
underline, overline or inverted print mode is in effect, the previously set mode
is canceled and the highlighted print mode will be set.
Cancels highlighted print mode.
< ESC >“5”
(lB)H (35)H
Cancels highlighted print mode.
Select inverted print mode
< SI >
(0F)H
Data following this code is printed out in inverted characters. This code is valid
only when input at the beginning of a line, thus, normal and inverted characters
cannot be mixed in on the same line.
Cancels inverted print mode
< DC2 >
(12)H
Cancels the inverted character mode. This code is valid only when input at the
beginning of a line.
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
– 28 –
6.2 Control Codes Used for Line Spacing
Line feed
< LF >
(0A)H
Data in the line buffer is printed out and one line is fed. If data does not exist before
this code is received, the printer only feeds one line.
Line feed (Same as LF)
< CR >
(0D)H
Functions the same as an LF code.
When DIP SW 1-3 is set to ON, this code becomes invalid.
Set l/6-inch line feed
< ESC > “z” “1” or < ESC > “z” < 1 >
(lB)H (7A)H (31)H or (lB)Hn (7A)H (01)H
Line feed is set at n/216-inch after this code is received.
Set 1/8 inch line feed.
< ESC > “0”
(lB)H (30)H
Line feed is set at 1/8 inch after this code is received.
Feed paper n lines
< ESC > “a” n
(lB)H (61)H n
1 n 127
After data in the line buffer is printed out feeds the paper n lines.
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
DEFINITION RANGE
– 29 –
6.3 Control Codes Used for Page Layout
Page feed (form feed)
< FF >
(0C)H
After data in the line buffer is printed out, feeds the paper to the top of the next
page.
Set page length at n lines
< ESC > “C” n
(lB)H (43)H n
1 n 255 (default value n = 42)
Sets page length at n lines.
Set page length at n inches
< ESC > “C” < 0 > n
(lB)H (43)H (00)H n
1 n 127
Sets page length at n inches.
Execute vertical tab.
< VT >
(0B)H
Feeds the paper to the next vertical tab set position.
When a vertical tab is not set, line feed is not performed. If the current line is at or
below the last vertical tab set position, the paper feeds to the top of the next page.
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
DEFINITION RANGE
FUNCTION
CODE
OUTLINE
DEFINITION RANGE
– 30 –
Set vertical tab position
< ESC > “B” n1 n2...nk < 0 >
(lB)H (42)H n1 n2...nk (00)H
1 n1 < n2 < n3 <...< nk 255, 1 k 16
Cancels all current vertical tab positions and sets new vertical tab positions at lines
n1, n2, etc.,where n1, n2, etc. are numbers between 1 and 255. A maximum of 16
vertical tab positions can be set. The tab positions must be specified in ascending
order; any violation of ascending order terminates the tab position list. Standard
termination is by the < 0 > control code. The vertical tab positions are set in terms
of the current line spacing and do not move if the line spacing is changed later.
If a tab set position < nk > is equivalent or smaller than < nk-1 > just preceding
the tab set position, setting of vertical tab is assumed as complete.
Set bottom margin
< ESC > “N” n
(lB)H (4E)H n
0 n 255 (Default n = 0)
Sets bottom margin to n lines.
Cancel bottom margin
< ESC > “O”
(lB)H (4F)H
Cancels bottom margin.
Set left margin.
< ESC > “l” n
(lB)H (6C)H n
0 n (right margin -2)
Sets the left margin at column n in the current character pitch. The left margin does
not move if the character pitch is changed later. The left margin must be at least two
columns to the left of the right margin and within the limits above.
FUNCTION
CODE
OUTLINE
DEFINITION RANGE
FUNCTION
CODE
OUTLINE
DEFINITION RANGE
Note
FUNCTION
CODE
OUTLINE
DEFINITION RANGE
FUNCTION
CODE
OUTLINE
– 31 –
Set right margin
< ESC > “Q” n
(lB)H (51)H n
2 n (maximum no. of print columns)
Sets the right margin at column n in the current character pitch. Column n becomes
the last character position the line. The right margin does not move if the character
pitch is changed later. the right margin must be within the limits above.
Execute horizontal tab.
<HT>
(09)H
The print position skips to the next horizontal tab position in line. When no
horizontal tab position is set, this code is ignored. (Underlining and overline do not
take place in the spaces between characters set with the horizontal tab function.)
Set horizontal tab position
< ESC > “D” n1 n2....nk < 0 >
(1B)H (44)H n1 n2....nk (00)H
1 n1 < n2 < n3... < nk (maximum no. of print columns), 1 k 16
Cancels all current horizontal tab positions and sets new tab positions at columns n1,
n2, etc. in the current character pitch. The maximum number of horizontal tab
positions allowed is 16. The tab positions must be specified in ascending order; any
violation of ascending order terminates the tab position list. Standard termination is
by the < 0 > control code. To clear all tab positions, specify < ESC > “D” < 0 >.
When the horizontal tab set position < nk > is equivalent or smaller than < nk-1 >
which is the column just preceding the set tab position, vertical tab setting is
assumed as complete.
Note
FUNCTION
CODE
OUTLINE
DEFINITION RANGE
FUNCTION
CODE
OUTLINE
DEFINITION RANGE
FUNCTION
CODE
OUTLINE
– 32 –
6.4 Control Codes Used for Graphics Printing
Set 7/72 inch line feed
< ESC > “l”(lB)H (31)H
Line feed is set at 7/72 inch after this code is received.
Define n/72 inch line feed
< ESC > “A” n(lB)H (41)H n
0 n 85 (Default n = 12)
Line feed is defined at n/72 inch after this code is received.This code sets the feed at n/72 inch with the < ESC > “2”code.
Set n/72 inch line feed
<ESC> “2”(lB)H (32)H
Sets the line feed at a defined value with the < ESC > “A” previouslydescribed.
One time line feed of n/72 inch.
< ESC > “J” n(lB)H (4A)H n
1 n 255
Activates the n/72-inch paper feed once.
Set 1/12 inch line feed
< ESC > “z” “0” or < ESC > “z” < 0 >(lB)H (7A)H (30)H or (lB)H (7A)H (00)H
Line feed is set at 1/12 inch after this code is received.
Set n/144 inch line feed.
< ESC > “y” n(lB)H (79)H n
1 n 255
Line feed is set at l/144-inch after this code is received.
Set n/216-inch line feed.
< ESC > “3” n(lB)H (33)H n
1 n 255
Line feed is set at n/216-inch after this code is received.The actual line feed is set at INT (n × 2/3 + 0.5)/144inch.
OUTLINE
FUNCTION
CODE
FUNCTION
CODE
DEFINITION RANGE
OUTLINE
OUTLINE
FUNCTION
CODE
FUNCTION
CODE
DEFINITION RANGE
OUTLINE
FUNCTION
CODE
DEFINITION RANGE
OUTLINE
FUNCTION
CODE
DEFINITION RANGE
OUTLINE
OUTLINE
FUNCTION
CODE
– 33 –
8 dot single density bit image
< ESC > “K” n1 < 0 > m1 rn2....
(lB)H (4B)H n1 (00)H m1 m2....
1 n1 k
Excutes 8 dot bit image print determined by “n1”. The total number of bit image
data bytes in one line is equal to n1.
The value of k varies to the printer mechanism
Printer mechanism k
MP312F-24-A, MP312FV-24-A, MP342F-24-A 200
MP311F-24-A, MP341F-24-A 140
The printer ignores any data bytes over the specified amount allowed in one
line. When the bit image print is finished the printer automatically returns to
the character mode.
Actually, let us consider printing as a means of bit image. We will create the
design below using bit image.
First, since the volume of data is 30, n1 = (lE)H. If the data m1~ m30 is converted
to hexadecimal, it appears as shown below.
m1 00000001 01
m2 00011110 1E
m3 00111110 3Em4 01011111 5F
m5 00011111 1F
m6 01011110 5Em7 00011110 1E
m8 00111111 3F
m9 00101111 2Fm10 00111110 3E
Data Binary Hexa- Data Binary Hexa- Data Binary Hexa-decimal decimal decimal
m11 00111110 3E
m12 00000010 02
m13 00000010 02m14 00111110 3E
m15 00111110 3E
m16 00101111 2Fm17 00101111 2F
m18 00111110 3E
m19 00101110 2Em20 00101110 2E
m21 00111110 3E
m22 00101110 2E
m23 00101110 2Em24 00111110 3E
m25 00101111 2F
m26 00101111 2Fm27 00111110 3E
m28 00111110 3E
m29 00000010 02m30 00000010 02
Printing Samples
EXAMPLE
FUNCTION
CODE
DEFINITION RANGE
OUTLINE
– 34 –
8 dot double density bit image
< ESC > “L” n1 n2 m1 m2....
(lB)H (4C)H n1 n2 m1 m2....
1 n1 + 256 × n2 k
Executes double density bit image printing (half-dot printing) determined by
“n1” and “n2”. The total number of bit image data bytes in one line is equal to
n1 + n2 × 256.
The value of k varies to the printer mechanism
Printer mechanism k
MP312F-24-A, MP312FV-24-A,MP342F-24-A 400
MP311F-24-A, MP341F-24-A 280
Refer to < ESC > K as to the relation between the dot position and the bit
number. The printer ignores any data bytes over the specified amount al-
lowed in one line.
The printer does not print adjacent dots. When the bit image printing is
finished, the printer automatically returns to the character mode.
For double density bit image printing, dots cannot be printed overlapping
each other in the horizontal direction.
The following is an example of this.
FUNCTION
CODE
DEFINITION RANGE
OUTLINE
CODE
– 35 –
Select vertical expanded character mode
<ESC> “h” “1” or < ESC > “h” < 1 >
(lB)H (68)H (31)H or(lB)H (68)H (01)H
Prints characters two times the normal vertical size after the code is received.
However, the bit image mode < ESC > “K” and < ESC > “L” are excluded.
(1) When combined with the < SO > code, this code enables printing of the
characters in two times the normal vertical and horizontal size.
(2) This code is not combined with the inverted print mode < SI > code.
(3) For the 6 × 12 dots IBM block graphic (the character code table (B0)H-(DF)H
and (F4)H-(F5)H of IBM character set #1 and #2) of the font construction,
enlargement is only vertical in the upper 8 dots.
(4) The relationship of the vertically enlarged character and the normal
character is matched at the lower level.
Cancel vertical expanded character mode
< ESC > “h” “0” or < ESC > “h” < 0 >
(lB)H (68)H (30)H or (lB)H (68)H (00)H
Cancels vertical expanded character mode
OUTLINE
FUNCTION
CODE
Note
OUTLINE
FUNCTION
CODE
– 36 –
6.5 Control Codes Used for Download Characters
Definition of download characters
When 7 × 9 (half-dots) font matrix is set (default setting):
< ESC > “&” < 0 > n1 n2 [m0 m1 m2 m3 m4 m5 m6 m7] n2 - n1 + 1
(lB)H (26)H (00)H n1 n2 [m0 m1 m2 m3 m4 m5 m6 m7] n2 - n1 + 1
When the 5 × 9 font matrix is set:
< ESC > “&” < 0 > n1 n2 [m0 m1 m2 m3 m4 m5] n2 - n1 +1
(lB)H (26)H (00)H n1 n2 [m0 m1 m2 m3 m4 m5] n2 - n1 +1
(2l)H n1 n2 (7F)H, m0 = (00)H or m0 = (80)H
Defines download characters
Up to 10 download characters can be defined and the defined character patterns
can be stored in the printer’s RAM.
Defining of download characters begins with character code nl and completes
with n2. When only one character is defined, n1 = n2.
m0 indicates the relationship between the character pattern and print head.
m1 m2.... Indicate the character pattern
When the 7 × 9 (half-dots) font matrix is set (the default setting), printing of
adjacent horizontal dots is not allowed.
FUNCTION
CODE
DEFINITION RANGE
OUTLINE
Note
– 37 –
Enable download character set
< ESC > “%” “l” or < ESC > “%” < 1 >
(lB)H (25)H (31)H or (lB)H (25)H (01)H
Enables the download character set
Download characters defined by the ESC & 0 code cannot be printed until enabled
by this command.
Disable download character set.
< ESC > “%” “ 0” or < ESC > “%” < 0 >
(lB)H (25)H (30)H or (lB)H (25)H (00)H
Disables the selected download character set and selects the built-in character set.
When the power for the printer is initially turned on, the built-in character set is
selected.
To print a download character when the 7 × 9 (half-dots) font matrix is set.
(1) Design the download character to be used at code positions (21)H, (22)H, and
(23)H.
(2) Define the download characters.
When character codes where the download character is written are specified as
(2l)H, (22)H, (23)H, n1 = (2l)H, n2 = (23)H are obtained.
If the relationship between the character pattern data and printing head is specified
to “not use pin 9”, m0 = (80)H is obtained. When data m1 to m7 are converted into
hexadecimal data, they are indicated as follows.
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
EXAMPLE
– 38 –
Data Binary Hexa-Data Binary
Hexa-Data Binary
Hexa-decimal decimal decimal
m1 10100000 A0
m2 00000000 00
m3 10100000 A0
m4 00011111 1F
m5 10100000 A0
m6 00000000 00
m7 10100000 A0
m1 00111000 3C
m2 01000010 42
m3 10100101 A5
m4 00000000 00
m5 10100101 A5
m6 01000010 42
m7 00111000 3C
m1 10011000 98
m2 01100100 64
m3 10000010 82
m4 00000001 01
m5 10000010 82
m6 01100100 64
m7 10011000 98
Printing Samples
Example of transmitting data
(1) Definition of download (lB)H (26)H (00)H (21)H (23)H (80)H (A0)H (00)H
characters (A0)H (lF)H (A0)H (00)H (A0)H (80)H (98)H (64)H
(82)H (01)H (82)H (64)H (98)H (80)H (3C)H (42)H
(A5)H (00)H (A5)H (42)H (3C)H
(2) Selecting the download (lB)H (25)H (31)H
character set
(3) Character codes (21)H (22)H (23)H (OA)H
(4) Canceling the download (lB)H (25)H (30)H
character set
(5) Character codes (21)H (22)H (23)H (0A)H
– 39 –
6.6 Control Codes Used for Peripheral Units
Adjust drive pulse width for peripheral unit 1
< ESC > < BEL > n1 n2
(lB)H (07)H n1 n2
1 n1 127, 1 n2 127 (default setting n1 = n2 = 20)
Adjusts drive pulse width for peripheral devices requiring other than standard
200 ms pulse time and delay time
Energizing time = 10 × n1 (ins)
Delay time = 10 × n2 (ins)
Executed by < BEL >, < FS > codes.
Adjustment is not necessary for standard cash drawers in the U.S.A. market.
Deferred drive command for peripheral unit 1
< BEL >
(07)H
Executes drive pulse for peripheral unit 1 (deferred).
Immediate drive command for peripheral unit 1
< FS >
(lC)H
Executes drive pulse for peripheral unit 1 (immediate).
This code differs from the < BEL > code as follows:
When the printer receives an < FS > code, the command is executed immediately.
The < BEL > code is stored in the data buffer in the same manner as other codes, and
executed in the order in which they are received.
FUNCTION
CODE
DEFINITION RANGE
OUTLINE
Note
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
– 40 –
6.7 Other Control Codes
Immediate drive command for peripheral unit 2
< SUB >
(lA)H
Drives peripheral unit 2. Pulse width is fixed at 200 ms with a fixed delay time
of 200 ms.
When the printer receives a < SUB > code, the command is executed immediately.
Same as < EM >.
Peripheral units 1 and 2 cannot be driven simultaneously.
Immediate drive command for peripheral unit 2
< EM >
(19)H
Drives peripheral unit 2. Pulse width is fixed at 200 ms with a fixed delay time
of 200 ms.
When the printer receives a < EM > code, the command is executed immediately.
Same as < SUB >.
Peripheral units 1 and 2 cannot be driven simultaneously.
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
Note
Note
Sound buzzer
< RS >
(lE)H
Generates a short alarm.
Cancel print data in buffer.
< CAN >
(18)H
Clears data buffer and line buffer
Clears the data in the data buffer in the STX-ETX mode.
Set deselect mode
< DC3 >
(13)H
This function differs depending on the setting of DIP switch 4.
a) When the DC1, DC3 invalid mode is set (DIP switches 4-1 to 4-4 are all set
to ON), the control board ignores this code.
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
– 41 –
b) In the DC1, DC3 valid mode (with DIP switches 4-1 to 4-4 set to OFF), data
following this code is ignored when the printer receives a < DC3 > code.
The deselect mode is canceled by < DC1 > code.
c) If the printer receives a < DC3 > code during an addressable mode (with DIP
swiitches 4-1 to 4-4 set to settings other than a) and b) above,), the data
following this code is ignored.
Deselect mode can be canceled by a < DC1 > n code.
Note that addressable mode is valid only when the RS-422A interface option
is installed.
Set select mode
< DC1 > or < DC > n
(11)H or (11)H n
This function differs depending on the setting of DIP switch 4.
a) When the DC1, DC3 invalid mode is set (DIP switches 4-1 to 4-4 are all set to
ON), the control board ignores this code.
b) In the DC1, DC3 valid mode (with DIP switches 4-1 to 4-4 set to OFF), when
the control board receives a < DC1 > code, the deselect mode is canceled and
data following this code is input to the buffer.
c) If the printer receives a < DC1 > n code (n is the DIP switch controlled address)
during the addressable mode (with DIP switches 4-1 to 4-4 set other than
settings a) and b) above,), the deselect mode is canceled and data folloing this
code is input to the buffer.
Note that addressable mode is valid only when optional RS-422A interface is
instslled.
Select uni-directional print mode.
< ESC > “U” “l” or < ESC > “U” < 1 >
(lB)H (55)H (31)H or (lB)H (55)H (01)H
Prints only when the print head moves from left to right.
Select bi-directional print mode
< ESC > “U” “O” or < ESC > “U”< 0 >
(lB)H (55)H (30)H or (lB)H (55)H (00)H
Returns to the standard bi-directional print mode. (This mode is set automatically
when the printer power is turned on.)
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
– 42 –
Initialize printer
< ESC > “@”
(lB)H (40)H
Cancels the various conditions set after the power was turned on and resets the
printer to the intial settings in effect when the power is turned on.
In this instance, contents of the line buffer and the data buffer are not cleared.
Enquiry
< ENQ >
(05)H
Causes control board to transmit status byte (not in STX-ETX mode).
When this code is received after receiving text data in the STX-ETX mode, the
control board transmits the status and check byte.
When IBM character set #2 is selected by character code, codes < ENQ > does not
exist. (In this instance, select another code.)
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
Note
OUTLINE
FUNCTION
CODE
OUTLINE
FUNCTION
CODE
Note
U.S.A & Europe I BM #1 IBM #2 Japan
(05)H < ENQ > < ENQ > ♣ < ENQ >
Enter STX-ETX mode
< STX >
(02)H
Sets the STX-ETX mode.
Terminate STX-ETX mode.
< ETX>
(03)H
Terminates the STX-ETX mode and prints out the text data.
When IBM character set #2 is selected by character code, codes < ETX > does not
exist. (In this instance, select another code.)
U.S.A & Europe I BM #1 IBM #2 Japan
(03)H < ETX > < ETX > ♥ < ETX >
– 43 –
OUTLINE
FUNCTION
CODE
(1) Character data and immediate execution command < CAN > are valid for data.
(2) Printing modes (such as emphasized, inverted, expanded character modes,
etc.) which were set before validation printing are invalid during validation
printing. (These modes become valid again after validation printing is
completed.)
(3) This code is valid only when attaching mechanism MP312FV-24-A with
validation function.
Trigger auto-cutter drive (full cut)
< ESC > “d” “0” or < ESC > “d” < 0 >
(lB)H (64)H (30)H or (1B)H (64)H (00)H
Causes the printer mechanism to trigger auto-cutter (full cut).
This code is valid only when attaching mechanism with paper-cutter.
Trigger auto-cutter drive (partial cut)
< ESC > “d” “1” or < ESC > “d” < 1 >
(lB)H (64)H (31)H or (lB)H (64)H (01)H
Causes the printer mechanism to trigger auto-cutter (partial cut).
This code is valid only when attaching mechanism with paper-cutter.
OUTLINE
FUNCTION
CODE
Note
Note
Note
Select validation printing
< GS > data < LF >
(1D)H data (0A)
Prints up to 32 columns of the 15.4-CPI size characters on one line.OUTLINE
FUNCTION
CODE
– 44 –
7. DATA STRUCTURE7.1 DTR Mode
This mode is accessed when the DIP switch 3-5 is ON.
Signals are controlled using the DTR line as BUSY flag.
If a control board errors do not occur after the power is turned on, the DTR signal line changes to “SPACE”.
When the host computer confirms that the DTR signal line is set to “SPASE”, the host computer sends the data
text via the RXD signal line to the control board. Also, the control board will set the DTR signal line to
“MARK”, transmission of the data text is stopped. In this instance, data can still be received up until the data
buffer becomes completely full.
When the empty space in the data buffer is increased following printing (when the data in the data buffer is
reduced to 256 bytes or less), the control board sets the DTR signal line to “SPACE”.
Data buffer
Full Near Full
Remainder256 bytes
DTR "MARK"
Near Empty Empty
256 bytes
DTR "SPACE"
When paper is out
RXD
DTR
OFF LINE ON LINE
When printing
PAPER OUTsignal
Power on
Paper end Press the ON LINE switchafter loading paper.
RXD
DTR
Printing
Data Data Data
Buffer full Buffer empty
Power on
– 45 –
[Framing error]
A framing error occurs when SPACE is detected at the stop bit. When a framing error or a vertical parity error
occurs for the data which is received, the printer prints out a “?” mark to indicate that the error occurred.
[Mechanical error]
Immediately after a mechanical error occurs, the control board sets the DTR to “MARK” and then sets the
control board to OFF LINE.
[Paper out]
When the “paper out” detector senses the end of the paper, the printer stops printing after printing a maximum
of two more lines or on feeding the paper. Immediately after a “paper out” condition is detected, the printer
sets to OFF LINE and the DTR changes to “MARK”. (To reset printer after a “paper out”, load paper into the
printer and press the ON LINE switch to set the printer to ON LINE.)
[Compulsion signal]
When pin 6 of the peripheral unit drive circuit connector is set “HIGH”, status bit 7 becomes “1.”
[Status]
b7 b6 b5 b4 b3 b2 b1 b0
0
( Constantly set at “0” )
Vertical parity error1: errorFraming error1: errorMechanical error1: errorPaper empty1: emptyBuffer empty1: emptyBuffer overflow1: overflowCompulsion signalHigh level(Switch is set to ON)
– 46 –
7.2 X-ON/X-OFF Mode
This mode accessed when the DIP switch 3-5 is OFF.
If control board errors do not occur after the power is turned on, the printer outputs an X-ON (DC1 by control
code; 11H by hexadecimal data) signal on the TXD signal line which sends it to the host computer. When the
host computer receives the X-ON signal, the host computer transmits the data to the RXD signal line for the
printer. If data text is not sent from the host computer (even after transmitting the X-ON signal to the host
computer), the printer outputs an X-ON signal at 3 second intervals until the printer receives data.
The printer starts outputting an X-OFF (DC3, 13H) signal when the empty space in the buffer reduces below
256 bytes. When the host computer receives the X-OFF signal, it halts output of data. (however, the control
board can continue receiving data until the buffer becomes completely full.)
Output of the X-ON signal is resumed when the data in the buffer is printed out and drops to below 256 bytes.
TXD
X-ON X-OFFX-OFF
X-OFFX-ON X-OFF
RXD Data
X-OFF
Data
Printing
Paper out signal
ON LINE lamp
ON
OFF
Power on Paper out
X-OFF X-ON
Load paper and pressthe ON LINE switch.
Data
Data buffer
Full Near Full
Remainder256 bytes
X-OFF
Near Empty Empty
256 bytes
X-ON
– 47 –
[Framing error]
A framing error occurs when SPACE is detected at the stop bit. When a framing error or a vertical parity error
occurs for the data which is received, the printer prints out a “?” mark to indicate that the error occurred.
[Mechanical error]
Mechanical errors are detected when the carriage motor locks and printing stops. After the error occurs, the
control board outputs an X-OFF signal and stops printing. The control board sets the DTR signal to “MARK”
and sets to OFF LINE within five seconds after a mechanical error occurs.
[Paper out]
When the “paper out” detector senses the end of the paper, the printer stops printing after printing a maximum
of two more lines or on feeding the paper. The printer will set the DTR to “MARK” and set the printer to OFF
LINE five seconds after a “paper out”, load a new roll of paper into the printer and press the OFF LINE switch
to set the printer ON LINE.
[Compulsion signal]
When pin 6 of the peripheral unit drive circuit connector is set at “HIGH”, status bit 7 becomes “1.”
[Status]
b7 b6 b5 b4 b3 b2 b1 b0
0
( Constantly set at “0” )
Vertical parity error1: errorFraming error1: errorMechanical error1: errorPaper empty1: emptyBuffer empty1: emptyBuffer overflow1: overflowCompulsion signalHigh level(Switch is set to ON)
– 48 –
7.3 STX/ETX Mode
This mode is accessed from whichever DTR mode or X-ON/X-OFF mode.
To set this mode, the data buffer must be empty.
The host computer sends an ENQ code to the control board and acknowledges the printer starus. Then,the host
computer checks if the printer buffer is empty. After the host computer detects that the buffer is empty, a STX
code and data are transmitted. After 1 block of data is transmitted, the host computer sends an ENQ code to
the printer and then receives the printer status and check byte (horizontal parity for the control board).
At this point, the host computer performs a status and horizontal parity check. When the host computer
determines that there was no error, it transmits an ETX code which serves as text end code. After the control
board receives the ETX code, data in the data buffer is printed out. If an error occurs, a CAN code is transmitted
by the host computer. (In this instance, the data which was previously sent to the buffer is cleared, thus, the
host computer must retransmit the same data to the control board.)
A flowchart of this operation is illustrated on the following page.
[Status]
b7 b6 b5 b4 b3 b2 b1 b0
0
( Constantly set at “0” )
Vertical parity error1: errorFraming error1: errorMechanical error1: errorPaper empty1: emptyBuffer empty1: emptyBuffer overflow1: overflowCompulsion signalHigh level(Switch is set to ON)
– 49 –
STX/ETX Mode flow diagram for host computer
Starts theSTX-ETX mode.
Sends ENQ
Receives statusbyte.
NO Is thedata buffer
empty ?
YES
Sends STX signal
Is an oddparity check ?
NO
YES
(FF)H is set forthe test byte.
The test byte is set at (O)H.
Sends an ENQsignal.
Receives statussignal
Receivesa check byte.
YES
NO
Is the status an
error ?
Horizontalparity check
Check byte =test byte ?
NO
YES
Sends ETX
(Priniting)
Acquires the exclusive ORof the content of the testbyte and the data to sent,then it is used as the contentof the test byte.
Transmits the datato the printer.
NO
YES
Is this thelast data
in a block ?
Sends CAN
Ends theSTX-ETX mode
NO
YES
Is there a datablock in the
STX-ETX mode ?
RET
Check byte:Horizontal parity of the control board.Test byte:Horizontal parity of the host computer.
– 50 –
8. PCBOARD, CIRCUITDIAGRAM, PARTS LIST8.1 PC Board Dimension Drawing
CN7CN8
CN10
CN5 CN3
CN2
CN1
CN11
CN6
35 29
17
3- 3.7 0+0.1
3.8
10 SOLDER SIDE (F-GND, S-GND)
4.7
3.7
5
7
144 0.3156
705 570
140 0.3
150
2
R2
166
2
Unit : mm
Max. 20
Max. 4
1.6
+-
+-
– 51 –
8.2 Component Layout
– 52 –
8.3 Circuit Diagram
CN8
CN9
LT1081
IC7
IC9
9
10
17
18
19
23
24
25
4RTS
15
2
20
3
5
16
11
(MULTI-PRINTER TXD)
TXD
DTR
RXD
CTS
(MULTI-PRINTER DTR)
RCH
14FAULT
7GND
13GND
1F-GND
22
8
5 +24V
+5V
23
19
20
21
9
10
1116
6SW5 SLIDE
BC
A
65
63
10
11
12
9
B
A15 +5V
R7710K
R753.3K
TR26A933
R743.3K
R762.2K
F-GND
MOUNTING HOLE
+5V
[C41]
C420.022µ
JC2
C370.1µ
TR27C1740
R60IK
JP3
SW1RA74.7K x 8
+5V
+5V
R844.7K
TR29C1740
R856.8K
SW6SLIDE SW
C
7
14
13
8
62
64
74
OUTA 0
20
26
19
17
16
15
14
12
11
10
HD 9
HDEN
28RD
27WR
25RES
C380.022µ
HD 8
HD 7
HD 6
HD 5
HD 4
HD 3
HD 2
HD 1
29
30
32
33
34
35
36
37
DB 7
DB 6
DB 5
DB 4
DB 3
DB 2
DB 1
DB 0
47
31
46
45
44
43
42
AB 17
V DD
+5V
AB 16
AB 15
AB 14
AB 13
AB 0
OUTA 2
IO 1
OUTA 1
DIN 0
DIN 1
DIN 2
DIN 3
DIN 4
DIN 5
DIN 6
DIN 7
1
2
3
4
5
6
7
8
72
71
70
69
68
67
66
SW4RA64.7K x 4
61 INB 0
IO 0
INB 1
INB 2
1
2
3
4
60
59
58
24
12
15
17
13
14
18
7NC x 4
5VR703.3K
D8 IS1588
D9 IS1588
+
+13 5
2 6
4+
+
16
C3522µ/16V
C274.7µ/25V
C314.7µ/25V
C2922µ/16V
C110.01µ
+5V +5V
R491.5K
IC3
M51953
73V DD
80MODE 0
5V SS
13V SS
18V SS
A SIDE B
C
5
1
3
4
– 53 –
IC2
CN1
CN2
58TXD AN 0
3 1 R61 8.2K
4.7KR622
AN 14 3 R63 8.2K
4.7KR644
AN 25 5 R65 8.2K
4.7KR666
AN 36
AN 47
AN 58
+5VR244.7K
R194.7K
J1
J2
R891K
R208.2K
7 R67 8.2K
4.7KR688
56
64
21
1
2
55
32
20
61
62
22
JC2R8610K
+5V
C847OP
C1610OP
+5V
C1710OP
C90.022µ
RXD
+5V
NMI
EA
VREF
A GAND
TO4
RD
WR
RES
V SS
V cc
31
30
29
28
27
26
RA310K x 8
25
249
8
7
6
5
4
3
2D 7
D 6
D 5
D 4
D 3
D 2
D 1
D 0
6
RA2IK x 9
330 x 9 D2041 x 9
+24V
M-GND
R43 TR193
7 R38 TR141
4 R42 TR1813
8 R44 TR202
2 R41 TR1712
9 R39 TR154
3 R36 TR1214
10 R40 TR166
5 R37 TR1310
HD 1
8 HD CMN
7 HD CMN
5 HD CMN
HD 2
HD 3
HD 4
HD 5
HD 6
HD 7
HD 8
HD 9
9+5V
+24V
THERMISTOR
11 THERMISTOR
P3359
R910K
TR3C1740
R810K
R7810K
TR2B1359
R72.7(2W)
+VL
D2ISR35-100
6 LF-CMN B
5 LF-CMN A
1K x 4
4.7K x 3
R281 LF-fl 1
R292 LF-fl 2
R303 LF-fl 3
R31
7
5
9
3
1 10M-GND
6
4
8
24 LF-fl 4
INT 118 R32
R21
C5 C3 C2 C1
+5V
R23
R22
47K
68K
33K
16 TIMING SIG 1
P609 R25
17 TIMING SIG 2
P6110 R26
13 H.P SIG
P6312
R274.7K
+5V
+5V
+5V
TR30C1740
P6211
P3157 R13 4.7K R12 4.7K
[R14]
[TR4]
[R15]
470P x 4
[C4]
R3310K
TR9C1740
R353.3K TR8
A933
R346.8K
TR10D882
TR11B1359
+5V
+24V
M-GND
+24
[R87]
+5V
14 VALIDATION SIG
18 GND
15 NC
19
[20]
NC
12 +5V
7 CR MOTOR (+)
8 CR MOTOR (+)
9 CR MOTOR (-)
10 CR MOTOR (-)
11
[21]
NC
+5VP34
60
P4253
P4354
P3763
P8017
P8219
(R10) (R11)
359A 0
368A 1
377A 2
386A 3
395A 4
404A 5
CA2100P x 8
CA1100P x 8
CA1
CA2
CA1
CA2
419A 6
423A 7
438A 8
442A 9
457A 10
466A 11
475A 12
484A 13
493A 14
502A 15
51A 16
52C19
(C18)
100PA 17
X1 X2
RA84.7K x 4
+5V
SW3
TA1
MP4001
R4822K
R472.2K
R4610K
+5V
TR21A950
TR22C1740
C151.5µ
C130.01µ
R4510K –1%
BSIDE A
D
P7013
P7114
P7215
P7316
(R16)
– 54 –
CN11
IC6LS06
CN10
SPX-G/A
2725627512P-ROM
3+5V
1+24V
2M-GND
4S-GND
1+5V
2ON-LINE SW
6FEED SW
7
3POWER LAMP
4ALARM LAMP
5ON-LINE LAMP
8GND
J3
+5V
38C26100P
C30100P
C32100P
CA310OP x 8
C28100P
D5IS1588
+5V
BZQMB111P
R59330
ROM
40RAM
39CG
41
9
PSOE
+5V+5V
28RA510K x 8
RA410K x 8
10 7(A0)9A 0 D0
8D1
9D2
4D3
3D4
2D5
5D6
6
11
12
13
15
16
17
18
19
14
D7
20CE
22OE
9(A1)8A 1
8(A2)7A 2
7(A3)6A 3
6(A4)5A 4
5(A5)4A 5
4(A6)3A 6
3(A7)2A 7
+5V25(A8)6
A 824(A9)7
A 921(A10)9
A 1023(A11)8
A 112(A12)4
A 1226(A13)5
A 1327(A14)
(A15)
3A 14
12
+5VB A
C
BA
C
JP2
A 15
SW2RA94.7K x 8
49 INC 0
INC 1
INC 2
INC 3
INC 4
INC 5
INC 6
INC 7
INA 0
8
7
6
5
+VL
+5V
+24V
M-GND
JC1
+5V+5V
4.7K x 3
+5V
R584.7K
+5V
R5710K
+5V
R5610K
4.7K x 3R6
INA 1+5V R4
INA 2+5V
[C45] [C46]
10 11
12 13
R2
R5
R3
R1
C10, C20C24, C25C33, C230.022µF x 6
4
3
2
1
50
51
53
54
55
56
57
77
78
79
OUTA 376
IND 075
(A16)
(A17)
V SS52
IC5
2M ROM
+5V
1 32
12A 0 D0
D1
D2
D3
D4
D5
D6
13
14
15
17
18
19
20
21
16D7
22CE
A1824
31
OE
11A 1
10A 2
9A 3
8A 4
7A 5
6A 6
5A 7
27A 8
26A 9
23A 10
25A 11
4A 12
28A 13
29A 14
3
+5V
+5V
BA
(A13)
JP6
JP1 C
A 152
A 1630
A 17
[IC4]
6264-10051832-120
14 28
10A 0 D0
D1
D2
D3
D4
D5
D6
11
12
13
15
16
17
18
19D7
27WE
22OE
20CE
9A 1
8A 2
7A 3
6A 4
5A 5
4A 6
3A 7
25A 8
24A 9
21A 10
23A 11
2A 12
26A 13
1A 14
IC1
OUTB 0
1OUTB 7
2OUTB 6
3OUTB 5
4OUTB 4
6OUTB 3
7OUTB 2
8OUTB 1
21ATC 0
22ATC 1
23ATC 2
24ATC 3
48KA 0
BZ
<Note 1> The unit of resistor and resistor array is " ", and no indication of wattage means 1/6W, 1/8W respectively.<Note 2> The unit of capacitor and capacitor array is "F", and no indication of voltage means 50V.<Note 3> The components in bracket [ ] are not installed on the board.<Note 4> The components in bracket ( ) depend on the printer type if it is installed or not on the board. Refer to parts list.
C SIDE D
A
N.C.
– 55 –
TMP90C041F
CN5
CN7
CN6
CN3
[CN4]
[CN12]
JP7
4
3
5
6
7
8
9
RA1IK x 7
[R79]
[R80]
[TR7]
[TR6]
+24
REGI7824
+24V
FILM
C400.1µ
D4IDT139
TR24D2010
TR23D2010
D3ISR139
I 0G
1 3
2
1 REWINDER (+)
2
[22]
[23]
REWINDER (-)
3PERIPHERAL
4 +24V
+24V
2 EXT 1
5
1
3
2
4
5
EXT 2
1 F-GND
6 SW 1
1AUTO CUTTERF/P POSITION SIG
2 RESET SIG
3 GND
4 MOTOR
5 MOTOR
1 +5V
2 PAPER END SIG1
3 GND
1 +5V (NC)
2 PAPER END SIG2 (NC)
3
4
GND (NC)
BLACK MARK SENSOR (NC)
33 341
JC1
3
9.83M2
9 8
3 4
1 2
5 6
VS
+5VTR5A1115
R18100
C14Super Cap
R6922K TR25
C1740
R172.2K
+ +
C364.7µ25V
C12, C340.022µF x 2
13 314
7
11
C3910OP
VS VS
12
98 10
1
2
IC8HC00
IC8HC00
IC8HC00
46 5
IC8HC00
M-GND
M-GND
M-GND
M-GND+5V
F-GND
+5V
+5V
+5V
R82330
TR1D2010
R81330
R83330
R7310K
TR28C1740
R714.7K
R7233K
+5V
R5147K
C43
7
R52 3.3K
+24VC220.1µ
C210.1µ
R53 3.3K
R54 15K
R55 15K
10
1 TH3C10
+24V
M-GND
3
9
5
6
2
8
4
C44
R5047K
C70.022µ
C60.022µ
+5V
TA2
DSIDE C
B
IC6LS06
0.022µ x 2
– 56 –
IC1 08221043 SRAM 6264FP-100NS*EL 1IC2 08250009 CPU TMP90C041F 1IC3 08200109 IC-RESET M51953BL 1IC4 09110077 IC SOCKET ICS-32-2T 1IC5 08222026 EPROM 27256-150NS 1 SP3S.F.**
09110024 IC SOCKET ICS-28-2T 1IC6 08210127 TTL IC 74LS06FP*EL 1IC7 08240019 GATE ARRAY LC92011B-SP300 1IC8 08231065 CMOS 74HC00FP*EL 1IC9 08200157 IC-I/F ADM232LJR*SOL16 1REG1 08202011 IC-REG UPC7824 1TA1 07650056 TRANSISTOR ARRAY UPA1428AH 1TA2 07650037 TRANSISTOR ARRAY TH3C10 1TR1 07320101 TRANSISTOR 2SD2010 1TR2 07113591 TRANSISTOR 2SB1359 1TR3 07227853 TRANSISTOR 2SC1740SE 1TR4 NOT MOUNTEDTR5 07019931 TRANSISTOR 2SA1993F 1TR6-7 NOT MOUNTEDTR8 07011752 TRANSISTOR 2SA1266* 1TR9 07227853 TRANSISTOR 2SC1740SE 1TR10 07308821 TRANSISTOR 2SD882P 1TR11 07113591 TRANSISTOR 2SB1359 1TR12-20 07320411 TRANSISTOR 2SD2041 9TR21 07009502 TRANSISTOR 2SA950 1TR22 07227853 TRANSISTOR 2SC1740SE 1TR23-24 07320101 TRANSISTOR 2SD2010 2TR25 07227853 TRANSISTOR 2SC1740SE 1TR26 07011752 TRANSISTOR 2SA1266* 1TR27-29 07227853 TRANSISTOR 2SC1740SE 3TR30 07227853 TRANSISTOR 2SC1740SE 1D1 NOT USEDD2 08000044 DIODE 1SR139-100AT 1D3-4 08000044 DIODE 1SR139-100AT 2D5 08000096 DIODE 1S2076A*A 1D6-7 NOT USEDD8-9 08000096 DIODE 1S2076A*A 2RA1 06581021 RESIS. ARRAY 1 K-OHM 1/8W 8EL 1RA2 06581022 RESIS. ARRAY 1 K-OHM 1/8W 9EL 1RA3-5 06581032 RESIS. ARRAY 10 K-OHM 1/8W 8EL 3RA6 06584721 RESIS. ARRAY 4.7K-OHM 1/8W 4EL 1RA7 06584723 RESIS. ARRAY 4.7K-OHM 1/8W 8EL 1RA8 06584721 RESIS. ARRAY 4.7K-OHM 1/8W 4EL 1RA9 06584723 RESIS. ARRAY 4.7K-OHM 1/8W 8EL 1R1-6 06054725 RD RESISTOR 4.7 K-OHM 1/6W 6R7 06200271 RN RESISTOR 2.7 OHM 2W 2% 1R8-9 06051034 RD RESISTOR 10 K-OHM 1/6W 2R10-11 NOT MOUNTEDR12-13 06054725 RD RESISTOR 4.7 K-OHM 1/6W 2R14-16 NOT MOUNTEDR17 06052224 RD RESISTOR 2.2 K-OHM 1/6W 1R18 06051014 RD RESISTOR 100 OHM 1/6W 1R19 06054725 RD RESISTOR 4.7 K-OHM 1/6W 1R20 06058224 RD RESISTOR 8.2 K-OHM 1/6W 1R21 06054734 RD RESISTOR 47 K-OHM 1/6W 1R22 06253334 RN RESISTOR 33 K-OHM 1/6W 1% 1
DRWG.NO. PARTS NO. PARTS NAME Q'TY REMARKS
8.4 Parts List
– 57 –
R23 06056834 RD RESISTOR 68 K-OHM 1/6W 1R24-27 06054725 RD RESISTOR 4.7 K-OHM 1/6W 4R28-31 06051025 RD RESISTOR 1 K-OHM 1/6W 4R32 06054725 RD RESISTOR 4.7 K-OHM 1/6W 1R33 06051034 RD RESISTOR 10 K-OHM 1/6W 1R34 06056824 RD RESISTOR 6.8 K-OHM 1/6W 1R35 06053324 RD RESISTOR 3.3 K-OHM 1/6W 1R36-44 06053314 RD RESISTOR 330 OHM 1/6W 9R45 06251034 RN RESISTOR 10 K-OHM 1/6W 1R46 06051034 RD RESISTOR 10 K-OHM 1/6W 1R47 06052224 RD RESISTOR 2.2 K-OHM 1/6W 1R48 06052234 RD RESISTOR 22 K-OHM 1/6W 1R49 06051525 RD RESISTOR 1.5 K-OHM 1/6W 1R50-51 06054734 RD RESISTOR 47 K-OHM 1/6W 2R52-53 06053324 RD RESISTOR 3.3 K-OHM 1/6W 2R54-55 06051535 RD RESISTOR 15 K-OHM 1/6W 2R56-57 06051034 RD RESISTOR 10 K-OHM 1/6W 2R58 06054725 RD RESISTOR 4.7 K-OHM 1/6W 1R59 06053314 RD RESISTOR 330 OHM 1/6W 1R60 06051025 RD RESISTOR 1 K-OHM 1/6W 1R61 06058224 RD RESISTOR 8.2 K-OHM 1/6W 1R62 06054725 RD RESISTOR 4.7 K-OHM 1/6W 1R63 06058224 RD RESISTOR 8.2 K-OHM 1/6W 1R64 06054725 RD RESISTOR 4.7 K-OHM 1/6W 1R65 06058224 RD RESISTOR 8.2 K-OHM 1/6W 1R66 06054725 RD RESISTOR 4.7 K-OHM 1/6W 1R67 06058224 RD RESISTOR 8.2 K-OHM 1/6W 1R68 06054725 RD RESISTOR 4.7 K-OHM 1/6W 1R69 06052234 RD RESISTOR 22 K-OHM 1/6W 1R70 06053324 RD RESISTOR 3.3 K-OHM 1/6W 1R71 06054725 RD RESISTOR 4.7 K-OHM 1/6W 1R72 06053334 RD RESISTOR 33 K-OHM 1/6W 1R73 06051034 RD RESISTOR 10 K-OHM 1/6W 1R74-75 06053324 RD RESISTOR 3.3 K-OHM 1/6W 2R76 06052224 RD RESISTOR 2.2 K-OHM 1/6W 1R77-78 06051034 RD RESISTOR 10 K-OHM 1/6W 2R79-80 NOT MOUNTEDR81-83 06053314 RD RESISTOR 330 OHM 1/6W 3R84 06054725 RD RESISTOR 4.7 K-OHM 1/6W 1R85 06056824 RD RESISTOR 6.8 K-OHM 1/6W 1R86 06051034 RD RESISTOR 10 K-OHM 1/6W 1R87 NOT MOUNTEDR88 06054725 RD RESISTOR 4.7 K-OHM 1/6W 1R89 06051025 RD RESISTOR 1 K-OHM 1/6W 1CA1-3 05651012 CAPA. ARRAY 100PF 50V 8EL 3C1 05154714 CERA. CAPA. 470PF 50V 1C2-3 05154714 CERA. CAPA. 470PF 50V 2C4 NOT MOUNTEDC5 05154714 CERA. CAPA. 470PF 50V 1C6-7 05152234 CERA. CAPA. 0.022UF 50V 2C8 05154714 CERA. CAPA. 470PF 50V 1C9-10 05152234 CERA. CAPA. 0.022UF 50V 2C11 05151033 CERA. CAPA. 0.01UF 50V 1C12 05152234 CERA. CAPA. 0.022UF 50V 1C13 05151033 CERA. CAPA. 0.01UF 50V 1C14 05994733 BACK-UP CAPA. EECS0HD473V 1
DRWG.NO. PARTS NO. PARTS NAME Q'TY REMARKS
– 58 –
C15 05131044 CERA. CAPA. 0.1UF 25V 1C16-17 05151015 CERA. CAPA. 100PF 50V 2C18 NOT MOUNTEDC19 05151015 CERA. CAPA. 100PF 50V 1C20 05152234 CERA. CAPA. 0.022UF 50V 1C21-22 05151044 CERA. CAPA. 0.1UF 50V 2C23 NOT MOUNTEDC24 05532234 CAPACITOR 0.022UF 25V 1C25 05152234 CERA. CAPA. 0.022UF 50V 1C26 05151015 CERA. CAPA. 100PF 50V 1C27 05051057 CHEM. CAPA. 1UF 50V 1C28 05151015 CERA. CAPA. 100PF 50V 1C29 05051057 CHEM. CAPA. 1UF 50V 1C30 05151015 CERA. CAPA. 100PF 50V 1C31 05051057 CHEM. CAPA. 1UF 50V 1C32 05151015 CERA. CAPA. 100PF 50V 1C33-34 05152234 CERA. CAPA. 0.022UF 50V 2C35 05051057 CHEM. CAPA. 1UF 50V 1C36 05034756 CHEM. CAPA. 4.7UF 25V 1C37 05131044 CERA. CAPA. 0.1UF 25V 1C38 05152234 CERA. CAPA. 0.022UF 50V 1C39 05151015 CERA. CAPA. 100PF 50V 1C40 05251044 FILM CAPA. 0.1UF 50V 1C41 NOT MOUNTEDC42 05252232 FILM CAPA. 0.022UF 50V 1C43-46 NOT MOUNTEDSW1-3 09090034 DIP SWITCH KSS08-1 3SW4 09090033 DIP SWITCH KSS04-1 1SW5-6 09100428 CONNECTOR IMSA9210B1-03GF 2BZ1 45060201 BUZZER QMB-111P 1XTAL 09250037 CERA. OSCILLATOR CST9.83MT 1CN1 09100400 CONNECTOR HLEM14S-1 1CN2 09100419 CONNECTOR HLEM19S-1 1CN3 09100269 CONNECTOR 5483-03A 1CN4 NOT MOUNTEDCN5 09100270 CONNECTOR 5483-02A 1CN6 09100268 CONNECTOR 5483-05A 1CN7 09100421 CONNECTOR 52065-6645 1CN8 09100602 CONNECTOR DT11321-R5T 1CN9 09100430 CONNECTOR IL-W24S-SD 1CN10 09100420 CONNECTOR B8B-PH-K 1CN11 09100317 CONNECTOR 5483-04A 1JC1-2 80924670 WIRE 20UL1015BLK100 2- 80702680 CABLE UNIT 14X265 SP312 1 OPTION *1
80702690 CABLE UNIT 19X265 SP312 1 OPTION *280703420 CABLE UNIT 4X510C BD300F 1 OPTION *380703430 CABLE UNIT 8X510C BD300F 1 OPTION *480703790 CABLE UNIT 14X100 BD300F 1 OPTION *580703800 CABLE UNIT 19X100 BD300F 1 OPTION *680703920 CABLE UNIT 14X330 BD300F 1 OPTION80703930 CABLE UNIT 19X330 BD300F 1 OPTION87219110 CABLE SET BD300F 1 OPTION :NOTE187219120 CABLE SET 100 BD300F 1 OPTION :NOTE287219062 CONTROL BOARD BD300K 1 OPTION :RS-422A87219051 CONTROL BOARD BD300L 1 OPTION :CURRENT LOOP
DRWG.NO. PARTS NO. PARTS NAME Q'TY REMARKS
Note1 : This cable set consists of four cables(*1 to *4)Note2 : This cable set consists of four cables(*3 to *6)
– 59 –
9. APPENDIX9-1. Control Code List
Control Codes Used in Charater Setting
Control codes Hexadecimal codes Function Page
<ESC> “R” n 1B 52 n Select international character set 23
<ESC> “6” 1B 36 Select IBM character set #2 23
<ESC> “7” 1B 37 Select IBM character set #1 23
<ESC> “M” 1B 4D Select font matrix 7 × 9 (half-dot) 24
<ESC> “P” 1B 50 Select font matrix 5 × 9 (2 pulses-1 dot) 24
<ESC> “:” 1B 3A Select font matrix 5 × 9 (3 pulses-1 dot) 25
<SO> 0E Select expanded character mode 25
<DC4> 14 Cancel expanded character mode 25
<ESC> “W” “1” 1B 57 31Select expanded character mode 25
<ESC> “W” <1> 1B 57 01
<ESC> “W” “0” 1B 57 30Cancel expanded character mode 25
<ESC> “W” <0> 1B 57 00
<ESC> “E” 1B 45 Select emphasized print mode 26
<ESC> “F” 1B 46 Cancel emphasized print mode 26
<ESC> “-” “1” 1B 2D 31Select underline mode 26
<ESC> “-” <1> 1B 2D 01
<ESC> “-” “0” 1B 2D 30Cancel underline mode 26
<ESC> “-” <0> 1B 2D 00
<ESC> “_” “1” 1B 5F 31Select overline mode 26
<ESC> “_” <1> 1B 5F 01
<ESC> “_” “0” 1B 5F 30Cancel overline mode 26
<ESC> “_” <0> 1B 5F 00
<ESC> “4” 1B 34 Select highlighted print mode 27
<ESC> “5” 1B 35 Cancel highlighted print mode 27
<SI> 0F Select inverted print mode 27
<DC2> 12 Cancel inverted print mode 27
Control Codes Used in Line Spacing
Control codes Hexadecimal codes Function Page
<LF> 0A Line feed 28
<CR> 0D Line feed (same as LF) 28
<ESC> “z” “1” 1B 7A 31Set 1/6 inch line feed 28
<ESC> “z” <1> 1B 7A 01
<ESC> “0” 1B 30 Set 1/8 inch line feed 28
<ESC> “a” n 1B 61 n Feed paper n lines 28
– 60 –
Control Codes Used for Page Layout
Control codes Hexadecimal codes Function Page
<FF> 0C Page feed (form feed) 29
<ESC> “C” n 1B 43 n Set page length at n lines 29
<ESC> “C” <0> n 1B 43 00 n Set page length at n inches 29
<VT> 0B Execute vertical tab 29
<ESC> “B” n1 n2 1B 42 n1 n2 Set vertical tab positions 30
<ESC> “N” n 1B 4E n Set bottom margin 30
<ESC> “O” 1B 4F Cancel bottom margin 30
<ESC> “l” n 1B 6C n Set left margin 30
<ESC> “Q” n 1B 51 n Set right margin 31
<HT> 09 Execute the horizontal tab 31
<ESC> “D” n1 n2 1B 44 n1 n2 Set horizontal tab positions 31
Control Codes Used for Graphics Printing
Control codes Hexadecimal codes Function Page
<ESC> “1” 1B 31 Set 7/72 inch line feed 32
<ESC> “A” n 1B 41 n Define n/72 inch line feed 32
<ESC> “2” 1B 28 Set n/72 inch line feed 32
<ESC> “J” n 1B 4A n One time line feed of n/72 inch 32
<ESC> “z” “0” 1B 7A 30Set 1/12 inch line feed 32
<ESC> “z” <0> 1B 7A 00
<ESC> “y” n 1B 79 n Set n/144 inch line feed 32
<ESC> “3” n 1B 33 n Set n/216 inch line feed 32
<ESC> “K” n1 <0> 1B 4B n1 00 8 dot single density bit image 33
<ESC> “L” n1 n2 1B 4C n1 n2 8 dot double density bit image 34
<ESC> “h” “1” 1B 68 31Select vertical expanded character mode 35
<ESC> “h” <1> 1B 68 01
<ESC> “h” “0” 1B 68 30Cancel vertical expanded character mode 35
<ESC> “h” <0> 1B 68 00
– 61 –
Control Codes Used for Download Characters
Control codes Hexadecimal codes Function Page
<ESC> “&” <0> n1 n2 1B 26 00 n1 n2 Define of download characters 36
<ESC> “%” “1” 1B 25 31Enable download character set 37
<ESC> “%” <1> 1B 25 01
<ESC> “%” “0” 1B 25 30Disable download character set 37
<ESC> “%” <0> 1B 25 00
Control Codes Used for Peripheral Units
Control codes Hexadecimal codes Function Page
<ESC> <BEL> n1 n2 1B 07 n1 n2 Adjust drive pulse width for peripheral unit 1 39
<BEL> 07 Deferred drive command for peripheral unit 1 39
<FS> 1C Immediate drive command for peripheral unit 1 39
<SUB> 1A Immediate drive command for peripheral unit 2 40
<EM> 19 Immediate drive command for peripheral unit 2 40
Other Control Codes
Control codes Hexadecimal codes Function Page
<RS> 1E Sound buzzer 40
<CAN> 18 Cancel print data in buffer 40
<DC3> 13 Set deselect mode 40
<DC1> 11 Set select mode 41
<ESC> “U” “1” 1B 55 31Select uni-directional print mode 41
<ESC> “U” <1> 1B 55 01
<ESC> “U” “0” 1B 55 30Select bi-directional print mode 41
<ESC> “U” <0> 1B 55 00
<ESC> “@” 1B 40 Initialize printer 42
<ENQ> 05 Enquiry 42
<STX> 02 Enter STX-ETX mode 42
<ETX> 03 Terminate STX-ETX mode 42
<GS> data <LF> 1B data 0A Select validation printing 43
<ESC> “d” “0” 1B 64 30Trigger auto-cutter drive (full cut) 43
<ESC> “d” <0> 1B 64 00
<ESC> “d” “1” 1B 64 31Trigger auto-cutter drive (partial cut) 43
<ESC> “d” <1> 1B 64 01
– 62 –
9-2. Character code table
9.2.1 U.S.A. & Europe (DIP SW2-1: ON, SW2-2: ON)
– 63 –
– 64 –
9.2.2 IBM Character Set #1 (DIP SW2-1: OFF, SW2-2: ON)
– 65 –
– 66 –
9.2.3 IBM Character Set #2 (DIP SW2-1: ON, SW2-2: OFF)
– 67 –
– 68 –
9.2.4 JAPAN (DIP SW2-1: OFF, SW2-2: OFF)
– 69 –
– 70 –
9.2.5 International Character Sets
2000.08.20
Printed in Japan, 80822236
OVERSEAS SUBSIDIARY COMPANIESSTAR MICRONICS AMERICA, INC.1150 King Georges Post Road, Edison,NJ 08837-3729 U.S.A.Tel : 732-623-5555Fax: 732-623-5590
ELECTRONIC PRODUCTS DIVISIONSTAR MICRONICS CO., LTD.536 Nanatsushinya,Shimizu, Shizuoka, 424-0066 JapanTel : 0543-47-0112Fax: 0543-48-5013
Distributed by
STAR MICRONICS U.K. LTD.Star House, Peregrine BusinessPark, Gomm Road, High Wycombe,Bucks, HP13 7DL, U.K.Tel : 01494-471111Fax: 01494-473333
Please access the following URLhttp://www.star-micronics.co.jp/service/frame_sp_spr_e.htmfor the lastest revision of the manual.
Recommended