JPH05233177A - Printing abnormality recovery processing system - Google Patents

Printing abnormality recovery processing system

Info

Publication number
JPH05233177A
JPH05233177A JP4036303A JP3630392A JPH05233177A JP H05233177 A JPH05233177 A JP H05233177A JP 4036303 A JP4036303 A JP 4036303A JP 3630392 A JP3630392 A JP 3630392A JP H05233177 A JPH05233177 A JP H05233177A
Authority
JP
Japan
Prior art keywords
printing
print
page
host
normal
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
JP4036303A
Other languages
Japanese (ja)
Other versions
JP3027468B2 (en
Inventor
Tsutomu Imamura
勉 今村
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP4036303A priority Critical patent/JP3027468B2/en
Publication of JPH05233177A publication Critical patent/JPH05233177A/en
Application granted granted Critical
Publication of JP3027468B2 publication Critical patent/JP3027468B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To notify the number of normal printing sheets to a host at the time of generating a fault, to make the host to notify the number of unnecessary printing sheets after recovery to output document data, to make a printer to restart printing by skipping reading to an unnecessary printing page and to automatically print from a following page (number of sheets) under simple constitution at the time of recovery. CONSTITUTION:A printer prints by developing printing instruction from the host and document data successively sent by the unit of pages and increment of a normal printing assurance counter 3 is repeated at the same time. The number of normal printing sheets counted by the corresponding normal printing assurance counter 3 at the time of generating a fault during the printing is answered to the host, the host sends the number of normal printing sheets and document data from a head at the time of recovery and the printer skips reading to a printing starting page to develop it to start printing again.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ホストから依頼を受け
た文書データの印刷時に発生した障害を回復する印刷異
常回復処理方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print abnormality recovery processing system for recovering a fault occurring at the time of printing document data requested by a host.

【0002】[0002]

【従来の技術】マルチメディア化が進むにつれて文書情
報には、イメージデータ、図形データ、文字データ、ア
ウトライン文字データなどといった複数のメディアデー
タが格納されている。この文書情報を出力する印刷装置
において、用紙づまりなどの異常が発生した際に、回復
処理として続きのページから印刷を開始したい場合、従
来は、次のような方法を取っていた。
2. Description of the Related Art With the progress of multimedia, a plurality of media data such as image data, graphic data, character data and outline character data are stored in document information. In a printing apparatus that outputs this document information, when it is desired to start printing from the next page as recovery processing when an abnormality such as a paper jam occurs, the following method has been conventionally used.

【0003】(1) オペレータが目視により正常に印
刷できたページを確認し、再印刷指示を行うときに続き
のページを指定するか、あるいは再度文書の先頭から印
刷していた。
(1) An operator visually confirms a normally printed page and then designates a subsequent page when issuing a reprint instruction, or prints again from the beginning of the document.

【0004】(2) ホスト側(アプリケーションな
ど)で、文書情報を解析を行い、印刷したいページの先
頭位置を探し出し、この先頭位置を指定して再印刷指示
を行う。
(2) The host side (application or the like) analyzes the document information, finds the head position of the page to be printed, and designates the head position to issue a reprint instruction.

【0005】(3) 異常が発生したページを読み飛ば
して、続きの印刷を行う。
(3) The page in which the abnormality has occurred is skipped and the subsequent printing is performed.

【0006】[0006]

【発明が解決しようとする課題】従来の(1)の方法で
は、オペレータが印刷結果を目視して印刷できたページ
を確認し、この未印刷ページを指定して再印刷指示を行
う煩わしさがあるという問題がある。また、先頭から再
印刷したのでは、余分な紙を使用する問題がある。
In the conventional method (1), it is troublesome for the operator to visually check the print result to confirm the printed page and specify the unprinted page to instruct the reprinting. There is a problem. Also, reprinting from the beginning causes a problem of using extra paper.

【0007】従来の(2)の方法では、文書情報の解析
処理が、ホスト側と印刷装置側の両者になければならな
いという問題がある。特に、UNIX系のホストは、印
刷指示および文書情報をスプール処理に渡して印刷装置
に代行出力してもらっているため、スプール処理が文書
情報の解析処理を行う必要が生じてしまい、解析処理を
スプール処理および印刷装置の両者に備える必要性が生
じ、回復処理だけのためにスプール処理に解析処理を設
ける無駄が生じるという問題がある。
The conventional method (2) has a problem that the analysis processing of the document information must be performed on both the host side and the printing apparatus side. In particular, since the UNIX-type host passes the print instruction and the document information to the spool processing and has the printing apparatus perform the proxy output, the spool processing needs to analyze the document information, and the analysis processing is spooled. There is a problem in that it is necessary to prepare for both the processing and the printing apparatus, and there is a waste of providing the analysis processing in the spool processing only for the recovery processing.

【0008】従来の(3)の方法では、(1)の方法と
同様に、オペレータが読み飛ばするページを指定して再
印刷指示を行ったりの煩わしたなどが生じるという問題
がある。
As in the method (1), the conventional method (3) has a problem in that the operator may be annoyed by designating a page to be skipped and giving a reprint instruction.

【0009】本発明は、これら問題を解決するため、ペ
ージ単位に印刷装置に出力して何らかの障害発生時に正
常印刷枚数をホストに通知し、回復後にホストが正常印
刷枚数および先頭から文書データを出力し、これを印刷
装置が不要印刷ページまで読み飛ばして印刷を再開し、
回復時に簡単な構成のもとで続きのページ(枚数)から
自動的に印刷することを目的としている。
In order to solve these problems, the present invention outputs the page number to the printing apparatus to notify the normal print number to the host when some trouble occurs, and after recovery, the host outputs the normal print number and the document data from the beginning. Then, the printing device skips to the unnecessary print page and restarts printing,
The purpose is to automatically print from the subsequent pages (sheets) with a simple configuration when recovering.

【0010】[0010]

【課題を解決するための手段】図1を参照して課題を解
決するための手段を説明する。図1において、正常印刷
保証カウンタ3は、文書データの正常に印刷した印刷枚
数をカウントするものである。
[Means for Solving the Problems] Means for solving the problems will be described with reference to FIG. In FIG. 1, the normal print guarantee counter 3 counts the number of normally printed pages of document data.

【0011】複写枚数カウンタ4は、同一ページの印刷
枚数を計数するものである。不要印刷ページテーブル5
は、印刷不要のページを設定するものである。
The copy number counter 4 counts the number of printed pages of the same page. Unnecessary print page table 5
Is for setting a page that does not require printing.

【0012】[0012]

【作用】本発明は、図1に示すように、ホスト1からの
印刷指示および順次ページ単位に送られてくる文書デー
タをもとに、印刷装置2がこれを展開して印刷すると共
に正常印刷保証カウンタ3をインクリメントすることを
繰り返し、この印刷中の異常発生時に正常印刷保証カウ
ンタ3で計数した正常印刷枚数をホスト1に返答し、障
害回復時にホスト1が印刷開始回数および先頭から文書
データを送り、印刷装置2が印刷開始ページまで読み飛
ばし、展開して印刷を再開するようにしている。
According to the present invention, as shown in FIG. 1, the printing device 2 expands and prints the print data from the host 1 based on the print instruction from the host 1 and the document data sequentially sent in page units, and the normal printing is performed. The guarantee counter 3 is repeatedly incremented, the normal print number counted by the normal print guarantee counter 3 is returned to the host 1 when an abnormality occurs during printing, and the host 1 returns the print start count and the document data from the beginning at the time of failure recovery. Then, the printing apparatus 2 skips to the print start page, develops it, and restarts printing.

【0013】また、ホスト1からの印刷指示および順次
ページ単位に送られてくる文書データをもとに、印刷装
置2がこれを展開して印刷すると共に正常印刷保証カウ
ンタ3をインクリメントすることを繰り返し、この印刷
中の異常発生時に当該正常印刷保証カウンタ3で計数し
た正常印刷枚数をホスト1に返答し、障害回復時にホス
ト1から正常印刷枚数および先頭から文書データが送ら
れてきたことに対応して、印刷装置2が文書データのう
ちの不要印刷ページテーブル5に設定したページを読み
飛ばして障害発生時のページから順次展開して印刷を再
開するようにしている。
Further, based on the print instruction from the host 1 and the document data sequentially sent in page units, the printing device 2 expands and prints it and increments the normal print guarantee counter 3 repeatedly. When an error occurs during printing, the normal print count counted by the normal print guarantee counter 3 is returned to the host 1, and the normal print count and the document data are sent from the beginning when the failure is recovered. Then, the printing apparatus 2 skips the pages set in the unnecessary print page table 5 of the document data, sequentially expands from the page at the time of the failure, and restarts printing.

【0014】また、ホストからの印刷指示および順次ペ
ージ単位に送られてくる文書データをもとに、印刷装置
がこれを展開して印刷する毎に複写枚数カウンタ4およ
び正常印刷保証カウンタ5をイクリメントし、複写枚数
カウンタ4の値が指示された複写枚数になったときに、
複写枚数カウンタ4をクリアすると共に次のページの文
書データを展開して印刷することを繰り返し、この印刷
中の異常発生時に当該正常印刷保証カウンタ3で計数し
た正常印刷枚数をホストに返答し、障害回復時にホスト
から正常印刷枚数および先頭から文書データが送られて
きたことに対応して、不要印刷ページを不要印刷ページ
テーブル5に設定および不要複写枚数を複写枚数カウン
タ4に設定し、既に印刷したページを読み飛ばして印刷
を再開するようにしている。
Further, based on the print instruction from the host and the document data sequentially sent in page units, the copy number counter 4 and the normal print guarantee counter 5 are incremented each time the printing device develops and prints the data. However, when the value of the copy number counter 4 reaches the designated copy number,
The copy number counter 4 is cleared and the document data of the next page is expanded and printed repeatedly. When an abnormality occurs during printing, the normal print number counted by the normal print guarantee counter 3 is returned to the host, and the failure occurs. Corresponding to the normal print number and the document data sent from the beginning at the time of recovery, the unnecessary print page is set in the unnecessary print page table 5 and the unnecessary copy number is set in the copy number counter 4, and printing is already performed. The page is skipped and printing is restarted.

【0015】従って、ページ単位に印刷装置2に出力し
て当該印刷装置2側で何らかの障害発生時に正常印刷枚
数をホスト1に通知し、回復後にホスト1が正常印刷枚
数および先頭から文書データを出力することにより、印
刷装置2が不要印刷ページまで読み飛ばして印刷を再開
し、回復時に簡単な構成のもとで中断した次から自動的
に印刷を行うことが可能となる。
Therefore, the data is output page by page to the printing device 2, the normal printing number is notified to the host 1 when some trouble occurs on the printing device 2 side, and after recovery, the host 1 outputs the normal printing number and the document data from the beginning. By doing so, it becomes possible for the printing apparatus 2 to skip over to the unnecessary print page and restart printing, and to automatically print from the time of interruption after recovery with a simple configuration.

【0016】[0016]

【実施例】次に、図1から図8を用いて本発明の実施例
の構成および動作を順次詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the construction and operation of an embodiment of the present invention will be described in detail with reference to FIGS.

【0017】図1は、本発明のシステム構成図を示す。
図1の(a)は、全体のシステム構成図を示す。ここ
で、ホストから印刷依頼を受けた印刷装置2が印刷を行
う。この際、印刷装置2の印刷中に何らかの原因によっ
て印刷できなくなった場合、例えば用紙のジャムが発生
して印刷し得なくなった場合、印刷装置2は、正常印刷
保証カウンタ3によって計測した正常印刷枚数をホスト
1に通知する。そして、印刷装置2の異常が回復した場
合、例えばオペレータがジャムの用紙を取り除いて印刷
再開可能な状態に回復し、印刷再開指示を行ったことに
対応して、ホスト1が通知を受けた正常印刷枚数をもと
に、印刷中断したページ(枚数)から印刷する旨を印刷
装置2に指示した後、文書データを先頭から再度、送
る。文書データを受け取った印刷装置2は、指示を受け
た正常印刷枚数をもとに、文書データの先頭から既に印
刷したページを読み飛ばし、中断したページ(1ページ
1枚のときはそのページ、1ページを複数枚印刷すると
きはそのページの未印刷分)から印刷を再開する(図2
から図8を用いて順次詳細に後述する)。
FIG. 1 shows a system configuration diagram of the present invention.
FIG. 1A shows an overall system configuration diagram. Here, the printing apparatus 2 that has received the print request from the host performs printing. At this time, if printing cannot be performed due to some reason during printing by the printing apparatus 2, for example, if a paper jam occurs and printing cannot be performed, the printing apparatus 2 uses the normal printing guarantee counter 3 to measure the normal number of printed sheets. Is notified to the host 1. Then, when the abnormality of the printing apparatus 2 is recovered, for example, the operator removes the jammed paper and recovers the printing resumable state, and in response to the printing restart instruction, the host 1 is notified of the normal state. Based on the number of printed sheets, after instructing the printing apparatus 2 to start printing from the page (sheet number) for which printing has been interrupted, the document data is sent again from the beginning. Upon receiving the document data, the printing apparatus 2 skips the already printed page from the beginning of the document data based on the instructed normal print number, and interrupts the page (if one page is one, the page When printing multiple pages, restart printing from the unprinted portion of the page (Fig. 2
To FIG. 8 will be sequentially described in detail later).

【0018】図1の(a−1)は、ホスト制御プログラ
ム構成例を示す。アプリ11は、文書の印刷依頼を行う
業務プログラムである。OS12は、オペレーティング
システムであって、全体の制御を行う制御プログラムで
ある。
FIG. 1A-1 shows an example of the host control program configuration. The application 11 is a business program that requests printing of a document. The OS 12 is an operating system and is a control program that controls the entire system.

【0019】スプーラ13は、OS12がアプリ11か
ら依頼を受けた文書データの印刷について、印刷条件
(印刷ページ、印刷枚数など)および文書データを渡し
て代行させるものであって、ドライバ14を介して印刷
装置2に印刷制御を行うものである。ここでは、印刷装
置2に用紙ジャムなどの異常が発生し、印刷を再開する
ときに、文書データの先頭から印刷装置2に送り、印刷
装置2の内部でデータ解析部24によって当該文書解析
を行なわせ、中断したページから印刷再開するように
し、スプーラ13の内部に文書データの解析プログラム
を重複して持たないようにし、プログラム構成を簡単に
している。
The spooler 13 passes the print condition (print page, the number of prints, etc.) and the document data for the printing of the document data requested by the application 11 by the OS 12, and substitutes them through the driver 14. Printing control is performed on the printing apparatus 2. Here, when an abnormality such as a paper jam occurs in the printing device 2 and printing is resumed, the document data is sent to the printing device 2 from the beginning, and the document analysis is performed by the data analysis unit 24 inside the printing device 2. In this case, the printing is restarted from the interrupted page, and the document data analysis program is not duplicated in the spooler 13 to simplify the program configuration.

【0020】ドライバ14は、スプーラ13から依頼を
受けた文書データなどを印刷装置2に送信したりなどす
るものである。図1の(b−1)は、印刷装置制御プロ
グラム構成例を示す。
The driver 14 sends document data and the like requested by the spooler 13 to the printer 2. FIG. 1B-1 shows an example of a printer control program configuration.

【0021】通信制御部21は、ホスト1との間で文書
データや印刷指示などの授受(通信)を行うものであ
る。管理部22は、印刷制御部23、データ解析部2
4、データ展開部25などを統括管理するものである。
The communication control unit 21 sends and receives (communicates) document data and print instructions with the host 1. The management unit 22 includes a print control unit 23 and a data analysis unit 2.
4. It centrally manages the data development unit 25 and the like.

【0022】印刷制御部23は、印刷メカ32などを制
御して印刷するものである。データ解析部24は、ホス
ト1から送られてきた文書データ(イメージデータ、図
形データ、文字データ、アウトライン文字データなど)
を解析するものである。
The print control section 23 controls the printing mechanism 32 and the like to print. The data analysis unit 24 sends document data (image data, graphic data, character data, outline character data, etc.) sent from the host 1.
Is to be analyzed.

【0023】データ展開部25は、データ解析部24に
よって解析された結果をもとに文書データを展開(例え
ば文字コードのときはフォントに展開、図形データのと
きはイメージデータにページ単位に展開など)し、印刷
に適したドットデータにするものである。
The data expansion unit 25 expands the document data based on the result analyzed by the data analysis unit 24 (for example, the character code is expanded into a font, the graphic data is expanded into image data page by page, etc.). ) And dot data suitable for printing.

【0024】印刷装置2は、ホスト1から文書データを
受け取ると、データ解析部24で解析し、この解析をも
とにデータ展開部25がページ単位にドットデータに展
開してメモリに格納する。そして、印刷制御部23がメ
モリからライン単位などにドットデータを印刷メカ32
に出力し、順次印刷を行う。この際、ページ単位に印刷
中に用紙ジャムなどの障害が発生した場合、正常印刷保
証カウンタ3によって計数していた正常印刷枚数をホス
ト1に通知する。印刷装置2の障害が回復したことに対
応して、ホスト1から再度、文書データが先頭から送ら
れてくるので、ホスト1から通知のあった正常印刷枚数
をもとに該当するページまで文書データを読み飛ばし、
中断したページ(ページ内の枚数)から印刷を再開する
ようにしている(後述する)。
When the printer 2 receives the document data from the host 1, the data analyzer 24 analyzes the document data, and based on this analysis, the data development unit 25 develops dot data page by page and stores it in the memory. Then, the print controller 23 prints dot data from the memory on a line-by-line basis or the like.
Output to and print sequentially. At this time, when a failure such as a paper jam occurs during printing page by page, the normal print guarantee counter 3 notifies the host 1 of the number of normal prints. In response to the recovery of the failure of the printing device 2, the document data is sent from the beginning again from the host 1. Therefore, based on the normal print number notified by the host 1, the document data up to the corresponding page is sent. Skip over,
Printing is restarted from the interrupted page (the number of pages in the page) (described later).

【0025】図1の(a−2)は、ホストハード構成例
を示す。ROM15は、リードオンリメモリであって、
各種プログラムなどを予め格納するものである。
FIG. 1A-2 shows a host hardware configuration example. The ROM 15 is a read-only memory,
Various programs are stored in advance.

【0026】通信回路16は、印刷装置2との間で各種
データの授受を行うものである。制御メモリ17は、プ
ログラムや各種中間結果などを格納するメモリである。
外部記憶装置18は、多量のデータ、例えば文書データ
などを保存する記憶装置である。
The communication circuit 16 exchanges various data with the printing device 2. The control memory 17 is a memory that stores programs and various intermediate results.
The external storage device 18 is a storage device that stores a large amount of data, such as document data.

【0027】MPU19は、プログラムに従って各種処
理を行うものである。図1の(b−2)は、印刷装置ハ
ード構成例を示す。ROM27は、リードオンリメモリ
であって、各種プログラムなどを予め格納するものであ
る。
The MPU 19 performs various processes according to a program. FIG. 1B-2 shows a hardware configuration example of the printing apparatus. The ROM 27 is a read-only memory and stores various programs in advance.

【0028】通信回路28は、ホスト1との間でデータ
の授受を行うものである。制御メモリ29は、プログラ
ムや各種中間結果などを格納するメモリであって、ここ
では、正常印刷保証カウンタ3、複写枚数カウンタ4、
不要印刷ページテーブル5を設けるメモリである。
The communication circuit 28 exchanges data with the host 1. The control memory 29 is a memory for storing programs, various intermediate results, etc., and here, a normal print guarantee counter 3, a copy number counter 4,
The memory is provided with the unnecessary print page table 5.

【0029】正常印刷保証カウンタ3は、印刷装置2で
文書を正常に印刷した枚数を計測するカウンタである。
1ページ1枚のときは、計数した枚数が即ページ数とな
る。一方、1ページ複数枚のときは、(計測した値)÷
(1ページの印刷する枚数)によって印刷ページを求
め、その残余でそのページ内の正常印刷枚数を表す。こ
の正常印刷枚数は、後述する複写枚数カウンタ4が計測
する。
The normal print guarantee counter 3 is a counter for counting the number of normally printed documents by the printing device 2.
When there is one page, the counted number becomes the number of pages immediately. On the other hand, when there are multiple pages per page, (measured value) ÷
A print page is obtained by (the number of pages to be printed), and the remainder indicates the number of normal prints in that page. The number of normally printed sheets is measured by the copy number counter 4 described later.

【0030】複写枚数カウンタ4は、同一ページ内で印
刷した枚数を計測し、ホスト1から指示された同一ペー
ジ内の枚数に等しくなったことを検出するためのもので
ある。
The number-of-copies counter 4 counts the number of pages printed in the same page and detects that the number of copies has become equal to the number of pages in the same page designated by the host 1.

【0031】不要印刷ページテーブル5は、印刷を行う
必要のないページを設定するテーブル(図6参照)であ
って、ホスト1から印刷不要指示されたページを設定し
て当該ページを読み飛ばしたり、印刷装置2に障害が発
生して回復時に、既に印刷したページを読み飛ばすため
に設定したりするものである。
The unnecessary print page table 5 is a table (see FIG. 6) for setting pages that need not be printed, and sets pages for which printing is instructed by the host 1 and skips the pages. When a failure occurs in the printer 2 and the printer is recovered, it is set to skip the already printed page.

【0032】展開回路30は、文書データ(特に図形デ
ータなど)を高速にドットパターンに展開してBMM3
1に格納するものである。BMM31は、展開したドッ
トデータを格納するバッファメモリである。
The expansion circuit 30 expands document data (particularly graphic data) into a dot pattern at a high speed and BMM3.
It is stored in 1. The BMM 31 is a buffer memory that stores the expanded dot data.

【0033】印刷メカ32は、BMM31から取り出し
たドットデータをもとに、用紙に印刷するものである。
MPU33は、マイクロプロセッサであって、プログラ
ムに従って各種処理を行うものである。
The printing mechanism 32 prints on a sheet based on the dot data taken out from the BMM 31.
The MPU 33 is a microprocessor that performs various processes according to programs.

【0034】図2は、本発明の動作説明図(その1)を
示す。これは、1ページ、1枚の印刷を行い、4ページ
で用紙ジャムが発生し、当該用紙ジャムが発生した4ペ
ージから印刷を再開するときの動作の様子を示したもの
である。ここで、(2.1)から(2.16)は説明す
る順序を示す。
FIG. 2 is a diagram (No. 1) for explaining the operation of the present invention. This shows an operation when printing one page and one sheet, a paper jam occurs on four pages, and printing is restarted from the four pages where the paper jam occurred. Here, (2.1) to (2.16) indicate the order to be described.

【0035】(2.1):ホスト1が印刷制御データと
して、正常印刷保証カウンタ3の0クリア指示を印刷装
置2に通知する(例えばコマンドを発行して通知す
る)。これを受信した印刷装置2は、図1の(b−2)
の制御メモリ29内の正常印刷保証カウンタ3を0クリ
アする。
(2.1): The host 1 notifies the printing apparatus 2 of a 0 clear instruction of the normal print guarantee counter 3 as print control data (for example, a command is issued to notify). The printing apparatus 2 that receives this receives (b-2) in FIG.
The normal print guarantee counter 3 in the control memory 29 is cleared to 0.

【0036】(2.2):ホスト1が文書1の1/5頁
の文書データを印刷装置2に出力する。これを受け取っ
た印刷装置2は、印刷を行うと共に正常印刷保証カウン
タ3を+1して1(正常印刷枚数が1頁)とする。
(2.2): The host 1 outputs the document data of ⅕ page of the document 1 to the printer 2. Upon receipt of this, the printing device 2 performs printing and increments the normal print guarantee counter 3 by 1 to 1 (normal print number is 1 page).

【0037】(2.3)、(2.4):同様に、ホスト
1が文書1の2/5頁、3/5頁の文書データを印刷装
置2に出力する。これを受け取った印刷装置2は、印刷
を行うと共に正常印刷保証カウンタ3を+1して2(正
常印刷枚数が2枚)、更に+1して3(正常印刷枚数が
3頁)とする。
(2.3), (2.4): Similarly, the host 1 outputs the document data of 2/5 page and 3/5 page of the document 1 to the printer 2. Upon receipt of this, the printing apparatus 2 performs printing and increments the normal print guarantee counter 3 by 1 to 2 (the number of normal prints is 2) and further increments it to 3 (the number of normal prints is 3 pages).

【0038】(2.5):ホスト1が文書1の4/5頁
の文書データを印刷装置2の出力する。これを受け取っ
た印刷装置2は、印刷を行なおうとするが、JAM(用
紙ジャム)が発生して異常となり、印刷できなくなる。
(2.5): The host 1 outputs the document data of page 4/5 of the document 1 to the printer 2. The printing apparatus 2 that has received this tries to perform printing, but JAM (paper jam) occurs and becomes abnormal, and printing cannot be performed.

【0039】(2.6):(2.5)で印刷装置2に用
紙ジャムが発生して印刷できなくなったことに対応し
て、印刷装置2は、正常印刷保証カウンタ3が保持して
いるここでは、“3”(3頁正常印刷)をホスト1に通
知する。
(2.6): In response to the paper jam occurring in the printing device 2 and the printing being disabled in (2.5), the normal printing guarantee counter 3 of the printing device 2 holds it. Here, the host 1 is notified of “3” (normal printing of three pages).

【0040】(2.7):オペレータが印刷装置2の用
紙ジャムを取り除く回復処理を行い、回復したので、そ
の旨をホスト1に通知する。 (2.8):ホスト1が(2.7)で回復通知を受け取
ったことに対応して、印刷制御データとして、1から3
ページまで印刷しないことを指示を印刷装置2に通知す
る(例えばコマンドを発行して通知する)。これを受信
した印刷装置2は、1から3ページまで印刷しないこと
を記憶すると共に正常印刷保証カウンタ3を0クリアす
る。
(2.7): The operator performs the recovery process for removing the paper jam of the printing device 2 and the recovery is performed. Therefore, the host 1 is notified of that fact. (2.8): In response to the host 1 having received the recovery notice in (2.7), the print control data 1 to 3
The printing apparatus 2 is notified of an instruction not to print pages (for example, a command is issued to notify). Receiving this, the printing device 2 stores that the pages 1 to 3 are not printed and clears the normal print guarantee counter 3 to zero.

【0041】(2.9):ホスト1が文書1の1/5頁
の文書データを印刷装置2に出力する。これを受け取っ
た印刷装置2は、読み飛ばすと共に正常印刷保証カウン
タ3を+1して1(正常印刷枚数が1頁)とする。
(2.9): The host 1 outputs the document data of ⅕ page of the document 1 to the printer 2. Upon receipt of this, the printing apparatus 2 skips the reading and increments the normal printing guarantee counter 3 to 1 (normal printing number is 1 page).

【0042】(2.10)、(2.11):同様にして
文書1の2/5頁、3/5頁の文書データについて読み
飛ばすと共に、正常印刷保証カウンタ3をそれぞれ+1
する。
(2.10), (2.11): Similarly, the document data of page 2/5 and page 3/5 of document 1 are skipped and the normal print guarantee counter 3 is incremented by +1.
To do.

【0043】(2.12):ホスト1が文書1の4/5
頁の文書データを印刷装置2に出力する。これを受け取
った印刷装置2は、中断した4ページから印刷を再開す
ると共に正常印刷保証カウンタ3を+1して4(正常印
刷枚数が4頁)とする。
(2.12): Host 1 is 4/5 of document 1
The page document data is output to the printer 2. Receiving this, the printing apparatus 2 restarts printing from the interrupted four pages and increments the normal print guarantee counter 3 to 4 (normal print number is 4 pages).

【0044】(2.13):ホスト1が文書1の5/5
頁の文書データを印刷装置2に出力する。これを受け取
った印刷装置2は、印刷すると共に正常印刷保証カウン
タ3を+1して5(正常印刷枚数が5頁)とする。
(2.13): Host 1 is 5/5 of document 1
The page document data is output to the printer 2. Upon receipt of this, the printer 2 prints and increments the normal print guarantee counter 3 by 1 to 5 (normal print number is 5 pages).

【0045】以上によって、文書1の1/5頁、2/5
頁、3/5頁と正常に印刷し、4/5頁の印刷時に用紙
ジャムが発生したので、印刷装置が正常印刷保証カウン
タ3が保持する3頁正常印刷をホスト1に通知し、ホス
ト1が記憶する。そして、オペレータが印刷装置2の用
紙ジャムを取り除く回復処理を行ったことに対応して、
回復した旨をホスト1に通知し、ホスト1が記憶した3
頁正常印刷の1ページから3ページまで印刷不要の旨を
印刷装置2に通知し、これを記憶させた後、文書1の先
頭から1/5頁、2/5頁、3/5頁、4/5頁、5/
5頁と送る。これらを受け取った印刷装置が1/5頁、
2/5頁、3/5頁を読み飛ばし、4/5頁、5/5頁
について順次印刷する。これにより、印刷装置2に印刷
異常が発生した場合、回復処理後に自動的に中断したペ
ージから印刷を開始することが可能となる。
By the above, 1/5 page of document 1 and 2/5
Pages 3/5 pages are normally printed, and a paper jam occurs when printing 4/5 pages. Therefore, the printing apparatus notifies the host 1 of the normal 3 page printing held by the normal print guarantee counter 3, and the host 1 Remember. Then, in response to the operator performing the recovery process for removing the paper jam of the printing apparatus 2,
Host 1 is notified of the recovery, and Host 1 stores 3
After notifying the printing device 2 that pages 1 to 3 of normal page printing are not required to be printed and storing this, 1 / 5th page, 2 / 5th page, 3 / 5th page, and 4th page from the beginning of document 1 / 5 pages, 5 /
Send 5 pages. The printing device that received them has 1/5 pages,
The pages 2/5 and 3/5 are skipped and the pages 4/5 and 5/5 are sequentially printed. As a result, if a printing abnormality occurs in the printing apparatus 2, it is possible to start printing from the page automatically interrupted after the recovery processing.

【0046】図3は、本発明の具体例説明図を示す。こ
れは、図2で説明した例を模式的に判り易く説明したも
のである。図3の(a)は、ホスト1が印刷指示として
1頁目、2頁目、3頁目、4頁目、5頁目の文書データ
を順次印刷装置に出力する(図2の(2.1)から
(2.5)参照)。
FIG. 3 is a diagram illustrating a specific example of the present invention. This is a schematic and easy-to-understand explanation of the example described with reference to FIG. In (a) of FIG. 3, the host 1 sequentially outputs the document data of the first page, the second page, the third page, the fourth page, and the fifth page as a print instruction to the printing apparatus ((2. 1) to (2.5)).

【0047】図3の(b)は、4頁目の印刷中に用紙ジ
ャムが発生して印刷不可となったので、印刷装置2がホ
スト1に3ページ目まで正常に印刷されたことを通知す
る。図3の(c)は、オペレータが用紙ジャムを取り除
いて回復処理を終了したので、この旨をホスト1に通知
したことに対応して、ホスト1が1から3ページ目迄印
刷しないページとして指示する様子を示す。印刷装置2
は、これを記憶する。
In FIG. 3B, since a paper jam has occurred during the printing of the fourth page and printing has become impossible, the printer 2 notifies the host 1 that the third page has been printed normally. To do. In (c) of FIG. 3, since the operator has removed the paper jam and completed the recovery process, the host 1 is informed of this as a page not to be printed in response to notifying the host 1 of this fact. I will show you how. Printer 2
Will remember this.

【0048】図3の(d)は、ホスト1が再度 先頭か
ら1頁目、2頁目、3頁目、4頁目、5頁目の文書デー
タを順次印刷装置に出力する。印刷装置2は、記憶して
おいた1から3ページまでを読み飛ばし、4ページ目か
ら印刷を再開し、4頁目、5頁目と印刷し、全てのペー
ジの印刷を終了する。
In (d) of FIG. 3, the host 1 again outputs the document data of the first page, the second page, the third page, the fourth page, and the fifth page from the beginning to the printing device. The printing device 2 skips the stored pages 1 to 3, restarts printing from the fourth page, prints the fourth page, and the fifth page, and finishes printing all pages.

【0049】以上のように、ホスト1が印刷装置2に文
書データをページ単位に順次送り、印刷装置2がページ
単位に印刷中に何らかの障害が発生して印刷不可となっ
たときに、正常印刷した正常印刷枚数をホスト1に通知
する。そして、印刷装置2が回復したときに、ホスト1
から正常印刷枚数を通知した後、文書データを先頭から
再送し、印刷装置2が既に印刷した正常印刷枚数を越え
るページまで読み飛ばしを行い、それ以降印刷すること
により、印刷装置2に障害発生し、回復時に中断したペ
ージ(枚数)から印刷を自動的に開始することが可能と
なる。
As described above, when the host 1 sequentially sends the document data to the printer 2 page by page, and the printer 2 cannot print due to some trouble during printing page by page, normal printing is performed. The host 1 is notified of the number of normally printed sheets. Then, when the printing device 2 recovers, the host 1
After notifying the normal number of prints from the printer, the document data is retransmitted from the beginning, and the printing device 2 skips the pages beyond the number of normal prints already printed, and prints thereafter, causing a failure in the printing device 2. It is possible to automatically start printing from the page (number of pages) interrupted at the time of recovery.

【0050】図4は、本発明の動作説明フローチャート
(その1)を示す。これは、ホスト1の処理(1)であ
る。図4において、S1は、初期化処理を行う。これ
は、ホスト1が各種初期化処理を行い、動作可能な状態
に設定する。
FIG. 4 is a flowchart (No. 1) for explaining the operation of the present invention. This is the process (1) of the host 1. In FIG. 4, S1 performs an initialization process. This sets the host 1 to an operable state by performing various initialization processes.

【0051】S2は、印刷依頼ありか判別する。これ
は、例えばアプリ11からの印刷依頼があったか判別す
る。YESの場合には、S3に進む。NOの場合には、
印刷依頼があるまで待機する。
In S2, it is determined whether or not there is a print request. This determines whether or not there is a print request from the application 11, for example. If yes, then continue with S3. If no,
Wait until there is a print request.

【0052】S3は、S2のYESで印刷依頼があった
ので、印刷制御データを発行する。これは、図2の
(2.1)で説明したように、 ・正常印刷保証カウンタの0クリア指示 を印刷装置に通知する。
In S3, since the print request is made in YES in S2, print control data is issued. As described in (2.1) of FIG. 2, this notifies the printing apparatus of an instruction to clear the normal printing guarantee counter to 0.

【0053】S4は、文書データを発行する。これは、
S3で印刷制御データを発行したことに続き、印刷する
文書データとして、例えば図2の(2.2)などに示す
ように、文書1の1/5頁の文書データなどを印刷装置
に出力する。
In step S4, the document data is issued. this is,
Following the issuance of the print control data in S3, as the document data to be printed, for example, as shown in (2.2) of FIG. ..

【0054】S5は、文書データ正常終了か判別する。
これは、S4で発行した文書データが正常に印刷装置2
で印刷されて正常終了か判別する。YESの場合には、
S2に戻り、次の印刷依頼の処理を行う。NOの場合に
は、S6で正常印刷保証カウンタ3より、不要印刷ペー
ジ指定情報(例えば1から正常印刷保証ページまで)を
作成する。これは、ホスト1が文書データを印刷装置2
に出力したが、印刷装置2で例えば用紙ジャムが発生し
て印刷不可となったので、印刷装置2が正常印刷保証カ
ウンタ3でカウントした正常印刷保証枚数をホスト1に
通知する。ホスト1はこの正常印刷保証枚数をもとに、
不要印刷ページ情報などを作成する。
In step S5, it is determined whether the document data has ended normally.
This is because the document data issued in S4 is normally printed by the printer 2.
Is printed, and it is determined whether the process has completed normally. If yes,
The process returns to S2 to process the next print request. In the case of NO, unnecessary print page designation information (for example, 1 to normal print guarantee page) is created from the normal print guarantee counter 3 in S6. This is because the host 1 prints document data on the printing device 2
However, the printing apparatus 2 notifies the host 1 of the guaranteed number of normal prints counted by the normal printing guarantee counter 3 because printing has become impossible due to a paper jam in the printing apparatus 2, for example. The host 1 uses this guaranteed number of normal prints
Create unnecessary print page information.

【0055】S7は、ホスト1が印刷装置2から回復し
た旨の通知を受け取ったか判別する。YESの場合に
は、印刷制御データとして、 ・不要印刷ページ指定情報(図2の(2.8)では、1
から3ページまで印刷不要) を印刷装置2に通知する。そして、S4で再度、先頭か
らホスト1が文書データを印刷装置2に出力し、印刷装
置2が通知を受けた不要印刷ページを読み飛ばし、その
次のページから印刷を再開する。
In step S7, it is determined whether or not the host 1 has received a notification from the printing device 2 that it has recovered. If YES, the print control data is as follows: Unnecessary print page designation information (1 in (2.8) in FIG. 2)
(Printing is unnecessary from page 3 to page 3) to the printing apparatus 2. Then, in S4, the host 1 outputs the document data to the printing device 2 again from the beginning, the printing device 2 skips the notified unnecessary print page, and restarts printing from the next page.

【0056】図5は、本発明の動作説明フローチャート
(その2)を示す。これは、印刷装置2の処理(1)で
ある。図5において、S11は、印刷装置2が初期処理
を行い、印刷可能な状態に設定する。
FIG. 5 is a flowchart (No. 2) for explaining the operation of the present invention. This is the process (1) of the printing apparatus 2. In FIG. 5, in step S11, the printing apparatus 2 performs an initial process and sets a printable state.

【0057】S12は、印刷装置2がホスト1からデー
タ受信する。S13は、受信データが印刷制御データか
判別する。YESの場合、例えば図2の(2.1)の正
常印刷保証カウンタ3の0クリアなどの印刷制御データ
の場合には、S14で正常印刷保証カウンタ3を0クリ
アし、S15で更に不要印刷ページ指示があったか判別
し、YESのときにS17で不要印刷ページテーブル5
に不要印刷ページを設定してS12に戻り、NOのとき
にS16で不要印刷ページテーブル5を0クリアしてS
12に戻る。一方、S13でNOの場合、即ち文書デー
タの場合には、S18に進む。
In step S12, the printer 2 receives data from the host 1. In S13, it is determined whether the received data is print control data. In the case of YES, for example, in the case of print control data such as 0 clear of the normal print guarantee counter 3 in (2.1) of FIG. 2, the normal print guarantee counter 3 is cleared to 0 in S14, and unnecessary print pages are further printed in S15. It is determined whether or not there is an instruction, and when YES, the unnecessary print page table 5 is generated in S17.
The unnecessary print page is set in step S12 and the process returns to step S12. If NO, the unnecessary print page table 5 is cleared to 0 in step S16
Return to 12. On the other hand, if NO in S13, that is, in the case of document data, the process proceeds to S18.

【0058】S18は、印刷装置2が受信した文書デー
タを解析し、不要印刷ページテーブル5により、印刷し
ないページか判定する。印刷ページの場合には、S20
でデータ展開し、S21で印刷し、正常終了したとき
(正常に印刷できたとき)にはS22に進み、異常終了
したとき(正常に印刷できなかったとき)にはS24で
正常印刷保証カウンタ3が保持する正常印刷枚数をホス
ト1に返して記憶させ、S12に戻る。
In step S18, the document data received by the printer 2 is analyzed, and it is determined from the unnecessary print page table 5 whether the page is not to be printed. In case of print page, S20
The data is expanded in step S21, and is printed in step S21. When the processing is completed normally (when printing can be performed normally), the processing proceeds to step S22. When the processing ends abnormally (when printing cannot be performed normally), the normal printing guarantee counter 3 The number of normally printed sheets held by is returned to the host 1 and stored therein, and the process returns to S12.

【0059】S22は、正常印刷保証カウンタ3をイン
クリメントする。S23は、受信データが残っているか
判別する。YESの場合には、S18に戻り、繰り返し
行う。NOの場合には、受信データが残っていないの
で、S12に戻る。
In step S22, the normal print guarantee counter 3 is incremented. A step S23 decides whether or not the received data remains. If YES, the process returns to S18 and is repeated. In the case of NO, there is no reception data, so the process returns to S12.

【0060】以上によって、ホスト1から受信したデー
タが印刷制御データの場合には、正常印刷保証カウンタ
3を0クリアしたり、不要印刷ページテーブル5に不要
印刷ページを設定したりし、受信したデータが文書デー
タの場合には、不要印刷ページテーブル5を参照して不
要印刷ページでないときは展開して印刷を行うと共に正
常印刷保証カウンタ3をインクリメントして正常印刷枚
数を計数する。そして、印刷装置2に用紙ジャムなどの
異常が発生して印刷不可となったときに、正常印刷保証
カウンタ3で計数した正常印刷枚数をホスト1に通知し
て記憶させる。この記憶させた正常印刷枚数は、オペレ
ータが当該印刷装置2の障害を回復したときにその旨を
ホスト1に通知し、ホスト1から印刷制御データとして
この正常印刷枚数の通知を受けて不要印刷ページテーブ
ル5に設定(S17)し、これに続いてホスト1から送
られてきた文書データについて、当該正常印刷枚数に対
応するページ数だけ読み飛ばし、その次から展開して印
刷する。これにより、自動的に印刷装置2は中断したペ
ージ(枚数)から印刷を再開することが可能となる。
As described above, when the data received from the host 1 is the print control data, the normal print guarantee counter 3 is cleared to 0, the unnecessary print page is set in the unnecessary print page table 5, and the received data is received. Is document data, the unnecessary print page table 5 is referred to, and when it is not an unnecessary print page, it is expanded and printed, and the normal print guarantee counter 3 is incremented to count the number of normal prints. Then, when an abnormality such as a paper jam occurs in the printing device 2 and printing becomes impossible, the normal print number counted by the normal print guarantee counter 3 is notified to the host 1 and stored therein. When the operator recovers from the failure of the printing device 2, the stored normal print number is notified to the host 1, and the host 1 receives the notification of the normal print number as print control data, and an unnecessary print page is received. The table 5 is set (S17), and then the document data sent from the host 1 is skipped by the number of pages corresponding to the number of normally printed sheets, and is developed and printed from the next page. As a result, the printing apparatus 2 can automatically restart printing from the interrupted page (number of pages).

【0061】図6は、本発明の不要印刷ページテーブル
例を示す。これは、ホスト1から印刷装置2に印刷制御
データとして送られてきた印刷不要ページを当該不要印
刷ページテーブル5に設定し、これに続いて送られてき
た先頭からの文書データのうち、この不要印刷ページテ
ーブル5に設定されているページの文書データを読み飛
ばし、それ以外のページ(枚数)を展開して印刷するよ
うにしている。
FIG. 6 shows an example of the unnecessary print page table of the present invention. This is because the unnecessary print page sent from the host 1 to the printing apparatus 2 as print control data is set in the unnecessary print page table 5, and the unnecessary print data in the document data from the beginning sent subsequently is deleted. The document data of the pages set in the print page table 5 is skipped, and the other pages (the number of pages) are expanded and printed.

【0062】ここで、処理フラグは、右の欄外に記載し
たように、 0:未処理 1:処理済 −1:不要印刷ページテーブル終了 を表す。不要印刷ページは、印刷不要のページである。
ここでは、1ページ目、2ページ目、3ページ目が設定
されている。そして、1ページ目の処理グラグが“1”
となり、1ページ目の文書データの読み飛ばしが終了し
ている旨を表す。
Here, the processing flag represents 0: unprocessed, 1: processed, -1: unnecessary print page table end, as described in the right margin. The unnecessary print page is a page that does not require printing.
Here, the first page, the second page, and the third page are set. And the processing flag of the first page is "1"
Indicates that the skip of reading the document data of the first page has been completed.

【0063】図7は、本発明の動作説明図(その2)を
示す。これは、 ・複写枚数(各頁について5枚印刷する) ・連続/不連続(連続) のときのものである。
FIG. 7 is a diagram (No. 2) for explaining the operation of the present invention. This is the number of copies (five sheets are printed for each page) and continuous / discontinuous (continuous).

【0064】(7.1):ホスト1が印刷制御データと
して、 ・正常印刷保証カウンタ3の0クリア指示 ・複写枚数(例えば5枚複写) ・連続/不連続ページ指示(例えば連続指示) を印刷装置2に通知する(例えばコマンドを発行して通
知する)。これを受信した印刷装置2は、 ・正常印刷保証カウンタ3を0クリア ・複写枚数5枚を記憶 ・連続印刷を記憶 を行う。
(7.1): The host 1 prints, as print control data, an instruction to clear the normal print guarantee counter 3 to 0, the number of copies (for example, 5 sheets), and a continuous / discontinuous page instruction (for example, continuous instruction). Notify the device 2 (for example, issue a command to notify). Upon receiving this, the printing device 2 clears the normal print guarantee counter 3 to 0, stores 5 copies, and stores continuous printing.

【0065】(7.2):ホスト1が文書1の1/5頁
の文書データを印刷装置2に出力する。これを受け取っ
た印刷装置2は、展開して印刷する毎に複写枚数カウン
タ4で計数し、記憶した5枚になるまで同一ページの印
刷を行う。この際、正常印刷保証カウンタ3で正常印刷
毎にインクリメントし、5枚となる。
(7.2): The host 1 outputs the document data of ⅕ page of the document 1 to the printer 2. The printing apparatus 2 which received this counts the number of copies counter 4 each time it develops and prints, and prints the same page until the number of stored sheets reaches 5. At this time, the normal print guarantee counter 3 increments each time normal printing is performed to obtain five sheets.

【0066】(7.3)、(7.4):(7.2)と同
様に、文書1の2/5頁、3/5頁の文書データについ
て5枚それぞれ印刷する。この際、正常印刷保証カウン
タ3で正常印刷枚にインクリメントし、15枚となる。
(7.3), (7.4): In the same manner as (7.2), 5 sheets of document data of page 2/5 and 3/5 of document 1 are printed. At this time, the normal printing guarantee counter 3 increments the number of normally printed sheets to 15 sheets.

【0067】(7.5):ホスト1が文書1の4/5頁
の文書データを印刷装置2に出力する。これを受け取っ
た印刷装置2は、展開して印刷する毎に複写枚数カウン
タ4で計数するが、1枚目、2枚目を正常に印刷し、3
枚目にJAM(用紙ジャム)となる。
(7.5): The host 1 outputs the document data of page 4/5 of the document 1 to the printer 2. The printing apparatus 2 receiving this counts the number of copies counter 4 each time it is developed and printed, but normally prints the first and second sheets,
It becomes JAM (paper jam) on the first sheet.

【0068】(7.6):(7.5)で用紙ジャムとな
り印刷不可となったので、正常印刷保証カウンタ3が計
数していた正常印刷枚数の17枚をホスト1に通知して
記憶させる。
(7.6): Since the paper jam occurs at (7.5) and printing cannot be performed, 17 of the normal number of prints counted by the normal print guarantee counter 3 are notified to the host 1 and stored. ..

【0069】(7.7):オペレータが用紙ジャムを取
り除いて回復したので、その旨をホスト1に通知する。 (7.8):ホスト1が印刷制御データとして、 ・1から17枚目まで印刷しない ・連続ページ指示 を印刷装置2に通知する。印刷装置2は、 17÷5枚=3余り2 から印刷しないページとして1、2、3頁を不要印刷ペ
ージテーブル5に設定および複写枚数カウンタ4に余り
の2を設定する。
(7.7): Since the operator removed the paper jam and recovered, the host 1 is notified of that fact. (7.8): As the print control data, the host 1 notifies the printer 2 not to print from the 1st to 17th sheets. The printing apparatus 2 sets pages 1, 2, and 3 as pages not to be printed from 17/5 sheets = 3 remainder 2 in the unnecessary print page table 5 and the remainder 2 in the copy number counter 4.

【0070】(7.9):ホスト1が文書1の1/5頁
の文書データを出力する。これを受け取った印刷装置2
は、不要印刷ページテーブル5に設定されているので読
み飛ばし、印刷しない。
(7.9): The host 1 outputs the document data of ⅕ page of the document 1. Printer 2 that received this
Is set in the unnecessary print page table 5, so it is skipped and not printed.

【0071】(7.10)、(7.11):ホスト1が
文書1の2/5頁、3/5頁の文書データを順次出力す
る。同様に、読み飛ばす。この際、正常印刷保証カウン
タ3は枚数をその都度インクリメントしてここでは15
枚となる。
(7.10), (7.11): The host 1 sequentially outputs the document data of page 2/5 and 3/5 of document 1. Similarly, skip. At this time, the normal print guarantee counter 3 increments the number of sheets each time, and here,
It becomes a sheet.

【0072】(7.12):ホスト1が文書1の4/5
頁の文書データを出力する。これを受け取った印刷装置
2は、複写枚数カウンタ4に設定されているここでは
“2”からはじめ5までの3枚、即ち3枚目、4枚目、
5枚目を印刷する。この際、正常印刷保証カウンタ3
は、枚数をその都度インクリメントし、ここでは20枚
となる。
(7.12): Host 1 is 4/5 of document 1
Output the document data of the page. The printing apparatus 2 which received this has set the number of copies counter 4 to "3" from "2" to the first 5, namely the third and fourth sheets,
Print the 5th sheet. At this time, the normal printing guarantee counter 3
Will increment the number of sheets each time, and will be 20 here.

【0073】(7.13):ホスト1が文書1の5/5
頁の文書データを出力する。これを受け取った印刷装置
2は、複写枚数カウンタ4を0クリアして印刷枚数を計
測し、5枚印刷する。この際、正常印刷保証カウンタ3
は、枚数をその都度インクリメントし、ここでは25枚
となる。
(7.13): Host 1 is 5/5 of document 1
Output the document data of the page. Upon receipt of this, the printing apparatus 2 clears the copy number counter 4 to 0, measures the number of printed sheets, and prints five sheets. At this time, the normal printing guarantee counter 3
, Increments the number of sheets each time, and becomes 25 here.

【0074】以上によって、ホスト1から(7.1)で
指示された印刷制御データに対応して、出力された文書
1の1/5頁、2/5頁、3/5頁、4/5頁、5/5
頁の印刷時に、4/5頁の2枚目まで正常印刷し、この
ときに正常印刷保証カウンタ3が計測した17枚をホス
トに通知し、印刷再開時にこの正常印刷枚数17の通知
を受けた印刷装置2がこれをもとに中断したページの残
余の枚数から印刷を自動的に再開することが可能とな
る。
As described above, 1/5 page, 2/5 page, 3/5 page, 4/5 page of the output document 1 corresponding to the print control data instructed by the host 1 in (7.1) Page, 5/5
When printing pages, normal printing was performed up to the second sheet of 4/5 pages, at which time 17 sheets measured by the normal printing guarantee counter 3 were notified to the host, and when printing was restarted, 17 sheets of this normal printing number were received. Based on this, the printing apparatus 2 can automatically restart printing from the remaining number of pages interrupted.

【0075】尚、ここでは、正常印刷保証カウンタ3を
用いて正常印刷した総枚数(例えば上記例では用紙ジャ
ムが発生するまでに正常印刷した枚数が17枚)を計測
したが、この他に、正常印刷ページカウンタを設けてペ
ージが正常に印刷終了したか計測し、この正常に印刷終
了したページ数と複写枚数カウンタ4によって計測した
枚数とから印刷を再開するようにしてもよい。
Here, the total number of normally printed sheets (for example, 17 sheets were normally printed before a paper jam occurs in the above example) was measured using the normal printing guarantee counter 3, but in addition to this, A normal print page counter may be provided to measure whether or not the page has been normally printed, and printing may be restarted from the number of normally printed pages and the number of pages measured by the copy number counter 4.

【0076】図8は、本発明の動作説明フローチャート
(その3)を示す。これは、印刷装置の処理(2)であ
って、図7で説明した処理をフローチャートにしたもの
である。
FIG. 8 is a flowchart (No. 3) for explaining the operation of the present invention. This is the process (2) of the printing apparatus and is a flowchart of the process described in FIG. 7.

【0077】図8において、S31は、印刷装置2が各
種初期設定して印刷可能な状態に設定する。S32は、
ホスト1からのデータを受信する。
In FIG. 8, in step S31, the printing apparatus 2 sets various initial settings to a printable state. S32 is
Receives data from host 1.

【0078】S33は、S32で受信したデータが印刷
制御データか判別する。YESの場合には、S34で正
常印刷保証カウンタ3を0クリアし、S35で複写枚数
を記憶し、S36で不要印刷ページテーブル5をクリア
し、S37に進む。一方、NOの場合には、文書データ
であると判明したので、S41以降に進む。
In step S33, it is determined whether the data received in step S32 is print control data. If YES, the normal print guarantee counter 3 is cleared to 0 in S34, the number of copies is stored in S35, the unnecessary print page table 5 is cleared in S36, and the process proceeds to S37. On the other hand, in the case of NO, since it has been found that the data is document data, the process proceeds to S41 and thereafter.

【0079】S37は、不要印刷ページ指示がホスト1
からあったか判別する。YESの場合には、S38で指
示のあったページを不要印刷ページテーブル5に設定
し、S39に進む。一方、NOの場合には、そのままS
39に進む。
In S37, the unnecessary print page instruction is issued by the host 1
Determine if it was from In the case of YES, the page instructed in S38 is set in the unnecessary print page table 5, and the process proceeds to S39. On the other hand, if NO, then S
Proceed to 39.

【0080】S39は、不連続ページ指示か判別する。
YESの場合には、ホスト1から不連続ページの印刷指
示があったと判明したので、S40で印刷しないページ
を不要印刷ページテーブル5に追加し、S32に戻る。
一方、NOの場合には、S32に戻る。
A step S39 decides whether or not the instruction is a discontinuous page instruction.
In the case of YES, since it is determined that the host 1 has instructed to print the discontinuous page, the page not to be printed is added to the unnecessary print page table 5 in S40, and the process returns to S32.
On the other hand, if NO, the process returns to S32.

【0081】以上によって、ホスト1から通知を受けた
印刷制御データをもとに、 ・正常印刷保証カウンタ3の0クリア ・複写枚数を記憶 ・不要印刷ページ指示があったときは不要印刷ページを
不要印刷ページテーブル5に設定 ・不連続印刷指示があったときは印刷しないページを不
要印刷ページテーブル5に追加 という処理を行い、文書データを印刷する準備ができた
こととなる。
Based on the above, based on the print control data notified from the host 1, the normal print guarantee counter 3 is cleared, the number of copies is stored, and the unnecessary print page is unnecessary when the unnecessary print page is instructed. Setting in print page table 5 ・ When discontinuous printing is instructed, the page that is not printed is added to unnecessary print page table 5, and the document data is ready to be printed.

【0082】次に、S33のNOでホスト1から受信し
たデータが文書データの場合について以下説明する。S
41は、ホスト1から受信した文書データを解析する。
Next, the case where the data received from the host 1 at S33 is document data will be described below. S
Reference numeral 41 analyzes the document data received from the host 1.

【0083】S42は、現処理ページ数=正常印刷保証
カウンタの値/複写枚数を求める。S43は、不要印刷
ページテーブル5より、現処理ページ数が印刷しないペ
ージか判定する。印刷ページの場合(現在印刷しようと
するページが不要印刷ページテーブル5に設定されてい
ない場合)には、S44に進む。一方、不要印刷ページ
の場合には、S50で正常印刷保証カウンタ3に複写枚
数を加算し、S51のYESで受信データが残っていた
ときはS41に戻り、S51のNOで受信データが残っ
ていないときはS32に戻る。
In step S42, the number of currently processed pages = the value of the normal print guarantee counter / the number of copies is calculated. In step S43, it is determined from the unnecessary print page table 5 whether the currently processed page number is a non-printable page. If it is a print page (if the page to be printed now is not set in the unnecessary print page table 5), the process proceeds to S44. On the other hand, in the case of the unnecessary print page, the number of copies is added to the normal print guarantee counter 3 in S50, and if the received data remains in YES in S51, the process returns to S41, and the received data does not remain in NO in S51. Then, the process returns to S32.

【0084】S44は、S43 の印刷ページと判定さ
れたので、文書データを展開し、S45で正常印刷保証
カウンタ3を複写枚数で割った余りを現複写枚数カウン
タに設定する。
In S44, since it is determined that the print page is in S43, the document data is developed, and in S45, the remainder obtained by dividing the normal print guarantee counter 3 by the number of copies is set in the current copy number counter.

【0085】S46は、印刷が正常終了か判別する。印
刷が正常終了の場合には、S47で現複写枚数カウンタ
4と正常印刷保証カウンタ3をインクリメントし、S4
8に進む。一方、印刷が異常終了の場合には、S49で
正常印刷保証カウンタ3が保持する総枚数をホスト1に
返し、記憶させ、S32に戻る。
A step S46 decides whether or not the printing is normally completed. When the printing is normally completed, the current copy number counter 4 and the normal print guarantee counter 3 are incremented in S47, and S4 is executed.
Go to 8. On the other hand, if the printing ends abnormally, the total number of sheets held by the normal print guarantee counter 3 is returned to the host 1 in S49, stored therein, and the process returns to S32.

【0086】S48は、複写枚数終了か判別する。YE
Sの場合(記憶した複写枚数だけ同一ページの印刷を終
了した場合)には、S51のYESで受信データが残っ
ていたときはS41に戻り、S51のNOで受信データ
が残っていないときはS32に戻る。
In step S48, it is determined whether the number of copies has been completed. YE
In the case of S (when the printing of the same page is completed for the stored number of copies), the process returns to S41 if the received data remains in YES in S51, and returns to S32 in the case where there is no received data in NO in S51. Return to.

【0087】[0087]

【発明の効果】以上説明したように、本発明によれば、
ページ単位に印刷装置2に出力して当該印刷装置2側で
何らかの障害発生時に正常印刷枚数をホスト1に通知
し、回復後にホスト1が不要印刷枚数を通知して文書デ
ータを出力する構成を採用しているため、印刷装置2が
不要印刷ページまで読み飛ばして印刷し、回復時に簡単
な構成のもとで不要印刷ページ(枚数)の次のページ
(次の枚数)から自動的に印刷させることができる。こ
れにより、 (1) 印刷装置2の異常回復後、オペレータの介在な
しに続きの印刷を自動的に行うことができる。
As described above, according to the present invention,
A configuration is adopted in which each page is output to the printing apparatus 2, the normal printing number is notified to the host 1 when some trouble occurs on the printing apparatus 2 side, and after recovery, the host 1 notifies the unnecessary printing number and outputs the document data. Therefore, the printing apparatus 2 skips the unnecessary print page and prints it, and at the time of recovery, automatically prints from the next page (next page) of the unnecessary print page (sheets) under a simple configuration. You can Thereby, (1) after the abnormal recovery of the printing device 2, the subsequent printing can be automatically performed without the intervention of the operator.

【0088】(2) 印刷装置2の異常回復後、自動回
復できるため、印刷指示を出したオペレータ以外のオペ
レータが印刷装置2の用紙ジャムなどの異常の回復処理
を行い、続きから自動的に印刷させることができる。
(2) Since the printer 2 can be automatically recovered after the printer 2 recovers abnormally, an operator other than the operator who has issued the printing instruction recovers from the printer 2 such as a paper jam, and automatically prints from the continuation. Can be made

【0089】(3) ホスト側の特にスプール処理など
に文書データのいずれのページから印刷を開始するかを
解析する文書解析処理を設ける必要がなく、印刷装置2
側のみに設ければよく、構成が簡単となる。
(3) It is not necessary to provide a document analysis process for analyzing from which page of the document data the printing is started, particularly in the spool process on the host side, and the printer 2
The structure can be simple because it may be provided only on the side.

【0090】(4) ホスト側に文書解析処理が無くて
も、中断した必要なページのみを続いて自動的に印刷装
置2に印刷させることができる。
(4) Even if there is no document analysis processing on the host side, it is possible to automatically cause the printer 2 to print only the interrupted necessary pages.

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

【図1】本発明のシステム構成図である。FIG. 1 is a system configuration diagram of the present invention.

【図2】本発明の動作説明図(その1)である。FIG. 2 is an operation explanatory diagram (1) of the present invention.

【図3】本発明の具体例説明図である。FIG. 3 is a diagram illustrating a specific example of the present invention.

【図4】本発明の動作説明フローチャート(その1)で
ある。
FIG. 4 is a flowchart (No. 1) for explaining the operation of the present invention.

【図5】本発明の動作説明フローチャート(その2)で
ある。
FIG. 5 is a flowchart (No. 2) for explaining the operation of the present invention.

【図6】本発明の不要印刷ページテーブル例である。FIG. 6 is an example of an unnecessary print page table of the present invention.

【図7】本発明の動作説明図(その2)である。FIG. 7 is an operation explanatory diagram (2) of the present invention.

【図8】本発明の動作説明フローチャート(その3)で
ある。
FIG. 8 is a flowchart (No. 3) for explaining the operation of the present invention.

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

1:ホスト 11:アプリ 12:OS 13:スプーラ 14:ドライバ 15:ROM 16:通信回路 17:制御メモリ 2:印刷装置 21:通信制御部 22:管理部 23:印刷制御部 24:データ解析部 25:データ展開部 26:OS 27:ROM 28:通信回路 29:制御メモリ 30:展開回路 31:BMM 32:印刷メカ 3:正常印刷保証カウンタ 4:複写枚数カウンタ 5:不要印刷ページテーブル 1: Host 11: Application 12: OS 13: Spooler 14: Driver 15: ROM 16: Communication circuit 17: Control memory 2: Printing device 21: Communication control unit 22: Management unit 23: Print control unit 24: Data analysis unit 25 : Data expansion unit 26: OS 27: ROM 28: Communication circuit 29: Control memory 30: Expansion circuit 31: BMM 32: Printing mechanism 3: Normal print guarantee counter 4: Copy number counter 5: Unnecessary print page table

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】ホストから依頼を受けた文書データの印刷
時に発生した障害を回復する印刷異常回復処理方式にお
いて、 文書データの印刷枚数をカウントする正常印刷保証カウ
ンタ(3)を印刷装置に備え、 ホストからの印刷指示および順次ページ単位に送られて
くる文書データをもとに上記印刷装置がこれを展開して
印刷すると共に上記正常印刷保証カウンタ(3)をイン
クリメントすることを繰り返し、この印刷中の異常発生
時に当該正常印刷保証カウンタ(3)で計数した正常印
刷枚数をホストに返答し、障害回復時にホストが正常印
刷枚数および先頭から文書データを送り、印刷装置が印
刷開始ページまで読み飛ばし、展開して印刷を再開する
ように構成したことを特徴とする印刷異常回復処理方
式。
1. A normal printing guarantee counter (3) for counting the number of printed document data in a printing abnormality recovery processing method for recovering a fault occurring at the time of printing document data requested by a host, Based on the print instruction from the host and the document data sequentially sent in page units, the printing device expands and prints the data and increments the normal print guarantee counter (3) repeatedly. When the error occurs, the normal print number counted by the normal print guarantee counter (3) is returned to the host, and when the failure is recovered, the host sends the normal print number and the document data from the beginning, and the printing device skips to the print start page, A print error recovery processing method characterized by being configured to expand and restart printing.
【請求項2】ホストから依頼を受けた文書データの印刷
時に発生した障害を回復する印刷異常回復処理方式にお
いて、 文書データの印刷枚数をカウントする正常印刷保証カウ
ンタ(3)と、 印刷不要ページを設定する不要印刷ページテーブル
(5)とを印刷装置に備え、 ホストからの印刷指示および順次ページ単位に送られて
くる文書データをもとに上記印刷装置がこれを展開して
印刷すると共に上記正常印刷保証カウンタ(3)をイン
クリメントすることを繰り返し、この印刷中の異常発生
時に当該正常印刷保証カウンタ(3)で計数した正常印
刷枚数をホストに返答し、障害回復時にホストから通知
された正常印刷枚数をもとに不要印刷ページを不要印刷
ページテーブル(5)に設定および先頭から文書データ
が送られてきたことに対応して、印刷装置が文書データ
のうちの当該不要印刷ページテーブル(5)に設定され
ているページを読み飛ばして障害発生時のページから順
次展開して印刷を再開するように構成したことを特徴と
する印刷異常回復処理方式。
2. A normal printing guarantee counter (3) for counting the number of printed document data and a page not required for printing in a print abnormality recovery processing method for recovering a fault occurring at the time of printing document data requested by a host. The unnecessary printing page table (5) to be set is provided in the printing apparatus, and the printing apparatus expands and prints this based on the print instruction from the host and the document data sequentially sent in page units, and the normal operation is performed. The print guarantee counter (3) is repeatedly incremented, and when an abnormality occurs during printing, the normal print count counted by the normal print guarantee counter (3) is returned to the host, and the normal print notified from the host at the time of failure recovery. Set the unnecessary print pages in the unnecessary print page table (5) based on the number of sheets and send the document data from the beginning. The printing device skips the pages set in the unnecessary print page table (5) of the document data, sequentially expands from the page at the time of the failure, and restarts printing. Print abnormality recovery processing method.
【請求項3】ホストから依頼を受けた文書データの印刷
時に発生した障害を回復する印刷異常回復処理方式にお
いて、 文書データの印刷枚数をカウントする正常印刷保証カウ
ンタ(3)と、 印刷不要ページを設定する不要印刷ページテーブル
(5)と、 同一ページの複写枚数をカウントする複写枚数カウンタ
(4)とを印刷装置に備え、 ホストからの印刷指示および順次ページ単位に送られて
くる文書データをもとに、上記印刷装置がこれを展開し
て印刷する毎に上記複写枚数カウンタ(4)および正常
印刷保証カウンタ(5)をイクリメントし、複写枚数カ
ウンタ(4)の値が指示された複写枚数になったとき
に、複写枚数カウンタ(4)をクリアすると共に次のペ
ージの文書データを展開して印刷することを繰り返し、
この印刷中の異常発生時に当該正常印刷保証カウンタ
(3)で計数した正常印刷枚数をホストに返答し、障害
回復時にホストから正常印刷枚数および先頭から文書デ
ータが送られてきたことに対応して、不要印刷ページを
上記不要印刷ページテーブル(5)に設定および不要複
写枚数を上記複写枚数カウンタ(4)に設定し、既に印
刷したページを読み飛ばして印刷を再開するように構成
したことを特徴とする印刷異常回復処理方式。
3. A normal printing guarantee counter (3) for counting the number of printed document data and a non-printable page in a print error recovery processing method for recovering a fault occurring at the time of printing document data requested by a host. The printing apparatus is provided with an unnecessary print page table (5) to be set and a copy number counter (4) for counting the number of copies of the same page, and print instructions from the host and document data sequentially sent in page units are also stored. In addition, the copy number counter (4) and the normal print guarantee counter (5) are incremented each time the printing device expands and prints the value, and the value of the copy number counter (4) becomes the designated copy number. When it becomes, the counter for the number of copies (4) is cleared and the document data of the next page is expanded and printed repeatedly.
When an error occurs during printing, the normal print count counted by the normal print guarantee counter (3) is returned to the host, and when the failure is recovered, the normal print count and the document data from the beginning are sent. The unnecessary print page is set in the unnecessary print page table (5), the unnecessary copy number is set in the copy number counter (4), and the pages already printed are skipped and the printing is restarted. Print abnormality recovery processing method.
JP4036303A 1992-02-24 1992-02-24 Printing error recovery processing method Expired - Lifetime JP3027468B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4036303A JP3027468B2 (en) 1992-02-24 1992-02-24 Printing error recovery processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4036303A JP3027468B2 (en) 1992-02-24 1992-02-24 Printing error recovery processing method

Publications (2)

Publication Number Publication Date
JPH05233177A true JPH05233177A (en) 1993-09-10
JP3027468B2 JP3027468B2 (en) 2000-04-04

Family

ID=12466061

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4036303A Expired - Lifetime JP3027468B2 (en) 1992-02-24 1992-02-24 Printing error recovery processing method

Country Status (1)

Country Link
JP (1) JP3027468B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0619562A1 (en) * 1993-03-08 1994-10-12 Canon Kabushiki Kaisha Printing apparatus and printing processing method
JPH08244291A (en) * 1995-03-15 1996-09-24 Nec Corp Printer
JPH11216844A (en) * 1998-02-04 1999-08-10 Komori Corp Method for resuming printing work and ink feeder
JP2008129885A (en) * 2006-11-22 2008-06-05 Nec Computertechno Ltd Disk device, data transfer system and data transfer method used for therefor
US7937002B2 (en) * 2004-07-15 2011-05-03 Oki Data Corporation Original document reading apparatus
JP2013049203A (en) * 2011-08-31 2013-03-14 Seiko Epson Corp Printing apparatus and printing method
JP2013049204A (en) * 2011-08-31 2013-03-14 Seiko Epson Corp Printing apparatus, printing method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0619562A1 (en) * 1993-03-08 1994-10-12 Canon Kabushiki Kaisha Printing apparatus and printing processing method
US6048115A (en) * 1993-03-08 2000-04-11 Canon Kabushiki Kaisha Printing apparatus and printing processing method
JPH08244291A (en) * 1995-03-15 1996-09-24 Nec Corp Printer
JPH11216844A (en) * 1998-02-04 1999-08-10 Komori Corp Method for resuming printing work and ink feeder
US7937002B2 (en) * 2004-07-15 2011-05-03 Oki Data Corporation Original document reading apparatus
JP2008129885A (en) * 2006-11-22 2008-06-05 Nec Computertechno Ltd Disk device, data transfer system and data transfer method used for therefor
JP4652315B2 (en) * 2006-11-22 2011-03-16 エヌイーシーコンピュータテクノ株式会社 Disk device, data transfer system, and data transfer method used therefor
JP2013049203A (en) * 2011-08-31 2013-03-14 Seiko Epson Corp Printing apparatus and printing method
JP2013049204A (en) * 2011-08-31 2013-03-14 Seiko Epson Corp Printing apparatus, printing method

Also Published As

Publication number Publication date
JP3027468B2 (en) 2000-04-04

Similar Documents

Publication Publication Date Title
JP3127716B2 (en) Printer
JP3271862B2 (en) Page printer
JPH05289456A (en) Image processor
JP2006031677A (en) Print control device, printer, print network system, print control method, print control program and recording medium which records print control program
JP3340450B2 (en) Printing system failure processing method and apparatus
JP3344268B2 (en) Printing control device
JP3027468B2 (en) Printing error recovery processing method
JP2004243746A (en) Printing system and printing method
JPS59129182A (en) Printing apparatus
JP3134539B2 (en) Printer control device
JP4558239B2 (en) Printing device
JPH05162409A (en) Printing apparatus equipped with recovery function
JP3777698B2 (en) Printing device
JP2006264150A (en) Image forming apparatus and method therefor
JP3313904B2 (en) Print server system
JP4274512B2 (en) Printer
JP7351238B2 (en) Information processing device and information processing method
JP3311969B2 (en) Discharge position control method and apparatus in printing apparatus
JP3993284B2 (en) Printing device
JPH05138998A (en) Image processing device
JPH08118752A (en) Imaging processing method
JP2869382B2 (en) Printer control system
JP2001188667A (en) Digital copying printer
JP2001075770A (en) Control method of printer controller
JPH08156372A (en) Printer having automatic restarting function

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000104