JP2005212337A - Printer error page processing method - Google Patents

Printer error page processing method Download PDF

Info

Publication number
JP2005212337A
JP2005212337A JP2004023208A JP2004023208A JP2005212337A JP 2005212337 A JP2005212337 A JP 2005212337A JP 2004023208 A JP2004023208 A JP 2004023208A JP 2004023208 A JP2004023208 A JP 2004023208A JP 2005212337 A JP2005212337 A JP 2005212337A
Authority
JP
Japan
Prior art keywords
data
error
printer
communication mode
error page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004023208A
Other languages
Japanese (ja)
Inventor
Masatsugu Hosomi
正嗣 細見
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Printing Systems Ltd
Original Assignee
Ricoh Printing Systems Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Printing Systems Ltd filed Critical Ricoh Printing Systems Ltd
Priority to JP2004023208A priority Critical patent/JP2005212337A/en
Publication of JP2005212337A publication Critical patent/JP2005212337A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To suppress the printing of an unnecessary error page resulting from the disagreement of a communication mode in a printer which receives and prints data constituted of a page description language. <P>SOLUTION: A means which judges the content of an error is provided in an error page processing section to discard data on and after the occurrence of an error resulting from the disagreement of the communication mode. At the same time, a means which performs reprinting when the reprinting of the data is possible by switching the communication mode to a suitable one is provided to perform reprinting when required, so that a normal printing result is yielded. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、ページ記述言語により構成されたデータを印刷するプリンタのエラーページ処理方法に関するものである。   The present invention relates to an error page processing method for a printer that prints data composed of a page description language.

ページ記述言語により構成されたデータを印刷できるプリンタにおいては、プリンタが処理できないデータを受信したときにエラーページを印刷する機能を有するものがある。エラーを発生する条件は様々であるが、その中で、使用者が意図しない通信モードでデータが送信されたことにより、それがプリンタにとっては無意味なデータとなり、結果としてエラーになることがある。   Some printers that can print data configured in a page description language have a function of printing an error page when data that the printer cannot process is received. There are various conditions for generating an error. Among them, if data is transmitted in a communication mode that is not intended by the user, it may become meaningless data for the printer, resulting in an error. .

代表的な例としては、ページ記述言語としてポストスクリプトをサポートするプリンタにおいて、プリンタの通信モードがアドビ標準プロトコルに準じたモードである時に、アドビバイナリ通信プロトコルを想定したデータが送信された時が挙げられる。アドビ標準プロトコルでは通信データの一部は通信制御のために使われるが、アドビバイナリ通信プロトコルでは通信データは全て印刷データとして扱われる。   A typical example is a printer that supports PostScript as a page description language, when data assuming the Adobe binary communication protocol is sent when the printer communication mode conforms to the Adobe standard protocol. It is done. In the Adobe standard protocol, a part of communication data is used for communication control. In the Adobe binary communication protocol, all communication data is handled as print data.

プリンタの使用者が作成したデータがアドビバイナリ通信プロトコルを想定し、プリンタがアドビ標準プロトコルに準じる通信モードに設定されている場合、データの一部が通信制御文字として扱われるため使用者の意図しない形で処理が行われ、大量のエラーページが印刷されることがあった。また、本現象が発生すると、使用者による操作を介しない限りデータは正常に印刷されなかった。   If the data created by the printer user assumes the Adobe binary communication protocol and the printer is set to a communication mode that conforms to the Adobe standard protocol, some of the data is treated as a communication control character and is not intended by the user. In some cases, a large number of error pages were printed. In addition, when this phenomenon occurred, the data was not printed normally unless an operation by the user was performed.

特開2003−170643号公報JP 2003-170643 A

「Adobe Serial and Parallel Communications Protocols Specification」 Adobe Systems Incorporated 1992年"Adobe Serial and Parallel Communications Protocols Specification" Adobe Systems Incorporated 1992

上記したように、使用者が意図しない通信モードでデータを送信したことにより、データを正常に印刷できず、かつ不必要なエラーページが印刷される。   As described above, since data is transmitted in a communication mode not intended by the user, the data cannot be printed normally and an unnecessary error page is printed.

