CITIZEN BD2-2890DD User's Manual

Specifications
CONTROL BOARD FOR MLT-289
MODEL
Rev. 1.01 Issued on June 27th, 2003
BD2-2890DD
Rev. No. Date Content
1.00 2003.03.18 First created.
1.01 2003.06.27 Factory setting of jumper J1-2 is changed.
i

CONTENTS

1. OUTLINE ........................................................................................................................ 1
1.1 Features ............................................................................................................................................................. 1
1.2 Precaution .......................................................................................................................................................... 1
2. BASIC SPECIFICATIONS ........................................................................................... 2
3. CONNECTING CONNECTORS.................................................................................. 3
3.1 CN1 Connector for Printer Mechanism (For Print Head) ................................................................................. 3
3.2 CN2 Connector for Print Mechanism (For Motor & Sensor)............................................................................ 3
3.3 CN3 Connector for Interface ............................................................................................................................. 4
4. JUMPER SETTING ....................................................................................................... 6
5. POWER SUPPLY ........................................................................................................... 8
5.1 Specifications .................................................................................................................................................... 8
5.2 Precautions ........................................................................................................................................................ 8
6. SERIAL INTERFACE ................................................................................................... 9
6.1 Specifications .................................................................................................................................................... 9
6.2 Explanation of Input/Output Signals ............................................................................................................... 10
6.3 Error Detection ................................................................................................................................................10
6.4 Data Receiving Control ...................................................................................................................................10
6.5 Buffering.......................................................................................................................................................... 11
6.6 Electrical Characteristics ................................................................................................................................. 11
7. ERROR HANDLING ................................................................................................... 12
7.1 Peripheral Circuit Errors ................................................................................................................................. 12
7.2 Operation Errors ..............................................................................................................................................13
8. PRINTER MECHANISM CONTROL SYSTEM ..................................................... 14
8.1 Thermal Head Control System (Division Driving System)............................................................................. 14
8.1.1 Fixed Division Number System ................................................................................................................. 14
8.1.2 Variable Division Number System ............................................................................................................. 14
8.2 Motor Drive ..................................................................................................................................................... 15
8.2.1 Motor Drive Features ................................................................................................................................. 15
8.2.2 Maximum Motor Drive Speeds at Major Voltage ...................................................................................... 15
ii
9. PRINT CONTROL FUNCTIONS ............................................................................. 16
9.1 Command List ................................................................................................................................................. 16
9.2 Command Details ............................................................................................................................................18
9.2.1 Description of Items ................................................................................................................................... 18
10. CHARACTER CODE TABLE .................................................................................. 63
10.1 International................................................................................................................................................... 63
10.2 Japanese ......................................................................................................................................................... 64
10.3 International Character Set ............................................................................................................................ 65
APPENDIX 1. BLOCK DIAGRAM ............................................................................... 66
APPENDIX 2. OUTER DIMENSION ............................................................................ 67
iii

1. OUTLINE

This control boards is designed to be used to control our thermal printer, “MLT-289” series
through the computer etc.
As being provided with many abundant functions, it can be used widely in various applications.
Before you start using it, read this manual thoroughly and understand the content.

1.1 Features

(1) Ultra compact
(2) Input buffer incorporated.
(3) Bar code printing is available (dedicated command).
(4) User-defined character registration function (94 characters)

1.2 Precaution

BD2-2890DD SPECIFICATIONS
(1) Make sure to turn OFF the power supply in case of connecting/disconnecting the connectors.
(2) Absolutely do not make a short circuit between the terminals of connectors.
(3) Use power supply, interface etc. following their specifications.
(4) Use the recommended paper shown below.
• Thermal Paper TF5KS-E2D (Nippon paper)
KF50-HDA (Shin-Oji paper)
F220VP, HP220A (Mitsubishi paper)
1

2. BASIC SPECIFICATIONS

Items Contents
Printing system Print width Print Speed
Number of columns
Character dimensions
Character types Bar code type Line pitch Interface Input buffer
Supply voltage
Weight Outer Dimension Operating Environment Storage Environment
Thermosensitive dot-matrix printing 48 mm 420 dot line/sec Font A : 32 columns Font B : 42 columns Font A : 1.25 mm × 3.00 mm Font B : 0.88 mm × 3.00 mm Alphanumeric, international characters UPC-A/E, JAN (EAN) 13/8 columns, ITFCODE 39, CODE128, CODABAR
4.23 mm (Can be changed by command) Serial (Conforms to RS-232C) 2 K bytes VCC: 5V ± 5 % Approx. 130 mA (Self printing) VP : 4.2V ~ 8.5V Approx. 1.5A (Ave) Approx. 4A (Peak) When 7.2V Ordinal voltage is to be 7.2V (Max)
8.5V is a voltage, which is right after charging. Approx. 35 g 50 mm (W) × 75 mm (D) (See outer drawing for details) 5 ~ 40˚C , 35 ~ 85% RH (with no dew condensation)
-20 ~ 60˚C , 10 ~ 90% RH (with no dew condensation)
BD2-2890DD SPECIFICATIONS
2

