JPH10340171A - Printer inspection method - Google Patents

Printer inspection method

Info

Publication number
JPH10340171A
JPH10340171A JP10158582A JP15858298A JPH10340171A JP H10340171 A JPH10340171 A JP H10340171A JP 10158582 A JP10158582 A JP 10158582A JP 15858298 A JP15858298 A JP 15858298A JP H10340171 A JPH10340171 A JP H10340171A
Authority
JP
Japan
Prior art keywords
printer
protocol
inspection
switch
dip switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10158582A
Other languages
Japanese (ja)
Other versions
JP3191923B2 (en
Inventor
Tomoaki Amano
智昭 天野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Star Micronics Co Ltd
Original Assignee
Star Micronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Star Micronics Co Ltd filed Critical Star Micronics Co Ltd
Priority to JP15858298A priority Critical patent/JP3191923B2/en
Publication of JPH10340171A publication Critical patent/JPH10340171A/en
Application granted granted Critical
Publication of JP3191923B2 publication Critical patent/JP3191923B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a printer inspection method capable of executing necessary inspection by setting a protocol between with a host computer without operating a dip switch. SOLUTION: The inspection method of a printer 2 with an interface 44 in which the protocol of data transmission/reception by a dip switch 47 is set temporarily invalidates the setting of the switch 47 to set a prescribed protocol in the printer 2 by a switch 48 installed separately from the switch 47 and inspects the printer 2 by a host computer 8 with which the protocol is set.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、データの授受のため
にディップスイッチを以てプロトコルを設定するプリン
タ等のプリンタ装置の検査方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for inspecting a printer device such as a printer which sets a protocol using a dip switch for exchanging data.

【0002】[0002]

【従来の技術】従来、プリンタは、接続されるコンピュ
ータに応じてデータ授受のためのプロトコルを設定する
必要がある。このプロトコル設定は、ディップスイッチ
によって行われ、そのため、プリンタやコンピュータに
は複数のスイッチからなるディップスイッチが設けられ
ている。プリンタに設置されているディップスイッチ
は、例えば、データ転送レートを設定するスイッチ、D
TRモード又はX−ON/X−OFFモードを切換える
スイッチ、8データビットと7データビットとを切換え
るスイッチ、ノーパリティチェックと垂直パリティチェ
ックを切換えるスイッチ、奇数パリティと偶数パリティ
とを切換えるスイッチ等の8組のスイッチを以て構成さ
れる。
2. Description of the Related Art Conventionally, it is necessary for a printer to set a protocol for data transfer according to a connected computer. This protocol setting is performed by a dip switch. Therefore, a printer or a computer is provided with a dip switch including a plurality of switches. Dip switches installed in the printer include, for example, a switch for setting a data transfer rate, D
8 switches such as a switch for switching between TR mode and X-ON / X-OFF mode, a switch for switching between 8 data bits and 7 data bits, a switch for switching between no parity check and vertical parity check, and a switch for switching between odd parity and even parity. It consists of a set of switches.

【0003】プリンタや端末装置の診断に関する先行技
術としては、特開平3−125231「診断プログラム
制御装置」や特開平3−121878「プリンタシステ
ム」などがある。特開平3−125231には、端末装
置のモード設定スイッチを診断モードに設定し、動作確
認用スイッチがオンのときのみ診断モードに移行する診
断プログラム制御装置が開示されている。この場合、端
末装置を通常動作状態に復帰させるためには、モード設
定スイッチを動作モードに戻す操作が必要となる。ま
た、特開平3−121878には、プリンタコントロー
ラとプリンタメカニズムからなるプリンタシステムとホ
ストシステムに関して、ホストシステムとプリンタシス
テムを接続して診断プログラムを実行するオンライン診
断と、プリンタメカニズムのみで動作するオフライン診
断とが開示されている。しかし、ホストシステムとプリ
ンタシステム間のプロトコルが誤って設定されている場
合には、オンライン診断は不可能である。一方、オフラ
イン診断ではプリンタメカニズム単体の動作確認しかで
きず、データ授受が正しく行えるかどうかは検査できな
い。
As prior art relating to diagnosis of printers and terminal devices, there are JP-A-3-125231 "diagnosis program control device" and JP-A-3-121878 "printer system". Japanese Patent Laying-Open No. 3-125231 discloses a diagnostic program control device that sets a mode setting switch of a terminal device to a diagnostic mode and shifts to a diagnostic mode only when an operation check switch is on. In this case, in order to return the terminal device to the normal operation state, an operation of returning the mode setting switch to the operation mode is required. Japanese Patent Application Laid-Open No. HEI 3-121878 discloses an online diagnosis for executing a diagnosis program by connecting a host system and a printer system and an offline diagnosis for operating only with a printer mechanism, with respect to a printer system and a host system comprising a printer controller and a printer mechanism. Is disclosed. However, if the protocol between the host system and the printer system is incorrectly set, online diagnosis is impossible. On the other hand, in the offline diagnosis, only the operation of the printer mechanism alone can be checked, and it cannot be checked whether data transfer can be performed correctly.

【0004】例えば、プリンタに動作不良等が生じた場
合、そのプリンタは修理のため、ディップスイッチを設
定した状態でメーカーやメンテナンス業者に持ち込まれ
る。このようなプリンタの動作解析等の検査を行う場
合、検査すべきプリンタとホストコンピュータとを接続
し、ホストコンピュータとの間で新たにプロトコルを設
定することが必要となる。このプロトコルの設定は、デ
ィップスイッチによって行う必要があり、需要者が設定
しているプロトコルを変更することになる。
[0004] For example, when a malfunction occurs in a printer, the printer is taken to a maker or a maintenance company with a DIP switch set for repair. In the case of performing inspection such as operation analysis of the printer, it is necessary to connect the printer to be inspected to a host computer and to newly set a protocol with the host computer. This protocol must be set by a dip switch, and the protocol set by the consumer is changed.

【0005】そして、プリンタの検査は、例えば、図4
に示す検査プログラムによって実行される。即ち、ステ
ップS41では検査プリンタのディップスイッチを確認
する。次に、ステップS42では検査プリンタのディッ
プスイッチがホストコンピュータのインターフェイス
(I/F)プロトコルと同じか否かを確認する。ステッ
プS42において、ディップスイッチがホストコンピュ
ータのI/Fプロトコルと違うと判断された場合にはス
テップS43に移行し、ディップスイッチがホストコン
ピュータのI/Fプロトコルと同じであると判断された
場合にはステップS44に移行する。ステップS43で
は、検査プリンタのディップスイッチをホストコンピュ
ータのI/Fプロトコル設定に合わせる。この場合、デ
ィップスイッチの全てのスイッチをオン状態に設定し、
ステップS44に移行する。ステップS44では、ホス
トコンピュータと検査プリンタとをI/Fケーブルを以
て接続し、それぞれの電源をオン状態にした後、ステッ
プS45に移行する。ステップS45ではプリンタの検
査を行い、プリンタの動作を確認する。次に、ステップ
S46では、検査プリンタ及びホストコンピュータの各
電源をオフ状態にし、I/Fケースを取りはずし、ステ
ップS47に移行する。ステップS47では、検査プリ
ンタが良品か否かを判断し、不良品の場合にはステップ
S48に移行し、良品の場合にはステップS50に移行
する。ステップS48では、検査の眼目である不良解析
を行い、不良箇所を抽出し、ステップS49で不良箇所
の補修等の必要な処置を施した後、ステップS44に再
び戻る。そして、ステップS44〜S47を経て、ステ
ップS47で良品と判断された場合には、ステップS5
0に移行する。そして、ステップS50では検査プリン
タのディップスイッチを検査前の設定に戻して検査を終
了する。
[0005] Inspection of the printer is performed, for example, by referring to FIG.
Is executed by the inspection program shown in FIG. That is, in step S41, the DIP switch of the inspection printer is checked. Next, in step S42, it is confirmed whether or not the dip switch of the inspection printer is the same as the interface (I / F) protocol of the host computer. If it is determined in step S42 that the DIP switch is different from the I / F protocol of the host computer, the process proceeds to step S43, and if it is determined that the DIP switch is the same as the I / F protocol of the host computer, Move to step S44. In step S43, the DIP switch of the inspection printer is set to the I / F protocol setting of the host computer. In this case, set all the DIP switches to the ON state,
Move to step S44. In step S44, the host computer and the inspection printer are connected via an I / F cable, and the respective power supplies are turned on. Then, the process proceeds to step S45. In step S45, the printer is inspected to confirm the operation of the printer. Next, in step S46, each power supply of the inspection printer and the host computer is turned off, the I / F case is removed, and the process proceeds to step S47. In step S47, it is determined whether or not the inspection printer is non-defective. If the inspection printer is defective, the process proceeds to step S48. In step S48, a failure analysis, which is the eye of the inspection, is performed to extract a defective portion. In step S49, necessary measures such as repair of the defective portion are performed, and the process returns to step S44. Then, if it is determined through step S44 to S47 that it is non-defective in step S47, step S5
Move to 0. In step S50, the dip switch of the inspection printer is returned to the setting before the inspection, and the inspection is completed.

【0006】[0006]

【発明が解決しようとする課題】ところで、プロトコル
は接続されるコンピュータに応じて変更されるものであ
り、検査時のプロトコルと需要者が設定したプロトコル
とは通常異なっている。そのため、需要者が設定してい
るプロトコルを変更した場合には、検査の後、そのプロ
トコルに戻しておく必要があるが、ディップスイッチは
微細な複数のスイッチを以て構成されているから、その
設定ないし変更は非常に厄介である。検査の場合、プロ
トコルの設定はディップスイッチの全部をオン状態に移
行するので、その操作自体はそれ程厄介なことではない
が、検査後の復帰作業は寧ろ厄介である。検査者は、設
定されているプロトコルを検査前に記録し、検査後、そ
の記録に基づいてディップスイッチを操作する等の作業
を行っており、このような作業は非常に面倒であって、
ディップスイッチの復帰に過誤を生じさせたり、ディッ
プスイッチの復帰作業そのものを忘れたりするおそれが
ある。
Incidentally, the protocol is changed depending on the computer to be connected, and the protocol at the time of inspection and the protocol set by the customer are usually different. Therefore, when the protocol set by the customer is changed, it is necessary to return to the protocol after the inspection, but since the DIP switch is configured with a plurality of fine switches, the setting or The change is very cumbersome. In the case of inspection, since the setting of the protocol shifts all of the dip switches to the ON state, the operation itself is not so troublesome, but the return operation after the inspection is rather troublesome. The inspector records the set protocol before the inspection, and after the inspection, performs operations such as operating a dip switch based on the record, and such an operation is very troublesome,
There is a risk of causing an error in the return of the DIP switch or forgetting the return operation of the DIP switch itself.

【0007】また、動作異常とされたプリンタについ
て、検査を行ったところ、プリンタには何等異常はな
く、需要者側のコンピュータの動作不良やディップスイ
ッチの設定ミスの場合もある。ディップスイッチ設定ミ
スのためにプロトコルが正しく設定されないと、ホスト
コンピュータとのデータ授受を正しく行うことができな
い。このような場合、ディップスイッチの設定変更は、
需要者との間のトラブルにつながることにもなる。
[0007] Further, when an inspection is performed on a printer that is determined to be abnormal, no abnormality is found in the printer, and there is a case in which a computer on the customer side malfunctions or a dip switch is set incorrectly. If the protocol is not set correctly due to a dip switch setting error, data transfer with the host computer cannot be performed correctly. In such a case, changing the setting of the DIP switch
It also leads to troubles with consumers.

【0008】そこで、この発明は、ディップスイッチに
よるプロトコル設定を一時的に無効にして、ホストコン
ピュータとの間で所定のプロトコルを設定して必要な検
査を行うことができるプリンタ装置の検査方法を提供す
ることを目的とする。
Accordingly, the present invention provides a printer device inspection method in which a protocol setting by a DIP switch is temporarily invalidated and a required inspection is performed by setting a predetermined protocol with a host computer. The purpose is to do.

【0009】[0009]

【課題を解決するための手段】この発明のプリンタ装置
の検査方法は、ディップスイッチ(47)によってデー
タ授受のプロトコルが設定されるインターフェイス(4
4)を備えたプリンタ装置の検査方法であって、 前記
ディップスイッチとは別個にプリンタ装置に設置された
スイッチ(48)を以て、前記ディップスイッチによる
プロトコル設定を一時的に無効にして前記プリンタ装置
に所定のプロトコルを設定し、そのプロトコルが設定さ
れたホストコンピュータとのデータ授受を可能にするこ
とにより前記プリンタ装置の検査を行うことを特徴とす
る。この検査方法によれば、プロトコルが誤設定された
プリンタ装置においても、ホストコンピュータとのデー
タ授受が可能となり、確実に検査を実行することができ
る。また、その場合、プリンタ装置の電源投入時のスイ
ッチ操作により検査モードに移行することが考えられ
る。このようにすれば、プロトコル設定用のディップス
イッチを操作することなく、検査モードに移ることがで
きる。さらに、この発明のプリンタ装置の検査方法は、
プリンタ装置の電源再投入によりディップスイッチによ
るプロトコル設定が再び有効になることを特徴とする。
本発明によれば、何ら復帰のための特別の操作をするこ
となく、検査実行前の設定状態に戻ることができる。そ
して、検査モードに移行後、まず自己印字により印字制
御系の診断を行い、次にデータ受信制御系の診断を行う
ことにより、確実な検査処理を実行可能とするものであ
る。
According to the inspection method of a printer device of the present invention, an interface (4) in which a data transfer protocol is set by a dip switch (47).
4) A method of inspecting a printer device comprising: 4) temporarily disabling a protocol setting by the dip switch by using a switch (48) installed on the printer device separately from the dip switch; A printer is inspected by setting a predetermined protocol and enabling data transmission / reception with a host computer in which the protocol is set. According to this inspection method, data can be exchanged with the host computer even in a printer device in which the protocol is incorrectly set, and the inspection can be executed reliably. In this case, it is conceivable that the mode is switched to the inspection mode by operating the switch when the power of the printer is turned on. By doing so, it is possible to shift to the inspection mode without operating the DIP switch for setting the protocol. Further, the inspection method of the printer device according to the present invention includes:
When the power of the printer is turned on again, the protocol setting by the DIP switch becomes valid again.
According to the present invention, it is possible to return to the setting state before the execution of the inspection without performing any special operation for return. After shifting to the inspection mode, the print control system is first diagnosed by self-printing, and then the data reception control system is diagnosed, so that a reliable inspection process can be executed.

