JPH06332643A - Device and method for controlling printer - Google Patents

Device and method for controlling printer

Info

Publication number
JPH06332643A
JPH06332643A JP5116101A JP11610193A JPH06332643A JP H06332643 A JPH06332643 A JP H06332643A JP 5116101 A JP5116101 A JP 5116101A JP 11610193 A JP11610193 A JP 11610193A JP H06332643 A JPH06332643 A JP H06332643A
Authority
JP
Japan
Prior art keywords
error
command
unit
printer
error processing
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.)
Pending
Application number
JP5116101A
Other languages
Japanese (ja)
Inventor
Hiroko Kawasaki
浩子 川崎
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP5116101A priority Critical patent/JPH06332643A/en
Publication of JPH06332643A publication Critical patent/JPH06332643A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently operate the printer device by executing a command having no relation to a printing actuation system, even when an error is generated in the printing actuation system. CONSTITUTION:The device is provided with an error detecting part 20 for detecting an error generated in a printing actuation system, an error processing part 10 for executing a display instruction of an error message and a transfer stop instruction to the printer device concerned to a host device, in the case where the error is detected, and a state display part 30 for displaying the error message by an instruction of the error processing part 10, and with regard to the printer controller and the printer control method for executing the control of printing in accordance with a command received from the host device, this device is constituted so as to provide a printing actuation system command deciding part 50 for deciding whether the command received from the host device is the command of the printing actuation system or not, and a specific error processing inhibiting part 40 for inhibiting a notice to the host device in an error processing with respect to the error processing part 10, and releasing the inhibition concerned, in the case where it is decided that the command received from the host device is the command of the printing actuation system.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、印字起動系に生じたエ
ラーの検出を行うエラー検出部と、エラーが検出された
場合にエラーメッセージの表示の指示及び上位装置に対
するプリンタ装置への転送停止の指示を行うエラー処理
部と、エラー処理部の指示によりエラーメッセージを表
示する状態表示部とを有し、上位装置から受信したコマ
ンドに従って印字の制御を行うプリンタ制御装置及びプ
リンタ制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error detection unit for detecting an error occurring in a print start system, an instruction to display an error message when an error is detected, and a stop of transfer to a printer device for a host device. The present invention relates to a printer control device and a printer control method that include an error processing unit that gives an instruction for the above, and a status display unit that displays an error message according to an instruction from the error processing unit, and that controls printing according to a command received from a host device.

【0002】[0002]

【従来の技術】従来、図15に示すプリンタ制御装置が
あった。当該プリンタ制御装置にあっては、同図に示す
ように、プリンタ制御装置に種々のコマンドやデータの
転送を行う上位装置であるホスト装置97と、ホスト装
置97とLPC91との間でデータのコード変換を行う
アダプタ94と、プリンタ装置に関し種々の制御を行う
LPC91と、印字起動系の機構の制御を行うメカコン
トロール部92と、使用者による操作指示や使用者への
表示を行うオペレータパネル93とを有する。
2. Description of the Related Art Conventionally, there has been a printer controller shown in FIG. In the printer control device, as shown in the figure, a host device 97, which is a higher-level device for transferring various commands and data to the printer control device, and a data code between the host device 97 and the LPC 91. An adapter 94 that performs conversion, an LPC 91 that performs various controls related to the printer device, a mechanical control unit 92 that controls the mechanism of the print start system, and an operator panel 93 that performs operation instructions by the user and displays to the user. Have.

【0003】前記メカコントロール部92には、印字起
動系に発生したエラーの検出を行うエラー検出部2を有
し、前記オペレータパネル93には、エラーメッセージ
等のプリンタ装置の状態を表示することができる状態表
示部3を有する。
The mechanical control unit 92 has an error detection unit 2 for detecting an error that has occurred in the print starting system, and the operator panel 93 can display the status of the printer device such as an error message. It has a possible status display section 3.

【0004】前記LPC91には、同図に示すように、
アダプタ94に通知するためのステータスを書き込むス
テータステーブル18と、前記エラー検出部2によりエ
ラーが検出された場合には、前記状態表示部3にエラー
メッセージの表示の指示を行うとともに、エラーが発生
した旨及びそのエラーの種類を前記ステータステーブル
へ書き込むエラー処理部1と、エラーが発生しない場合
には、前記ホスト装置97から、前記アダプタ94を介
してのコマンドに基づいてコマンドの解読を行い、ま
た、プリンタ装置の種々の状態を前記ステータステーブ
ル18に書き込む通常処理部19とを有する。
In the LPC 91, as shown in FIG.
When the error detection unit 2 detects an error, the status table 18 for writing a status for notifying the adapter 94 is instructed to display an error message on the status display unit 3 and an error occurs. The error processing unit 1 for writing the effect and the type of the error to the status table, and when no error occurs, the host device 97 decodes the command based on the command via the adapter 94, and A normal processing unit 19 for writing various states of the printer device into the status table 18.

【0005】従来例にあっては、前記メカコントロール
部2に発生した印字起動系のエラーが前記エラー検出部
2により検出されると、前記エラー処理部1は前記状態
表示部3にエラーメッセージの表示を指示し、かつ、前
記ステータステーブル18にエラー発生の旨及びそのエ
ラーが印字起動系に生じた旨の書込みを行う。前記アダ
プタ94はステータステーブル18の書換えの通知を受
けると、当該ステータステーブル18を読み出し、エラ
ーが発生したことを認識する。アダプタ94はエラーが
発生したことを知ると、アダプタ94は、ホスト装置9
7との間を“BUSY=ON ”状態にして、ホスト装置97か
らのコマンドやデータの転送を停止する。
In the conventional example, when an error in the print starting system that occurs in the mechanical control section 2 is detected by the error detection section 2, the error processing section 1 sends an error message to the status display section 3. The display is instructed, and the fact that an error has occurred and the fact that the error has occurred in the print start system are written in the status table 18. When the adapter 94 receives the rewriting notification of the status table 18, it reads the status table 18 and recognizes that an error has occurred. When the adapter 94 learns that an error has occurred, the adapter 94 sends the host device 9
7 is set to the “BUSY = ON” state, and the transfer of commands and data from the host device 97 is stopped.

【0006】[0006]

【発明が解決しようとする課題】さて、従来のプリンタ
制御装置にあっては、以上説明したように、印字起動系
にエラーが発生して前記エラー検出部2により検出さ
れ、前記エラー処理部1により、ステータステーブルに
エラーが発生した旨がアダプタ94に通知され、当該ア
ダプタ94は前記ホスト装置97との間のデータの転送
が停止される。そのため、ホスト装置97からのコマン
ドがたとえ印字起動系コマンド以外のコマンドであっ
て、その実行が可能であるにも拘わらず、その処理は停
止されることになり、処理効率が悪いという問題点を有
していた。
As described above, in the conventional printer control device, an error occurs in the print starting system and the error is detected by the error detecting section 2, and the error processing section 1 is detected. As a result, the fact that an error has occurred in the status table is notified to the adapter 94, and the adapter 94 stops data transfer with the host device 97. Therefore, even though the command from the host device 97 is a command other than the print start-up command and the command can be executed, the process is stopped, resulting in poor processing efficiency. Had.

【0007】そこで、本発明では、印字起動系のエラー
が発生しても、直ちに前記ホスト装置等の上位装置から
のコマンドの転送を停止することなく、印字起動系のコ
マンド以外のコマンドを実行することができるようにし
て、印刷処理を効率的に行うことのできるプリンタ制御
装置及びプリンタ制御方法を提供することを目的として
なされたものである。
Therefore, in the present invention, even if an error in the print start system occurs, commands other than the print start system command are executed without immediately stopping the transfer of the command from the host device or other host device. It is an object of the present invention to provide a printer control device and a printer control method capable of efficiently performing print processing.

