Вы находитесь на странице: 1из 75

CONTROL BOARD

BD300FD-24-BX

SPECIFICATION
AND
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 time
of going to press. However, should any errors be detected, STAR would greatly appreciate
being 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 .............................................................................................. 1


1.1
Overview ................................................................................................................... 1
1.2
Features ..................................................................................................................... 1

2.

MAIN SPECIFICATIONS ................................................................................................ 2

3.

CONFIGURATION ............................................................................................................ 3
3.1
Block Diagram .......................................................................................................... 3
3.2
Connector Assignment Diagram ............................................................................... 5
3.2
Connector Specifications and Signal Names ............................................................ 5
3.3.1 CN1 (Print Head Drive Signals) .................................................................. 5
3.3.2 CN2 (Printer Control Signals) ..................................................................... 6
3.3.3 CN3 (Paper Out Signals) ............................................................................. 6
3.3.4 CN5 (Paper Winder Signals) ....................................................................... 7
3.3.5 CN6 (Paper Cutter Signals) ......................................................................... 7
3.3.6 CN7 (Peripheral Drive Signals)................................................................... 8
3.3.7 CN8 (Serial Interface) ............................................................................... 10
3.3.8 CN9 (Optional Interface Board) ................................................................ 12
3.3.9 CN10 (Control Panel Signals) ................................................................... 13
3.3.10 CN1l (Power Supply) ............................................................................... 16

4.

CONNECTION AND SETTINGS .................................................................................. 17


4.1
Connecting the Power Supply and Connectors ....................................................... 17
4.2
INterface Connections ............................................................................................. 18
4.3
Setting the Jumper ................................................................................................... 18
4.4
Setting the DIP switches ......................................................................................... 19
4.4.1 DIP switch1 ............................................................................................... 19
4.4.2 DIP switch2 ............................................................................................... 19
4.4.3 DIP switch3 ............................................................................................... 20
4.4.4 DIP switch4 ............................................................................................... 20

5.

INTERFACE ..................................................................................................................... 21
5.1
Interface Specifications ........................................................................................... 21
5.2
Interface Timing ...................................................................................................... 21
5.2.1 RS-232C .................................................................................................... 21
5.2.2 Current Loop (Option) ............................................................................... 22
5.2.3 RS-422A Serial I nterface (Option) ........................................................... 22

6.

CONTROLCODES .......................................................................................................... 23
6.1
Control Codes Used for Character Setting .............................................................. 23
6.2
Control Codes Used for Line Spacing .................................................................... 28
6.3
Control Codes Used for Page Layout ...................................................................... 29
6.4
Control Codes Used for Graphics Printing ............................................................. 32
6.5
Control Codes Used for Download Characters ....................................................... 36
6.6
Control Codes Used for Peripheral Units ................................................................ 39
6.7
Other Control Codes ............................................................................................... 40

7.

DATA STRUCTURE ........................................................................................................ 44


7.1
DTR Mode .............................................................................................................. 44
7.2
X-ON/X-OFF Mode ................................................................................................ 46
7.3
STX-ETX Mode ...................................................................................................... 48

8.

PC BOARD, CIRCUIT DIAGRAM, PARTS LIST ...................................................... 50


8.1
PC Board Dimension Drawing ................................................................................ 50
8.2
Component Layout .................................................................................................. 51
8.3
Circuit Diagram ....................................................................................................... 52
8.4
Parts List .................................................................................................................. 56

9.

APPENDIX ................................................................................................................... 59
9.1 Control Code List .................................................................................................... 59
9.2 Character Code Table............................................................................................... 62
9.2.1
U.S.A & Europe ......................................................................................... 62
9.2.2
IBM Character Set #1 ................................................................................ 64
9.2.3
IBM Character Set #2 ................................................................................ 66
9.2.4
Japan .......................................................................................................... 68
9.2.5
International Character Sets ...................................................................... 70

1. GENERAL DESCRIPTION
1.1

Overview

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


B

24

-B X

Vo l t a g e
24: 25VDC, 5VDC
Interface and Connector type
C:

Serial Interface
D- Sub 25pin Connector

Paper feeding method for applicable


printer machanism
F:

Friction feed

(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.2 Features
(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.

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

59

7 9 (half-dot)

Block graphics

66

56

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 0C to +50C
Humidity 10% to 80% RH (at +40C without condensation)

Storage environment

Temperature -20C to +70C


Humidity 5% to 95% RH (at +40C without condensation)

3. CONFIGURATION
3.1

Block Diagram
Data
(from host computer)
Peripheral
Unit
Serial
interface

Control
panel
board

Driver

Gate array

Carriage
motor

CPU

Detectors

Paper Out
detector
EPROM
32KB
25VDC
5VDC

Print head

Driver

Paper feed
motor

RAM 8KB
Control board

Printer
mechanism

Fig. 3-1 Block Diagram


(1) Control Board
The data output from the host computer passes through the control boards 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.

(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.

3.2 Connector Assignment Diagram


25

1
6

CN7

SW5
SW6
24

CN8
8

SW3
1
SW4 4
1

1
8

SW2

CN9
SW1

J3

CN6
J1
CN10
1

J2

CN5

Cable Unit 8
510C BD300F
(Option)

1
CN11

CN3
2 1

19 CN2 1
3

CN1

14

4
1

Cable Unit 4
510C BD300F
(Option)

Cable Unit 14 265 SP312


(Option)
or Cable Unit 14 100 BD300F
(Option)
or Cable Unit 14 330 BD300F
(Option)

Cable Unit 19 265 SP312


(Option)
or Cable Unit 19 100 BD300F
(Option)
or Cable Unit 19 330 BD300F
(Option)

Fig.3-2 Connector Assignment Diagram


3.3 Connector Specificarions and Signal Names
3.3.1

CN1(Print Head Drive Signals)

Board connector

HLEM14S-1 [FCI]

Applicable cable set

Cable Unit 14 265 SP312 (Optional)

Note: An optional U14 100 BD300F 100-mm long cable or U14 330 BD300F 330-mm long cable is
also available.
Printer mechanism

Control board side


1
2

14
2655 mm

Cable SMCD-14 265-AD10-P1.25-S6-M-K, UL2896 (Sumitomo Electric Industries, Ltd.)

Fig.3-3 Cable Unit 14 265 SP312 (Optional)


Pin No.

Signal Name

Function

Pin No.

Signal Name

Function

HD #2

Head solenoid 2

HD CMN3

Head common 3

HD #4

Head solenoid 4

THERMISTOR

Thermistor

HD #1

Head solenoid 1

10

HD #9

Head solenoid 9

HD #6

Head solenoid 6

11

THERMISTOR

Thermistor

HD CMN 1

Head common 1

12

HD #5

Head solenoid 5

HD #8

Head solenoid 8

13

HD #3

Head solenoid 3

HD CMN 2

Head common 2

14

HD #7

Head solenoid 7

3.3.2

CN2(Printer Control Signals)

Board connector

HLEM 19S-1 [FCI]

Applicable cable set

Cable Unit 19 265 SP312 (Optional)

Note: An optional U19 100 BD300F 100-mm long cable or U19 330 BD300F 330-mm long cable is
also available.
Printer mechanism

Control board side


1
2
3

19
+5 mm
265-

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

LF-1

LF motor 1

11

N.C.

Not connected

LF-2

LF motor 2

12

+5V

+5V

LF-3

LF motor 3

13

H.P.SIG

Home position signal

LF-4

LF motor 4

14

VALIDATION

Validation signal*l

LF-CMN A

LF motor common A

15

N.C.

Not connected

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

MOTOR (-)

CR motor (-)

18

S-GND

Signal ground

(M-GND)

(Motor Ground)

19

N.C.

Not connected

9,10

*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)
Board connector

5483-03A [Molex]

Applicable cable set

Not supplied with this unit.

1
CLOSE no paper is set

3
Housing 5480-03A (Molex)
Terminal 5479-PBT/PBTZ (Molex)

Fig. 3-5 Paper Out Detector Cable


Pin No.

Signal Name

Function

N.C.

Not connected

PAPER OUT SIG 1

Paper out signal

GND

Signal ground

3.3.4

CN5 (Paper Winder Signals)

Board connector

5483-02A [Molex]

Applicable cable set

PW300-24 (optional)

Control board side


1
2

Rewinder
(option)

Housing 5480-02 (Molex)


Terminal 5479 PBT/PBTZ (Molex)

PW300-24

Fig. 3-6 PW300-24 Rewinder (Optional)


Pin No.

Signal Name

Function

REWINDER (+)

Paper winding (+)

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

F/P POSIRION SIG

F/P Position signal

RESET SIG

Reset signal

GND

Ground

MOTOR (-)

Motor (-)

MOTOR (+)

Motor (+)

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

F-GND

Frame ground

PERIPHERAL EXT 1

Peripheral unit 1 (-)

3, 4

PERIPHERAL COM

Drive Common (+24V)

PERIPHERAL EXT 2

Peripheral unit 2 (-)

COMPULSION SIG

Compulsion signal

[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 = 25C)


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 = 25C)


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

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

1
2
3
4

F-GND
TXD
RXD
RTS

I/O
direction
OUT
IN
OUT

CTS

IN

6
7
8
9 to 10
11

N.C.
S-GND
N.C.
OP-IF

12
13
14

N.C.
S-GND

RCH

FAULT

15
Multi-printer TXD
16
Multi-printer DTR
17 to 19
OP-IF
20
DTR
21 to 22
23 to 25

OUT

OUT
OUT
OUT
OUT

N.C.
OP-IF

Function
Frame ground
Transmitted data
Received data
Data transmission request signal. This is always SPACE when
the control board is turned on.
This signal changes to SPACE when host computer is ready to
transmit data.(In this instance, the control board does not check
this signal.)
Not connected
Signal ground.
Not connected.
This pin is used when using the optional interface board.
This signal changes to SPACE when the control board is ready
to receive data. (The signal line is same as pin 20.)
Not connected.
Signal ground
When control board error occurs (such as paper out, mechanical
error), this signal is set to MARK.
Diode coupled TXD
Diode coupled DTR
This pin is used when using the optional interface board.
Data terminal ready signal. When the control board is ready to
receive data, this signal changes to SPACE.
Not connected
This pin is used when using the optional interface board.

25

14

13

Fig. 3-10 Serial interface connector

10

When attaching an optional board 20mA current loop or RS-422A to the connector CN9, pins No.9-10, 1719 and 23-25 have the following functions.

20mA current loop (option)


Pin no.

Signal name

9
10
17
18
19
23
24
25

TTY TXDR
TTY TXD
TTY TXDR
TTY RXDR
TTY RXD
TTY RXDR
TTY TXD
TTY RXD

I/O
direction
OUT
IN
OUT
IN

Function
Indicates the ground side of the data signal of 20mA current loop.
Transmitted data of 20mA current loop.
Indicates the ground side of the data signal of 20mA current loop.
Indicates the ground side of the data signal of 20mA current loop.
Received data of 20mA current loop.
Indicates the ground side of the data signal of 20mA current loop.
Transmitted data of 20mA current loop.
Reception data of 20mA current loop

RS-422A (option)
Pin no.

Signal name

9
10
17
18
19

SD(+)
SD(-)
RD(+)
RD(-)
CS(+)

I/O
direction
OUT
OUT
IN
IN
IN

23

CS(-)

IN

24

RS(+)

OUT

25

RS(-)

OUT

Function
Transmitted data
Transmitted data
Received data
Received data
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.)
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.)
Data transmission request signal. When the printer is ready to
receive data, this signal changes to SPASE.
Data transmission request signal. When the printer is ready to
receive data, this signal changes to SPASE.