【0010】[0010]

【作用】プロトコルを設定すべきプリンタ装置と検査に
必要なホストコンピュータとを接続した後、ディップス
イッチとは別個にプリンタ装置に設置されたスイッチを
以て、前記ディップスイッチによるプロトコル設定を一
時的に無効にして前記プリンタ装置に所定のプロトコル
を設定し、そのプロトコルが設定されたホストコンピュ
ータからデータを受信することによって検査プログラム
が実行され、プリンタ装置の動作確認、不良解析等の検
査が行われる。
After connecting a printer device to which a protocol is to be set and a host computer required for inspection, a switch installed in the printer device separately from the dip switch temporarily disables the protocol setting by the dip switch. A predetermined protocol is set in the printer device, and an inspection program is executed by receiving data from a host computer in which the protocol is set, and an inspection such as an operation check of the printer device and a failure analysis is performed.

【0011】[0011]

【実施例】図1は、この発明のプリンタ装置の検査方法
の一実施例を示したものである。プリンタ2には印字制
御、用紙送り制御等、印字に必要な各種の制御を行うプ
リンタ制御部4が設置され、このプリンタ制御部4には
その出力データによって印字及び用紙送り等を行うプリ
ンタ機構部6が接続されている。
FIG. 1 shows an embodiment of an inspection method for a printer according to the present invention. The printer 2 is provided with a printer control unit 4 for performing various controls required for printing, such as print control and paper feed control. The printer control unit 4 includes a printer mechanism unit 6 for performing printing and paper feed based on output data. It is connected.

