JPH0781155A - Printer - Google Patents

Printer

Info

Publication number
JPH0781155A
JPH0781155A JP5233372A JP23337293A JPH0781155A JP H0781155 A JPH0781155 A JP H0781155A JP 5233372 A JP5233372 A JP 5233372A JP 23337293 A JP23337293 A JP 23337293A JP H0781155 A JPH0781155 A JP H0781155A
Authority
JP
Japan
Prior art keywords
data
page
print
printing
host device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5233372A
Other languages
Japanese (ja)
Other versions
JP3236421B2 (en
Inventor
Satoshi Ogawa
聰 小川
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP23337293A priority Critical patent/JP3236421B2/en
Publication of JPH0781155A publication Critical patent/JPH0781155A/en
Application granted granted Critical
Publication of JP3236421B2 publication Critical patent/JP3236421B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To prevent a generation of a time-out error in a host device by providing a means for transmitting print command to a print control section based on the count value of a means of counting the sum total of page data. CONSTITUTION:A controller 1 is constituted of respective models like a host interface 5, a CPU 9, a RAM 10, a program ROM 6, a font ROM 7 and others. Data transmitted from a host device 3 through the host interface 5 are assorted into a print data, print control data and other data by the CPU 9, and the print data and print control data are stored in a buffer. When data received from printer command out of the host device 3 or the host device 3 are beyond one page, a print start command is issued to a printer engine 13 by the controller 1 through an enginer interface 12. The print data from the host device 3 are printed by a print engine 13 in the processing.

Description

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

【0001】[0001]

【産業上の利用分野】本願発明は、ホスト装置上で作成
された画像情報を印字するための印字装置に関し、詳し
くは、レ−ザ−プリンタのごときペ−ジプリンタに関す
るものである。 また、一つの装置内に、複写機、ファ
ックス、プリンタ等の機能を併せ持ったいわゆる複合機
と称せられる装置にも適用することができる。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing device for printing image information created on a host device, and more particularly to a page printer such as a laser printer. Further, the present invention can be applied to a so-called multi-function device having a copier, a fax machine, a printer, and the like in one device.

【0002】[0002]

【従来の技術】従来、ホスト装置から複数枚にまたがる
画像デ−タを受信している間に用紙ジヤムが発生した場
合には、印字装置側はホスト装置似たいして後続のデ−
タの送信の中断要請を行い、ホスト装置とのデ−タの送
受信は行わなかった。また、印字装置へのデ−タの送信
を強制的に中断されたホスト装置は、印字装置側から送
信中断が解除されない状態が一定時間以上続くとタイム
アウトエラ−起こし、たとえ、その間の紙詰りを起こし
た用紙が取り除かれても、もう一度初めから印字デ−タ
を送信しなければならなかった。
2. Description of the Related Art Conventionally, when a paper jam occurs while receiving image data over a plurality of sheets from a host device, the printer side resembles the host device and succeeds the subsequent data.
A request to suspend data transmission was made, and data was not transmitted or received to or from the host device. In addition, the host device forcibly interrupted the transmission of data to the printing device will cause a timeout error if the transmission device does not cancel the transmission interruption for a certain period of time. Even if the raised paper was removed, the print data had to be transmitted from the beginning again.

【0003】図6は、印字デ−タを送信してから、紙詰
りをリカバ−し、プリントするまでの従来装置のシ−ケ
ンスを示すものである。ホスト装置から送信された印字
デ−タは、ホストインタ−フエイスを通してRAM内に
割り当てられているバツフア内に一旦格納され、そのデ
−タをプログラムROM内のコマンド解析プログラムが
解析、実行を行ない、フオントROM内のフオントデ−
タ等を用いることにより、ペ−ジデ−タを作成する。こ
の一連の作業を、1ペ−ジのデ−タが完成するまで継続
して行ない、1ペ−ジ分のデ−タが完成した後、プログ
ラムROM内のエンジン制御プログラムがエンジンイン
タ−フエイスを通して、プリンタエンジンに対して、起
動命令を送信する。起動命令を受信したプリンタエンジ
ンは、印字動作を開始する。
FIG. 6 shows the sequence of a conventional apparatus from the transmission of print data to the recovery of paper jam and printing. The print data transmitted from the host device is temporarily stored in the buffer allocated in the RAM through the host interface, and the command analysis program in the program ROM analyzes and executes the data. Font data in font ROM
The page data is created by using the data. This series of operations is continuously performed until one page of data is completed, and after one page of data is completed, the engine control program in the program ROM passes through the engine interface. , Sends a start command to the printer engine. The printer engine that has received the activation command starts the printing operation.

【0004】ここで、紙搬送の途中で紙詰りが起こった
場合は、プログラムROM内のホスト制御プログラム
が、デ−タの送信を中断するコ−ドを印字装置側から送
信するか、又は、通信制御線を送信中止状態とする。こ
のホスト装置からの送信が中断された状態は、紙が実際
に搬送経路から取り除かれ、プリンタエンジンが搬送可
能である旨を示すコ−ドが発行されるまで継続する。プ
リント可能であることを確認したホスト制御プログラム
は、デ−タの送信中止を解除するコ−ドを発行するか、
制御線をONの状態にして、プリント動作の続行を図
る。
Here, if a paper jam occurs during the conveyance of the paper, the host control program in the program ROM transmits a code for interrupting the data transmission from the printer side, or The communication control line is set to the transmission stop state. The state in which the transmission from the host device is interrupted continues until the paper is actually removed from the transport path and a code indicating that the printer engine is transportable is issued. The host control program, which confirms that printing is possible, issues a code to cancel the suspension of data transmission, or
The control line is turned on to continue the printing operation.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、かかる
従来の装置においては、紙詰りが起こった際のリカバリ
処理が遅れると、ホスト装置がタイムアウトエラ−を起
こし、既に印字を終了したデ−タを含め、最初から印字
デ−タを印字装置に対し送信しなければならず、たと
え、プリンタ側が紙詰りに備えてジヤムバックアップを
行なったとしても、結局、プリンタをリセットして、バ
ッファにのこるデ−タを消去したあと、ホスト装置より
印字デ−タを最初から送信しなければならず、その間の
処理時間や紙の浪費を考慮すれば、甚だ効率が悪かっ
た。
However, in such a conventional apparatus, if the recovery process when a paper jam occurs is delayed, the host apparatus causes a time-out error, including data that has already been printed. The print data must be sent to the printer from the beginning, and even if the printer performs a jam backup in preparation for a paper jam, after all, the printer is reset and the data that remains in the buffer is reset. After erasing the print data, the print data must be transmitted from the beginning from the host device. Considering the processing time and paper waste during that time, the efficiency was extremely poor.

【0006】本願発明は上述の点に鑑みてなされたもの
であり、その目的とするところは、紙詰りが発生して
も、ホスト装置がタイムアウトエラ−を起こさないよう
なデ−タ送受信を行なう印字装置を提供することを目的
とする。
The present invention has been made in view of the above points, and an object thereof is to perform data transmission / reception so that the host device does not cause a time-out error even if a paper jam occurs. An object is to provide a printing device.

【0007】[0007]

【課題を解決するための手段】本願発明はかかる目的を
達成するため、ホスト装置から印字デ−タを受信するホ
ストインタ−フエ−スと、該ホストインタ−フエ−スに
より受信したデ−タを解析する手段と、解析されたデ−
タに基づきペ−ジデ−タに展開する手段と、該ペ−ジデ
−タ情報を格納する手段と、用紙ジヤムの発生を検知す
る検知手段と、該検知手段によって用紙ジヤムの発生を
検知したのち後に生成されたペ−ジデ−タを格納する手
段と、用紙ジヤムが継続している状態間に生成されたペ
−ジデ−タの総和を計数する手段と、該計数手段による
計数値に基づいてプリント制御部に対して、プリント命
令を送信する送信手段を有するよう構成した。
In order to achieve such an object, the present invention achieves the above object, and a host interface for receiving print data from a host device and data received by the host interface. And the analyzed data
Means for expanding the page data based on the data, means for storing the page data information, detecting means for detecting the occurrence of paper jam, and detecting the occurrence of paper jam by the detecting means. A means for storing the page data generated later, a means for counting the total sum of the page data generated while the paper jam is continuing, and a count value by the counting means. It is configured to have a transmission unit that transmits a print command to the print control unit.

【0008】[0008]

【実施例】以下、本発明の実施例を添付図面を参照して
説明する。
Embodiments of the present invention will be described below with reference to the accompanying drawings.

【0009】図1は、本発明に係るレ−ザプリンタの構
成を示すブロック図である。
FIG. 1 is a block diagram showing the structure of a laser printer according to the present invention.

【0010】コントロ−ラ1は、設定されている制御モ
−ド、及びホスト装置3からの制御コ−ドに従って、ホ
スト装置からの印字デ−タを、ビデオデ−タに変換して
プリンタエンジン13へ出力する制御機構の総称であっ
て、図1に示すように、ホストインタ−フエイス5、C
PU9、RAM10、プログラムROM6、フォントR
OM7等の各モジュ−ルによって構成されている。
The controller 1 converts the print data from the host device into video data according to the set control mode and the control code from the host device 3 to convert the print data from the host device to the printer engine 13. Is a general term for the control mechanism for outputting to the host interface 5, C as shown in FIG.
PU9, RAM10, program ROM6, font R
It is composed of each module such as OM7.

【0011】ホストインタ−フエイス5は、ホスト装置
3からプリンタ1へ送られる制御信号及び印字デ−タ、
プリンタ1からホスト装置3へ送れれるステ−タス信号
のためのインタ−フエイスである。CPU9はプログラ
ムROM6に記憶されたプログラムに従ってホスト装置
3からの印字デ−タ、制御デ−タを処理する。RAM1
0は、CPU9が処理するときのワ−クメモリ、ホスト
装置3からのデ−タをペ−ジ単位に管理して一時記憶す
るバツフア、バツフアに記憶されたデ−タを実際の印字
パタ−ンに変換し、ビデオデ−タを記憶するビットマッ
プメモリ等に用いられる。NV−RAM11は電源を切
っても保持したいデ−タを格納しておくための不揮発性
のRAMである。
The host interface 5 includes control signals and print data sent from the host device 3 to the printer 1.
It is an interface for status signals that can be sent from the printer 1 to the host device 3. The CPU 9 processes the print data and control data from the host device 3 according to the program stored in the program ROM 6. RAM1
0 is a work memory for the CPU 9 to process, a buffer for managing the data from the host device 3 in page units and temporarily storing the data, and an actual print pattern for the data stored in the buffer. And is used as a bit map memory for storing video data. The NV-RAM 11 is a non-volatile RAM for storing data to be retained even when the power is turned off.

【0012】プログラムROM6は、コントロ−ラ2内
でのデ−タ処理や、周辺のモジュ−ルを制御するための
プログラムが格納されている。フォントROM7は、印
字に使用される様々な種類のフオントを格納する。エン
ジンインタ−フエイス12は、コントロ−ラ2からプリ
ンタエンジン13へ送られる制御信号、プリンタエンジ
ン13からコントロ−ラ2へ送られるのステ−タス信号
のためのインタ−フエイスである。プリンタエンジン1
3は、コントロ−ラ2からのビデオ信号及び制御信号に
より感光体上に静電潜像を作り、現像し、また給紙部よ
り給紙し、転写、定着を行ない、画像を形成する。パネ
ルインタ−フエイス8は、プリンタ1の状態、モ−ド、
フォント等の切り換えを行なう際の信号のためのインタ
−フエイスである。操作パネル4は、プリンタの状態を
示す表示部、及びプリンタのモ−ド、フォント等を切り
換えるスイツチ部である。
The program ROM 6 stores programs for controlling data processing in the controller 2 and peripheral modules. The font ROM 7 stores various types of fonts used for printing. The engine interface 12 is an interface for a control signal sent from the controller 2 to the printer engine 13 and a status signal sent from the printer engine 13 to the controller 2. Printer engine 1
A reference numeral 3 forms an electrostatic latent image on the photoconductor by a video signal and a control signal from the controller 2, develops it, and feeds it from a paper feeding section to transfer and fix it to form an image. The panel interface 8 is for displaying the status of the printer 1, the mode,
This is an interface for signals when switching fonts and the like. The operation panel 4 is a display section showing the status of the printer, and a switch section for switching the mode, font, etc. of the printer.

【0013】ホストインタ−フエイス5を通して,ホス
ト装置3から送られてきたデ−タはCPU9により印字
デ−タ、印字制御デ−タ、その他のデ−タに分けられ、
印字デ−タ及び印字制御デ−タは、バッファに記憶され
る。ホスト装置3からのプリント命令又はホスト装置3
から受け取ったデ−タが1ペ−ジ分を超えた際、コント
ロ−ラはエンジンインタ−フエイスを通してプリンタエ
ンジンにプリントスタ−トの命令を出す。かかる、一連
の処理により、ホスト装置3からの印字デ−タがプリン
タエンジン13によって印字される。
The data sent from the host device 3 through the host interface 5 is divided by the CPU 9 into print data, print control data and other data.
The print data and print control data are stored in the buffer. Print command from host device 3 or host device 3
When the amount of data received from the printer exceeds 1 page, the controller issues a print start command to the printer engine through the engine interface. Through this series of processing, the printer engine 13 prints the print data from the host device 3.

【0014】図2は、本願発明にかかる第一の実施例の
シ−ケンスを示すフロチャ−トである。
FIG. 2 is a flowchart showing the sequence of the first embodiment according to the present invention.

【0015】図1のホスト装置3から送信された印字デ
−タは、ホストインタ−フエイス5を通してRAM10
内に割り当てられているバッファ内に一旦格納され、そ
のデ−タをプログラムROM6内のコマンド解析プログ
ラムがコマンドの解析及び実行を行ない、フォントRO
M7内のフォントデ−タを等を使って、ペ−ジデ−タを
作成する。この一連の作業を1ペ−ジのデ−タが完成す
るまで継続して行ない、1ペ−ジ分のデ−タが完成した
後、プログラムROM6内のエンジン制御プログラムが
エンジンインタ−フェイス12を通して、プリンタエン
ジン13に対して起動命令を送信する。その起動命令を
受信したプリンタエンジン13はプリント動作が可能か
どうか確認後、プリント動作を始める。
The print data transmitted from the host device 3 of FIG. 1 is sent to the RAM 10 through the host interface 5.
Once stored in the buffer allocated in the program, the command analysis program in the program ROM 6 analyzes and executes the data, and the font RO
Create page data by using font data in M7. This series of operations is continuously carried out until one page of data is completed, and after one page of data is completed, the engine control program in the program ROM 6 passes through the engine interface 12 , And sends a start command to the printer engine 13. The printer engine 13 which has received the activation command starts the printing operation after confirming whether the printing operation is possible.

【0016】ここで、紙搬送途中で紙詰り等の印字続行
不可能な状態が起こった場合、プログラムROM6内の
ペ−ジバッファ制御プログラムが1ペ−ジ分のペ−ジデ
−タをRAM10内に確保されている退避領域に格納す
る。この後、プリンタ起動時に0に初期化済のペ−ジカ
ウント(p_cnt)とい変数にカウント1を加算し
て、再びデ−タの受信をホストインタ−フェイス5を介
して行なう。
When a state such as a paper jam that makes it impossible to continue printing occurs while the paper is being conveyed, the page buffer control program in the program ROM 6 stores one page of page data in the RAM 10. Store in the secured save area. After that, when the printer is started up, a count 1 is added to a variable such as a page count (p_cnt) which has been initialized to 0, and data is received again via the host interface 5.

【0017】ここで、再びコマンドの解析後、紙詰り等
でプリント不可能な状態で1ペ−ジ分のデ−タが作成さ
れたとしても同様のシ−ケンスにより次に作られたペ−
ジデ−タも退避領域に格納する。
Here, after the command is analyzed again, even if one page of data is created in a print-disabled state due to paper jam or the like, the next page created by the same sequence.
The data is also stored in the save area.

【0018】その間にオペレ−タの作業により紙が取り
除かれる等の復旧作業が行なわれて、印字動作が再び可
能であることがプリントエンジン13に確認されると、
エンジンインタ−フエイス12を通してプログラムRO
M6内に格納されているエンジン制御プログラムに、プ
リント可能であることを知らせるコ−ドがプリントエン
ジン13から送信される。エンジン制御プログラムは、
このコ−ドに従いペ−ジバッファ制御プログラムが指示
するペ−ジデ−タの印字を開始する。退避領域に格納さ
れていたペ−ジデ−タの印字が正常に遂行されるとペ−
ジカウント(page_cnt)の値が減算され、再
び、デ−タの受信を行ないペ−ジデ−タの生成作業を行
ないながらペ−ジカウント(page_cnt)の値が
ゼロになるまで一連のプリント作業が行なわれる。
In the meantime, when a recovery operation such as the removal of the paper by the operation of the operator is performed and it is confirmed by the print engine 13 that the printing operation is possible again,
Program RO through engine interface 12
A code notifying that printing is possible is transmitted from the print engine 13 to the engine control program stored in M6. The engine control program is
In accordance with this code, page data printing designated by the page buffer control program is started. When the page data stored in the save area is printed normally, the page
The value of the page count (page_cnt) is subtracted, and a series of printing operations are performed until the value of the page count (page_cnt) becomes zero while receiving the data again and generating the page data. .

【0019】図3は、本願発明にかかる第2の実施例の
シ−ケンスを示すフロチャ−トである。
FIG. 3 is a flowchart showing the sequence of the second embodiment according to the present invention.

【0020】図1のホスト装置3から送信された印字デ
−タは、ホストインタ−フエイス5を通してRAM10
内に割り当てられているバッファ内に一旦格納され、そ
のデ−タをプログラムROM6内のコマンド解析プログ
ラムがコマンドの解析及び実行を行ない、フォントRO
M7内のフォントデ−タを等を使って、ペ−ジデ−タを
作成する。この一連の作業を1ペ−ジのデ−タが完成す
るまで継続して行ない、1ペ−ジ分のデ−タが完成した
後、プログラムROM6内のエンジン制御プログラムが
エンジンインタ−フェイス12を通して、プリンタエン
ジン13に対して起動命令を送信する。その起動命令を
受信したプリンタエンジン13はプリント動作が可能か
どうか確認後、プリント動作を始める。
The print data transmitted from the host device 3 shown in FIG. 1 is sent to the RAM 10 through the host interface 5.
Once stored in the buffer allocated in the program, the command analysis program in the program ROM 6 analyzes and executes the data, and the font RO
Create page data by using font data in M7. This series of operations is continuously carried out until one page of data is completed, and after one page of data is completed, the engine control program in the program ROM 6 passes through the engine interface 12 , And sends a start command to the printer engine 13. The printer engine 13 which has received the activation command starts the printing operation after confirming whether the printing operation is possible.

【0021】ここで、紙搬送途中で紙詰り等の印字続行
不可能な状態が起こった場合、プログラムROM6内の
ペ−ジバッファ制御プログラムが1ペ−ジ分のペ−ジデ
−タをRAM10内に確保されている退避領域に格納す
る。この後、プリンタ起動時に0に初期化済のペ−ジカ
ウント(page_cnt)とい変数にカウント1を加
算して、再びデ−タの受信をホストインタ−フェイス5
を介して行なう。ここで、再びコマンドの解析後、紙詰
り等でプリント不可能な状態で1ペ−ジ分のデ−タが作
成されたとしても同様のシ−ケンスにより次に作られた
ペ−ジデ−タも退避領域に格納する。
If a state such as a paper jam that makes it impossible to continue printing occurs while the paper is being conveyed, the page buffer control program in the program ROM 6 stores one page of page data in the RAM 10. Store in the secured save area. After this, when the printer is started up, a count of 1 is added to the page count (page_cnt) variable which has been initialized to 0, and the host interface 5 receives the data again.
Through. Here, after the command is analyzed again, even if one page of data is created in a state in which printing is impossible due to paper jam or the like, the page data created next by the same sequence is used. Is also stored in the save area.

【0022】このシ−ケンスが繰り返されている間、プ
リント続行不可能な状態が続き、ペ−ジデ−タの総和が
RAM10内の退避領域の容量を超えると(page_
cnt>ram_cnt)、プログラムROM6内のペ
−ジバッファ制御プログラムが次のペ−ジデ−タの退避
先を外部記憶装置に移し、プログラムROM6内のディ
スク制御プログラムにペ−ジデ−タの管理権を渡す。
While this sequence is repeated, the state in which printing cannot be continued continues, and when the total sum of page data exceeds the capacity of the save area in the RAM 10 (page--
cnt> ram_cnt), the page buffer control program in the program ROM 6 moves the save destination of the next page data to the external storage device, and transfers the management right of the page data to the disk control program in the program ROM 6 .

【0023】さらにプリント続行不可能な状態が続く場
合、続いて生成されたペ−ジデ−タは、ディスク制御プ
ログラムの管理の下でディスクインタ−フエイス14を
通してハ−ドディスク15(外部記憶装置)に格納され
る。
When the printing cannot continue further, the page data generated subsequently passes through the disk interface 14 under the control of the disk control program to the hard disk 15 (external storage device). Stored in.

【0024】その間にオペレ−タの作業により紙が取り
除かれる等の復旧作業が行なわれて、印字動作が再び可
能であることがプリントエンジン13に確認されると、
エンジンインタ−フエイス12を通してプログラムRO
M6内に格納されているエンジン制御プログラムに、プ
リント可能であることを知らせるコ−ドがプリントエン
ジン13から送信される。エンジン制御プログラムは、
このコ−ドに従いペ−ジバッファ制御プログラムが指示
するペ−ジデ−タの印字を開始する。退避領域に格納さ
れていたペ−ジデ−タの印字が正常に遂行されるとペ−
ジカウント(page_cnt)の値が減算され、再
び、デ−タの受信を行ないペ−ジデ−タの生成作業を行
ないながらペ−ジカウント(page_cnt)の値が
ゼロになるまで一連のプリント作業が行なわれる。
In the meantime, when a recovery operation such as the removal of the paper by the operation of the operator is performed and it is confirmed by the print engine 13 that the printing operation is possible again,
Program RO through engine interface 12
A code notifying that printing is possible is transmitted from the print engine 13 to the engine control program stored in M6. The engine control program is
In accordance with this code, page data printing designated by the page buffer control program is started. When the page data stored in the save area is printed normally, the page
The value of the page count (page_cnt) is subtracted, and a series of printing operations are performed until the value of the page count (page_cnt) becomes zero while receiving the data again and generating the page data. .

【0025】図4は、本願発明にかかる第3の実施例の
シ−ケンスを示すフロチャ−トである。
FIG. 4 is a flowchart showing the sequence of the third embodiment according to the present invention.

【0026】図1のホスト装置3から送信された印字デ
−タは、スカジ−(SCSI)インタ−フエイスなど
の、双方向ホストインタ−フエイス5を通してRAM1
0内に割り当てられているバッファ内に一旦格納され、
そのデ−タをプログラムROM6内のコマンド解析プロ
グラムがコマンドの解析及び実行を行ない、フォントR
OM7内のフォントデ−タを等を使って、ペ−ジデ−タ
を作成する。この一連の作業を1ペ−ジのデ−タが完成
するまで継続して行ない、1ペ−ジ分のデ−タが完成し
た後、プログラムROM6内のエンジン制御プログラム
がエンジンインタ−フェイス12を通して、プリンタエ
ンジン13に対して起動命令を送信する。その起動命令
を受信したプリンタエンジン13はプリント動作が可能
かどうか確認後、プリント動作を始める。
The print data transmitted from the host device 3 in FIG. 1 is sent to the RAM 1 through the bidirectional host interface 5 such as a scan interface (SCSI) interface.
Once stored in the buffer allocated in 0,
The command analysis program in the program ROM 6 analyzes the data and analyzes and executes the command, and the font R
The page data is created using the font data in OM7. This series of operations is continuously carried out until one page of data is completed, and after one page of data is completed, the engine control program in the program ROM 6 passes through the engine interface 12 , And sends a start command to the printer engine 13. The printer engine 13 which has received the activation command starts the printing operation after confirming whether the printing operation is possible.

【0027】ここで、紙搬送途中で紙詰り等の印字続行
不可能な状態が起こった場合、プログラムROM6内の
ペ−ジバッファ制御プログラムが1ペ−ジ分のペ−ジデ
−タをRAM10内に確保されている退避領域に格納す
る。この後、プリンタ起動時に0に初期化済のペ−ジカ
ウント(page_cnt)とい変数にカウント1を加
算して、再びデ−タの受信をホストインタ−フェイス5
を介して行なう。ここで、再びコマンドの解析後、紙詰
り等でプリント不可能な状態で1ペ−ジ分のデ−タが作
成されたとしても同様のシ−ケンスにより次に作られた
ペ−ジデ−タも退避領域に格納する。
If a state such as a paper jam that makes it impossible to continue printing occurs while the paper is being conveyed, the page buffer control program in the program ROM 6 stores one page of page data in the RAM 10. Store in the secured save area. After this, when the printer is started up, a count of 1 is added to the page count (page_cnt) variable which has been initialized to 0, and the host interface 5 receives the data again.
Through. Here, after the command is analyzed again, even if one page of data is created in a state in which printing is impossible due to paper jam or the like, the page data created next by the same sequence is used. Is also stored in the save area.

【0028】このシ−ケンスが繰り返されている間、プ
リント続行不可能な状態が続き、ペ−ジデ−タの総和が
RAM10内の退避領域の容量を超えると、プログラム
ROM6内のペ−ジバッファ制御プログラムが次のペ−
ジデ−タの退避先をホスト装置3に装備されているハ−
ドディスク(ホスト装置の外部記憶装置)に移し、プロ
グラムROM6内のホスト制御プログラムにペ−ジデ−
タの管理権を渡す。
While this sequence is repeated, the state in which printing cannot be continued continues, and when the sum of the page data exceeds the capacity of the save area in the RAM 10, the page buffer control in the program ROM 6 is performed. If the program
The hard disk installed in the host device 3 is the destination for saving data.
To a host disk (external storage device of the host device) and to the host control program in the program ROM 6
Hand over the management right of the data.

【0029】さらにプリント続行不可能な状態が続く場
合、続いて生成されたペ−ジデ−タは、ホスト制御プロ
グラムの管理の下でホストインタ−フエイス14(SC
SI)を通してホスト上のハ−ドディスク17(外部記
憶装置)の退避領域に格納される。
When the printing cannot continue further, the page data generated subsequently is controlled by the host interface 14 (SC) under the control of the host control program.
It is stored in the save area of the hard disk 17 (external storage device) on the host through SI).

