JP3034540B2 - Printing system and its error recovery method - Google Patents

Printing system and its error recovery method

Info

Publication number
JP3034540B2
JP3034540B2 JP1295065A JP29506589A JP3034540B2 JP 3034540 B2 JP3034540 B2 JP 3034540B2 JP 1295065 A JP1295065 A JP 1295065A JP 29506589 A JP29506589 A JP 29506589A JP 3034540 B2 JP3034540 B2 JP 3034540B2
Authority
JP
Japan
Prior art keywords
printer
print
error
host computer
command
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.)
Expired - Fee Related
Application number
JP1295065A
Other languages
Japanese (ja)
Other versions
JPH03155974A (en
Inventor
斎司 蔭山
俊幸 中嶋
忠彦 麻生
啓一 中根
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1295065A priority Critical patent/JP3034540B2/en
Publication of JPH03155974A publication Critical patent/JPH03155974A/en
Application granted granted Critical
Publication of JP3034540B2 publication Critical patent/JP3034540B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1801Input data handling means
    • G06K15/1821Sending feedback on the reception process to the data source, e.g. indication of full buffer

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ホストコンピュータとプリンタからなり、
相互に通信が行なえ、ホストコンピュータは、プリンタ
に対してコマンドを送信し、プリンタは、ホストコンピ
ュータから送信されるコマンドの内容に従い、印刷を実
行する印刷システム、特に、レーザビームプリンタ、ワ
イヤドットプリンタ等のプリンタで発生した、紙ジャム
エラー等のエラー回復に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention comprises a host computer and a printer,
The host computer can communicate with each other, the host computer sends a command to the printer, and the printer performs printing in accordance with the content of the command sent from the host computer, in particular, a laser beam printer, a wire dot printer, etc. And error recovery such as a paper jam error that has occurred in the printer.

〔従来の技術〕[Conventional technology]

従来、特開昭60−257262号に記載のように、プリンタ
はホストコンピュータより送られた印刷コマンドを、そ
の印刷コマンドの印刷処理の正常終了である排紙完了を
確認するまで保持するためのコマンドバッファを、プリ
ンタ内に同時に印刷処理される最大枚数(以下、単に最
大保持枚数という)のコマンド分用意していた。そし
て、紙ジャムエラー等が発生した場合には、エラー回復
後に、エラー発生時以後の印刷コマンドをコマンドバッ
ファから読み出し、再度印刷することによりエラー回復
を行なっていた。
Conventionally, as described in Japanese Patent Application Laid-Open No. 60-257262, a printer has a command for holding a print command sent from a host computer until it confirms the completion of paper ejection, which is a normal end of the print processing of the print command. The buffer has been prepared for the command of the maximum number of sheets to be simultaneously printed in the printer (hereinafter, simply referred to as the maximum number of held sheets). When a paper jam error or the like occurs, the error recovery is performed by reading the print command after the error occurrence from the command buffer after the error recovery and printing again.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上記従来技術においては、印刷コマンドの印刷処理の
正常終了である排紙完了を確認するまで保持するため
に、前記最大保持枚数の印刷コマンドを格納できるコマ
ンドバッファを、紙ジャムエラー等が発生したときのエ
ラー回復だけのために用意しなければならなかった。ま
た、この時、必要となるコマンドバッファ容量は、相当
量であるためコストも高いものとなっていた。
In the above-described related art, in order to hold the print command until the completion of the paper ejection that is the normal end of the print processing of the print command is confirmed, a command buffer capable of storing the print command of the maximum number of sheets is stored when a paper jam error or the like occurs. Had to be prepared just for error recovery. In addition, at this time, the required command buffer capacity is considerable and the cost is high.

たとえば、20枚/分の印刷速度のレーザビームプリン
タにおいては、約20枚が同時に印刷処理に係属するた
め、前記最大保持枚数は約20枚となる。また、1枚当り
の印刷コマンドの容量は、A4サイズ1ページを300ドッ
ト/インチの密度のイメージデータとして送る場合に
は、約1メガバイトになる。したがって、この場合前記
エラー回復専用のコマンドバッファの容量は約20メガバ
イトも必要であった。
For example, in a laser beam printer having a printing speed of 20 sheets / minute, about 20 sheets are simultaneously involved in the printing process, so the maximum holding number is about 20 sheets. In addition, the capacity of a print command per sheet is about 1 megabyte when one page of A4 size is transmitted as image data having a density of 300 dots / inch. Therefore, in this case, the capacity of the command buffer dedicated to the error recovery required about 20 megabytes.

本発明の目的は、上記従来技術の問題点を解消し、印
刷システムの信頼性および稼働性を高めるとともに、コ
ストの低減を図ることにある。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above-mentioned problems of the related art, improve the reliability and operability of a printing system, and reduce costs.

〔課題を解決するための手段〕[Means for solving the problem]

前記目的を達成するための手段として、以下の発明を
開示する。
The following invention is disclosed as a means for achieving the above object.

第1の発明は、プリンタのエラー回復後の印刷処理再
開を、 ホストコンピュータがプリンタに印刷内容等を指示す
るための印刷コマンドに印刷ページ単位に通し番号を付
け、付けた印刷ページの通し番号を用いて、プリンタお
よびホストコンピュータは、各々にその印刷ページの通
し番号を用いて印刷コマンドを管理し、 プリンタは、エラー発生時に、印刷処理中であった印
刷ページの通し番号をホストコンピュータに報告し、 ホストコンピュータは、エラー回復後、プリンタに対
し、プリンタより報告された印刷ページの通し番号が示
すページ以後の印刷コマンドを再送する、 ことにより行うことを特徴とする印刷システムのエラ
ー回復方法を提供する。
According to a first aspect of the present invention, print processing resumed after error recovery of a printer is performed by using a serial number for each print page in a print command for instructing a printer to print contents and the like by a host computer, and using the serial number of the print page. The printer and the host computer each manage a print command using the serial number of the print page, and the printer reports the serial number of the print page being printed to the host computer when an error occurs. And retransmitting a print command after the page indicated by the serial number of the print page reported from the printer after the error recovery to the printer, thereby performing the error recovery method of the printing system.

第2の発明は、 ホストコンピュータがプリンタに印刷内容等を指示す
るための印刷コマンドに印刷ページ単位に通し番号を付
け、付けた印刷ページの通し番号を用いて、印刷コマン
ドを管理する手段と、エラーが発生した時、少なくとも
エラー種別と印刷処理中であった印刷ページの通し番号
を有するエラー情報を記憶するエラー管理テーブルと、
エラー発生時に前記エラー情報をホストコンピュータに
対して報告する手段と、エラー発生時の各処理を制御す
る異常処理制御手段と、を有するプリンタと、 印刷ページの通し番号を用いて印刷コマンドを管理す
る手段と、プリンタに対してエラー状態の問合せをコマ
ンドにより行う手段と、エラー回復後にプリンタに対
し、前記プリンタより報告されたエラー情報に含まれて
いる印刷ページの通し番号以後の印刷コマンドを再送す
る手段と、を有するホストコンピュータと、 を有することを特徴とする印刷システムを提供する。
According to a second aspect of the present invention, there is provided a print command for instructing a printer on a print content or the like by a host computer, assigns a serial number to each print page, and uses the serial number of the print page to manage the print command. An error management table that stores at least error information having an error type and a serial number of a print page being printed;
A printer having means for reporting the error information to the host computer when an error occurs, and abnormal processing control means for controlling each process when the error occurs, and means for managing print commands using serial numbers of print pages Means for inquiring the printer of an error state by a command, and means for retransmitting a print command after the serial number of a print page included in the error information reported from the printer to the printer after error recovery. And a printing system comprising:

前記各発明において、 ホストコンピュータは、エラー回復後であって印刷コ
マンドの再送前に、プリンタの初期化を指示する手段、 または、前記各発明において、プリンタは、 エラーの原因が排除されたことをプリンタが検出した
時点で、自身を初期化し、 前記エラー発生原因の排除後の初期化前の、印刷コマ
ンドの受信に対し、該印刷コマンドは受付け不可であっ
たことをホストコンピューターに報告する手段と、 の2手段のうち、少なくとも1手段を備えることが好
ましい。
In each of the above inventions, the host computer may include means for instructing initialization of the printer after the error recovery and before resending the print command, or in each of the above inventions, the printer may determine that the cause of the error has been eliminated. Means for initializing itself at the time of detection by the printer, and for notifying the host computer that the print command was unacceptable in response to reception of the print command before initialization after eliminating the cause of the error; Preferably, at least one of the two means is provided.

本発明に係る印刷システムは、 複数部数の印刷中に、エラーが発生した場合、ホスト
コンピュータに対し、印刷処理中であった印刷ページの
通し番号に加え、そのページの印刷の残り部数情報を報
告する手段を有するプリンタと、 エラー回復後、プリンタに対し、プリンタより報告を
受けた印刷ページの通し番号の示すページについて、プ
リンタより報告を受けた印刷の残り部数の印刷指示を含
む印刷コマンドを送信する手段を有するホストコンピュ
ータと、 を備えることが好ましい。
When an error occurs during printing of a plurality of copies, the printing system according to the present invention reports, to the host computer, information on the number of copies remaining to be printed on the page in addition to the serial number of the print page being printed. Means for transmitting, to the printer after error recovery, a print command including a print instruction for the remaining number of copies of the print reported by the printer for the page indicated by the serial number of the print page reported by the printer And a host computer having the following.

なお、前記各発明の実施に関しては、 ホストコンピュータがプリンタに印刷内容等を指示す
るための印刷コマンドに印刷ページ単位に通し番号を付
け、付けた印刷ページの通し番号を用いて、印刷コマン
ドを管理する手段を、プリンタおよびホストコンピュー
タ各々にもうけておく。
In the above embodiments, the host computer assigns a serial number to a print command for instructing a printer on the contents to be printed and the like on a print page basis, and manages the print command using the serial number of the attached print page. Is provided to each of the printer and the host computer.

〔作用〕[Action]

第1の発明によれば、 プリンタは、エラー発生時に印刷処理中であった印刷
ページの通し番号を、ホストコンピュータに報告し、ホ
ストコンピュータは、エラー回復後、プリンタに対し、
プリンタより報告された印刷ページの通し番号の示すペ
ージ以後の印刷コマンドを再送する。プリンタは、再送
を受けた印刷コマンドに従い、印刷ページの通し番号以
後の印刷を行なう。すなわち、印刷処理が再開続行す
る。
According to the first aspect, the printer reports to the host computer the serial number of the print page that was being printed when the error occurred.
The printer resends print commands following the page indicated by the serial number of the print page reported by the printer. The printer performs printing after the serial number of the print page in accordance with the retransmitted print command. That is, the printing process resumes and continues.

また、第2の発明の印刷システムでは、印刷を行うた
めに、ホストコンピュータは、プリンタに対し印刷内容
を指示する印刷コマンドを送信する。
In the printing system according to the second aspect of the invention, in order to perform printing, the host computer transmits a print command instructing a print content to the printer.

この印刷コマンドの管理を行なうため印刷コマンドを
印刷ページ単位に区切り、通し番号を付ける。前記通し
番号を印刷ページの通し番号と呼ぶ。
In order to manage the print commands, the print commands are divided into print pages and serial numbers are assigned. The serial numbers are referred to as print page serial numbers.

プリンタにおける印刷ページの通し番号は、印刷文書
の最初のページを基準として番号を増加させて付けてい
く。印刷ページの通し番号の更新は、印刷された用紙が
プリンタから排紙されたことを確認した時点で行なう。
The serial number of the print page in the printer is assigned by increasing the number based on the first page of the print document. Update of the serial number of the print page is performed when it is confirmed that the printed sheet has been discharged from the printer.

プリンタ内で紙ジャムエラー等のホストコンピュータ
からプリンタへの印刷コマンドの再送が必要なエラーが
発生した場合、プリンタは、エラー管理テーブルにエラ
ー種別やエラー発生時点で印刷を行なっていた印刷ペー
ジの印刷ページの通し番号等のエラー情報を格納する。
If an error that requires retransmission of a print command from the host computer to the printer, such as a paper jam error, occurs in the printer, the printer prints the error type in the error management table and the print page that was printing when the error occurred. Stores error information such as page serial numbers.

プリンタは、エラー発生をホストコンピュータにエラ
ー発生通知手段を用いて通知する。
The printer notifies the host computer of the occurrence of the error by using an error occurrence notifying unit.

ホストコンピュータは、エラー状態を確認するため、
プリンタ状態問合せコマンドをプリンタに対して送信す
る。プリンタは、本コマンド受信後、エラー管理テーブ
ルからエラー情報を読み出し、プリンタ状態報告手段を
用いてプリンタ状態をホストコンピュータに報告する。
The host computer checks the error status.
A printer status inquiry command is transmitted to the printer. After receiving this command, the printer reads the error information from the error management table, and reports the printer status to the host computer using the printer status reporting means.

ホストコンピュータは、プリンタからの情報を解析
し、ユーザに通知する。
The host computer analyzes the information from the printer and notifies the user.

ユーザがエラー原因排除後、プリンタ状態を初期化す
る。
After the user eliminates the cause of the error, the printer status is initialized.

ホストコンピュータは、プリンタの初期化終了後、プ
リンタから送られてきた印刷ページの通し番号以後の印
刷コマンドをプリンタに再送する。
After the initialization of the printer is completed, the host computer retransmits a print command subsequent to the serial number of the print page sent from the printer to the printer.

コマンドの再送を受けたプリンタは、エラー発生時点
以後からの印刷を続行する。すなわち、印刷処理が再開
続行する。
The printer that has received the command resend continues printing from the time when the error occurred. That is, the printing process resumes and continues.

なお、ホストコンピュータは、プリンタの初期化の指
示を、エラー回復後であって印刷コマンドの再送前に、
プリンタに送信する。
The host computer issues an instruction to initialize the printer after error recovery and before resending the print command.
Send to printer.

そして、このプリンタの初期化を指示するコマンドを
受信したプリンタは、自身の状態を初期化する。
The printer that has received the command to instruct the printer to initialize initializes its own state.

以上の作用により、エラー回復後であって、前記印刷
コマンドの再送前に、プリンタをホストコンピュータよ
り初期化できる。
According to the above operation, the printer can be initialized from the host computer after the error recovery and before the retransmission of the print command.

または、プリンタは、エラーの原因が排除されたこと
を検出し、自身を初期化し、前記エラー発生原因の排除
後の初期化前の印刷コマンドの受信に対し、該印刷コマ
ンドは受付け不可であったことをホストコンピューター
に報告し、報告を受けたホストコンピュータは、受付け
不可であったと報告のあった印刷コマンドを再送する。
Alternatively, the printer detects that the cause of the error has been eliminated, initializes itself, and cannot receive the print command before receiving the print command before the initialization after eliminating the cause of the error. This is reported to the host computer, and the host computer receiving the report resends the print command reported as unacceptable.

以上の作用により、プリンタの初期化後に正しく印刷
コマンドを再送することができる。
With the above operation, the print command can be retransmitted correctly after the initialization of the printer.

また、複数部数の印刷中に、エラーが発生した場合、
プリンタは、ホストコンピュータに対し、印刷処理中で
あった印刷ページの通し番号に加え、そのページの印刷
の残り部数情報を報告する。
If an error occurs while printing multiple copies,
The printer reports, to the host computer, information on the number of copies remaining to be printed on the page, in addition to the serial number of the print page being printed.

エラー回復後、ホストコンピュータは、プリンタに対
し、プリンタより報告を受けた印刷ページの通し番号の
ページについて、プリンタより報告を受けた印刷の残り
部数の印刷指示を含む印刷コマンドを送信する。
After the recovery from the error, the host computer transmits a print command including a print instruction of the number of remaining copies of the print reported by the printer to the printer with the serial number of the print page reported by the printer.

該印刷コマンドを受信したプリンタは、受信した印刷
コマンドに従い、印刷を行う。すなわち、印刷部数に関
しても印刷処理が再開続行する。
The printer that has received the print command performs printing in accordance with the received print command. That is, the printing process resumes with respect to the number of copies.

〔実施例〕〔Example〕

以下、本発明の第1の実施例を説明する。 Hereinafter, a first embodiment of the present invention will be described.

本装置の構成を第1図に示す。 FIG. 1 shows the configuration of this apparatus.

本装置は、ホストコンピュータ100とプリンタ110より
構成される。
This device includes a host computer 100 and a printer 110.

ホストコンピュータ100は、通信制御部101、コマンド
制御部102、記憶部103、表示部104、および、入力部105
から構成される。
The host computer 100 includes a communication control unit 101, a command control unit 102, a storage unit 103, a display unit 104, and an input unit 105
Consists of

通信制御部101は、後述するプリンタコントローラ111
との通信を制御する。コマンド制御部102は、通信によ
って送受信したデータを解析、実行する。記憶部103
は、印刷コマンドを記憶する。表示部104は、メッセー
ジの表示を行なう。入力部105は、ユーザからの入力を
受付ける。
The communication control unit 101 includes a printer controller 111 described later.
Control communication with The command control unit 102 analyzes and executes data transmitted and received by communication. Storage unit 103
Stores a print command. The display unit 104 displays a message. The input unit 105 receives an input from a user.

プリンタ110は、プリンタコントローラ111とプリンタ
エンジン112等より構成される。
The printer 110 includes a printer controller 111, a printer engine 112, and the like.

プリンタコントローラ111は、通信制御部113、コマン
ド制御部114、描画制御部115、異常処理制御部116、ペ
ージバッファ117、プリンタエンジン制御部118、タイマ
制御部119、および、エラー管理テーブル120から構成さ
れる。
The printer controller 111 includes a communication control unit 113, a command control unit 114, a drawing control unit 115, an abnormality processing control unit 116, a page buffer 117, a printer engine control unit 118, a timer control unit 119, and an error management table 120. You.

通信制御部113は、ホストコンピュータ100との通信を
制御する。コマンド制御部114は、通信コマンド等の解
析、および制御を行なう。
The communication control unit 113 controls communication with the host computer 100. The command control unit 114 analyzes and controls communication commands and the like.

描画制御部115は、前記コマンド制御部から受けとっ
た印刷コマンドに従って描画処理を行ない、文字、図形
等をドットイメージデータとしてページバッファ117上
に生成するとともに、描画の完了したページバッファ11
7についての印刷処理をプリンタエンジン制御部118へ指
示する。
The drawing control unit 115 performs a drawing process in accordance with the print command received from the command control unit, generates characters, figures, and the like as dot image data on the page buffer 117, and sets the page buffer 11 on which the drawing has been completed.
The print process for 7 is instructed to the printer engine control unit 118.

異常処理制御部116は、異常情報を格納するエラー管
理テーブル120を用いて異常発生時の処理をおこなう。
The abnormality processing control unit 116 performs processing when an abnormality occurs using the error management table 120 that stores the abnormality information.

タイマ制御部119は、排紙完了監視タイマ等のタイマ
制御を行なう。
The timer control unit 119 performs timer control such as a discharge completion monitoring timer.

プリンタエンジン制御部118は、ページバッファ117上
に描画されているドットイメージデータをプリンタエン
ジン部112が受信できる形式の信号に変換して、プリン
タエンジン部112へ出力する。
The printer engine control unit 118 converts the dot image data drawn on the page buffer 117 into a signal in a format that can be received by the printer engine unit 112, and outputs the signal to the printer engine unit 112.

プリンタエンジン部112は、入力された信号に従っ
て、紙面上への印刷を電子写真印刷メカニズムや、ワイ
ヤドット印刷メカニズムを用いて行なう。
The printer engine unit 112 performs printing on paper using an electrophotographic printing mechanism or a wire dot printing mechanism according to the input signal.

ホストコンピュータ100のコマンド制御部102および、
プリンタコントローラ111の描画制御部115は、それぞれ
印刷ページ単位に付ける通し番号の管理を行う印刷ペー
ジ管理手段106、121を有する。
A command control unit 102 of the host computer 100,
The drawing control unit 115 of the printer controller 111 has print page management units 106 and 121 for managing serial numbers assigned to each print page.

プリンタ側の動作フローを第2図に、ホストコンピュ
ータ側の動作フローを第3図に、および全体の通信シー
ケンスを第4図に示す。
FIG. 2 shows the operation flow on the printer side, FIG. 3 shows the operation flow on the host computer side, and FIG. 4 shows the entire communication sequence.

ホストコンピュータ100とプリンタコントローラ111
は、印刷コマンドを印刷ページ単位に区切り、各ページ
ごとに通し番号を付け、この通し番号を用いてページ単
位に印刷コマンドを印刷ページ管理手段(106,121)で
管理する。通し番号は、印刷文書の先頭ページを0とし
て、順次増加させていく。この通し番号を印刷ページ通
し番号と呼ぶ。
Host computer 100 and printer controller 111
The print command is divided into print pages, a serial number is assigned to each page, and the print commands are managed by the print page management means (106, 121) using the serial numbers. The serial number is sequentially increased with the first page of the print document set to 0. This serial number is called a print page serial number.

プリンタコントローラ111は、印刷ページ通し番号を
排紙完了(シーケンス139,140)毎に増加させる。こ
の、排紙完了の確認手順の詳細は後述する。
The printer controller 111 increases the print page serial number each time the discharge is completed (sequences 139 and 140). The details of the procedure for confirming the completion of paper ejection will be described later.

ホストコンピュータ100は、ユーザからの印刷指示
(ステップ306)があった場合、記憶部103から印刷コマ
ンドを読出し(ステップ322)プリンタコントローラ111
に送信する(ステップ323)。
When receiving a print instruction from the user (step 306), the host computer 100 reads a print command from the storage unit 103 (step 322), and the printer controller 111
(Step 323).

プリンタコントローラ111は、コマンドを受信(ステ
ップ201)し、印刷コマンドならば(ステップ218)印刷
処理(ステップ219)を開始する。印刷処理(ステップ2
19)で、排紙完了検出および描画制御部115からプリン
タエンジン制御部へのページバッファ読出し要求等の処
理を行なう。
The printer controller 111 receives the command (step 201), and if it is a print command (step 218), starts the printing process (step 219). Printing process (step 2
In step 19), processing such as detection of the completion of paper ejection and a page buffer read request from the drawing control unit 115 to the printer engine control unit is performed.

紙ジャムエラーがプリンタエンジン部112で発生した
場合、プリンタエンジン部112は、プリンタエンジン制
御部118にその旨通知する(ステップ220)。
If a paper jam error has occurred in the printer engine unit 112, the printer engine unit 112 notifies the printer engine control unit 118 of that (step 220).

通知を受けたプリンタエンジン制御部118は、エラー
種別を確認した後、異常処理制御部116に通知する。
After receiving the notification, the printer engine control unit 118 checks the error type, and then notifies the abnormality processing control unit 116.

異常処理制御部116は、描画制御部115に対して前記描
画処理と前記印刷処理の中断要求を行なう(ステップ20
2)。また、エラー管理テーブル120にエラー発生時に印
刷中であった印刷ページの印刷ページ通し番号、エラー
種別が紙ジャムエラー発生であること等を格納する(ス
テップ203)。
The abnormality processing control unit 116 requests the drawing control unit 115 to interrupt the drawing process and the printing process (step 20).
2). The error management table 120 stores the print page serial number of the print page being printed at the time of the error occurrence, the fact that the error type is a paper jam error, and the like (step 203).