【0012】プリンタ制御部4には、印字情報を受け入
れて印字処理のための演算等、データ処理を実行する中
央処理装置(CPU)41が設置されているとともに、
そのデータ処理のための記憶手段として読出し専用メモ
リ(ROM)42及び随時書込みメモリ(RAM)43
が設置されている。ROM42には、印字制御プログラ
ム等の各種の制御プログラムやその他の固定データが書
き込まれており、RAM43にはCPU41による演算
途上の各種データが随時書き込まれる。
A central processing unit (CPU) 41 that receives print information and performs data processing such as calculation for print processing is installed in the printer control unit 4.
Read only memory (ROM) 42 and write-once memory (RAM) 43 as storage means for the data processing
Is installed. Various control programs such as a print control program and other fixed data are written in the ROM 42, and various data being calculated by the CPU 41 are written in the RAM 43 as needed.

【0013】また、プリンタ制御部4には、外部のデー
タ処理装置、この実施例の場合、検査を行うためのホス
トコンピュータ8との連係を図るためのインターフェイ
ス(I/F)44が設置され、プリンタ機構部6との印
字出力等の授受を行うため、ドライバ45及びレシーバ
46が設置されている。ホストコンピュータ8は、工場
出荷時等にプリンタ2の検査のために用いられるコンピ
ュータである。
The printer controller 4 is provided with an interface (I / F) 44 for linking with an external data processing device, in this embodiment, a host computer 8 for performing inspection. A driver 45 and a receiver 46 are provided for transmitting and receiving print output and the like to and from the printer mechanism 6. The host computer 8 is a computer used for inspecting the printer 2 at the time of factory shipment or the like.

