JP2011060123A - Form printing system, form print inspection method and program - Google Patents

Form printing system, form print inspection method and program Download PDF

Info

Publication number
JP2011060123A
JP2011060123A JP2009210821A JP2009210821A JP2011060123A JP 2011060123 A JP2011060123 A JP 2011060123A JP 2009210821 A JP2009210821 A JP 2009210821A JP 2009210821 A JP2009210821 A JP 2009210821A JP 2011060123 A JP2011060123 A JP 2011060123A
Authority
JP
Japan
Prior art keywords
print
data
image data
print area
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2009210821A
Other languages
Japanese (ja)
Inventor
Hideaki Imada
英顕 今田
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2009210821A priority Critical patent/JP2011060123A/en
Publication of JP2011060123A publication Critical patent/JP2011060123A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Image Processing (AREA)
  • Facsimiles In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a form printing system which can accurately determine the quality of print state of a form printed by a printer, a form printing inspection method and a program. <P>SOLUTION: An original image data forming means forms pixel data of a printing area in form data formed, and stores it in a storage part together with location information of the printing area, and an image scanner scans a form printed by the printer based on the form data to read pixel data of the form as print result image data. A comparison means compares an area corresponding to the printing area in the read print result image data with the pixel data of the printing area stored in the storage part, and a print result determination means determines, based on the comparison result, whether the form printed by the printer is normal. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、帳票を印刷しその印刷物を検品する帳票印刷システム,帳票印刷検品方法及びプログラムに関する。   The present invention relates to a form printing system, a form print inspection method, and a program for printing a form and inspecting the printed matter.

帳票を印刷するシステムにおいては、プリンタで印刷された帳票のイメージをスキャナで取り込んで元のデータと比較することで、印刷が正しく行われたか否かをチェックする技術が広く知られている。   In a system for printing a form, a technique for checking whether printing has been performed correctly by capturing an image of a form printed by a printer and comparing it with original data is widely known.

これに関連する技術が、特許文献1乃至3に開示されている。特許文献1には、帳票作成装置PCから受信した印刷ジョブを蓄積し、印刷された原稿をイメージを取り込んで、対応する印刷ジョブから作成されたビットマップイメージと比較して印刷状態の良否を判定する印刷処理装置が開示されている。   Technologies related to this are disclosed in Patent Documents 1 to 3. In Patent Document 1, print jobs received from the form creation apparatus PC are accumulated, an image of a printed document is captured, and compared with a bitmap image created from the corresponding print job, the quality of the print state is determined. A print processing apparatus is disclosed.

特許文献2に開示された関連技術は、印刷ジョブを生成し出力するホストコンピュータと、印刷ジョブに応じて印刷するプリンタ部とこの印刷物を走査して電子画像を生成するリーダ部とを有する画像入出力システムとがLAN(Local Area Network)を介して接続し、ホストコンピュータが、印刷ジョブの印刷データについて1ページごとにラスタイメージを生成してハードディスクに格納し、リーダ部から送られてくる電子画像と対応するページのラスタイメージとを比較して同一でなければ印刷は異常であると判定するという技術である。これにより、ホストコンピュータから画像入出力システムまでの通信の不具合を含め、印刷エラーを検出することができ、プリンタに印刷データが到達する前にデータ化けやビット落ちなどが発生しても対応することができるという技術である。   The related technology disclosed in Patent Document 2 is an image input device having a host computer that generates and outputs a print job, a printer unit that prints in accordance with the print job, and a reader unit that scans the printed material to generate an electronic image. An electronic system is connected to the output system via a LAN (Local Area Network), and the host computer generates a raster image for each page of the print data of the print job, stores it in the hard disk, and is sent from the reader unit. Is compared with the raster image of the corresponding page, and if it is not identical, it is determined that printing is abnormal. As a result, it is possible to detect printing errors, including malfunctions in communication from the host computer to the image input / output system, and to deal with data corruption or bit loss before the print data reaches the printer. It is a technology that can do.

特許文献3には、印字すべきイメージデータの文字の黒領域と媒体上に印字された文字の黒領域との比を求めて、この値が予め定められた値より下回ったときはインク交換の警告を発するプリンタが開示されている。   In Patent Document 3, the ratio between the black area of the character of the image data to be printed and the black area of the character printed on the medium is obtained, and when this value falls below a predetermined value, ink replacement is performed. A printer that issues a warning is disclosed.

特開2008−160284号公報JP 2008-160284 A 特開2008−065447号公報Japanese Patent Laid-Open No. 2008-065447 平1−316284号公報Hei 1-316284

しかしながら、特許文献1乃至3に開示された各関連技術では、スキャナによるイメージ読み取り時のゴミの混入などによる印刷不備の誤検出が発生するという問題があった。また、プリンタで使用されるプリンタフォントと全く同一のフォントをコンピュータが使用できないことが通常であり、この場合、単純なイメージ比較を行っても完全に一致せず印刷不備の誤検出が発生するという問題があった。   However, each of the related techniques disclosed in Patent Documents 1 to 3 has a problem in that a printing defect is erroneously detected due to contamination of dust when an image is read by a scanner. Also, it is normal that the computer cannot use the same font as the printer font used in the printer, and in this case, even if simple image comparison is performed, it does not completely match, and a false detection of defective printing occurs. There was a problem.

そこで、本発明は、上記各関連技術が有する問題を解決し、プリンタで印刷された帳票の印刷状態の良否をより正確に判定し得る帳票印刷システム,帳票印刷検品方法及びプログラムを提供することを、その目的とする。   Accordingly, the present invention provides a form printing system, a form printing inspection method, and a program that can solve the problems of the related technologies and can more accurately determine the quality of a form printed by a printer. And its purpose.

上記目的を達成するため、本発明の帳票印刷システムは、帳票用紙上に設定された印字領域の位置情報とこの印字領域に印刷する文字コード,プリンタフォント名,文字サイズを定めた情報とから成る帳票データを作成する帳票データ作成手段と、この作成された前記帳票データに基づいて帳票を印刷するプリンタとを備えた帳票印刷システムであって、
前記帳票データに基づいて前記印字領域のピクセルデータを作成する画像データ作成手段と、この作成された前記印字領域のピクセルデータをその印字領域の位置情報と共に記憶する画像データ記憶部と、前記プリンタで印刷された帳票をスキャニングして当該帳票のピクセルデータを印刷画像データとして読み取るイメージスキャナと、前記画像データ記憶部に記憶された前記印字領域のピクセルデータを基準にして前記印刷画像データの当該印字領域に相当する領域の画像データと比較する印刷結果比較手段と、この比較した結果に基づいて前記印刷画像データに係る帳票が正常に印刷されたものであるか否かを判定する印刷結果判定手段と、を備えたことを特徴とする。
In order to achieve the above object, a form printing system according to the present invention comprises position information of a print area set on a form sheet and information defining a character code, a printer font name, and a character size to be printed on the print area. A form printing system comprising form data creating means for creating form data and a printer for printing a form based on the created form data,
An image data creating means for creating pixel data of the print area based on the form data; an image data storage unit for storing the created pixel data of the print area together with position information of the print area; An image scanner that scans the printed form and reads the pixel data of the form as print image data, and the print area of the print image data based on the pixel data of the print area stored in the image data storage unit A print result comparing means for comparing with image data in an area corresponding to the above, and a print result determining means for determining whether or not the form relating to the print image data is normally printed based on the comparison result , Provided.