【0030】その間にオペレ−タの作業により紙が取り
除かれる等の復旧作業が行なわれて、印字動作が再び可
能であることがプリントエンジン13に確認されると、
エンジンインタ−フエイス12を通してプログラムRO
M6内に格納されているエンジン制御プログラムに、プ
リント可能であることを知らせるコ−ドがプリントエン
ジン13から送信される。エンジン制御プログラムは、
このコ−ドに従いペ−ジバッファ制御プログラムが指示
するペ−ジデ−タの印字を開始する。
In the meantime, when the recovery work such as the removal of the paper by the operation of the operator is performed and it is confirmed by the print engine 13 that the printing operation is possible again,
Program RO through engine interface 12
A code notifying that printing is possible is transmitted from the print engine 13 to the engine control program stored in M6. The engine control program is
In accordance with this code, page data printing designated by the page buffer control program is started.

【0031】RAM10の退避領域に格納されていたペ
−ジデ−タがすべて正常に印字されるとペ−ジバッファ
制御プログラムはホスト制御プログラムを介してホスト
装置側のハ−ドディスクに格納されているペ−ジデ−タ
をRAM10に転送し格納後、印字を行なう。この間、
退避領域に格納されていたペ−ジデ−タの印字が正常に
遂行される度にペ−ジカウント(page_cnt)の
値が減算され、再び、デ−タの受信を行ないペ−ジデ−
タの生成作業を行ないながらペ−ジカウント(page
_cnt)の値がゼロになるまで一連のプリント作業が
行なわれる。
When all the page data stored in the save area of the RAM 10 is printed normally, the page buffer control program is stored in the hard disk on the host device side via the host control program. Printing is performed after transferring the page data to the RAM 10 and storing it. During this time,
Each time the page data stored in the save area is printed normally, the value of the page count (page_cnt) is decremented, and the page data is received again.
Data generation work while performing page generation (page
A series of printing operations is performed until the value of _cnt) becomes zero.