【0014】そして、プリンタ制御部4には、必要なプ
ロトコルを設定するためのディップスイッチ47が設置
されているとともに、このディップスイッチ47とは別
個にプロトコルを設定可能な検査用スイッチとしてのス
イッチ48が設置され、このスイッチ48にはラインフ
ィードスイッチ481及びオンラインスイッチ482が
設けられている。
The printer controller 4 is provided with a dip switch 47 for setting a required protocol, and a switch 48 as an inspection switch capable of setting a protocol separately from the dip switch 47. The switch 48 is provided with a line feed switch 481 and an online switch 482.

【0015】以上の構成に基づき、動作を図2及び図3
に示すフローチャートを参照して説明する。図2は、プ
リンタ2の制御プログラムを示す。ステップS1でプリ
ンタ2の電源を投入し、ステップS2に移行する。ステ
ップS2では、LFスイッチ481が押されているか否
かを判断し、LFスイッチ481が押されている場合に
は、ステップS3に移行する。ステップS3では自己印
字を行い、ステップS4に移行する。ステップS4では
オンラインスイッチ482が押されているか否かを判断
し、オンラインスイッチ482が押されている場合に
は、ステップS5に移行する。ステップS5では、イン
ターフェイス設定を全てオン状態に設定し、検査の準備
を終えて、ステップS8に移行する。
Based on the above configuration, the operation is shown in FIGS.
This will be described with reference to the flowchart shown in FIG. FIG. 2 shows a control program of the printer 2. In step S1, the power of the printer 2 is turned on, and the process proceeds to step S2. In step S2, it is determined whether or not the LF switch 481 has been pressed. If the LF switch 481 has been pressed, the process proceeds to step S3. In step S3, self-printing is performed, and the process proceeds to step S4. In step S4, it is determined whether or not the online switch 482 has been pressed. If the online switch 482 has been pressed, the process proceeds to step S5. In step S5, all the interface settings are set to the ON state, and preparation for the inspection is completed, and the process proceeds to step S8.