また、本発明の帳票印刷検品方法は、帳票用紙上に設定された印字領域の位置情報とこの印字領域に印刷する文字コード,プリンタフォント名,文字サイズを定めた情報とから成る帳票データを作成し、この作成された帳票データに基づいて前記印字領域のピクセルデータを作成して当該印字領域の位置情報と共に記憶部に記憶し、前記帳票データに基づいてプリンタが帳票を印刷し、この印刷された帳票をイメージスキャナがスキャニングして当該帳票のピクセルデータを印刷画像データとして読み取り、前記記憶部に記憶された前記印字領域のピクセルデータを基準にして前記印刷画像データにおける当該印字領域に相当する領域の画像データと比較し、この比較した結果に基づいて前記印刷画像データに係る帳票が正常に印刷されたものであるか否かを判定することを特徴とする。   In addition, the form printing inspection method of the present invention creates form data comprising position information of a print area set on a form sheet and information defining a character code, a printer font name, and a character size to be printed on the print area. Then, pixel data of the print area is created based on the created form data and stored in the storage unit together with the position information of the print area, and the printer prints the form based on the form data. An area corresponding to the print area in the print image data on the basis of the pixel data of the print area stored in the storage unit, with the image scanner scanning the scanned form and reading the pixel data of the form as print image data And the form related to the print image data is printed normally based on the comparison result. And judging whether a.

また、本発明の帳票印刷検品用プログラムは、帳票用紙上に設定された印字領域の位置情報とこの印字領域に印刷する文字コード,プリンタフォント名,文字サイズを定めた情報とから成る帳票データを作成する帳票データ作成機能と、この作成された帳票データに基づいて前記印字領域のピクセルデータを作成し当該印字領域の位置情報と共に記憶装置に記憶させる画像データ作成機能と、前記帳票データを予め接続されたプリンタへ出力する機能と、前記プリンタが前記帳票データに基づいて印刷した帳票をスキャニングしたイメージスキャンから当該帳票のピクセルデータを印刷画像データとして入力する機能と、前記記憶装置に記憶された前記印字領域のピクセルデータを基準にして前記印刷画像データにおける当該印字領域に相当する領域の画像データと比較する印刷結果比較機能と、この比較した結果に基づいて前記印刷画像データに係る帳票が正常に印刷されたものであるか否かを判定する印刷状態判定機能と、をコンピュータに実行させることを特徴とする。   Further, the form printing inspection program of the present invention stores form data comprising position information of a print area set on a form sheet and information defining a character code, a printer font name, and a character size to be printed on the print area. Form data creation function to be created, image data creation function for creating pixel data of the print area based on the created form data and storing it in the storage device together with position information of the print area, and the form data are connected in advance A function for outputting to the printer, a function for inputting pixel data of the form as print image data from an image scan obtained by scanning the form printed by the printer based on the form data, and the storage unit stored in the storage device. Corresponds to the print area in the print image data based on the pixel data of the print area A print result comparison function for comparing with image data of a region to be printed, and a print state determination function for determining whether or not the form relating to the print image data is normally printed based on the comparison result. The computer is executed.

本発明は、以上のように構成したため、これにより、帳票データに基づく印字領域のピクセルデータとプリンタで帳票データに基づいて印刷された帳票をイメージスキャナがスキャニングして読み取ったピクセルデータの当該印字領域に相当する領域のデータとを比較して印刷結果が正常か否かを判定するので、帳票の紙面全体のピクセルデータを比較して判定する場合よりも、スキャニング時のゴミ混入等を起因とする印刷異常の誤判定を有効に軽減し、帳票が正常に印刷されたか否かを正確に判定することができる。   Since the present invention is configured as described above, this allows the pixel data of the print area based on the form data and the print area of the pixel data read by the image scanner to scan the form printed based on the form data by the printer. Compared with the data in the area corresponding to, it is determined whether the printing result is normal or not, so it is caused by dust contamination at the time of scanning rather than comparing the pixel data of the entire paper surface of the form. It is possible to effectively reduce erroneous determination of printing abnormality and accurately determine whether or not the form has been printed normally.

本発明に係る一実施形態の帳票印刷システムの構成を示す機能ブロック図である。1 is a functional block diagram illustrating a configuration of a form printing system according to an embodiment of the present invention. 図1に開示した実施形態における帳票用紙上の印字領域の位置情報を説明する図である。It is a figure explaining the positional information on the printing area | region on the form paper in embodiment disclosed in FIG. 図1に開示した実施形態における帳票作成装置が保持するフォント対照表を示す図である。It is a figure which shows the font comparison table which the form preparation apparatus in embodiment disclosed in FIG. 1 hold | maintains. 図1に開示した実施形態における印字領域の位置情報とその印字領域の黒ピクセル比率とを対応付けて示す情報を示す図である。It is a figure which shows the information which matches and shows the positional information on the printing area | region in the embodiment disclosed in FIG. 1, and the black pixel ratio of the printing area | region. 図1に開示した実施形態の帳票印刷システムにおける画像データ作成手段の動作の一例を示すフローチャートである。3 is a flowchart illustrating an example of an operation of an image data creation unit in the form printing system according to the embodiment disclosed in FIG. 1. 図1に開示した実施形態の帳票印刷システムにおける印刷結果比較手段及び印刷結果判定手段の動作の一例を示すフローチャートである。7 is a flowchart illustrating an example of operations of a print result comparison unit and a print result determination unit in the form printing system according to the embodiment disclosed in FIG. 1.

以下、本発明にかかる一実施形態を、図面に基づいて説明する。   Hereinafter, an embodiment according to the present invention will be described with reference to the drawings.

図1は、本実施形態の帳票印刷システムの構成を示す機能ブロック図である。図1に示すように、本実施形態の帳票印刷システムは、帳票データを作成する帳票作成装置1と、帳票作成装置1からの印刷要求を受け付けるプリントサーバ2と、プリントサーバ2と接続するプリンタ3と、プリンタ3が印刷した帳票をスキャニングするイメージスキャナ4とで構成されている。   FIG. 1 is a functional block diagram showing the configuration of the form printing system of the present embodiment. As shown in FIG. 1, a form printing system according to the present embodiment includes a form creation apparatus 1 that creates form data, a print server 2 that receives a print request from the form creation apparatus 1, and a printer 3 that is connected to the print server 2. And an image scanner 4 for scanning a form printed by the printer 3.

図1に示すように、本実施形態における帳票作成装置1は、帳票用紙上に設定された印字領域の位置情報とこの印字領域に印刷する項目,プリンタフォント名,文字サイズを定めた情報とから成る書式情報を予め格納した書式情報格納部11と、業務システム100から入力された印字データを書式情報の印字領域に組み込んで帳票データを作成する帳票データ作成手段12と、この帳票データ作成手段12に作成された帳票データに基づいて印字領域をラスタライズし当該印字領域のピクセルデータを作成する画像データ作成手段13と、帳票データを含む帳票印刷要求と画像データ作成手段13に作成されたピクセルデータ及びそれに対応する印字領域の位置情報とをプリントサーバ2へ送信する印刷要求送信手段15と、プリントサーバ2から送られてくる印刷結果の良否を示す情報を提示する印刷状態提示手段16とを備えている。   As shown in FIG. 1, the form creation apparatus 1 according to the present embodiment is based on position information of a print area set on a form sheet and information defining items to be printed on the print area, a printer font name, and a character size. A format information storage unit 11 that stores format information in advance, a form data creation unit 12 that creates form data by incorporating print data input from the business system 100 into the print area of the format information, and this form data creation unit 12 The image data creation means 13 for rasterizing the print area based on the form data created in step S1 to create pixel data of the print area, the form print request including the form data, the pixel data created in the image data creation means 13, and Print request transmission means 15 for transmitting the position information of the corresponding print area to the print server 2, and the print server And a print status presentation means 16 for presenting information indicating the quality of sent come printed Results 2.