11

3.3.8

CN9 (Optional Interface Board)

Board connector
Applicable cable

IL-W-24S-SD[JAE]
BD 300L (20mA current loop)
BD 300K (RS-422A)

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.

At the same time, insert the plastic board support into thr hole on the interface board.

Switch SW5 and SW6 on the control board from A-C to B-C.

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
Optional interface
board

Control board
Optional board support
CN9

Fig. 3-11 Installing the optional interface board

SW5

SW6

Fig. 3-12 Switch SW5 and SW6 (BD300L)

12

3.3.9 CN10 (Control Panel Signals)


Board connector

B8B-PH-K J.S.T

Applicable cable set

Cable Unit 8 510C BD300F (Optional)

Control board side


1

Control panel side

8
+10
0 mm

+2

500 -

10-0 mm

Fig.3-13 Cable Unit 8 510C BD300F (Optional)


Pin No.

Signal Name

Function

Pin No.

Signal Name

+5V

ON LINE LAMP

On line lamp

On-line/Off-line

FEED SW

Paper feed switch

selector switch

N.C.

Not connected

GND

Ground

+5V

ON LINE SW

POWER LAMP

Power lamp

ALARM LAMP

Alarm lamp

Function

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.
+5V

1
3

R1 to R3

270 resistor, l/4W

LED1,3

Diode LT1E21A (SHARP)

LED2

Diode LT1D1lA (SHARP)

SW l, 2

Pushbutton switch SKHHAL (ALPS)

2
6

R1

LED1

R2

LED2

R3

LED3

SW1
SW2

POWER LAMP

ALARM LAMP

ON LINE LAMP

ON LINE SW
FEED SW

GND

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.

13

(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 printers 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.

14

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

Power is on

ON

OFF

ON

On-line status

ON

OFF

ON

Off-line status

ON

OFF

OFF

Validation enabled

ON

OFF

Flashing

Mechanical error

ON

Flashing

OFF

CPU error

ON

ON

ON

Power is off

OFF

OFF

OFF

15

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)

Control board
1
4
+10
0 mm

500 -

+2

10-0 mm

Fig. 3-17 Cable U4 510C BD300F (Optional)


PinNo.

Simal Name

Function

+25V

+25V power supply

M-GND

Ground

+5V

+5V power supply

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.

16

4. CONNECTION AND SETTINGS


4.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.

Peripheral
unit

Personal
computer etc.

25

1
6

CN7

SW5
SW6
24

CN8

1
SW4 4
1

1
8

SW3

SW2

Optional interface board


CN9

SW1

J3

CN6

Connect with Auto cutter


equipped printer mechanism

5
1

To control
panel board

J1
CN10
1

J2
4
CN11

8 CN5
Cable Unit 8
510C BD300F
[Option]

CN3

19 CN2

CN1
14

To paper out
detector

To Power Supply

Cable Unit 4
510C BD300F
(Option)

Cable Unit 14 265 SP312F


(Option)

Cable Unit 19 265 SP312F


(Option)
Cable Unit 5 195 SP342F
Rewinder

Printer
mechanism

(Option)

Cable for Auto cutter equipped


printer mechanism

Fig. 4-1 Connecting the Power Supply and Connectors

17

4.2 Interface Connections


The following is a basic example of interface connections. (For interface connections, refer to the specifications for the respective interface.) IBM PC type serial port is shown as example.

IBM PC Side

Board Side
Shield
F-GND

F-GND

TXD

TXD

RXD

RXD

RTS

RTS

CTS

CTS

DSR

DSR

S-GND

S-GND

FAULT

14

DCD

DTR

20

20

DTR

Fig. 4-2 Example of interface connections for IBM PC (RS-232C)


4.3 Setting the Jumper
Setting
OPEN
SHORT

Solder

Set the jumpers J1 to J3 to the printer mechanism.


They are set OPEN in factory setting.

Printer mechanism

J1

J2

J3

OPEN

OPEN

OPEN

MP311F-24-A

SHORT

OPEN

OPEN

MP342F-24-A

OPEN

OPEN

SHORT

MP341F-24-A

SHORT

OPEN

SHORT

MP312F-24-A
MP312FV-24-A

Please refer to fig. 3-2 for jumper locations.

18

4.4 Setting the DIP Switches


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 1
Function

*1

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

The addressable mode is valid only when optional RS-422A serial interface is mounted.

4.4.2 DIP Switch 2


Function
2-1

ON

OFF

Character code table

See the table below

2-3

(Not used)

(Leave ON)

2-4

Paper width

2-5

(Notused)

(Leave ON)

International character set

See the table below

2-2

MP312F(V), MP342F

3.25, 3.0 inches

MP311F, MP341F

2.25 inches

3.25, 3.0 inches

2-6
2-7
2-8
Character code table
U.S.A. & Europe

IBM #1

IBM #2

Japan

2-1

ON

OFF

ON

OFF

2-2

ON

ON

OFF

OFF

International character set


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

19

4.4.3

DIP Switch 3
ON

OFF

Data transfer rate

See the table below

J3 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

3-1
3-2
3-3
3-4

*1 This mode is only effective in case the paper cutter printer mechanism MP342F-24-A and MP341F-24A 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 instruction
specifying continuous feed for 7/6 inches or more is issued.
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
Switch
4-1

Addressable mode *2

invalid mode #1

#2

#3

#4

#5

#6

#7

#8

DC1,DC3
#9 #10 #11 #12 #13 #14 valid mode

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.