【0008】[0008]

【課題を解決するための手段】以上の技術的課題を解決
するため、第一の発明は、図1に示すように、印字起動
系に生じたエラーの検出を行うエラー検出部20と、エ
ラーが検出された場合に、エラーメッセージの表示の指
示及び上位装置に対する当該プリンタ装置への転送停止
の指示を行うエラー処理部10と、エラー処理部10の
指示によりエラーメッセージを表示する状態表示部30
とを有し、上位装置から受信したコマンドに従って印字
の制御を行うプリンタ制御装置において、上位装置から
受信したコマンドが印字起動系のコマンドか否かを判定
する印字起動系コマンド判定部50と、エラー処理部1
0に対し、上位装置に対する前記転送停止の指示を抑止
し、上位装置から受信したコマンドが印字起動系のコマ
ンドであると判定された場合には当該抑止を解除する特
定エラー処理抑止部40とを設けたものである。
In order to solve the above technical problems, the first invention is, as shown in FIG. 1, an error detecting section 20 for detecting an error occurring in a print starting system, and an error detecting section 20. When an error is detected, an error processing unit 10 that gives an instruction to display an error message and gives an instruction to stop the transfer of the printer device to the higher-level device, and a status display unit 30 that displays an error message according to the instruction from the error processing unit 10
In the printer control device having the following, which controls printing according to the command received from the host device, a print start system command determination unit 50 that determines whether the command received from the host device is a print start system command, and an error Processing unit 1
0, a specific error processing suppression unit 40 that suppresses the transfer stop instruction to the higher-level device and cancels the restriction when the command received from the higher-level device is determined to be a command of the print activation system. It is provided.

【0009】一方、第二の発明は、図3に示すように、
印字起動系にエラーが発生すると(S1)、エラー処理
を開始し(S2)、エラーメッセージを表示画面に表示
し(S3)、受信したコマンドを解析し、当該コマンド
が印字起動系のコマンドであるか否かを判定し(S
4)、印字起動系コマンドであると判定した場合には、
上位装置に対し、プリンタ装置への転送を停止させ(S
5)、印字起動系コマンドでないと判定した場合には、
上位装置に対し、プリンタ装置への転送を停止させるこ
となく、受信したコマンドについての通常の処理を実行
する(S6)ことである。
On the other hand, in the second invention, as shown in FIG.
When an error occurs in the print start system (S1), error processing is started (S2), an error message is displayed on the display screen (S3), the received command is analyzed, and the command is the print start system command. Or not (S
4) If it is determined that the command is a print start type command,
Causes the host device to stop the transfer to the printer device (S
5) If it is determined that the command is not a print start command,
This is to execute a normal process for the received command to the host device without stopping the transfer to the printer device (S6).

【0010】ここで、前記「上位装置」とは、プリンタ
制御装置に対し、種々のコマンドやデータの転送を行う
装置であり、実施例に示す場合には、ホスト装置がこれ
に相当する。「印字起動系」には、例えば、印字ヘッド
系、ファン/フューズ系、RAM/タイマ系があり、さ
らに詳細には、印字ヘッド系は、例えば、コイル、ドラ
イバ等がある。「印字起動系コマンド」には、例えば、
改行(LF)、改頁(FF)、復帰(CR)、行単位ダイレクトスキ
ップ、イメージ転送、横 2倍イメージ転送、垂直相対ス
キップ、印字開始起動、及び無条件フォームフィード等
がある。「エラー処理部10の行う処理」には、前述し
たエラーメッセージの前記状態表示部30への表示指示
の他に、前記上位装置へのエラー発生の旨の通知を行
う。この通知は、例えば、実施例に示すように、ステー
タステーブルにプリンタ装置の状態を書き込むことによ
り行われる。詳しくは、図6のテーブルの“STATUS00”
の“PBUS7 ”または“PBUS6 ”に“1 ”を書き込み、さ
らには、そのエラーの具体的な箇所を示すために“STAT
US03”、“STATUS04”の該当箇所(PBUS)に“1 ”を書き
込む。
Here, the "upper device" is a device that transfers various commands and data to the printer control device, and in the embodiment, the host device corresponds to this. The "print start system" includes, for example, a print head system, a fan / fuse system, and a RAM / timer system. More specifically, the print head system includes, for example, a coil and a driver. In the "print start command", for example,
Line feed (LF), page break (FF), carriage return (CR), line-by-line direct skip, image transfer, horizontal double image transfer, vertical relative skip, print start activation, and unconditional form feed. In the "processing performed by the error processing unit 10", in addition to the above-mentioned display instruction of the error message to the status display unit 30, notification of the occurrence of an error to the upper level device is performed. This notification is performed, for example, by writing the status of the printer device in the status table as shown in the embodiment. For details, see "STATUS00" in the table in Fig. 6.
Write "1" to "PBUS7" or "PBUS6" of "," and "STAT" to indicate the specific point of the error.
Write "1" to the corresponding part (PBUS) of "US03" and "STATUS04".

【0011】前記特定エラー処理抑止部40は上位装置
に対する当該プリンタ装置への転送停止の指示を抑止す
るものである。尚、図2の実施態様には、前記エラー処
理部10に対し、エラー処理の禁止を指示するエラー処
理禁止部60を設けたものである。当該エラー処理禁止
部60は、上位装置から受信したコマンドが印字起動系
コマンドであると判定された場合にはエラー処理の禁止
を解除する。このエラー処理禁止部60の存在により、
印字起動系コマンドを受信するまではエラー表示すらさ
れないことになり、通常の動作が行われる。
The specific error processing inhibiting unit 40 inhibits the instruction to stop the transfer to the printer device to the upper device. In the embodiment of FIG. 2, the error processing unit 10 is provided with an error processing prohibition unit 60 for instructing prohibition of error processing. The error processing prohibition unit 60 cancels the prohibition of error processing when it is determined that the command received from the higher-level device is a print start-up command. Due to the existence of the error processing prohibition unit 60,
Until the print start command is received, no error is displayed and normal operation is performed.

【0012】[0012]

【作用】ステップS1で、前記印字起動系にエラーが発
生すると、前記エラー検出部20によりエラーが検出さ
れる。エラーが検出された旨は前記エラー処理部10に
通知される。ステップS2でエラー発生の通知を受ける
とエラー処理部10はエラー処理を開始する。ステップ
S3で、エラー発生の通知を受けたエラー処理部10は
前記状態表示部30にエラー発生の旨のエラーメッセー
ジを表示する。このエラーメッセージには、エラー発生
の場所等も表示しても良い。但し、当該エラー処理部1
0は、前記特定エラー処理抑止部40により、特定処
理、即ち、前記上位装置に対する転送停止指示について
は抑止されているため、上位装置からの受信の停止は直
ちには行われない。
In step S1, when an error occurs in the print starting system, the error detecting section 20 detects the error. The error processing unit 10 is notified that an error has been detected. Upon receiving the error notification in step S2, the error processing unit 10 starts error processing. In step S3, the error processing unit 10 that has received the error notification displays an error message indicating that an error has occurred on the status display unit 30. In this error message, the place where the error occurred may be displayed. However, the error processing unit 1
In the case of 0, the specific error processing inhibiting unit 40 inhibits specific processing, that is, a transfer stop instruction to the higher-level device, so that the reception from the higher-level device is not immediately stopped.