プリントサーバ2は、帳票作成装置1から帳票印刷要求と各印字領域の位置情報及びその印字領域のピクセルデータとを受信する印刷要求受信手段21と、この受信した帳票印刷要求を一時的に保管するためにスプール23へ送る機能と各印字領域の位置情報及びその印字領域のピクセルデータを画像データ記憶部24へ出力する機能とを備えた印刷要求スプール手段22と、帳票印刷要求を一時的に格納するメモリであるスプール23と、各印字領域の位置情報及びピクセルデータを記憶する画像データ記憶部24と、プリンタ3の動作状況に応じたタイミングでスプール23から帳票印刷要求を読み出してプリンタ3に対応するプリンタ言語に変換してプリンタ3へ出力する印刷制御手段25とを備えている。   The print server 2 temporarily receives the form print request, the print request receiving unit 21 that receives the form print request, the position information of each print area, and the pixel data of the print area, and the received form print request. Print request spool means 22 having a function of sending to the spool 23 and a function of outputting position information of each print area and pixel data of the print area to the image data storage unit 24, and temporarily storing a form print request A spool 23 that is a memory to be used, an image data storage unit 24 that stores position information and pixel data of each print area, and a form print request that is read from the spool 23 at a timing according to the operation status of the printer 3. Printing control means 25 for converting the printer language into the printer language 3 and outputting it to the printer 3.

また、プリントサーバ2は、更に、プリンタ3で印刷された帳票をスキャニングして読み取られたピクセルデータをイメージスキャナ4から印刷結果画像データとして入力し、画像データ記憶部24に記憶された印字領域のピクセルデータと印刷結果画像データの当該印字領域に対応する領域の画像データとを比較する印刷結果比較手段26と、この比較した結果に基づいて印刷結果画像データに係る帳票が正常に印刷されたものであるか否かを判定し判定結果を帳票作成装置1へ送る印刷結果判定手段27とを備えている。   Further, the print server 2 further inputs pixel data read by scanning a form printed by the printer 3 from the image scanner 4 as print result image data, and stores the print area stored in the image data storage unit 24. Print result comparison means 26 for comparing the pixel data with the image data in the area corresponding to the print area of the print result image data, and the form relating to the print result image data printed normally based on the comparison result And a printing result judging means 27 for judging whether or not and sending the judgment result to the form creation device 1.

プリンタ3は、プリントサーバ2からの帳票印刷要求に含まれる帳票データに基づいて専用の帳票用紙に印刷を行って帳票を作成する。イメージスキャナ4は、プリンタ2で印刷された帳票をスキャニングして帳票のピクセルデータを読み取り印刷結果画像データとしてプリントサーバ2へ送信する。プリンタ3とイメージスキャナ4は、複合機として一体になっていてもよいし、プリンタ3とイメージスキャナ4の間に、プリンタ3から排出された印刷物をイメージスキャナ4へ運ぶための搬送機構を設けた構成であってもよい。   The printer 3 creates a form by printing on a dedicated form based on the form data included in the form print request from the print server 2. The image scanner 4 scans the form printed by the printer 2, reads the pixel data of the form, and transmits it to the print server 2 as print result image data. The printer 3 and the image scanner 4 may be integrated as a complex machine, or a conveyance mechanism for carrying the printed matter discharged from the printer 3 to the image scanner 4 is provided between the printer 3 and the image scanner 4. It may be a configuration.

帳票作成装置1に装備された書式情報格納部11は、帳票の書式が定義された書式情報を格納する。書式情報は、帳票用紙上に文字又は画像を印刷する箇所として設定された印字領域を定義しており、各印字領域毎に位置情報,項目属性,プリンタフォント名,文字サイズが記録された情報である。このように書式情報には、用紙のどの領域にどのような項目をどのようなフォント(書体)、文字サイズで印刷するかが定められている。例えば、帳票が請求書の場合、請求書宛名、請求品目、単価、数量、小計、合計といった項目の記載を、用紙のどの領域にそれぞれ印字を行うかが書式情報に定義されている。プリントフォントとは、プリンタ3が印刷するときに定める文字の書体である。   A format information storage unit 11 provided in the form creation device 1 stores format information in which a form format is defined. The format information defines the print area set as the place to print characters or images on the form paper, and is information that records the position information, item attributes, printer font name, and character size for each print area. is there. In this way, the format information defines what items are printed in which areas of the paper and in what font (typeface) and character size. For example, when the form is an invoice, the format information defines on which area of the paper the items such as the invoice address, billing item, unit price, quantity, subtotal, and total are to be printed. A print font is a typeface of characters determined when the printer 3 performs printing.

ここで、図2は、印字領域の位置情報について説明する図である。印字領域の位置情報は、帳票用紙の紙面をXY平面としたX−Y座標で表わされている。図2に示すように、帳票用紙の左上の頂点を原点Oとして印字領域A1,A2,・・・を設定した場合、印字領域A1の各頂点の座標が点P=(X1,Y1)、点Q=(X2,Y1)、点R=(X2,Y2)、点S=(X1,Y2)となるので、本実施形態では、印字領域A1の位置情報を「(X1,Y1)−(X2,Y2)」もしくは「(X1,Y1,X2,Y2)」で表すように定めている。   Here, FIG. 2 is a diagram illustrating the position information of the print area. The position information of the print area is represented by XY coordinates with the paper surface of the form paper as the XY plane. As shown in FIG. 2, when the print areas A1, A2,... Are set with the upper left vertex of the form paper as the origin O, the coordinates of each vertex of the print area A1 are point P = (X1, Y1), point Since Q = (X2, Y1), point R = (X2, Y2), and point S = (X1, Y2), in this embodiment, the position information of the print area A1 is expressed as “(X1, Y1) − (X2 , Y2) ”or“ (X1, Y1, X2, Y2) ”.

帳票データ作成手段12は、業務システム100から印字データを入力すると、書式情報格納部から書式情報を読み出して、印字データと書式情報とを合わせて帳票データを作成し、画像データ作成手段13及び印刷要求送信手段15へ出力する。印字データは、上述した印字領域に印刷される内容を表す文字コードや画像データであり、例えば、CSV(Comma Separated Values)形式のデータである。帳票データは、各印字領域毎に位置情報,文字コード又は画像データ,プリンタフォント名,文字サイズが記録された情報である。このように帳票データには、用紙のどの領域にどのような文字をどのようなフォント、文字サイズで印刷するかが定められている。   When the print data is input from the business system 100, the form data creation unit 12 reads the format information from the format information storage unit, creates the form data by combining the print data and the format information, the image data creation unit 13 and the print data It outputs to the request transmission means 15. The print data is a character code or image data representing the content to be printed in the above-described print area, and is, for example, data in CSV (Comma Separated Values) format. The form data is information in which position information, character code or image data, printer font name, and character size are recorded for each print area. Thus, in the form data, it is determined which character on which area of the paper is printed with what font and character size.

画像データ作成手段13は、帳票データ作成手段12に作成された帳票データに示された印字領域をラスタライズして印字領域のピクセルデータを作成する。ピクセルデータとは、点の集合で画像を表したデータであり、その画像を形成する点がピクセルである。ピクセルデータは、各ピクセルの階調情報を有するデータである。   The image data creation means 13 rasterizes the print area shown in the form data created by the form data creation means 12 and creates pixel data of the print area. Pixel data is data representing an image by a set of points, and the points forming the image are pixels. Pixel data is data having gradation information of each pixel.