【0016】そして、ステップS2でLFスイッチ48
1、又は、ステップS4でオンラインスイッチ482が
押されていないと判断された場合には、ステップS6に
移行する。ステップS6ではディップスイッチの読込み
を行った後、ステップS7に移行してインターフェイス
設定をディップスイッチ47に従って設定した後、ステ
ップS8に移行する。
Then, in step S2, the LF switch 48
If it is determined in step S4 that the online switch 482 has not been pressed, the process proceeds to step S6. In step S6, after reading the dip switch, the process proceeds to step S7 to set the interface settings according to the dip switch 47, and then proceeds to step S8.

【0017】そして、ステップS8ではホストコンピュ
ータ8からのデータを受け、所定のデータ処理、即ち、
プリンタ2の検査等の処理が行われる。
In step S8, data from the host computer 8 is received, and predetermined data processing, that is,
Processing such as inspection of the printer 2 is performed.

【0018】このようなプログラム処理によれば、ディ
ップスイッチ47の設定を変更することなく、ホストコ
ンピュータ8との連係に必要なプロトコルがプリンタ2
のインターフェイス44に設定され、プリンタ2に対す
る必要な検査を行うことができ、その検査後、ディップ
スイッチ47を戻す操作を全く必要としない。
According to such a program processing, the protocol necessary for cooperation with the host computer 8 can be changed without changing the setting of the dip switch 47.
Required for the printer 2, and the operation of returning the DIP switch 47 after the inspection is not required at all.