【0013】ステップS4で、前記印字起動系コマンド
判定部50は、前記上位装置から転送され受信したコマ
ンドが印字起動系コマンドであるか否かを判定する。上
位装置から転送され受信したコマンドが印字起動系コマ
ンドである場合には、ステップS5に進み、前記特定エ
ラー処理抑止部40に対し、抑止の解除を指示し、当該
特定エラー処理抑止部40により上位装置に対し転送停
止の指示の抑止を解除するので、前記エラー処理部10
は前記上位装置に対する転送停止の指示を行うことにな
る。
In step S4, the print activation system command determination unit 50 determines whether the command transferred and received from the host device is a print activation system command. If the command transferred and received from the higher-level device is a print start-up command, the process proceeds to step S5, the specific error processing inhibiting unit 40 is instructed to release the inhibition, and the specific error processing inhibiting unit 40 causes the higher order. Since the suppression of the transfer stop instruction to the device is released, the error processing unit 10
Will issue a transfer stop instruction to the host device.

【0014】一方、上位装置から転送され受信したコマ
ンドが印字起動系のコマンドでない場合には、ステップ
S6に進み、前記特定エラー処理抑止部40の抑止を解
除することなく、上位装置に対する転送停止の指示を行
わない。従って、上位装置からは正常の場合と同様にコ
マンドやデータが転送されて実行されることになる。こ
れは印字起動系以外の部位についてはエラーの影響によ
る不具合はないのであるから、そのコマンドの実行を制
限する必要はないからである。
On the other hand, if the command transferred and received from the higher-level device is not the command of the print start-up system, the process proceeds to step S6 and the transfer to the higher-level device is stopped without canceling the restriction of the specific error processing suppression unit 40. Do not give instructions. Therefore, the commands and data are transferred from the host device and executed as in the normal case. This is because it is not necessary to limit the execution of the command because there is no problem caused by the error in the parts other than the print start system.

【0015】[0015]

【実施例】図4に本実施例に係るプリンタ装置システム
全体の機器構成ブロック図を示す。同図に示すように、
本実施例に係るプリンタ装置は、プリンタ装置8に対し
種々のコマンドやデータの転送を行うホスト装置7と、
ホスト装置7からのデータを受信して印字を行うプリン
タ装置8とを有する。さらに、プリンタ装置8には、ホ
スト装置7から受信したデータを内部コードに変換し、
LPC11に送信するアダプタ14と、アダプタ14か
らの内部コードを解読するとともに、プリンタ装置の状
態をアダプタ14へ通知するLPC(Line Printe Contr
oller)と、使用者による操作指示やプリンタ装置の状態
の表示を行うオペレータ装置13と、プリンタ装置のメ
カ機構部の制御を行うメカコントロール部12と、当該
メカコントロール部12により制御を受ける印字ヘッド
部16と、紙送り機構17等のメカ機構部と、フロッピ
ィディスク装置の駆動を行うフロッピィディスクドライ
ブ装置15とを有するものである。
[Embodiment] FIG. 4 shows a block diagram of the entire printer apparatus system according to this embodiment. As shown in the figure,
The printer device according to the present embodiment includes a host device 7 that transfers various commands and data to the printer device 8,
The printer device 8 receives data from the host device 7 and prints. Further, the printer device 8 converts the data received from the host device 7 into an internal code,
An LPC (Line Print Contrr) that decodes the internal code from the adapter 14 and the adapter 14 that is transmitted to the LPC 11 and notifies the adapter 14 of the status of the printer device.
oller), an operator device 13 for displaying a user's operation instruction and a printer device status, a mechanical control unit 12 for controlling a mechanical mechanism unit of the printer device, and a print head controlled by the mechanical control unit 12. It has a unit 16, a mechanical mechanism unit such as a paper feed mechanism 17, and a floppy disk drive unit 15 for driving the floppy disk unit.

【0016】さらに、前記LPC11には、同図に示す
ように、種々の制御を行うMPU11aと、プログラム
格納用のROM11bと、イメージデータを格納するビ
ットマップメモリ(BMM)11cと、種々のデータを
格納するRAM11dとを有する。
Further, as shown in the figure, the LPC 11 has an MPU 11a for performing various controls, a ROM 11b for storing a program, a bitmap memory (BMM) 11c for storing image data, and various data. It has a RAM 11d for storing.

【0017】ここで、図中の各信号線〜は、各々以
下の働きをもつ。 プリンタ装置8はホスト装置7からデータ受信を行
う。このコマンドの例については、既に述べた。 プリンタ装置8の前記アダプタ14はプリンタ装置8
の状態(ステータス)に基づいて、“BUSY”の信号線を
“high”状態や“low ”状態にして、データ転送の制御
を行う。 ホスト装置7から受信したデータを内部コードに変換
してLPC11に送信する。 プリンタ装置8の状態(エラー発生)をアダプタ14
に通知する。 メカコントロール部12でのエラーの発生をLPC1
1に通知する。 エラーメッセージ等のプリンタ状態を表示する。
Here, each signal line (1) to (3) in the figure has the following functions. The printer device 8 receives data from the host device 7. An example of this command has already been mentioned. The adapter 14 of the printer device 8 is the printer device 8
The data transfer is controlled by setting the “BUSY” signal line to the “high” state or the “low” state based on the state (status). The data received from the host device 7 is converted into an internal code and transmitted to the LPC 11. The status of the printer device 8 (error occurrence) indicates the adapter 14
To notify. The occurrence of an error in the mechanical control unit 12 is detected by the LPC1.
Notify 1. Displays printer status such as error messages.

【0018】また、図5、図6及び図7は本実施例に係
るシャトル型プリンタ装置の前記メカ機構部を示す。図
5(A)はその斜視図、図5(B)はその側面図、図6
はその上面図、及び図7は印字ヘッドを示す。図5及び
図6において、印字シャトルユニット61は、図7で説
明する24ピンの印字ヘッドアセンブリ71を12個設
けた印字ヘッド16を印字シャトル72に搭載し、フレ
ーム90に両端が支持されたステーシャフト95を印字
シャトル72に貫通して、図の左右方向に移動可能に構
成される。印字シャトル72の後部には、ローラ73が
設けられ、図5(B)及び図6に示すように、フレーム
90に係合し、印字シャトル72は、ステーシャフト9
5と、ローラ73により支持される。印字シャトル72
の下面には、ヨーク74が設けられ、ヨーク74の下面
に、永久磁石75が設けられている。
FIGS. 5, 6 and 7 show the mechanical mechanism section of the shuttle type printer apparatus according to this embodiment. 5A is a perspective view thereof, FIG. 5B is a side view thereof, and FIG.
Shows a top view thereof, and FIG. 7 shows a print head. 5 and 6, in the print shuttle unit 61, the print head 16 having twelve 24-pin print head assemblies 71 described in FIG. 7 is mounted on the print shuttle 72, and the stay is supported by the frame 90 at both ends. The shaft 95 penetrates the print shuttle 72 and is movable in the left-right direction in the drawing. A roller 73 is provided at the rear portion of the print shuttle 72 and engages with the frame 90 as shown in FIGS.
5 and a roller 73. Print shuttle 72
A yoke 74 is provided on the lower surface of the, and a permanent magnet 75 is provided on the lower surface of the yoke 74.