【0032】図5は、本願発明にかかる第4の実施例の
シ−ケンスを示すフロチャ−トである。
FIG. 5 is a flowchart showing the sequence of the fourth embodiment according to the present invention.

【0033】図1のホスト装置3から送信された印字デ
−タは、スカジ−(SCSI)インタ−フエイスなど
の、双方向ホストインタ−フエイス5を通してRAM1
0内に割り当てられているバッファ内に一旦格納され、
そのデ−タをプログラムROM6内のコマンド解析プロ
グラムがコマンドの解析及び実行を行ない、フォントR
OM7内のフォントデ−タを等を使って、ペ−ジデ−タ
を作成する。この一連の作業を1ペ−ジのデ−タが完成
するまで継続して行ない、1ペ−ジ分のデ−タが完成し
た後、プログラムROM6内のエンジン制御プログラム
がエンジンインタ−フェイス12を通して、プリンタエ
ンジン13に対して起動命令を送信する。その起動命令
を受信したプリンタエンジン13はプリント動作が可能
かどうか確認後、プリント動作を始める。
The print data transmitted from the host device 3 of FIG. 1 is sent to the RAM 1 through the bidirectional host interface 5 such as a scan interface (SCSI) interface.
Once stored in the buffer allocated in 0,
The command analysis program in the program ROM 6 analyzes the data and analyzes and executes the command, and the font R
The page data is created using the font data in OM7. This series of operations is continuously carried out until one page of data is completed, and after one page of data is completed, the engine control program in the program ROM 6 passes through the engine interface 12 , And sends a start command to the printer engine 13. The printer engine 13 which has received the activation command starts the printing operation after confirming whether the printing operation is possible.