画像データ作成手段13は、帳票データに記された印字領域の文字列データ、文字サイズ、プリンタフォント名に基づいて、印字領域のピクセルデータを作成する。このとき、画像データ作成手段13は、フォント対照表記憶部14に予め記憶されたフォント対照表を参照して、帳票データに示された印字領域のプリンタフォント名から類似のフォントを特定し、この類似のフォントを採用して印字領域をイメージに展開する。   The image data creation unit 13 creates pixel data for the print area based on the character string data, the character size, and the printer font name of the print area described in the form data. At this time, the image data creation means 13 refers to the font comparison table stored in advance in the font comparison table storage unit 14 and identifies a similar font from the printer font name of the print area indicated in the form data. A similar font is used to expand the print area into an image.

フォント対照表は、帳票作成装置1が予め保持している各ラスタライズ使用フォントとこれに類似するプリンタフォントとの対応関係を示すテーブルデータであり、図3にその一例を示す。これにより、プリンタ3で使用されるものと同一のフォントが使用できない場合でも、帳票データを印刷時と対応するフォントでピクセルデータに変換することができる。   The font comparison table is table data indicating the correspondence between each rasterized font that the form creation apparatus 1 holds in advance and a printer font similar thereto, and FIG. 3 shows an example thereof. As a result, even when the same font as that used in the printer 3 cannot be used, the form data can be converted into pixel data with a font corresponding to that at the time of printing.

また、画像データ作成手段13は、予め設定された閾値以下の階調のピクセルを黒ピクセルと判定して、印字領域のピクセルデータにおける黒ピクセルの数とこの印字領域の全ピクセル数とを計算し、この全ピクセル数に占める黒ピクセル数の比率を算出するピクセル計測機能13aを備えている。0階調のピクセルのみを黒ピクセルと判定するようにしてもよい。   Further, the image data creation means 13 determines that a pixel having a gradation equal to or lower than a preset threshold value is a black pixel, and calculates the number of black pixels in the pixel data of the print area and the total number of pixels in the print area. The pixel measuring function 13a for calculating the ratio of the number of black pixels to the total number of pixels is provided. Only pixels with 0 gradation may be determined as black pixels.

更に、画像データ作成手段13は、帳票データにおける各印字領域の位置情報とその印字領域のピクセルデータの黒ピクセル比率とを対応付けた情報を印刷要求送信手段15へ出力する機能を備えている。ここで、図4は、画像データ作成手段13が印刷要求送信手段15へ出力するデータの一例を示す図である。図4に示すように、各印字領域の位置情報とその印字領域の黒ピクセル比率とが対応付けられた情報が画像データ作成手段13から印刷要求送信手段15へ送られる。   Further, the image data creation means 13 has a function of outputting information associating position information of each print area in the form data with the black pixel ratio of the pixel data of the print area to the print request transmission means 15. Here, FIG. 4 is a diagram illustrating an example of data output from the image data creation unit 13 to the print request transmission unit 15. As shown in FIG. 4, information in which the position information of each print area is associated with the black pixel ratio of the print area is sent from the image data creation unit 13 to the print request transmission unit 15.

印刷要求送信手段15は、帳票データ作成手段12からの帳票データを含む帳票印刷要求と、画像データ作成手段13からの各印字領域の位置情報およびその印字領域の黒ピクセル比率とをプリントサーバ2へ送信する。   The print request transmission means 15 sends the form print request including the form data from the form data creation means 12, the position information of each print area from the image data creation means 13, and the black pixel ratio of the print area to the print server 2. Send.

プリントサーバ2に装備された印刷要求受信手段21は、帳票作成装置1から帳票印刷要求と各印字領域の位置情報及びその印字領域の黒ピクセル比率とを受信する。印刷要求スプール手段22は、受信された帳票印刷要求をスプール23に記憶させる機能と、各印字領域の位置情報及びその印字領域の黒ピクセル比率とを画像データ記憶部24に記憶させる機能とを備えている。   The print request receiving unit 21 provided in the print server 2 receives a form print request, position information of each print area, and a black pixel ratio of the print area from the form creation apparatus 1. The print request spool unit 22 has a function of storing the received form print request in the spool 23 and a function of storing the position information of each print area and the black pixel ratio of the print area in the image data storage unit 24. ing.

画像データ記憶部24は、帳票印刷要求に係る帳票データをラスタライズした場合の各印字領域毎の位置情報とその印字領域の黒ピクセル比率とを記憶する。記憶される情報については、図4に示す。   The image data storage unit 24 stores position information for each print area and the black pixel ratio of the print area when the form data related to the form print request is rasterized. The stored information is shown in FIG.

印刷制御手段25は、プリンタ3の動作状態を管理してスプール23に記憶されている帳票印刷要求をプリンタ3に対応するプリンタ言語にして順にプリンタ3へ出力する。プリンタ言語は、例えば、ページ記述言語やPDF(Portable Document Format)形式の情報などである。   The print control unit 25 manages the operation state of the printer 3 and outputs the form print request stored in the spool 23 to the printer 3 in order in the printer language corresponding to the printer 3. The printer language is, for example, information in a page description language or PDF (Portable Document Format) format.

印刷結果比較手段26は、プリンタ3が帳票印刷要求に応じて印刷した帳票をスキャニングしたイメージスキャナ4から当該帳票のピクセルデータを印刷結果画像データとして入力する機能と、印刷結果画像データを入力すると画像データ記憶部24に記憶されている印字領域の位置情報を読み出して、この位置情報に基づいて印刷結果画像データにおける当該印字領域に相当する領域を特定し、この特定した領域の黒ピクセル比率を計測するピクセル計測機能26aとを備えている。   The print result comparison unit 26 has a function of inputting pixel data of the form as print result image data from the image scanner 4 that has scanned the form printed by the printer 3 in response to the form print request, and an image when the print result image data is input. The position information of the print area stored in the data storage unit 24 is read, the area corresponding to the print area in the print result image data is specified based on the position information, and the black pixel ratio of the specified area is measured. And a pixel measurement function 26a.

また、印刷結果比較手段26は、印刷結果画像データにおける印字領域に相当する領域の黒ピクセル比率と画像データ記憶部24に記憶されている当該印字領域の黒ピクセル比率との差を計算して、その算出された差の値を印刷結果判定手段27へ出力する機能を備えている。   Further, the print result comparison means 26 calculates the difference between the black pixel ratio of the area corresponding to the print area in the print result image data and the black pixel ratio of the print area stored in the image data storage unit 24, A function of outputting the calculated difference value to the printing result determination unit 27 is provided.

印刷結果判定手段27は、印刷結果比較手段26から入力した黒ピクセル比率の差が予め設定された誤差範囲内にあった場合にプリンタ3に印刷された帳票は正常であると判定し、誤差範囲内にない場合には異常であると判定する。そして、この判定結果を帳票作成装置1へ送信する。   The print result determination unit 27 determines that the form printed on the printer 3 is normal when the difference in the black pixel ratio input from the print result comparison unit 26 is within a preset error range, and the error range. If not, it is determined that there is an abnormality. Then, the determination result is transmitted to the form creation device 1.

帳票作成装置1に装備された印刷状態提示手段16は、プリントサーバ2から送られてくる印刷状態の判定結果を提示して管理者に印刷結果の正否を知らせる手段である。例えば、図示していない表示装置に印刷結果の正否を表す画像を表示させるような構成である。   The print status presenting means 16 provided in the form creation device 1 is a means for presenting the print status determination result sent from the print server 2 and notifying the administrator of the correctness of the print result. For example, an image representing whether the printing result is correct or not is displayed on a display device (not shown).