【0019】一方、フレーム90には、コイルベース7
8が設けられ、コイルベース78上に、電磁コイル76
が設けられ、電磁コイル76は、図5(B)に示すよう
に、印字シャトル72の永久磁石75に対向している。
又、印字シャトル72のヨーク74には、位置検出部7
7の右端スリット、タイミングスリット、左端スリット
からなるスリット板が設けられ、フレーム90側の光学
センサにより、位置信号、右端検出信号、左端検出信号
を発生する。図5(B)のように、印字シャトルユニッ
ト61と用紙搬送路96を介して対向してバランスシャ
トルユニット62が設けられている。
On the other hand, the frame 90 has a coil base 7
8 is provided, and the electromagnetic coil 76 is provided on the coil base 78.
And the electromagnetic coil 76 faces the permanent magnet 75 of the print shuttle 72, as shown in FIG. 5 (B).
Further, the yoke 74 of the print shuttle 72 is provided with a position detector 7
7 is provided with a slit plate including a right end slit, a timing slit, and a left end slit, and an optical sensor on the frame 90 side generates a position signal, a right end detection signal, and a left end detection signal. As shown in FIG. 5B, a balance shuttle unit 62 is provided so as to face the print shuttle unit 61 via the paper transport path 96.

【0020】このバランスシャトルユニット62は、印
字ユニット16と同重量の重り81を搭載したバランス
シャトル82に、フレーム90に両端が支持されたステ
ーシャフト95を貫通して、図の左右方向に移動可能に
形成される。バランスシャトル82の後部には、ローラ
83が設けられ、図5(B)、図6に示すように、フレ
ーム90に係合し、バランスシャトル82は、ステーシ
ャフト98と、ローラ83により支持される。バランス
シャトル82の下面には、ヨーク84が設けられ、ヨー
ク84の下面に、永久磁石85が設けられている。
The balance shuttle unit 62 is movable in the left-right direction in the drawing by passing through a balance shuttle 82 having a weight 81 having the same weight as that of the printing unit 16 through a stay shaft 95 whose both ends are supported by a frame 90. Is formed. A roller 83 is provided at the rear portion of the balance shuttle 82, and engages with the frame 90 as shown in FIGS. 5B and 6, and the balance shuttle 82 is supported by the stay shaft 98 and the roller 83. . A yoke 84 is provided on the lower surface of the balance shuttle 82, and a permanent magnet 85 is provided on the lower surface of the yoke 84.

【0021】一方、フレーム90には、コイルベース8
8が設けられ、コイルベース88上に、電磁コイル86
が設けられ、電磁コイル86は、図5(B)に示すよう
に、バランスシャトル82の永久磁石85に対向してい
る。又、バランスシャトル82のヨーク84には、位置
検出器87のタイミングスリットからなるスリット板が
設けられ、フレーム90側の光学センサにより、位置信
号を発生する。
On the other hand, the frame 90 has a coil base 8
8 is provided, and the electromagnetic coil 86 is provided on the coil base 88.
Is provided, and the electromagnetic coil 86 faces the permanent magnet 85 of the balance shuttle 82, as shown in FIG. 5 (B). In addition, the yoke 84 of the balance shuttle 82 is provided with a slit plate which is a timing slit of the position detector 87, and an optical sensor on the frame 90 side generates a position signal.

【0022】印字ヘッド16は、図7(A)に示すよう
に、24ピンのワイヤドットを有する印字ヘッドアセン
ブリ71が12個配列されており、各印字ヘッドアセン
ブリ71は、図7(B)に示すように、24ピンのワイ
ヤが、12ピンずつ斜めに配列されている。このプリン
タ装置では、印字ヘッド16を印字ヘッドアセンブリ7
1の幅分往復移動して、印字ヘッドアセンブリ71のワ
イヤを駆動することにより、図5(B)に示すように、
用紙搬送路96を搬送される用紙Bに、インクリボンを
介し矢印A打撃して、印刷を行う。
As shown in FIG. 7 (A), the print head 16 has twelve print head assemblies 71 each having a 24-pin wire dot. Each print head assembly 71 is shown in FIG. 7 (B). As shown, the 24-pin wires are arranged diagonally by 12 pins. In this printer device, the print head 16 is connected to the print head assembly 7
By reciprocating the width of 1 and driving the wire of the print head assembly 71, as shown in FIG.
Printing is performed by striking the sheet B conveyed through the sheet conveyance path 96 with the arrow A through the ink ribbon.

【0023】一方、印字シャトルユニット61の永久磁
石75、電磁コイル76、バランスシャトルユニット6
2の永久磁石85、電磁コイル86は、リニアモータを
構成し、図6(B)に示すように、例えば、永久磁石7
5は、定速制御用磁石75a,75dと、反転駆動用磁
石75b,75cとに分けられ、電磁コイル76も定速
制御用コイル76a(L1),76c(L2)と、反転
駆動用コイル76b(L3)とに分けられている。
On the other hand, the permanent magnet 75 of the print shuttle unit 61, the electromagnetic coil 76, the balance shuttle unit 6
The second permanent magnet 85 and the electromagnetic coil 86 constitute a linear motor, and as shown in FIG.
5 is divided into constant speed control magnets 75a and 75d and reversal drive magnets 75b and 75c, and the electromagnetic coil 76 also includes constant speed control coils 76a (L1) and 76c (L2) and reversal drive coil 76b. (L3).

【0024】この動作は、反転駆動用コイル76bを駆
動すると、反転用磁石75b,75cの中央に移動さ
れ、反転動作が行われ、定速制御用コイル76a,76
cに順方向に電流を流すと、右方向に、逆方向に電流を
流すと、左方向に移動する。従って、印字シャトルユニ
ット61を右方向に駆動した時は、バランスシャトルユ
ニット62を左方向に駆動し、印字シャトルユニット6
1を左方向に駆動した時は、バランスシャトルユニット
62を右方向に駆動すると、印字シャトルユニット61
の運動力の反力をバランスシャトルユニット62が発生
し、印字シャトルユニット61の運動力を相殺し、揺れ
を防止できる。
In this operation, when the reversing drive coil 76b is driven, it is moved to the center of the reversing magnets 75b and 75c, the reversing operation is performed, and the constant speed control coils 76a and 76 are moved.
When a current is passed through c in the forward direction, it moves to the right, and when a current is passed in the opposite direction, it moves to the left. Therefore, when the print shuttle unit 61 is driven to the right, the balance shuttle unit 62 is driven to the left and the print shuttle unit 6 is driven.
When the balance shuttle unit 62 is driven to the right when 1 is driven to the left, the print shuttle unit 61 is driven.
The balance shuttle unit 62 generates a reaction force of the motive force of the print shuttle unit 61, and the motive force of the print shuttle unit 61 is offset to prevent the shaking.

【0025】この時、印字シャトルユニット61に駆動
手段であるリニアモータ75,76を設け、バランスシ
ャトルユニット62に駆動手段であるリニアモータ8
5,86を設けると、大きなモータを設けることなく、
小さなモータで実現でき、しかもリニアモータのため、
小型化が可能となる。ここで、前記紙送り機構17に
は、用紙搬送路96及び用紙を当該用紙搬送路96に送
り込む機構等が含まれる。
At this time, the print shuttle unit 61 is provided with the linear motors 75 and 76 as the driving means, and the balance shuttle unit 62 is provided with the linear motor 8 as the driving means.
By providing 5,86, without providing a large motor,
It can be realized with a small motor, and because it is a linear motor,
Miniaturization is possible. Here, the paper feed mechanism 17 includes a paper feed path 96, a mechanism for feeding paper into the paper feed path 96, and the like.