【0034】ここで、紙搬送途中で紙詰り等の印字続行
不可能な状態が起こった場合、プログラムROM6内の
ペ−ジバッファ制御プログラムが1ペ−ジ分のペ−ジデ
−タをRAM10内に確保されている退避領域に格納す
る。この後、プリンタ起動時に0に初期化済のペ−ジカ
ウント(page_cnt)とい変数にカウント1を加
算して、再びデ−タの受信をホストインタ−フェイス5
を介して行なう。ここで、再びコマンドの解析後、紙詰
り等でプリント不可能な状態で1ペ−ジ分のデ−タが作
成されたとしても同様のシ−ケンスにより次に作られた
ペ−ジデ−タも退避領域に格納する。
If a state such as a paper jam that makes it impossible to continue printing occurs while the paper is being conveyed, the page buffer control program in the program ROM 6 stores one page of page data in the RAM 10. Store in the secured save area. After this, when the printer is started up, a count of 1 is added to the page count (page_cnt) variable which has been initialized to 0, and the host interface 5 receives the data again.
Through. Here, after the command is analyzed again, even if one page of data is created in a state in which printing is impossible due to paper jam or the like, the page data created next by the same sequence is used. Is also stored in the save area.

【0035】このシ−ケンスが繰り返されている間、プ
リント続行不可能な状態が続き、ペ−ジデ−タの総和が
RAM10内の退避領域の容量を超えると(page_
cnt>ram_cnt)、プログラムROM6内のペ
−ジバッファ制御プログラムが次のペ−ジデ−タの退避
先を印字装置の外部記憶装置に移し、プログラムROM
6内のディスク制御プログラムにペ−ジデ−タの管理権
を渡し、続いて生成されたペ−ジデ−タは、ディスク制
御プログラムの管理の下でディスクインタ−フエイス1
4を通してハ−ドディスク15(外部記憶装置)に格納
される。
While this sequence is repeated, the state in which printing cannot be continued continues, and when the sum of page data exceeds the capacity of the save area in the RAM 10 (page--
cnt> ram_cnt), the page buffer control program in the program ROM 6 moves the save destination of the next page data to the external storage device of the printer, and the program ROM
The management right of the page data is passed to the disk control program in the disk control program 6, and the generated page data is transferred to the disk interface 1 under the control of the disk control program.
4 to a hard disk 15 (external storage device).