コマンド制御部114は、エラー発生通知の内容を作成
し、通信制御部113に送信要求を出す。
The command control unit 114 creates the content of the error occurrence notification, and issues a transmission request to the communication control unit 113.

送信要求を受けた通信制御部113は、本通知内容をホ
ストコンピュータ100に対して送信する(ステップ204、
シーケンス402)。
Upon receiving the transmission request, the communication control unit 113 transmits this notification content to the host computer 100 (step 204,
Sequence 402).

ホストコンピュータ100の通信制御部101は、前記エラ
ー発生通知を受信し(ステップ313)、コマンド制御部1
02に通知する。
The communication control unit 101 of the host computer 100 receives the error occurrence notification (Step 313), and
Notify 02.

コマンド制御部102は、エラー発生通知を受信した場
合、エラー内容を確認するためプリンタ状態問合せコマ
ンドを作成し通信制御部101に送信を要求し、本コマン
ドを送信する(ステップ302、シーケンス403)。
When receiving the error occurrence notification, the command control unit 102 creates a printer status inquiry command to confirm the error content, requests transmission to the communication control unit 101, and transmits this command (step 302, sequence 403).

プリンタコントローラ111の通信制御部113がプリンタ
状態問合せコマンドを受信すると(ステップ205)、コ
マンド制御部114はプリンタ状態問合せコマンドに対す
る応答データを作成するため、エラー管理テーブル120
からエラー情報を読み出す。
When the communication control unit 113 of the printer controller 111 receives the printer status inquiry command (step 205), the command control unit 114 creates the response data to the printer status inquiry command.
Read error information from.