エラーページ処理部にエラーの内容を判断する手段を設けて通信モードの不一致によるエラーが発生した場合にそれ以降のデータを破棄するとともに、データの再印刷が可能な時は適切な通信モードに切換えて再印刷を行う手段を設けて必要なときに再印刷を行うことにより正常な印刷結果を得る。   The error page processing unit is provided with a means to determine the content of the error. When an error due to a mismatch in communication mode occurs, the subsequent data is discarded, and when the data can be reprinted, it is switched to the appropriate communication mode. A normal printing result is obtained by providing means for performing reprinting and performing reprinting when necessary.

本発明のエラーページ処理方法は、不必要なエラーページの印刷を抑制し、かつ条件によってはエラー状態を復帰し、正常に印刷ができると言う利点がある。   The error page processing method of the present invention has an advantage that printing of unnecessary error pages can be suppressed, and an error state can be restored depending on conditions, and printing can be performed normally.

以下、本発明による好適な実施形態を、添付図面を参照しながら説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments according to the invention will be described with reference to the accompanying drawings.

図2は、本発明の概念図を示している。プリンタBがホストAに接続されている。ホストAはプリンタBに対しデータの送信を行い、プリンタBでそのデータを印刷する。プリンタB内にはポストスクリプト処理部Cがあり、データがポストスクリプトで記述されている場合にはデータの処理を行う。データ内にエラーがある場合にはエラーページ処理部Dにてエラーページの作成を行う。本発明では、このエラーページ処理部Dの実装により達成される。   FIG. 2 shows a conceptual diagram of the present invention. Printer B is connected to Host A. Host A transmits data to printer B, and printer B prints the data. In the printer B, there is a postscript processing unit C. When data is described in postscript, the data is processed. If there is an error in the data, an error page is created by the error page processing unit D. In the present invention, the error page processing unit D is implemented.

図1は、本発明の処理内容を示している。   FIG. 1 shows the processing contents of the present invention.

処理1でポストスクリプトエラーを検出すると、処理2に進む。プリンタの通信モードがアドビ標準プロトコルに準じていない場合は、処理13でエラーページを印刷する。通信モードがアドビ標準プロトコルに準じている場合は、意図せずアドビバイナリ通信プロトコルに準じたデータを受診している可能性があるものと考え、次の処理に進む。   If a postscript error is detected in process 1, the process proceeds to process 2. If the communication mode of the printer does not conform to the Adobe standard protocol, an error page is printed in process 13. When the communication mode conforms to the Adobe standard protocol, it is considered that there is a possibility that data conforming to the Adobe binary communication protocol is not intended, and the process proceeds to the next process.

処理3では、同じデータファイル内で複数のポストスクリプトエラーが発生したかを判断している。通常、通信モードの不一致によりポストスクリプトエラーになる場合は、一つのデータファイル内で複数回のポストスクリプトエラーが発生する。そのため、同一ファイル内で2度目のポストスクリプトエラーが発生した時にこれを通信モードの不一致によるエラーであると判断する。同一ファイル内で初めてのエラーである場合には、処理13によりエラーページを印刷する。   In process 3, it is determined whether multiple postscript errors have occurred in the same data file. Normally, when a postscript error occurs due to a mismatch of communication modes, a plurality of postscript errors occur in one data file. Therefore, when a second PostScript error occurs in the same file, it is determined that this is an error due to a mismatch in communication mode. If this is the first error in the same file, an error page is printed in step 13.

処理4では、データの再印刷の可否を調査するために、該当データがプリンタB内に残存しているかを判断する。該当データがプリンタB内に残存している場合、再印刷が可能であるので、まず処理5にて印刷データの破棄を行う。1度目のポストスクリプトエラーによって作成されたエラーページがまだ印刷完了していない場合は、本処理によって不必要なエラーページ印刷を防ぐことが可能となる。   In process 4, it is determined whether or not the corresponding data remains in the printer B in order to investigate whether the data can be reprinted. If the corresponding data remains in the printer B, reprinting is possible, so in step 5, the print data is first discarded. If the error page created by the first postscript error has not been printed yet, this process can prevent unnecessary error page printing.

