JPH01306249A - Printer - Google Patents

Printer

Info

Publication number
JPH01306249A
JPH01306249A JP63137463A JP13746388A JPH01306249A JP H01306249 A JPH01306249 A JP H01306249A JP 63137463 A JP63137463 A JP 63137463A JP 13746388 A JP13746388 A JP 13746388A JP H01306249 A JPH01306249 A JP H01306249A
Authority
JP
Japan
Prior art keywords
page
image
data
printing
jam
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
JP63137463A
Other languages
Japanese (ja)
Other versions
JP2610945B2 (en
Inventor
Kunio Okada
岡田 邦男
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP63137463A priority Critical patent/JP2610945B2/en
Publication of JPH01306249A publication Critical patent/JPH01306249A/en
Application granted granted Critical
Publication of JP2610945B2 publication Critical patent/JP2610945B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Laser Beam Printer (AREA)
  • Facsimiles In General (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

PURPOSE:To output a print without data-receiving again an output image when a recording medium is clogged to become impossible to print by reading a stored image pattern when a transfer to an nonoperation due to a printing mistake state is detected, and reforming the image. CONSTITUTION:Whether a sheet fed by a sheet feed roller 209 into a printer arrives at a jam sensor 212 within a predetermined period of time or is completely discharged out of a discharge sheet stacker 217 through a jam sensor 216 is checked. If the sheet is stayed at any position, a printing mechanisms is immediately stopped, and it is transmitted to a CPU 101. On the other hand, sheets of 4 pages at the maximum can be stayed in a sheet conveying passage from the roller 209 to the stacker 217. If a jam occurs, information of corresponding page is always retained on a save memory 106, and after the jam is processed, it is reprinted for lost sheet without retransmitting data from a hot computer 102.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は印刷装置、詳しくはページ単位のデータを受信
して印刷出力する印刷装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printing device, and more particularly, to a printing device that receives page-by-page data and prints out the data.

[従来の技術] 通常、この種の印刷装置は、データ源(ホストコンピュ
ータ等)から入力したデータを印刷画像に対応させてビ
ットマツプメモリに展開し、これを画像信号化して印刷
機構部に送出することで印刷している。
[Prior Art] Normally, this type of printing device develops data input from a data source (host computer, etc.) in a bitmap memory in correspondence with a print image, converts it into an image signal, and sends it to the printing mechanism. It is printed by doing this.

また、最近の印刷装置、特に静電写真式の印刷装置にお
いては、その構造上、記録媒体(印刷用紙)の搬送路は
長くなり、印刷された記録媒体が装置外に排出されるま
でには時間を要していた。
Furthermore, due to the structure of recent printing devices, especially electrostatographic printing devices, the conveyance path for the recording medium (printing paper) has become long, and by the time the printed recording medium is ejected from the device, It took time.

従って、印刷速度を上げるために、通常は1枚の記録媒
体が排出されるのを待って次の印刷処理に移るのではな
く、1枚の記録媒体が印刷されたときに、直ちに次の記
録媒体に記録するという方式をとっていることが多い。
Therefore, in order to increase printing speed, normally, instead of waiting for one recording medium to be ejected before moving on to the next printing process, when one recording medium is printed, the next recording is started immediately. In many cases, a method of recording on a medium is used.

すなわち、搬送路内に複数の記録媒体が存在することに
なる。
In other words, a plurality of recording media exist within the conveyance path.

[発明が解決しようとする課題] ところで、上述した印刷装置においては、搬送路に記録
媒体が詰まってしまうと、搬送路内に残った記録媒休校
数分にさかのぼるベージデータを再送させる必要があり
、データ発生源でオペレータは再度印刷出力に係る操作
を行なわねばならず、甚だ面倒な作業となっていた。
[Problems to be Solved by the Invention] By the way, in the above-described printing apparatus, if the recording medium becomes clogged in the conveyance path, it is necessary to retransmit the page data dating back to the number of times when the recording medium remaining in the conveyance path is closed. However, the operator has to perform operations related to print output again at the data source, which is a very troublesome task.

本発明はかかる課題に鑑みなされたものであり、記録媒
体の詰まりによる印刷不能状態になったとき、少なくそ
の印刷不能状態に至たらしめた出力画像を再度のデータ
受信をすることなしに印刷出力することを可能ならしめ
た印刷装置を提供しようとするものである。
The present invention has been made in view of this problem, and when a printing becomes impossible due to a jam in a recording medium, it is possible to print out the output image that caused the printing impossible state without receiving the data again. The aim is to provide a printing device that makes it possible to do this.

[課題を解決するための手段] この課題を解決するために、本発明の印刷装置は以下に
示す構成を備える。
[Means for Solving the Problem] In order to solve this problem, the printing apparatus of the present invention has the configuration shown below.

外部より入力したページ単位の情報に基づく画像を記録
媒体上に印刷する印刷装置であって、入力した情報に基
づく画像パターンを展開する展開手段と、展開された前
記画像パターンに基づく出力画像を形成する像形成手段
と、少なくとも装置本体内に滞在し、且つ前記像形成手
段で像を形成された記録媒体上の画像パターンを複数ペ
ージ分記憶する記憶手段と、印刷ミスの発生及びその解
除を検出する検出手段とを備える。
A printing device that prints an image on a recording medium based on page-by-page information inputted from the outside, comprising a developing means for developing an image pattern based on the inputted information, and forming an output image based on the developed image pattern. an image forming means for detecting the occurrence of a printing error and a storage means for storing a plurality of pages of image patterns on a recording medium on which an image has been formed by the image forming means; and a detecting means for detecting.

[作用] かかる本発明の構成において、検出手段で印刷ミス発生
状態からの解除に移行したことを検出したとき、前記記
憶手段で記憶された画像パターンを読み出し、前記像形
成手段で像を形成しなおすものである。
[Function] In the configuration of the present invention, when the detection means detects that the printing error occurrence state has been released, the image pattern stored in the storage means is read out, and an image is formed by the image forming means. It is something that can be repaired.

[実施例] 以下、添付図面に従って本発明に係る実施例を詳細に説
明する。
[Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

く構成概略の説明(第1図)〉 第1図は本実施例におけるレーザ・ビーム・プリンタ(
以下、単にLBPという)の構成とデータ発生源である
ホストコンピュータ102との関係を示す図である。
Explanation of the outline of the configuration (Fig. 1)> Fig. 1 shows the laser beam printer (Fig. 1) in this embodiment.
2 is a diagram showing the relationship between the configuration of the LBP (hereinafter simply referred to as LBP) and the host computer 102 that is a data generation source.

図示の如く、LBPは印刷機構部112とデータ受信と
印刷機構部112へのデータ出力を制御する制御部10
0とで構成されている。
As shown in the figure, the LBP includes a printing mechanism section 112 and a control section 10 that controls data reception and data output to the printing mechanism section 112.
It consists of 0.

図中、101はLBP全体制御及び入力データの解析を
行うCPUであり、103はホストコンピュータ102
からのデータを入力するための入力インタフェース回路
である。104は後述する第5図〜第7図に示すフロー
チャートに係るプログラム及び文字コードに対応するフ
ォントパターンを記憶しているROMである。105は
CP Ulのワークエリアとして使用するRAMであっ
て、その処理中における各種カウンタやテーブルを納め
るものである。106はホストコンピュータ102から
入力される各種登録情報(ダウロードフォント、オーバ
レイページ情報等)を格納したり、後述するページメモ
リの印字後の圧縮データを格納する保存メモリ(RAM
で構成される)である。l○7はホストコンピュータ1
02からの入力データを基に、1ペ一ジ分のビットマツ
プ化された画像を保存するページメモリ(RAMで構成
されている)である。尚、実施例におけるLBPで扱う
記録媒体(印刷用紙)サイズは説明を簡略化するため、
A4サイズに固定しであると共に、このページメモリ1
07の容量を以下、ページメモリサイズという、108
は保存メモリ1゜6に保存するページの圧縮データの容
量の上限を選択するページ保存量選択スイッチであり、
−敗のロータリースイッヂで構成され、前述のページメ
モリサイズxi、x2.x3.x4の4ポジシヨンが設
定される。109は所定周期毎にCPU1に割り込みパ
ルス信号を出力するタイマであり、実施例ではこの周期
を100m5とした。CPutはこのパルス信号を人力
すると、後述する第7図に示す割り込み処理ルーチンを
実行する。
In the figure, 101 is a CPU that controls the entire LBP and analyzes input data, and 103 is a host computer 102.
This is an input interface circuit for inputting data from. 104 is a ROM that stores programs related to flowcharts shown in FIGS. 5 to 7, which will be described later, and font patterns corresponding to character codes. A RAM 105 is used as a work area for the CPU 1, and stores various counters and tables during processing. 106 is a storage memory (RAM) that stores various registration information (download fonts, overlay page information, etc.) input from the host computer 102, and stores compressed data after printing in page memory, which will be described later.
). l○7 is host computer 1
This is a page memory (consisting of RAM) that stores one page's worth of bitmap images based on the input data from 02. In addition, in order to simplify the explanation, the recording medium (printing paper) size handled by LBP in the example is as follows.
It is fixed to A4 size and this page memory 1
The capacity of 07 is hereinafter referred to as page memory size, 108
is a page storage amount selection switch that selects the upper limit of the capacity of compressed page data to be stored in the storage memory 1.6;
- Consists of a rotary switch with the above-mentioned page memory sizes xi, x2. x3. Four positions of x4 are set. Reference numeral 109 is a timer that outputs an interrupt pulse signal to the CPU 1 at predetermined intervals, and in the embodiment, this cycle is set to 100 m5. When CPUt receives this pulse signal manually, it executes an interrupt processing routine shown in FIG. 7, which will be described later.

110はページメモリ107に展開された画像データを
画像信号に変換する画像信号発生器で、印刷機構部11
2からの同期信号(例えばビームデイテクト信号等)に
よって出力インタフェース回路111を介して画像信号
を印字機構部112へ送り込む。また、この出力インタ
フェース回路111はCPUl0I及び画像発生器11
0と印字機構部112間の各種制御信号や画像信号のイ
ンタフェースを司どるものである。
110 is an image signal generator that converts the image data developed in the page memory 107 into an image signal;
An image signal is sent to the printing mechanism section 112 via an output interface circuit 111 in response to a synchronization signal (for example, a beam detect signal) from 2. Further, this output interface circuit 111 is connected to the CPUl0I and the image generator 11.
0 and the printing mechanism section 112, and controls the interface of various control signals and image signals.

一方、印刷機構部112は用紙の給紙、レーザ光の発生
、画像の用紙への転写、定着といったLBPの一連の印
刷プロセスを実現する構成要素からなる。尚、印刷機構
部112内で“ジャム(紙詰り)“の発生(紙の滞留)
を検知すると、その旨のスティタス信号を出力インタフ
ェース111を介してCPU 101へ伝える。
On the other hand, the printing mechanism section 112 is composed of components that implement a series of LBP printing processes such as feeding paper, generating laser light, transferring an image to paper, and fixing. Additionally, if a “jam” occurs (paper stays) in the printing mechanism section 112,
When detected, a status signal to that effect is transmitted to the CPU 101 via the output interface 111.

第2図はこの印字機構部112の内部構成を示す断面図
である。
FIG. 2 is a sectional view showing the internal structure of this printing mechanism section 112.

図示において、200はLBPの本体、201は前述の
制御部100を含む回路基板である。
In the figure, 200 is the main body of the LBP, and 201 is a circuit board including the control section 100 described above.

レーザドライバ202は半導体レーザ203を駆動制御
するための回路であり、入力された画像信号に応じて半
導体レーザ203から発射されるレーザ光204をオン
/オフを制御する。
The laser driver 202 is a circuit for driving and controlling the semiconductor laser 203, and controls on/off of the laser beam 204 emitted from the semiconductor laser 203 according to the input image signal.

このレーザ光204は回転多面鏡(ポリゴンミラー)2
05で左右方向に振られて静電ドラム206上に照射さ
れ、静電ドラム206上には文字パターンやイメージ情
報の潜像が形成される。この潜像は静電ドラム206の
周囲の現像ユニット207により現像されたのち用紙に
転写される。
This laser beam 204 is transmitted to a rotating polygon mirror (polygon mirror) 2.
At step 05, the light is swung left and right and irradiated onto the electrostatic drum 206, forming a latent image of a character pattern or image information on the electrostatic drum 206. This latent image is developed by a developing unit 207 around the electrostatic drum 206 and then transferred onto a sheet of paper.

用紙にはA4サイズのカットシート紙を用い、カットシ
ート紙はLBP本体200に装着した用紙カセット20
8に収納され、給紙ローラ209及び搬送ローラ210
と211とにより装置内に取り込まれて静電ドラム20
6に供給される。212,216は一般の光センサを応
用したジャム(紙づまり)センサである。これらのセン
サにより、まず給紙ローラ209により装置内に取り込
まれた用紙が、ある一定時間内にジャムセンサ212に
達したか、また搬送ローラ211で現像ユニット207
へ送り込まれた用紙が、ある一定時間内に定着ローラ2
13により定着され、排紙ローラ214及び排紙ベルト
215によりジャムセンサ216を通過して完全に外の
排紙スタッカ217へ排紙されたかをチエツクする。そ
して、どこかで用紙が滞った場合、直ちに印字機構を停
止し、CPU 101に伝える。
A4 size cut sheet paper is used for the paper, and the cut sheet paper is stored in the paper cassette 20 attached to the LBP main body 200.
8, a paper feed roller 209 and a conveyance roller 210
and 211 into the device and the electrostatic drum 20
6. Reference numerals 212 and 216 are jam (paper jam) sensors that are based on general optical sensors. These sensors check whether the paper taken into the apparatus by the paper feed roller 209 reaches the jam sensor 212 within a certain period of time, and whether the paper is detected by the conveyance roller 211 and the developing unit 207.
The paper sent to the fixing roller 2 within a certain period of time
13, the paper passes through the jam sensor 216 by the paper ejection rollers 214 and the paper ejection belt 215, and it is checked whether the paper is completely ejected to the outer paper ejection stacker 217. If the paper becomes stuck somewhere, the printing mechanism is immediately stopped and the CPU 101 is notified.

く処理概要の説明〉 実施例のLBPにおいては、給紙ローラ209から排紙
スタッカ217までの紙搬送路に最大4ペ一ジ分の紙が
滞留可能である。そして、ジャムが発生した場合には対
応するページの情報が常に、保存メモリ106上に残っ
ているようにして、ジャム対策処理を行なった後には、
ホストコンピュータ102からはデータの再送すること
なしに、損なわれた紙に対する再印字を可能とするもの
である。
Description of processing outline> In the LBP of the embodiment, a maximum of four pages of paper can be retained in the paper conveyance path from the paper feed roller 209 to the paper discharge stacker 217. When a jam occurs, the information of the corresponding page always remains in the storage memory 106, and after the jam countermeasure processing is performed,
This allows reprinting on damaged paper without retransmitting data from the host computer 102.

このため、実施例では、少なくとも印刷処理そのものが
終了したページメモリ107上のデータに対しては圧縮
処理し、保存メモリ106に一旦保存する様にした。
For this reason, in the embodiment, at least the data on the page memory 107 for which the printing process itself has been completed is compressed and temporarily stored in the storage memory 106.

第3図にデータ圧縮フォーマットの一例を示す。FIG. 3 shows an example of a data compression format.

実施例における圧縮データ300はいわゆるランレング
ス方式をとり、ページメモリ107上のビットマツプイ
メージに対して“0“が続く数、“1”が続く数を交互
にカウントして記憶していくものとした9図中、301
で示されるWlが“O”すなわち白ビットの数を示し、
302のB+が“1”すなわち黒ビットの数を示してい
る。そして、このWl、B+のペアがi=1.2・・・
と続くものである。尚、W t、 B tはそれぞれ1
バイトで構成されており、“0“または“1”ビットが
連続して255を越える場合はダミーの“l”または“
O“のバイトをはさみ込む。例えば、“0“のビットが
300個続く場合には、W + =255、B+ =O
,W+、+ =45という形式になる。
The compressed data 300 in this embodiment uses a so-called run-length method, in which the number of consecutive "0"s and the number of consecutive "1"s are alternately counted and stored in the bitmap image on the page memory 107. 301 out of 9 figures
Wl denoted by indicates “O”, that is, the number of white bits,
B+ of 302 indicates "1", that is, the number of black bits. Then, this pair of Wl and B+ is i=1.2...
This is what follows. In addition, W t and B t are each 1
It consists of bytes, and if there are more than 255 consecutive “0” or “1” bits, a dummy “l” or “
Insert O" bytes. For example, if 300 "0" bits continue, W + = 255, B + = O
, W+, + =45.

次にワークメモリ105のデータ構造及びそのワークメ
モリ105と保存メモリ106の関係を第4図に示し、
説明する。
Next, the data structure of the work memory 105 and the relationship between the work memory 105 and the storage memory 106 are shown in FIG.
explain.

図中、400はページメモリ107上のデータを保存メ
モリ106に保存するための管理テーブルであるところ
のページ保存テーブルであり、紙の搬送路に依存するジ
ャムの最大滞留枚数に合わせて4つのテーブルユニット
をもつ、それぞれのユニットは、タイムカウンタ401
、データ長4o2、ページポインタ403から成る。タ
イムカウンタ401はページメモリ107の画像データ
が印字され、その圧縮データが本ページ保存テーブルに
保存された時、「この時点から紙が排紙スタッカ217
へ完全に排出されるまでの時間」がセットされる。この
タイムカウンタ401はタイマ割込処理ルーチン700
で定期的に減算され、ページ保存終了時期を知るのに使
われる。データ長402はページメモリ107上の画像
データを圧縮した場合のデータ容量を記憶する領域であ
る。ページポインタ403は第3図に示した形式で圧縮
され、保存メモリ106上に保存された圧縮データの先
頭アドレスを示すアドレスポインタである。保存メモリ
106は決められた単位のセグメントに分けられ、空い
ているセグメントを自由に使用できる構造になっており
、ページメモリ107の圧縮データは保存メモリ106
上の空領域の任意の場所に保存され、全出力のページポ
インタ403でページ保存テーブル400につなげられ
る。図示の場合、斜線部の420,421゜422が保
存されたページメモリ107の圧縮データを示している
In the figure, 400 is a page storage table which is a management table for saving data on the page memory 107 to the storage memory 106, and there are four tables according to the maximum number of jammed sheets depending on the paper conveyance path. Each unit has a time counter 401.
, data length 4o2, and page pointer 403. The time counter 401 indicates that when the image data in the page memory 107 is printed and its compressed data is saved in the page storage table, "From this point on, the paper is
The time required for the water to be completely discharged is set. This time counter 401 is controlled by the timer interrupt processing routine 700.
It is subtracted periodically and is used to know when to end saving the page. The data length 402 is an area that stores the data capacity when the image data on the page memory 107 is compressed. The page pointer 403 is an address pointer indicating the start address of the compressed data compressed in the format shown in FIG. 3 and stored on the storage memory 106. The storage memory 106 is divided into segments of predetermined units, and has a structure in which free segments can be used freely, and the compressed data in the page memory 107 is stored in the storage memory 106.
It is saved at an arbitrary location in the empty area above, and connected to the page save table 400 by a page pointer 403 of all outputs. In the illustrated case, the diagonally shaded portions 420, 421, 422 indicate compressed data stored in the page memory 107.

また、410は次にセットすべきページ保存テーブルの
ユニットを示す次ページポインタであり、1ページの印
字が終了すると、ページメモリ107上の画像データは
圧縮処理をうけ、この次ページポインタ410に示され
るユニットの各パラメータに値がセットされ、次ページ
ポインタ410は次のユニットへ進む。411は、ペー
ジメモリ107上の画像データを圧縮形式に従って圧縮
する際のバイトカウンタであり、最終結果が圧縮データ
長としてデータ長402にセットされる。412は保存
メモリ106にその時に存在する複数の圧縮データの総
データ長をバイト単位でカウントしているページ容量カ
ウンタである。413はページ保存量選択スイッチ10
8によって選択された圧縮データの保存量の上限を記憶
しておくページ容量設定エリアであり、ページ保存量選
択スイッチ108の設定をバイト数に変換して、記憶さ
れる。
Further, 410 is a next page pointer indicating the unit of the page storage table to be set next. When printing of one page is completed, the image data on the page memory 107 is compressed and is indicated in the next page pointer 410. A value is set for each parameter of the unit to be displayed, and the next page pointer 410 advances to the next unit. 411 is a byte counter when the image data on the page memory 107 is compressed according to the compression format, and the final result is set in the data length 402 as the compressed data length. A page capacity counter 412 counts the total data length of a plurality of compressed data existing in the storage memory 106 at that time in bytes. 413 is a page storage amount selection switch 10
This is a page capacity setting area in which the upper limit of the storage amount of compressed data selected by 8 is stored, and the setting of the page storage amount selection switch 108 is converted into the number of bytes and stored.

く処理手順の説明(第5図〜第7図)〉上述した構成及
び原理に基づく、本実施例のLBPの制御処理手順を第
5図〜第7図のフローチャートに従って説明する。
Description of the processing procedure (FIGS. 5 to 7)> The LBP control processing procedure of this embodiment based on the above-described configuration and principle will be explained according to the flowcharts of FIGS. 5 to 7.

第5図はCPU 101のメインルーチンの処理を示す
フローチャートである。
FIG. 5 is a flowchart showing the main routine processing of the CPU 101.

先ず、ステップS501でLBP全体の初期化を施し、
ワークメモリ105上のテーブル類やカウンタ類のリセ
ットや保存メモリ106のクリアを行う。次にステップ
502に進んで、ページ保存量選択スイッチ108をチ
エツクし、対応する設定値をページ容量設定エリア41
3にセットする。そしてCPU 101はステップ50
3以下の通常印刷処理を行う。
First, in step S501, the entire LBP is initialized,
The tables and counters on the work memory 105 are reset and the storage memory 106 is cleared. Next, the process proceeds to step 502, where the page storage capacity selection switch 108 is checked and the corresponding setting value is entered in the page capacity setting area 41.
Set to 3. Then, the CPU 101 performs step 50
3 or less performs normal printing processing.

ステップ503においてホストコンピュータ102から
のデータを入力インタフェース回路103を介して受取
り、ステップ504でその受信データを解析して対応す
る文字ドツトパターンをROM104から取出し、ペー
ジメモリ107ヘパターン展開する。そして、この処理
を1ペ一ジ分のデータに対して行ったか否かをステップ
5505で判断し、1ペ一ジ分のデータ受信もしくは文
字ドツトパターンの展開処理が終了するまで、ステップ
3503〜505の処理を繰り返す。さて、1ペ一ジ分
のページメモリ107上への展開が終了すると、次にス
テップ5506で既にジャムが発生しているか否かチエ
ツクする。ジャムが発生していなければ、ステップ50
7へ進んで、ページメモリ107上の画像データを画像
信号発生器110に送って、印刷機構部112に画像信
号として出力し、印刷動作を実行させる。また、ジャム
が発生していた場合には、ページをさかのぼって印刷す
る必要があるため、ステップ507の処理をスキップす
る。いずれにせよ、ステップ5508では、ページメモ
リ107内の画像の圧縮及び保存処理を実行する(詳細
は後述する)。
In step 503, data from the host computer 102 is received via the input interface circuit 103, and in step 504, the received data is analyzed, a corresponding character dot pattern is taken out from the ROM 104, and the pattern is expanded into the page memory 107. Then, it is determined in step 5505 whether or not this process has been performed for one page of data, and steps 3503 to 505 are performed until one page of data is received or character dot pattern development processing is completed. Repeat the process. Now, when one page has been expanded onto the page memory 107, it is checked in step 5506 whether or not a jam has already occurred. If no jam occurs, step 50
Proceeding to step 7, the image data on the page memory 107 is sent to the image signal generator 110, which outputs it as an image signal to the printing mechanism section 112 to execute a printing operation. Furthermore, if a jam has occurred, it is necessary to go back and print the page, so the process of step 507 is skipped. In any case, in step 5508, the image in the page memory 107 is compressed and stored (details will be described later).

そして、ステップ509で、再度、ジャムが発生してい
るか否かチエツクし、ジャムが発生していなければステ
ップ503に戻って、次のページの処理を続ける。
Then, in step 509, it is checked again whether or not a jam has occurred, and if no jam has occurred, the process returns to step 503 to continue processing the next page.

一方、ステップ509でジャムを検知した場合にはステ
ップ5510以降の処理を実行し、ジャム処理を実行す
ることになる。
On the other hand, if a jam is detected in step 509, the processes from step 5510 onwards are executed to perform jam processing.

先ず、ステップ510においては、ページ保存テーブル
400の各タイマカウンタ401をチエツクし、一番カ
ウント値の少ないもの、すなわち搬送路内に滞留して損
なわれた複数の用紙中の一番古いものに相当するページ
保存テーブル400のユニットを見つけ出す。このユニ
ットを起点にして、以下、ステップ511〜516で、
保存メモリ106に残っている過去のページデータをペ
ージ保存テーブル400のユニット順に再印字する。
First, in step 510, each timer counter 401 of the page storage table 400 is checked, and the one with the lowest count value, that is, the oldest one of the plurality of sheets that has been damaged due to accumulation in the conveyance path, is checked. The unit in the page storage table 400 that is to be used is found. Starting from this unit, in steps 511 to 516,
The past page data remaining in the storage memory 106 is reprinted in the unit order of the page storage table 400.

初めに、ステップ511で、ページポインタ403で示
される保存メモリ106上の圧縮データ420をデータ
圧縮フォーマットに基づいて伸張し、ページメモリ10
7に展開しなおす。そしてステップ512で操作者が滞
留した紙を取り除くのを待って、ステップ513でステ
ップ507同様、ページメモリ107上のイメージデー
タを印刷する。尚、このときに再度ジャムが発生したこ
とをステップ514でチエツクした場合にはステップ5
511に戻ることになる。また、ステップ5513の処
理に移るタイミングであるが、通常はジャムの場合、装
置の蓋を開けて紙を取り出すので、この蓋が開いた状態
から閉った状態になることを検出して実行する様にした
が、これに限定されるものではない。例えば新たなセン
サを設け、このセンサで紙詰まりを検出しなくなった時
点としても良いからである。
First, in step 511, the compressed data 420 on the storage memory 106 indicated by the page pointer 403 is decompressed based on the data compression format, and the page memory 10
7. Then, in step 512, the operator waits to remove the accumulated paper, and in step 513, as in step 507, the image data on the page memory 107 is printed. If it is checked in step 514 that a jam has occurred again at this time, step 5 is performed.
It will return to 511. Also, this is the timing to move to step 5513, but normally in the case of a jam, the lid of the device is opened and the paper is taken out, so this step is executed after detecting that the lid changes from the open state to the closed state. However, it is not limited to this. For example, a new sensor may be provided and the time point may be set at a time when this sensor no longer detects a paper jam.

さて、次にステップ515で現時点のページ保存テーブ
ル400のユニットのタイムカウンタ4o1を初期値に
セットしなおし、ステップ516でジャム対象ページを
全て印刷したかチエツクする。全てのページの印刷が終
了すると、ステップ503へ戻って新しいページの処理
を続行する。
Next, in step 515, the time counter 4o1 of the unit of the current page storage table 400 is reset to the initial value, and in step 516, it is checked whether all the jammed pages have been printed. When all pages have been printed, the process returns to step 503 to continue processing a new page.

上述した処理におけるステップ8508の詳細な手順例
を第6図のフローチャートに従って説明する。
A detailed procedure example of step 8508 in the above-described process will be explained according to the flowchart of FIG. 6.

先ず、ステップ601において圧縮カウンタ411を“
O”にリセットする。そして、以下ステップ602〜6
07の圧縮処理を1ページ分繰り返す。最初に、ステッ
プ602においてページ容量カウンタ412がページ容
量設定エリア413の値に達したか否かをチエツクし、
達していたならば保存メモリ602が空くのを待つ。尚
、この間にも後述するタイマ割り込みルーチンが所定周
期毎に実行されるものであり、これによって保存メモリ
106に空きエリアが発生することになる。さて、ペー
ジ容量カウンタがページ容量設定カウンタよりも下回る
と判断した場合には、次のステップ603で、圧縮カウ
ンタ411が定数であるページメモリサイズに達したか
否かをチエツクする。ページメモリサイズに達していな
ければそのまま圧縮処理を続行しステップ604へ進む
。そして、ステップ604でページメモリ107上の現
在の位置の“白”画素(“0”ビット)、黒”画素(”
1”ビット)の連続性をカウントし、データ圧縮フォー
マットに従ってWl。
First, in step 601, the compression counter 411 is set to “
O”.Then, the following steps 602 to 6
07 is repeated for one page. First, in step 602, it is checked whether the page capacity counter 412 has reached the value of the page capacity setting area 413,
If it has, wait until the storage memory 602 becomes free. Note that during this time, a timer interrupt routine, which will be described later, is executed at predetermined intervals, thereby creating an empty area in the storage memory 106. If it is determined that the page capacity counter is less than the page capacity setting counter, then in the next step 603, it is checked whether the compression counter 411 has reached the constant page memory size. If the page memory size has not been reached, the compression process continues and the process advances to step 604. Then, in step 604, the "white" pixel ("0" bit) and the black" pixel ("
Wl according to the data compression format.

B+を保存メモリ106上に格納する。そして、ステッ
プ605で次の圧縮データ保存に備えて、圧縮カウンタ
411を2バイト分更新すると共に、ステップ5606
でページ容量カウンタ412も2バイト分更新する。ス
テップ607では、ページメモリ107全ての領域に対
して、上記圧縮処理が終了したかチエツクする。圧縮及
び保存処理が終了したならばステップ613に進み、次
ページポインタで示されているページ保存テーブル40
0のユニットに対して、タイムカウンタ401に圧縮処
理を施したページが完全に排出される時間をセットする
と共に、データ長402には圧縮データを、そして注目
ユニット中のページポインタ403に圧縮データを格納
した保存メモリ106上の先頭アドレスをセットする。
B+ is stored on the storage memory 106. Then, in step 605, in preparation for saving the next compressed data, the compression counter 411 is updated by 2 bytes, and in step 5606
The page capacity counter 412 is also updated by 2 bytes. In step 607, it is checked whether the compression process has been completed for all areas of the page memory 107. When the compression and storage processing is completed, the process advances to step 613, and the page storage table 40 indicated by the next page pointer is saved.
For unit 0, set the time until the compressed page is completely ejected in the time counter 401, and set the compressed data in the data length 402 and the compressed data in the page pointer 403 in the unit of interest. Set the starting address on the storage memory 106 where the data is stored.

そして、次ページポインタ410が次のユニットを指し
示す様に更新し、ページ保存テーブルの更新処理な終え
る。
Then, the next page pointer 410 is updated to point to the next unit, and the page storage table update process is completed.

一方、ステップ5603で圧縮カウンタ411が定数で
あるページメモリサイズに達したと判断した場合、すな
わち、ページメモリ107に展開されたデータは、本圧
縮方式では圧縮効果がないと判断されるので、ステップ
5608以降の処理で、圧縮処理を中止する。
On the other hand, if it is determined in step 5603 that the compression counter 411 has reached the constant page memory size, in other words, it is determined that the data developed in the page memory 107 is not compressed by this compression method, so step In the process after 5608, the compression process is stopped.

具体的には、ステップ5608において、それ以前の処
理(ステップ602〜607)で途中まで保存メモリ1
06に作成した圧縮データをクリアする。そしてステッ
プ5609に進み、圧縮カウンタ411にページメモリ
サイズ(ページメモリ107の容量=展開された画像の
大きさ)を格納し、次のステップ610でページ容量カ
ウンタ412にそのページメモリサイズを加える。そし
て、ステップ611でステップ602同様に保存メモリ
106の空くのを待ちをし、ステップ612でページメ
モリ107の内容をそのまま(非圧縮)で、保存メモリ
106の空領域にコピーし、前述のステップ613へ進
んで、ページメモリ圧縮処理を終える。
Specifically, in step 5608, the previous processing (steps 602 to 607)
Clear the compressed data created in 06. Then, the process proceeds to step 5609, where the page memory size (capacity of page memory 107 = size of expanded image) is stored in the compression counter 411, and the page memory size is added to the page capacity counter 412 in the next step 610. Then, in step 611, as in step 602, wait until the storage memory 106 becomes free, and in step 612, the contents of the page memory 107 are copied as is (uncompressed) to the empty area of the storage memory 106, and in step 613 described above, Proceed to , and finish page memory compression processing.

尚、圧縮が不成功に終わる要因として、例えばページメ
モリ107に展開された画素が黒白黒白・・・という具
合に並んでいる場合が考えられる。
Note that a possible cause of the compression being unsuccessful is, for example, when the pixels developed in the page memory 107 are arranged in black, white, white, and so on.

このとき、第3図の圧縮フォーマットでは、各画素(ペ
ージメモリ上では1ビツト)に1バイト(8倍になる)
が割り当てられることになるからである。そこで、ステ
ップ5603で圧縮が不成功に終ったと判断した場合に
は、別の圧縮フォーマットで行う様にしても良い。例え
ば、今度は2ビツト以上を単位とするランレングスを取
る様にすることが考えられる。このとき、保存メモリ1
06内に格納された圧縮データがどの形式の圧縮フォー
マットで行われたのかを示すテーブルを設ければ良い。
At this time, in the compression format shown in Figure 3, each pixel (1 bit on the page memory) has 1 byte (8 times more).
This is because it will be assigned. Therefore, if it is determined in step 5603 that the compression was unsuccessful, another compression format may be used. For example, it is conceivable to take a run length in units of 2 bits or more. At this time, storage memory 1
It is sufficient to provide a table indicating in which compression format the compressed data stored in 06 is compressed.

次に、第7図のフローチャートに従って、実施例におけ
るタイマ割り込み処理を説明する。尚、先に説明した様
に、この処理は100m5毎にCPUl0Iが実行する
ものである。
Next, timer interrupt processing in the embodiment will be explained according to the flowchart in FIG. As explained above, this process is executed by CPUl0I every 100m5.

先ず、ステップ701で、現在、ジャム発生中か、また
はメインルーチン500がステップ510〜ステツプ5
16のジャム処理中かをチエツクする。そして、ジャム
発生中及びジャム処理の場合は、この割込処理を終える
First, in step 701, it is determined whether a jam is currently occurring or if the main routine 500 is
16. Check whether jam processing is in progress. Then, if a jam is occurring or a jam is being processed, this interrupt processing is finished.

また、ジャム発生中、或いはジャム処理中でないと判断
した場合には、ページ保存テーブル400の全ユニット
に対してステップ702以下の処理を施す。
Further, if it is determined that a jam is occurring or that the jam is not being processed, the processes from step 702 onwards are performed on all units of the page storage table 400.

ステップ702において注目ユニットのタイムカウンタ
401から“1”を減じ、ステップ703でそのタイム
カウンタ401が“O”に達したかチエツクする。タイ
ムカウンタ401が“O”になった場合、対象のページ
が完全にLBP本体200の外へ排出されたこと(保存
している必要がなくなったこと)を示すから、ステップ
704で保存メモリ106上を占めていた、注目ページ
の圧縮データに対応するメモリ領域を開放し、ステップ
705でぺ、−ジ容量カウンタ412から対応するデー
タ長402分のバイト数を減する。また、タイマカウン
タ401が“0”以上であると判断した場合いは、ステ
ップ5704及び5705の処理をスキップする。
In step 702, "1" is subtracted from the time counter 401 of the unit of interest, and in step 703, it is checked whether the time counter 401 has reached "O". When the time counter 401 becomes “O”, this indicates that the target page has been completely ejected from the LBP main body 200 (there is no longer a need to save it), so in step 704 it is stored in the storage memory 106. The memory area corresponding to the compressed data of the page of interest that was occupied is released, and in step 705, the number of bytes corresponding to the data length 402 is decremented from the page capacity counter 412. Furthermore, if it is determined that the timer counter 401 is greater than or equal to "0", the processing in steps 5704 and 5705 is skipped.

こうして、ステップ5706で、ページ保存テーブル4
00の全ユニットに対するチエツクが終了したことを検
出するまで、上述したステップ3702〜ステツプ52
05の処理を繰り返す。
Thus, in step 5706, page save table 4
Steps 3702 to 52 described above are carried out until it is detected that the check for all units of 00 is completed.
Repeat the process of 05.

以上、説明した様の本実施例によれば、少なくとも搬送
路内にある印字済み画像に係るデータは圧縮された形式
で保存されているので、万一ジャム等の予期せぬ事態が
起っても、印刷データを再度受信することなく、良好な
出力画像を得ることが可能となる。また実施例の保存メ
モリ106は空きがあれば圧縮データに限らず自由に使
用できるため、ホストコンピュータ102からのフォン
トのダウンロードパターンの保存やベクトルダウンロー
ドフォントのパターン展開用のフォントキャッシュとし
て、ダイナミックに利用できるようになる。
According to this embodiment as described above, at least the data related to the printed image in the conveyance path is stored in a compressed format, so that in the unlikely event that an unexpected situation such as a jam occurs, Also, it is possible to obtain a good output image without receiving print data again. In addition, the storage memory 106 in the embodiment can be used freely for not only compressed data if there is free space, so it can be used dynamically as a font cache for storing font download patterns from the host computer 102 or for pattern expansion of vector download fonts. become able to.

尚、実施例はレーザービームプリンタへの適用例で説明
したが、これに限定されるものではない。例えば、LE
Dプリンタやインクジェットプリンタなど種々の印刷装
置に適用できるからである。また、本実施例ではデータ
圧縮の方式をランランゲス方式に基づいたが、圧縮方式
はこれに限らずMH方式など種々の方式が適用できる。
Note that although the embodiment has been described as an example of application to a laser beam printer, the present invention is not limited thereto. For example, L.E.
This is because it can be applied to various printing devices such as D printers and inkjet printers. Further, in this embodiment, the data compression method is based on the Lang Langes method, but the compression method is not limited to this, and various methods such as the MH method can be applied.

また、本実施例ではジャム発生時の再印字のためにペー
ジ情報の圧縮保存を行ったわけであるが、例えば、ペー
ジメモリ上に展開したビットマツプ情報を印字する前で
あっても次々に圧縮保存しておき、印字機構部の紙の給
紙速度に合わせて、圧縮データの伸長及び画像出力を行
ってもよい。これによって印字機構部に比べ、制御部の
能力が比較的高い装置においては比較的少ないメモリ上
に予めページ情報を多数用意しておけるので、印字の実
行スピードの向上が望める。特に、本実施例のように作
成したページの画像信号を画像発生器などの別ユニット
で処置させる場合、もう1ペ一ジ分のページメモリをバ
ッファとして用意しておき、印字中に先のページを次々
に作って、圧縮保存しておくと全体の印字効率が向上す
る。
In addition, in this embodiment, page information is compressed and saved for reprinting when a jam occurs, but for example, even before printing bitmap information developed on page memory, bitmap information may be compressed and saved one after another. Then, the compressed data may be expanded and the image outputted in accordance with the paper feeding speed of the printing mechanism section. As a result, a large amount of page information can be prepared in advance in a relatively small amount of memory in an apparatus in which the control section has relatively high performance compared to the printing mechanism section, so that it is possible to improve the printing execution speed. In particular, when the image signal of the created page is processed by another unit such as an image generator as in this embodiment, a page memory for one more page is prepared as a buffer, and the image signal of the previous page is processed while printing. If you create them one after another and compress and save them, the overall printing efficiency will improve.

また本実施例は片面印刷の場合における本発明の実施例
であったが、両面印刷の装置にも適用できることはいう
までもない、特に両面印刷の場合、ジャム再送枚数の2
倍(表面、裏面)のページを保存する必要がありデータ
圧縮してメモリ効率を上げる効果は大きい。
Furthermore, although this embodiment is an example of the present invention for single-sided printing, it goes without saying that the present invention can also be applied to a double-sided printing device.
It is necessary to store twice as many pages (front and back), so compressing data has a great effect on improving memory efficiency.

[発明の効果] 以上、説明した様に本発明によれば、記録媒体が搬送路
に詰ってしまって印刷不能状態が発生しても、その印刷
出力した画像データを保持しているので、再度の印刷情
報受信をすることなしに、出力画像を得ることが可能と
なる。
[Effects of the Invention] As explained above, according to the present invention, even if a recording medium becomes clogged in the conveyance path and a printing failure occurs, the printed image data is retained, so the printout can be performed again. It becomes possible to obtain an output image without receiving print information.

また、画像データは圧縮された形式で保持されているの
で、メモリの効率化が図れる。
Furthermore, since the image data is held in a compressed format, memory efficiency can be improved.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は実施例における印刷装置の制御系を構成を示す
ブロック図、 第2図は実施例における印刷装置の印刷機能部の構造を
示す断面図、 第3図は実施例における圧縮フォーマットを示す図、 第4図は実施例におけるワークメモリと保存メモリとの
データの格納の状態を示す概念図、第5図は実施例にお
けるメインルーチンにかかるフローチャート、 第6図は第5図におけるページメモリ圧縮処理ルーチン
内部を示すフローチャート、 第7図は実施例におけるタイマ割込処理ルーチンのフロ
ーチャートである。 図中、100・・・制御部、101・・・制御部のCP
U、102・・・ホストコンピュータ、103・・・入
力インタフェース回路、104・・・ROM、105・
・・ワークメモリ、106・・・保存メモリ、107・
・・ページメモリ、108・・・ページ保存量選択スイ
ッチ、109・・・タイマ回路、110・・・画像信号
発生器、111・・・出力インタフェース回路、112
・・・印字機構部、400・・・ページ保存テーブルで
ある。 特許出願人    キャノン株式会社 第3図 第4図 第7図
Fig. 1 is a block diagram showing the configuration of the control system of the printing device in the embodiment, Fig. 2 is a sectional view showing the structure of the printing function section of the printing device in the embodiment, and Fig. 3 shows the compression format in the embodiment. Figure 4 is a conceptual diagram showing the state of data storage in the work memory and storage memory in the embodiment, Figure 5 is a flowchart of the main routine in the embodiment, and Figure 6 is the page memory compression in Figure 5. Flowchart showing the inside of the processing routine. FIG. 7 is a flowchart of the timer interrupt processing routine in the embodiment. In the figure, 100...control unit, 101...CP of the control unit
U, 102... host computer, 103... input interface circuit, 104... ROM, 105...
...Work memory, 106...Save memory, 107.
...Page memory, 108...Page storage amount selection switch, 109...Timer circuit, 110...Image signal generator, 111...Output interface circuit, 112
. . . Printing mechanism section, 400 . . . Page storage table. Patent applicant Canon Co., Ltd. Figure 3 Figure 4 Figure 7

Claims (2)

【特許請求の範囲】[Claims] (1)外部より入力したページ単位の情報に基づく画像
を記録媒体上に印刷する印刷装置であつて、 入力した情報に基づく画像パターンを展開する展開手段
と、 展開された前記画像パターンに基づく出力画像を形成す
る像形成手段と、 少なくとも装置本体内に滞在し、且つ前記像形成手段で
像を形成された記録媒体上の画像パターンを複数ページ
分記憶する記憶手段と、 印刷ミスの発生及びその解除を検出する検出手段とを備
え、 該検出手段で印刷ミス発生状態からの解除に移行したこ
とを検出したとき、前記記憶手段で記憶された画像パタ
ーンを読み出し、前記像形成手段で像を形成しなおすこ
とを特徴とする印刷装置。
(1) A printing device that prints an image on a recording medium based on page-by-page information inputted from the outside, comprising a developing means for developing an image pattern based on the inputted information, and an output based on the developed image pattern. an image forming means that forms an image; a storage means that resides at least in the apparatus main body and stores a plurality of pages of image patterns on a recording medium on which an image is formed by the image forming means; and a detection means for detecting cancellation, and when the detection means detects that the printing error occurrence state has shifted to cancellation, the image pattern stored in the storage means is read out, and the image forming means forms an image. A printing device characterized by being able to be rewritten.
(2)記憶手段は展開手段に展開された画像パターンを
圧縮して記憶することを特徴とする請求項第1項に記載
の印刷装置。
(2) The printing apparatus according to claim 1, wherein the storage means compresses and stores the image pattern expanded in the expansion means.
JP63137463A 1988-06-06 1988-06-06 Output control device and compression control method Expired - Lifetime JP2610945B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63137463A JP2610945B2 (en) 1988-06-06 1988-06-06 Output control device and compression control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63137463A JP2610945B2 (en) 1988-06-06 1988-06-06 Output control device and compression control method

Publications (2)

Publication Number Publication Date
JPH01306249A true JPH01306249A (en) 1989-12-11
JP2610945B2 JP2610945B2 (en) 1997-05-14

Family

ID=15199194

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63137463A Expired - Lifetime JP2610945B2 (en) 1988-06-06 1988-06-06 Output control device and compression control method

Country Status (1)

Country Link
JP (1) JP2610945B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013146971A (en) * 2012-01-23 2013-08-01 Brother Industries Ltd Printing apparatus and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013146971A (en) * 2012-01-23 2013-08-01 Brother Industries Ltd Printing apparatus and program
US8727333B2 (en) 2012-01-23 2014-05-20 Brother Kogyo Kabushiki Kaisha Printing apparatus and program

Also Published As

Publication number Publication date
JP2610945B2 (en) 1997-05-14

Similar Documents

Publication Publication Date Title
US8339660B2 (en) Tandem continuous paper printer
EP1010133B1 (en) Image storage and retrieval for a printer
JP3562860B2 (en) Printer system and printing method thereof
JPH05254185A (en) Printer device
JPS60257262A (en) Printing system of page printer
US5822505A (en) Data processing apparatus
JP4374822B2 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PRINT DEVICE, AND PRINT CONTROL PROGRAM
US5124727A (en) Page printer capable of efficiently printing data on paper sheets having different sizes
JPH01306249A (en) Printer
JP2007168103A (en) Printer and its recovery printing method
US6421138B1 (en) Page allocation/deallocation procedure for a printer/copier with accessory media sheet handling apparatus
JP3509840B2 (en) Page printer
JP2739293B2 (en) Printing equipment
JPH0236960A (en) Printer
EP0473016B1 (en) Image forming apparatus
JP3311969B2 (en) Discharge position control method and apparatus in printing apparatus
JPH0220358A (en) Printing apparatus
JP2768307B2 (en) Printer device
JPH0286465A (en) Printer device
JP3326042B2 (en) Printing system
JPH0336071A (en) Erroneous printing detection apparatus
JPH0284358A (en) Double-side printer
JPH04293156A (en) Recovery printing method
JPH04191065A (en) Printer
JPH09226213A (en) Printer and method for controlling the printer

Legal Events

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

Free format text: PAYMENT UNTIL: 20080227

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090227

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090227

Year of fee payment: 12