JPH09309250A - Controlling device for image forming apparatus - Google Patents

Controlling device for image forming apparatus

Info

Publication number
JPH09309250A
JPH09309250A JP9013008A JP1300897A JPH09309250A JP H09309250 A JPH09309250 A JP H09309250A JP 9013008 A JP9013008 A JP 9013008A JP 1300897 A JP1300897 A JP 1300897A JP H09309250 A JPH09309250 A JP H09309250A
Authority
JP
Japan
Prior art keywords
page
jam
printing
data
print
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9013008A
Other languages
Japanese (ja)
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 JP9013008A priority Critical patent/JPH09309250A/en
Publication of JPH09309250A publication Critical patent/JPH09309250A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To effectively utilize a memo in accordance with constitution of a system by making arbitrarily a reprinting function switchable to effective or invalid after a trouble is solved when the trouble occurs during printing operation. SOLUTION: When a jam recovery switch 208 is ON, the jam recovery flag FLG in an RAM 203 is made ON to make a reprinting function during the jam occurs effective and when it is OFF, the jam recovery flag FLC is made OFF to make the reprinting function during the jam occurs invalid. When the jam occurs, a jam indicator 207 is turned on and off and the number of sheets of retained papers is received from a printing mechanism part 220 and the number of sheets of papers to be transferred again is returned back from the present outputting point of a page control unit to require to reprint the page status. Then, a jam reset switch 206 is pushed and a light is turned off and the processing is finished. The page control unit is made to be an unused empty page and as page turning back processing is finished immediately, reprinting is not practically performed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ホストコンピュー
タからの印刷情報を印刷する印刷機構部の印刷制御方法
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control method for a print mechanism section that prints print information from a host computer.

【0002】[0002]

【従来の技術】従来この種の装置では、ジヤム(紙づま
り)や、印刷機構の不調などによる印刷ミスが生じた場
合、これを検知し自動的に印刷をやり直していた。しか
し、この再印刷のためには、既に印刷したデータをある
一定時間保有しておかなければならず、そのためのデー
タ保有用として装置のメモリ容量の一部が当てられてい
た。特に、ページ単位に動作するページプリンタなどに
おいてはその保存用メモリの容量は大量のものとなつて
いた。 更に最近では画像データも取扱うため記録密度
の高いレーザビームプリンタなどでは、その保存用メモ
リのメモリサイズは莫大なものとなつている。
2. Description of the Related Art Conventionally, in this type of apparatus, when a printing error such as a jam (paper jam) or a malfunction of the printing mechanism occurs, it is detected and the printing is automatically restarted. However, for this reprinting, it is necessary to retain the already printed data for a certain period of time, and a part of the memory capacity of the apparatus is allocated for retaining the data for that purpose. Particularly, in a page printer or the like which operates in page units, the storage memory has a large capacity. Further, recently, since the image data is also handled, in a laser beam printer or the like having a high recording density, the memory size of the storage memory is enormous.

【0003】一方、この種の印刷装置を接続するホスト
コンピユータ側では次第に内蔵メモリの大容量化、外部
記憶装置のメモリ容量の巨大化が進んできたため、上記
再印刷のためのデータ再送をホストコンピユータ側に任
せ、印刷装置側はメモリを文字パターンのダウンロード
などの領域に割り当て、メモリの有効利用を図る傾向に
ある。
On the other hand, on the side of the host computer to which this type of printing device is connected, the capacity of the built-in memory and the memory capacity of the external storage device have been gradually increased. The printing device side tends to allocate the memory to the area for downloading the character pattern or the like to effectively use the memory.

【0004】しかしながら他方ではローコスト化を図り
メモリ容量に余裕のないホストコンピユータも普及し、
印刷ミス時の再印刷を印刷装置側でサポートしなければ
ならない場合もある。
On the other hand, on the other hand, host computers having a low cost and having a small memory capacity have become widespread.
In some cases, the printing device must support reprinting when a printing error occurs.

【0005】[0005]

【発明が解決しようとする課題】このように、印刷内容
や、対象ホストコンピユータにより、印刷ミス時の自動
再印刷の要・不要が一意に決定できなくなつてきたにも
かかわらず、従来の印刷装置は一義的に印刷装置のメモ
リに再印刷データを保存しておくものであり、融通性に
富むシステムを構築する機器に適合しないものとなつて
きた。
As described above, although the necessity of automatic reprinting at the time of printing cannot be uniquely determined depending on the printing contents and the target host computer, the conventional printing is performed. The device uniquely stores the reprint data in the memory of the printing device, and has become unsuitable for a device that constitutes a highly flexible system.

【0006】本発明の目的は、上記課題を解決し、いわ
ゆる再印刷機能の有効・無効をシステム構成に合わせて
設定できる印刷制御方法を提供し、融通性に富んだシス
テム構成を可能とすると共に、印刷装置のメモリーの有
効利用を計ることが可能な印刷制御方法を提供すること
にある。
An object of the present invention is to solve the above problems, provide a printing control method capable of setting the validity / invalidity of a so-called reprint function in accordance with the system configuration, and enable a highly flexible system configuration. It is to provide a print control method capable of measuring the effective use of the memory of the printing apparatus.

【課題を解決するための手段】本発明は上記目的を達成
するために、ホストコンピュータから、印刷機構部での
印刷動作中に障害が発生した場合、その障害の解除後、
損なわれた頁から印刷を再開するのか、或いは損なわれ
た頁に引き続く頁から印刷を再開するかを選択するため
の命令を入力するステップ、前記ホストコンピュータか
ら出力された印刷情報を頁毎に記憶手段に記憶するステ
ップ、前記記憶手段に記憶された印刷情報を前記印刷機
構部にて印刷すべく出力するステップ、前記入力ステッ
プで入力された命令に基づいて、前記出力ステップでの
1頁の印刷情報の出力後、当該頁の印刷情報の印刷動作
が終了するまで前記記憶手段に当該頁の印刷情報を保持
させておくか、或いは印刷動作が終了する以前に、解放
するかを判断するステップ、とを有することを特徴とす
る。
In order to achieve the above-mentioned object, the present invention is designed so that, when a failure occurs from the host computer during the printing operation in the printing mechanism section, after the failure is cleared,
A step of inputting a command for selecting whether to restart printing from a damaged page or to restart printing from a page following a damaged page, storing print information output from the host computer page by page A step of storing the print information stored in the storage means, a step of outputting the print information stored in the storage means to be printed by the printing mechanism unit, and a printing of one page in the output step based on the command input in the input step. After outputting the information, a step of determining whether to retain the print information of the page in the storage unit until the print operation of the print information of the page ends, or to release the print information before the print operation ends, And having.

【0007】[0007]

【発明の実施の形態】以下、添付図面を参照して本発明
に好適なる一実施例を詳細に説明する。図2は本発明に
係る一実施例を実行するためのレーザビームプリンタ
(以下、LBPと称す)の内部構成を示す断面図であ
る。図において、100はLBP本体であり外部に接続
したホストコンピユータから供給される文字情報を対応
する文字パターンに変換して記録媒体である用紙上に像
形成する。101はLBP100全体の制御及びホスト
コンピユータから供給される文字情報等の解析をするプ
リンタ制御ユニツトである。プリンタ制御ユニツト10
1は主に文字情報を対応する文字パターンのビデオ信号
に変換してレーザドライバ102に出力する。レーザド
ライバ102は半導体レーザ103を駆動制御するため
の回路であり、入力されたビデオ信号に応じて半導体レ
ーザ103から発射されるレーザ光104をオン・オフ
切替する。レーザ光104は回転多面鏡105で左右方
向に振られて静電ドラム106上に照射され、静電ドラ
ム106上には文字パターンの潜像が形成される。この
潜像は静電ドラム106周囲の現象ユニツト107によ
り現象されたのち用紙に転写される。用紙にはカツトシ
ート紙を用い、カツトシート紙はLBP100に装着し
た用紙カセツト108に収納され、給紙ローラ109及
び搬送ローラ110と111とにより装置内に取り込ま
れて静電ドラム106に供給される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A preferred embodiment of the present invention will be described in detail below with reference to the accompanying drawings. FIG. 2 is a sectional view showing an internal configuration of a laser beam printer (hereinafter referred to as LBP) for carrying out an embodiment according to the present invention. In the figure, reference numeral 100 denotes an LBP main body which converts character information supplied from an externally connected host computer into a corresponding character pattern and forms an image on a recording medium such as paper. A printer control unit 101 controls the entire LBP 100 and analyzes character information and the like supplied from the host computer. Printer control unit 10
1 mainly converts character information into a video signal of a corresponding character pattern and outputs it to the laser driver 102. The laser driver 102 is a circuit for driving and controlling the semiconductor laser 103, and switches on / off the laser light 104 emitted from the semiconductor laser 103 according to an input video signal. The laser beam 104 is oscillated in the left-right direction by the rotary polygon mirror 105 and irradiated on the electrostatic drum 106, and a latent image of a character pattern is formed on the electrostatic drum 106. This latent image is transferred to a sheet after being developed by a phenomenon unit 107 around the electrostatic drum 106. A cut sheet is used as a sheet, and the cut sheet is stored in a sheet cassette 108 mounted on the LBP 100, taken into the apparatus by a sheet feeding roller 109 and conveying rollers 110 and 111, and supplied to the electrostatic drum 106.

【0008】112,113は一般の光センサを応用し
たジヤム(紙づまり)センサである。これらのセンサに
より、まず給紙ローラ109により装置内に取り込まれ
た用紙が、ある一定時間内にジヤムセンサ112に達し
たか、そして搬送ローラ111で現象ユニツトへ送り込
まれた用紙が、ある一定時間内にジヤムセンサ113へ
達したか、そして、その後用紙全部が定着ローラ11
4、排紙ローラ115によりジヤムセンサ113を通過
して完全に外へ排紙されたかをチエツクする。そして、
どこかで用紙が滞つた場合、直ちに印字機構を停止し、
ジヤムセンサ112による給紙回数、タイミング及びジ
ヤムセンサ113の通過回数、タイミングより滞留紙の
枚数を割出す。
Reference numerals 112 and 113 are jam (paper jam) sensors to which general optical sensors are applied. With these sensors, first, whether the paper taken into the apparatus by the paper feed roller 109 reaches the jam sensor 112 within a certain fixed time, and whether the paper sent by the conveyance roller 111 to the phenomenon unit is within a certain constant time. Has reached the jam sensor 113, and then the entire sheet of paper has reached the fixing roller 11
4. The paper discharge roller 115 checks whether the paper has been completely discharged after passing through the jam sensor 113. And
If the paper gets stuck somewhere, immediately stop the printing mechanism,
The number of staying sheets is calculated from the number of times of feeding by the jam sensor 112, the timing, the number of times of passing by the jam sensor 113, and the timing.

【0009】図1は本発明の基本的な実施例をブロツク
的に示すブロツク図である。図において、200はLB
P100全体の制御及び文字情報の解析を行なう中央処
理装置(以下、CPUと称す)である。201はホスト
コンピユータからのデータ受信を行なう入力インタフエ
ース回路である。後述する第5から図7に示すCPU2
00のプリンタ制御プログラム等を格納するROM20
2、ROM202におけるプログラムに従つて実行され
る処理において使用されるワーク領域を提供するRAM
203、204は一般のRAMで構成されたページバツ
フアで、ホストコンピユータから入力された入力データ
は入力インタフエース回路201を経由してCPU20
0に入力され、データ解析が成されると、入力データ中
の文字情報がページ単位に編集されて、印字フオーマツ
ト制御情報と共にページバツフア204に保存される。
FIG. 1 is a block diagram showing a basic embodiment of the present invention in a block diagram. In the figure, 200 is LB
It is a central processing unit (hereinafter referred to as CPU) that controls the entire P100 and analyzes character information. An input interface circuit 201 receives data from the host computer. CPU 2 shown in FIGS. 5 to 7 described later
ROM 20 for storing the printer control program of 00
2. A RAM that provides a work area used in a process executed according to a program in the ROM 202
Reference numerals 203 and 204 denote page buffers configured by a general RAM. Input data input from the host computer is sent to the CPU 20 via the input interface circuit 201.
When 0 is input and data analysis is performed, the character information in the input data is edited page by page and stored in the page buffer 204 together with the print format control information.

【0010】205は、例えば100ms毎の周期でC
PU200にタイマ割込信号S01を出力するタイマユ
ニツトである。タイマ割込信号S01はCPU200に
組み込まれたマルチタスク処理方式のプリンタ制御プロ
グラムのタイマ割込処理ルーチンを起動する。206は
一般の押しボタンスイツチで構成されたジヤムリセツト
スイツチであり、ジヤムが発生した際詰つた紙を取り除
き、本スイツチを押すことでLBP100は印字を再開
する。 207は一般のLEDで構成されたジヤムイン
ジケータで、ジヤムが発生すると点滅表示を行なう。
Reference numeral 205 denotes C at a cycle of, for example, 100 ms.
It is a timer unit that outputs a timer interrupt signal S01 to the PU 200. The timer interrupt signal S01 activates the timer interrupt processing routine of the printer control program of the multitask processing system incorporated in the CPU 200. Reference numeral 206 denotes a jam reset switch composed of a general push button switch. When a jam occurs, the jammed paper is removed and the LBP 100 restarts printing by pressing the main switch. Reference numeral 207 is a jam indicator composed of a general LED, which blinks when a jam occurs.

【0011】208は、一般のON/OFFロツク式の
押しボタンスイツチで構成されたジヤムリカバリスイツ
チで、押し込んでロツク(ON)した場合、ジヤム対象
データの自動再印字機能を有効、再度スイツチを押して
ロツクをはずした(OFF)場合、自動再印字機能を無
効に選択する。この有効、無効はRAM203のフラグ
領域FLGに登録される。
Reference numeral 208 denotes a jam recovery switch composed of a general ON / OFF lock type push button switch. When the switch is pushed and locked (ON), the automatic reprint function of the jam target data is effective, and the switch is pressed again. When the lock is removed (OFF), the automatic reprint function is disabled. The validity and invalidity are registered in the flag area FLG of the RAM 203.

【0012】スイツチ206及び208が設定する機能
は上のROM202に格納されているプリンタ制御プロ
グラムをCPU200が実行することによつて実現され
る。209はページバツフア202から1行分ずつ受け
取つた文字情報を文字パターンの印字信号に変換して、
出力インタフエース回路210に出力する文字発生器で
ある。出力インタフエース回路210は、印字機構部2
20に各種制御命令S02や印字信号S03を送信した
り、印字機構部220からステータスS04を受信する
回路である。
The functions set by the switches 206 and 208 are realized by the CPU 200 executing the printer control program stored in the ROM 202. 209 converts the character information received from the page buffer 202 line by line into a print signal of a character pattern,
It is a character generator that outputs to the output interface circuit 210. The output interface circuit 210 includes the printing mechanism unit 2
20 is a circuit that transmits various control commands S02 and print signals S03 to the printer 20, and receives status S04 from the print mechanism unit 220.

【0013】CPU200からの印字開始命令に応じて
印字機構部220に起動がかけられ、併せて用紙の給
紙、静電ドラム106の回転、レーザドライバ102の
起動等一連の印刷制御が行なわれる。また、CPU20
0からステータス要求命令に応じ、紙なしやトナーなし
等の印字機構部220のステータスS04がCPU20
0へ返される。更に、ジヤムが発生した際は印字機構部
220で数えられた滞留枚数がステータスS04として
CPU200へ返される。
In response to a print start command from the CPU 200, the print mechanism unit 220 is activated, and at the same time, a series of print controls such as paper feeding, rotation of the electrostatic drum 106, and activation of the laser driver 102 are performed. The CPU 20
In response to a status request command from 0, the status S04 of the printing mechanism unit 220, such as no paper or no toner, is displayed in the CPU 20.
Returned to 0. Further, when a jam occurs, the number of staying sheets counted by the printing mechanism unit 220 is returned to the CPU 200 as a status S04.

【0014】図3はページバツフア202の内部データ
構造を示す図である。本実施例で使用するLBP100
は電子写真方式による印字方式を採用しているため、一
旦印字動作が開始されると1ページ分の印字が終了する
までは一時停止できない。従つて少なくとも1ページ分
の印字データを予めページバツフア204上に用意して
から印字機構部に起動をかける必要がある。またジヤム
発生時の再印字機能のため、印字後用紙がLBP110
の外に完全に排紙されるまで、印字データをページバツ
フア204上に保持しておく必要がある。本実施例の装
置ではジヤム発生時最大3枚の滞留紙が生じるため、こ
れにスムーズなページ切替を行なうための余分のページ
を加え、最大5ページ分のページデータをページバツフ
ア204上に保持する。このためにページバツフア20
4はページ単位にデータを収納するデータバツフア30
3を有し、且つデータバツフア303の中でページ単位
のデータを独立に管理するための#1〜#5のページコ
ントロールユニツト400からなるページコントロール
テーブル302を有している。
FIG. 3 is a diagram showing the internal data structure of the page buffer 202. LBP100 used in this embodiment
Since the electrophotographic printing method is adopted, once the printing operation is started, it cannot be temporarily stopped until the printing of one page is completed. Therefore, it is necessary to prepare at least one page of print data on the page buffer 204 in advance and then activate the print mechanism unit. Also, because of the reprint function when a jam occurs, the paper after printing is LBP110.
It is necessary to hold the print data on the page buffer 204 until the paper is completely discharged to the outside. In the apparatus of the present embodiment, a maximum of three sheets of stagnant paper is generated when a jam occurs, so extra pages for smooth page switching are added to hold page data for a maximum of five pages on the page buffer 204. For this purpose, page buffer 20
4 is a data buffer 30 that stores data in page units
3 and has a page control table 302 composed of page control units 400 of # 1 to # 5 for independently managing data in page units in the data buffer 303.

【0015】あるページコントロールユニツト400は
印字データを読み出すために出力ページポインタ300
により指し示される。同時に他のあるページコントロー
ルユニツト400はホストコンピユータからの印字デー
タを書き込むために入力ページポインタ301により指
し示される。出力ページポインタ300は印字出力中の
ページデータ或いは次に印字出力すべきページデータに
対応するページコントロールユニツト400の番号を指
し示すポインタであり、入力ページポインタ300はデ
ータ入力実行中のページデータ格納エリア或いは、次に
データ入力処理すべきページデータ格納エリアに対応す
るページコントロールユニツトを指し示すポインタであ
る。
A page control unit 400 outputs an output page pointer 300 to read print data.
Is indicated by At the same time, some other page control unit 400 is pointed to by the input page pointer 301 for writing print data from the host computer. The output page pointer 300 is a pointer indicating the number of the page control unit 400 corresponding to the page data being printed out or the page data to be printed next, and the input page pointer 300 is the page data storage area in which data input is being executed or , A pointer pointing to the page control unit corresponding to the page data storage area to be subjected to the next data input processing.

【0016】図4はページコントロールユニツト400
の構造を示す図である。ページコントロールユニツト4
00には1ページデータに関する各種の管理情報が納め
られている。ホストコンピユータからの入力データは何
れかのページコントロールユニツト400に結びつけら
れてページ単位に編集される。同時に印字データは何れ
かのページコントロールユニツト400に結びつけられ
てページ単位に出力される。図において、401はペー
ジコントロールユニツト400の状態を示すステータス
フラグであり、「空き」、「入力中」、「出力待ち」、
「出力中」、「開放待ち」のうち何れかのステータスを
保持する。「空き」のステータスはページコントロール
ユニツト400が未使用であることを示す。「入力中」
のステータスはページコントロールユニツト400が入
力データを受け取り中であり、且つページの編集処理を
実行中であることを示す。「出力待ち」のステータスは
ページコントロールユニツト400が印字開始を待つて
いる状態を示す。「出力中」のステータスはページコン
トロールユニツト400に対応するページデータについ
て印字動作実行中であることを示す。「開放待ち」のス
テータスは印字終了後、このページデータを消去するタ
イミングを待つている状態であることを示す。データの
消去タイミングは、ジヤムに対する再印字機能が有効の
場合、印字ページを受けもつ用紙がLBP100の外へ
完全に排紙された直後であり、再印字機能が無効の場合
は印字終了直後である。この消去タイミングは後述のペ
ージ開放カウンタ404によつてコントロールされる。
FIG. 4 shows a page control unit 400.
FIG. 3 is a diagram showing the structure of FIG. Page control unit 4
In 00, various management information relating to 1-page data is stored. Input data from the host computer is linked to any page control unit 400 and edited in page units. At the same time, the print data is linked to one of the page control units 400 and output in page units. In the figure, 401 is a status flag indicating the state of the page control unit 400, which is "empty", "inputting", "waiting for output",
It holds the status of either "outputting" or "waiting for release". The status of "vacant" indicates that the page control unit 400 is unused. "Entering"
Indicates that the page control unit 400 is receiving the input data and is in the process of editing the page. The status of "waiting for output" indicates a state in which the page control unit 400 is waiting for the start of printing. The status of "outputting" indicates that the printing operation is being executed for the page data corresponding to the page control unit 400. The status of "waiting for release" indicates that the printer is waiting for the timing of erasing this page data after printing is completed. The data erasing timing is immediately after the paper which receives the print page is completely ejected out of the LBP 100 when the reprint function for the jam is valid, and immediately after the printing is completed when the reprint function is invalid. . This erasing timing is controlled by the page release counter 404 described later.

【0017】402はページコントロールユニツト40
0が管理している1ページデータのデータバツフア30
3上のアドレスを示すデータアドレスポインタであり、
403はデータバツフア303上に保存されている1ペ
ージデータの長さを記憶しているデータレングスであ
る。404は、ページステータス401が「開放待ち」
となつたページに対し、ページの消去タイミングを与え
るためのページ開放カウンタである。
Reference numeral 402 is a page control unit 40.
Data buffer 30 for 1-page data managed by 0
3 is a data address pointer indicating an address on
A data length 403 stores the length of one page of data stored on the data buffer 303. 404 indicates that the page status 401 is “waiting for release”
This is a page release counter for giving a page erasing timing to the specified page.

【0018】ジヤム時の再印字機能が有効の場合印字さ
れるページのページ開放カウンタ404には、LBP1
00の用紙搬送路の長さと、一定であるところの用紙搬
送速度によつて算出される給紙から排紙に要する時間
が、タイマ割り込みの数に換算してセツトされる。ま
た、ジヤム時の再印字機能が無効の場合は、そのページ
のページ開放カウンタ404に0がセツトされる。
When the reprint function at the time of jamming is effective, the page release counter 404 of the page to be printed is set to LBP1.
The time required from paper feed to paper discharge calculated by the length of the paper transport path of 00 and the paper transport speed which is constant is set in terms of the number of timer interrupts. If the reprint function at the time of jam is invalid, the page release counter 404 of the page is set to 0.

【0019】そして、ページステータスが「出力中」、
「開放待ち」の間に、タイマユニツト205によるタイ
マ割込処理で、タイマ割込が発生する毎にページ開放カ
ウンタ404をー1して、ページ開放カウンタ404が
0になるとページステータス401が「開放待ち」のペ
ージコントロールユニツト400のページステータス4
01を「空き」にしてページ消去を行う。
Then, the page status is "outputting",
During the "waiting for release", in the timer interrupt processing by the timer unit 205, the page release counter 404 is incremented by "1" every time the timer interrupt occurs, and when the page release counter 404 becomes 0, the page status 401 is "released". Waiting Page Control Unit 400 Page Status 4
The page is erased by setting 01 to “vacant”.

【0020】以上のような構成のLBP100における
ジヤム発生の際のリカバリ制御のしくみを図5〜図7の
フローチヤートを用いて説明する。本プリンタ制御プロ
グラムは、主プログラムであるメインタスク500と入
力データのページ編集を行なう入力タスクからなるマル
チタスク処理方式のプログラムであり、タイマユニツト
205によるタイマ割込みによりタスク管理がなされ
る。
The mechanism of recovery control when a jam occurs in the LBP 100 having the above configuration will be described with reference to the flow charts of FIGS. The printer control program is a multi-task processing system program including a main task 500 which is a main program and an input task which edits a page of input data, and task management is performed by a timer interrupt by the timer unit 205.

【0021】図5はLBP100が電源投入されると直
ちに実行されるメインタスクのフローチヤートである。
まずステツプS501で、LBP100全体の初期化を
行ない、ステツプS502で、ジヤムリカバリスイツチ
208をチエツクする。ジヤムリカバリスイツチ208
がONの場合ステツプS503に進みRAM203中の
ジヤムリカバリフラグFLGをONにしてジヤム時の再
印字機能有効のフラグとする。ジヤムリカバリスイツチ
208がOFFの場合ステツプS504で、ジヤムリカ
バリフラグFLGをOFFとし、ジヤム時の再印字機能
無効のフラグとする。次にステツプS505で入力タス
クを起動し、データの入力、解析、ページ編集を開始さ
せる。
FIG. 5 is a flowchart of the main task executed immediately when the LBP 100 is powered on.
First, the entire LBP 100 is initialized in step S501, and the jam recovery switch 208 is checked in step S502. Jam recovery switch 208
When is ON, the process proceeds to step S503, and the jam recovery flag FLG in the RAM 203 is turned ON to make it as a flag for the reprint function at the time of jam. When the jam recovery switch 208 is OFF, in step S504, the jam recovery flag FLG is turned OFF, and the flag for invalidating the reprint function at the time of jam is set. Next, in step S505, the input task is activated to start data input, analysis, and page editing.

【0022】次に、ステツプS506で印字機構部22
0のステータスをチエツクし、ジヤム発生ならばステツ
プS507のジヤム処理700を、その他のエラーの場
合はステツプS508で、それぞれに対応したエラー処
理を実行した後、再びステツプS506のステータスチ
エツクへ戻る。ステツプS506のステータスチエツク
が正常の場合、次へ進みステツプS509で、出力ペー
ジポインタ300の示すページが出力待ちかチエツクす
る。出力待ちの場合、ステツプS510の出力処理60
0へ進み、このページの印字を開始する。次にステツプ
S511のページ開放処理へ進み、ページステータス4
01が「開放待ち」のとき、ステツプS512に進みペ
ージ開放カウンタ404が0のときはステツプS513
でそのページステータス401を「空き」にして、ペー
ジの消去を行なう。以後ステツプS506〜513を繰
り返し、ページ出力を続ける。
Next, in step S506, the printing mechanism unit 22 is
The status of 0 is checked, and if a jam occurs, the jam processing 700 of step S507 is executed, and if other errors, the error processing corresponding to each is executed in step S508, and then the status check of step S506 is returned to again. If the status check in step S506 is normal, the process proceeds to the next step, and in step S509, it is checked whether the page indicated by the output page pointer 300 is waiting for output. When waiting for output, output processing 60 in step S510
Proceed to 0 to start printing this page. Next, in step S511, the page release process is performed, and the page status 4
When 01 is "waiting for release", the process proceeds to step S512, and when the page release counter 404 is 0, step S513.
Then, the page status 401 is set to "vacant" and the page is erased. After that, steps S506 to 513 are repeated to continue page output.

【0023】次に図6にステツプS510で示した出力
処理の詳細を示す。まずステツプS601でS02にプ
リンタ起動命令を出力して印字機構部220を起動さ
せ、ステツプS602で、印字機構部220からの起動
命令受入ステータスS04が返されるのを待つ。ステー
タスが返されるとステツプS603へ進み、出力ページ
ポインタ300の指し示すページのページステータス4
01を出力中にし、ステツプS604でページ開放カウ
ンタ404に前述の値をセツトする。そしてステツプS
605にてページバツフア204上の印字データを文字
発生器209に送り印字を行なう。全ての印字データが
文字発生器209へ転送されると、ステツプS606へ
進み出力ページステータス401を「開放待ち」にす
る。ステツプS607で、ジヤムリカバリフラグFLG
をチエツクし、OFFの場合、即ちジヤム時の再印字機
能が無効の場合ステツプS608で改めてページ開放カ
ウンタ404に0をセツトして、ページ開放がすぐ実行
されるようにしておく。次にステツプS609で出力ぺ
ージポインタ300を次ページに進め、出力処理を終了
する。
Next, FIG. 6 shows details of the output processing shown in step S510. First, in step S601, a printer activation command is output to S02 to activate the printing mechanism unit 220, and in step S602, it waits for the activation command acceptance status S04 from the printing mechanism unit 220 to be returned. When the status is returned, the process proceeds to step S603 and the page status 4 of the page pointed to by the output page pointer 300.
01 is output, and the above-mentioned value is set in the page release counter 404 in step S604. And step S
At 605, the print data on the page buffer 204 is sent to the character generator 209 for printing. When all the print data has been transferred to the character generator 209, the flow advances to step S606 to set the output page status 401 to "wait for release". In step S607, the jam recovery flag FLG is set.
If it is OFF, that is, if the reprint function at the time of jam is invalid, the page release counter 404 is set to 0 again in step S608 so that the page release is executed immediately. Next, in step S609, the output page pointer 300 is advanced to the next page, and the output process is ended.

【0024】さて、図7には、ステツプS507のジヤ
ム処理700の詳細フローチヤートを示しジヤムリカバ
リの詳細を説明する。まずステツプS1でジヤムインジ
ケータ207を点滅させ、ステツプS702で印字機構
部220からステータスS04としてジヤムによる滞留
用紙枚数、即ち再印字のため再送すべきページ数を受け
とる。次にステツプS703で、この再送枚数をループ
カウンタとして以下ステツプS704〜708でページ
コントロールユニツト400の現在の出力ページポイン
タ300の位置から再送枚数分さかのぼつていく。
Now, FIG. 7 shows a detailed flow chart of the jam processing 700 in step S507, and the details of the jam recovery will be described. First, in step S1, the jam indicator 207 is blinked, and in step S702, the number of retained sheets due to a jam, that is, the number of pages to be retransmitted for reprinting is received from the printing mechanism unit 220 as status S04. Next, in step S703, the number of retransmitted sheets is used as a loop counter, and in the following steps S704 to 708, the number of retransmitted sheets is traced back from the current position of the output page pointer 300 of the page control unit 400.

【0025】まず、ステツプS4で出力ページポインタ
300を1つ前のページに戻し、ステツプS705で1
つ前のページのページステータス401をチエツクす
る。そのページステータス401が、「開放待ち」で、
まだデータが保存されているならばステツプS706へ
進み、このページのページステータスを「出力待ち」に
更新し再印字を要求していることを示す。そして、ステ
ツプS707でループカウンタiを更新しステツプS7
08でこのループカウンタiをチエツクし、0になるま
で以上を繰り返す。ステツプS705で、ページステー
タス401が「開放待ち」でないページがみつかると、
すでにこのページが印刷され排紙されているか、あるい
はこのページのデータが保存されていないかを示してい
るためここでページのさかのぼりを打ちきり、ステツプ
S709で出力ページポインタ300をさげすぎたの
で、1つ戻してこのループから出る。
First, at step S4, the output page pointer 300 is returned to the previous page, and at step S705, 1 is returned.
Check the page status 401 of the previous page. The page status 401 is "waiting for release",
If the data is still stored, the flow advances to step S706 to update the page status of this page to "waiting for output" to indicate that reprinting is requested. Then, in step S707, the loop counter i is updated, and in step S7
This loop counter i is checked at 08, and the above is repeated until it becomes 0. In step S705, if a page whose page status 401 is not "waiting for release" is found,
Since this page has already been printed and ejected, or the data for this page has not been saved, the page is traced back here, and the output page pointer 300 is lowered too much in step S709. Turn back and get out of this loop.

【0026】こうして、出力ページを戻した後、ステツ
プS710でジヤムリセツトスイツチ206が押される
のを待つてステツプS711へ進みジヤムインジケータ
207を消灯してジヤム処理を終える。 なお再印字機
能が無効の場合、ページ開放カウンタ404が0である
ため、「開放待ち」ページが「空き」ページにされるた
め、ステツプS705のページステータスチエツクで、
ページのさかのぼり処理がすぐに終了するため、実際上
再印字が行なわれない。
After the output page is returned in this way, the process waits for the jam reset switch 206 to be pressed at step S710, and the process proceeds to step S711 to turn off the jam indicator 207 and finish the jam process. When the reprint function is invalid, the page release counter 404 is 0, and the "waiting for release" page is set to the "empty" page. Therefore, in the page status check of step S705,
The page retrace process ends immediately, so reprinting is not actually performed.

【0027】本実施例はページ単位にデータを解析、編
集して印刷を行なうレーザビームプリンタへの本発明の
適用例であるが、本発明はこれに限らずインクジエツト
プリンタやシリアルドツドマトリクスプリンタなど、種
々の印刷方式の印刷装置に適用できる。また、本実施例
では、再印刷対象障害をジヤムに限つたがこの他、レー
ザの一時的不調における印字ミスや、印刷中の印刷機構
部の電源断などといった種々の印刷障害にも適用でき
る。
Although the present embodiment is an example of application of the present invention to a laser beam printer which analyzes and edits data page by page and prints, the present invention is not limited to this, and an ink jet printer or a serial dot matrix printer. And the like, can be applied to printing apparatuses of various printing methods. Further, in the present embodiment, the failure to be reprinted is limited to the jam, but in addition to this, various printing failures such as a printing error due to a temporary malfunction of the laser and a power failure of the printing mechanism unit during printing can be applied.

【0028】また、上記説明では、再印刷機能の有効・
無効をスイツチにより選択させたが、本発明では、これ
を命令として定義しておき、接続したホストコンピユー
タから入力する。これにより、ホストコンピユータの能
力や、印刷データの内容によつて、ホストコンピユータ
側で適当に、そして適時に、再印刷機能有効・無効を選
択することができる。
In the above description, the reprint function is valid.
Although the invalidity is selected by the switch, in the present invention, this is defined as an instruction and is input from the connected host computer. As a result, depending on the capability of the host computer and the content of the print data, it is possible for the host computer side to select the reprint function valid / invalid appropriately and in a timely manner.

【0029】[0029]

【発明の効果】以上説明したように本発明によれば、再
印刷機能を有効又は無効に任意に切替え可能にすること
によりシステム構成に応じたメモリの有効利用が可能に
なる。また、本発明によれば、ホストコンピユータの能
力や、印刷データの内容によつて、ホストコンピユータ
側で適当に、そして適時に、再印刷機能有効・無効を選
択することができる。
As described above, according to the present invention, it is possible to effectively use the memory according to the system configuration by making it possible to arbitrarily switch the reprint function between valid and invalid. Further, according to the present invention, depending on the capability of the host computer and the content of the print data, it is possible to select the reprint function valid / invalid on the host computer side appropriately and at a proper time.

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

【図1】本発明の一実施例を適用するプリンタの制御ユ
ニツトの構成を示すブロツク図である。
FIG. 1 is a block diagram showing a configuration of a control unit of a printer to which an embodiment of the present invention is applied.

【図2】本発明の一実施例を実行するレーザビームプリ
ンタの内部構成を示す断面図である。
FIG. 2 is a cross-sectional view showing the internal configuration of a laser beam printer that carries out an embodiment of the present invention.

【図3】ページバツフアの内部データ構造図である。FIG. 3 is an internal data structure diagram of a page buffer.

【図4】ページコントロールユニツトの構造図である。FIG. 4 is a structural diagram of a page control unit.

【図5】プリンタ制御ユニツト上の制御プログラムのメ
インプログラムのフローチヤートである。
FIG. 5 is a flow chart of the main program of the control program on the printer control unit.

【図6】出力処理のフローチヤートである。FIG. 6 is a flow chart of output processing.

【図7】ジヤム処理のフローチヤートである。FIG. 7 is a flow chart of a jam treatment.

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

100…レーザビームプリンタ(LBP) 101…プリンタ制御ユニツト 112,113…ジヤムセンサ 204…ページバツフア 205…タイマユニツト 206…ジヤムリセツトスイツチ 207…ジヤムインジケータ 208…ジヤムリカバリスイツチ 209…文字発生器 210…出力インタフエース回路 220…プリンタ機構部 300…出力ページポインタ 301…入力ページポインタ 302…ページコントロールテーブル 400…ページコントロールユニツト 401…ページステータスエリア 402…データアドレスポインタ 404…ページ開放カウンタ 100 ... Laser beam printer (LBP) 101 ... Printer control unit 112, 113 ... Jam sensor 204 ... Page buffer 205 ... Timer unit 206 ... Jam reset switch 207 ... Jam indicator 208 ... Jam recovery switch 209 ... Character generator 210 ... Output interface circuit 220 ... Printer mechanism section 300 ... Output page pointer 301 ... Input page pointer 302 ... Page control table 400 ... Page control unit 401 ... Page status area 402 ... Data address pointer 404 ... Page release counter

【手続補正書】[Procedure amendment]

【提出日】平成9年2月21日[Submission date] February 21, 1997

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】発明の名称[Correction target item name] Name of invention

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【発明の名称】 画像形成装置の制御装置Title: Image forming apparatus control device

【手続補正2】[Procedure amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】特許請求の範囲[Correction target item name] Claims

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【特許請求の範囲】[Claims]

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0001[Correction target item name] 0001

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0001】[0001]

【発明の属する技術分野】本発明は、上位装置から出力
されるデータを受取って画像形成装置に出力する画像形
成装置の制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device for an image forming apparatus that receives data output from a host device and outputs the data to the image forming apparatus.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0006[Correction target item name] 0006

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0006】本発明は上記従来例に鑑みてなされたもの
で、画像形成装置に障害が起きた場合、上位装置に負荷
をかけることなく、かつ簡単な制御により、その障害で
失われたページ数分遡ったページからページのデータを
画像データに変換して画像形成装置に再送することがで
きる画像形成装置の制御装置を提供することを目的とす
る。
The present invention has been made in view of the above-mentioned conventional example. When a failure occurs in the image forming apparatus, the number of pages lost due to the failure can be controlled by simple control without imposing a load on the host apparatus. An object of the present invention is to provide a control device for an image forming apparatus that can convert page data traced back to image data into image data and retransmit the image data to the image forming apparatus.

【課題を解決するための手段】上記目的を達成するため
に本発明の画像形成装置の制御装置は以下のような構成
を備える。即ち、上位装置から出力されたデータをペー
ジ毎に記憶可能な第1記憶手段(実施例ではページバッ
ファ204に相当)と、前記第1記憶手段に記憶された
ページ毎のデータが出力待ちであるか否かを示す識別デ
ータを記憶する第2記憶手段(実施例ではページコント
ロールユニット400に相当)と、前記第2記憶手段に
記憶される識別データが出力待ちを示しているページの
データを前記第1記憶手段から読み出し画像データに変
換して画像形成装置に出力する出力手段(実施例では図
6の605の処理に相当)と、前記画像形成装置に障害
が起きた場合に前記画像形成装置から未排出の用紙枚数
データを受信する受信手段(実施例では図7の702の
処理に相当)と、前記画像形成装置に障害が起きた場
合、前記第2記憶手段の識別データを前記未排出の用紙
枚数データに基づくページ数分遡って出力待ちを示すデ
ータに書き換える手段(実施例では、図7の704〜7
08の処理に相当)と、を有することを特徴とする。
In order to achieve the above object, the control device of the image forming apparatus of the present invention has the following configuration. That is, the first storage means (corresponding to the page buffer 204 in the embodiment) capable of storing the data output from the host device for each page, and the data for each page stored in the first storage means are waiting for output. Second storage means (corresponding to the page control unit 400 in the embodiment) for storing identification data indicating whether or not the page data for which the identification data stored in the second storage means indicates output waiting. An output unit (corresponding to the processing of 605 in FIG. 6 in the embodiment) that converts the read image data from the first storage unit and outputs the image data to the image forming apparatus, and the image forming apparatus when a failure occurs in the image forming apparatus. If there is a failure in the image forming apparatus and the receiving means (corresponding to the processing of 702 in FIG. 7) for receiving the number of undischarged sheets, the identification data of the second storage means. Means for rewriting the data indicating the output waiting back number of pages based on the non-discharge of the sheet count data up (in the example, 704-7 of FIG. 7
(Corresponding to the processing of 08)).

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0029[Name of item to be corrected] 0029

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0029】[0029]

【発明の効果】以上説明したように本発明によれば、画
像形成装置に障害が起きた場合、上位装置に負荷をかけ
ることなく、例えばジャムリカバーのときも、通常のプ
リント時と全く同様に識別データが出力待ちを示すペー
ジデータを画像データに変換して処理すれば良いので、
簡単な制御により、障害で失われたページ数分遡ったペ
ージから画像データを画像形成装置に再送することがで
きるという効果がある。
As described above, according to the present invention, when a failure occurs in the image forming apparatus, the load is not applied to the higher-level apparatus and, for example, even when the jam cover is used, the same operation as the normal printing is performed. Since the page data whose identification data indicates output waiting can be converted to image data and processed,
With simple control, there is an effect that image data can be retransmitted to the image forming apparatus from a page that is traced back by the number of pages lost due to a failure.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】ホストコンピュータから、印刷機構部での
印刷動作中に障害が発生した場合、その障害の解除後、
損なわれた頁から印刷を再開するのか、或いは損なわれ
た頁に引き続く頁から印刷を再開するかを選択するため
の命令を入力するステップ、 前記ホストコンピュータから出力された印刷情報を頁毎
に記憶手段に記憶するステップ、 前記記憶手段に記憶された印刷情報を前記印刷機構部に
て印刷すべく出力するステップ、 前記入力ステップで入力された命令に基づいて、前記出
力ステップでの1頁の印刷情報の出力後、当該頁の印刷
情報の印刷動作が終了するまで前記記憶手段に当該頁の
印刷情報を保持させておくか、或いは印刷動作が終了す
る以前に、解放するかを判断するステップ、 とを有することを特徴とする印刷制御方法。
1. When a failure occurs from the host computer during the printing operation in the printing mechanism section, after the failure is cleared,
Inputting a command for selecting whether to restart printing from a damaged page or to restart printing from a page following a damaged page, storing print information output from the host computer page by page Storing the print information in the storage unit, outputting the print information stored in the storage unit to be printed by the printing mechanism unit, and printing one page in the output step based on the command input in the input step. After outputting the information, a step of determining whether to retain the print information of the page in the storage unit until the print operation of the print information of the page ends, or to release the print information before the print operation ends, A printing control method comprising:
【請求項2】前記印刷材構部での印刷動作は、印刷情報
が記録された記録媒体の排出動作を含むことを特徴とす
る請求項1項記載の印刷制御方法。
2. The printing control method according to claim 1, wherein the printing operation in the printing material structure section includes a discharging operation of a recording medium on which print information is recorded.
JP9013008A 1997-01-27 1997-01-27 Controlling device for image forming apparatus Pending JPH09309250A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9013008A JPH09309250A (en) 1997-01-27 1997-01-27 Controlling device for image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9013008A JPH09309250A (en) 1997-01-27 1997-01-27 Controlling device for image forming apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP24648595A Division JPH0867054A (en) 1995-09-25 1995-09-25 Printing control method

Publications (1)

Publication Number Publication Date
JPH09309250A true JPH09309250A (en) 1997-12-02

Family

ID=11821153

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9013008A Pending JPH09309250A (en) 1997-01-27 1997-01-27 Controlling device for image forming apparatus

Country Status (1)

Country Link
JP (1) JPH09309250A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002192821A (en) * 2000-12-26 2002-07-10 Printec International Inc Number printing system
JP2010260198A (en) * 2009-04-30 2010-11-18 Brother Ind Ltd Printer
JP2019005937A (en) * 2017-06-21 2019-01-17 キヤノン株式会社 Image formation apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58101074A (en) * 1981-12-10 1983-06-16 Fujitsu Ltd Control system for electrophotographic printer
JPS59129182A (en) * 1983-01-13 1984-07-25 Canon Inc Printing apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58101074A (en) * 1981-12-10 1983-06-16 Fujitsu Ltd Control system for electrophotographic printer
JPS59129182A (en) * 1983-01-13 1984-07-25 Canon Inc Printing apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002192821A (en) * 2000-12-26 2002-07-10 Printec International Inc Number printing system
JP2010260198A (en) * 2009-04-30 2010-11-18 Brother Ind Ltd Printer
JP2019005937A (en) * 2017-06-21 2019-01-17 キヤノン株式会社 Image formation apparatus

Similar Documents

Publication Publication Date Title
US6266151B1 (en) Image forming apparatus for image formation on sheet
JP2001282047A (en) Image forming device and method
JPH11296046A (en) Printing controller, printing processing method thereof, and computer readable storage medium storing program
JPS6282768A (en) Electrophotographic printer
US5297876A (en) Page printer with internal and external memories
JPH0675985B2 (en) Print control device
JPH05212930A (en) Printer
JPH10254304A (en) Image forming device
JPH09309250A (en) Controlling device for image forming apparatus
JPH11115280A (en) Printer
JPH0867054A (en) Printing control method
JPH0411392B2 (en)
US20020021914A1 (en) Image forming apparatus and method of controlling image forming apparatus
JP2775767B2 (en) Printing device
JP2660087B2 (en) Electrophotographic printer
JPH10254301A (en) Image forming device
JPS63288771A (en) Controller for printer
JP2978174B2 (en) Print control apparatus and method
JP3083251B2 (en) Page printer
JP3523976B2 (en) Image forming device
JP3080310B2 (en) Document processing device
JP2893538B2 (en) Printer
JP2924058B2 (en) Image processing device
JPH10340011A (en) Image forming device and method
JPH08290619A (en) Printer

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19980818