【0019】次に、図3は、検査プログラムを示す。即
ち、ステップS11では、ホストコンピュータ8と検査
すべきプリンタ2とをI/Fケーブルで接続し、各電源
をオン状態にし、ステップS12に移行する。ステップ
S12では、検査すべきプリンタ2の電源をLFスイッ
チ481を押しながら投入し、また自己印字終了時には
オンラインスイッチ482を押し、I/F設定をホスト
コンピュータ8に合わせる。このとき、プリンタ2のイ
ンターフェイス44には、ホストコンピュータ8に対応
したプロトコルが設定される。
FIG. 3 shows an inspection program. That is, in step S11, the host computer 8 and the printer 2 to be inspected are connected by an I / F cable, each power is turned on, and the process proceeds to step S12. In step S12, the power of the printer 2 to be inspected is turned on while pressing the LF switch 481, and the on-line switch 482 is pressed at the end of the self-printing to adjust the I / F to the host computer 8. At this time, a protocol corresponding to the host computer 8 is set in the interface 44 of the printer 2.

【0020】そして、ステップS13では検査、即ち、
動作の確認が行われた後、ステップS14に移行し、ス
テップS14ではプリンタ2及びホストコンピュータの
各電源をオフ状態にし、両者間のI/Fケーブルを取り
はずす。次に、ステップS15ではプリンタ2が良品か
否かを判断し、良品でない場合には、ステップS16に
移行して不良解析を行って不良箇所の抽出を行った後、
ステップS17に移行して不良箇所の修復や部品交換等
の必要な処理を行って再びステップS11に移行する。
そして、ステップS11〜S15を経て、ステップS1
5で良品と判断された場合には、検査を終了する。この
後再びプリンタの電源が投入されると、図2のS6〜S
8に示すようにディップスイッチの読み込みを行い、イ
ンターフェイス設定、すなわちプロトコルをディップス
イッチに従って設定し、ホストコンピュータ8からのデ
ータを受信して処理が行われる。
Then, in step S13, the inspection, that is,
After the operation is confirmed, the process proceeds to step S14, in which the power of the printer 2 and the host computer is turned off, and the I / F cable between them is disconnected. Next, in step S15, it is determined whether or not the printer 2 is a non-defective product. If not, the process proceeds to step S16, where a failure analysis is performed to extract a defective portion.
The process shifts to step S17 to perform necessary processing such as repair of a defective portion and replacement of parts, and shifts to step S11 again.
Then, after steps S11 to S15, step S1
If it is determined to be non-defective in 5, the inspection is terminated. Thereafter, when the power of the printer is turned on again, S6 to S in FIG.
As shown in FIG. 8, the DIP switch is read, the interface setting, that is, the protocol is set according to the DIP switch, and the data is received from the host computer 8 to perform the processing.

【0021】このように、ディップスイッチ47を何等
操作することなく、インターフェイス44に対してプロ
トコルを設定して検査プログラムを実行することがで
き、検査の終了の後も、プリンタの電源を再投入するだ
けで検査前のプロトコルに戻るため、従来のようなディ
ップスイッチの復帰操作をする必要がなく、ディップス
イッチ47の設定ミスを未然に防止できる。
As described above, the protocol can be set for the interface 44 and the inspection program can be executed without operating the DIP switch 47, and the printer is turned on again after the inspection is completed. Since the protocol returns to the protocol before the inspection alone, there is no need to perform the return operation of the DIP switch as in the related art, and the setting mistake of the DIP switch 47 can be prevented.