ここで、上述した画像データ作成手段13は、帳票データをラスタライズして印字領域のピクセルデータを作成し、このピクセルデータの黒ピクセル比率を計測する構成としたが、このような構成ではなく、フォントごとに文字コードとその黒ピクセル数とを対応付けて示す対応表を予め保持し、文字サイズによる補正を行って印字領域の黒ピクセル数を算出するように構成してもよい。このような構成では、帳票データをラスタライズする必要が無く、四則演算のみで印字領域の黒ピクセル比率を算出でき、負荷を軽減することができる。   Here, the above-described image data creation means 13 is configured to rasterize the form data to create pixel data for the print area and measure the black pixel ratio of this pixel data. A correspondence table in which the character code and the number of black pixels are associated with each other may be held in advance, and the number of black pixels in the print area may be calculated by correcting the character size. In such a configuration, it is not necessary to rasterize the form data, the black pixel ratio of the print area can be calculated only by four arithmetic operations, and the load can be reduced.

また、イメージスキャナ4は、多値階調でピクセルデータを読み取る機能を備えてもよく、この場合、プリントサーバ2における印刷結果比較手段26のピクセル計測機能25aは、印刷結果画像データの印字領域に相当する領域の中で階調が予め設定された閾値以下のピクセルを黒ピクセルと判断して当該領域の黒ピクセル比率を計算する機能を備えている。このような構成することで、イメージスキャン4のスキャニング時に読み込まれてしまうゴミに画像を、黒ピクセルでないと判定でき、ゴミの写り込みを印刷ミスと誤検出してしまう可能性を軽減できる。   In addition, the image scanner 4 may have a function of reading pixel data with multi-value gradation. In this case, the pixel measurement function 25a of the print result comparison unit 26 in the print server 2 is in the print area of the print result image data. In the corresponding area, a pixel having a gradation equal to or lower than a preset threshold value is determined as a black pixel, and a black pixel ratio in the area is calculated. With such a configuration, it is possible to determine that an image is not a black pixel in the dust that is read during the scanning of the image scan 4, and it is possible to reduce the possibility that the reflection of the dust is erroneously detected as a printing error.

また更に、帳票データ作成手段12は、各印字領域の特定の位置に比較用の点が印字される帳票データを作成し、印刷結果比較手段26は、印刷結果画像データにおける比較用の点を基準にして印字領域に相当する領域を特定するように構成してもよい。このように構成することで、印刷結果画像データの印字領域に対応する領域を特定する際の精度が向上する。また、印字領域内に比較用の点を2点以上印字すれば、その2点を基準にすることで傾き補正を行うことができる。   Furthermore, the form data creating unit 12 creates form data in which a comparison point is printed at a specific position in each print area, and the print result comparison unit 26 uses the comparison point in the print result image data as a reference. Thus, the area corresponding to the print area may be specified. With this configuration, the accuracy in specifying an area corresponding to the print area of the print result image data is improved. If two or more comparative points are printed in the print area, the inclination can be corrected by using the two points as a reference.

また、プリントサーバ2における印刷結果比較手段26は、イメージスキャナ4からの印刷結果画像データにおける印字領域に相当する領域を特定したときに、当該領域をはみ出すように印刷されていることを検出した場合、その旨を知らせる情報を印刷結果判定手段27へ送る機能を備え、印刷結果判定手段27は、この情報を受けた場合、プリンタケーブル劣化などでプリンタ3への帳票データが破損し、文字化けが発生していると判断して、印刷状態が異常であると判定する機能を備えてもよい。   Further, when the print result comparison unit 26 in the print server 2 identifies an area corresponding to the print area in the print result image data from the image scanner 4, the print result comparison unit 26 detects that printing is performed so as to protrude from the area. The function of sending information to that effect to the print result determination means 27 is provided. When the print result determination means 27 receives this information, the form data to the printer 3 is damaged due to printer cable deterioration or the like, and the characters are garbled. A function may be provided that determines that the printing has occurred and determines that the printing state is abnormal.

次に、本実施形態の帳票印刷システムの動作について説明する。ここで、以下の動作説明は、本発明の印刷検品方法の実施形態となる。   Next, the operation of the form printing system of this embodiment will be described. Here, the following operation description is an embodiment of the print inspection method of the present invention.

図5は、本実施形態の帳票印刷システムにおける画像データ作成手段13の動作を示すフローチャートである。図5に示すように、本実施形態における画像データ作成部13は、まず、入力した帳票データから文字コードが埋め込まれた印字領域とその埋め込まれている文字列、文字の大きさ,プリンタフォント名を読み出して(図5のステップS51)、フォント対照表に基づいて、プリンタフォント名から、類似のラスタライズ使用フォントを特定する(図5のステップS52)。このように、フォント対照表を用いることで、プリンタ3で用いられるプリンタフォントが使用できない場合でも、そのプリンタフォントに類似のフォントを選択することができる。   FIG. 5 is a flowchart showing the operation of the image data creation means 13 in the form printing system of this embodiment. As shown in FIG. 5, the image data creation unit 13 according to the present embodiment first prints an area in which a character code is embedded from the input form data, the embedded character string, the character size, and the printer font name. (Step S51 in FIG. 5), and a similar rasterized font is specified from the printer font name based on the font comparison table (step S52 in FIG. 5). Thus, by using the font comparison table, even when the printer font used in the printer 3 cannot be used, a font similar to the printer font can be selected.

そして、この特定されたラスタライズ使用フォントのフォントファイルを使用して印字領域をラスタライズしイメージに展開する(図5のステップS53)。印字領域の黒ピクセルの数と当該印字領域の全ピクセル数を計算し、全ピクセルに占める黒ピクセルの比率を求める(図5のステップS54)。   Then, the printing area is rasterized using the font file of the specified rasterizing font and developed into an image (step S53 in FIG. 5). The number of black pixels in the print area and the total number of pixels in the print area are calculated, and the ratio of black pixels to all pixels is obtained (step S54 in FIG. 5).

続いて、帳票データに示された各印字領域の位置情報とその印字領域の黒ピクセル比率とを対応付けた情報を印刷要求送信主手段15へ出力する(図5のステップS55)。そして、黒ピクセル比率を計測していない別の印字領域があるか否かを確認し、存在する場合は、その別の印字領域に対して同様の処理を実行する(図5のステップS56のはい)。全ての印字領域について処理を行った場合は、終了する(図5のステップS56のいいえ)。   Subsequently, information associating the position information of each print area indicated in the form data with the black pixel ratio of the print area is output to the print request transmitting main means 15 (step S55 in FIG. 5). Then, it is confirmed whether or not there is another print area for which the black pixel ratio is not measured. If it exists, the same process is executed for the other print area (Yes in step S56 in FIG. 5). ). If the process has been performed for all the print areas, the process ends (No in step S56 in FIG. 5).

図6は、本実施形態の帳票印刷システムにおける印刷結果比較手段26及び印刷結果判定手段27の動作を示すフローチャートである。   FIG. 6 is a flowchart showing the operations of the print result comparison unit 26 and the print result determination unit 27 in the form printing system of this embodiment.

図6に示すように、まず、印刷結果比較手段26が、イメージスキャナ4から印刷結果画像データを入力すると、画像データ記憶部24から印字領域の位置情報及び黒ピクセル比率の組を読み出す(図6のステップS62)。   As shown in FIG. 6, first, when the print result comparison means 26 inputs print result image data from the image scanner 4, a set of position information and black pixel ratio of the print area is read from the image data storage unit 24 (FIG. 6). Step S62).