その後、処理6にてプリンタBの通信モードをアドビバイナリ通信プロトコルに準じるものに切換える。このことにより、該当データを再印刷する際に繰り返しポストスクリプトエラーが発生することを防止する。   Thereafter, in process 6, the communication mode of the printer B is switched to the one conforming to the Adobe binary communication protocol. This prevents postscript errors from occurring repeatedly when the relevant data is reprinted.

さらに、処理7にて該当データの印刷を行う。先に述べたように、本処理時には通信モードの不一致が解決されているために、このことによるポストスクリプトエラーは発生しない。   Further, in step 7, the corresponding data is printed. As described above, since the mismatch of the communication modes is resolved at the time of this processing, a postscript error due to this does not occur.

データの印刷を行った後は、処理8にて通信モードをアドビ標準プロトコルに準じるものに切換える。本処理は、先の処理6にて切換えた通信モードを元の状態に戻すという意味がある。   After printing the data, in step 8, the communication mode is switched to that conforming to the Adobe standard protocol. This process has the meaning of returning the communication mode switched in the previous process 6 to the original state.

以上のように、通信モードの不一致によるポストスクリプトエラーが発生し、かつ、プリンタB内にデータが残っている時には、適切な通信モードで正常に印刷を行うことが可能となる。   As described above, when a postscript error due to a mismatch in communication modes occurs and data remains in the printer B, it is possible to perform normal printing in an appropriate communication mode.

また、処理4においてプリンタB内にデータが残存していない場合は、処理9にてホストA側でデータの再送信が可能であるかを判断する。データの再送信が不可能である場合は、該当データの再印刷を断念し、処理14にて同一データファイル内にある残りのデータを全て破棄する。しかしこのことにより、不必要なエラーページを大量に印刷することを防ぐ。   If no data remains in the printer B in the process 4, it is determined in the process 9 whether the data can be retransmitted on the host A side. If the data cannot be retransmitted, the reprinting of the corresponding data is abandoned, and all remaining data in the same data file is discarded in processing 14. However, this prevents printing a lot of unnecessary error pages.

データの再送信が可能である時には、まず処理10で現在の受信データを破棄し、また印刷データも破棄する。そして、プリンタB内にデータが残存している時と同様、処理11にて通信モードをアドビバイナリ通信プロトコルに準じるものに変更する。   When the data can be retransmitted, the current received data is discarded at step 10 and the print data is also discarded. Then, in the same manner as when data remains in the printer B, the communication mode is changed to one that conforms to the Adobe binary communication protocol in processing 11.

その後、処理12にてホストAにデータの再送信を要求する。この時には通信モードは適切なものに設定されている。   Thereafter, in step 12, the host A is requested to retransmit data. At this time, the communication mode is set to an appropriate one.

あとはプリンタB内にデータが残存している時と同様に、処理7でデータの印刷を行い、処理8にて通信モードをアドビ標準プロトコルに準じるものに切換える。   After that, as in the case where data remains in the printer B, the data is printed in the process 7, and the communication mode is switched to the one conforming to the Adobe standard protocol in the process 8.

以上のように、通信モードの不一致によるポストスクリプトエラーが発生し、かつホストA側でデータの再送信が可能である時には、適切な通信モードで正常に印刷を行うことが可能となる。また、プリンタB内にデータが残っておらず、かつホストAからのデータ再送信が行えない時でも、通信モードの不一致によるポストスクリプトエラーであることを判断し、不必要に大量のエラーページが印刷される現象を防ぐことが可能となる。   As described above, when a postscript error due to a mismatch in communication modes occurs and data can be retransmitted on the host A side, it is possible to normally print in an appropriate communication mode. Even when data does not remain in the printer B and data cannot be retransmitted from the host A, it is determined that there is a postscript error due to a mismatch in the communication mode, and an unnecessarily large number of error pages are generated. It is possible to prevent the phenomenon of printing.

本発明のエラーページ処理方法の実施例を示したフローチャートである。5 is a flowchart illustrating an embodiment of an error page processing method according to the present invention. 本発明の実施例を示した概念図である。It is the conceptual diagram which showed the Example of this invention.