3. CONNECTING CONNECTORS

3.1 CN1 Connector for Printer Mechanism (For Print Head)

BD2-2890DD SPECIFICATIONS
Pin No. Signal Name I/O
1 2 3 4 5 6 7 8
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Applicable Connector : 52806-2410 (Molex)
VH VH
SI
GND
TM STRB 1 STRB 2
Vdd
LATCH
GND
STRB 6
CP
GND STRB 5 STRB 3
GND
GND STRB 4
GND
GND
GND
VH VH VH
– –
Output
Input Output Output
Output
Output Output
Output Output
– –
Outpu
– – – – – –
Function
Power for print head Power for print head
Head data output signal
GND
Thermistor
Strobe 1 Strobe 2
Thermal head logics power (+5V)
Latch signal
GND
Strobe 6
Clock pulse
GND Strobe 5 Strobe 3
GND
GND Strobe 4
GND
GND
GND
Power for print head Power for print head Power for print head

3.2 CN2 Connector for Print Mechanism (For Motor & Sensor)

Pin No. Signal Name I/O
1
MOTOR B
2
MOTOR A
3
MOTOR B
4
MOTOR A 5 6 7 8 9
Applicable Connector : 53047-0910 (Molex)
PE C
GND PE A H-UP
GND
Output Output Output Output
Input
– –
Input
Operation signal for motor B Operation signal for motor A Operation signal for motor B Operation signal for motor A
Photo-transistor collector (Paper sensor)
Photinterruptor emitter + cathode Photo-LED anode (Paper sensor)
3
Function
Head-up signal
Head-up sensor GND

3.3 CN3 Connector for Interface

BD2-2890DD SPECIFICATIONS
Pin No. Signal Name I/O
1 2 3
4 A B C D
Applicable Connector: Amp 178217-2
TXD
Vcc
GND
Vp RXD DTR GND
Vp
Output
–– –– ––
Input
Output
–– ––
Function
Serial Interface TXD
Power supply for circuit (5V)
GND
Power supply for operation
Serial Interface RXD Serial Interface DTR
GND
Power supply for circuit (5V)
1 - Txd A - Rxd 2 - Vcc B - DTR 3 - Gnd C - Gnd 4 - Vp D - Vp
A
B
C
D
4
3
2
1
4
CAUTION:
1. Control circuit requires power supply only for one pin of each VP and GND.
However, Operation voltage is to be supplied to all of pin for safety use.
2. Serial interface equips a driver and receiver of RS-232C, make sure to use it at RS-232C
level.
BD2-2890DD SPECIFICATIONS
5

4. JUMPER SETTING

