Résumé du contenu de la page N° 1
Dot Matrix Printer
SP300 Series
Programmer’s Manual
Résumé du contenu de la page N° 2
Résumé du contenu de la page N° 3
TABLE OF CONTENTS 1. CONTROL PANEL .............................................................................. 1 1-1. Basic Operation ............................................................................ 1 1-2. Switch Operation (Combined Switch Operation) ........................ 2 2. SERIAL INTERFACE .......................................................................... 7 2-1. Interface Specifications ................................................................ 7 2-2. Interfac
Résumé du contenu de la page N° 4
7. CONTROL CODES ............................................................................ 29 7-1. Control Codes Used for Character Setting ................................. 32 7-2. Control Codes Used for Line Spacing ....................................... 36 7-3. Control Codes Used for Page Layout......................................... 37 7-4. Control Codes Used for Graphics Printing ................................ 41 7-5. Control Codes Used for Download Characters ......................
Résumé du contenu de la page N° 5
1. CONTROL PANEL 1-1. Basic Operation 1 “ON LINE” switch Switches the printer between “ON POWER 3 LINE” and “OFF LINE”. When- ALARM ever the printer switches between 4 “ON LINE” and “OFF LINE”, the 5 buzzer gives one short beep (“ON ON LINE LINE” and “OFF LINE”, switching 1 is possible only when the paper is loaded in the printer.) FEED 2 “FEED” switch 2 • When this switch is pressed and then released within 0.5 sec.,the paper feeds one line. Fig. 1-1 Control panel • When this switch is depresse
Résumé du contenu de la page N° 6
1-2. Switch Operation (Combined Switch Operation) 1 FEED + POWER ON (Turn the power on while holding the FEED switch depressed.) Self-printing will be performed according to the VER. NO., DIP switch settings and character order. When the FEED switch is held continuously during self printing, only the characters will print out repeatedly. In models with cutter, cutting will be done after self-printing is performed according to the VER. NO., DIP switch setting and charact
Résumé du contenu de la page N° 7
2 ON LINE + POWER ON (Turn the power on while holding the ON LINE switch depressed.) Each of the signals sent from the computer to the printer will be printed out in hexadecimal code. This function allows you to check if a control code sent to the printer by the program being used is correct or not. The buzzer will sound once to indicate the printer is in hexadecimal dump mode. After the program has been run, the last line buffer should be flushed by pressing the
Résumé du contenu de la page N° 8
5 (Sprocket-type Only) ON LINE + FEED (Press the FEED button while holding the ON LINE button depressed when the printer is ON LINE) The buzzer gives three short beeps and the printer sets the page top. 6 (Twin Head Only) FEED + ON LINE + POWER ON This mode enables adjustment of the forward and backward printed line align- ment by 1/2-dot increments. The adjustment procedure is explained on the following pages. – 4 –
Résumé du contenu de la page N° 9
1. Enter the Dot Alignment Adjust Mode by turning on the power while pressing the ONLINE and FEED switches. 2. When Dot Alignment Adjust Mode starts, the buzzer will sound twice and “Dot Alignment Adjust Mode” is printed. 3. Seven dot alignment patterns are printed as shown below. The patterns are arranged with the backward printed lines more toward the left as the patterns are printed down the page; the fourth pattern is the standard. The asterisk (*) indicates the pattern printed with the curr
Résumé du contenu de la page N° 10
4. To choose a pattern with a closer alignment of the forward and backward printed lines, count from the top down to the desired pattern and press the FEED switch the counted number of times. (The buzzer sounds each time the FEED switch is pressed, up to a maximum of seven times. However, if the FEED switch is pressed more than seven times, a warning sounds.) 5. Press the ONLINE switch after the setting is made. (If the power is turned off before the ONLINE switch is pressed, the new setting bec
Résumé du contenu de la page N° 11
2. SERIAL INTERFACE 2-1. Interface Specifications 1 Data transmission method: Asynchronous serial interface 2 Baud rate: Selectable from 150, 300, 600, 1200, 2400, 4800, 9600, 19200 (Twin Head only) bps (Refer to Installation Manual.) 3 Word length Start bit: 1 bit Data bit: 7 or 8 bits (selectable. Refer to Installation Manual.) Parity bit: Odd, even or none (selectable. Refer to Installation Manual.) Stop bit: 1 or 2 bit length 4 Signal polarity RS-232C (Standard feature) MARK : Logic “1”(–3V
Résumé du contenu de la page N° 12
2-2. Interface Circuit 2-2-1. RS-232C Serial Interface Input (RXD, CTS) Printer Host computer 75189 or equivalent Output (DTR, FAULT, TXD, RCH, RTS) Printer Host computer 75188 or equivalent Fig . 2-1 RS-232C interface circuit 2-2-2. Current Loop (option) Input (TTY-RXD, TTY-RXDR) Host computer +V R Printer Output (TTY-TXD, TTY-TXDR) Host computer +V R Printer Note: Adjust “R” so that the loop current is set within 10 to 20 mA. Fig. 2-2 Current loop interface circuit – 8 –
Résumé du contenu de la page N° 13
2-2-3. RS-422A Serial Interface (option) Input (RD, RS) Printer Host computer A B Output (SD, CS) Printer Host computer A B Fig. 2-3 RS-422A interface circuit – 9 –
Résumé du contenu de la page N° 14
2-3. Connectors and Signals RS-232C I/O Pin no. Signal name Function direction 1 F-GND — Frame ground 2 TXD OUT Transmitted data 3 RXD IN Received data 4 RTS OUT Data transmission request signal. This is al- ways “SPACE” when the printer is turned on. 5 CTS IN This signal changes to “SPACE” when host computer is ready to transmit data. (In this instance, the printer does not check this signal.) 6 N/C Not connected 7 S-GND — Signal ground 8 N/C Not connected 9-10 N/C This pin is used when using t
Résumé du contenu de la page N° 15
20 mA current loop (option) I/O Pin no. Signal name Function direction 9 TTY TXDR — Indicates the ground side of the data signal of 20 mA loop current. 10 TTY TXD OUT Transmitted data of 20 mA current loop. 17 TTY TXDR — Indicates the ground side of the data signal of 20 mA loop current. 18 TTY RXDR — Indicates the ground side of the data signal of 20 mA loop current. 19 TTY RXD IN Received data of 20 mA current loop. 23 TTY RXDR — Indicates the ground side of the data signal at 20 mA loop curre
Résumé du contenu de la page N° 16
2-4. 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 25Pin Shield F-GND 1 1 F-GND TXD 2 2 TXD RXD 3 3 RXD RTS 4 4 RTS CTS 5 5 CTS 6 DSR S-GND 7 7 S-GND FAULT 14 8 DCD DTR 20 20 DTR IBM PC side Board side 9 Pin F-GND DCD 1 1 TXD 2 2 RXD RXD 3 3 TXD RTS 4 4 DTR CTS 5 5 S-GND DSR 6 S-GND 7 7 RTS FAULT 14 8 CTS DTR
Résumé du contenu de la page N° 17
2-5. Installing the Optional Interface Board When using the optional 20 mA current loop interface or the RS-422A interface, the optional interface board must be mounted to the printer’s main logic board. The following is the method of mounting the interface board to the printer’s main logic board. 1 Remove the 6 screws on the bottom cover of the printer, then remove the bottom cover. 2 Connect the optional interface board connector to connector CN9 on the printer’s main logic board. 3 At the sam
Résumé du contenu de la page N° 18
2-6. Data Structure 2-6-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 Data RXD Buffer full Buffer empty DTR Printing Power ON When paper is out RXD OFF LINE ON LINE DTR Printing Press the ON LINE switch after Paper out loading paper. PAPER OUT signal Power ON If a printer 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
Résumé du contenu de la page N° 19
Data buffer Full Near Full Near Empty Empty Remainder 256 bytes 256 bytes DTR “MARK” DTR “SPACE” [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
Résumé du contenu de la page N° 20
[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. [Compulsion switch] When pin 6 of the peripheral unit drive circuit connector is set “HIGH”, status bit 7 becomes “1”. 2-6-2. X-ON/X-OFF mode This mode accessed when the DIP switch 3-5 is OFF. X–OFF X–OFF X–ON X–OFF X–OFF X–ON X–OFF X–OFF X–ON TXD RXD Data Data D