20

5. INTERFACE
5.1 Interface Specifications
1.

Data transmission method:

Asynchronous serial interface

2.

Baud rate:

Selectable from 150, 300, 600, 1200, 2400, 4800,

3.

Word length

4.

Signal polarity

MARK "1"
SPACE "0"

b0 b1 b2

b3 b4 b5 b6 (b7)

C
A:
B:
C:
D:

9600 bps (Refer to 4.4 DIP Switch Setting.)


Start bit: 1 bit
Data bit: 7 or 8 bits (selectable. Refer to 4.4 DIP
Switch Setting.)
Parity bit: Odd, even or none (selectable. Refer to
4.4 DIP switch setting.)
Stop bit: 1 or 2 bit length
RS-232C (Standard feature)
MARK: Logic1 (-3V to -15V)
SPACE: Logic 0 (+3V to +15V)
Current loop (oprional)
MARK: Logic 1 (current ON)
SPACE: Logic0 (current OFF)
RS-422A (optional)
MARK: Logic1
A is -0.2V or less than B
SPACE: Logic 0
A is 0.2V or more than B

Start bit
Data bit
Parity bit
Stop bit

Fig. 5-1 Data Format


5.2 Interface Circuit
5.2.1

RS-232C
Input (RXD, CTS)
Host computer

Printer

75189 or equivalent
Output (DTR, FAULT, TXD, RCH, RTS)
Host computer

Printer

75188 or equivalent

Fig. 5-2 RS-232C Interface Circuit

21

5.2.2

Current Loop (Option)


Host computer
+V

Input (TTY-RXD, TTY-RXDR)

Printer

Host computer
+V

Output (TTY-TXD, TTY-TXDR)

Printer

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)

Input (RD, RS)


Printer

Host computer

( )

( )

Output (SD, CS)


Printer

Host computer

( )

( )

Fig. 5-4 RS-422A INterface Circuit

22

6. CONTROL CODES
6.1 Control Codes Used in Character Setting

FUNCTION

Select international character set

CODE

< ESC > R n


(lB)H (52)H n

DEFINITION RANGE

(00)H

OUTLINE

Selects the international character set corresponding to the value set for n.

(08)H

n = (00)H:U.S.A.
(01)H: France

(03)H: England

(06)H: Italy

(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.

FUNCTION

Select IBM character set #2.

CODE

< ESC > 6


(lB)H (36)H

OUTLINE

Selects IBM character set #2.

DEFINITION
RANGE
Note

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.

FUNCTION

Select IBM character set #1.

CODE

< ESC > 7


(lB)H (37)H

OUTLINE

Selects IBM character set #1.

Note

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.

23

FUNCTION

Select font matrix 7 9 (half-dots)

CODE

< ESC > M


(1B)H (4D)H

OUTLINE

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:
Printer mechanism
MP312F-24-A

DIP Switch 2-4

ON

OFF

Maximum no. of print columns

40

28

MP312FV-24-A
MP342F-24-A

CPI(Characters Per Inch)

MP311F-24-A

Maximum no. of print columns

MP341F-24-A

CPI (Characters Per Inch)

15.4
28

28
12.2

This code valid only when received at the beginning of a line.


When the power is turned on, this code is automatically selected.

FUNCTION

Select font matrix 5 9 (2 pulses-1 dot)

CODE

< ESC > P


(1B)H (50)H

OUTLINE

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
MP312F-24-A

DIP Switch 2-4

ON

OFF

Maximum no. of print columns

33

23

MP312FV-24-A
MP342F-24-A

CPI (Character sPer Inch)

MP311F-24-A

Maximum no. of print columns

MP341F-24-A

CPI (Characters Per Inch)

This code valid only when received at the beginning of a line.

24

12.8
23

23
10.2

FUNCTION

Select font matrix 5 9 (3pulses-1 dot)

CODE

< ESC > :


(lB)H (3A)H

OUTLINE

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
MP312FV-24-A
MP342F-24-A

Maximum no. of print columns

22

15

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-24A is used.

FUNCTION

Select expanded character mode

CODE

< SO >
(0E)H

OUTLINE

Data following this code is printed in double-width characters.


Same as < ESC >W l or < ESC > W < 1 >.

FUNCTION

Cancel expanded character mode.

CODE

< DC4 >


(14)H

OUTLINE

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 >.

FUNCTION

Select expanded character mode.

CODE

< ESC >W 1 or < ESC >W < 1 >.


(lB)H (57)H (31)H or (lB)H (57)H (01)H

OUTLINE

Data following this code is printed in double-width characters.


Same as < SO >.

FUNCTION

Cancel expanded character mode.

CODE

< ESC >W 0 or < ESC >W < 0 >.


(lB)H (57)H (30)H or (lB)H (57)H (00)H

OUTLINE

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 >

25

FUNCTION

Select emphasized print mode.

CODE

< ESC >E


(lB)H (45)H

OUTLINE

Data following this code is printed in the emphasized print mode. In this mode only
uni-directional printing is performed.

FUNCTION

Cancel emphasized print mode.

CODE

< ESC > F


(lB)H (46)H

OUTLINE

Cancels emphasized print mode.

FUNCTION

Select underline mode

CODE

< ESC > - 1 or < ESC > -< 1 >


(lB)H (2D)H (31)H or (lB)H (2D)H (01)H

OUTLINE

Data following this code is printed out underlined. (However, the spaces generated
by horizontal tab are not underlined.)

FUNCTION

Cancel underline mode

CODE

< ESC > - 0 or < ESC > - < 0 >


(lB)H (2D)H (30)H or (lB)H (2D)H (00)H

OUTLINE

Cancels underline mode.

FUNCTION

Select overline mode

CODE

< ESC > _ 1 or < ESC > _ < 1 >


(lB)H (5F)H (31)H or (lB)H (5F)H (01)H

OUTLINE

Data following this code is printed out with an overline. (However the spaces
generated by horizontal tab are not overlined.)

FUNCTION

Cancel overline mode

CODE

< ESC > _ 0 or < ESC > _ < 0 >


(lB)H (5F)H (30)H or (lB)H (5F)H (00)H

OUTLINE

Cancels overline mode.

26

FUNCTION

Select highlighted print mode.

CODE

<ESC> 4
(lB)H (34)H

OUTLINE

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.

FUNCTION

Cancels highlighted print mode.

CODE

< ESC >5


(lB)H (35)H

OUTLINE

Cancels highlighted print mode.

FUNCTION

Select inverted print mode

CODE

< SI >
(0F)H

OUTLINE

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.

FUNCTION

Cancels inverted print mode

CODE

< DC2 >


(12)H

OUTLINE

Cancels the inverted character mode. This code is valid only when input at the
beginning of a line.

27

6.2 Control Codes Used for Line Spacing

FUNCTION

Line feed

CODE

< LF >
(0A)H

OUTLINE

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.

FUNCTION

Line feed (Same as LF)

CODE

< CR >
(0D)H

OUTLINE

Functions the same as an LF code.


When DIP SW 1-3 is set to ON, this code becomes invalid.

FUNCTION

Set l/6-inch line feed

CODE

< ESC > z 1 or < ESC > z < 1 >


(lB)H (7A)H (31)H or (lB)Hn (7A)H (01)H

OUTLINE

Line feed is set at n/216-inch after this code is received.

FUNCTION

Set 1/8 inch line feed.

CODE

< ESC > 0


(lB)H (30)H

OUTLINE

Line feed is set at 1/8 inch after this code is received.

FUNCTION

Feed paper n lines

CODE

< ESC > a n


(lB)H (61)H n

DEFINITION RANGE

1 n 127

OUTLINE

After data in the line buffer is printed out feeds the paper n lines.

28

6.3 Control Codes Used for Page Layout

FUNCTION

Page feed (form feed)

CODE

< FF >
(0C)H

OUTLINE

After data in the line buffer is printed out, feeds the paper to the top of the next
page.

FUNCTION

Set page length at n lines

CODE

< ESC > C n


(lB)H (43)H n

DEFINITION RANGE

OUTLINE

Sets page length at n lines.

FUNCTION

Set page length at n inches

CODE

< ESC > C < 0 > n

255 (default value n = 42)

(lB)H (43)H (00)H n

DEFINITION RANGE

127

OUTLINE

Sets page length at n inches.

FUNCTION

Execute vertical tab.

CODE

< VT >
(0B)H

OUTLINE

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.

29

FUNCTION

Set vertical tab position

CODE

< ESC > B n1 n2...nk < 0 >


(lB)H (42)H n1 n2...nk (00)H

DEFINITION RANGE

1 n1 < n2 < n3 <...< nk

OUTLINE

Cancels all current vertical tab positions and sets new vertical tab positions at lines

255, 1 k

16

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.

Note

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.

FUNCTION

Set bottom margin

CODE

< ESC > N n


(lB)H (4E)H n

DEFINITION RANGE

0 n

OUTLINE

Sets bottom margin to n lines.

FUNCTION

Cancel bottom margin

CODE

< ESC > O

255 (Default n = 0)

(lB)H (4F)H

OUTLINE

Cancels bottom margin.

FUNCTION

Set left margin.

CODE

< ESC > l n


(lB)H (6C)H n

DEFINITION RANGE

0 n

OUTLINE

Sets the left margin at column n in the current character pitch. The left margin does

(right margin -2)

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.

30

FUNCTION

Set right margin

CODE

< ESC > Q n


(lB)H (51)H n

DEFINITION RANGE

OUTLINE

Sets the right margin at column n in the current character pitch. Column n becomes

n (maximum no. of print columns)

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.

FUNCTION

Execute horizontal tab.

CODE

<HT>
(09)H

OUTLINE

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.)

