User’s Manual CONTROL BOARD FOR LT-122x/132x MODEL BD2-1220/1221 Rev. 02 Newly issued Jun.
REVISION Rev.No. Rev.02 Date Jun.
GENERAL PRECAUTIONS Prior to using the Control Board BD2-1220/1221, be sure to read this User’s Manual thoroughly. Please keep it handy so that you can refer to it whenever necessary. 1. 2. 3. 4. 5. 6. 7. 8. The information contained herein may be changed without prior notice. Reproduction of part or all of the User’s Manual without permission is strictly prohibited. Never service, disassemble, or repair parts that are not described in the User’s Manual.
WARNING ● Never handle the Control Board BD2-1220/1221 in the manners descried below; otherwise, it may be damaged, get out of order or overheated, possibly causing smoke, fire or electric shock. ● If the control board is damaged or breaks down, be sure to turn off the power, disconnect the power plug from the wall outlet, and contact your CBM dealer. • Do not allow the control board to be subjected to any strong impact or shock, such as stamping, hitting, dropping, and the like.
PRECAUTIONS FOR HANDLING Observe the following precautions to use the Control Board BD2-1220/1221 correctly and avoid troubles from occurring. • Use only the rated supply voltage specified for this product. • Exercise care not to drop any metallic foreign object onto this product. • Do not spill any liquid on the control board, or spray it with any chemical-containing liquid. • Do not stamp on, drop, hit, or impart any strong shock to the control board.
THE TABLE OF CONTENTS 1. GENERAL OUTLINE ........................................................................................................................ 1 1.1 Features ..................................................................................................................................................................... 1 1.2 Before using ......................................................................................................................................................
6.5 Data Reception Control .......................................................................................................................................... 15 6.6 Buffering ................................................................................................................................................................. 15 6.7 Connections to Parallel Port ...................................................................................................................................
BD2-1220/1221 User’s Manual 1. GENERAL OUTLINE The BD2-1220/1221 Control Board is designed to operate the LT-1220/21 or LT-1320/21 Thermal Print Mechanism from a PC. It incorporates maximum versatility that makes it applicable to diverse purposes. Before using this product for the first time, read the instructions throughout this manual. 1.1 Features (1) Ultra-compact design. (2) Selectable serial or parallel printer interface. (3) Support for both 80 mm (LT-132x) and 58 mm (LT-122x) print heads.
BD2-1220/1221 User’s Manual 2. BASIC SPECIFICATIONS 2.1 Model Classification The control board models are classified by the following designation method: BD2 - 122 0 U Character Set U : International model Compatible printing mechanism: 0: LT-1220/1320 1: LT-1221/1321 Model Name The control board has the following model identification: Letter “U” and number “0” or “1” are stamped on the component side following the model number.
BD2-1220/1221 User’s Manual 2.
BD2-1220/1221 User’s Manual 2.3 Print Paper Specifications Use the recommended thermal papers listed below: TF50KS-E2D (normal paper) from Nippon Paper F230AA (normal paper) from Mitsubishi Paper or equivalent * Paper thickness depends on the thermal head models. * If an unspecified thermal paper is used, print tone may vary from the standard print tone. * To preserve printed information for extended time period, carefully control temperature, humidity, and other storage conditions.
BD2-1220/1221 User’s Manual 3. INTERCONNECTION 3.1 Interface Connector (CN1) 3.1.1 Pin Description Pin No.
BD2-1220/1221 User’s Manual 3.1.2 Example of Power Connections * For the serial and parallel interface connections, see the sections dedicated to the respective interface.
BD2-1220/1221 User’s Manual 3.2 Print Head Interface Connector (CN2) 3.2.1 Pin Description Pin No. 1~4 5 6 7 8 9 10 11~19 20 21 22 23 24 25~28 Signal Name Input/Output Function LT-122x LT-132x Vp — Thermal head power supply DO Input Serial print data input CLK Output Data transfer clock LAT Output Print data latch signal N. C STB 2 — (Output) N.C.
BD2-1220/1221 User’s Manual 3.3 Head-Up and Paper End Sensor Connectors (CN3 & CN7) Pin No.
BD2-1220/1221 User’s Manual 3.6 Paper Near-End Sensor Connector (CN6) * Option 3.6.1 Pin Description Pin No. 1 2 3 Signal Name PNE-A PNE-C GND Input/Output Function Output Photointerruptor’s anode Input Photointerruptor’s collector — Photointerruptor’s cathode and emitter Connectors: 5267-03A-X (Molex) By default, pin 2 is tied to pin 3 with jumper J11 to deactivate the paper sensor (paper always remains). If you need the Paper Near-End sensor function, obtain the connector above. 3.6.
BD2-1220/1221 User’s Manual 4. CONFIGURING THE CONTROL BOARD FUNCTIONS Some of the control board functions can be configured with DIP switches and/or jumpers. 4.1 DIP switches No. 1 2 3 4 5 6 7 8 Function Auto cutter CR mode ON Available LF Operation Print density OFF Not available Ignored See Table (1). Print head Communication mode LT-1200/1221 XON/XOFF Baud rate LT-1320/1321 DTR/DSR See Table (2). Factory setting OFF OFF ON OFF ON OFF ON OFF Sections 6-8 are only valid for serial interface.
BD2-1220/1221 User’s Manual (3) Code Page Code Page PC437 (USA, EU Standard) Katakana (Japanese) PC850 (Multilingual) PC860 (Portuguese) PC863 (Canadian-French) PC865 (Nordic) PC852 (Eastern Europe) PC866 (Russian) PC857 (Turkish) Windows Code Not defined Not defined Not defined Unused Not defined Blank page J1 Short Open Short Open Short Open Short Open Short Open Short Open Short Open Short Open J2 Short Short Open Open Short Short Open Open Short Short Open Open Short Short Open Open J3 Short Short S
BD2-1220/1221 User’s Manual 5. POWER SUPPLY 5.1 Specifications Vdd: 5 VDC ±5%, approx. 200 mA Vp: 24 VDC ±10%, approx. 0.7 A on average (approx. 6 A peak) The data above is at 25°c and normal humidity. AC is at 12.5% print area and 24 VDC. It varies with printing condition, operating environment, operating condition, and some other factors. 5.2 Precautions (1) Design the product to supply power to Vdd before Vp (within 100 ms) when power is supplied to this control board.
BD2-1220/1221 User’s Manual 6. PARALLEL INTERFACE 6.1 Specifications Data transfer method: 8-bit parallel Synchronizing method:Controlled by nStrobe signal externally supplied Handshaking: Handled by nAck and Busy signals Signal level: All signals are TTL compatible Other control signals: PE, nFAULT, SELECT * Bidirectional Parallel Interface (IEEE1284) The control board supports the bidirectional parallel interface (IEEE-1284).
BD2-1220/1221 User’s Manual 6.2 Description of Input and Output signals 6.2.1 Input signals • DATA 0~7: An 8-bit parallel signal. (Active “High”) • nSTROBE: A strobe signal to help read 8-bit data. (Active “Low”) • nRESET: Resets the control board (active “Low”). 6.2.2 Output signals • nACK: An 8-bit data request signal, which is output at the end of a Busy signal. (Active “Low”) • BUSY: A signal to indicate a busy state of the control board. Input new data when this signal is “Low”.
BD2-1220/1221 User’s Manual 6.4 Timing Chart (Compatibility Mode) Data input and print timing POWER DATA T2 T1 STB T3 T6 T4 BUSY ACK T5 T1, T2, T3 : 0.5 µs MIN T4 : 270 ns MAX T5 : 2.3 µs TYP T6 :500 ms MIN (At power-on) 6.5 Data Reception Control When the Busy signal is at “LOW”, the control board can receive data from the host computer, but when at “HIGH”, data reception is not possible. 6.
BD2-1220/1221 User’s Manual 6.
BD2-1220/1221 User’s Manual 7. SERIAL INTERFACE 7.
BD2-1220/1221 User’s Manual 7.2 Description of Input and Output Signals (1) RD This is a serial reception data signal. When a framing error, overrun error or parity error occurs, the data containing the error is printed as a “?”. (2) DTR When this signal is Ready, you can write data or commands into the input buffer. If you do so while the signal is Busy, an overrun error occurs, and the previously written data will be ignored. Data can be written into the input buffer even during printing.
BD2-1220/1221 User’s Manual 7.4 Data Structure t Mark h0, h1, h2 Space (1) (2) (3) (1) Start bit (2) Data bits (+ parity bit) (3) Stop bit (1) Start bit Status is read again 1/2 bit after a negative transition from Mark to Space. If the status is at Space, it is recognized as a Start bit. If the status is at Mark, it is not recognized as a Start bit. Start bit detection is attempted again without causing an error.
BD2-1220/1221 User’s Manual 7.6 Data Reception Control When the DTR/DSR control mode is selected, host data can be received if the DTR signal is at Space, while it is not receivable if the signal is at Mark. When the DTR/DSR control mode is deselected, host data can be received after XON is transmitted, while it is not receivable after XOFF is transmitted. 7.7 Buffering Data transfers to the input buffer are controlled by the DTR and TD signals.
BD2-1220/1221 User’s Manual 8. ERROR HANDLING This section describes some typical errors that could be detected on the control board at power on (initialization) or during printer operation. Error status can be known from the nERROR and nPEOUT signals. (The following describes errors that are identified by LED lights.) In the event of an error, the BUSY (DTR), PE, FAULT, SELECT, or some other signals may be activated as well as the ERROR and/or PEOUT signals described in the following table.
BD2-1220/1221 User’s Manual 8.2 Error Details Memory Check Error: Activated if an error is detected at power on. Head Up: Activated if the print head is raised with the Head-Up lever. The printer stops printing and generates an ERROR signal. Head Overheat: Activated if the print head temperature exceeds approx. 65°C, causing the printer to stop printing and generating an ERROR signal. The printer automatically resumes printing when the head temperature drops below approx. 60°C.
BD2-1220/1221 User’s Manual 9. SPECIAL FUNCTIONS In addition to the standard print function, the control board has some special print features such as the Page Print, Test Printing, and Hexadecimal Dump capabilities. Also it allows for software revision and registration of user-defined fonts and logos. These special features are available only if print paper is normally loaded in the printer. 9.1 Page Print Mode The control board has two print modes: i.e. Standard and Page Modes.
BD2-1220/1221 User’s Manual 9.4 Software Revision The control board retains control software in its flash memory. Software revision can only be performed with a flash memory loader. For more details, read the User’s Manual supplied with the Flash Memory Loader. Caution: The update software is overwritten on the existing software. While the flash memory loader is loading software, never turn off the control board as the correct contents of software may be lost permanently.
BD2-1220/1221 User’s Manual 10. PRINT CONTROL COMMANDS This section provides lists of print control commands that are used for setting and controlling the printer from the control board. For more details of print control commands, refer to the Command Reference Manual.
BD2-1220/1221 User’s Manual Print Position Commands Command HT ESC $ ESC D ESC T ESC W ESC \ ESC a GS $ GS L GS W GS ¥ Function Horizontal tab Specifying the absolute positions Setting horizontal tab position Selecting the character printing direction in PAGE MODE Defining the print area in PAGE MODE Specifying the relative position Aligning the characters Specifying the absolute vertical position of characters in PAGE MODE Setting the left margin Setting the print area width Specifying the relative ver
BD2-1220/1221 User’s Manual Panel Switch Command Command Function ESC c 5 Making LF-SW signal valid/invalid Mode Code S, P 1Bh, 63h 35h, n Macro Commands Command Function GS : Starting/Ending macro definition GS ^ Executing the macro Mode Code S, P 1Dh, 3Ah S, P 1Dh, 5Eh, n1, n2, n3 Cutter Command Command GS V Cutting the paper Function Mode Code S, P 1Dh, 56h, m 1Dh, 56h, m, n Bar Code Commands Command GS H GS f GS h GS k Function Selecting of printing position of HRI characters Selecting the font
BD2-1220/1221 User’s Manual Other Commands Command DLE ENQ ESC = ESC @ ESC L ESC S GS ( A Function Real-time request to printer Data input control Initializing the printer Selecting PAGE MODE Selecting STANDARD MODE Execution of test printing GS I GS P Sending the printer ID Specifying the basic calculation pitch Mode S, P S, P S, P S P S S, P S, P Code 10h, 05h, n 1Bh, 3Dh, n 1Bh, 40h 1Bh, 4Ch 1Bh, 53h 1Dh, 28h, 41h, pL, pH, n, m 1Dh, 49h, n 1Dh, 50h, x, y Mode ------ Code 1Bh, 69h 1Bh, 6Dh 1Bh, 70
BD2-1220/1221 User’s Manual 11. BLOCK DIAGRAM Flash Memory OSC 20.
BD2-1220/1221 User’s Manual 12. OUTLINE DRAWINGS FOR CONTROL BOARD Unit (mm) R1.6 80.5 4.5 2-ø3.2 R1.6 5.2 80 6 5 BD2122 18 90 3 1.6 5 54 55 65 4.
BD2-1220/1221 User’s Manual APPENDIX 1. DESCRIPTION OF PAGE MODE The control board has two print modes: STANDARD and PAGE. In STANDARD MODE, the control board prints or feeds paper each time it receives a print or paper feed command. In PAGE MODE, when the control board receives print commands and/or form feed commands, it simply forwards them to the specified print area of memory. Only when an ESC+FF or FF is executed, all the data mapped in the print area will then be printed in a batch.
BD2-1220/1221 User’s Manual Print data is mapped in the print area as follows: (1) The print area is set by ESC+W. When the control board has finished all of the print and paper feed actions specified before receiving an ESC+W, the ESC+W sets the left end (As viewed facing the control board) as the start point (x0, y0) of the print area.
BD2-1220/1221 User’s Manual APPENDIX 2. IDENTIFICATION OF SEND STATUS Because the status sent from the control board has certain fixed bits, it is possible to identify to which command the status belongs. When using ASB (Automatic Status Back), however, the first byte of ASB should be checked, and then the three consecutive bytes except for XOFF should be treated as ASB data.
BD2-1220/1221 User’s Manual APPENDIX 3. DEVICE ID If the bidirectional communication feature is used on the parallel interface, the host can receive character strings that identify the types of devices attached to the interface.
BD2-1220/1221 User’s Manual APPENDIX 4. CHARACTER CODES TABLE 1.
BD2-1220/1221 User’s Manual Codepage PC860 (Portuguese) Codepage PC863 (Canadian-French) Codepage PC865 (Nordic) Codepage PC852 (Eastern Europe) F
BD2-1220/1221 User’s Manual Codepage PC866 (Russian) Codepage PC857 (Turkish) Windows Codepage G
BD2-1220/1221 User’s Manual 2. International Character Codes Table Country U.S.A. France Germany U.K.
BD2-1220/1221 User’s Manual MAINTENANCE AND SERVICE For the information on maintenance and service, please contact your CBM dealer or at the following addresses. Northern America CBM America Corporation Service Center 365 Van Ness Way Suite 510 Torrance, CA 90501, U.S.A. Ohter Areas Japan CBM Corporation Infromation Systems Drivision CBM Bldg. 5-68-10 Nakano, Nakano-ku, Tokyo, 164-0001, Japan TEL: +1-310-781-1460 FAX: +1-310-781-9157 TEL: +81-3-5345-7540 FAX: +81-3-5345-7541 E-mail: info-sys@jcbm. co.