Star MicronicsメーカーSP300の使用説明書/サービス説明書
ページ先へ移動 of 70
Dot Matrix Printer SP300 Series Programmer’ s Manual.
.
T ABLE OF CONTENTS 1. CONTROL PANEL .............................................................................. 1 1-1. Basic Operation ............................................................................ 1 1-2. Switch Operation (Combined Switch Operation) .
7. CONTROL CODES ............................................................................ 29 7-1. Control Codes Used for Character Setting ................................. 32 7-2. Control Codes Used for Line Spacing ..............................
– 1 – 1. CONTROL P ANEL 1-1. Basic Operation 1 “ON LINE” switch Switches the printer between “ON LINE” and “OFF LINE”. When- ever the printer switches between “ON LINE” and “OFF LINE”, the buzzer gives one short beep (“ON LINE” and “OFF LINE”, switching is possible only when the paper is loaded in the printer.
– 2 – 1-2. Switch Operation (Combined Switch Operation) 1 <SELF PRINT TEST> 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.
– 3 – 2 <Hexadecimal dump mode> 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.
– 4 – 5 <PAGE TOP> (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.
– 5 – 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.
– 6 – 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.
– 7 – 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.
– 8 – 2-2. Interface Circuit 2-2-1. RS-232C Serial Interface Input (RXD, CTS) Output (DTR, FAULT, TXD, RCH, RTS) Fig . 2-1 RS-232C interface circuit 2-2-2. Current Loop (option) Input (TTY-RXD, TTY-RXDR) Output (TTY-TXD, TTY-TXDR) Note: Adjust “R” so that the loop current is set within 10 to 20 mA.
– 9 – 2-2-3. RS-422A Serial Interface (option) Input (RD, RS) Output (SD, CS) Fig. 2-3 RS-422A interface circuit A B Printer Host computer A B Printer Host computer.
– 10 – 14 1 25 13 2-3. Connectors and Signals RS-232C Pin no. Signal name I/O 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.
– 11 – 20 mA current loop (option) Pin no. Signal name I/O 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.
– 12 – 2-4. Interface Connections The following is a basic example of interface connections. (For interface connections, refer to the specifications for the respective interface.
– 13 – 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.
– 14 – 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. If a printer errors do not occur after the power is turned on, the DTR signal line changes to “SPACE”.
– 15 – [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”.
– 16 – [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.
– 17 – [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” condition is detected.
– 18 – [Status] [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.
– 19 – 2-6-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 printer and acknowledges the printer status. Then, the host computer checks if the printer buffer is empty.
– 20 – [Compulsion switch] When pin 6 of the peripheral unit drive circuit connector is set at “HIGH”, status bit 7 becomes “1”..
– 21 – Sends <ENQ> Receives status byte. Sends <STX> Is the data buffer empty? Is an odd parity check? Acquires the exclusive OR of the content of the text byte and the data to sent, then it is used as the content of the test byte. Transmits the data to the printer.
– 22 – 3-1. Interface Specifications This printer has a parallel interface to communicate with the computer. The operating specifications of the parallel interface are as follows.
– 23 – 74 HC Compatible 4.7K W 4.7K W Signal Name Circuit Example Fig. 3-2 Typical interface circuit 74 HC Compatible 4.7K W 100 W 470pF DATA 1 – DATA 8 (To Printer) STROBE (To Printer) BUSY, ACK (From Printer) INPUT OUTPUT 74 HC Compatible 4.
– 24 – 3-3. Connectors and Signals Pin no Signal name Direction Function 1 STROBE IN Signals when data is ready to be read. Signal goes from HIGH to LOW (for at least 0.5 microsec.) when data is available. 2-9 DATA 1-8 IN These signals provide the information of the first to eighth bits of parallel data.
– 25 – If any of the following errors is detected while the printer is operating, the printer halts and ERROR signal turns to “LOW” level. 1 Mechanical errors • Motor lock • Defective of timing detector (signal not issued) • Abnormal home position check.
– 26 – This printer can print one line of validation printing. 5-1. Operating Method 5. V ALIDA TION PRINTING (Models with validation function only) Fig. 5-2 Loading the paper 1 Open the front cover, pull the adjust lever one notch from standard posi- tion A toward the operation panel side position B.
– 27 – 5-2. Printing Format Prints one line in 7 × 9 font normal printing. 32 columns (from the 5th to 36th columns) Even if the setting for the paper width is changed by the DIP switch, the 32- column format will not change. 5-3. Data format <GS> <data> <LF> 5-4.
– 28 – 6-1. Cutting Method Cuts recording paper into continuous forms connected at only one point remain- ing uncut between adjacent forms. Only one sheet of paper can be cut each time. 6-2. Cutting position The paper is cut approximately 21.7 mm above the printing head.
– 29 – 7. CONTROL CODES Control Codes Used for Character Setting Control codes Hexadecimal Function Page codes <ESC> “R” n 1B 52 n Select international character set 32 <ESC> “6.
– 30 – Control Codes Used for Page Layout Control codes Hexadecimal Function Page codes <FF> 0C Page feed (form feed) 37 <ESC> “C” n 1B 43 n Set page length at n lines 37 <ESC&g.
– 31 – Control Codes Used for Peripheral Units Control codes Hexadecimal Function Page codes <ESC> <BEL> n1 n2 1B 07 n1 n2 Adjust drive pulse width for peripheral unit 1 49 <BEL>.
– 32 – 7-1. Control Codes Used for Character Setting FUNCTION Select international character set CODE <ESC> “R” n DEFINITION RANGE (1B) H (52)H n OUTLINE (00) H n (08) H Select the international character set corresponding to the value set for n.
– 33 – FUNCTION Select 7 × 9 (half dot) font CODE <ESC> “M” (1B) H (4D) H OUTLINE Selects 7 × 9 (half dot) font. Refer to User’s manual for the maximum number of print columns. When the power of the printer is turned on, 7 × 9 (half dot) printing is automatically selected.
– 34 – FUNCTION Cancel expanded character mode CODE <DC4> (14) H OUTLINE Cancels expanded character mode set by <SO> or <ESC> “W” “1” or <ESC> “W” <1> code. Data following this code is printed out in normal size characters.
– 35 – FUNCTION Select underline mode CODE <ESC> “-” “1” or <ESC> “-” <1> (1B) H (2D) H (31) H or (1B) H (2D) H (01) H OUTLINE Data following this code is printed out underlined. (However, the spaces generated by horizontal tab are not underlined.
– 36 – FUNCTION Cancel highlighted print mode CODE <ESC> “5” (1B) 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.
– 37 – FUNCTION Set 1/8-inch line feed CODE <ESC> “0” (1B) 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 (1B) H (52) H n DEFINITION RANGE 1 n 127 OUTLINE After data in the line buffer is printed out, feeds the paper n lines.
– 38 – FUNCTION Set vertical tab positions CODE <ESC> “B” n1 n2 ... nk <0> (1B) H (42) H n1 n2 ... nk (00) H DEFINITION RANGE 1 n1 < n2 < n3 <....< nk 255, 1 k 16 OUTLINE Cancels all current vertical tab positions and sets new vertical tab positions at lines n1 , n2 , etc.
– 39 – FUNCTION Cancel bottom margin CODE <ESC> “O” (1B) H (4F) H OUTLINE Cancels bottom margin. FUNCTION Set left margin CODE <ESC> “1” n (1B) H (6C) H n DEFINITION RANGE 0 n (right margin –2) OUTLINE Sets the left margin at column n in the current character pitch.
– 40 – FUNCTION Set horizontal tab position CODE <ESC> “D” n1 n2 ... nk <0> (1B) H (44) H n1 n2 ... nk (00) H DEFINITION RANGE 1 n1 < n2 < n3 ...< nk (Maximum print columns –1), 1 k 16 OUTLINE Cancels all current horizontal tab positions and sets new tab positions at columns n1 , n2 , etc.
– 41 – 7-4. Control Codes Used for Graphics Printing FUNCTION Set 7/72-inch line feed CODE <ESC> “1” (1B) H (31) H OUTLINE Line feed is set at 7/72-inch after this code is received.
– 42 – EXAMPLE Set n /216-inch line feed simulation CODE <ESC> “3” n (1B) H (33) H n DEFINITION RANGE 1 n 255 OUTLINE Line feed is set at n /216-inch after this code is received.
– 43 – m1 m2 m3 m4 m5 m6 m7 m8 m9 m10 m11 m12 m13 m14 m15 m16 m17 m18 m19 m20 m21 m22 m23 m24 m25 m26 m27 m28 m29 m30 D 8 D 7 D 6 D 5 D 4 D 3 D 2 D 1 m21 00111110 3E m22 00101110 2E m23 00101110 2.
– 44 – FUNCTION 8 dot double density bit image CODE <ESC> “L” n1 n2 m1 m2 ... (1B) H (4C) H n1 n2 m1 m2 ... DEFINITION RANGE 1 n1 + 256 × n2 400 OUTLINE Executes double density bit image printing (half-dot print- ing) determined by “ n1 ” and “ n2 ”.
– 45 – FUNCTION Select vertical expaned character mode CODE <ESC> “h” “1” or <ESC> “h” <1> (1B) H (68) H (31) H or (1B) H (68) H (01) H OUTLINE Prints characters two times the normal vertical size after the code is received.
– 46 – 7-5. Control Codes Used for Download Characters FUNCTION Definition of download characters CODE W hen the 7 × 9 (half dot) font is set (default setting): <ESC> “&” <0> .
– 47 – FUNCTION Enable download character set CODE <ESC> “%” “1” or <ESC> “%” <1> (1B) H (25) H (31) H or (1B) H (25) H (01) H OUTLINE Enables the download character set Download characters defined by the ESC & 0 code cannot be printed until enabled by this command.
– 48 – Example of transmitting data (1B) H (26) H (00) H (21) H (23) H (80) H (A0) H (00) H (A0) H (1F) 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.
– 49 – 7-6. Control Codes Used for Peripheral Units FUNCTION Adjust drive pulse width for peripheral unit 1 CODE <ESC> <BEL> n1 n2 (1B) H (07) H n1 n2 DEFINITION RANGE 1 n1 127, 1 n2 1.
– 50 – FUNCTION Immediate drive command for peripheral unit 2 CODE <SUB> (1A) H OUTLINE Drives peripheral unit 2. Pulse width is fixed at 200ms with a fixed delay time of 200 ms. When the printer receives a <SUB> code, the command is executed immediately.
– 51 – FUNCTION Set deselect mode CODE <DC3> (13) H OUTLINE (1) When using serial interface printer: 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 printer ignores this code.
– 52 – 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 following this code is input to the buffer.
– 53 – FUNCTION Enquiry CODE <ENQ> (05) H OUTLINE This code is valid when using serial interface printer. Online in STX-ETX mode: The printer sends the status data and the check byte to the host computer. Online in any other mode: The printer sends only the status data to the host computer.
– 54 – FUNCTION Trigger auto-cutter drive (Auto-cutting models only) CODE <ESC> “d” “0” or <ESC> “d” <0> (1B) H (64) H (30) H or (1B) H (64) H (00) H <ESC> “d” “1” or <ESC> “d” <1> (1B) H (64) H (31) H or (1B) H (64) H (01) H OUTLINE This code causes the printer to trigger auto-cutter.
– 55 – 8.1 U.S.A. & Europe (DIP SW2-1: ON, SW2-2: ON) 8. CHARACTER CODE T ABLES.
– 56 –.
– 57 – 8.2 IBM Character Set #1 (DIP SW2-1: OFF , SW2-2: ON).
– 58 –.
– 59 – 8.3 IBM Character Set #2 (DIP SW2-1: ON, SW2-2: OFF).
– 60 –.
– 61 – 8.4 JAP AN (DIP SW2-1:, OFF , SW2-2: OFF).
– 62 –.
– 63 – 8.5 International Character Sets.
MEMO.
.
Printed in Japan, 80872005 HEAD OFFICE STAR MICRONICS CO., LTD. 20-10 Nakayoshida, Shizuoka, 422 Japan Tel: (054) 263-1115, Telefax: (054) 263-8714 OVERSEAS SUBSIDIARY COMPANIES STAR MICRONICS AMERICA, INC. 70-D Ethel Road West, Piscataway, NJ 08854 U.
デバイスStar Micronics SP300の購入後に(又は購入する前であっても)重要なポイントは、説明書をよく読むことです。その単純な理由はいくつかあります:
Star Micronics SP300をまだ購入していないなら、この製品の基本情報を理解する良い機会です。まずは上にある説明書の最初のページをご覧ください。そこにはStar Micronics SP300の技術情報の概要が記載されているはずです。デバイスがあなたのニーズを満たすかどうかは、ここで確認しましょう。Star Micronics SP300の取扱説明書の次のページをよく読むことにより、製品の全機能やその取り扱いに関する情報を知ることができます。Star Micronics SP300で得られた情報は、きっとあなたの購入の決断を手助けしてくれることでしょう。
Star Micronics SP300を既にお持ちだが、まだ読んでいない場合は、上記の理由によりそれを行うべきです。そうすることにより機能を適切に使用しているか、又はStar Micronics SP300の不適切な取り扱いによりその寿命を短くする危険を犯していないかどうかを知ることができます。
ですが、ユーザガイドが果たす重要な役割の一つは、Star Micronics SP300に関する問題の解決を支援することです。そこにはほとんどの場合、トラブルシューティング、すなわちStar Micronics SP300デバイスで最もよく起こりうる故障・不良とそれらの対処法についてのアドバイスを見つけることができるはずです。たとえ問題を解決できなかった場合でも、説明書にはカスタマー・サービスセンター又は最寄りのサービスセンターへの問い合わせ先等、次の対処法についての指示があるはずです。