【0026】続いて、第一の実施例を図8、図9及び図
10に基づいて説明する。図8に示すように、本実施例
に係るプリンタ制御装置の前記LPC11には、そのR
AM11dにプリンタ装置の状態(エラー状態を含む)
を示すステータステーブル18を設けるとともに、前記
MPU11a及びROM11bには、前記ステータステ
ーブル18にプリンタ装置の状態を常時書き込むととも
に、アダプタ14から受信したコマンドの解読を行う通
常処理部19と、上位装置である前記ホスト装置7から
受信したコマンドが印字起動系のコマンドであるか否か
の判定を行う印字起動系コマンド判定部5と、前記エラ
ー処理部1に対して、エラー処理部1が行うエラー処理
のうちホスト装置に対する転送停止の指示を抑止し、ホ
スト装置から受信したコマンドが印字起動系のコマンド
であると判定された場合には当該抑止を解除する特定エ
ラー処理抑止部4とを有する。さらに、当該LPC11
のMPU11a及びROM11bには、エラーが検出さ
れた場合にエラーメッセージの表示、ホスト装置7への
エラー発生及びエラーの詳細な内容の通知を行うエラー
処理部1を有する。
Next, a first embodiment will be described with reference to FIGS. 8, 9 and 10. As shown in FIG. 8, the RPC of the printer control device according to the present embodiment has the R
Status of printer device in AM11d (including error status)
And a normal processing unit 19 for constantly writing the status of the printer device to the status table 18 in the MPU 11a and the ROM 11b, and for decoding the command received from the adapter 14, and a higher-level device. The print start system command determination unit 5 that determines whether the command received from the host device 7 is a print start system command, and the error processing unit 1 performs error processing for the error processing unit 1. Among them, a specific error processing suppression unit 4 that suppresses a transfer stop instruction to the host device and cancels the suppression when the command received from the host device is determined to be a command of the print activation system. Furthermore, the LPC11
The MPU 11a and the ROM 11b each include an error processing unit 1 that displays an error message when an error is detected, notifies the host device 7 of the error, and notifies the detailed content of the error.

【0027】さらに、前記メカコントロール部12に
は、印字起動系に発生したエラーの検出を行うエラー検
出部2を有するとともに、前記オペレータパネル13に
はエラーメッセージ等のプリンタ装置の状態を表示する
状態表示部3を設けたものである。前記オペレータパネ
ル13には、エラー処理部1の指示によりエラーメッセ
ージを表示する状態表示部3を有する。
Further, the mechanical control section 12 has an error detection section 2 for detecting an error that has occurred in the print starting system, and the operator panel 13 displays a status of the printer device such as an error message. The display unit 3 is provided. The operator panel 13 has a status display section 3 for displaying an error message according to an instruction from the error processing section 1.

【0028】次に、前記ステータステーブル18の例を
図9に示す。ステータステーブルは、アダプタ14及び
LPC11間の共通テーブルであり、LPC11がプリ
ンタの状態に応じてステータスをセットするものであ
る。ここで、SLINE (5ビット) により表されるアドレス
で示される各位置(STATUS00 〜STATUS07) に各々8 ビッ
ト(PBUS0〜PBUS7 に対応) の各ビットにプリンタ装置の
種々の状態を表すデータを対応させたステータスが格納
されたものである。このテーブル18をアダプタ14が
読み出すことによりアダプタ14がプリンタ装置の状態
を認識することができる。
Next, an example of the status table 18 is shown in FIG. The status table is a common table between the adapter 14 and the LPC 11, and the LPC 11 sets the status according to the printer status. Here, each position (STATUS00 to STATUS07) indicated by the address represented by SLINE (5 bits) is associated with 8 bits (corresponding to PBUS0 to PBUS7) and data representing various states of the printer device. The status is stored. When the adapter 14 reads this table 18, the adapter 14 can recognize the state of the printer device.

【0029】プリンタ装置にエラーが発生したことをア
ダプタ14に通知する場合には、この例では“STATUS0
0”に格納されているデータの「エラー発生」“PBUS7
”または「アラーム発生」“PBES6 ”のビットに“1
”をセットする。
To notify the adapter 14 that an error has occurred in the printer device, in this example, "STATUS0
“Error occurred” of data stored in “0” “PBUS7
"Or" Alarm occurred "" 1 "in the" PBES6 "bit
"Set.

【0030】また、そのエラーの詳細な内容は“STATUS
04”又は“STATUS05”に示され、前記印字起動系エラー
は当該“STATUS04”の前記印字ヘッド16に関する「ヘ
ッド系エラー」“PBUS5 ”、「ファン/フューズ系エラ
ー」“PBUS4 ”又は「RAM/タイマー系エラー」“PB
US3 ”に相当する。さらに、その印字起動系のエラーの
詳細な内容は“STATUS07”等に示されている。その他
に、スペース系エラー“STATUS06”等に示すシャトルの
位置等に関するエラーがある。
The detailed content of the error is "STATUS
04 "or" STATUS05 ", the print start system error is" head system error "" PBUS5 "," fan / fuse system error "" PBUS4 "or" RAM / timer "related to the print head 16 of the" STATUS04 ". System error "" PB
It corresponds to US3 ". Further, the detailed contents of the error of the print start system are shown in" STATUS07 "etc. In addition, there are errors related to the position of the shuttle etc. shown in the space error" STATUS06 "etc.

【0031】第一の実施例に係る動作を説明する。図1
0に示すように、ステップSa1でメカコントロール部
12で印字起動系のエラーが発生すると、ステップSa
2では前記エラー検出部2は印字起動系のエラーが発生
した旨のステータスを前記LPC11に通知する。
The operation according to the first embodiment will be described. Figure 1
As shown in 0, when an error in the print start system occurs in the mechanical control unit 12 in step Sa1, step Sa
In 2, the error detection unit 2 notifies the LPC 11 of the status indicating that an error in the print activation system has occurred.

【0032】LPC11では、ステップSl1で前記エ
ラー処理部1は前記ステータスを受けてエラー処理を開
始する。ステップSl2で当該エラー処理部1は前記状
態表示部3に対し、エラーメッセージの表示を指示す
る。また、前記ステータステーブル18の“STATUS03”
及び“STATUS04”に“1 ”をセットしておく。しかし、
特定エラー処理抑止部4の存在によりエラー処理のうち
ステータステーブル18の“STATUS00”へのエラー発生
の旨の書込みは抑止されている。さらに、ステータステ
ーブル18を書き換えたので、その旨は前記アダプタ1
4に通知される。
In the LPC 11, the error processing unit 1 receives the status and starts error processing in step S11. In step S12, the error processing unit 1 instructs the status display unit 3 to display an error message. In addition, "STATUS03" of the status table 18
Also, set "1" to "STATUS04". But,
Due to the existence of the specific error processing inhibiting unit 4, the writing of the error occurrence to "STATUS00" of the status table 18 in the error processing is inhibited. Furthermore, since the status table 18 has been rewritten, that effect is stated in the adapter 1
4 will be notified.

【0033】一方、アダプタ14では、ステップSa1
で上位装置である前記ホスト装置7からデータを受信
し、ステップSa2で受信したコマンドを内部コマンド
へ変換する。ステップSa3でアダプタ14はLPC1
1に内部コマンドを転送する。LPC11はエラー処理
でいながら、アダプタ14から内部コマンドを受信する
と、前記通常処理部19は内部コマンドのデータの解析
を行う。但し、ヘッドドライバへの印字データの転送は
行わない。
On the other hand, in the adapter 14, step Sa1
In step S12, data is received from the host device 7, which is a higher-level device, and the command received in step Sa2 is converted into an internal command. In step Sa3, the adapter 14 is LPC1
Transfer the internal command to 1. When the LPC 11 receives an internal command from the adapter 14 while it is performing error processing, the normal processing unit 19 analyzes the data of the internal command. However, the print data is not transferred to the head driver.

【0034】すると、前記特定コマンド判定部5は、ス
テップSl4で、データ解析を受けたコマンドが印字起
動系のコマンドか否かを判定する。印字起動系のコマン
ドの場合には、ステップSl5に進み、前記ステータス
テーブル18の“STATUS00”へエラー状態にある旨(
“PBUS7 ”に“1 ”) を書き込み、アダプタ14に対
し、状態が変わった旨を通知する。
Then, the specific command determination section 5 determines in step S14 whether or not the command subjected to the data analysis is a print start system command. If the command is a print start-up command, the process proceeds to step S15, and "STATUS00" of the status table 18 indicates that there is an error state (
Write "1") to "PBUS7" to notify the adapter 14 that the status has changed.

【0035】アダプタ14はステップSa4で、当該テ
ーブル18のうち、まず“STATUS00”に格納されている
ステータスを最初に読み出し、その“PBUS7 ”に“1 ”
がセットされているか否かを調べることによりプリンタ
装置がエラー状態にあるか否かを判断し、その後、他の
ステータスについても読み出し、そのエラー状態を詳し
く解析する。
In step Sa4, the adapter 14 first reads out the status stored in "STATUS00" of the table 18, and then "1" is read in the "PBUS7".
Is checked to determine whether or not the printer is in an error state, and then other statuses are also read and the error state is analyzed in detail.

【0036】アダプタ14によりプリンタ装置がエラー
状態にあると判断した場合には、ステップSa5で、
“BUSY”信号線をオン状態として、ホスト装置7からの
データの転送を停止させる。
When the adapter 14 determines that the printer device is in an error state, at step Sa5,
The "BUSY" signal line is turned on to stop the data transfer from the host device 7.

【0037】一方、ステップSl4で、前記LPC11
がアダプタ14から転送されたコマンドをデータ解析
し、印字起動系コマンド判定部5によりそのコマンドが
印字起動系のコマンドでないと判定した場合には、ステ
ップSl6に進みエラー状態が解除されたか否かを判断
する。エラーが解除されていない場合には、ステップS
l2に戻り、エラー表示をしたまま、前記アダプタ14
から受信した次のコマンドについて通常の処理を行う。
ステップSl6でエラー状態が解除されていた場合には
ノーマルモードの処理が行われる。
On the other hand, in step S14, the LPC11
Analyzes the command transferred from the adapter 14, and when the print start system command determination unit 5 determines that the command is not the print start system command, the process proceeds to step S16 to determine whether the error state is released. to decide. If the error has not been cleared, step S
Returning to l2, the adapter 14
Normal processing is performed for the next command received from.
If the error state is released in step Sl6, the normal mode processing is performed.

【0038】次に、第二の実施例を図11及び図12に
基づいて説明する。図11に示すように、本実施例は第
一の実施例と異なり、LPC11に印字起動系コマンド
判定部5を設ける代わりに、前記アダプタ24に、ホス
ト装置7から受信したコマンドが印字起動系のコマンド
であるか否かの判定を行う印字起動系コマンド判定部2
5を設けるとともに、印字起動系コマンドと判定された
場合にLPC11に対して通知コマンドを発行する通知
コマンド発行部28を設ける。また、前記LPC21に
は、第一の実施例で設けられた印字起動系コマンド判定
部5及び特定エラー処理抑止部4に代えて、前記エラー
処理部1に対し、前記通知コマンド発行部28からの通
知コマンドがあるまでエラー処理を禁止するエラー処理
禁止部6を設けたものである。
Next, a second embodiment will be described with reference to FIGS. 11 and 12. As shown in FIG. 11, this embodiment is different from the first embodiment in that the command received from the host device 7 is sent to the adapter 24 in the print start system instead of providing the print start system command determination unit 5 in the LPC 11. Print start system command determination unit 2 that determines whether the command is a command
5 is provided, and a notification command issuing unit 28 that issues a notification command to the LPC 11 when the command is determined to be a print start command. Further, in the LPC 21, instead of the print start system command determination section 5 and the specific error processing suppression section 4 provided in the first embodiment, the notification command issuing section 28 from the notification command issuing section 28 is sent to the error processing section 1. An error processing prohibition unit 6 that prohibits error processing until a notification command is provided is provided.

【0039】第二の実施例に係る動作を説明する。図1
2に示すように、プリンタ装置の電源を入れた後、LP
C11において、アイドルルーチンの先頭のステップS
l10で、前記エラー処理禁止部6がエラーマスクフラ
グビットを該当するレジスタにセットする。すると、ス
テップSl11で、アダプタ24に対しプログラムのロ
ードの指示を行う。
The operation according to the second embodiment will be described. Figure 1
As shown in 2, after turning on the power of the printer device, LP
At C11, the first step S of the idle routine
At 110, the error processing prohibition unit 6 sets the error mask flag bit in the corresponding register. Then, in step S111, the adapter 24 is instructed to load the program.

【0040】アダプタ24では、ステップSa10でプ
ログラムのロードが開始され、ステップSa11でロー
ドが完了する。するとステップSa12で、ホスト装置
7からのデータの受信を開始する。ステップSa13で
当該アダプタ24は受信したコマンドを内部コマンドへ
変換し、ステップSa14でLPC21へ転送し、LP
C21はエラーマスクフラグビットがセットされている
ので、前記通常処理部19により、ステップSl12で
データ解析等が行われる。
In the adapter 24, the loading of the program is started in step Sa10, and the loading is completed in step Sa11. Then, in step Sa12, the reception of data from the host device 7 is started. In step Sa13, the adapter 24 converts the received command into an internal command, transfers it to the LPC 21 in step Sa14, and LP
Since the error mask flag bit is set in C21, the normal processing unit 19 analyzes the data in step S12.

【0041】その際、前記印字起動系コマンド判定部2
5により、受信したコマンドが印字起動系コマンドであ
ると判定された場合にはステップSa15に進み、前記
通知コマンド発行部28はLPC21に対して通知コマ
ンドを発行する。当該印字起動系コマンドに対する通知
コマンドが発行された場合には、ステップSl13に進
みエラーマスクフラグが解除され、前記エラー処理禁止
部6はエラー処理禁止を解除する。ステップSl14で
前記エラー処理部1はエラー処理を開始し、ステップS
l15で、前記状態表示部3に対し、エラーメッセージ
の表示を指示し、ステータステーブル18にエラー状態
の旨を書き込み、状態の変化した旨をアダプタ24に通
知する。
At this time, the print start system command determination unit 2
If the received command is determined to be a print start-up command by 5, the process proceeds to step Sa15, and the notification command issuing unit 28 issues a notification command to the LPC 21. When the notification command for the print start system command is issued, the process proceeds to step S1313, the error mask flag is released, and the error processing prohibition unit 6 releases the error processing prohibition. In step S114, the error processing unit 1 starts error processing,
In step 115, the status display unit 3 is instructed to display an error message, the error status is written in the status table 18, and the adapter 24 is notified of the status change.