続いて、印刷結果比較手段26が、読み出した印字領域の位置情報に基づいて印刷結果画像データにおける当該印字領域に相当する領域を特定しこの領域に含まれる黒ピクセルの数を計算して、当該領域の全ピクセル数を計算し、この全ピクセルに占める黒ピクセルの比率を求める(図6のステップS63)。   Subsequently, the print result comparison unit 26 specifies an area corresponding to the print area in the print result image data based on the read position information of the print area, calculates the number of black pixels included in the area, The total number of pixels in the region is calculated, and the ratio of black pixels to all the pixels is obtained (step S63 in FIG. 6).

印刷結果比較手段26が、画像データ記憶部24から読み出した印字領域の黒ピクセル比率と印刷結果画像データの当該印字領域に相当する領域の黒ピクセル比率との差を算出して印刷結果判定手段27へ送出する(図6のステップS64)。この算出された黒ピクセル比率の差を入力した印刷結果判定手段27が、その差が予め設定された誤差範囲内に収まっているか否かを判定する(図6のステップS65)。   The print result comparison means 26 calculates the difference between the black pixel ratio of the print area read from the image data storage unit 24 and the black pixel ratio of the area corresponding to the print area of the print result image data, and the print result determination means 27. (Step S64 in FIG. 6). The print result determination unit 27 that has input the calculated difference in the black pixel ratio determines whether or not the difference is within a preset error range (step S65 in FIG. 6).

このように、印刷前の画像データと印刷結果をスキャニングして読み取った画像データとの各印字領域の黒ピクセル比率を比較して印刷の正否を判定することで、ピクセル毎に比較する場合よりも、処理負荷を軽減することができる。   In this way, by comparing the black pixel ratio of each printing area between the image data before printing and the image data read by scanning the printing result, it is determined whether printing is correct or not, compared with the case of comparing each pixel. , The processing load can be reduced.

上記黒ピクセル比率の差が誤差範囲内にあると判定した場合は、印刷結果比較手段26が、画像データ記憶部24に記憶されている情報を検索して、黒ピクセル比率の差を算出していない別の印字領域に関する情報が残っているか否かを確認し(図6のステップS66)、残っている場合はその別の印字領域に対して上記黒ピクセル比率の差を算出して印刷結果判定手段27へ送出し、残っていないと確認した場合には、その旨を知らせる情報を印刷結果判定手段27へ送り、その情報を受けた印刷結果判定手段27が全ての印字領域において黒ピクセル比率の差が誤差範囲内にありプリンタ3で印刷された帳票が正常であると判定し、この判定結果を帳票作成装置1へ送信する(図6のステップS67)。   When it is determined that the black pixel ratio difference is within the error range, the print result comparison unit 26 searches the information stored in the image data storage unit 24 to calculate the black pixel ratio difference. It is confirmed whether or not there is information relating to another print area not present (step S66 in FIG. 6), and if it remains, the difference in the black pixel ratio is calculated for the other print area, and the print result is determined. When the information is sent to the means 27 and it is confirmed that it does not remain, information notifying the fact is sent to the print result judging means 27, and the print result judging means 27 receiving the information has the black pixel ratio in all the print areas. It is determined that the difference is within the error range and the form printed by the printer 3 is normal, and the determination result is transmitted to the form creation apparatus 1 (step S67 in FIG. 6).

一方で、印刷結果判定手段27が、黒ピクセル比率の差が誤差範囲内に無かったと判定したときは、プリンタ3で印刷された帳票が異常であると判定し、この判定結果を帳票作成装置1へ送信する(図6のステップS68)。   On the other hand, when the printing result determination unit 27 determines that the difference in the black pixel ratio is not within the error range, it determines that the form printed by the printer 3 is abnormal, and uses this determination result as the form creation apparatus 1. (Step S68 in FIG. 6).

このように、本実施形態の帳票印刷システムは、帳票印刷要求を作成した帳票作成装置1で、帳票印刷要求に係る帳票データのピクセルデータを作成しそのピクセルデータと印刷結果画像データを比較して、印刷結果の正否を判定するため、プリンタ3までの通信経路での異常発生を含めて、印刷結果が要求通りであるかを確認することができる。   As described above, the form printing system according to the present embodiment creates pixel data of form data related to the form print request by the form creation apparatus 1 that created the form print request, and compares the pixel data with the print result image data. In order to determine whether the print result is correct or not, it is possible to check whether the print result is as requested, including the occurrence of an abnormality in the communication path to the printer 3.

ここで、上述した帳票作成装置1とプリントサーバ2は、一体になって1つの装置で構成してもよい。また、上述した帳票作成手段12,画像データ作成手段13,印刷要求スプール手段22,印刷制御手段25,印刷結果比較手段26,印刷結果判定手段27,印刷状態提示手段16については、その動作内容をプログラム化して、1台のコンピュータに実行させるように構成してもよい。   Here, the form creation device 1 and the print server 2 described above may be integrated into a single device. The above-described form creation means 12, image data creation means 13, print request spool means 22, print control means 25, print result comparison means 26, print result determination means 27, and print status presentation means 16 have the same operation contents. It may be configured to be programmed and executed by one computer.

また、帳票データがカラー出力に対応する情報の場合であれば、画像データ作成手段13は、印字領域の黒ピクセル比率を計測するのではなく、印字領域内の各ピクセルをCMYKあるいはRGBで色分解した情報を作成するように構成し、印刷結果比較手段26も、印刷結果画像データの印字領域内の各ピクセルを同様に色分解して、色分解したものでそれぞれ比較するように構成してもよい。   If the form data is information corresponding to color output, the image data creation means 13 does not measure the black pixel ratio in the print area, but separates each pixel in the print area with CMYK or RGB. The print result comparison means 26 may be configured to similarly color-separate each pixel in the print area of the print result image data, and compare each of the color-separated ones. Good.

以上のように、本実施形態の帳票印刷システムでは、帳票印刷が、予め設計された印字領域に印字データを埋め込んで出力するという構成であることと、同一サイズの同一文字の白黒ピクセルの比率を類似のフォントの間で比較するとそれぞれほぼ同じであることは自明であることを利用して、帳票データにおける印字領域の画像データと印刷された帳票をスキャニングして読み取った画像データにおける印字領域に相当する領域とを比較して印刷の正否を判定する。これにより、例えば、スキャニング時にゴミが混入しても印字領域外であれば、印刷異常を検出することは無いので、帳票全体を比較して印刷の正否を判定する場合よりも誤判定を軽減することができる。これは、専用用紙の特定の印字領域のみに文字又は画像を印字する構成の帳票印刷システムであるから実現可能である。   As described above, in the form printing system according to the present embodiment, the form printing has a configuration in which print data is embedded and output in a print area designed in advance, and the ratio of black and white pixels of the same character of the same size is set. Using the fact that it is obvious that they are almost the same when comparing between similar fonts, it corresponds to the print area in the image data scanned by scanning the image data of the print area in the form data and the printed form Whether the printing is correct or not is determined by comparing the area to be printed. As a result, for example, even if dust is mixed during scanning, if it is outside the print area, a printing abnormality is not detected, so that erroneous determination is reduced as compared with the case where the entire form is compared to determine whether printing is correct or not. be able to. This is feasible because it is a form printing system configured to print characters or images only in a specific print area of the dedicated paper.

本発明は、帳票を印刷するシステムにおいて、印刷が正常に行われたか否かを確認するのに適用可能である。   The present invention can be applied to confirm whether printing has been performed normally in a system for printing forms.