符号の説明Explanation of symbols

A ホスト
B プリンタ
C ポストスクリプト処理部
D エラーページ処理部
A host
B Printer
C Postscript processing section
D Error page processing section

Claims (2)

ページ記述言語により構成されたデータを受信し印刷するプリンタにおいて、エラーページ処理部にエラーの内容を判断する手段を設け、通信モードの不一致によるエラーが発生した場合にそれ以降のデータを破棄することを特徴とするプリンタエラーページ処理方法。   In a printer that receives and prints data written in the page description language, the error page processing unit is provided with a means to determine the content of the error, and if an error occurs due to a communication mode mismatch, the subsequent data is discarded. A printer error page processing method. データの再印刷が可能な時は適切な通信モードに切換えて再印刷を行う手段を設け、必要なときに再印刷を行うことにより、正常な印刷結果を得るようにしたことを特徴とする請求項1記載のプリンタエラーページ処理方法。
When data can be reprinted, a means for performing reprinting by switching to an appropriate communication mode is provided, and normal printing results are obtained by performing reprinting when necessary. Item 2. A printer error page processing method according to Item 1.
JP2004023208A 2004-01-30 2004-01-30 Printer error page processing method Pending JP2005212337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004023208A JP2005212337A (en) 2004-01-30 2004-01-30 Printer error page processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004023208A JP2005212337A (en) 2004-01-30 2004-01-30 Printer error page processing method

Publications (1)

Publication Number Publication Date
JP2005212337A true JP2005212337A (en) 2005-08-11

Family

ID=34906315

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004023208A Pending JP2005212337A (en) 2004-01-30 2004-01-30 Printer error page processing method

Country Status (1)

Country Link
JP (1) JP2005212337A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8213031B2 (en) 2006-11-07 2012-07-03 Samsung Electronics Co., Ltd. Image forming apparatus and method of preventing printing error from being generated
JP2014061612A (en) * 2012-09-20 2014-04-10 Brother Ind Ltd Image forming device, image forming system, and information processing device
JP2016068321A (en) * 2014-09-29 2016-05-09 ブラザー工業株式会社 Image recorder and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8213031B2 (en) 2006-11-07 2012-07-03 Samsung Electronics Co., Ltd. Image forming apparatus and method of preventing printing error from being generated
JP2014061612A (en) * 2012-09-20 2014-04-10 Brother Ind Ltd Image forming device, image forming system, and information processing device
JP2016068321A (en) * 2014-09-29 2016-05-09 ブラザー工業株式会社 Image recorder and program

Similar Documents

Publication Publication Date Title
JP2008040899A (en) Printing controller, program, and method
JP2007018306A (en) Printer, print system and printing method
JP2006031677A (en) Print control device, printer, print network system, print control method, print control program and recording medium which records print control program
JP5843477B2 (en) Printing system
JP2008201035A (en) Printer, printing method, and printing system
JP2009087166A (en) Print data creating device and computer program
JP2005212337A (en) Printer error page processing method
JP2004351863A (en) Image output apparatus, program and storage medium
JP2009140166A (en) Printing processing system
JP2008012832A (en) Printing control device
US20130083355A1 (en) Information processing system, data processing device, and information processing method
JP2010131949A (en) Printer and printing system
JP2004284259A (en) Image forming apparatus and its method
JP2004050701A (en) Printer system
JP4329203B2 (en) Printing apparatus and method
JP2009163634A (en) Printer, printing system, print management method, print management program, and recording medium
JP5868298B2 (en) Image forming system, image forming apparatus, and program
JP2018199277A (en) Information processing device and method, image formation system, and program
US20160266531A1 (en) Print control apparatus, print control method, image forming system, and non-transitory computer readable medium
JP2006021484A (en) Control system of printer
JP2007015281A (en) Printing paper feeding control method for continuous paper printer
JP2017054198A (en) Printing system, print data storage device, and program
JP2006227732A (en) Image forming program, image processor installed with the program, and image forming apparatus provided with the image processor
KR100460952B1 (en) Printer capable of transmitting data to be printed to substitute printer and printing method using the same
JP2015223835A (en) Printer