【0036】さらにプリント続行不可能な状態が続き、
ペ−ジデ−タの総和が印字装置に装着された外部記憶装
置15の退避領域の容量までも超えると(page_c
nt>ram_cnt+hd_cnt)、ディスク制御
プログラムからホスト制御プログラムへペ−ジデ−タの
管理権を移し、続いて生成されたペ−ジデ−タはホスト
制御プログラムの管理の下でホストインタ−フエイス1
4(SCSI)を通してホスト装置に装着されたハ−ド
ディスク17(外部記憶装置)に格納される。
Further, the state in which printing cannot be continued continues,
When the total sum of page data exceeds the capacity of the save area of the external storage device 15 installed in the printer (page_c
nt> ram_cnt + hd_cnt), the management right of the page data is transferred from the disk control program to the host control program, and then the generated page data is stored in the host interface 1 under the control of the host control program.
4 (SCSI) and is stored in the hard disk 17 (external storage device) attached to the host device.

【0037】その間にオペレ−タの作業により紙が取り
除かれる等の復旧作業が行なわれて、印字動作が再び可
能であることがプリントエンジン13に確認されると、
エンジンインタ−フエイス12を通してプログラムRO
M6内に格納されているエンジン制御プログラムに、プ
リント可能であることを知らせるコ−ドがプリントエン
ジン13から送信される。エンジン制御プログラムは、
このコ−ドに従いペ−ジバッファ制御プログラムが指示
するペ−ジデ−タの印字を開始する。
In the meantime, when the recovery work such as the removal of the paper by the operation of the operator is performed and it is confirmed by the print engine 13 that the printing operation is possible again,
Program RO through engine interface 12
A code notifying that printing is possible is transmitted from the print engine 13 to the engine control program stored in M6. The engine control program is
In accordance with this code, page data printing designated by the page buffer control program is started.