【0022】[0022]

【発明の効果】以上説明したように、この発明によれ
ば、プリンタ側のプロトコル誤設定によりホストコンピ
ュータとのデータ授受が不能な状態であっても、ディッ
プスイッチによるプロトコル設定を一時的に無効にし、
プリンタを所定の検査用プロトコルに設定することが可
能となり、確実にホストコンピュータとのデータの授受
を行って、動作確認や不良解析などの検査を行うことが
できる。また、検査終了後、プリンタの電源を再投入す
るだけでディップスイッチによるプロトコル設定が再び
有効になり、検査前のプロトコルに復帰するので、従来
のようにディップスイッチの誤復帰や復帰忘れなどのミ
スを未然に防止できるとともに、検査効率を高めること
ができる。
As described above, according to the present invention, the protocol setting by the DIP switch is temporarily invalidated even when data cannot be exchanged with the host computer due to a protocol setting error on the printer side. ,
The printer can be set to a predetermined inspection protocol, and data can be reliably transmitted and received to and from the host computer, and inspections such as operation confirmation and failure analysis can be performed. Also, after the inspection is completed, simply turning the printer power on again enables the protocol setting by the DIP switch again, and returns to the protocol before the inspection. Can be prevented beforehand, and the inspection efficiency can be improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】この発明のプリンタ装置の検査方法の一実施例
を示すブロック図である。
FIG. 1 is a block diagram showing one embodiment of an inspection method for a printer device of the present invention.

【図2】この発明のプリンタ装置のプログラムを示すフ
ローチャートである。
FIG. 2 is a flowchart showing a program of the printer device of the present invention.

【図3】この発明のプリンタ装置の検査方法のプログラ
ムを示すフローチャートである。
FIG. 3 is a flowchart showing a program of a printer device inspection method according to the present invention.

【図4】プリンタにおける従来の検査プログラムを示す
フローチャートである。
FIG. 4 is a flowchart showing a conventional inspection program in a printer.

【符号の説明】[Explanation of symbols]

2 プリンタ 4 プリンタ制御部 8 ホストコンピュータ 41 CPU(制御手段) 42 ROM 44 インターフェイス 47 ディップスイッチ 48 スイッチ 2 Printer 4 Printer Control Unit 8 Host Computer 41 CPU (Control Means) 42 ROM 44 Interface 47 DIP Switch 48 Switch

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ディップスイッチによってデータ授受の
プロトコルが設定されるインターフェイスを備えたプリ
ンタ装置の検査方法であって、 前記ディップスイッチとは別個にプリンタ装置に設置さ
れたスイッチを以て、前記ディップスイッチによるプロ
トコル設定を一時的に無効にして前記プリンタ装置に所
定のプロトコルを設定し、そのプロトコルが設定された
ホストコンピュータとのデータ授受を可能にすることに
より前記プリンタ装置の検査を行うことを特徴とするプ
リンタ装置の検査方法。
1. A method of inspecting a printer device provided with an interface in which a data transfer protocol is set by a DIP switch, wherein a switch installed in the printer device separately from the DIP switch is used. A printer for temporarily inspecting the printer device by temporarily disabling the setting, setting a predetermined protocol in the printer device, and enabling data exchange with a host computer in which the protocol is set. Equipment inspection method.
【請求項2】 プリンタ装置の電源投入時のスイッチ操
作により検査モードに移行することを特徴とする請求項
1記載のプリンタ装置の検査方法。
2. The inspection method for a printer device according to claim 1, wherein the mode is shifted to an inspection mode by a switch operation when the power of the printer device is turned on.
【請求項3】 プリンタ装置の電源再投入によりディッ
プスイッチによるプロトコル設定が再び有効になること
を特徴とする請求項2記載のプリンタ装置の検査方法。
3. The inspection method for a printer device according to claim 2, wherein the protocol setting by the DIP switch becomes valid again when the power of the printer device is turned on again.
【請求項4】 検査モードに移行後、まず自己印字によ
り印字制御系の診断を行い、次にデータ受信制御系の診
断を行うことを特徴とする請求項2または3記載のプリ
ンタ装置の検査方法。
4. The method according to claim 2, further comprising, after shifting to the inspection mode, diagnosing a print control system by self-printing and then diagnosing a data reception control system. .
JP15858298A 1998-05-22 1998-05-22 Inspection method for printer Expired - Fee Related JP3191923B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15858298A JP3191923B2 (en) 1998-05-22 1998-05-22 Inspection method for printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15858298A JP3191923B2 (en) 1998-05-22 1998-05-22 Inspection method for printer

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP03240405A Division JP3112517B2 (en) 1991-08-26 1991-08-26 Inspection system for data processing equipment