(1) JUMPER 1
BD2-2890DD SPECIFICATIONS
Pin No. Function Short
J1-1
J1-2
J1-3
J1-4
J1-5
J1-6
J1-7
J1-8
(2) JUMPER 2
Pin No. Function
J2-1
J2-2
J2-3
J2-4
J2-5
J2-6
J2-7
J2-8
Not used
CR Selection
Print Density
DTR/XON-XOFF
Baud Rate
"
"
"
International Character set
"
"
Not Used
Print Drive System
Print Density
(Supplementary)
Not Used
Mechanism
Open
LF Enable
Combination with J2-6 (See next page (5))
XON-XOFF
See below (3)
Short
See next page (4)
Variable division
Combination with J1-3
See next page (5)
MLT-288
LF Disable
DTR/DSR
Open
Fixed division
MLT-289
Factory Setting
Open
Open
Open
Short
Open
Open
Short
Open
Factory Setting
Short
Short
Short
Open
Short
Short
Short
Open
(3) INTERFACE & BAUD RATE
J1-8 J1-7
Open
Open
Open
Open
Open
Open
Open
Open
Short
Short
Short
Short
Short
Short
Short
Short
Open
Open
Open
Open
Short
Short
Short
Short
Open
Open
Open
Open
Short
Short
Short
Short
Open
Open
Short
Short
Open
Open
Short
Short
Open
Open
Short
Short
Open
Open
Short
Short
J1-6
J1-5
Open
Short
Open
Short
Open
Short
Open
Short
Open
Short
Open
Short
Open
Short
Open
Short
6
Input Method
Serial Input
"
"
"
"
"
"
"
"
"
"
"
"
"
"
Parity Baud Rate
None
"
"
"
"
Odd
"
"
"
"
Even
"
"
"
"
1200 bps
2400 bps
4800 bps
9600 bps
19200 bps
1200 bps
2400 bps
4800 bps
9600 bps
19200 bps
1200 bps
2400 bps
4800 bps
9600 bps
19200 bps
(4) INTERNATIONAL CHARACTER SET
BD2-2890DD SPECIFICATIONS
J2-3 J2-2
Open
Open
Open
Open
Short
Short
Short
Short
(5) PRINT DENSITY
J1-3 J2-6
Open
Open
Short
Short
Open
Open
Short
Short
Open
Open
Short
Short
Open
Short
Open
Short
J2-1
Open
Short
Open
Short
Open
Short
Open
Short
Print Density
Light
Standard
Slightly Dark
Dark
InternationalCharacter
Japan (JIS)
Japan (Shift-JIS)
Sweden
Denmark 1
Germany
Level
0
1
2
3
Print Density Rate
U.K.
France
U.S.A
80%
100%
120%
150%
Note:
1. Input Buffer is 2k byte. (Fixed)
2. Serial data length is 8 bits. (Fixed)
If print tone is set at 2 or above, printing rate tends to be lowered.
7

5. POWER SUPPLY

5.1 Specifications

VCC : 5V ±5% Approx. 130 mA
VP : 4.2V ~ 8.5V Approx. 1.5A (Peak : Approx. 4A) when 7.2V
Ordinal Voltage is to be 7.2V (Max). 8.5V is a voltage that is right after charging.
8.5V cannot be used for ordinal voltage.

5.2 Precautions

(1) Design the product to supply power to Vcc before VP when power is supplied to this control
board.
BD2-2890DD SPECIFICATIONS
(2) Design the product to turn off the power for Vcc after VP when power is turned off.
(3) Make sure to turn off the power in case of connecting/disconnecting connectors.
(4) Make sure to use Vcc and VP following their specifications.
(5) Make sure to use this control board connecting all of terminals between VP and GND.
8

6. SERIAL INTERFACE

6.1 Specifications

(1) Data transfer system: Asynchronous
(2) Baud rates
1200, 2400, 4800, 9600, 19200 bps (Selectable by user)
(3) Configuration of one word
Start bit : 1 bit
Data bit : 8 bits Fixed
Parity bit : Odd/Even or No parity (Selectable by user)
Stop bit : 1 bit or more
BD2-2890DD SPECIFICATIONS
(4) Signal polarity
RS-232C
• Mark = logic “ 1” (–3V ~ –12V)
• Space = logic “ 0” (+3V ~ +12V)
(5) Receiving data (RD signal)
RS-232C
• Mark = 1
• Space = 0
(6) Receiving control (DTR signal)
RS-232C
• Mark : Data transfer is not available
• Space : Data transfer is available
(7) Transmission control (TD signal)
DC1 code (11H) X-ON : Data reception is available
DC3 code (13H) X-OFF : Data reception is not available
9

6.2 Explanation of Input/Output Signals

(1) RXD
Serial receiving data signal. On occurrence of framing error, overrun error, or parity error, the
data is printed as “?”.
(2) DTR
When this signal is READY, write data or a command. When they are written in BUSY, overrun
error is occurred and data is ignored. Data can be written into the input buffer even when the
printer is busy printing. A BUSY also occurs when the printer is powered on, in test print, in
Online mode, or being reset.
(3) TXD
If data remaining in the printer's input buffer is 256 bytes or less, the printer transfers a DC3
(13H: Data Receive Not Ready) signal to the host. If data in the input buffer exceeds 256 bytes,
BD2-2890DD SPECIFICATIONS
the printer transfers a DC1 (11H: Data Receive Ready) signal to the host.
(4) GND
Common GND on the circuit.

6.3 Error Detection

Parity, framing, and overrun are detected. On detection of any error, the data are stored in the
buffer as “?”.
(1) Framing Error
With space state having been detected on detection of a stop bit, error takes place.
The data are stored in the buffer as “?”.
(2) Parity Error
With an error having been detected under specifying parity check, the data is stored in the buffer
as ?.
(3) Overrun Error
On detection of an overrun error, the data are stored in the buffer as ?.