【0038】まず、RAM10内の退避領域に格納され
ていたペ−ジデ−タの印字が正常に遂行されると、次
に、印字装置の装備されているハ−ドディスク15上の
退避領域に格納されているペ−ジデ−タがRAM10の
退避領域に転送され、そのデ−タを基にプリントが行な
われ、最後にホストマシンに装備されているハ−ドディ
スク17の退避領域に格納されているペ−ジデ−タが転
送され印字される。
First, when the page data stored in the save area in the RAM 10 is printed normally, then the save area on the hard disk 15 equipped with the printing device is changed to the save area. The stored page data is transferred to the save area of the RAM 10, printing is performed based on the data, and finally stored in the save area of the hard disk 17 equipped in the host machine. The printed page data is transferred and printed.

【0039】それぞれの印字が正常に遂行される度にペ
−ジカウント(page_cnt)の値が減算され、再
び、デ−タの受信を行ないペ−ジデ−タの生成作業を行
ないながらペ−ジカウント(page_cnt)の値が
ゼロになるまで一連のプリント作業が行なわれる。
The value of the page count (page_cnt) is subtracted each time each printing is normally performed, and the page count (page_cnt) is received again while the data is received and the page data is generated. A series of printing operations are performed until the value of (page_cnt) becomes zero.