1 帳票作成装置
2 プリントサーバ
3 プリンタ
4 イメージスキャナ
11 書式情報格納部
12 帳票データ作成手段
13 画像データ作成手段
14 フォント対照表記憶部
15 印刷要求送信手段
16 印刷状態提示手段
21 印刷要求受信手段
22 印刷要求スプール手段
23 スプール
24 画像データ記憶部
25 印刷制御手段
26 印刷結果比較手段
27 印刷結果判定手段
DESCRIPTION OF SYMBOLS 1 Form creation apparatus 2 Print server 3 Printer 4 Image scanner 11 Format information storage part 12 Form data creation means 13 Image data creation means 14 Font comparison table memory | storage part 15 Print request transmission means 16 Print status presentation means 21 Print request reception means 22 Printing Request spool means 23 Spool 24 Image data storage section 25 Print control means 26 Print result comparison means 27 Print result determination means

Claims (10)

帳票用紙上に設定された印字領域の位置情報とこの印字領域に印刷する文字コード,プリンタフォント名,文字サイズを定めた情報とから成る帳票データを作成する帳票データ作成手段と、この作成された前記帳票データに基づいて帳票を印刷するプリンタとを備えた帳票印刷システムであって、
前記帳票データに基づいて前記印字領域のピクセルデータを作成する画像データ作成手段と、
この作成された前記印字領域のピクセルデータをその印字領域の位置情報と共に記憶する画像データ記憶部と、
前記プリンタで印刷された帳票をスキャニングして当該帳票のピクセルデータを印刷画像データとして読み取るイメージスキャナと、
前記画像データ記憶部に記憶された前記印字領域のピクセルデータを基準にして前記印刷画像データの当該印字領域に相当する領域の画像データと比較する印刷結果比較手段と、
この比較した結果に基づいて前記印刷画像データに係る帳票が正常に印刷されたものであるか否かを判定する印刷結果判定手段と、を備えたことを特徴とする帳票印刷システム。
Form data creation means for creating form data comprising position information of the print area set on the form paper and information specifying the character code, printer font name, and character size to be printed on the print area, and the created data A form printing system comprising a printer for printing a form based on the form data,
Image data creating means for creating pixel data of the print area based on the form data;
An image data storage unit for storing the created pixel data of the print area together with position information of the print area;
An image scanner that scans a form printed by the printer and reads pixel data of the form as print image data;
Print result comparison means for comparing the image data of the print image data with the area corresponding to the print area on the basis of the pixel data of the print area stored in the image data storage unit;
A form printing system comprising: a printing result determination unit that determines whether or not the form relating to the print image data is normally printed based on the comparison result.
前記請求項1に記載の帳票印刷システムにおいて、
前記画像データ作成手段は、前記作成した前記印字領域のピクセルデータの黒ピクセル比率を計測してその印字領域の位置情報と共に前記画像データ記憶部に記憶する機能を備え、
前記印刷結果比較手段は、前記印刷結果画像データの前記印字領域に相当する領域の黒ピクセル比率を計測しこの計測した黒ピクセル比率と前記画像データ記憶部に記憶された当該印字領域のピクセルデータの黒ピクセル比率との差を計算する機能を備え、
前記印刷結果判定手段は、前記印刷結果比較手段で計算された黒ピクセル比率の差が予め設定された誤差範囲内にある場合、前記印刷結果画像データに係る帳票は正常に印刷されたと判定する機能を備えたことを特徴とする帳票印刷システム。
In the form printing system according to claim 1,
The image data creation means has a function of measuring a black pixel ratio of pixel data of the created print area and storing it in the image data storage unit together with position information of the print area,
The print result comparison unit measures a black pixel ratio of an area corresponding to the print area of the print result image data, and calculates the black pixel ratio and pixel data of the print area stored in the image data storage unit. It has a function to calculate the difference from the black pixel ratio,
The printing result determination unit has a function of determining that the form relating to the printing result image data is normally printed when the difference in the black pixel ratio calculated by the printing result comparison unit is within a preset error range. A form printing system characterized by comprising:
前記請求項2に記載の帳票印刷システムにおいて、
前記画像データ作成手段は、前記帳票データに基づいて前記印字領域のピクセルデータを作成する際に、予め保持したラスタライズ用フォントとこれに類似するプリンタフォントとの対応関係を示すフォント対照表に基づいて、前記帳票データに示された前記印字領域のプリンタフォントに類似するラスタライズ用フォントを選出しこの選出したラスタライズ用フォントを用いて当該印字領域をイメージ展開することを特徴とする帳票印刷システム。
In the form printing system according to claim 2,
The image data creating means is based on a font comparison table showing a correspondence relationship between a rasterization font held in advance and a printer font similar to the font when the pixel data of the print area is created based on the form data. A form printing system, wherein a rasterizing font similar to the printer font of the printing area indicated in the form data is selected, and the printing area is imaged using the selected rasterizing font.
前記請求項3に記載の帳票印刷システムにおいて、
前記イメージスキャナは、前記印刷画像データを多値階調で読み取る機能を備え、
前記印刷結果比較手段は、前記印刷結果画像データの前記印字領域に相当する領域の画像データの中で、予め設定された閾値以下の階調を持つピクセルを黒ピクセルと判断して黒ピクセル数を計数し、当該画像データの黒ピクセル比率を計算することを特徴とする帳票印刷システム。
In the form printing system according to claim 3,
The image scanner has a function of reading the print image data with multi-value gradation,
The print result comparison means determines that a pixel having a gradation equal to or lower than a preset threshold value is a black pixel in the image data of an area corresponding to the print area of the print result image data and determines the number of black pixels. A form printing system characterized by counting and calculating a black pixel ratio of the image data.
帳票用紙上に設定された印字領域の位置情報とこの印字領域に印刷する文字コード,プリンタフォント名,文字サイズを定めた情報とから成る帳票データを作成し、
この作成された帳票データに基づいて前記印字領域のピクセルデータを作成して当該印字領域の位置情報と共に記憶部に記憶し、
前記帳票データに基づいてプリンタが帳票を印刷し、
この印刷された帳票をイメージスキャナがスキャニングして当該帳票のピクセルデータを印刷画像データとして読み取り、
前記記憶部に記憶された前記印字領域のピクセルデータを基準にして前記印刷画像データにおける当該印字領域に相当する領域の画像データと比較し、
この比較した結果に基づいて前記印刷画像データに係る帳票が正常に印刷されたものであるか否かを判定することを特徴とする帳票印刷検品方法。
Create form data consisting of the position information of the print area set on the form paper and the information specifying the character code, printer font name, and character size to be printed in this print area.
Create pixel data of the print area based on the created form data and store it in the storage unit together with position information of the print area,
A printer prints a form based on the form data,
The image scanner scans this printed form, reads the pixel data of the form as print image data,
Compared with the image data of the area corresponding to the print area in the print image data based on the pixel data of the print area stored in the storage unit,
A form print inspection method, wherein it is determined whether or not the form relating to the print image data is normally printed based on the comparison result.
前記請求項5に記載の帳票印刷検品方法において、
前記印字領域のピクセルデータの作成及び記憶に際しては、
前記印字領域のピクセルデータの黒ピクセル比率を計測して当該印刷領域の位置情報と共に記憶部に記憶することとし、
前記印刷画像データの比較及び判定に際しては、
前記印刷結果画像データの前記印字領域に相当する領域の黒ピクセル比率を計測して、前記記憶部に記憶された当該印字領域のピクセルデータの黒ピクセル比率との差を計算し、この計算された黒ピクセル比率の差が予め設定された誤差範囲内にあれば前記印刷画像データに係る帳票が正常に印刷されたものであると判定することを特徴とする帳票印刷検品方法。
In the form printing inspection method according to claim 5,
In creating and storing the pixel data of the print area,
The black pixel ratio of the pixel data of the print area is measured and stored in the storage unit together with the position information of the print area,
When comparing and determining the print image data,
The black pixel ratio of the area corresponding to the print area of the print result image data is measured, and the difference from the black pixel ratio of the pixel data of the print area stored in the storage unit is calculated. A form print inspection method characterized in that if a difference in black pixel ratio is within a preset error range, it is determined that the form relating to the print image data is normally printed.
前記請求項6に記載の帳票印刷検品方法において、
前記印字領域のピクセルデータの作成に際しては、
予め保持したラスタライズ用フォントとこれに類似するプリンタフォントとの対応関係を示すフォント対照表に基づいて、前記帳票データに示された前記印字領域のプリンタフォントに類似するラスタライズ用フォントを選出しこの選出したラスタライズ用フォントを用いて当該印字領域をイメージ展開することを特徴とする帳票印刷検品方法。
In the form printing inspection method according to claim 6,
In creating the pixel data of the print area,
A rasterizing font similar to the printer font in the print area indicated in the form data is selected and selected based on a font comparison table showing the correspondence between the rasterizing font held in advance and a printer font similar to the font. A form printing inspection method comprising developing the image of the print area using the rasterized font.
前記請求項7に記載の帳票印刷検品方法において、
前記イメージスキャナがスキャニングして取り込む印刷画像データが、多値階調のピクセルデータである場合、前記印刷結果画像データの前記印字領域に相当する領域の黒ピクセル比率を計測する際に、予め設定された閾値以下の階調を持つピクセルを黒ピクセルと判断して前記黒ピクセル比率を計測することを特徴とする帳票印刷検品方法。
In the form printing inspection method according to claim 7,
When the print image data scanned and scanned by the image scanner is pixel data of multi-value gradation, it is set in advance when measuring the black pixel ratio of the area corresponding to the print area of the print result image data. A form printing inspection method characterized in that a pixel having a gradation equal to or lower than a threshold value is determined as a black pixel and the black pixel ratio is measured.
帳票用紙上に設定された印字領域の位置情報とこの印字領域に印刷する文字コード,プリンタフォント名,文字サイズを定めた情報とから成る帳票データを作成する帳票データ作成機能と、
この作成された帳票データに基づいて前記印字領域のピクセルデータを作成し当該印字領域の位置情報と共に記憶装置に記憶させる画像データ作成機能と、
前記帳票データを予め接続されたプリンタへ出力する機能と、
前記プリンタが前記帳票データに基づいて印刷した帳票をスキャニングしたイメージスキャンから当該帳票のピクセルデータを印刷画像データとして入力する機能と、
前記記憶装置に記憶された前記印字領域のピクセルデータを基準にして前記印刷画像データにおける当該印字領域に相当する領域の画像データと比較する印刷結果比較機能と、
この比較した結果に基づいて前記印刷画像データに係る帳票が正常に印刷されたものであるか否かを判定する印刷状態判定機能と、をコンピュータに実行させることを特徴とする帳票印刷検品用プログラム。
A form data creation function for creating form data composed of position information of a print area set on the form paper and information defining a character code, a printer font name, and a character size to be printed on the print area;
An image data creation function for creating pixel data of the print area based on the created form data and storing it in a storage device together with position information of the print area;
A function of outputting the form data to a printer connected in advance;
A function of inputting pixel data of the form as print image data from an image scan obtained by scanning the form printed by the printer based on the form data;
A print result comparison function for comparing with image data of an area corresponding to the print area in the print image data based on pixel data of the print area stored in the storage device;
A form printing inspection program for causing a computer to execute a printing state determination function for determining whether or not the form relating to the print image data is normally printed based on the comparison result .
前記請求項9に記載の帳票印刷検品用プログラムにおいて、
前記画像データ作成機能を、前記印字領域のピクセルデータの黒ピクセル比率を計測して当該印字領域の位置情報と共に記憶装置に記憶させる機能とし、
前記印刷状態判定機能を、前記印刷画像データの前記印字領域に対応する領域の黒ピクセル比率を計測して前記記憶部に記憶された当該印字領域に係る黒ピクセル比率との差を計算し、この差が予め設定された誤差範囲内にあれば前記印刷画像データに係る帳票が正常に印刷されたものであると判定する機能として、前記コンピュータに実行させることを特徴とする帳票印刷検品用プログラム。
In the program for print inspection of forms according to claim 9,
The image data creation function is a function for measuring a black pixel ratio of pixel data in the print area and storing it in a storage device together with position information of the print area,
The printing state determination function measures a black pixel ratio of an area corresponding to the print area of the print image data and calculates a difference from the black pixel ratio related to the print area stored in the storage unit, A form printing inspection program executed by the computer as a function of determining that a form relating to the print image data is normally printed if the difference is within a preset error range.
JP2009210821A 2009-09-11 2009-09-11 Form printing system, form print inspection method and program Withdrawn JP2011060123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009210821A JP2011060123A (en) 2009-09-11 2009-09-11 Form printing system, form print inspection method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009210821A JP2011060123A (en) 2009-09-11 2009-09-11 Form printing system, form print inspection method and program