【0042】すると、ステップSa7でアダプタ24は
“STATUS00”をチェックし、“PBUS7 ”=1 なので、
“BUSY”信号線をオン状態にして、ホスト装置7からの
データの受信を停止する。この場合には、“BUSY”信号
線がオン状態にあるため、アダプタ24からデータが転
送されることはないので、エラー処理のデータ解析は行
われない。
Then, in step Sa7, the adapter 24 checks "STATUS00", and since "PBUS7" = 1,
The "BUSY" signal line is turned on to stop receiving data from the host device 7. In this case, since the "BUSY" signal line is in the ON state, no data is transferred from the adapter 24, and therefore data analysis for error processing is not performed.

【0043】以上説明したように、本実施例にあって
は、プリンタ装置のイニシャル処理中にエラーが発生し
た場合もホスト装置から転送されたコマンドを受信・解
析することができるので、イニシャル処理が中断される
ことはなく、さらには従来のようにイニシャル終了まで
の時間がかかることもない。
As described above, in the present embodiment, the command transferred from the host device can be received and analyzed even when an error occurs during the initial process of the printer device, so that the initial process is It will not be interrupted, nor will it take time to finish the initials as in the past.

【0044】次に、第三の実施例を図13及び図14に
基づいて説明する。図13に示すように、本例は、第一
及び第二の実施例と異なり前記アダプタ34には、エラ
ー処理の禁止を解除する禁止解除指示部35を設けたも
のである。また、LPC31には、エラーが発生して
も、エラー処理部1のエラー処理を禁止するが、前記禁
止解除指示部35からの指示があった場合には、エラー
処理の禁止を解除するエラー処理禁止部26を有する。
Next, a third embodiment will be described with reference to FIGS. 13 and 14. As shown in FIG. 13, in this embodiment, unlike the first and second embodiments, the adapter 34 is provided with a prohibition cancellation instruction section 35 for canceling the prohibition of error processing. Further, the LPC 31 prohibits the error processing of the error processing unit 1 even if an error occurs, but cancels the prohibition of the error processing when instructed by the prohibition cancellation instruction unit 35. It has a prohibition unit 26.

【0045】続いて、本実施例の動作について説明す
る。図14に示すように、プリンタ装置に電源を投入し
た後、アイドルルーチンの先頭のステップSl20で、
前記LPC31の前記エラー処理禁止部26は、エラー
マスクフラグビットを所定のレジスタにセットすること
により、エラーが発生した場合のエラー処理を禁止す
る。
Next, the operation of this embodiment will be described. As shown in FIG. 14, after the printer is powered on, in the first step Sl20 of the idle routine,
The error processing prohibition unit 26 of the LPC 31 sets an error mask flag bit in a predetermined register to prohibit error processing when an error occurs.

【0046】ステップSl21で当該LPC31はアダ
プタ34に対し、プログラムのロードを指示する。する
と、前記アダプタ34はステップSa20でロードを開
始する。ステップSa21で、ロードが完了する。その
後、ステップSa22で、前記禁止解除指示部35はエ
ラーマスク解除要求を前記LPC31に対し通知する。
ステップSl2で、当該LPC31の前記エラー処理禁
止部26はエラーマスクを解除する。すると、ステップ
Sl23に進み、エラー状態が解除されているか否かを
判断し、エラー状態が解除されている場合にはノーマル
モードに進み、エラー状態が解除されていない場合に
は、図10のステップSl2に進む。
In step S121, the LPC 31 instructs the adapter 34 to load the program. Then, the adapter 34 starts loading in step Sa20. Loading is completed in step Sa21. After that, in step Sa22, the prohibition cancellation instruction unit 35 notifies the LPC 31 of an error mask cancellation request.
In step S12, the error processing prohibition unit 26 of the LPC 31 cancels the error mask. Then, the process proceeds to step S123, it is determined whether or not the error state is released. If the error state is released, the process proceeds to the normal mode, and if the error state is not released, the step of FIG. Proceed to Sl2.

【0047】本例の場合には、イニシャルエラーの場合
に、前記エラー処理禁止部26を設けることにより、イ
ニシャル状態で、エラー処理を禁止することにより、プ
リンタ装置のイニシャル処理中にエラーが発生した場合
もホスト装置から転送されたコマンドを受信・解析する
ことができるので、イニシャル処理が中断されることは
なく、さらには従来のようにイニシャル終了までの時間
がかかることもない。尚、印字起動系には、その他、多
数の印字ヘッドを搭載した印字シャトルや印字シャトル
を往復運動させるように駆動するモータや、印字シャト
ルの位置を検出する位置検出手段等も含まれる。
In the case of the present example, in the case of an initial error, the error processing prohibition unit 26 is provided to prohibit the error processing in the initial state, so that an error occurs during the initial processing of the printer. Also in this case, since the command transferred from the host device can be received and analyzed, the initial process is not interrupted, and further, it does not take time until the initial end unlike the conventional case. In addition, the print starting system further includes a print shuttle equipped with a large number of print heads, a motor for driving the print shuttle to reciprocate, a position detecting means for detecting the position of the print shuttle, and the like.

【0048】[0048]

【発明の効果】以上説明したように、本発明にあって
は、印字起動系にエラーが発生した場合であっても、直
ちに、上位装置に対し転送停止の指示を行うことなく、
印字起動系コマンド以外のコマンドに対しては通常の処
理を行い、印字起動系コマンドを受信した場合に初めて
上位装置に対し転送停止の指示を行うようにしている。
従って、印字起動系のエラーが発生しても、印字起動系
と無関係なコマンドについては、コマンドを実行してプ
リンタ装置に動作を行わせて、可能な処理を迅速に行う
とともに、無駄な動作によるエネルギーや時間の浪費を
防止し、プリンタ装置を効率的に運用するようにしたも
のである。
As described above, according to the present invention, even when an error occurs in the print starting system, immediately without instructing the upper device to stop the transfer,
Normal processing is executed for commands other than the print start system command, and when the print start system command is received, the transfer stop instruction is given to the upper device for the first time.
Therefore, even if an error occurs in the print start system, for a command unrelated to the print start system, the command is executed to cause the printer device to perform an operation, so that a possible process can be performed quickly and unnecessary The waste of energy and time is prevented, and the printer device is operated efficiently.

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

【図1】第一の発明の原理ブロック図FIG. 1 is a block diagram of the principle of the first invention.

【図2】第一の発明の実施態様を示すブロック図FIG. 2 is a block diagram showing an embodiment of the first invention.

【図3】第二の発明に係る原理流れ図FIG. 3 is a principle flowchart according to the second invention.

【図4】実施例に係る機器構成ブロック図FIG. 4 is a block diagram of a device configuration according to an embodiment.

【図5】実施例に係るシャトル型プリンタ装置を示す図
(その1)
FIG. 5 is a diagram showing a shuttle type printer device according to an embodiment (No. 1).

【図6】実施例に係るシャトル型プリンタ装置を示す図
(その2)
FIG. 6 is a diagram showing a shuttle type printer device according to the embodiment (No. 2).

【図7】実施例に係る印字ヘッドを示す図FIG. 7 is a diagram showing a print head according to an embodiment.

【図8】第一の実施例に係る要部ブロック図FIG. 8 is a block diagram of main parts according to the first embodiment.

【図9】第一の実施例に係るステータステーブルを示す
FIG. 9 is a diagram showing a status table according to the first embodiment.

【図10】第一の実施例に係る流れ図FIG. 10 is a flowchart according to the first embodiment.

【図11】第二の実施例に係る要部ブロック図FIG. 11 is a block diagram of main parts according to a second embodiment.

【図12】第二の実施例に係る流れ図FIG. 12 is a flowchart according to a second embodiment.