本応答データの作成の後(ステップ206)、通信制御
部113からプリンタ状態報告がホストコンピュータに送
信される(ステップ207、シーケンス404)。
After the creation of this response data (step 206), a printer status report is transmitted from the communication control unit 113 to the host computer (step 207, sequence 404).

ホストコンピュータ100の通信制御部101は、受信した
報告をコマント制御部102に通知する(ステップ303)。
The communication control unit 101 of the host computer 100 notifies the received report to the command control unit 102 (step 303).

コマンド制御部102は、紙ジャムエラー発生が判明し
た時点で、表示部104に紙ジャムエラーが発生したこと
を表示させる(ステップ313)。
When it is determined that a paper jam error has occurred, the command control unit 102 causes the display unit 104 to display that a paper jam error has occurred (step 313).

その後、エラー発生中(ステップ301)となり、ユー
ザからの指示待ちとなる(ステップ320、シーケンス40
8)。
Thereafter, an error occurs (step 301), and an instruction from the user is waited for (step 320, sequence 40).
8).

ユーザは、ジャム紙をプリンタから取除く等の処置を
行ないエラー原因を排除した後(シーケンス410)、入
力部105からエラー回復指示を与える(シーケンス40
9)。
The user removes the cause of the error by removing the jammed paper from the printer (sequence 410), and then gives an error recovery instruction from the input unit 105 (sequence 40).
9).