Publications (2)

Publication Number Publication Date
JPH10340171A true JPH10340171A (en) 1998-12-22
JP3191923B2 JP3191923B2 (en) 2001-07-23

Family

ID=15674848

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15858298A Expired - Fee Related JP3191923B2 (en) 1998-05-22 1998-05-22 Inspection method for printer

Country Status (1)

Country Link
JP (1) JP3191923B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005144779A (en) * 2003-11-13 2005-06-09 Oki Data Corp Image forming apparatus
WO2018168950A1 (en) 2017-03-17 2018-09-20 ヤマハ株式会社 Data processing unit and information processing device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005144779A (en) * 2003-11-13 2005-06-09 Oki Data Corp Image forming apparatus
WO2018168950A1 (en) 2017-03-17 2018-09-20 ヤマハ株式会社 Data processing unit and information processing device
CN110393014A (en) * 2017-03-17 2019-10-29 雅马哈株式会社 Data processing unit and information processing unit
US11095379B2 (en) 2017-03-17 2021-08-17 Yamaha Corporation Data processing unit and information processing device
CN110393014B (en) * 2017-03-17 2022-03-08 雅马哈株式会社 Data processing unit and information processing apparatus

Also Published As

Publication number Publication date
JP3191923B2 (en) 2001-07-23

Similar Documents

Publication Publication Date Title
WO1996037864A1 (en) System and method for managing time for vehicle fault diagnostic apparatus
GB2408183A (en) Severing connection between a bus and an I/O or field device upon detection of a potential device fault
JPS63277982A (en) Trouble specifying method and normal-operation maintaining method of detachable type electronic type subassembly and circuit assembly
US7073088B2 (en) Data bus arrangement and control method for efficiently compensating for faulty signal lines
JP3191923B2 (en) Inspection method for printer
AU651800B2 (en) Monitoring device for control system
JP2007293678A (en) Apparatus for diagnosing common bus connection
JP3112517B2 (en) Inspection system for data processing equipment
JPS62214254A (en) Engine controlling device
WO2015092915A1 (en) Line switching device, line switching system, and line switching method
CN114545886A (en) Vehicle controller refreshing test bench and refreshing test method
JP2002286781A (en) Wiring abnormality detection method of device and wiring abnormality detection device of device
JP5261874B2 (en) Electronic circuit and connection diagnostic circuit
JPH10124141A (en) Device for analyzing fault of controller
JPH08115237A (en) Printer diagnostic system
JP2006335150A (en) On-vehicle electronic control system, failure diagnosing method thereof, and on-vehicle electronic control device
JPH04318722A (en) Test system for data link for maintenance test
JP5995039B2 (en) Duplex control device abnormality monitoring system and abnormality monitoring method thereof
CN115878441A (en) High-availability computing service method, system and equipment based on consistency cache
JPH1023234A (en) Facsimile server
JP3155919B2 (en) Information processing apparatus inspection system, inspection method, and inspection apparatus
JP2002011927A (en) Imaging apparatus and optional unit and method for detecting abnormality of wiring
JPH0993308A (en) Fault diagnostic system for communication channel in ordering management system
JP2003158559A (en) Self-diagnosis apparatus
JPH1146388A (en) Interface test system for transmission system

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees