JPH0615895A - Method and apparatus for outputting image - Google Patents

Method and apparatus for outputting image

Info

Publication number
JPH0615895A
JPH0615895A JP4172268A JP17226892A JPH0615895A JP H0615895 A JPH0615895 A JP H0615895A JP 4172268 A JP4172268 A JP 4172268A JP 17226892 A JP17226892 A JP 17226892A JP H0615895 A JPH0615895 A JP H0615895A
Authority
JP
Japan
Prior art keywords
page
printing
print data
unit
pages
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.)
Withdrawn
Application number
JP4172268A
Other languages
Japanese (ja)
Inventor
Taketoshi Ono
健逸 小野
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 JP4172268A priority Critical patent/JPH0615895A/en
Publication of JPH0615895A publication Critical patent/JPH0615895A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Handling Of Cut Paper (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Controlling Sheets Or Webs (AREA)

Abstract

PURPOSE:To resume printing from a proper page at the time of returning the page and resuming printing due to the occurrence of trouble in a printing apparatus by providing setting means for setting the printing data transfer initiation page from the trouble detected on the basis of the page detected by detecting means to the printing part after returning. CONSTITUTION:When a paper jam is generated, the value of residual paper counter 5a is read out of a printer part 5, and it is then treated as returning sheets. Following this, procedure is conducted by going back in a page control table 4b from the page denoted by a surface present position 4C, and by going back further after obtaining the returning first page, the condition of pages is investigated as to whether the pages still remain in P (untransferred page). If not, the returning sheets are considered to be appropriate, a printing operation is resumed after resetting the residual paper counter. If the pages remain in P between the last page and the returned first page, a newly returned page is obtained by adding an insufficient part of pages. Then, the printing operation is resumed after resetting the residual paper counter.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文字や画像等の記録情
報を記録媒体の両面に記録するための画像出力方法及び
装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image output method and apparatus for recording recording information such as characters and images on both sides of a recording medium.

【0002】[0002]

【従来の技術】従来、文字や画像などの記録情報を高速
に記録紙等に両面出力するために、表と裏とを順に印刷
するのではなく、交互給紙方式を用いた印刷装置があ
る。以下にこの交互給紙方式による印刷装置の基本的な
動作について図1を参照して説明する。
2. Description of the Related Art Conventionally, there is a printing apparatus which uses an alternate paper feeding method for printing both sides of printing information such as characters and images on printing paper at a high speed, rather than printing the front and back in order. . The basic operation of the printing apparatus using the alternate paper feeding method will be described below with reference to FIG.

【0003】給紙台11より給紙された用紙は、画像転
写部12にて用紙上面に表ページのデータを印刷し、定
着部13にて定着を行ない中間トレイ14に到達する。
この時、反転部16にて印刷面が上面となるように、中
間トレイ14に滞留する。上記の手順を繰返し、数ペー
ジ分の表面を印刷して行くと、中間トレイ14に表面印
刷済の用紙が蓄積する。
The sheet fed from the sheet feed table 11 has front page data printed on the upper surface of the sheet by the image transfer section 12, and is fixed by the fixing section 13 to reach the intermediate tray 14.
At this time, the reversal unit 16 stays in the intermediate tray 14 so that the printing surface is the upper surface. When the above procedure is repeated to print the front surface of several pages, the surface-printed paper is accumulated in the intermediate tray 14.

【0004】ここで、給紙部15において給紙が可能と
なったら、今度は給紙部15より表面を印刷済みの用紙
を給紙し、画像転写部12にて裏面印刷を行ない、定着
部13にて定着後、排紙部17に排出される。以上の動
作を繰り返す事により、印刷中は給紙台11から給紙し
て表面を印刷する動作と、給紙部15から給紙して裏面
を印刷する動作とを交互に行っていく。
Here, when the paper feeding unit 15 becomes possible to feed the paper, the paper whose front surface has been printed is fed from the paper feeding unit 15, and the image transfer unit 12 performs the back side printing, and the fixing unit. After fixing at 13, the paper is discharged to the paper discharge unit 17. By repeating the above operation, during printing, the operation of feeding from the paper feed table 11 to print the front surface and the operation of feeding from the paper feeding unit 15 to print the back surface are alternately performed.

【0005】以上説明した両面出力を制御するために
は、例えば図5に示されるようなページ管理テーブル及
びページバッファを使用する。22は、各頁の印刷内容
を格納するためのページバッファであり、各々の頁の印
刷データ量により容量は可変となる。21は、ページバ
ッファ22を管理するためのページ管理テーブルであ
る。ページ管理テーブル21は、ページバッファ22の
各ページ毎にページ番号21a、印刷面21b,ポイン
タ21cを有する。ページ番号,表裏の情報,該当する
ページバッファへのポインタ等からなっている。
To control the double-sided output described above, for example, a page management table and a page buffer as shown in FIG. 5 are used. Reference numeral 22 is a page buffer for storing the print contents of each page, and the capacity is variable depending on the print data amount of each page. Reference numeral 21 is a page management table for managing the page buffer 22. The page management table 21 has a page number 21a, a printing surface 21b, and a pointer 21c for each page of the page buffer 22. It consists of page number, front and back information, pointer to the corresponding page buffer, etc.

【0006】交互給紙方式にて印刷するには、表ペー
ジ,裏ページの各々現在印刷すべきページを示すための
ポインタ21cが必要となる。図2において、(A)は
表ページの現在位置を示し、(B)は裏ページの現在位
置を示す。これらのポインタ21cは該当するページを
印刷した後、2ページ分進み、次の表ページ又は裏ペー
ジを示す様に移動する。
In order to print by the alternate paper feed method, pointers 21c for indicating the pages to be printed at the front page and the back page are required. In FIG. 2, (A) shows the current position of the front page, and (B) shows the current position of the back page. After printing the corresponding page, these pointers 21c advance by two pages and move to indicate the next front page or back page.

【0007】以上のような印刷装置において、印刷中に
ジャム等が発生した場合、オペレータは印刷装置内の中
間トレイ14に残留している用紙を総て取り除いた後、
印刷装置を再スタートする。これにより、印刷装置が保
持している機内残留紙の枚数を表すカウンタにより、ペ
ージの戻し処理を行なった後、出力処理を続行してい
る。以下にページの戻し処理について説明する。
In the above printing apparatus, if a jam or the like occurs during printing, the operator removes all the sheets remaining on the intermediate tray 14 in the printing apparatus,
Restart the printer. As a result, the output process is continued after the page returning process is performed by the counter that indicates the number of remaining sheets in the machine held by the printing apparatus. The page returning process will be described below.

【0008】例えばページ管理テーブル21におけるポ
インタ21cの状態が図5に示すようになっているとす
る。この時点で、ページ番号1,2が印刷される1枚目
の用紙は両面の印刷が終了し、装置外へ排出されてい
る。従って、印刷装置内にはページ番号3及び5を印刷
済みの2枚の用紙が残留している。残留枚数のカウント
は給紙台11から給紙された枚数をセンサ18の検出に
より1つプラスカウントし、排紙部17へ排出された枚
数をセンサ19の検出に1つマイナスカウントすること
により得られる。従って図5の状態では3枚給紙されて
1枚排出されているのでカウンタの値は2となる。ペー
ジ管理テーブル21がこの状態のときにジャムが発生す
ると、残留枚数カウンタの値、即ち2枚分ポインタ21
cの(A)の位置より戻り、ページ番号3の位置にポイ
ンタ21cの(A)がセットされる。そして、印刷の再
スタート時にはこのページ位置より印刷を再開する。以
上のようにして、トラブル発生時のページ戻し処理が実
行される。
For example, assume that the state of the pointer 21c in the page management table 21 is as shown in FIG. At this point, both sides of the first sheet on which page numbers 1 and 2 have been printed have been printed, and the sheet has been ejected out of the apparatus. Therefore, two sheets of paper on which page numbers 3 and 5 have been printed remain in the printing apparatus. The count of the number of remaining sheets is obtained by counting the number of sheets fed from the sheet feeding table 11 by one plus by the detection of the sensor 18, and counting the number of sheets discharged to the sheet discharge section 17 by one minus by the detection of the sensor 19. To be Therefore, in the state of FIG. 5, three sheets have been fed and one sheet has been ejected, so the counter value is 2. If a jam occurs while the page management table 21 is in this state, the value of the remaining number counter, that is, the pointer 21 for two sheets,
Returning from the position (A) of c, the position (A) of the pointer 21c is set to the position of page number 3. Then, when printing is restarted, printing is restarted from this page position. As described above, the page returning process when a trouble occurs is executed.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、上記従
来例において、印刷装置内に残留する用紙の枚数をカウ
ントする方法では、種々の要因により実際の残留枚数と
カウンタの値とが不一致となることがある。ここで、例
えば図2の状態でカウンタの値が1となってしまうと、
戻しページ処理によりページ番号5より印刷が再開され
るため、ページ番号4のデータが印刷されずに終わって
しまう。即ち、上記従来例によるページ戻し処理におい
ては、印刷部からのカウンタ情報のみでページ戻し処理
の戻し量が設定されるので、このカウント数が誤ってい
る場合には適切な戻し位置を得ることができない。
However, in the above-mentioned conventional example, in the method of counting the number of sheets remaining in the printing apparatus, the actual remaining number of sheets and the value of the counter may not match due to various factors. is there. Here, for example, if the value of the counter becomes 1 in the state of FIG.
Since the returning page process restarts printing from page number 5, the data of page number 4 ends without being printed. That is, in the page return process according to the above-mentioned conventional example, the return amount of the page return process is set only by the counter information from the printing unit, so that an appropriate return position can be obtained when this count number is incorrect. Can not.

【0010】また、ページ管理テーブル21のポインタ
は印刷終了後に移動するので、ポインタの位置とカウン
タの値との関係は、用紙への印刷の実行直前或いは実行
中と、印刷終了後とでは異なる。即ち、印刷終了前にジ
ャムが発生した場合と、印刷終了後にジャムが発生した
場合とでは、ポインタ21cの位置が異なり、カウンタ
の値は同じであるため、戻しページ処理により再開され
る印刷のページ番号が異なったものとなるという問題が
ある。このため、ページ戻し処理において、必要以上に
ページを戻して重複して印刷してしまったり、ページ戻
し量に不足が生じてページを抜かして印刷してしまうと
いう問題が生じる。
Further, since the pointer of the page management table 21 moves after printing is completed, the relationship between the position of the pointer and the value of the counter is different immediately before or during execution of printing on the paper and after completion of printing. That is, since the position of the pointer 21c is different and the value of the counter is the same when the jam occurs before the printing ends and when the jam occurs after the printing ends, the printing page restarted by the return page processing is performed. There is a problem that the numbers are different. Therefore, in the page returning process, there is a problem that the pages are returned more than necessary and are printed redundantly, or the page returning amount is insufficient and the pages are skipped and printed.

【0011】本発明は上記の問題点に鑑みてなされたも
のであり、印刷装置などにおいてトラブル等の発生によ
りページ戻し処理をして印刷を再開する際に、適切なペ
ージより印刷を再開することを可能とする画像出力方法
及び装置を提供することを目的とする。
The present invention has been made in view of the above problems, and when printing is restarted by performing a page returning process due to a trouble or the like in a printing apparatus or the like, printing is restarted from an appropriate page. It is an object of the present invention to provide an image output method and device that enable the above.

【0012】[0012]

【課題を解決するための手段】上記の目的を達成するた
めの本発明による画像出力装置は以下の構成を備える。
即ち、記録媒体への両面印刷を実行する印刷部に対して
印刷データを出力する画像出力装置であって、複数ペー
ジ分の印刷データを格納するページデータ格納手段と、
前記ページデータ格納手段において前記印刷部への印刷
データの転送を終了したページを識別する識別手段と、
前記印刷部におけるトラブルの発生を検知する検知手段
と、前記検知工程によりトラブルの発生が検知された場
合、前記ページデータ格納手段に格納されている印刷デ
ータの中で、前記識別工程により印刷データの転送が未
転送であるページのうち最初のページを検索する検索手
段と、前記検索手段により検索されたページに基づいて
前記トラブルからの復帰後の前記印刷部への印刷データ
転送開始ページを設定する設定手段と、を備える。
An image output apparatus according to the present invention for achieving the above object has the following configuration.
That is, an image output device that outputs print data to a printing unit that performs double-sided printing on a recording medium, and a page data storage unit that stores print data for a plurality of pages,
Identification means for identifying a page in the page data storage means for which transfer of print data to the printing unit has been completed;
When a trouble is detected in the printing unit and a trouble is detected in the detecting process, the print data stored in the page data storing unit is detected as the print data in the print data stored in the identifying process. A search unit that searches the first page of the pages that have not been transferred, and a print data transfer start page to the printing unit after recovery from the trouble is set based on the page searched by the search unit. And setting means.

【0013】また、上記の目的を達成するための本発明
による画像出力方法は以下の構成を備える。即ち、記録
媒体への両面印刷を実行する印刷部に対して印刷データ
を出力する画像出力方法であって、複数ページ分の印刷
データを格納するページデータ格納工程と、前記ページ
データ格納工程において前記印刷部への印刷データの転
送を終了したページを識別する識別工程と、前記印刷部
におけるトラブルの発生を検知する検知工程と、前記検
知工程によりトラブルの発生が検知された場合、前記ペ
ージデータ格納工程により格納されている印刷データの
中で、前記識別工程により印刷データの転送が未転送で
あるページのうち最初のページを検索する検索工程と、
前記検索工程により検索されたページに基づいて前記ト
ラブルからの復帰後の前記印刷部への印刷データ転送開
始ページを設定する設定工程と、を備える。
An image output method according to the present invention for achieving the above object has the following configuration. That is, an image output method of outputting print data to a printing unit that performs double-sided printing on a recording medium, the method including: a page data storing step of storing print data for a plurality of pages; The step of identifying the page for which the transfer of the print data to the printing unit has been completed, the detection step of detecting the occurrence of a trouble in the printing unit, and the page data storage when the occurrence of the trouble is detected by the detection step. A search step of searching the first page among the pages for which the transfer of the print data has not been transferred by the identifying step among the print data stored by the step;
A setting step of setting a print data transfer start page to the printing unit after recovery from the trouble based on the page searched by the searching step.

【0014】[0014]

【作用】上記の構成により、ページデータ格納手段には
ページ単位で印刷データが格納されており、印刷部への
印刷データの出力を終了したページと、未終了のページ
とが識別可能となっている。印刷部においてトラブルが
発生し、これを検知すると、ページデータ格納手段に格
納されている印刷データで、まだ印刷部へ出力されてい
ない最初のページを検索し、検索されたページに基づい
て印刷を再開する位置を決定し、印刷ページの戻し処理
を実行する。
With the above configuration, print data is stored page by page in the page data storage means, and it is possible to distinguish between pages for which print data output to the printing unit has been completed and pages for which print data has not been completed. There is. If a trouble occurs in the printing unit and it is detected, the first page that has not been output to the printing unit is searched from the print data stored in the page data storage unit, and printing is performed based on the found page. The position to restart is determined, and the print page returning process is executed.

【0015】[0015]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0016】図1は本実施例の印刷装置の概略構成を表
すブロック図である。同図において、給紙台11には両
面未印刷の記録紙が積まれており、ここより印刷装置1
内に記録紙が供給される。12は画像転写部であり、例
えばレーザビーム方式により印刷データに応じて形成さ
れた潜像を記録紙に転写する。13は定着部であり、画
像転写部12により記録紙に転写された画像を記録紙上
に定着させる。16は反転部であり、表面の印刷を完了
した記録紙を裏表反転する。14は中間トレイであり、
反転部16において反転された表面印刷済みの記録紙を
蓄積する。15は給紙部であり、中間トレイ14に蓄積
された記録紙を裏面印刷のために画像転写部12へむけ
て供給する。17は排紙部であり、両面印刷を完了した
記録紙を排出し、蓄積する。
FIG. 1 is a block diagram showing the schematic arrangement of the printing apparatus of this embodiment. In FIG. 1, recording paper sheets not printed on both sides are stacked on the paper feed table 11, and the printing device 1
Recording paper is supplied inside. An image transfer unit 12 transfers a latent image formed according to print data, for example, by a laser beam method onto a recording sheet. A fixing unit 13 fixes the image transferred onto the recording paper by the image transfer unit 12 onto the recording paper. Reference numeral 16 denotes a reversing unit, which reverses the recording paper whose front surface has been printed. 14 is an intermediate tray,
The reversal unit 16 accumulates the surface-printed recording paper that has been reversed. A paper feeding unit 15 feeds the recording paper accumulated in the intermediate tray 14 toward the image transfer unit 12 for back side printing. A paper discharge unit 17 discharges and stores the recording paper on which double-sided printing is completed.

【0017】18は給紙センサであり、給紙台11より
印刷装置1内に供給された記録紙を検出する。19は排
紙センサであり、両面印刷を完了して排出部17に排出
された記録紙を検出する。これら給紙センサ18及び排
紙センサ19による記録紙の検出信号により印刷装置1
内に残っている記録紙の枚数(残留枚数)をカウントす
る。即ち、残留枚数は給紙センサ18による記録紙の検
出で1つ加算され、排紙センサ19による検出で1つ減
算される。
A paper feed sensor 18 detects the recording paper fed from the paper feed table 11 into the printing apparatus 1. A paper discharge sensor 19 detects the recording paper discharged to the discharge unit 17 after completion of double-sided printing. The printing apparatus 1 uses the recording paper detection signals from the paper feed sensor 18 and the paper discharge sensor 19.
Count the number of recording sheets remaining (remaining number). That is, the remaining number of sheets is incremented by one when the sheet feed sensor 18 detects the recording sheet, and is subtracted by one when the sheet ejection sensor 19 is detected.

【0018】以上の構成により、印刷装置1は以下に説
明するような交互給紙方式による記録紙の両面印刷を実
行する。
With the above configuration, the printing apparatus 1 executes double-sided printing of recording paper by the alternate paper feeding method as described below.

【0019】まず、給紙台11より給紙された用紙は、
画像転写部12にて用紙上面に表ページのデータを印刷
し、定着部13にて定着を行ない中間トレイ14に到達
する。この時、反転部16にて印刷面が上面となるよう
に、中間トレイ14に滞留する。上記の手順を繰返し、
数ページ分の表面を印刷して行くと、中間トレイ14に
表面印刷済の用紙が蓄積する。
First, the paper fed from the paper feed table 11 is
Data of the front page is printed on the upper surface of the paper by the image transfer unit 12, and is fixed by the fixing unit 13 to reach the intermediate tray 14. At this time, the reversal unit 16 stays in the intermediate tray 14 so that the printing surface is the upper surface. Repeat the above steps,
When the front surface of several pages is printed, the paper on which the front surface is printed is accumulated in the intermediate tray 14.

【0020】ここで、給紙部15において給紙が可能と
なったら、今度は給紙部15より表面を印刷済みの用紙
を給紙し、画像転写部12にて裏面印刷を行ない、定着
部13にて定着後、排紙部17に排出される。以上の動
作を繰り返す事により、印刷中は給紙台11から給紙し
て表面を印刷する動作と、給紙部15から給紙して裏面
を印刷する動作とを交互に行っている。
When paper can be fed in the paper feeding unit 15, the paper whose front surface has been printed is fed from the paper feeding unit 15, and the image transfer unit 12 performs back side printing, and the fixing unit After fixing at 13, the paper is discharged to the paper discharge unit 17. By repeating the above operation, during printing, an operation of feeding from the paper feed table 11 to print the front surface and an operation of feeding from the paper feeding unit 15 to print the back surface are alternately performed.

【0021】図2は印刷装置1の概略の制御構成を表す
ブロック図である。同図において、1は印刷装置本体を
表し、以下の2〜5の構成を備える。2はCPUであ
り、印刷装置1の全体を制御するためのマイクロコンピ
ュータである。3はROMであり、CPU2により実行
される各種制御プログラムが予め格納されている。4は
RAMであり、CPU2の処理動作中のワークエリアと
して使用される。RAM4はその内部に、ページ単位で
印刷データを格納するページバッファ4a,ページバッ
ファを管理するためのページ管理テーブル4b,表面の
印刷位置を示すポインタ(表面現在位置4c)、同様に
裏面の印刷位置を示すポインタ(裏面現在位置4d)を
有する。表面現在位置4c及び裏面現在位置4dは、ペ
ージバッファ4aからプリンタ部5への印刷データの転
送が終了した時点で2つ加算される。5はプリンタ部
で、記録紙に対する印刷を実行する。プリンタ部5は上
述の如く記録紙の両面に対する印刷を交互給紙方式によ
り実行する機能を有する。また、プリンタ部5の内部に
は機内の残留紙の枚数を表す残留紙カウンタ5aを有す
る。
FIG. 2 is a block diagram showing a schematic control configuration of the printing apparatus 1. In the figure, reference numeral 1 denotes a printer main body, which has the following 2 to 5 configurations. Reference numeral 2 denotes a CPU, which is a microcomputer for controlling the entire printing apparatus 1. A ROM 3 stores various control programs executed by the CPU 2 in advance. A RAM 4 is used as a work area during the processing operation of the CPU 2. The RAM 4 internally has a page buffer 4a for storing print data in page units, a page management table 4b for managing the page buffer, a pointer (front surface current position 4c) indicating a front side printing position, and similarly a back side printing position. Has a pointer (current position 4d on the back surface). The front surface current position 4c and the back surface current position 4d are added by two when the transfer of the print data from the page buffer 4a to the printer unit 5 is completed. A printer unit 5 executes printing on recording paper. The printer unit 5 has a function of executing printing on both sides of the recording paper by the alternate paper feeding method as described above. Further, inside the printer unit 5, there is a residual paper counter 5a which indicates the number of residual papers in the machine.

【0022】図3はページ管理テーブル4bのデータ構
造を表す図である。41はページ番号を表す。42は印
刷面が「表面」であるか「裏面」であるかを指定するた
めの情報である。43はページバッファ4aへのポイン
タであり、そのページの印刷データのページバッファ4
aにおける開始アドレスを格納する。44はページ状態
であり、そのページの印刷状態を表す。ページ状態44
のいて、「R」はそのページの印刷データの転送或いは
印刷が終了していることを表す。また、「P」はそのペ
ージの印刷データが未転送か転送中であることを表す。
同図の状態では、最初の記録紙の両面、即ちページ番号
1,2は印刷が終了しており、印刷装置外へ排出されて
いるかその途中である。また、記録紙の2〜4枚目は表
面の印刷のみが終了し機内に残留している。このとき、
残留紙カウンタ5aは1枚目の記録紙の排出により
「3」となる。表面現在位置4cはページ番号「9」と
なり、裏面現在位置4dはページ番号「4」となる。
FIG. 3 is a diagram showing the data structure of the page management table 4b. 41 represents a page number. 42 is information for designating whether the printing surface is the "front surface" or the "back surface". Reference numeral 43 is a pointer to the page buffer 4a, which is a page buffer 4 for print data of the page.
Store the start address in a. Reference numeral 44 denotes a page state, which represents the print state of the page. Page state 44
Therefore, “R” indicates that the transfer or printing of the print data of the page is completed. Further, “P” indicates that the print data of the page has not been transferred or is being transferred.
In the state shown in the drawing, printing has been completed on both sides of the first recording sheet, that is, page numbers 1 and 2, and the sheets have been discharged to the outside of the printing apparatus or are in the process of being discharged. In addition, only the surface of the second to fourth sheets of recording paper has been printed, and the recording paper remains in the machine. At this time,
The remaining paper counter 5a becomes "3" when the first recording paper is ejected. The front surface current position 4c has a page number "9", and the back surface current position 4d has a page number "4".

【0023】次に、図4のフローチャートを参照して本
実施例の印刷装置のページ戻し処理に係わる動作につい
て説明する。尚、本フローチャートを実現するプログラ
ムはROM3に格納されている。また、ページ管理テー
ブルの状態が上述の図4の状態となっているときにジャ
ムが発生したものとして説明する。
Next, referring to the flow chart of FIG. 4, the operation relating to the page returning process of the printing apparatus of this embodiment will be described. The program that implements this flowchart is stored in the ROM 3. Further, it is assumed that a jam has occurred when the page management table is in the state shown in FIG.

【0024】まず、ステップS1でジャムが発生したか
否かを判定する。発生している場合はステップS2でプ
リンタ部5より残留紙カウンタ5aの値を読み出し、こ
れを戻し枚数とする。ステップS3では、表面現在位置
4cの示すページから、ページ管理テーブル4bをさか
のぼり、戻し先頭ページを得る。次に、ステップS4で
は、戻し先頭ページから更にさかのぼり、ページの状態
が“P”(未転送ページ)となっているページがあるか
否かを調べる。もしなければ、戻し枚数は妥当とみな
し、ステップS6で残留紙カウンタをリセットした後、
ステップS7でプリント処理を再開する。もし、最古の
ページとステップS3で得た戻し先頭ページとの間にペ
ージ状態が“P”のページがあった場合、ステップS5
で、不足分を加えて、新たに戻し先頭ページを得る。そ
して、ステップS6へ進み残留紙カウンタをリセットし
た後、ステップS7でプリント処理を再開する。
First, in step S1, it is determined whether a jam has occurred. If so, the value of the residual paper counter 5a is read from the printer unit 5 in step S2, and this value is set as the number of returned paper sheets. In step S3, the page management table 4b is traced back from the page indicated by the current surface position 4c to obtain the return top page. Next, in step S4, it is checked whether or not there is a page whose state is "P" (untransferred page), which is further traced back from the return top page. If not, it is considered that the number of returned sheets is appropriate, and after the residual paper counter is reset in step S6,
The printing process is restarted in step S7. If there is a page whose page status is "P" between the oldest page and the return top page obtained in step S3, step S5
Then, the shortage is added, and a new page is returned to obtain the first page. Then, after proceeding to step S6 and resetting the residual paper counter, the printing process is restarted at step S7.

【0025】例えば図3のページ管理テーブルにおい
て、ステップS2において残留紙カウンタ5aより読み
出された値が「3」であれば、ステップS3で得られる
戻し先頭ページは3枚分さかのぼった「3」ということ
になる。従ってステップS4におけるチェックでは、1
枚目の印刷状態は両面とも完了している(即ち、このペ
ージ以前にページ状態44が「P」となっているページ
が存在しない)ので妥当な戻し処理であったと判定され
る。
For example, in the page management table of FIG. 3, if the value read from the residual paper counter 5a in step S2 is "3", the return top page obtained in step S3 is "3" traced back by three sheets. It turns out that. Therefore, in the check in step S4, 1
Since the printing state of the first sheet is completed on both sides (that is, there is no page whose page state 44 is “P” before this page), it is determined that the return processing was appropriate.

【0026】しかしながら、ステップS2で残留紙カウ
ンタ5aより読み出された値が、残留紙カウンタ5aの
カウントミスにより例えば「2」であったとすると、ス
テップS3で得られる戻し先頭ページは2枚分さかのぼ
った「5」となる。このため、ステップS4におけるチ
ェックにより、ページ番号「5」より以前にページ番号
「4」のページ状態44が「P」、即ち印刷データ未転
送とわかり、戻し枚数は不適当であったと判定される。
そして、ステップS5へ進み、この不足分だけ更に戻
り、ページ番号「3」から印刷を再開するようにページ
を戻す。
However, if the value read from the residual paper counter 5a in step S2 is, for example, "2" due to a count error in the residual paper counter 5a, the return top page obtained in step S3 is traced back by two. It becomes "5". Therefore, by the check in step S4, it is determined that the page state 44 of the page number "4" is "P", that is, the print data is not transferred before the page number "5", and it is determined that the number of returned sheets is inappropriate. .
Then, the process proceeds to step S5, the shortage is further returned, and the page is returned so that printing is restarted from the page number "3".

【0027】以上説明したように、本実施例の印刷装置
によれば、ジャム等の発生時にプリンタ部の機内残留紙
カウンタの値が実際より少なかった場合でも、ページ管
理テーブルと照合する事により、不足分を補い、結果と
して、ページ抜けを防ぐ事ができるという効果が得られ
る。
As described above, according to the printing apparatus of the present embodiment, even when the value of the in-apparatus residual paper counter of the printer unit is smaller than the actual value when a jam or the like occurs, by collating with the page management table, The effect of compensating for the deficiency and, as a result, preventing the page omission can be obtained.

【0028】尚、上記実施例では、プリンタ部5からの
戻し枚数によりページ戻し処理を行った後、ページ管理
テーブル4b上でその戻し位置の妥当性をチェックす
る。そして戻し量が不足している場合には、自動的に不
足分を戻して、そこから出力を再開しているが、これに
限られるものではない。例えば、戻し量が不足している
ときに、オペレータコールにすることによって一度処理
を停止し、使用者に注意を促し、これをオペレータが確
認した後、再スタートで不足分の戻し処理を行なってか
ら出力処理を続行することも可能である。
In the above embodiment, after the page returning process is performed according to the number of sheets returned from the printer unit 5, the validity of the returning position is checked on the page management table 4b. When the return amount is insufficient, the insufficient amount is automatically returned and the output is restarted from there, but the present invention is not limited to this. For example, when the amount of return is insufficient, the process is stopped once by making an operator call, the user is alerted, and after confirming this, the restart is performed to return the insufficient amount. It is also possible to continue the output processing from.

【0029】また、上記の実施例では、ページ戻し処理
に際して、残留紙カウンタ5aのデータを使用している
が、直接にページ状態44の欄を検索し、未転送状態
「P」である最初のページを検索し、検索されたページ
を含む位置を復帰後の再スタートにおける印刷の先頭の
位置としてもよい。例えば、ページ管理テーブルが図3
に示される状態であれば、未転送状態「P」である最初
のページの検索によりページ番号「4」が得られる。そ
して、このページ番号「4」のデータは2枚目の用紙の
裏面印刷用のデータであるので、ページ戻し処理では2
枚目の用紙の表面であるページ番号「3」に再開位置を
設定する。
Further, in the above embodiment, the data of the residual paper counter 5a is used in the page returning process, but the column of the page status 44 is directly searched to find the first untransferred status "P". A page may be searched, and the position including the searched page may be set as the start position of printing in the restart after returning. For example, the page management table is shown in FIG.
In the state shown in (1), the page number "4" is obtained by searching the first page in the untransferred state "P". Since the data of the page number “4” is the data for printing the back side of the second sheet, it is 2 in the page returning process.
The restart position is set to the page number "3" on the front surface of the first sheet.

【0030】更に、データ未転送状態の最初のページ位
置は裏面現在位置4dの示すページ番号と一致するの
で、これを用いてもよい。このように直接ページ状態4
4を検索する場合は、残留紙カウンタ5aのデータは参
照する必要がなくなる。また、残留紙カウンタ5aの値
が実際の残留枚数よりも大きい値になった場合に発生す
るページの戻し過ぎを防止できる。
Further, since the first page position in the data untransferred state matches the page number indicated by the current back surface position 4d, this may be used. Direct page state 4 like this
When retrieving 4, the data of the remaining paper counter 5a need not be referred to. Further, it is possible to prevent the page from being excessively returned when the value of the remaining sheet counter 5a becomes larger than the actual remaining number of sheets.

【0031】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器から成る装置に適用
しても良い。また、本発明はシステム或は装置にプログ
ラムを供給することによって達成される場合にも適用で
きることは言うまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus.

【0032】[0032]

【発明の効果】以上説明してきたように本発明の画像処
理方法及び装置によれば、交互給紙方式により両面印刷
を行う印刷装置などにおいて、トラブル等の発生により
ページ戻し処理をして印刷を再開する際に、適切なペー
ジより印刷を再開することが可能となる。
As described above, according to the image processing method and apparatus of the present invention, in a printing apparatus or the like that performs double-sided printing by an alternate paper feeding method, page return processing is performed and printing is performed due to trouble or the like. When restarting, printing can be restarted from an appropriate page.

【0033】[0033]

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

【図1】本実施例のプリンタ部の機構を示す図である。FIG. 1 is a diagram showing a mechanism of a printer unit according to the present embodiment.

【図2】本実施例の印刷装置の概略構成を表すブロック
図である。
FIG. 2 is a block diagram showing a schematic configuration of a printing apparatus of this embodiment.

【図3】本実施例のページ管理テーブルのデータ構造を
表す図である。
FIG. 3 is a diagram showing a data structure of a page management table of the present embodiment.

【図4】本実施例のページ戻し処理の制御手順を表すフ
ローチャートである。
FIG. 4 is a flowchart showing a control procedure of page return processing according to the present embodiment.

【図5】従来例によるページ管理テーブルとページバッ
ファを表す図である。
FIG. 5 is a diagram showing a page management table and a page buffer according to a conventional example.

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

1 印刷装置 2 CPU 3 ROM 4 RAM 4a ページバッファ 4b ページ管理テーブル 4c 表面現在位置 4d 裏面現在位置 5 プリンタ部 5a 残留紙カウンタ 1 Printing Device 2 CPU 3 ROM 4 RAM 4a Page Buffer 4b Page Management Table 4c Front Current Position 4d Back Current Position 5 Printer 5a Residual Paper Counter

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 記録媒体への両面印刷を実行する印刷部
に対して印刷データを出力する画像出力装置であって、 複数ページ分の印刷データを格納するページデータ格納
手段と、 前記ページデータ格納手段において前記印刷部への印刷
データの転送を終了したページを識別する識別手段と、 前記印刷部におけるトラブルの発生を検知する検知手段
と、 前記検知工程によりトラブルの発生が検知された場合、
前記ページデータ格納手段に格納されている印刷データ
の中で、前記識別工程により印刷データの転送が未転送
であるページのうち最初のページを検索する検索手段
と、 前記検索手段により検索されたページに基づいて前記ト
ラブルからの復帰後の前記印刷部への印刷データ転送開
始ページを設定する設定手段と、 を備えることを特徴とする画像出力装置。
1. An image output device that outputs print data to a printing unit that performs double-sided printing on a recording medium, the page data storage unit storing print data for a plurality of pages, and the page data storage. In the means, an identification unit that identifies the page for which the transfer of the print data to the printing unit has been completed, a detection unit that detects the occurrence of a trouble in the printing unit, and if the occurrence of a trouble is detected by the detection process,
Of the print data stored in the page data storage means, a search means for searching the first page of the pages for which the transfer of print data has not been transferred by the identification step, and a page searched by the search means. An image output device, comprising: a setting unit configured to set a print data transfer start page to the printing unit after recovery from the trouble.
【請求項2】 記録媒体への両面印刷を実行する印刷部
に対して印刷データを出力する画像出力方法であって、 複数ページ分の印刷データを格納するページデータ格納
工程と、 前記ページデータ格納工程において前記印刷部への印刷
データの転送を終了したページを識別する識別工程と、 前記印刷部におけるトラブルの発生を検知する検知工程
と、 前記検知工程によりトラブルの発生が検知された場合、
前記ページデータ格納工程により格納されている印刷デ
ータの中で、前記識別工程により印刷データの転送が未
転送であるページのうち最初のページを検索する検索工
程と、 前記検索工程により検索されたページに基づいて前記ト
ラブルからの復帰後の前記印刷部への印刷データ転送開
始ページを設定する設定工程と、 を備えることを特徴とする画像出力方法。
2. An image output method for outputting print data to a printing unit for performing double-sided printing on a recording medium, the method comprising: a page data storing step of storing print data for a plurality of pages; In the step, an identification step for identifying the page for which the transfer of the print data to the printing section is completed, a detection step for detecting the occurrence of a trouble in the printing section, and a case where the occurrence of the trouble is detected by the detection step,
Among the print data stored in the page data storage step, a search step of searching the first page of the pages for which the transfer of print data has not been transferred in the identification step, and the page searched in the search step. A setting step of setting a print data transfer start page to the printing section after recovery from the trouble based on the above.
JP4172268A 1992-06-30 1992-06-30 Method and apparatus for outputting image Withdrawn JPH0615895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4172268A JPH0615895A (en) 1992-06-30 1992-06-30 Method and apparatus for outputting image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4172268A JPH0615895A (en) 1992-06-30 1992-06-30 Method and apparatus for outputting image

Publications (1)

Publication Number Publication Date
JPH0615895A true JPH0615895A (en) 1994-01-25

Family

ID=15938756

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4172268A Withdrawn JPH0615895A (en) 1992-06-30 1992-06-30 Method and apparatus for outputting image

Country Status (1)

Country Link
JP (1) JPH0615895A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6048115A (en) * 1993-03-08 2000-04-11 Canon Kabushiki Kaisha Printing apparatus and printing processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6048115A (en) * 1993-03-08 2000-04-11 Canon Kabushiki Kaisha Printing apparatus and printing processing method

Similar Documents

Publication Publication Date Title
JP6202014B2 (en) Image forming apparatus, image forming method, common margin forming cycle setting program, and image forming system
JP4876946B2 (en) Printing system, image forming apparatus, post-processing apparatus and program
JP2018089869A (en) Image formation apparatus
US8472035B2 (en) Image processing apparatus, image processing system, and computer readable medium
JP6165082B2 (en) Image forming apparatus and image forming method
US6758541B2 (en) Printing machine and the method of reporting an error thereof
US9946503B2 (en) Image data generation device with raster image processor
JPH0615895A (en) Method and apparatus for outputting image
JP2000086078A (en) Sheet sorter
JPH07106652B2 (en) Printer
JPH0761695A (en) Method and device for outputting image
US20160127601A1 (en) Image-forming apparatus and image-forming method
JP2005249819A (en) Image forming apparatus
JPH10273261A (en) Printing device
JPH09295748A (en) Image forming device
JPH0717112A (en) Image output device
JP2553824B2 (en) Stacker control device
JPH06245046A (en) Facsimile equipment
JP5010558B2 (en) Image forming apparatus, printing control method thereof, and program
JPS61235336A (en) Feeding mechanism for copying machine
JP2008288876A (en) Printer
JPH0766225B2 (en) Copier abnormality cause storage device
JP2642411B2 (en) Double-sided printing device
JP2020154081A (en) Image formation apparatus, image formation system, management apparatus and image formation program
JP2005249822A (en) Image forming apparatus

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990831