ホストコンピュータは、ユーザからの指示(ステップ
320)に従い、プリンタコントローラ111を印刷可能とす
るためキャンセルコマンドをコマンド制御部102で作成
し、通信制御部101から送信させる(ステップ321、シー
ケンス405)。
The host computer receives instructions from the user (step
According to 320), a cancel command is created by the command control unit 102 to enable the printer controller 111 to print, and transmitted from the communication control unit 101 (step 321, sequence 405).

紙ジャムエラー等のコマンド再送が必要なエラーの場
合は前記エラー処理を行なう。もし、それ以外のエラー
なら(ステップ324)、発生したエラーに対応した適当
なエラー処理を行なう(ステップ325)。
In the case of an error requiring a command retransmission such as a paper jam error, the error processing is performed. If any other error occurs (step 324), appropriate error processing corresponding to the error that has occurred is performed (step 325).

プリンタコントローラ111は、キャンセルコマンドを
通信制御部113にて受信すると、コマンド制御部114に通
知する(ステップ211)。
When the communication controller 113 receives the cancel command, the printer controller 111 notifies the command controller 114 (step 211).

コマンド制御部114は、キャンセルコマンドを実行す
る。すなわち、プリンタ状態を初期化するため、描画制
御部115にページバッファ117のクリア等を行なわせる
(ステップ212)。
The command control unit 114 executes a cancel command. That is, in order to initialize the printer state, the drawing control unit 115 is caused to clear the page buffer 117 (step 212).

続いて、コマンド制御部114は、キャンセルが終了し
たことをホストコンピュータ100に通知するため、キャ
ンセル終了報告を作成し、通信制御部113に送信させる
(ステップ213、シーケンス406)。そして、送信後、プ
リンタを印刷可能状態に設定する(ステップ214)。
Subsequently, the command control unit 114 creates a cancellation end report to notify the host computer 100 that the cancellation has been completed, and causes the communication control unit 113 to transmit the report (step 213, sequence 406). Then, after transmission, the printer is set in a printable state (step 214).

ホストコンピュータ100は、通信制御部101にてキャン
セル終了報告を受信の後(ステップ308)、紙ジャムエ
ラー発生時点以後のページから再印刷を行なわせるた
め、プリンタ状態報告(シーケンス404)に含まれてい
た印刷ページ通し番号以後の印刷コマンドを記憶部103
から読み出した後(ステップ311)、プリンタコントロ
ーラ111へ送信する(ステップ312、シーケンス407)。
After receiving the cancellation end report by the communication control unit 101 (step 308), the host computer 100 is included in the printer status report (sequence 404) in order to reprint from the page after the paper jam error occurred. Storage unit 103 stores the print command after the print page serial number
(Step 311), and then sends it to the printer controller 111 (step 312, sequence 407).

プリンタコントローラ111は、受信した印刷コマンド
(ステップ218)に従って印刷を再開する(ステップ21
9)。
The printer controller 111 resumes printing according to the received print command (step 218) (step 21).
9).

結果、紙ジャムエラー発生ページ以後からの印刷がな
される。
As a result, printing is performed from the page after the page where the paper jam error has occurred.

本実施例によれば、プリンタに紙ジャムエラーが発生
した場合でも、プリンタ内にエラー回復専用のコマンド
バッファを設けないで、エラー発生以後の印刷を再開で
きる。従って、印刷システムのコストを低くし、信頼
性、稼働性を高めることが出来る。
According to this embodiment, even when a paper jam error occurs in the printer, printing after the occurrence of the error can be resumed without providing a command buffer dedicated to error recovery in the printer. Therefore, the cost of the printing system can be reduced, and the reliability and operability can be improved.

なお、ここで前述したように、印刷ページの通し番号
を更新するのに必要な、排紙完了確認手順について説明
する。
Note that, as described above, a description will be given of a discharge completion confirmation procedure required to update the serial number of a print page.

第5図に、排紙完了確認の動作シーケンスの1例を示
す。
FIG. 5 shows an example of an operation sequence for confirming discharge completion.

本図を用いて、各印刷ページ通し番号のページについ
ての排紙完了確認の手順を説明する。
With reference to this figure, a procedure for confirming the discharge completion of the page of each print page serial number will be described.

描画制御部115がプリンタエンジン制御部118に対して
ページバッファ117内のデータのプリンタエンジン部112
への読み出し指示(以下、単にページバッファ読み出し
指示という)を行なった(シーケンス130,133)時にタ
イマ制御部119に排紙監視タイマを開始するように要求
(シーケンス131,134)する。
The drawing control unit 115 instructs the printer engine control unit 118 to print the data in the page buffer 117 to the printer engine unit 112.
When a readout instruction (hereinafter simply referred to as a page buffer readout instruction) is issued (sequences 130 and 133), a request is made to the timer control unit 119 to start the discharge monitoring timer (sequences 131 and 134).

プリンタエンジン制御部118は、プリンタエンジン部1
12に対して描画データを送信する(シーケンス137,13
8)。
The printer engine control unit 118 includes the printer engine unit 1
Send drawing data to 12 (sequences 137 and 13
8).

プリンタエンジン部112が描画データを受信すると印
刷を行ない、その後、排紙する(シーケンス139,14
0)。
When the printer engine unit 112 receives the drawing data, it performs printing, and then discharges the paper (sequences 139 and 14).
0).

タイマ制御部119は、監視時間経過後、タイマ制御部1
19が描画制御部115に監視時間終了を通知(シーケンス1
32,135,136)する。
After the monitoring time has elapsed, the timer control unit 119
19 notifies the drawing control unit 115 of the end of the monitoring time (sequence 1
32,135,136).

描画制御部115はページバッファ読出し要求をプリン
タエンジン制御部118に出してからプリンタエンジン部1
12が排紙するまでにかかるはずの時間内に異常がなけれ
ば排紙が完了したものとして、印刷ページ通し番号を増
加させる(シーケンス141,142,143)。
The drawing control unit 115 issues a page buffer read request to the printer engine
If there is no abnormality within the time supposed to take until the sheet 12 is discharged, it is determined that the sheet has been discharged, and the print page serial number is increased (sequences 141, 142, 143).

監視時間は、印刷用紙サイズにより異なり、タイマ制
御部119に排紙監視タイマの開始を要求する際に設定す
る。
The monitoring time differs depending on the print paper size, and is set when requesting the timer control unit 119 to start the discharge monitoring timer.

次に、本発明の第2実施例を説明する。 Next, a second embodiment of the present invention will be described.

プリンタコントローラ111の動作フローを第6図に、
ホストコンピュータ100の動作フローを第7図に、全体
の通信シーケンスを第8図に示す。
The operation flow of the printer controller 111 is shown in FIG.
FIG. 7 shows an operation flow of the host computer 100, and FIG. 8 shows an entire communication sequence.

本実施例は、第1実施例で用いていたキャンセルコマ
ンドを使用せず、プリンタ自身がエラー状態を監視し、
紙ジャムエラーが排除された時に自動的に初期化を行な
い印刷可能状態となるものである。
In this embodiment, the printer itself monitors an error state without using the cancel command used in the first embodiment,
When the paper jam error is eliminated, the initialization is automatically performed and a printable state is set.

プリンタコントローラ111は、ホストコンピュータ100
に対しプリンタ状態報告を送信した後(シーケンス40
4)、エラー状態の監視を行なう(ステップ217、60
1)。エラー原因が排除された事を検出すると実施例1
と同様に現在の状態を初期化し(ステップ602)、印刷
可能状態となる(ステップ603)。
The printer controller 111 is connected to the host computer 100
After sending a printer status report to
4), monitor the error status (steps 217 and 60)
1). Example 1 when detecting that the cause of the error has been eliminated
Similarly, the current state is initialized (step 602), and the printable state is set (step 603).

もし、発生したエラーが、コマンド再送不要なもので
あれば(ステップ609)、他のエラー処理を行なう(ス
テップ610)。
If the error that has occurred does not require command retransmission (step 609), another error processing is performed (step 610).

ホストコンピュータ100は、ユーザからのエラー回復
指示後(ステップ320)、コマンド再送が必要なエラー
であれば(ステップ324)、印刷ページ通し番号以後の
印刷コマンドを記憶部103から読み出し(ステップ31
1)、プリンタコントローラ111に送信する(ステップ70
5,806)。
After an error recovery instruction from the user (step 320), if an error requires a command retransmission (step 324), the host computer 100 reads out a print command subsequent to the print page serial number from the storage unit 103 (step 31).
1) and sends it to the printer controller 111 (step 70)
5,806).

プリンタコントローラ111は、印刷コマンドを受信し
た時、エラー原因が残っているか、初期化が完了してい
ない場合(ステップ604)、コマンド受付不可報告をホ
ストコンピュータに対して送信する(ステップ605、シ
ーケンス801)。
When the printer controller 111 receives the print command, if the cause of the error remains or the initialization is not completed (step 604), the printer controller 111 transmits a command refusal report to the host computer (step 605, sequence 801). ).

ホストコンピュータ100は、コマンド受付不可報告を
受信すると(ステップ702)、一定時間待ってから印刷
コマンドを再送する(ステップ703,705、シーケンス80
4)。
Upon receiving the command refusal report (step 702), the host computer 100 waits for a certain period of time and resends the print command (steps 703 and 705, sequence 80).
Four).

プリンタコントローラ111は、印刷コマンド受信時に
エラーがなく、初期化が完了していた場合(ステップ60
4)は、コマンドを正常受信した事をコマンド受信報告
にてホストコンピュータ100へ報告した後、印刷の再開
を行なう(ステップ607、608、シーケンス805)。
If there is no error when the print command is received and the initialization has been completed (step 60)
In 4), after the command reception report to the host computer 100 that the command has been normally received, printing is restarted (steps 607 and 608, sequence 805).

本実施例には、第1実施例の効果に加え、キャンセル
コマンドによるプリンタ状態の初期化が不要となったこ
とによりエラー回復シーケンスを簡略化出来るという効
果がある。
In the present embodiment, in addition to the effect of the first embodiment, there is an effect that the error recovery sequence can be simplified because the initialization of the printer state by the cancel command becomes unnecessary.

次に、本発明の第3実施例を説明する。 Next, a third embodiment of the present invention will be described.

プリンタ側の動作フローを第2図、第6図、ホストコ
ンピュータ側の動作フローを示す第7図を用いて説明す
る。
The operation flow on the printer side will be described with reference to FIGS. 2 and 6, and FIG. 7 showing the operation flow on the host computer side.

1ページを複数枚印刷するマルチページ印刷におい
て、紙ジャムエラー等のホストコンピュータ100からプ
リンタコントローラ111への印刷コマンドの再送が必要
なエラーが発生した場合について説明する。
A description will be given of a case where an error that requires retransmission of a print command from the host computer 100 to the printer controller 111, such as a paper jam error, occurs in multi-page printing for printing a plurality of pages.

第1実施例、第2実施例において、エラー発生時にプ
リンタコントローラ111がエラー管理テーブル120に格納
するエラー情報に、エラー発生時点で、印刷が終ってい
ない残りのマルチページ印刷部数を示す残り印刷部数を
加えたものを、本実施例のエラー情報とする。
In the first and second embodiments, the error information stored in the error management table 120 by the printer controller 111 at the time of occurrence of an error includes the remaining number of print copies indicating the number of remaining multi-page print copies that have not been printed at the time of occurrence of the error. Is added to the error information of the present embodiment.

マルチページ印刷において、ホストコンピュータは、
前記印刷コマンドを用い、各印刷ページについて総印刷
部数を指示する。プリンタは、各印刷ページについて、
総印刷部数分同一内容を印刷する。
In multi-page printing, the host computer
The print command is used to indicate the total number of copies for each print page. For each print page, the printer
Print the same content for the total number of copies.

本マルチページ印刷中に紙ジャムエラーが発生した場
合、プリンタコントローラ111は、エラー管理テーブル1
20に、エラー情報として、エラー種別、印刷ページ通し
番号、残り印刷部数を計算し、格納する(ステップ20
3)。ここで残り印刷部数とは、エラーが発生した印刷
ページについて総印刷部数から印刷の完了した現在印刷
枚数を引いた数値である。
If a paper jam error occurs during multi-page printing, the printer controller 111 sends the error management table 1
In step 20, the error type, the print page serial number, and the number of remaining copies are calculated and stored as error information (step 20).
3). Here, the remaining number of copies is a numerical value obtained by subtracting the current number of printed pages from the total number of copies for the print page in which the error has occurred.

プリンタコントローラ111は、ホストコンピュータ100
へエラーが発生したことをエラー発生通知を送信し、通
知する(ステップ204)。
The printer controller 111 is connected to the host computer 100
Then, an error occurrence notification is transmitted to notify that an error has occurred (step 204).

エラー発生通知を受信したホストコンピュータ100は
(ステップ301)、プリンタ状態問合せコマンドをプリ
ンタコントローラ111に対し送信する(ステップ302)。
Upon receiving the error notification (step 301), the host computer 100 transmits a printer status inquiry command to the printer controller 111 (step 302).

プリンタ状態問合せコマンドを受信したプリンタコン
トローラ111は(ステップ205)、エラー管理テーブル12
0から、エラー種別、印刷ページ通し番号、残り印刷部
数のエラー情報を読み出し(ステップ206)、応答デー
タを作成した後、プリンタ状態報告をホストコンピュー
タ100に対し送信する(ステップ207)。
The printer controller 111 that has received the printer status inquiry command (step 205) sends the error management table 12
From 0, the error information of the error type, the print page serial number, and the remaining number of copies is read (step 206), and after creating response data, a printer status report is transmitted to the host computer 100 (step 207).

ホストコンピュータ100は、受信したプリンタ状態報
告(ステップ306)に含まれているエラー情報を読みだ
す。エラー情報のエラー種別から紙ジャムエラー発生し
たことが判明し、印刷ページ通し番号から印刷の再開を
開始するページの印刷コマンドが判明する。また残り印
刷部数から、次にプリンタに対して指示する本印刷ペー
ジ通し番号のページについての総印刷部数が判明する。
The host computer 100 reads out the error information included in the received printer status report (Step 306). It is determined from the error type of the error information that a paper jam error has occurred, and the print command of the page to start resuming printing is determined from the print page serial number. Also, the total number of prints for the page of the next print page serial number to be instructed to the printer is determined from the remaining number of prints.

プリンタコントローラ111の初期化が終了した後(ス
テップ602,603)、ホストコンピュータ100は、前記エラ
ー情報に基づき、マルチページ印刷を行なう残りの印刷
部数を指定し、印刷コマンドをプリンタコントローラ11
1に送信する(ステップ705)。
After the initialization of the printer controller 111 is completed (steps 602 and 603), the host computer 100 specifies the remaining number of copies to be printed in multi-page printing based on the error information, and issues a print command to the printer controller 11 (step 602).
Send to 1 (step 705).

プリンタコントローラ111は、本コマンドを受信した
後(ステップ218)、印刷の再開を行なう(ステップ60
8)。
After receiving this command (step 218), the printer controller 111 resumes printing (step 60).
8).

結果、エラー発生ページ以後からの印刷が、マルチペ
ージ印刷でも行なえる。
As a result, printing from the page after the error page can be performed by multi-page printing.

また、通常印刷においても、マルチページ印刷の印刷
部数が1部であるとすることにより、支障なく動作す
る。
Also, in normal printing, the operation is performed without any trouble by assuming that the number of copies of multi-page printing is one.

また、エラー情報に、残り印刷部数を格納したが、こ
れをエラー発生以前に印刷が完了した部数を示す現在印
刷部数としても良い。
Further, although the number of remaining copies is stored in the error information, this may be used as the current number of copies indicating the number of copies completed before the error occurred.

前記現在印刷部数を用いた場合は、ホストコンピュー
タ100側で、総印刷部数から現在印刷部数を引くことに
より残り印刷部数を計算し、プリンタコントローラ111
に指示を行なう。
When the current number of prints is used, the host computer 100 calculates the remaining number of prints by subtracting the current number of prints from the total number of prints.
Instruct

本実施例は、第1実施例、第2実施例の効果に加え、
1ページを複数枚印刷するマルチページ印刷時のエラー
に対してもエラー回復が行なえるという効果がある。
This embodiment has the advantages of the first and second embodiments,
There is an effect that error recovery can be performed even for an error at the time of multi-page printing for printing a plurality of one page.

第9図に第1実施例、第2実施例、および第3実施例
で使用したコマンドの一覧表を示す。図中、901はエラ
ー発生通知、902はプリンタ状態問合せコマンド、905は
プリンタ状態報告、903はキャンセルコマンド、904はキ
ャンセル処理終了報告、906は印刷コマンド、907はコマ
ンド受信受付不可報告、908はコマンド受信報告であ
る。
FIG. 9 shows a list of commands used in the first, second, and third embodiments. In the figure, 901 is an error occurrence notification, 902 is a printer status inquiry command, 905 is a printer status report, 903 is a cancel command, 904 is a cancel processing end report, 906 is a print command, 907 is a command reception refusal report, and 908 is a command This is a reception report.

第1実施例では、901,902,903,904,905および906を使
用し、第2実施例では、901,902,905,906,907および908
を使用した。
In the first embodiment, 901,902,903,904,905 and 906 are used, and in the second embodiment, 901,902,905,906,907 and 908 are used.
It was used.

第3実施例では、第1実施例、第2実施例どちらのコ
マンドを用いても実現することが出来る。
The third embodiment can be realized by using any of the commands of the first embodiment and the second embodiment.

902,903および906は、ホストコンピュータ100から送
信し、プリンタコントローラ111が受信するコマンド、9
01,904,905,907および908は、プリンタコントローラ111
が送信し、ホストコンピュータ100が受信する報告であ
る。第1実施例では、902,905及び903,904は、対のシー
ケンスでありコマンド902,903に対する報告が905および
904である。第2実施例では、902,905および906,907,90
8が対のシーケンスでありコマンド902に対する報告が90
5,コマンド906に対する報告が907,908である。
902, 903 and 906 are commands transmitted from the host computer 100 and received by the printer controller 111, 9
01,904,905,907 and 908 are the printer controller 111
Is transmitted and received by the host computer 100. In the first embodiment, 902, 905 and 903, 904 are a paired sequence, and the reports for the commands 902, 903 are 905 and 903.
904. In the second embodiment, 902,905 and 906,907,90
8 is the paired sequence and 90 for the command 902
5, Reports for the command 906 are 907,908.

なお、以上の実施例ではコマンドに対する応答データ
として報告を用いたが、応答ではなくコマンドを用いて
実現しても良い。
In the above embodiment, the report is used as the response data to the command. However, the report may be realized by using the command instead of the response.

また、本発明は、ホストコンピュータからプリンタへ
印刷コマンドを再送することで回復できるエラーなら
ば、紙ジャム以外のエラーについても同様にして適用で
きる。
Further, the present invention can be similarly applied to an error other than a paper jam as long as the error can be recovered by resending the print command from the host computer to the printer.

例えば、プリンタエンジン部112のカバーを印刷途中
で開けられた場合のドアオープンエラーや、ページバッ
ファ117からプリンタエンジン部112へのデータを読み出
し中にパリティエラーが検出された場合のページバッフ
ァパリティエラー等に適用できる。
For example, a door open error when the cover of the printer engine unit 112 is opened during printing, a page buffer parity error when a parity error is detected while reading data from the page buffer 117 to the printer engine unit 112, and the like. Applicable to

また、プリントコントローラ111はエラー発生時、ホ
ストコンピュータ100に対してエラーが発生したことを
通知するためエラー発生通知(シーケンス402)をホス
トコンピュータ100に送信しているが、エラー発生通知
(シーケンス402)において、前記エラー情報も入れて
報告することにより、ホストコンピュータ100からプリ
ンタコントローラ111へ送信されるプリンタ状態問合せ
コマンド(シーケンス403)、プリンタコントローラ111
からホストコンピュータ100へ送信されるプリンタ状態
報告(シーケンス404)のシーケンスを省くようにして
も良い。
When an error occurs, the print controller 111 transmits an error occurrence notification (sequence 402) to the host computer 100 to notify the host computer 100 that the error has occurred. In step (3), a printer status inquiry command (sequence 403) transmitted from the host computer 100 to the printer controller 111 by reporting the error information.
The sequence of the printer status report (sequence 404) transmitted from the printer to the host computer 100 may be omitted.

また、第2実施例はプリンタコントローラが初期化処
理(ステップ602、603)を終了した後、ホストコンピュ
ータ100に対し、コマンド受付可能コマンドを送信し、
それを受けて、ホストコンピュータ100が印刷コマンド
の再送を開始することにより実現してもよい。
In the second embodiment, after the printer controller has completed the initialization processing (steps 602 and 603), the printer controller transmits a command acceptable command to the host computer 100,
In response to this, the host computer 100 may start the retransmission of the print command, thereby realizing the present invention.

なお、第1図の各部は、マイクロプロセッサ、RAM、R
OM、LSI、論理IC、電子写真印刷メカニズム、ワイヤド
ット印刷メカニズム等を用いて実現する事が出来る。
Each part in FIG. 1 includes a microprocessor, a RAM,
It can be realized using OM, LSI, logic IC, electrophotographic printing mechanism, wire dot printing mechanism, etc.

〔発明の効果〕〔The invention's effect〕

本発明によれば、プリンタエラーが発生した場合の回
復をプリンタ単体では行なわず、エラー回復後にワーク
ステーション(ホストコンピュータ)が印刷未終了分の
印刷コマンドを再送することにより行なうので、プリン
タはホストコンピュータより送られた印刷コマンドを、
その印刷コマントの印刷処理の正常終了である排紙完了
を確認するまで保持する必要がない。すなわち、本発明
に係る印刷システムにおいては、印刷コマンドを描画処
理が完了するまでのみ保持すればよい。
According to the present invention, the recovery when a printer error occurs is not performed by the printer alone, but is performed by the workstation (host computer) after the error recovery by resending the print command of the unfinished printing. Print command sent from
It is not necessary to hold the print command until it confirms the discharge completion, which is the normal end of the print processing of the print command. That is, in the printing system according to the present invention, the print command need only be held until the drawing processing is completed.

一般的に、1ページの、排紙完了までは描画処理が完
了するまでの3倍程度以上の時間を要するので、本発明
に係る印刷システムは、印刷コマンドバッファの量を従
来の1/3程度以下にすることができる。したがって、印
刷システムのコストを低減し、信頼性、稼働性を向上で
きるという効果がある。
Generally, it takes about three times or more time to complete the drawing process until one page is discharged. Therefore, the printing system according to the present invention reduces the amount of the print command buffer to about one third of the conventional size. It can be: Therefore, there is an effect that the cost of the printing system can be reduced and reliability and operability can be improved.

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

第1図は、本発明の装置構成を示すブロック図、第2図
は、第1実施例のプリンタ側の処理手順を示すフローチ
ャート、第3図は、第1実施例のホストコンピュータ側
の処理手順を示すフローチャート、第4図は、第1実施
例のプリンタとホストコンピュータ間の通信手順を示す
シーケンス図、第5図は、プリンタエンジン部112にお
ける排紙確認手順を示すシーケンス図、第6図は、第2
実施例、第3実施例のプリンタ側の処理手順を示すフロ
ーチャート、第7図は、第2実施例、第3実施例のホス
トコンピュータ側の処理手順を示すフローチャート、第
8図は、第2実施例のプリンタとホストコンピュータ間
の通信手順を示すシーケンス図、第9図は、第1実施
例、第2実施例、および第3実施例のプリンタとホスト
コンピュータ間で通信を行なう為のコマンドおよびコマ
ンドに対する報告を示す一覧図である。 100…ホストコンピュータ、101…通信制御部、102…コ
マント制御部、106…印刷ページ管理手順、110…プリン
タ、111…プリンタコントローラ、112…プリンタエンジ
ン部、113…通信制御部、114…コマンド制御部、115…
描画制御部、116…異常処理制御部、117…ページバッフ
ァ、118…プリンタエンジン制御部、120…エラー管理テ
ーブル、121…印刷ページ管理手段、
FIG. 1 is a block diagram showing an apparatus configuration of the present invention, FIG. 2 is a flowchart showing a processing procedure on the printer side of the first embodiment, and FIG. 3 is a processing procedure on a host computer side of the first embodiment. FIG. 4 is a sequence diagram showing a communication procedure between the printer and the host computer of the first embodiment, FIG. 5 is a sequence diagram showing a paper discharge confirmation procedure in the printer engine unit 112, and FIG. , Second
FIG. 7 is a flowchart showing the processing procedure on the printer side of the embodiment and the third embodiment, FIG. 7 is a flowchart showing the processing procedure on the host computer side of the second embodiment and the third embodiment, and FIG. FIG. 9 is a sequence diagram showing a communication procedure between the printer and the host computer of the example, and FIG. 9 shows commands and commands for performing communication between the printer and the host computer of the first, second, and third embodiments. FIG. 100 host computer, 101 communication control unit, 102 command control unit, 106 print page management procedure, 110 printer, 111 printer controller, 112 printer engine unit, 113 communication control unit, 114 command control unit , 115 ...
Drawing control unit, 116: abnormality processing control unit, 117: page buffer, 118: printer engine control unit, 120: error management table, 121: print page management unit,

───────────────────────────────────────────────────── フロントページの続き (72)発明者 中嶋 俊幸 神奈川県横浜市戸塚区吉田町292番地 株式会社日立マイクロソフトウェアシス テムズ内 (72)発明者 麻生 忠彦 神奈川県横浜市戸塚区吉田町292番地 株式会社日立マイクロソフトウェアシス テムズ内 (72)発明者 中根 啓一 神奈川県横浜市戸塚区吉田町292番地 株式会社日立製作所マイクロエレクトロ ニクス機器開発研究所内 (56)参考文献 特開 昭63−37420(JP,A) 特開 昭64−23323(JP,A) 特開 平1−251224(JP,A) 特開 平1−227168(JP,A) (58)調査した分野(Int.Cl.7,DB名) B41J 29/46 B41J 29/38 G06F 3/12 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Toshiyuki Nakajima 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Within Hitachi Micro Software Systems Co., Ltd. (72) Inventor Tadahiko Aso 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Stock (72) Keiichi Nakane, Inventor Keiichi Nakane 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture, Japan Microelectronics Equipment Development Laboratory, Hitachi, Ltd. (56) References JP-A-63-37420 (JP, A) JP-A-64-23323 (JP, A) JP-A-1-251224 (JP, A) JP-A-1-227168 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) B41J 29/46 B41J 29/38 G06F 3/12

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】相互に通信可能なホストコンピュータとプ
リンタからなる印刷システムのエラー回復方法におい
て、 前記ホストコンピュータは、記憶手段に格納している印
刷コマンドを前記プリンタに送信するとともに、該印刷
コマンドを印刷ページ単位に区切って管理し、 前記プリンタは、前記印刷コマンドを受信すると印刷ペ
ージ単位に区切り、該印刷ページ単位毎に通し番号を付
与し、前記印刷コマンドにしたがてドットイメージデー
タを生成し、該ドットイメージデータの印刷処理をおこ
ない、 印刷コマンドの再送が必要なエラーが発生すると、前記
プリンタは再送が必要な印刷ページの通し番号を前記ホ
ストコンピュータに報告し、 エラー回復後、前記ホストコンピュータは、前記印刷ペ
ージ単位に管理している印刷コマンドのうち報告された
印刷ページ番号以降の印刷コマンドを前記記憶手段より
読み出して前記プリンタに再送することを特徴とした印
刷システムのエラー回復方法。
An error recovery method for a printing system comprising a host computer and a printer capable of communicating with each other, wherein the host computer transmits a print command stored in a storage unit to the printer, and transmits the print command to the printer. When the printer receives the print command, the printer divides the print page into units, assigns a serial number to each print page unit, and generates dot image data according to the print command. Performing the printing process of the dot image data, if an error that requires retransmission of a print command occurs, the printer reports the serial number of the print page that requires retransmission to the host computer, and after error recovery, the host computer The print command managed by the print page unit An error recovery method for a printing system, wherein a print command subsequent to a reported print page number is read from the storage unit and retransmitted to the printer.
【請求項2】相互に通信可能なホストコンピュータとプ
リンタからなり、前記ホストコンピュータは、前記プリ
ンタに対して印刷コマンドを送信し、前記プリンタは、
前記ホストコンピュータから送信される前記印刷コマン
ドの内容に従い、印刷を実行する印刷システムにおい
て、 前記プリンタは、前記印刷コマンドを印刷ページ単位に
区切り、区切られた各印刷ページ毎に通し番号を付与す
る印刷コマンド管理手段と、 印刷コマンドの再送が必要なエラーが発生した時に、再
送が必要な印刷ページの通し番号を有するエラー情報を
記憶するエラー情報管理テーブルと、 前記エラー情報管理テーブルに記憶された内容を前記ホ
ストコンピュータに報告する報告手段とを有し、 前記ホストコンピュータは、前記印刷コマンドを記憶す
る記憶手段と、 前記印刷コマンドを印刷ページ単位に区切って管理する
管理手段と、 前記記憶手段に記憶されている印刷コマンドのうちエラ
ーの回復後に前記プリンタの報告手段から報告されたエ
ラー情報に含まれている印刷ページの通し番号が示すペ
ージ以後の印刷コマンドを前記管理手段を用いて前記記
憶手段から読み出し再送する再送手段とを有することを
特徴とする印刷システム。
2. A printer comprising a host computer and a printer capable of communicating with each other, wherein the host computer sends a print command to the printer, and the printer
In a printing system that executes printing in accordance with the content of the print command transmitted from the host computer, the printer separates the print command into print pages and assigns a serial number to each of the divided print pages. A management unit, an error information management table that stores error information having a serial number of a print page that requires retransmission when an error that requires retransmission of the print command occurs, and the content stored in the error information management table is A report unit for reporting to the host computer, wherein the host computer stores the print command; a management unit that manages the print command in print page units; and a storage unit that is stored in the storage unit. Of the printer after recovery from the error Printing system; and a retransmission means for reading resend the page after the print command indicated by the serial number of print pages included in the reported error information from stage from the storage means using said management means.
JP1295065A 1989-11-15 1989-11-15 Printing system and its error recovery method Expired - Fee Related JP3034540B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1295065A JP3034540B2 (en) 1989-11-15 1989-11-15 Printing system and its error recovery method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1295065A JP3034540B2 (en) 1989-11-15 1989-11-15 Printing system and its error recovery method

Publications (2)

Publication Number Publication Date
JPH03155974A JPH03155974A (en) 1991-07-03
JP3034540B2 true JP3034540B2 (en) 2000-04-17

Family

ID=17815863

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1295065A Expired - Fee Related JP3034540B2 (en) 1989-11-15 1989-11-15 Printing system and its error recovery method

Country Status (1)

Country Link
JP (1) JP3034540B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5664074A (en) 1990-10-30 1997-09-02 Hitachi, Ltd. Print control apparatus with error recovery function and its print control method
EP0619562B1 (en) * 1993-03-08 1998-12-16 Canon Kabushiki Kaisha Printing apparatus and printing processing method
US6975423B2 (en) 1993-11-08 2005-12-13 Seiko Epson Corporation Printing apparatus and a control method therefor
US5592683A (en) * 1994-03-18 1997-01-07 Ibm Corporation System for selectively processing nested print commands and buffered post-print commands thereafter and resending selected portion of data stream upon error detection
JP3202519B2 (en) * 1995-01-31 2001-08-27 シャープ株式会社 Data printing output device
DE69633580T2 (en) * 1996-03-22 2005-12-15 Hitachi, Ltd. PRESSURE SYSTEM
JP3652153B2 (en) * 1999-01-18 2005-05-25 キヤノン株式会社 Image output apparatus and control method thereof
JP5994514B2 (en) * 2012-09-20 2016-09-21 ブラザー工業株式会社 Image forming apparatus, image forming system, and information processing apparatus

Also Published As

Publication number Publication date
JPH03155974A (en) 1991-07-03

Similar Documents

Publication Publication Date Title
JP3546935B2 (en) Printing system and host device of the system
JP4924001B2 (en) Printing system and printing control method in printing system
JP4541886B2 (en) Error processing method and apparatus in printer or copier
JP3034540B2 (en) Printing system and its error recovery method
EP0662656B1 (en) Method and apparatus for resetting shared computer output apparatus
US20050128517A1 (en) Printing system, control method therefor, and printing method, host apparatus, and printer used therewith
JP3573258B2 (en) Print data transmission device and print system
JP2000172456A (en) Print system
JP2718730B2 (en) Printing system
JP3400672B2 (en) PRINTING APPARATUS, PRINTING SYSTEM, AND DUPLEX MANAGEMENT METHOD
JP2728449B2 (en) Printing system, printing apparatus and print control method thereof
JP2869382B2 (en) Printer control system
JPH11235858A (en) Printer system
JPH11277854A (en) Printer controller
JP3290787B2 (en) Printing apparatus and print processing method
JPH06135103A (en) Printer
JPH08249140A (en) Recording device and its method
JP2000089921A (en) Method for controlling printing data spool
JPS63159077A (en) Printer
JPH11134141A (en) Printing system
JPH10293661A (en) Network printer system
JP2859523B2 (en) Printing control method for document printing system
JP2831019B2 (en) Print start processing method for print output device
JPH03211070A (en) Printing device and printing control system
JPS63163920A (en) Printing device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350