FUNCTION

Set horizontal tab position

CODE

< ESC > D n1 n2....nk < 0 >


(1B)H (44)H n1 n2....nk (00)H

DEFINITION RANGE

OUTLINE

Cancels all current horizontal tab positions and sets new tab positions at columns n1,

n1 < n2 < n3... < nk

(maximum no. of print columns), 1 k 16

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 >.

Note

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.

31

6.4 Control Codes Used for Graphics Printing


Set 7/72 inch line feed
FUNCTION

CODE

< ESC > l


(lB)H (31)H

OUTLINE

Line feed is set at 7/72 inch after this code is received.

FUNCTION

Define n/72 inch line feed

CODE

< ESC > A n


(lB)H (41)H n

DEFINITION RANGE

OUTLINE

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 > 2code.

FUNCTION

Set n/72 inch line feed

CODE

<ESC> 2
(lB)H (32)H

OUTLINE

Sets the line feed at a defined value with the < ESC > A previously
described.

FUNCTION

One time line feed of n/72 inch.

CODE

< ESC > J n


(lB)H (4A)H n

DEFINITION RANGE

1 n

OUTLINE

Activates the n/72-inch paper feed once.

FUNCTION

Set 1/12 inch line feed

CODE

< ESC > z 0 or < ESC > z < 0 >


(lB)H (7A)H (30)H or (lB)H (7A)H (00)H

OUTLINE

Line feed is set at 1/12 inch after this code is received.

FUNCTION

Set n/144 inch line feed.

CODE

< ESC > y n


(lB)H (79)H n

DEFINITION RANGE

1 n

OUTLINE

Line feed is set at l/144-inch after this code is received.

FUNCTION

Set n/216-inch line feed.

CODE

< ESC > 3 n


(lB)H (33)H n

DEFINITION RANGE

1 n

OUTLINE

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.

85 (Default n = 12)

255

255

255

32

FUNCTION

8 dot single density bit image

CODE

< ESC > K n1 < 0 > m1 rn2....


(lB)H (4B)H n1 (00)H m1 m2....

DEFINITION RANGE

1 n1

OUTLINE

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

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.

EXAMPLE

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.
Data

Binary

m1
m2
m3
m4
m5
m6
m7
m8
m9
m10

00000001
00011110
00111110
01011111
00011111
01011110
00011110
00111111
00101111
00111110

Hexadecimal
01
1E
3E
5F
1F
5E
1E
3F
2F
3E

Data

Binary

m11
m12
m13
m14
m15
m16
m17
m18
m19
m20

00111110
00000010
00000010
00111110
00111110
00101111
00101111
00111110
00101110
00101110

Printing Samples
33

Hexadecimal
3E
02
02
3E
3E
2F
2F
3E
2E
2E

Data

Binary

m21
m22
m23
m24
m25
m26
m27
m28
m29
m30

00111110
00101110
00101110
00111110
00101111
00101111
00111110
00111110
00000010
00000010

Hexadecimal
3E
2E
2E
3E
2F
2F
3E
3E
02
02

FUNCTION

8 dot double density bit image

CODE

< ESC > L n1 n2 m1 m2....


(lB)H (4C)H n1 n2 m1 m2....

DEFINITION RANGE

1 n1 + 256 n2 k

OUTLINE

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

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 allowed 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.
CODE

For double density bit image printing, dots cannot be printed overlapping
each other in the horizontal direction.
The following is an example of this.

34

FUNCTION

Select vertical expanded character mode

CODE

<ESC> h 1 or < ESC > h < 1 >


(lB)H (68)H (31)H or(lB)H (68)H (01)H

OUTLINE

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.

Note

(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.

FUNCTION

Cancel vertical expanded character mode

CODE

< ESC > h 0 or < ESC > h < 0 >


(lB)H (68)H (30)H or (lB)H (68)H (00)H

OUTLINE

Cancels vertical expanded character mode

35

6.5 Control Codes Used for Download Characters

FUNCTION

Definition of download characters

CODE

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

DEFINITION RANGE
OUTLINE

(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 printers 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

Note

When the 7 9 (half-dots) font matrix is set (the default setting), printing of
adjacent horizontal dots is not allowed.

36

FUNCTION

Enable download character set

CODE

< ESC > % l or < ESC > % < 1 >

OUTLINE

(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.

FUNCTION
CODE
OUTLINE

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.

EXAMPLE

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.

37

m1 10100000

A0

m1 10011000

98

Hexadecimal
m1 00111000
3C

m2 00000000

00

m2 01100100

64

m2 01000010

42

m3 10100000

A0

m3 10000010

82

m3 10100101

A5

m4 00011111

1F

m4 00000001

01

m4 00000000

00

m5 10100000

A0

m5 10000010

82

m5 10100101

A5

m6 00000000

00

m6 01100100

64

m6 01000010

42

m7 10100000

A0

m7 10011000

98

m7 00111000

3C

Data

Binary

Hexadecimal Data

HexaBinary decimal

Data Binary

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

Printing Samples

38

6.6 Control Codes Used for Peripheral Units

FUNCTION

Adjust drive pulse width for peripheral unit 1

CODE

< ESC > < BEL > n1 n2


(lB)H (07)H n1 n2

DEFINITION RANGE
OUTLINE

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.

Note

Adjustment is not necessary for standard cash drawers in the U.S.A. market.

FUNCTION

Deferred drive command for peripheral unit 1

CODE

< BEL >


(07)H

OUTLINE

Executes drive pulse for peripheral unit 1 (deferred).

FUNCTION

Immediate drive command for peripheral unit 1

CODE

< FS >
(lC)H

OUTLINE

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.

39

FUNCTION

Immediate drive command for peripheral unit 2

CODE

< SUB >


(lA)H

OUTLINE

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 >.

Note

Peripheral units 1 and 2 cannot be driven simultaneously.

FUNCTION

Immediate drive command for peripheral unit 2

CODE

< EM >
(19)H

OUTLINE

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 >.

Note

Peripheral units 1 and 2 cannot be driven simultaneously.

6.7 Other Control Codes

FUNCTION

Sound buzzer

CODE

< RS >
(lE)H

OUTLINE

Generates a short alarm.

FUNCTION

Cancel print data in buffer.

CODE

< CAN >


(18)H

OUTLINE

Clears data buffer and line buffer


Clears the data in the data buffer in the STX-ETX mode.

FUNCTION

Set deselect mode

CODE

< DC3 >


(13)H

OUTLINE

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.

40

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.

FUNCTION

Set select mode

CODE

< DC1 > or < DC > n


(11)H or (11)H n

OUTLINE

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.

FUNCTION

Select uni-directional print mode.

CODE

< ESC > U l or < ESC > U < 1 >


(lB)H (55)H (31)H or (lB)H (55)H (01)H

OUTLINE

Prints only when the print head moves from left to right.

FUNCTION

Select bi-directional print mode

CODE

< ESC > U O or < ESC > U< 0 >


(lB)H (55)H (30)H or (lB)H (55)H (00)H

OUTLINE

Returns to the standard bi-directional print mode. (This mode is set automatically
when the printer power is turned on.)

41

FUNCTION

Initialize printer

CODE

< ESC > @


(lB)H (40)H

OUTLINE

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.

FUNCTION

Enquiry

CODE

< ENQ >


(05)H

OUTLINE

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.

Note

When IBM character set #2 is selected by character code, codes < ENQ > does not
exist. (In this instance, select another code.)

(05)H

U.S.A & Europe

I BM #1

IBM #2

Japan

< ENQ >

< ENQ >

< ENQ >

FUNCTION

Enter STX-ETX mode

CODE

< STX >


(02)H

OUTLINE

Sets the STX-ETX mode.

FUNCTION

Terminate STX-ETX mode.

CODE

< ETX>
(03)H

OUTLINE

Terminates the STX-ETX mode and prints out the text data.

Note

When IBM character set #2 is selected by character code, codes < ETX > does not
exist. (In this instance, select another code.)

(03)H

U.S.A & Europe

I BM #1

IBM #2

Japan

< ETX >

< ETX >

< ETX >

42

FUNCTION

Select validation printing

CODE

< GS > data < LF >


(1D)H data (0A)

OUTLINE
Note

Prints up to 32 columns of the 15.4-CPI size characters on one line.


(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.

FUNCTION

Trigger auto-cutter drive (full cut)

CODE

< ESC > d 0 or < ESC > d < 0 >


(lB)H (64)H (30)H or (1B)H (64)H (00)H

OUTLINE

Causes the printer mechanism to trigger auto-cutter (full cut).

Note

This code is valid only when attaching mechanism with paper-cutter.

FUNCTION

Trigger auto-cutter drive (partial cut)

CODE

< ESC > d 1 or < ESC > d < 1 >


(lB)H (64)H (31)H or (lB)H (64)H (01)H

OUTLINE

Causes the printer mechanism to trigger auto-cutter (partial cut).

Note

This code is valid only when attaching mechanism with paper-cutter.

43

7. DATA STRUCTURE
7.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.

Data

Data

RXD

Buffer full

Data

Buffer empty

DTR

Printing
Power on
When paper is out
RXD
OFF LINE

ON LINE

DTR

When printing
Paper end

Press the ON LINE switch


after loading paper.

PAPER OUT
signal
Power on

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 Empty

Near Full
Remainder
256 bytes

Empty
256 bytes

DTR "MARK"

DTR "SPACE"

44

[Status]
b7

b6

b5

b4

b3

b2

b1

b0

0
( Constantly
set at 0 )
Vertical parity error
1: error
Framing error
1: error
Mechanical error
1: error
Paper empty
1: empty
Buffer empty
1: empty
Buffer overflow
1: overflow
Compulsion signal
High level
(Switch is set to ON)

[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.

45

7.2 X-ON/X-OFF Mode


This mode accessed when the DIP switch 3-5 is OFF.
X-ON

X-OFF

X-OFF
X-OFFX-ON

X-OFF
X-OFF

X-OFF X-ON

TXD

Data

RXD

Data

Data

Printing

Paper out
signal

ON

ON LINE
lamp

OFF

Power on

Paper out

Load paper and press


the ON LINE switch.

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.

Data buffer
Empty

Near Empty

Near Full

Full
Remainder
256 bytes

256 bytes

X-OFF

X-ON

46

[Status]
b7

b6

b5

b4

b3

b2

b1

b0

0
( Constantly
set at 0 )
Vertical parity error
1: error
Framing error
1: error
Mechanical error
1: error
Paper empty
1: empty
Buffer empty
1: empty
Buffer overflow
1: overflow
Compulsion signal
High level
(Switch is set to ON)

[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.

47

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 error
1: error
Framing error
1: error
Mechanical error
1: error
Paper empty
1: empty
Buffer empty
1: empty
Buffer overflow
1: overflow
Compulsion signal
High level
(Switch is set to ON)

48

Starts the
STX-ETX mode.

Sends an ENQ
signal.

Receives status
signal

Sends ENQ

Receives status
byte.

NO

Receives
a check byte.

Is the
data buffer
empty ?

Is the
status an
error ?
YES

NO

Sends STX signal

Is an odd
parity check ?

YES

Horizontal
parity check
NO

NO
Check byte =
test byte ?

YES
(FF)H is set for
the test byte.

YES
The test byte is
set at (O)H.

Sends ETX
(Priniting)

Sends CAN
Acquires the exclusive OR
of the content of the test
byte and the data to sent,
then it is used as the content
of the test byte.

Ends the
STX-ETX mode

Transmits the data


to the printer.
Is there a data
block in the
STX-ETX mode ?

NO
Is this the
last data
in a block ?
YES

YES

Check byte:
Horizontal parity of the control board.
Test byte:
Horizontal parity of the host computer.

STX/ETX Mode flow diagram for host computer

49

NO

RET

8. PCBOARD, CIRCUITDIAGRAM, PARTS LIST


8.1

PC Board Dimension Drawing

10 SOLDER SIDE (F-GND, S-GND)


3-

+0.1
3.7 0

3.8

4.7
CN7

CN8

3.7

17
35

156

29

+ 0.3
144 -

166

CN6

CN10
R2

CN11
CN2

CN3

CN5

CN1

5
5

70

70

+ 0.3
140 150

Max. 20
1.6

Unit : mm

Max. 4

50

8.2

Component Layout

51

8.3

Circuit Diagram
A

SIDE B
CN9
CN8

+24V

8
9

22

10

23

17

19

18

20

19

21

23

24

10

25

11
16

+5V
1
4

M51953

SW5 SLIDE

12
15

HD 1

17

HD 2

13

HD 3

14

HD 4
65

18

OUTA 0

HD 5

HD 6
HD 7

R70
3.3K
RTS

5V

C35
22/16V
+

LT1081

C27
4.7/25V
+1
3

2
20

RXD

CTS

IC9

(MULTI-PRINTER TXD) 15
TXD

11
12
14
15
16
17
19
20
26

28
27

OUTA 2
RES

25
C38
0.022

8
B
15

+5V

11
R84
4.7K

TR26
A933

62

IO 1

IC7
64

OUTA 1

DB 3

DB 5
DB 6

R60
IK

TR27
C1740
C37
0.1

SW1

13

DB 7

JP3
RA7
+5V
4.7K x 8

JC2

F-GND

DB 2

DB 4

R85
6.8K

14

DB 0
DB 1

SW6
SLIDE SW

TR29
C1740

R76
2.2K

F-GND

63

12

D9 IS1588

R74
3.3K

GND

10

C29
10 22/16V

R75
3.3K

GND

RD

WR

13

R77
10K

FAULT

HDEN

11

14

(MULTI-PRINTER DTR) 16
RCH

HD 9

C31
4.7/25V
4+
5

DTR

HD 8

16

D8 IS1588

IC3

C11
0.01

24

NC x 4

+5V

+5V

+5V

[C41]

C42
0.022

6
7

MOUNTING HOLE

AB 0
74 DIN 0
72 DIN 1

AB 13

71 DIN 2
70 DIN 3

AB 15

69 DIN 4
68 DIN 5

AB 17

67 DIN 6
66 DIN 7

AB 14

AB 16

V DD
V DD
MODE 0

SW4
1
2
3
4

+5V
RA6
4.7K x 4

V SS
61 INB 0
60 IO 0
59 INB 1
58 INB 2

52

V SS
V SS

37
36
35
34
33
32
30
29

42
43
44
45
46
47

31
73
80
5
13
18

+5V

R49
1.5K

SIDE A

B
+5V
R46
10K
R47
2.2K
R48
22K

TR21
A950

TR22
C1740

+24V

RA2
IK x 9

+5V
RA8
4.7K x 4
58
56

TXD

AN 0

RXD
AN 1

+5V

C15
1.5

64 V cc
21
NMI
1
VREF
2
55
32

R86 JC2
10K

AN 2

AN 3

R61

R62

R63

R64

R65

R66

R67

R68

V SS

AN 4

7
+5V

TO4
AN 5

R24
4.7K

62

TR14

R42

TR18

R44

TR20

R41

TR17

R39

TR15

4.7K

R36

TR12

8.2K

10

R40

TR16

4.7K

R37

TR13

8.2K
4.7K
8.2K
4.7K
8.2K

TR19

M-GND

HD CMN

HD CMN

HD CMN

HD 1

HD 2

13

HD 3

HD 4

12

HD 5

HD 6

14

HD 7

HD 8

10

HD 9

RES

P33

THERMISTOR
THERMISTOR

R7
2.7(2W)
+VL
R78
10K

R8
10K

TR3
C1740

R9
10K

59

9
11

R45
10K 1%

+24V

WR

IC2

+5V

C13
0.01

R19
4.7K

RD

C17
10OP
22

R38

R20
8.2K

J1

J2

C16
10OP

R89
1K

EA

C8
47OP
61

R43

A GAND

+5V
20

D2041 x 9

SW3
1

330 x 9

CN1

CN2
D2
ISR35-100

TR2
B1359

LF-CMN A

LF-CMN B

LF-fl 1

LF-fl 2

LF-fl 3

LF-fl 4

C9
0.022
MP4001

1K x 4
9

+5V

8
7
RA3
10K x 8

24
25
26

27

28

29

30

31

P70

D0

P71

D1

P72

D2

P73

D3

13

R28

14

R29

15

R30

16

R31

18

4.7K x 3
R32

D4
D5

INT 1

D6

P60

D7

P61
P63

CA2
100P x 8
CA1
CA2
CA1
CA2

CA1
100P x 8

35

36

37

R25

R21 47K

10

R26

R23 68K

38

39

40

41

42

43

44

45

46

47

48

49

50
51

C19

100P

(C18)

52

A0
P62

TA1

9
3

10

R22 33K

12

+5V

A1

M-GND

R27
4.7K
9

+5V

+5V
TR30
C1740

[R14]

C5

11

C3 C2
470P x 4

16

TIMING SIG 1

17

TIMING SIG 2

13

H.P SIG

14

VALIDATION SIG

18

GND

15

NC

19

NC

C1

(R16)

[TR4]

A2

[R15]

[C4]

[R87]

A3

+5V

A4
A5
P31

A6

P34

A7

57

R13 4.7K

+5V

60

(R10)

+5V

R12 4.7K
(R11)

[20]
+24V

R33
10K

A8
A9

P42

53

A 11

P43

R35
3.3K

54

TR8
A933

A 12
A 13

P37

63

R34
6.8K

A 14
A 15

P80

P82
X1

12

TR10
D882

CR MOTOR (+)

CR MOTOR (+)

TR11
B1359

17
M-GND

A 16
A 17

+5V

+5V

TR9
C1740

A 10

19
+24

X2

53

CR MOTOR (-)

10

CR MOTOR (-)

11

NC

[21]

ROM

RAM
+5V
RA9
4.7K x 8

SW2
+VL

+5V

+24V

+24V

M-GND

M-GND

S-GND

C10, C20
C24, C25
C33, C23
0.022F x 6

CN10
+5V

ON-LINE SW

3
2

55 INC 5
56 INC 6

57 INC 7

7
[C45]

OUTB 0

OUTB 6

+5V

R6

4.7K x 3
R5

+5V

R4

R3

78

+5V

R2

R1

79

77

INA 0
INA 1
INA 2

OUTB 5
OUTB 4
OUTB 3
OUTB 2

[C46]

OUTB 1
POWER LAMP

ALARM LAMP

ON-LINE LAMP

GND

76
10

C30
100P

41
C28
100P

C32
100P

ATC 0

13

ATC 1

IC6
LS06

R58
4.7K

ATC 2
ATC 3

+5V
75
52

R59
330

BZ

+5V
BZ
QMB111P

2
3
4
6
7
8

OUTA 3

11
12

J3

39

D5
IS1588

OUTB 7
4.7K x 3

N.C.

PSOE

C26
100P

53 INC 3
54 INC 4

JC1
+5V

FEED SW

49 INC 0
50 INC 1
51 INC 2

CN11
+5V

CG

38
40

IND 0

KA 0

21
22
23
24
48

V SS

SPX-G/A

R57
10K
+5V
R56
10K
+5V

(A16)

(A17)

+5V

+5V
+5V RA5
10K x 8

+5V

(A0)

10

(A1)

(A2)

(A3)

(A4)

(A5)

(A6)

(A7)

(A8)

25

(A9)

24

(A10)

21

(A11)

23

(A12)

(A13)

26

(A14)

27

(A15)

B
JP2

<Note 2>
<Note 3>
<Note 4>

A0

D0

12

A1

D1

12

11

A2

D2

13

10

A3

D3

15

A4

D4

16

A5

D5

17

A6

D6

18

A7

IC5

D7

19

A8

26

A9
A 10

CE

23

20

25

A 11
A 12

OE

27

14

22

28

A 13

29

A 14

A 15

RA4
10K x 8

<Note 1>

11

CA3
10OP x 8
7

28

+5V

30

27256
27512
P-ROM

32

14

A0

D0

A1

D1

A2

D2

A3

D3

A4

D4

A5

D5

A6

D6

A7

[IC4] D7

A8

13

10

14

15

17

18

19

20

21

16

A9

+5V
(A13)
A

25
24

A 10

21
23

A 11

A 12

JP1

A 13

26
1

A 14
A 15

CE

A 16

A18

A 17

OE

28

A0

D0

A1

D1

A2

D2

A3

D3

A4

D4

A5

D5

A6

D6

A7

IC1

A8

D7
WE

A9
A 10

OE

11
12
13
15
16
17
18
19
27
22

A 11
A 12
A 13

CE

20

A 14

22

6264-100
51832-120

31
24

C JP6

2M ROM

+5V

The unit of resistor and resistor array is " ", and no indication
of wattage means 1/6W, 1/8W respectively.
The unit of capacitor and capacitor array is "F", and no indication
of voltage means 50V.
The components in bracket [ ] are not installed on the board.
The components in bracket ( ) depend on the printer type if it is
installed or not on the board. Refer to parts list.

SIDE D

54

33

34

[22]

[R79]

[TR7]

9.83M

[23]

[R80]

JC1

[TR6]

3
RA1
IK x 7

TMP90C041F

M-GND

CN5

3
5

+24

R82
330

7
8

TR1
D2010

+24V
C40
0.1
FILM

R81
330

IC6
LS06

REWINDER (-)

CN7

TR24
D2010

R83
330

PERIPHERAL
+24V

+24V

EXT 1

EXT 2

+5V

D4
IDT139

M-GND

REWINDER (+)

M-GND
REGI
7824

D3
ISR139

TR23
D2010

+5V
M-GND
R71
4.7K

F-GND
R73
10K

TR28
C1740

C12, C34
0.022F x 2

R18
100

C36
4.7
25V

R50
47K

+5V
TR5
A1115

+5V
R51
47K
C7
0.022

TR25
C1740

R55 15K

11
C39
10OP

5
1

RESET SIG

GND

MOTOR

MOTOR

TH3C10

CN3
+5V

9
10

AUTO CUTTER
F/P POSITION SIG

IC8
HC00

0.022 x 2

7
8

CN6

C44

M-GND

VS
1

12

JP7

[CN12]

C6
0.022

3
TA2

4
R53 3.3K

13

10

2
R52 3.3K

IC8
HC00

C43

+24V
C22
0.1

R54 15K

VS

SW 1

+24V

R17
2.2K

C21
0.1

14

+5V

C14
Super Cap

R69
22K

IC8
HC00

F-GND

R72
33K

VS

+5V

PAPER END SIG1

GND

4
6

[CN4]

IC8
HC00

+5V

SIDE C

+5V (NC)

PAPER END SIG2 (NC)

GND (NC)

BLACK MARK SENSOR (NC)

55

8.4 Parts List


DRWG.NO.

PARTS NO.

IC1
IC2
IC3
IC4
IC5

08221043
08250009
08200109
09110077
08222026
09110024
08210127
08240019
08231065
08200157
08202011
07650056
07650037
07320101
07113591
07227853

SRAM
6264FP-100NS*EL
CPU
TMP90C041F
IC-RESET M51953BL
IC SOCKET ICS-32-2T
EPROM 27256-150NS
IC SOCKET ICS-28-2T
TTL IC 74LS06FP*EL
GATE ARRAY LC92011B-SP300
CMOS
74HC00FP*EL
IC-I/F ADM232LJR*SOL16
IC-REG UPC7824
TRANSISTOR ARRAY UPA1428AH
TRANSISTOR ARRAY TH3C10
TRANSISTOR 2SD2010
TRANSISTOR 2SB1359
TRANSISTOR 2SC1740SE

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

07019931

TRANSISTOR 2SA1993F

07011752
07227853
07308821
07113591
07320411
07009502
07227853
07320101
07227853
07011752
07227853
07227853

TRANSISTOR
TRANSISTOR
TRANSISTOR
TRANSISTOR
TRANSISTOR
TRANSISTOR
TRANSISTOR
TRANSISTOR
TRANSISTOR
TRANSISTOR
TRANSISTOR
TRANSISTOR

1
1
1
1
9
1
1
2
1
1
3
1

08000044
08000044
08000096

DIODE 1SR139-100AT
DIODE 1SR139-100AT
DIODE 1S2076A*A

1
2
1

08000096
06581021
06581022
06581032
06584721
06584723
06584721
06584723
06054725
06200271
06051034

DIODE 1S2076A*A
RESIS. ARRAY 1 K-OHM 1/8W 8EL
RESIS. ARRAY 1 K-OHM 1/8W 9EL
RESIS. ARRAY 10 K-OHM 1/8W 8EL
RESIS. ARRAY 4.7K-OHM 1/8W 4EL
RESIS. ARRAY 4.7K-OHM 1/8W 8EL
RESIS. ARRAY 4.7K-OHM 1/8W 4EL
RESIS. ARRAY 4.7K-OHM 1/8W 8EL
RD RESISTOR 4.7 K-OHM 1/6W
RN RESISTOR 2.7 OHM 2W 2%
RD RESISTOR 10 K-OHM 1/6W

2
1
1
3
1
1
1
1
6
1
2

06054725

RD RESISTOR 4.7 K-OHM 1/6W

06052224
06051014
06054725
06058224
06054734
06253334

RD
RD
RD
RD
RD
RN

1
1
1
1
1
1

IC6
IC7
IC8
IC9
REG1
TA1
TA2
TR1
TR2
TR3
TR4
TR5
TR6-7
TR8
TR9
TR10
TR11
TR12-20
TR21
TR22
TR23-24
TR25
TR26
TR27-29
TR30
D1
D2
D3-4
D5
D6-7
D8-9
RA1
RA2
RA3-5
RA6
RA7
RA8
RA9
R1-6
R7
R8-9
R10-11
R12-13
R14-16
R17
R18
R19
R20
R21
R22

PARTS NAME

Q'TY

REMARKS

SP3S.F.**

NOT MOUNTED
NOT MOUNTED
2SA1266*
2SC1740SE
2SD882P
2SB1359
2SD2041
2SA950
2SC1740SE
2SD2010
2SC1740SE
2SA1266*
2SC1740SE
2SC1740SE

NOT USED

NOT USED

NOT MOUNTED
NOT MOUNTED
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR

2.2 K-OHM 1/6W


100 OHM 1/6W
4.7 K-OHM 1/6W
8.2 K-OHM 1/6W
47 K-OHM 1/6W
33 K-OHM 1/6W 1%

56

DRWG.NO.

PARTS NO.

R23
R24-27
R28-31
R32
R33
R34
R35
R36-44
R45
R46
R47
R48
R49
R50-51
R52-53
R54-55
R56-57
R58
R59
R60
R61
R62
R63
R64
R65
R66
R67
R68
R69
R70
R71
R72
R73
R74-75
R76
R77-78
R79-80
R81-83
R84
R85
R86
R87
R88
R89
CA1-3
C1
C2-3
C4
C5
C6-7
C8
C9-10
C11
C12
C13
C14

06056834
06054725
06051025
06054725
06051034
06056824
06053324
06053314
06251034
06051034
06052224
06052234
06051525
06054734
06053324
06051535
06051034
06054725
06053314
06051025
06058224
06054725
06058224
06054725
06058224
06054725
06058224
06054725
06052234
06053324
06054725
06053334
06051034
06053324
06052224
06051034

RD
RD
RD
RD
RD
RD
RD
RD
RN
RD
RD
RD
RD
RD
RD
RD
RD
RD
RD
RD
RD
RD
RD
RD
RD
RD
RD
RD
RD
RD
RD
RD
RD
RD
RD
RD

RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR
RESISTOR

PARTS NAME

68 K-OHM 1/6W
4.7 K-OHM 1/6W
1 K-OHM 1/6W
4.7 K-OHM 1/6W
10 K-OHM 1/6W
6.8 K-OHM 1/6W
3.3 K-OHM 1/6W
330 OHM 1/6W
10 K-OHM 1/6W
10 K-OHM 1/6W
2.2 K-OHM 1/6W
22 K-OHM 1/6W
1.5 K-OHM 1/6W
47 K-OHM 1/6W
3.3 K-OHM 1/6W
15 K-OHM 1/6W
10 K-OHM 1/6W
4.7 K-OHM 1/6W
330 OHM 1/6W
1 K-OHM 1/6W
8.2 K-OHM 1/6W
4.7 K-OHM 1/6W
8.2 K-OHM 1/6W
4.7 K-OHM 1/6W
8.2 K-OHM 1/6W
4.7 K-OHM 1/6W
8.2 K-OHM 1/6W
4.7 K-OHM 1/6W
22 K-OHM 1/6W
3.3 K-OHM 1/6W
4.7 K-OHM 1/6W
33 K-OHM 1/6W
10 K-OHM 1/6W
3.3 K-OHM 1/6W
2.2 K-OHM 1/6W
10 K-OHM 1/6W

Q'TY

1
4
4
1
1
1
1
9
1
1
1
1
1
2
2
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
1
2

06053314
06054725
06056824
06051034

RD
RD
RD
RD

RESISTOR
RESISTOR
RESISTOR
RESISTOR

330 OHM 1/6W


4.7 K-OHM 1/6W
6.8 K-OHM 1/6W
10 K-OHM 1/6W

3
1
1
1

06054725
06051025
05651012
05154714
05154714

RD RESISTOR 4.7 K-OHM 1/6W


RD RESISTOR 1 K-OHM 1/6W
CAPA. ARRAY 100PF 50V 8EL
CERA. CAPA. 470PF 50V
CERA. CAPA. 470PF 50V

1
1
3
1
2

05154714
05152234
05154714
05152234
05151033
05152234
05151033
05994733

CERA. CAPA. 470PF 50V


CERA. CAPA. 0.022UF 50V
CERA. CAPA. 470PF 50V
CERA. CAPA. 0.022UF 50V
CERA. CAPA. 0.01UF 50V
CERA. CAPA. 0.022UF 50V
CERA. CAPA. 0.01UF 50V
BACK-UP CAPA. EECS0HD473V

1
2
1
2
1
1
1
1

REMARKS

NOT MOUNTED

NOT MOUNTED

NOT MOUNTED

57

DRWG.NO.

PARTS NO.

C15
C16-17
C18
C19
C20
C21-22
C23
C24
C25
C26
C27
C28
C29
C30
C31
C32
C33-34
C35
C36
C37
C38
C39
C40
C41
C42
C43-46
SW1-3
SW4
SW5-6
BZ1
XTAL
CN1
CN2
CN3
CN4
CN5
CN6
CN7
CN8
CN9
CN10
CN11
JC1-2
-

05131044
05151015

CERA. CAPA.
CERA. CAPA.

PARTS NAME

25V
50V

1
2

05151015
05152234
05151044

CERA. CAPA. 100PF 50V


CERA. CAPA. 0.022UF 50V
CERA. CAPA. 0.1UF 50V

1
1
2

05532234
05152234
05151015
05051057
05151015
05051057
05151015
05051057
05151015
05152234
05051057
05034756
05131044
05152234
05151015
05251044

CAPACITOR 0.022UF 25V


CERA. CAPA. 0.022UF 50V
CERA. CAPA. 100PF 50V
CHEM. CAPA.
1UF 50V
CERA. CAPA. 100PF 50V
CHEM. CAPA.
1UF 50V
CERA. CAPA. 100PF 50V
CHEM. CAPA.
1UF 50V
CERA. CAPA. 100PF 50V
CERA. CAPA. 0.022UF 50V
CHEM. CAPA.
1UF 50V
CHEM. CAPA. 4.7UF 25V
CERA. CAPA. 0.1UF 25V
CERA. CAPA. 0.022UF 50V
CERA. CAPA. 100PF 50V
FILM CAPA.
0.1UF 50V

1
1
1
1
1
1
1
1
1
2
1
1
1
1
1
1

05252232

FILM CAPA. 0.022UF

09090034
09090033
09100428
45060201
09250037
09100400
09100419
09100269

DIP SWITCH KSS08-1


DIP SWITCH KSS04-1
CONNECTOR IMSA9210B1-03GF
BUZZER QMB-111P
CERA. OSCILLATOR CST9.83MT
CONNECTOR HLEM14S-1
CONNECTOR HLEM19S-1
CONNECTOR 5483-03A

3
1
2
1
1
1
1
1

09100270
09100268
09100421
09100602
09100430
09100420
09100317
80924670
80702680
80702690
80703420
80703430
80703790
80703800
80703920
80703930
87219110
87219120
87219062
87219051

CONNECTOR 5483-02A
CONNECTOR 5483-05A
CONNECTOR 52065-6645
CONNECTOR DT11321-R5T
CONNECTOR IL-W24S-SD
CONNECTOR B8B-PH-K
CONNECTOR 5483-04A
WIRE 20UL1015BLK100
CABLE UNIT 14X265
CABLE UNIT 19X265
CABLE UNIT 4X510C
CABLE UNIT 8X510C
CABLE UNIT 14X100
CABLE UNIT 19X100
CABLE UNIT 14X330
CABLE UNIT 19X330
CABLE SET
CABLE SET 100
CONTROL BOARD BD300K
CONTROL BOARD BD300L

1
1
1
1
1
1
1
2
1
1
1
1
1
1
1
1
1
1
1
1

0.1UF
100PF

Q'TY

REMARKS

NOT MOUNTED

NOT MOUNTED

NOT MOUNTED
50V

NOT MOUNTED

NOT MOUNTED

Note1 : This cable set consists of four cables(*1 to *4)


Note2 : This cable set consists of four cables(*3 to *6)

58

SP312
SP312
BD300F
BD300F
BD300F
BD300F
BD300F
BD300F
BD300F
BD300F

OPTION
OPTION
OPTION
OPTION
OPTION
OPTION
OPTION
OPTION
OPTION
OPTION
OPTION
OPTION

*1
*2
*3
*4
*5
*6

:NOTE1
:NOTE2
:RS-422A
:CURRENT LOOP

9. APPENDIX
9-1.

Control Code List

Control Codes Used in Charater Setting


Control codes
<ESC> R n
<ESC> 6
<ESC> 7
<ESC> M
<ESC> P
<ESC> :
<SO>
<DC4>
<ESC> W 1
<ESC> W <1>
<ESC> W 0
<ESC> W <0>
<ESC> E
<ESC> F
<ESC> - 1
<ESC> - <1>
<ESC> - 0
<ESC> - <0>
<ESC> _ 1
<ESC> _ <1>
<ESC> _ 0
<ESC> _ <0>
<ESC> 4
<ESC> 5
<SI>
<DC2>

Hexadecimal codes

Function

Page

1B 52 n
1B 36
1B 37
1B 4D
1B 50
1B 3A
0E
14
1B 57 31
1B 57 01
1B 57 30
1B 57 00
1B 45
1B 46
1B 2D 31
1B 2D 01
1B 2D 30
1B 2D 00
1B 5F 31
1B 5F 01
1B 5F 30
1B 5F 00
1B 34
1B 35
0F
12

Select international character set


Select IBM character set #2
Select IBM character set #1
Select font matrix 7 9 (half-dot)
Select font matrix 5 9 (2 pulses-1 dot)
Select font matrix 5 9 (3 pulses-1 dot)
Select expanded character mode
Cancel expanded character mode

23
23
23
24
24
25
25
25

Select expanded character mode

25

Cancel expanded character mode

25

Select emphasized print mode


Cancel emphasized print mode

26
26

Select underline mode

26

Cancel underline mode

26

Select overline mode

26

Cancel overline mode

26

Select highlighted print mode


Cancel highlighted print mode
Select inverted print mode
Cancel inverted print mode

27
27
27
27

Control Codes Used in Line Spacing


Control codes
<LF>
<CR>
<ESC> z 1
<ESC> z <1>
<ESC> 0
<ESC> a n

Hexadecimal codes

Function

0A
0D
1B 7A 31
1B 7A 01
1B 30
1B 61 n

Line feed
Line feed (same as LF)

28
28

Set 1/6 inch line feed

28

Set 1/8 inch line feed


Feed paper n lines

28
28

59

Page

Control Codes Used for Page Layout


Control codes

Hexadecimal codes

Function

<FF>
<ESC> C n
<ESC> C <0> n
<VT>
<ESC> B n1 n2
<ESC> N n
<ESC> O
<ESC> l n
<ESC> Q n
<HT>
<ESC> D n1 n2

0C
1B 43 n
1B 43 00 n
0B
1B 42 n1 n2
1B 4E n
1B 4F
1B 6C n
1B 51 n
09
1B 44 n1 n2

Page feed (form feed)


Set page length at n lines
Set page length at n inches
Execute vertical tab
Set vertical tab positions
Set bottom margin
Cancel bottom margin
Set left margin
Set right margin
Execute the horizontal tab
Set horizontal tab positions

Page
29
29
29
29
30
30
30
30
31
31
31

Control Codes Used for Graphics Printing


Control codes

Hexadecimal codes

Function

<ESC> 1
<ESC> A n
<ESC> 2
<ESC> J n
<ESC> z 0
<ESC> z <0>
<ESC> y n
<ESC> 3 n
<ESC> K n1 <0>
<ESC> L n1 n2
<ESC> h 1
<ESC> h <1>
<ESC> h 0
<ESC> h <0>

1B 31
1B 41 n
1B 28
1B 4A n
1B 7A 30
1B 7A 00
1B 79 n
1B 33 n
1B 4B n1 00
1B 4C n1 n2
1B 68 31
1B 68 01
1B 68 30
1B 68 00

Set 7/72 inch line feed


Define n/72 inch line feed
Set n/72 inch line feed
One time line feed of n/72 inch

32
32
32
32

Set 1/12 inch line feed

32

Set n/144 inch line feed


Set n/216 inch line feed
8 dot single density bit image
8 dot double density bit image

32
32
33
34

Select vertical expanded character mode

35

Cancel vertical expanded character mode

35

60

Page

Control Codes Used for Download Characters


Control codes

Hexadecimal codes

Function

Page

<ESC> & <0> n1 n2


<ESC> % 1
<ESC> % <1>
<ESC> % 0
<ESC> % <0>

1B 26 00 n1 n2
1B 25 31
1B 25 01
1B 25 30
1B 25 00

Define of download characters

36

Enable download character set

37

Disable download character set

37

Control Codes Used for Peripheral Units


Control codes

Hexadecimal codes

Function

Page

<ESC> <BEL> n1 n2
<BEL>
<FS>
<SUB>
<EM>

1B 07 n1 n2
07
1C
1A
19

Adjust drive pulse width for peripheral unit 1


Deferred drive command for peripheral unit 1
Immediate drive command for peripheral unit 1
Immediate drive command for peripheral unit 2
Immediate drive command for peripheral unit 2

Control codes

Hexadecimal codes

Function

<RS>
<CAN>
<DC3>
<DC1>
<ESC> U 1
<ESC> U <1>
<ESC> U 0
<ESC> U <0>
<ESC> @
<ENQ>
<STX>
<ETX>
<GS> data <LF>
<ESC> d 0
<ESC> d <0>
<ESC> d 1
<ESC> d <1>

1E
18
13
11
1B 55 31
1B 55 01
1B 55 30
1B 55 00
1B 40
05
02
03
1B data 0A
1B 64 30
1B 64 00
1B 64 31
1B 64 01

Sound buzzer
Cancel print data in buffer
Set deselect mode
Set select mode

40
40
40
41

Select uni-directional print mode

41

Select bi-directional print mode

41

Initialize printer
Enquiry
Enter STX-ETX mode
Terminate STX-ETX mode
Select validation printing

42
42
42
42
43

Trigger auto-cutter drive (full cut)

43

Trigger auto-cutter drive (partial cut)

43

39
39
39
40
40

Other Control Codes

61

Page

9-2.

Character code table

9.2.1

U.S.A. & Europe (DIP SW2-1: ON, SW2-2: ON)

62

63

9.2.2

IBM Character Set #1 (DIP SW2-1: OFF, SW2-2: ON)

64

65

9.2.3

IBM Character Set #2 (DIP SW2-1: ON, SW2-2: OFF)

66

67

9.2.4

JAPAN (DIP SW2-1: OFF, SW2-2: OFF)

68

69

9.2.5

International Character Sets

70

ELECTRONIC PRODUCTS DIVISION


STAR MICRONICS CO., LTD.
536 Nanatsushinya,
Shimizu, Shizuoka, 424-0066 Japan
Tel : 0543-47-0112
Fax: 0543-48-5013

OVERSEAS SUBSIDIARY COMPANIES


STAR MICRONICS AMERICA, INC.
1150 King Georges Post Road, Edison,
NJ 08837-3729 U.S.A.
Tel : 732-623-5555
Fax: 732-623-5590

STAR MICRONICS U.K. LTD.


Star House, Peregrine Business
Park, Gomm Road, High Wycombe,
Bucks, HP13 7DL, U.K.
Tel : 01494-471111
Fax: 01494-473333

Please access the following URL


http://www.star-micronics.co.jp/service/frame_sp_spr_e.htm
for the lastest revision of the manual.

Distributed by
2000.08.20
Printed in Japan, 80822236

Вам также может понравиться