JP2008097284A - Printing system, host apparatus, printing apparatus, method for controlling printing system - Google Patents
Printing system, host apparatus, printing apparatus, method for controlling printing system Download PDFInfo
- Publication number
- JP2008097284A JP2008097284A JP2006277830A JP2006277830A JP2008097284A JP 2008097284 A JP2008097284 A JP 2008097284A JP 2006277830 A JP2006277830 A JP 2006277830A JP 2006277830 A JP2006277830 A JP 2006277830A JP 2008097284 A JP2008097284 A JP 2008097284A
- Authority
- JP
- Japan
- Prior art keywords
- print data
- page
- data
- inspection
- 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
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
本発明は、印刷システム、ホスト装置、印刷装置、印刷システムの制御方法に関し、特に、ホスト装置と印刷装置との間にて授受される印刷データに生したデータ異常(データの抜け、化け、増加)の有無を用紙への印刷を実施する前に検査して検知し、異常を検知した印刷データに対する復旧処理を実施する技術に関する。 The present invention relates to a printing system, a host device, a printing device, and a control method for the printing system, and in particular, a data abnormality (data missing, garbled, increased) generated in print data exchanged between the host device and the printing device. The present invention relates to a technique for inspecting and detecting the presence / absence of a print data before printing on a sheet and performing a recovery process on print data in which an abnormality is detected.
従来、ホスト装置にて作成した印刷データを、ネットワーク経由によるデータ通信、専用バスによるデータ転送、記録媒体を介したデータの搬入後における記録媒体からのデータ読見出しといった、ホスト装置と印刷装置との間におけるデータの授受において、データの抜け、増加によるデータエラーが生じた場合に、印刷結果を確認するまでその発生を検知することが困難であった。 Conventionally, print data created by a host device is connected between the host device and the printing device, such as data communication via a network, data transfer using a dedicated bus, and data reading from a recording medium after data is loaded via the recording medium. When a data error occurs due to missing or increased data in the exchange of data, it is difficult to detect the occurrence until the print result is confirmed.
印刷データの異常を検知する技術として、特許文献1に記載された「印字装置における異常印字検知方式」が開示されている。 As a technique for detecting an abnormality in print data, an “abnormal printing detection method in a printing apparatus” described in Patent Document 1 is disclosed.
この特許文献1に記載された発明は、印刷データ転送処理において発生するデータの抜け、増し、化けを自動的に判定し、エラーリカバリを行うことが出来るようにすること目的し、上位ホスト装置にて印刷データをブロック単位に細分化し、ブロックデータごとに番号を付ける。また、データ量の計数、積算を行い、印字装置の受信計数結果格納部及び受信積算結果格納部に格納する。印字装置は、受信した印刷データを解析して、異常検知部にてデータに異常がないか否かを判定処理を行う。 The invention described in Patent Document 1 aims to enable automatic recovery of data loss, increase, and garble that occurs in print data transfer processing, and to perform error recovery. The print data is subdivided into blocks, and numbers are assigned to each block data. The data amount is counted and integrated, and stored in the reception count result storage unit and the reception integration result storage unit of the printing apparatus. The printing apparatus analyzes the received print data and performs a determination process in the abnormality detection unit to determine whether the data is normal.
この判定処理は、カウンター及び演算器にて計数、積算を行い、先に格納してある受信計数結果及び受信積算結果と比較し、一致することを確認して印刷を行う。解析データが異常である場合または計数、積算結果が不一致である場合は、異常検知結果格納部の内容を変化させて、現在受信、解析を行っているブロックデータ番号および、エラーの種類を上位装置に送信し、エラーリカバリを行うことを特徴とする。
上記特許文献1の発明は、上位装置と印刷装置との間の授受にて生じたデータ異常を検知することができないといった問題がある。 The invention of the above-mentioned Patent Document 1 has a problem that it is impossible to detect a data abnormality that has occurred in exchange between the host device and the printing device.
また、データ異常を検査するために行う印刷データの計数処理、積算処理をそれぞれ実施するため、大量の文書を連続して高速印刷する印刷装置では、十分な生産性が得られないといった問題が生じた。 In addition, since the print data counting process and the integration process are performed to check for data abnormality, a problem arises in that sufficient productivity cannot be obtained in a printing apparatus that continuously prints a large amount of documents at high speed. It was.
これに対して、計数処理、積算処理による検査処理の処理速度を改善するための対策としてハードウェアにて処理する構成した場合、ハードウェア故障による検査処理の信頼性低下が懸念されるといった問題がある。 On the other hand, there is a problem that the reliability of the inspection processing due to hardware failure may be reduced when the processing is performed by hardware as a measure for improving the processing speed of the inspection processing by counting processing and integration processing. is there.
よって、本願発明は、ホスト装置と印刷装置との間にて授受される印刷データに生したデータ異常を用紙への印刷を実施する前に検知して、印刷結果誤りを防止することができる印刷システムおよび印刷システムにおける印刷データ異常検知方法を提供することを目的とする。 Therefore, the present invention detects a data abnormality occurring in print data exchanged between the host device and the printing device before printing on paper, and can prevent printing result errors. An object of the present invention is to provide a print data abnormality detection method in a system and a printing system.
上記問題点を解決するために、請求項1の発明は、印刷ページ毎のページ印刷データを生成するホスト装置と、ホスト装置で生成したページ印刷データに基づき印刷を行う印刷装置とを有する印刷システムにおいて、ホスト装置は、ページ印刷データを生成するページ印刷データ生成手段と、ページ印刷データ生成手段により生成されたページ印刷データのサイズが予め設定した所定の固定サイズに満たない場合は、該ページ印刷データに所定の情報を付加して所定の固定サイズに補完するパディング処理を行うパディング処理手段と、パディング処理手段によりパディング処理したページ印刷データに対してページ情報を付加して固定長のページ情報付印刷データを生成するページ情報付加手段と、ページ情報付加手段で生成された固定長のページ情報付印刷データに基づき検査用情報を算出して該ページ情報付印刷データに付加して検査用データ付印刷データを生成する検査用データ付加手段と、検査用データ付加手段によって生成した検査用データ付印刷データを出力する印刷データ出力手段とを具備することを特徴とする。 In order to solve the above problems, the invention of claim 1 is a printing system having a host device that generates page print data for each print page and a printing device that performs printing based on the page print data generated by the host device. When the size of the page print data generated by the page print data generation means and the page print data generation means is less than a predetermined fixed size, the host device prints the page print data. A padding processing unit for performing padding processing to add predetermined information to the data and complementing the data to a predetermined fixed size, and adding page information to the page print data padded by the padding processing unit to add fixed-length page information. Page information adding means for generating print data and fixed length generated by page information adding means Inspection data adding means for calculating inspection information based on print data with page information and adding it to the print data with page information to generate print data with inspection data, and inspection data generated by the inspection data adding means And print data output means for outputting print data with data.
また、請求項2の発明は、請求項1の発明において、印刷装置は、ホスト装置の印刷データ出力手段により出力された検査用データ付印刷データに付加された検査用データに基づきページ情報付印刷データのデータ異常の有無の検査を実施する検査手段と、検査手段によりページ情報付印刷データのデータ異常が検出されなかった場合は、ページ情報付印刷データからページ情報およびパディング処理で付加された所定の情報を分離して印刷処理を行う印刷制御手段と、検査手段によりページ情報付印刷データのデータ異常が検出された場合は、印刷制御手段による印刷処理を中止して該ページ情報付印刷データの再送要求をホスト装置に対して行う再送要求手段とを具備することを特徴とする。 According to a second aspect of the present invention, in the first aspect of the invention, the printing apparatus prints with page information based on the inspection data added to the print data with inspection data output by the print data output means of the host device. An inspection unit that performs an inspection for the presence or absence of data abnormality in the data, and if the data abnormality of the print data with page information is not detected by the inspection unit, the page information and the predetermined information added by padding processing from the print data with page information If a data abnormality in the print data with page information is detected by the inspection means and the print control means for separating the print information, the print processing by the print control means is stopped and the print information with the page information And a retransmission request means for making a retransmission request to the host device.
また、請求項3の発明は、請求項1の発明において、印刷ページ毎のページ印刷データを生成して出力するホスト装置において、ページ印刷データを生成するページ印刷データ生成手段と、ページ印刷データ生成手段により生成されたページ印刷データのサイズが予め設定した所定の固定サイズに満たない場合は、該ページ印刷データに所定の情報を付加して所定の固定サイズに補完するパディング処理を行うパディング処理手段と、パディング処理手段によりパディング処理したページ印刷データに対してページ情報を付加して固定長のページ情報付印刷データを生成するページ情報付加手段と、ページ情報付加手段で生成された固定長のページ情報付印刷データに基づき検査用情報を算出して該ページ情報付印刷データに付加して検査用データ付印刷データを生成する検査用データ付加手段と、検査用データ付加手段によって生成した検査用データ付印刷データを出力する印刷データ出力手段とを具備することを特徴とする。 According to a third aspect of the present invention, in the first aspect of the invention, in the host device that generates and outputs page print data for each print page, page print data generation means for generating page print data, and page print data generation When the size of the page print data generated by the means is less than a predetermined fixed size set in advance, padding processing means for performing padding processing to add predetermined information to the page print data and complement the predetermined fixed size Page information adding means for adding page information to the page print data padded by the padding processing means to generate print data with fixed length page information, and a fixed length page generated by the page information adding means. The inspection information is calculated based on the print data with information and added to the print data with page information for inspection. Characterized by comprising the test data adding unit that generates print data with over data, and a print data output means for outputting the print data with inspection data generated by the test data adding means.
また、請求項4の発明は、ページ印刷データのサイズが予め設定した所定の固定サイズに満たない場合は、該ページ印刷データに所定の情報を付加して所定の固定サイズに補完するパディング処理が行われ、該パディング処理が行われたページ印刷データに対してページ情報が付加された固定長のページ情報付印刷データに対して検査用情報が付加された検査用データ付印刷データをホスト装置から取得して印刷を行う印刷装置において、検査用データ付印刷データに付加された検査用データに基づきページ情報付印刷データにおけるデータ異常の有無の検査を実施する検査手段と、検査手段によりページ情報付印刷データのデータ異常が検出されなかった場合は、ページ情報付印刷データからページ情報およびパディング処理で付加された所定の情報を分離して印刷処理を行う印刷制御手段と、検査手段によりページ情報付印刷データのデータ異常が検出された場合は、印刷制御手段による印刷処理を中止して該ページ情報付印刷データの再送要求をホスト装置に対して行う再送要求手段とを具備する。 According to a fourth aspect of the present invention, when the size of the page print data is less than a predetermined fixed size set in advance, padding processing for adding predetermined information to the page print data and complementing the page print data to the predetermined fixed size is performed. Print data with inspection data with inspection information added to print data with fixed-length page information with page information added to the page print data that has been subjected to the padding process from the host device In a printing apparatus that acquires and prints, an inspection unit that inspects whether there is data abnormality in the print data with page information based on the inspection data added to the print data with inspection data, and the page information is attached by the inspection unit If no data abnormality is detected in the print data, it is added from the print data with page information by the page information and padding process. When a data abnormality of the print data with page information is detected by the inspection means and the print control means for separating the predetermined information and performing the print processing, the print processing by the print control means is stopped and the print data with the page information Retransmission request means for making a retransmission request to the host device.
また、請求項5の発明は、印刷ページ毎のページ印刷データを生成するホスト装置と、ホスト装置で生成したページ印刷データに基づき印刷を行う印刷装置とを有する印刷システムの制御方法において、ホスト装置は、ページ印刷データをページ印刷データ生成手段により生成し、ページ印刷データ生成手段により生成されたページ印刷データのサイズが予め設定した所定の固定サイズに満たない場合は、パディング処理手段により該ページ印刷データに所定の情報を付加して所定の固定サイズに補完するパディング処理を行い、パディング処理手段によりパディング処理したページ印刷データに対してページ情報をページ情報付加手段により付加して固定長のページ情報付印刷データを生成し、ページ情報付加手段で生成された固定長のページ情報付印刷データに基づき検査用情報を検査用データ付加手段により算出して該ページ情報付印刷データに付加して検査用データ付印刷データを生成し、検査用データ付加手段によって生成した検査用データ付印刷データを印刷データ出力手段により出力し、印刷装置は、ホスト装置の印刷データ出力手段により出力された検査用データ付印刷データに付加された検査用データに基づきページ情報付印刷データのデータ異常の有無の検査を検査手段により実施し、検査手段によりページ情報付印刷データのデータ異常が検出されなかった場合は、印刷制御手段によりページ情報付印刷データからページ情報およびパディング処理で付加された所定の情報を分離して印刷処理を行い、検査手段によりページ情報付印刷データのデータ異常が検出された場合は、再送要求手段により印刷制御手段による印刷処理を中止して該ページ情報付印刷データの再送要求をホスト装置に対して行うことを特徴とする。 According to a fifth aspect of the present invention, there is provided a control method for a printing system comprising: a host device that generates page print data for each print page; and a printing device that performs printing based on the page print data generated by the host device. The page print data is generated by the page print data generation means, and if the size of the page print data generated by the page print data generation means is less than a predetermined fixed size set in advance, the page print data is generated by the padding processing means. Performs a padding process to add predetermined information to the data and complement it to a predetermined fixed size, and adds page information to the page print data padded by the padding processing means by the page information adding means to fix the fixed length page information. Attached print data is generated, and the fixed-length page generated by the page information adding means The inspection information is calculated by the inspection data adding means based on the print data with page information and added to the print data with page information to generate print data with inspection data, and the inspection data generated by the inspection data adding means The print data with data is output by the print data output means, and the printing apparatus outputs the print data with page information based on the inspection data added to the print data with inspection data output by the print data output means of the host device. When the inspection means checks whether there is an abnormality and no data abnormality of the print data with page information is detected by the inspection means, the print control means adds the page information and the padding process from the print data with page information. Print processing is performed by separating predetermined information, and the data error of the print data with page information is detected by the inspection means. If issued, characterized in that to cancel the print process by the print control means by the retransmission request unit requests retransmission of the print data with the page information to the host device.
本願発明の印刷システム、ホスト装置、印刷装置、印刷システムの制御方法によれば、印刷処理におけるホスト装置と、印刷装置の間における印刷データの授受にて生じたデータ異常を、該当ページの印刷前に検知し、異常を検知した場合、該検知したページ印刷データを再取得する構成にしたので、データ異常によって生じる印刷出力結果の誤り、印刷ページの抜けを無くして、印刷業務における生産性の低下、印刷用紙の無駄を防止することができる。 According to the printing system, the host device, the printing device, and the control method of the printing system of the present invention, the data abnormality caused by the exchange of the print data between the host device and the printing device in the printing process is detected before the corresponding page is printed. If an error is detected and the detected page print data is re-acquired, the print output result error and print page omission caused by the data error are eliminated, resulting in a decrease in productivity in printing operations. It is possible to prevent waste of printing paper.
本発明の印刷システム、ホスト装置、印刷装置、印刷システムの制御方法の実施例について添付図面を参照しながら説明する。 Embodiments of a printing system, a host device, a printing device, and a printing system control method according to the present invention will be described with reference to the accompanying drawings.
図1は、、巡回冗長検査(以後、CRC検査と称す)を使用してホスト装置とプリンタとの間にて授受する印刷データのデータ異常を検査する印刷システムの概略構成を示すブロック図である。 FIG. 1 is a block diagram showing a schematic configuration of a printing system that uses a cyclic redundancy check (hereinafter referred to as CRC check) to check for abnormal data in print data exchanged between a host device and a printer. .
ホスト装置100は、作成した印刷データ115に含まれる印刷ページ毎のページ印刷データ116が、ホスト装置100とプリンタ200との間におけるデータ通信、あるいは、印刷データ記録用磁気テープ40を使用して、印刷データの授受を行う。
The
また、印刷システムは、 ホスト装置100とプリンタ200との間にて生じたデータ異常をCRC検査にて検査する。
In addition, the printing system inspects data abnormality occurring between the
ホスト装置100は、印刷データに生じるデータ異常の有無をプリンタ200にて検査するために、所定サイズ毎に分割したブロックデータ単位にCRC検査用データを付加したCRC検査対応印刷データ116を作成してプリンタ200にデータ送信し、プリンタ200は、CRC検査対応印刷データ116に付加されたCRC検査用データと、に基づいて受信した印刷データにおけるデータ異常の発生の有無を検査する。
The
ホスト装置100全体を制御するホスト装置制御部101は、印刷データ作成部102、ページ印刷データサイズ補完部107、ページ情報付加部108、CRC検査用データ作成付加部109、通信制御部110、テープ書込み制御部111の機能ブロックを有する。
The host device control unit 101 that controls the
印刷データ作成部102は、印刷データ115およびCRC検査対応印刷データ116のもとになるページ印刷データの作成を行う。
The print
ここで、ページ印刷データは、制御コード部、実データコード部、フォームデータ指定部、ビットマップイメージ指定部を有し、さらに、CRC検査対応印刷データ116におけるページ印刷データには、パディングデータ部をさらに有して構成される。
Here, the page print data has a control code part, an actual data code part, a form data designation part, and a bitmap image designation part. Further, the page print data in the CRC inspection
以後、CRC検査対応印刷データ116におけるページ印刷データのうち、パディングデータ部を取り除いた部分のデータ領域を実ページ印刷データと称す。
Hereinafter, the data area of the page print data in the CRC inspection
制御コード部は、ホスト装置とプリンタの間にて印刷制御を行うための制御コマンドが記述されたデータ領域である。 The control code portion is a data area in which a control command for performing print control between the host device and the printer is described.
実データコード部は、印刷されるテキストデータ、ビットマップデータ、が記述されるデータ領域である。 The actual data code portion is a data area in which text data to be printed and bitmap data are described.
フォームデータ指定部は、印刷データの出力先として指定されたプリンタ200が、フォーム印刷を行う場合に、プリンタ200が記憶して管理する印刷フォームを使用した印刷制御を行う場合に使用する印刷フォームの識別情報を設定するデータ領域である。
The form data designating unit specifies a print form to be used when the
ビットマップイメージ指定部は、プリンタ200にて記憶管理されるビットマップ画像を印刷ページに描画する場合に、ビットマップデータの識別情報を指定して記述するデータ領域である。
The bitmap image designating section is a data area that designates and describes bitmap data identification information when rendering a bitmap image stored and managed by the
パディングデータ部は、ページ印刷データが予め設定した所定の固定サイズに満たない場合に、所定のパディングデータを追加してページ印刷データのサイズを補完するためのデータ領域である。 The padding data portion is a data area for adding predetermined padding data and complementing the size of the page print data when the page print data is less than a predetermined fixed size set in advance.
ページ印刷データサイズ補完部107は、印刷データ作成部102にて作成されたページ印刷データが、印刷データフォーマット113にて設定された所定の固定サイズに補完するために、印刷データフォーマット113にて指定されたパディングデータにてパディング処理を行う。
The page print data
ページ情報付加部108は、ページ印刷データサイズ補完部107にて実ページ印刷データをサイズ補完したページ印刷データに関する、ページ番号、総ページ数を記録した情報である。
The page
CRC検査用データ作成付加部109は、実ページ印刷データを所定サイズに補完したページ印刷データにページ情報を付加したCRC検査対応刷データ116を、印刷データフォーマットにて定義した所定サイズのブロックデータに分割し、ブロックデータ毎に、予め設定したCRC検査用データ(所定長の検査符号)にて算出した検査結果をCRC検査用データとして各ブロックデータの直後に挿入したCRC検査対応印刷データ116を作成する。
The CRC inspection data creation /
通信制御部110は、CRC検査用データ作成付加部109にてCRC検査用データを付加した印刷データ115を、ネットワーク30を介してプリンタ200に出力するためのデータ通信制御を行う。
The
テープ書込み制御部111は、印刷データ115、CRC検査対応印刷データ116を、記録媒体を介してプリンタ200に提供する場合、印刷データ記憶用テープ40に対する印刷データ115の書込み制御を行う。
When the
ホスト装置記憶部112において、プリンタ管理情報114は、印刷データ115に対するCRC検査が可能なプリンタ200を登録して管理するための情報であり、印刷システムにて定義されたプリンタ識別情報、プリンタ種別(ページプリンタ、ラインプリンタ等の別)、ネットワーク30におけるアドレス情報、CRC検査機能を有したプリンタであるか否かの情報およびその機能が現在有効であるか否かを示すフラグ、プリンタ200にてフォーム印刷を行う場合に指定可能な登録された印刷フォームの識別情報の一覧、ビットマップイメージの識別情報の一覧を記録する。
In the host device storage unit 112, the
また、ホスト装置記憶部112において、印刷データフォーマット113は、印刷データ115、あるいは、CRC検査対応印刷データ116を生成するために必要な、データフォーマットを記録した情報であり、(ページ情報部のサイズ、実ページ印刷データのデータ領域を特定するための開始コード、終了コード、制御コード部のサイズ、フォームデータ指定部のサイズ、ビットマップイメージ指定部のサイズ、ページ印刷データをサイズ補完する場合の補完サイズ等)に関する情報を記録する。
In the host device storage unit 112, the
プリンタ200は、プリンタ制御部201、プリンタ記憶部212、印刷ページ毎に印刷画像を印刷用紙に形成する画像形成部219を有して構成される。
The
プリンタ制御部201は、テープ読取り部203、プリンタ通信制御部202、CRC検査部204、ページ情報・ページ印刷データ分離部205、パディングデータ分離部206、ページイメージ生成部207を有して構成される。
The
テープ読取り部203は、印刷データ記憶用磁気テープ40に記録された印刷データ115の読取り制御を行う。
The
CRC検査部204は、プリンタ通信制御部202あるいはテープ読取り部203にて取得したCRC検査対応印刷データ116に対して、予めホスト装置100との間にて取り決めを行ったCRCコード、CRC検査用データに基づいてCRC検査を行い、データ異常の有無をチェックする。
The
また、CRC検査部204は、CRC検査対応印刷データ116に対する検査の結果として、データ異常を検知した場合で、なおかつ、プリンタ通信制御部202を介したネットワーク30経由でのデータ受信によって取得した場合、ホスト装置100に対するデータ異常を検知したページ印刷データの再送制御を行う。
Further, when the
ページ情報、ページ印刷データ分離部205は、CRC検査部204による検査結果としてデータ異常が検知されなかった場合、CRC検査対応印刷データ116からCRC検査用データを取り除いて、ページ印刷データ、ページ情報を分離して抽出する。
When no data abnormality is detected as the inspection result by the
パディングデータ分離部206は、CRC検査対応印刷データ116から抽出されたページ印刷データがパディング処理によってサイズ補完されている場合、パディングデータを取り除く処理を行う。
The padding
ページイメージ生成部207は、ページ印刷データに記述された制御コード部、実データ部、フォーム指定部、ビットマップ指定部をそれぞれ解析してページイメージを生成してイメージバッファ218に出力する。
The page
プリンタ記憶部212において、CRC検査フラグ213は、受信した印刷データに対してCRC検査を実施する動作設定であるか否かを示す情報である。
In the
印刷データフォーマット214は、ホスト装置100から受信する、印刷データ115、あるいは、CRC検査対応印刷データ116をプリンタ200が解析してページイメージを作成するためのデータフォーマットであり、特に、CRC検査対応印刷データ116に基づいてCRC検査を行う場合に、CRC検査用データ、ページ情報、パディングデータを分離して実ページ印刷データを抽出するための情報であり、データブロックサイズ、CRC検査用データのサイズ等、ホスト装置記憶部112にて記憶管理される印刷データフォーマット113と同じ内容が記録される。
The
実ページ印刷データ抽出部206は、CRC検査対応印刷データ116からCRC検査用データ、ページ情報、パディングを取り除いた実ページ印刷データを抽出し、プリンタ記憶部の実データコード展開部217に抽出した実ページ印刷データを展開する。
The actual page print
次に、ホスト装置100における印刷データ作成の動作を、図2のフローチャートに示して説明する。
Next, the print data creation operation in the
ホスト装置100は、制御コード、実データコード、印刷フォーム識別情報の設定、ビットマップイメージの指定を行ったページ印刷データを印刷ページ毎に作成した印刷データ115を作成し(S101)、プリンタ管理情報114を参照して、印刷データ115の出力先として指定されたプリンタ200が、CRC検査機能を有効にして、CRC検査対応印刷データによるデータ送信が可能であるか否かを判別する(S102)。
The
出力先として指定されたプリンタ200がCRC検査機能を有効にしている場合(S102YES)、ホスト装置100は、印刷データ作成部102にて作成した印刷データ115の各ページ印刷データの実データサイズを算出し、算出したページ印刷データの実データサイズと印刷データフォーマット113にて定義したページ印刷データを補完するためのサイズに基づいてサイズ補完処理を行ったサイズ補完ページ印刷データを生成する(S103)。
When the
サイズ補完ページ印刷データにページ情報を付加して(S104)、所定サイズのブロックデータに分割し(S105)、各ブロックデータのCRC検査用データを算出して各ブロックデータの直後に算出したCRC検査用データを挿入したCRC検査対応印刷データ116を作成する(S106)。
Page information is added to the size-complemented page print data (S104), divided into block data of a predetermined size (S105), CRC check data for each block data is calculated, and CRC check calculated immediately after each block data The CRC inspection-
ステップS106の処理によるCRC検査用冗長データの付加処理が完了した場合、あるいは、ステップS102の判別処理において、出力プリンタがCRC検査モードでない場合(S102NO)、作成した印刷データ115、あるいは、CRC検査対応印刷データ116を、ネットワーク30経由でのデータ通信、あるいは、印刷データ記録用磁気テープ40へのデータ書込みのいずれにて実施するかを、ホスト装置100における動作設定、あるいは、ユーザ選択に基づいて判別する(S107)。
When the CRC inspection redundant data addition processing in step S106 is completed, or when the output printer is not in the CRC inspection mode (NO in step S102) in the determination processing in step S102, the created
印刷データ記録用磁気テープ40に印刷データを記録してプリンタ200に提供する場合(S107で「記憶媒体出力」)、作成した印刷データ115、あるいは、CRC検査対応印刷データ116をテープ書込み制御部111によって印刷データ記録用磁気テープ40に書込む(S109)。
When printing data is recorded on the printing data recording
一方、ネットワーク30を介したデータ通信によって印刷データ115、あるいは、CRC検査対応印刷データ116をプリンタ200に出力する場合(S107で「データ通信」)、ホスト装置100は、通信制御部110によるネットワーク30を介したデータ通信制御によって、印刷データ115、あるいは、CRC検査対応印刷データ116をプリンタ200にデータ送信する(S108)。
On the other hand, when the
次に、プリンタ200がホスト装置100から印刷データ115あるいはCRC検査対応印刷データ116を取得した時の動作を、図3のフローチャートに示して説明する。
Next, the operation when the
プリンタ200は、プリンタ通信制御部202(もしくは、テープ読取り部203によって)ホスト装置100からの印刷データを取得すると、CRC検査フラグ213をチェックして、CRC検査モードであるか否かを判別する(S201)。
When the
CRC検査モードでない場合(S201NO)、プリンタ200は、印刷データ115からページ印刷データ毎のページイメージを作成してイメージバッファ218に出力する(S206)。
When not in the CRC inspection mode (NO in S201), the
CRC検査モードの場合(S201YES)、プリンタ200は、受信したCRC検査対応印刷データ116に対してCRC検査を行い、ホスト装置100とプリンタ200との間における印刷データ115の異常の有無を検査する(S202)。
In the CRC inspection mode (YES in S201), the
CRC検査の結果、CRC検査対応印刷データ116におけるページ印刷データの異常を検知した場合(203YES)、CRC検査対応印刷データ116の取得方法が、通信制御部202によるネットワーク30経由でのデータ通信によるものであるのか、あるいは、テープ読取り部203による印刷データ記録用テープ40からのデータ読取り処理によるかを判別する(S207)。
As a result of the CRC check, when an abnormality of the page print data in the CRC check
CRC検査対応印刷データ116の取得方法が、テープ読取り部203によって記録媒体から読取ったテープジョブである場合(S207YES)、プリンタ200は、受信したCRC検査対応印刷データ116の異常の検知を、プリンタ200に設けた操作パネルにエラー表示する、あるいは、その旨を通知するステータス応答を、ネットワーク30を介してホスト装置100に対して送信して印刷処理を中止する(S208)。
When the acquisition method of the CRC inspection-
なお、テープジョブ(テープ読取り部203による印刷データ記録用磁気テープ40からの読取による印刷データの取得)の場合は、再度、CRC検査対応印刷データ116の読取り処理を所定回数リトライするようにしてもよい。
In the case of a tape job (acquisition of print data by reading from the print data recording
一方、ネットワーク30を介したデータ通信にてCRC検査対応印刷データ116を取得した印刷ジョブの場合(S207NO)、プリンタ200は、プリンタ記憶部212にて管理されるデータ異常検知時の動作モードに基づいて、印刷処理の中断、あるいは、データ異常を検知したページ印刷データの再送要求のいずれを実施するか判別する(S209)。
On the other hand, in the case of a print job in which CRC inspection-
印刷処理を中断して再印刷を行う動作モードの設定の場合(S209NO)、プリンタ200は、再印刷要求をホスト装置100に対して実施するためのステータス応答をホスト装置100に送信する(S212)。
When the operation mode is set to interrupt the printing process and perform reprinting (NO in S209), the
一方、CRC検査にて異常を検知したページ印刷データの再送をホスト装置100に要求してリカバリ印刷を行う動作設定の場合(S209YES)、プリンタ200は、リカバリ印刷を実施するための処理として、CRC検査によってデータ異常を検知した印刷ページのページ情報を通知するステータス応答をホスト装置100に通知し(S210)、プリンタ記憶部212に確保してページ印刷データの再送待ちに遷移する(S211)。
On the other hand, in the case of the operation setting for performing recovery printing by requesting the
なお、CRC検査によってデータ異常を検知した後の処理は、データ異常を検知したページ情報をホスト装置100に通知し、ホスト装置100は、オペレータに対して、「印刷処理の続行」、「異常を検知したページ印刷データの再送」、「印刷の中止」を選択させる選択処理を設けて、ユーザの選択結果に基づいて処理を実施するようにしてもよい。 再度、ステップS203の処理に戻り、CRC検査部204によって、データ異常が認められなかった場合(S203NO)、プリンタ200は、CRC検査対応印刷データ116からCRC検査用データを取り除いて、ページ情報、ページ印刷データの分離処理を行ってページ印刷データの抽出処理を行い(S204)、ページ印刷データがパディング処理によってサイズ補完されている場合、そのパディングデータの除去処理を行って、実ページ印刷データを抽出し(S205)、抽出した実ページ印刷データから印刷用のページイメージをページイメージ生成部207にて作成してイメージバッファ218に出力する(S206)。
The processing after the data abnormality is detected by the CRC inspection notifies the
本発明の印刷システム、ホスト装置、印刷装置、印刷システムの制御方法は、大量の文書を連続して高速印刷する印刷装置に利用可能であって、印刷データの異常によるページ抜けの防止、印刷結果誤りによる用紙の無駄の防止、印刷結果誤りにて生じた再印刷操作による作業効率の低下防止に有効である。 INDUSTRIAL APPLICABILITY The printing system, host device, printing device, and printing system control method of the present invention can be used in a printing device that continuously prints a large amount of documents at high speed, prevents page loss due to abnormal print data, and print results. This is effective for preventing waste of paper due to an error and preventing reduction in work efficiency due to a reprinting operation caused by an error in printing results.
100 ホスト装置
101 ホスト装置制御部
102 印刷データ作成部
107 ページ印刷データサイズ補完部
108 ページ情報付加部
109 CRC検査用データ作成付加部
110 通信制御部
111 テープ書込み制御部
112 ホスト装置記憶部
113 印刷データフォーマット
114 プリンタ管理情報
115 印刷データ
116 CRC検査対応印刷データ
200 プリンタ
201 プリンタ制御部
202 プリンタ通信制御部
203 テープ読取り部
204 CRC検査部
205 ページ情報・ページ印刷データ分離部
206 実ページ印刷データ抽出部
207 ページイメージ生成部
212 プリンタ記憶部
213 CRC検査フラグ
214 印刷データフォーマット
217 実ページ印刷データ展開部
218 イメージバッファ
219 画像形成部
30 ネットワーク
40 印刷データ記録用磁気テープ
100 Host Device 101 Host
Claims (5)
前記ホスト装置は、
前記ページ印刷データを生成するページ印刷データ生成手段と、
前記ページ印刷データ生成手段により生成されたページ印刷データのサイズが予め設定した所定の固定サイズに満たない場合は、該ページ印刷データに所定の情報を付加して所定の固定サイズに補完するパディング処理を行うパディング処理手段と、
前記パディング処理手段によりパディング処理したページ印刷データに対してページ情報を付加して固定長のページ情報付印刷データを生成するページ情報付加手段と、
前記ページ情報付加手段で生成された固定長のページ情報付印刷データに基づき検査用情報を算出して該ページ情報付印刷データに付加して検査用データ付印刷データを生成する検査用データ付加手段と、
前記検査用データ付加手段によって生成した前記検査用データ付印刷データを出力する印刷データ出力手段と
を具備することを特徴とする印刷システム。 In a printing system having a host device that generates page print data for each print page and a printing device that performs printing based on the page print data generated by the host device,
The host device is
Page print data generating means for generating the page print data;
When the size of the page print data generated by the page print data generation means is less than a predetermined fixed size set in advance, padding processing for adding predetermined information to the page print data and complementing the predetermined fixed size Padding processing means for performing
Page information adding means for generating page data with fixed-length page information by adding page information to the page print data padded by the padding processing means;
Inspection data adding means for calculating inspection information based on the fixed-length page information-added print data generated by the page information adding means and adding the page information-added print data to generate inspection data-added print data When,
And a print data output means for outputting the print data with inspection data generated by the inspection data adding means.
前記ホスト装置の印刷データ出力手段により出力された検査用データ付印刷データに付加された検査用データに基づき前記ページ情報付印刷データのデータ異常の有無の検査を実施する検査手段と、
前記検査手段により前記ページ情報付印刷データのデータ異常が検出されなかった場合は、前記ページ情報付印刷データから前記ページ情報および前記パディング処理で付加された所定の情報を分離して印刷処理を行う印刷制御手段と、
前記検査手段により前記ページ情報付印刷データのデータ異常が検出された場合は、前記印刷制御手段による印刷処理を中止して該ページ情報付印刷データの再送要求を前記ホスト装置に対して行う再送要求手段と
を具備することを特徴とする請求項1記載の印刷システム。 The printing apparatus includes:
Inspection means for inspecting the presence or absence of data abnormality of the print data with page information based on the inspection data added to the print data with inspection data output by the print data output means of the host device;
If no data abnormality is detected in the print data with page information by the inspection means, the page information and the predetermined information added by the padding process are separated from the print data with page information and the print process is performed. Printing control means;
When a data abnormality of the print data with page information is detected by the inspection unit, a retransmission request for stopping the print processing by the print control unit and requesting the host device to retransmit the print data with page information The printing system according to claim 1, further comprising: means.
前記ページ印刷データを生成するページ印刷データ生成手段と、
前記ページ印刷データ生成手段により生成されたページ印刷データのサイズが予め設定した所定の固定サイズに満たない場合は、該ページ印刷データに所定の情報を付加して所定の固定サイズに補完するパディング処理を行うパディング処理手段と、
前記パディング処理手段によりパディング処理したページ印刷データに対してページ情報を付加して固定長のページ情報付印刷データを生成するページ情報付加手段と、
前記ページ情報付加手段で生成された固定長のページ情報付印刷データに基づき検査用情報を算出して該ページ情報付印刷データに付加して検査用データ付印刷データを生成する検査用データ付加手段と、
前記検査用データ付加手段によって生成した前記検査用データ付印刷データを出力する印刷データ出力手段と
を具備することを特徴とするホスト装置。 In the host device that generates and outputs page print data for each print page,
Page print data generating means for generating the page print data;
When the size of the page print data generated by the page print data generation means is less than a predetermined fixed size set in advance, padding processing for adding predetermined information to the page print data and complementing the predetermined fixed size Padding processing means for performing
Page information adding means for generating page data with fixed-length page information by adding page information to the page print data padded by the padding processing means;
Inspection data adding means for calculating inspection information based on the fixed-length page information-added print data generated by the page information adding means and adding the page information-added print data to generate inspection data-added print data When,
And a print data output means for outputting the print data with inspection data generated by the inspection data adding means.
前記検査用データ付印刷データに付加された検査用データに基づき前記ページ情報付印刷データのデータ異常の有無の検査を実施する検査手段と、
前記検査手段により前記ページ情報付印刷データのデータ異常が検出されなかった場合は、前記ページ情報付印刷データから前記ページ情報および前記パディング処理で付加された所定の情報を分離して印刷処理を行う印刷制御手段と、
前記検査手段により前記ページ情報付印刷データのデータ異常が検出された場合は、前記印刷制御手段による印刷処理を中止して該ページ情報付印刷データの再送要求を前記ホスト装置に対して行う再送要求手段と
を具備することを特徴とする印刷装置。 When the size of the page print data is less than a predetermined fixed size set in advance, padding processing is performed to add predetermined information to the page print data and complement the predetermined fixed size, and the padding processing is performed. In a printing apparatus that performs printing by acquiring print data with inspection data with inspection information added to print data with fixed-length page information with page information added to the page print data from the host device ,
Inspection means for performing an inspection for the presence or absence of data abnormality in the print data with page information based on the inspection data added to the print data with inspection data;
If no data abnormality is detected in the print data with page information by the inspection means, the page information and the predetermined information added by the padding process are separated from the print data with page information and the print process is performed. Printing control means;
When a data abnormality of the print data with page information is detected by the inspection unit, a retransmission request for stopping the print processing by the print control unit and requesting the host device to retransmit the print data with page information And a printing apparatus.
前記ホスト装置は、
前記ページ印刷データをページ印刷データ生成手段により生成し前記ページ印刷データ生成手段により生成されたページ印刷データのサイズが予め設定した所定の固定サイズに満たない場合は、パディング処理手段により該ページ印刷データに所定の情報を付加して所定の固定サイズに補完するパディング処理を行い、
前記パディング処理手段によりパディング処理したページ印刷データに対してページ情報をページ情報付加手段により付加して固定長のページ情報付印刷データを生成し、 前記ページ情報付加手段で生成された固定長のページ情報付印刷データに基づき検査用情報を検査用データ付加手段により算出して該ページ情報付印刷データに付加して検査用データ付印刷データを生成し、
前記検査用データ付加手段によって生成した前記検査用データ付印刷データを印刷データ出力手段により出力し、
前記印刷装置は、
前記ホスト装置の印刷データ出力手段により出力された検査用データ付印刷データに付加された検査用データに基づき前記ページ情報付印刷データのデータ異常の有無の検査を検査手段により実施し、
前記検査手段により前記ページ情報付印刷データのデータ異常が検出されなかった場合は、印刷制御手段により前記ページ情報付印刷データから前記ページ情報および前記パディング処理で付加された所定の情報を分離して印刷処理を行い、
前記検査手段により前記ページ情報付印刷データのデータ異常が検出された場合は、再送要求手段により前記印刷制御手段による印刷処理を中止して該ページ情報付印刷データの再送要求を前記ホスト装置に対して行う
ことを特徴とする印刷システムの制御方法。 In a control method of a printing system having a host device that generates page print data for each print page and a printing device that performs printing based on the page print data generated by the host device,
The host device is
When the page print data is generated by the page print data generation unit and the size of the page print data generated by the page print data generation unit is less than a predetermined fixed size set in advance, the page print data is generated by the padding processing unit. Padding process to add predetermined information to and complement to a predetermined fixed size,
The page information adding means adds page information to the page print data padded by the padding processing means to generate print data with fixed length page information, and the fixed length page generated by the page information adding means. The inspection information is calculated by the inspection data adding means based on the print data with information and added to the print data with page information to generate the print data with inspection data,
The print data with inspection data generated by the inspection data adding means is output by the print data output means,
The printing apparatus includes:
Based on the inspection data added to the print data with inspection data output by the print data output means of the host device, the inspection means checks whether there is a data abnormality in the print data with page information,
If no data abnormality is detected in the print data with page information by the inspection means, the print control means separates the page information and the predetermined information added by the padding process from the print data with page information. Print processing,
If the inspection unit detects data abnormality in the print data with page information, the retransmission request unit cancels the printing process by the print control unit and sends a request for retransmission of the print data with page information to the host device. And a printing system control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006277830A JP2008097284A (en) | 2006-10-11 | 2006-10-11 | Printing system, host apparatus, printing apparatus, method for controlling printing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006277830A JP2008097284A (en) | 2006-10-11 | 2006-10-11 | Printing system, host apparatus, printing apparatus, method for controlling printing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008097284A true JP2008097284A (en) | 2008-04-24 |
Family
ID=39380070
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006277830A Pending JP2008097284A (en) | 2006-10-11 | 2006-10-11 | Printing system, host apparatus, printing apparatus, method for controlling printing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008097284A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010082924A (en) * | 2008-09-30 | 2010-04-15 | Brother Ind Ltd | Printing apparatus |
JP2012206161A (en) * | 2011-03-30 | 2012-10-25 | Panasonic Industrial Devices Sunx Co Ltd | Laser beam machining system |
JP2019098531A (en) * | 2017-11-28 | 2019-06-24 | セイコーエプソン株式会社 | Printer and control method for printer |
-
2006
- 2006-10-11 JP JP2006277830A patent/JP2008097284A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010082924A (en) * | 2008-09-30 | 2010-04-15 | Brother Ind Ltd | Printing apparatus |
JP2012206161A (en) * | 2011-03-30 | 2012-10-25 | Panasonic Industrial Devices Sunx Co Ltd | Laser beam machining system |
JP2019098531A (en) * | 2017-11-28 | 2019-06-24 | セイコーエプソン株式会社 | Printer and control method for printer |
JP7059590B2 (en) | 2017-11-28 | 2022-04-26 | セイコーエプソン株式会社 | Printing device and control method of printing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6740816B2 (en) | Image output device, history display device, and history display program | |
TW536682B (en) | Printing apparatus, print directing apparatus, printing system, and re-print processing method | |
JP4530012B2 (en) | Image processing apparatus and program | |
JP6438184B2 (en) | System having function of verifying consistency with expected print output, and method of verification | |
JP6256530B2 (en) | Special processing indicator for print verification system | |
JP2008097284A (en) | Printing system, host apparatus, printing apparatus, method for controlling printing system | |
JP2012147140A (en) | Image processing apparatus, image formation apparatus, image processing method, image processing program and storage medium | |
JP5223995B1 (en) | Print control apparatus, data management method and program | |
JP2010137449A (en) | Printing control device | |
JP5157309B2 (en) | Information processing system and information processing program | |
JP4476572B2 (en) | Printing device | |
JP2010049388A (en) | Image processor and obstacle analyzing program | |
CN100382002C (en) | Printing method and apparatus for rectifying error and computer readable recording medium | |
JP5338965B1 (en) | Print control apparatus, image forming system, and program | |
JP5380146B2 (en) | Image forming apparatus and status page evaluation program | |
JP2007334701A (en) | Printed matter inspection system, printing inspection apparatus, image forming apparatus, inspection apparatus, printing inspection program, image formation program and inspection program | |
JP7298745B2 (en) | Evaluation of print verification systems | |
KR100854823B1 (en) | Method and apparatus for detecting error of an image display device | |
JP2007168300A (en) | Image forming apparatus and inspection method | |
JP2010017944A (en) | Printing control system of continuous paper printer | |
JP2010253911A (en) | Image forming apparatus and status page evaluation program | |
JP5874575B2 (en) | Information processing apparatus and information processing program | |
JP2003118206A (en) | Printer with function for detecting missing of print page | |
JP2008009862A (en) | Printing system, page error checking method therefor and printer | |
JP2010259030A (en) | Image forming apparatus and status page evaluation program |