【図13】第三の実施例に係る要部ブロック図FIG. 13 is a block diagram of main parts according to a third embodiment.

【図14】第三の実施例に係る流れ図FIG. 14 is a flowchart according to the third embodiment.

【図15】従来例に係る要部ブロック図FIG. 15 is a block diagram of a main part according to a conventional example.

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

10,1 エラー処理部 20,2 エラー検出部 30,3 状態表示部 40,4 特定エラー処理抑止部 50,5 印字起動系コマンド判定部 60,6,26 エラー処理禁止部 10, 1 Error processing unit 20, 2 Error detection unit 30, 3 Status display unit 40, 4 Specific error processing suppression unit 50, 5 Print start system command determination unit 60, 6, 26 Error processing prohibition unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 印字起動系に生じたエラーの検出を行う
エラー検出部(20)と、エラーが検出された場合に、
エラーメッセージの表示の指示及び上位装置に対する当
該プリンタ装置への転送停止の指示を行うエラー処理部
(10)と、エラー処理部(10)の指示によりエラー
メッセージを表示する状態表示部(30)とを有し、上
位装置から受信したコマンドに従って印字の制御を行う
プリンタ制御装置において、 上位装置から受信したコマンドが印字起動系のコマンド
か否かを判定する印字起動系コマンド判定部(50)
と、 エラー処理部(10)に対し、上位装置に対する前記転
送停止の指示を抑止し、上位装置から受信したコマンド
が印字起動系のコマンドであると判定された場合には当
該抑止を解除する特定エラー処理抑止部(40)とを設
けたことを特徴とするプリンタ制御装置。
1. An error detection unit (20) for detecting an error occurring in a print starting system, and an error detection unit (20) when the error is detected.
An error processing unit (10) that gives an instruction to display an error message and gives an instruction to stop the transfer of the upper device to the printer device, and a status display unit (30) that displays an error message according to an instruction from the error processing unit (10). In a printer control device that has a printer control device for printing according to a command received from a host device, a print start system command determination unit (50) that determines whether the command received from the host device is a print start system command
And, when the command received from the higher-level device is judged to be a command of the print start-up system and the error processing unit (10) is instructed to stop the transfer, the suppression is released. A printer control device comprising an error processing suppression unit (40).
【請求項2】 印字起動系に生じたエラーの検出を行う
エラー検出部(20)と、エラーが検出された場合に、
エラーメッセージの表示の指示及び上位装置に対する当
該プリンタ装置への転送停止の指示を行うエラー処理部
(10)と、エラー処理部(10)の指示によりエラー
メッセージを表示する状態表示部(30)とを有し、上
位装置から受信したコマンドに従って印字の制御を行う
プリンタ制御装置において、 上位装置から受信したコマンドが印字起動系のコマンド
か否かを判定する印字起動系コマンド判定部(50)
と、 エラー処理部(10)のエラー処理を禁止し、上位装置
から受信したコマンドが印字起動系のコマンドであると
判定された場合には当該禁止を解除するエラー処理禁止
部(60)を設けたことを特徴とするプリンタ制御装
置。
2. An error detection unit (20) for detecting an error occurring in a print start system, and an error detection unit (20) when the error is detected.
An error processing unit (10) that gives an instruction to display an error message and gives an instruction to stop the transfer of the upper device to the printer device, and a status display unit (30) that displays an error message according to an instruction from the error processing unit (10). In a printer control device that has a printer control device for printing according to a command received from a host device, a print start system command determination unit (50) that determines whether the command received from the host device is a print start system command
And an error processing prohibition unit (60) for prohibiting the error processing of the error processing unit (10) and canceling the prohibition when the command received from the higher-level device is determined to be a command of the print start system. A printer control device characterized by the above.
【請求項3】 印字起動系にエラーが発生すると(S
1)、 エラー処理を開始し(S2)、 エラーメッセージを表示画面に表示し(S3)、 受信したコマンドを解析し、当該コマンドが印字起動系
のコマンドであるか否かを判定し(S4)、 印字起動系コマンドであると判定した場合には、上位装
置に対し、プリンタ装置への転送を停止させ(S5)、 印字起動系コマンドでないと判定した場合には、上位装
置に対し、プリンタ装置への転送を停止させることな
く、受信したコマンドについての通常の処理を実行する
(S6)ことを特徴とするプリンタ制御方法。
3. When an error occurs in the print starting system (S
1), error processing is started (S2), an error message is displayed on the display screen (S3), the received command is analyzed, and it is determined whether the command is a print start system command (S4). When it is determined that the command is a print start command, the host device stops the transfer to the printer device (S5). When it is determined that the command is not the print start command, the host device determines the printer device. The printer control method, wherein normal processing for the received command is executed without stopping transfer to the printer (S6).
JP5116101A 1993-05-18 1993-05-18 Device and method for controlling printer Pending JPH06332643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5116101A JPH06332643A (en) 1993-05-18 1993-05-18 Device and method for controlling printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5116101A JPH06332643A (en) 1993-05-18 1993-05-18 Device and method for controlling printer

Publications (1)

Publication Number Publication Date
JPH06332643A true JPH06332643A (en) 1994-12-02

Family

ID=14678728

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5116101A Pending JPH06332643A (en) 1993-05-18 1993-05-18 Device and method for controlling printer

Country Status (1)

Country Link
JP (1) JPH06332643A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006155107A (en) * 2004-11-26 2006-06-15 Fujitsu Ltd Hardware error control method in instruction controller having instruction processing stop means
US9832340B2 (en) 2011-12-20 2017-11-28 S-Printing Solution Co., Ltd. Image forming apparatus and method of performing error notification and error recovery functions in image forming apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006155107A (en) * 2004-11-26 2006-06-15 Fujitsu Ltd Hardware error control method in instruction controller having instruction processing stop means
JP4531535B2 (en) * 2004-11-26 2010-08-25 富士通株式会社 Hardware error control method in instruction control device with instruction processing stop means
US9832340B2 (en) 2011-12-20 2017-11-28 S-Printing Solution Co., Ltd. Image forming apparatus and method of performing error notification and error recovery functions in image forming apparatus

Similar Documents

Publication Publication Date Title
US6980310B1 (en) Image processing apparatus and method
JP2000163225A (en) Information processor, printing controller, printing system, their controlling method, and printer and storage medium
JPH06332643A (en) Device and method for controlling printer
JP2011068022A (en) Recording device, control method of recording device and program
JPH0632491A (en) Sheet conveying device
JP2839779B2 (en) Printing control device
JPH07178985A (en) Printing processing apparatus
JP2005111715A (en) Printer and control method therefor
JPH06115176A (en) Electronic numbering printing apparatus
JPH10187373A (en) Print system and saving power mode notifying method in print system
JP2006187935A (en) Inkjet recording apparatus, power consumption control method therefor, program, and storage medium
JPH10175345A (en) Printer with function of reusing printed paper
JP2869225B2 (en) Wire dot printer
JPH0584234B2 (en)
JP2003319124A (en) Composite machine, method for transferring image data, program, and storage medium
JPH079707A (en) Printer
JPH1175052A (en) Picture processing device and method therefor
JPH06238991A (en) Method and apparatus for printing
JPH07112565A (en) Image recording device
JPH0355624A (en) Printer device
JP2000118105A (en) Printer and method for controlling it
JP2003046694A (en) Output managing device, output device, output managing system, output managing method, output control method, storage medium and program
JPH07319647A (en) Printer and its control method
JPS6178676A (en) Printer
JPH06227076A (en) Head control device of printer and printing control device of document preparing device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010515