【0040】[0040]

【発明の効果】以上説明したように本願発明によれば、
紙詰り等の印字動作が不可能な状態になっても、上位装
置側のデ−タの送信を中止することなく、従って、タイ
ムアウトエラ−を発生することなく、エラ−解除後、印
字動作が継続して可能となる。
As described above, according to the present invention,
Even if the printing operation becomes impossible due to paper jam, etc., the printing operation will not be stopped after the error is released without stopping the transmission of the data on the host device side and thus without generating the timeout error. It will be possible continuously.

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

【図1】本発明に係る印字装置の構成を示すブロック図
である。
FIG. 1 is a block diagram showing a configuration of a printing apparatus according to the present invention.

【図2】本発明に係る第1の実施例の動作を示すフロ−
チヤ−トである。
FIG. 2 is a flow chart showing the operation of the first embodiment according to the present invention.
It is a chart.

【図3】本発明に係る第1の実施例の動作を示すフロ−
チヤ−トである。
FIG. 3 is a flow chart showing the operation of the first embodiment according to the present invention.
It is a chart.

【図4】本発明に係る第1の実施例の動作を示すフロ−
チヤ−トである。
FIG. 4 is a flow chart showing the operation of the first embodiment according to the present invention.
It is a chart.

【図5】本発明に係る第1の実施例の動作を示すフロ−
チヤ−トである。
FIG. 5 is a flow chart showing the operation of the first embodiment according to the present invention.
It is a chart.

【図6】従来の印字装置の動作を示すフロ−チヤ−トで
ある。
FIG. 6 is a flowchart showing the operation of a conventional printing device.

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