Publications (1)

Publication Number Publication Date
JP2011060123A true JP2011060123A (en) 2011-03-24

Family

ID=43947659

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009210821A Withdrawn JP2011060123A (en) 2009-09-11 2009-09-11 Form printing system, form print inspection method and program

Country Status (1)

Country Link
JP (1) JP2011060123A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014136353A (en) * 2013-01-16 2014-07-28 Nec Fielding Ltd Printer, abnormality detection device of printer and abnormality detection method for the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014136353A (en) * 2013-01-16 2014-07-28 Nec Fielding Ltd Printer, abnormality detection device of printer and abnormality detection method for the same

Similar Documents

Publication Publication Date Title
US9524545B2 (en) Apparatus, system, method and storage medium for image inspection result determination and verifying false defect detections due to position matching errors
US9443178B2 (en) Image processing apparatus, non-transitory computer readable medium, and image processing method for determining whether a print job is recoverable
US9544447B2 (en) Inspecting device, method for changing threshold, and computer-readable storage medium
US20200128135A1 (en) Image inspection apparatus and image inspection program
US8851593B1 (en) Image processing apparatus, image forming apparatus, non-transitory computer readable medium, and image processing method
JP2020006603A (en) Image inspection system, image inspection method and image inspection program
JP6438184B2 (en) System having function of verifying consistency with expected print output, and method of verification
JP6221661B2 (en) Inspection device, inspection system, inspection method, and printing system
US8564799B2 (en) Print quality validation of print jobs using bitmapped image
JP6256530B2 (en) Special processing indicator for print verification system
EP4236286B1 (en) Printed-matter inspection system, program, and printed-matter inspection method
JP4626151B2 (en) Printing inspection apparatus and method
US20120320388A1 (en) Relevance based print integrity verification
JP2012147140A (en) Image processing apparatus, image formation apparatus, image processing method, image processing program and storage medium
JP2014136353A (en) Printer, abnormality detection device of printer and abnormality detection method for the same
JP2011060123A (en) Form printing system, form print inspection method and program
US8305650B2 (en) Image to target comparator software
EP3842918B1 (en) Defect size detection mechanism
US11301180B2 (en) Information processing apparatus registering redo or erroneous process request
US8964192B2 (en) Print verification database mechanism
JP4924599B2 (en) Printing system, printing medium inspection program, and printing medium inspection apparatus
JP2019220906A (en) Image processing system, print instruction device, image processing device, and program
JP7298745B2 (en) Evaluation of print verification systems
JP3875169B2 (en) Plate inspection apparatus and plate inspection method
US12039206B2 (en) Image processing apparatus, image processing method, and storage medium

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20121204