6.4 Data Receiving Control

When DTR/DSR control having been selected, with BUSY signal at “LOW, data from the host
side are received. With the signal at HIGH, they can not be received.
When DTR/DSR control not having been selected, after X-ON transmission, data is received
from the host side. No transmission of data can take place after X-OFF is transmitted.
10

6.5 Buffering

Data transfer to the input buffer include DTR signals and TD signals as the control signals
concerned.
(1) DTR signals (See the page 7.2 (2))
(2) TXD signals (See the page 7.2 (3))

6.6 Electrical Characteristics

(1) RS-232C Circuit
Input (RXD, DSR)
BD2-2890DD SPECIFICATIONS
<Printer side> <Host side>
Equivalent MAX232
Output (DTR, TXD)
<Printer side> <Host side>
Equivalent MAX232
11

7. ERROR HANDLING

7.1 Peripheral Circuit Errors

These errors are detected at power-on or initialization just after a reset.
(1) Error types
Error Description
BD2-2890DD SPECIFICATIONS
Memory error
The CPU made a self-diagnosis of the circuit and detected an error with the external RAM.
(2) External signal outputs
Pin No
20 22
Signal Name
ERROR
DTR
(3) Resetting methods
Error
Memory error
Unrecoverable
Remarks
LED output. For a blinking pattern, see 8.3 Error Indication. Serial interface
Resetting Method
12

7.2 Operation Errors

(1) Error types
BD2-2890DD SPECIFICATIONS
Error
No paper Head –up
VH voltage error
Head temperature error
The printing paper set is not set The head-up lever is at its up position A VH voltage is beyond its allowable range (4.2 to 8.5V) A head temperature is less than 0˚C or 65 ˚C or higher.
Description
Caution: The 8.5V upper-limit voltage for VP voltage error is only an assumptive voltage just
after charging the battery when using the battery power. It cannot be normally used. A
normal maximum voltage is 7.2V.
(2) External signal outputs
Pin No
B
Signal Name
DTR
Remarks
Serial interface
(3) Resetting methods
Error
No paper
Head –up
VP voltage error
Head temperature
error
Caution:
The 8.5V upper-limit voltage for VP voltage error is only an assumptive voltage just
after charging the battery when using the battery power. It cannot be normally used. A
normal maximum voltage is 7.2V.
Resetting Method
Set the paper. See Note 1. Bring down the head-up lever. Set to a voltage within the allowable range (4.2 to 8.5V) and turn on the power again. At the lower limit (less than 0 ˚C), printing becomes operational at 0 ˚C higher. At the upper limit (65 ˚C or higher), it become operational at 60 ˚C or lower.
13

8. PRINTER MECHANISM CONTROL SYSTEM

1st Block 64 Dots
2nd Block 64 Dots
3rd Block 64 Dots
4th Block 64 Dots
5th Block 64 Dots
6th Block 64 Dots
1 Dot Line
1st Step of Motor
of Motor
2nd Step

8.1 Thermal Head Control System (Division Driving System)

The MLT-289 (Line thermal printer) is driven by this control board has a384 dots/line head
divided into 6 blocks of 64 dots each. When actually driving the head, you can select either
Fixed Division Number system, which drives the head, always dividing it into 6 blocks or
Variable Division Number system which collectively drives several blocks at the time according
to the number of activated head dots.
For selection by function selection, see 4. DIP SWITCH SETTING.
For selection by a command, see 11. PRINT CONTROL FUNCTIONS.

8.1.1 Fixed Division Number System

This system always drives each block in the same sequence.
BD2-2890DD SPECIFICATIONS
1st Block 64 Dots
2nd Block 64 Dots
1st Step of Motor
3rd Block 64 Dots
4th Block 64 Dots
5th Block 64 Dots
2nd Step of Motor
6th Block 64 Dots
Note: for a stepping motor driving method, see 9.2 Motor Drive.

8.1.2 Variable Division Number System

This system counts the number of printing dots for each block of the printing dot line and drives
the blocks collective in such a manner not to exceed the maximum number of driving dots (64
dots).
1 Dot Line
14

8.2 Motor Drive

The MLT-289 uses a 4-phase bipolar stepping motor. It feeds the 1 dot line worth of paper in
two steps by 2-to-2 phase excitation.

8.2.1 Motor Drive Features

1) Drive at an optimum drive speed by the VP voltage.
2) Prevents heat generation of the motor by PWM control to restrain current consumption.
3) Provides acceleration control at the time of start.

8.2.2 Maximum Motor Drive Speeds at Major Voltage

BD2-2890DD SPECIFICATIONS
VH Voltage
5V 6V
7.2V
Motor Drive Speed
400pps 600pps 840pps
Caution: The maximum drive speed depends on the VH voltage.
A printing speed may slightly differ depending on a processing time or voltage
detection accuracy. During the course of printing, a motor drive speed may be slower
than the maximum drive speed, depending on what is printed or the head divided drive
system.
15

9. PRINT CONTROL FUNCTIONS

9.1 Command List

Print Control Commands
BD2-2890DD SPECIFICATIONS
Control Code
LF
CR
ESC J
ESC d
Printing and paper feed Print command Printing and feeding paper n/203 inch Printing and feeding the paper by n lines
Print Character Commands
Control Code
ESC SP
ESC ! ESC % ESC &
ESC –
ESC E ESC G ESC R ESC V
ESC t
ESC {
Setting the right space amount of the character Collective specifying printing mode Specifying/canceling douwnload character set Defining download characters
Specifying/canceling underline Specifying/canceling highlighting Specifying/canceling double printing Selecting the international character set Specifying/Canceling 90°-right- turned Characters Selecting the character code table Specifying/canceling the inverted characters
Function Code Page
0Ah 0Dh 1Bh4Ah n 1Bh64h n
Function Code
1Bh20h n 1Bh21h n 1Bh25h n 1Bh26h s n m [ap1...ps×a]m–n+1 1Bh2Dh n 1Bh45h n 1Bh47h n 1Bh52h n 1Bh56h n 1Bh74h n 1Bh7Bh n
19 20 21 22
Page
23 24 26
27
29 30 31 32 33 34 35
Print Position Commands
Control Code
HT
ESC $ ESC D
ESC
ESC a
/
Horizontal tab command Specifying the absolute positions Setting horizontal tab position Specifying the relative positions Aligning the characters
Line Feed Span Commands
Control Code
ESC 2 ESC 3
Specifying 1/6-inch line feed rate Setting line feed rate of minimum pitch
Function Code
09h 1Bh24Ah n1 n2 1Bh44[n]k 00h 1Bh 5C n1 n2 1Bh 61h n
Function Code
1Bh 32h 1Bh 33h n
16
Page
36 37 38 39 40
Page
41 42
Bit Image Commands
BD2-2890DD SPECIFICATIONS
Control Code
ESC *
GS *
GS /
Specifying the bit image mode Defining the download, bit image Printing the download, bit image
Status Command
Control Code
ESC v 1Bh 76h
Transmitting the printer status (Serial type)
Panel Switch Command
Control Code
ESC c5 1Bh 63h 35h n
Enabling/disabling the panel switches
Macro Commands
Control Code
Function Code
1Bh 2Ah m n1 n2[d]k 1Dh 2Ah n1 n2 1Dh 2F
Function Code
Function Code
Function Code
Page
43 45 47
Page
48
Page
49
Page
GS :
GS ^
Starting/ending macro definition Executing the macro
Bar Code Commands
Control Code
GS H
GS f GS h GS k
GS w
Selecting of print position of HRI code Selecting the font of HRI code Selecting the height of the bar code Printing the bar code Selecting the horizontal size (scale factor) of bar code
Other Commands
Control Code
ESC =
ESC @
DC2 A
Data input control Initializing the Printer Selecting the Print drive system
1Bh 63h 35h n 1Dh 5Eh n1 n2 n3
Function Code
1Dh 48H n 1Dh 66H n 1Dh 68H n 1Dh 6Bh n[d]k 00h 1Dh 77H n
Function Code
1Bh 3Dh n 1Bh 40h 12h 41h n
50 51
Page
52 53 54 55 59
Page
60 61 62
17
BD2-2890DD SPECIFICATIONS

9.2 Command Details

9.2.1 Description of Items

XXXX ALL
[Function]
Command Function
[Code]
[Range]
[Outline]
[Caution]
[Default]
[See Also]
[Sample Program]
used, version, and so on. For details, see the ma
Describes an argument value(setting range) for the command.
Describes a command outline.
Describes a caution as required.
Describes an initial value for the command when accompanied by an argument.
Describes the associated commands for use.
A sequence of code constituting a command is represented in hexadecimal number for < >H, binary number for < >B, and decimal number for < >, respectively; [ ]k represents a repeat count of k-times.
Describes a coding example in the Q-BASIC sample program.
* This example is only for your reference and differs depending on the language
nual for the language used.
18
Loading...
+ 49 hidden pages