1 印字装置 2 プリンタコントロ−ラ 3 ホスト装置 4 オペレ−シヨンパネル 5 ホストインタ−フエイス 6 プログラムROM 7 フォントROM 8 パネルインタ−フエイス 9 CPU(制御装置) 10 RAM 11 NV−RAM(不揮発性メモリ) 12 エンジンインタ−フエイス 13 プリンタエンジン 14 ディスクインタ−フエイス 15 印字装置に接続されたハ−ドディスク 16 メイン電源 17 ホスト装置に接続されたハ−ドディスク 1 Printer 2 Printer Controller 3 Host Device 4 Operation Panel 5 Host Interface 6 Program ROM 7 Font ROM 8 Panel Interface 9 CPU (Control Device) 10 RAM 11 NV-RAM (Nonvolatile Memory) 12 Engine interface 13 Printer engine 14 Disk interface 15 Hard disk connected to printing device 16 Main power supply 17 Hard disk connected to host device

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 ホスト装置から印字デ−タを受信するホ
ストインタ−フエ−スと、該ホストインタ−フエ−スに
より受信したデ−タを解析する手段と、解析されたデ−
タに基づきペ−ジデ−タに展開する手段と、該ペ−ジデ
−タ情報を格納する手段と、用紙ジヤムの発生を検知す
る検知手段と、該検知手段によって用紙ジヤムの発生を
検知したのち後に生成されたペ−ジデ−タを格納する手
段と、用紙ジヤムが継続している状態間に生成されたペ
−ジデ−タの総和を計数する手段と、該計数手段による
計数値に基づいてプリント制御部に対して、プリント命
令を送信する送信手段を有する印字装置。
1. A host interface for receiving print data from a host device, means for analyzing the data received by the host interface, and analyzed data.
Means for expanding the page data based on the data, means for storing the page data information, detecting means for detecting the occurrence of paper jam, and detecting the occurrence of paper jam by the detecting means. A means for storing the page data generated later, a means for counting the total sum of the page data generated while the paper jam is continuing, and a count value by the counting means. A printing apparatus having a transmission unit that transmits a print command to a print control unit.
【請求項2】 前記用紙ジヤムの発生を検知したのち後
に生成されたペ−ジデ−タを格納する手段が、プリンタ
コントロ−ラ内のRAM上に設けられていることを特徴
とする請求項1記載の印字装置。
2. A means for storing page data generated after the occurrence of the paper jam is detected is provided on a RAM in the printer controller. The printing device described.
【請求項3】 前記用紙ジヤムの発生を検知したのち後
に生成されたペ−ジデ−タを格納する手段が、プリンタ
コントロ−ラ内のRAM、及び印字装置に接続された外
部記憶装置上に設けられていることを特徴とする請求項
1記載の印字装置。
3. A means for storing page data generated after the occurrence of the paper jam is detected is provided in a RAM in the printer controller and an external storage device connected to the printing device. The printing apparatus according to claim 1, wherein the printing apparatus is provided.
【請求項4】 前記用紙ジヤムの発生を検知したのち後
に生成されたペ−ジデ−タを格納する手段が、プリンタ
コントロ−ラ内のRAM、及びホスト装置に接続された
外部記憶装置上に設けられていることを特徴とする請求
項1記載の印字装置。
4. A means for storing page data generated after the occurrence of the paper jam is detected is provided in a RAM in the printer controller and an external storage device connected to the host device. The printing apparatus according to claim 1, wherein the printing apparatus is provided.
【請求項5】 前記用紙ジヤムの発生を検知したのち後
に生成されたペ−ジデ−タを格納する手段が、プリンタ
コントロ−ラ内のRAM、印字装置に接続された外部記
憶装置、及びホスト装置に接続された外部記憶装置上に
設けられていることを特徴とする請求項1記載の印字装
置。
5. A means for storing the page data generated after the occurrence of the paper jam is detected, a RAM in the printer controller, an external storage device connected to the printing device, and a host device. The printing apparatus according to claim 1, wherein the printing apparatus is provided on an external storage device connected to the printer.
JP23337293A 1993-09-20 1993-09-20 Printing device Expired - Fee Related JP3236421B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23337293A JP3236421B2 (en) 1993-09-20 1993-09-20 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23337293A JP3236421B2 (en) 1993-09-20 1993-09-20 Printing device

Publications (2)

Publication Number Publication Date
JPH0781155A true JPH0781155A (en) 1995-03-28
JP3236421B2 JP3236421B2 (en) 2001-12-10

Family

ID=16954089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23337293A Expired - Fee Related JP3236421B2 (en) 1993-09-20 1993-09-20 Printing device

Country Status (1)

Country Link
JP (1) JP3236421B2 (en)

Also Published As

Publication number Publication date
JP3236421B2 (en) 2001-12-10

Similar Documents

Publication Publication Date Title
US7355731B2 (en) Job processing apparatus
JP2007098590A (en) Image forming device
US7268908B2 (en) Image processing system and its control method
US5889594A (en) Both-side recording apparatus and control apparatus for controlling the same
US6271927B1 (en) Multi-functional image processing apparatus
US20020054319A1 (en) Putput control apparatus, output control method and memory medium storing program readable by computer
US4975858A (en) Controller for a printer for printing data received from an external data processor
US6421138B1 (en) Page allocation/deallocation procedure for a printer/copier with accessory media sheet handling apparatus
JPH07106652B2 (en) Printer
JP2007055024A (en) Printing apparatus
JPH0781155A (en) Printer
JP2005131809A (en) Printer
JPH09219765A (en) Image processing system and method
JP2745791B2 (en) Error recovery method for printing device
JPH11232056A (en) Print system, processor, printer and storage medium storing program for operating processor
EP0473016B1 (en) Image forming apparatus
JPH1017168A (en) Paper sheet cassette automatic switching method
JP2898881B2 (en) Printing control method
JPH0220358A (en) Printing apparatus
JPH0924660A (en) Printer
JP2001105668A (en) Image output apparatus and control method thereof
JP2004066787A (en) Image recorder, method of controlling the same, medium providing control program, and control program
JP2768307B2 (en) Printer device
JPH03213370A (en) Page printer
JP2001028650A (en) Image processor, image processing control method and storage medium

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080928

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080928

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090928

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees