JP4924599B2 - Printing system, printing medium inspection program, and printing medium inspection apparatus - Google Patents

Printing system, printing medium inspection program, and printing medium inspection apparatus Download PDF

Info

Publication number
JP4924599B2
JP4924599B2 JP2008324108A JP2008324108A JP4924599B2 JP 4924599 B2 JP4924599 B2 JP 4924599B2 JP 2008324108 A JP2008324108 A JP 2008324108A JP 2008324108 A JP2008324108 A JP 2008324108A JP 4924599 B2 JP4924599 B2 JP 4924599B2
Authority
JP
Japan
Prior art keywords
character string
print
character
encoding rule
information
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.)
Expired - Fee Related
Application number
JP2008324108A
Other languages
Japanese (ja)
Other versions
JP2010146371A (en
Inventor
健太郎 土屋
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2008324108A priority Critical patent/JP4924599B2/en
Publication of JP2010146371A publication Critical patent/JP2010146371A/en
Application granted granted Critical
Publication of JP4924599B2 publication Critical patent/JP4924599B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、印刷システム、印刷媒体検査プログラム及び印刷媒体検査装置に関する。   The present invention relates to a printing system, a printing medium inspection program, and a printing medium inspection apparatus.

従来、印刷物に印字された印字状態を検査する印刷物検査装置が知られている(例えば、特許文献1参照。)。   2. Description of the Related Art Conventionally, a printed matter inspection apparatus that inspects a printed state printed on a printed matter is known (see, for example, Patent Document 1).

この印刷物検査装置は、印刷物の検証用データを生成する検証用データ生成手段と、印刷された用紙上の所定位置の印字状態を検出して印字結果データを生成する印字結果検出手段と、印字結果検出手段によって生成された印字結果データに基いて印字状態データを生成する印字状態データ生成手段と、印字状態データ生成手段によって生成された印字状態データと、検証用データ生成手段によって生成された検証用データとを比較して印字品質を判定する印字品質判定手段とを備える。
特開2001−277676号公報
The printed matter inspection apparatus includes: a verification data generation unit that generates verification data for a printed matter; a print result detection unit that detects a print state at a predetermined position on the printed paper and generates print result data; and a print result Print status data generation means for generating print status data based on the print result data generated by the detection means, print status data generated by the print status data generation means, and verification data generated by the verification data generation means And a print quality judging means for comparing the data and judging the print quality.
JP 2001-277676 A

本発明の目的は、第1の符号化規則に基づく第1の文字列を前記第1の符号化規則とは異なる第2の符号化規則に基づく第2の文字列に変換し、第2の文字列に基づいて第2の符号化規則に基づく文字列に対応した印刷機で印刷した印刷物から、文字列の符号化規則の変換誤りを検出することができる印刷媒体検査プログラム及び印刷媒体検査装置を提供することにある。   An object of the present invention is to convert a first character string based on a first encoding rule into a second character string based on a second encoding rule different from the first encoding rule, Print medium inspection program and print medium inspection device capable of detecting conversion error of character string encoding rule from printed matter printed by printer corresponding to character string based on second encoding rule based on character string Is to provide.

本発明の一態様は、上記目的を達成するため、以下の印刷媒体検査プログラム及び印刷媒体検査装置を提供する。   In order to achieve the above object, one aspect of the present invention provides the following print medium inspection program and print medium inspection apparatus.

[1]第1の符号化規則に基づく第1の文字列を前記第1の符号化規則とは異なる第2の符号化規則に基づく第2の文字列に変換する変換手段と、
前記変換手段により変換された前記第2の文字列に対応する画像が印刷媒体に印刷され、その印刷媒体から前記第2の符号化規則を採用する読み取り装置により読み取られた画像データから前記第1の符号化規則に基づく第3の文字列を得る文字認識手段と、前記文字認識手段により認識された第3の文字列と、前記変換手段が変換対象とした前記第1の文字列とを比較し、その比較結果を出力する比較手段とを備えた印刷システム。
[1] Conversion means for converting a first character string based on the first encoding rule into a second character string based on a second encoding rule different from the first encoding rule;
The transformation image corresponding to the converted second character string is printed on the printing medium by means of the first image data read by the reading device employing the second coding rule from the print medium The character recognition means for obtaining the third character string based on the encoding rule of the above, the third character string recognized by the character recognition means, and the first character string to be converted by the conversion means are compared. And a comparison unit that outputs the comparison result.

[2]前記印刷媒体は、可変印刷データが有する複数のレコードにおいて指定された前記第1の文字列が、前記変換手段により前記第2の文字列に変換され、その第2の文字列が様式定義データに適用されることにより印刷された前記[1]に記載の印刷システム。 [2] In the print medium, the first character string specified in a plurality of records included in variable print data is converted into the second character string by the converting unit, and the second character string is formatted. The printing system according to [1], which is printed by being applied to definition data.

[3]前記文字認識手段は、前記文字の印刷態様情報を認識し、前記比較手段は、前記文字認識手段により認識された前記印刷態様情報と、前記変換手段が変換対象とした前記第1の文字列に割り当てられた印刷態様情報とを比較し、その比較結果を出力する前記[1]に記載の印刷システム。 [3] The character recognizing unit recognizes the printing mode information of the character, and the comparing unit recognizes the printing mode information recognized by the character recognizing unit and the first conversion target converted by the converting unit. The printing system according to [1], wherein the printing mode information assigned to the character string is compared and the comparison result is output.

[4]第1の符号化規則に基づく第1の文字列から変換された前記第1の符号化規則とは異なる第2の符号化規則に基づく第2の文字列が印刷媒体に印刷され、その印刷媒体から前記第2の符号化規則を採用する読み取り装置により読み取られた画像データから前記第1の符号化規則に基づく第3の文字列を得る文字認識ステップと、前記文字認識ステップにより認識された第3の文字列と、前記第2の文字列の変換前の前記第1の文字列とを比較し、その比較結果を出力する比較ステップとをコンピュータに実行さるための印刷媒体検査プログラム。 [4] A second character string based on a second encoding rule different from the first encoding rule converted from the first character string based on the first encoding rule is printed on a print medium; A character recognition step for obtaining a third character string based on the first encoding rule from image data read by the reading device adopting the second encoding rule from the print medium, and recognition by the character recognition step a third character string, the second comparing the first character string before conversion string, print media order to execute the comparing step outputs the comparison result to the computer Inspection program.

[5]第1の符号化規則に基づく第1の文字列から変換された前記第1の符号化規則とは異なる第2の符号化規則に基づく第2の文字列が印刷媒体に印刷され、その印刷媒体から前記第2の符号化規則を採用する読み取り装置により読み取られた画像データから前記第1の符号化規則に基づく第3の文字列を得る文字認識手段と、前記文字認識手段により認識された第3の文字列と、前記第2の文字列の変換前の前記第1の文字列とを比較し、その比較結果を出力する比較手段とを備えた印刷媒体検査装置。
[5] A second character string based on a second encoding rule different from the first encoding rule converted from the first character string based on the first encoding rule is printed on a print medium; Character recognition means for obtaining a third character string based on the first encoding rule from the image data read by the reading device adopting the second encoding rule from the print medium, and recognition by the character recognition means A print medium inspecting apparatus comprising: a comparing unit that compares the third character string thus obtained with the first character string before conversion of the second character string and outputs the comparison result.

請求項1,4,5に係る発明によれば、第1の符号化規則に基づく第1の文字列を前記第1の符号化規則とは異なる第2の符号化規則に基づく第2の文字列に変換し、第2の文字列に基づいて第2の符号化規則に基づく文字列に対応した印刷機で印刷した印刷物から、文字列の符号化規則の変換誤りを検出することができる。   According to the first, fourth, and fifth aspects of the invention, the second character based on the second encoding rule different from the first encoding rule is used as the first character string based on the first encoding rule. A conversion error in the character string encoding rule can be detected from a printed matter that is converted into a character string and printed by a printing machine corresponding to the character string based on the second encoding rule based on the second character string.

請求項2に係る発明によれば、バリアブル印刷によって印刷された印刷物から文字列の符号化規則の変換誤りを検出することができる。   According to the second aspect of the present invention, it is possible to detect a conversion error of the character string encoding rule from a printed matter printed by variable printing.

請求項3に係る発明によれば、さらに印刷態様情報を含めて印刷物から誤りを検出することができる。   According to the invention which concerns on Claim 3, an error can further be detected from printed matter including printing mode information.

本発明の実施の形態に係る印刷システムは、第1の符号化規則に基づく第1の文字列を前記第1の符号化規則とは異なる第2の符号化規則に基づく第2の文字列に変換する変換手段と、前記変換手段により変換された前記第2の文字列に対応する画像が印刷媒体に印刷され、その印刷媒体から読み取られた画像データの文字を認識し、前記第1の符号化規則に基づく第3の文字列を得る文字認識手段と、前記文字認識手段により認識された第3の文字列と、前記変換手段が変換対象とした前記第1の文字列とを比較し、その比較結果を出力する比較手段とを備える。   The printing system according to the embodiment of the present invention converts the first character string based on the first encoding rule into a second character string based on a second encoding rule different from the first encoding rule. Converting means for converting; and an image corresponding to the second character string converted by the converting means is printed on a print medium, recognizing characters of image data read from the print medium, and the first code Comparing the character recognition means for obtaining a third character string based on the conversion rule, the third character string recognized by the character recognition means, and the first character string to be converted by the conversion means; And a comparison means for outputting the comparison result.

上記構成において、第1の符号化規則に基づく第1の文字列を第2の符号化規則に基づく第2の文字列に変換して印刷された印刷媒体から文字認識手段により認識された第3の文字列と、第2の文字列の変換前の第1の文字列とが比較されて、印刷媒体に第1の文字列が正しく印刷されているか否かが検査されるので、符号化規則の変換時に文字化け等の変換ミスが発生した場合に、印刷媒体の不良が検出される。   In the above configuration, the third character recognized by the character recognition unit from the print medium printed by converting the first character string based on the first encoding rule into the second character string based on the second encoding rule. Is compared with the first character string before conversion of the second character string to check whether or not the first character string is correctly printed on the print medium. If a conversion error such as garbled characters occurs during conversion, a print medium defect is detected.

[実施の形態]
図1は、本発明の実施の形態に係る印刷システムの概略構成の一例を示す全体図である。この印刷システム1は、文字コード体系(文字の符号化規則、すなわち文字のエンコーディング)にレガシーコード系100aを採用するメインフレーム2と、文字コード体系にオープンコード系100bを採用する印刷指示装置3、プリンタ装置4及びスキャナ装置5とを備え、これらメインフレーム2、印刷指示装置3、プリンタ装置4及びスキャナ装置5がネットワーク10により相互に接続されている。
[Embodiment]
FIG. 1 is an overall view showing an example of a schematic configuration of a printing system according to an embodiment of the present invention. The printing system 1 includes a mainframe 2 that employs a legacy code system 100a as a character code system (character encoding rules, that is, character encoding), and a print instruction apparatus 3 that employs an open code system 100b as a character code system. A printer apparatus 4 and a scanner apparatus 5 are provided, and the main frame 2, the print instruction apparatus 3, the printer apparatus 4, and the scanner apparatus 5 are connected to each other via a network 10.

なお、図1に例示した印刷システム1では、印刷指示装置3、プリンタ装置4及びスキャナ装置5の数はそれぞれ1つであるが、複数備えられていてもよい。   In the printing system 1 illustrated in FIG. 1, the number of the print instruction device 3, the printer device 4, and the scanner device 5 is one, but a plurality may be provided.

ネットワーク10は、有線通信(電気ケーブル、光ケーブル等)、及び無線通信(電波、赤外線等)等によりデータの送受信を行うLAN(ローカルエリアネットワーク)、インターネット等の通信網である。   The network 10 is a communication network such as a LAN (local area network) that transmits and receives data by wired communication (electric cable, optical cable, etc.), wireless communication (radio waves, infrared rays, etc.), and the like.

レガシーコード系100aは、例えば、メインフレーム2を製造する製造メーカ(ベンダ)等によって定義された文字コード体系であり、例えば、英数字を定義したEBCDICを漢字が扱えるように独自拡張したものが該当する。   The legacy code system 100a is, for example, a character code system defined by a manufacturer (vendor) that manufactures the mainframe 2, and is, for example, an EBCDIC that defines alphanumeric characters that is uniquely expanded so that Kanji can be handled. To do.

オープンコード系100bは、Windows(登録商標)、Unix(登録商標)、Linux(登録商標)等のオペレーション・システム(OS)に依存することなく、取り扱い可能な文字コード体系であり、例えば、ASCII、Shift−JIS、Unicode等が該当する。   The open code system 100b is a character code system that can be handled without depending on an operation system (OS) such as Windows (registered trademark), Unix (registered trademark), or Linux (registered trademark). Shift-JIS, Unicode, etc. correspond.

メインフレーム2は、レガシーコード系100aの文字コードによるレガシーコード系文字情報(第1の符号化規則に基づく第1の文字列)が再利用可能に複数格納されたホストDB23と、ホストDB23のレガシーコード系文字情報への参照先が含まれるオリジナルデータ11Aとを有する。ホストDB23及びオリジナルデータ11Aの詳細は後述する。   The main frame 2 includes a host DB 23 in which a plurality of pieces of legacy code system character information (first character string based on the first encoding rule) based on the character codes of the legacy code system 100a are stored, and the legacy of the host DB 23 And original data 11A including a reference destination to the code system character information. Details of the host DB 23 and the original data 11A will be described later.

印刷指示装置3は、オリジナルデータ11Aに対する印刷指示を受け付けると、そのオリジナルデータ11Aに基づいてホストDB23を参照してバリアブルデータ11Bを生成する。そして、印刷指示装置3は、そのバリアブルデータ11Bと、そのバリアブルデータに適用するテンプレート12を指定するテンプレート指定情報等を含む印刷ジョブを生成する。バリアブルデータ11Bの詳細は後述する。   When receiving the print instruction for the original data 11A, the print instruction apparatus 3 refers to the host DB 23 based on the original data 11A and generates the variable data 11B. Then, the print instruction apparatus 3 generates a print job including the variable data 11B and template specifying information for specifying the template 12 to be applied to the variable data. Details of the variable data 11B will be described later.

プリンタ装置4は、印刷指示装置3から受信した印刷ジョブに含まれるバリアブルデータ(可変印刷データ)11Bが有する複数のレコードにおいて指定されたオープンコード系文字情報を、テンプレート指定情報により指定されたテンプレート(様式定義)12に適用することにより印刷物(印刷媒体)14を印刷する。   The printer device 4 uses the open code system character information specified in the plurality of records included in the variable data (variable print data) 11B included in the print job received from the print instruction device 3 as the template (specified by the template specification information). The printed matter (print medium) 14 is printed by applying to the (form definition) 12.

スキャナ装置5は、印刷物14を1ページずつ供給するADF(自動給紙装置)と、ADFから供給された印刷物14を1ページずつ光学的に読み取って読取画像データを生成する読取部とを備え、読取部により生成した読取画像データをメインフレーム2に送信する。   The scanner device 5 includes an ADF (automatic paper feeder) that supplies the printed material 14 page by page, and a reading unit that optically reads the printed material 14 supplied from the ADF page by page and generates read image data. The read image data generated by the reading unit is transmitted to the main frame 2.

(印刷指示装置の構成)
図2は、印刷指示装置の概略構成の一例を示すブロック図である。印刷指示装置3は、この印刷指示装置3の各部を制御する、例えば、CPU等により実現される制御部30と、各種のプログラム及びデータを記憶する、例えば、ハードディスク、RAM、ROM等により実現される記憶部31と、ネットワーク10に接続された、例えば、ネットワークインタフェースカードにより実現される通信部32と、例えば、キーボード、マウス等により実現される入力部33と、各種画面等を表示する、例えば、液晶ディスプレイ等により実現される表示部34とを備える。このような印刷指示装置3は、例えば、パーソナルコンピュータ(PC)、携帯情報端末(PDA)、携帯電話機等により構成されている。
(Configuration of print instruction device)
FIG. 2 is a block diagram illustrating an example of a schematic configuration of the print instruction apparatus. The print instruction apparatus 3 is realized by, for example, a hard disk, a RAM, a ROM, or the like that controls each unit of the print instruction apparatus 3, for example, a control unit 30 realized by a CPU or the like, and stores various programs and data. For example, a storage unit 31 connected to the network 10, a communication unit 32 realized by a network interface card, an input unit 33 realized by a keyboard, a mouse, etc., and various screens, for example. And a display unit 34 realized by a liquid crystal display or the like. Such a print instruction apparatus 3 is composed of, for example, a personal computer (PC), a personal digital assistant (PDA), a mobile phone, and the like.

記憶部31には、上述のバリアブルデータ11Bの他に、文字情報処理プログラム310が記憶されている。   The storage unit 31 stores a character information processing program 310 in addition to the variable data 11B described above.

制御部30は、文字情報処理プログラム310に従って動作することにより、コード変換手段(変換手段)300、印刷ジョブ生成手段301、及び指定情報変換手段302等として機能する。   The control unit 30 operates as a code conversion unit (conversion unit) 300, a print job generation unit 301, a specified information conversion unit 302, and the like by operating according to the character information processing program 310.

コード変換手段300は、オリジナルデータ11Aにより指定されたホストDB23のレガシーコード系文字情報を、オープンコード系100bの文字コードによるオープンコード系文字情報(第2の符号化規則に基づく第2の文字列)に変換し、バリアブルデータ11Bを生成する。   The code conversion means 300 converts the legacy code system character information of the host DB 23 specified by the original data 11A into the open code system character information (a second character string based on the second encoding rule) using the character code of the open code system 100b. ) To generate variable data 11B.

印刷ジョブ生成手段301は、バリアブルデータ11Bと、テンプレート指定情報とから印刷ジョブを生成する。   The print job generation unit 301 generates a print job from the variable data 11B and the template designation information.

指定情報変換手段302は、後述するページ別レコード情報に含まれているバリアブルデータのフィールド指定情報をホストDBのフィールド指定情報に変換する。   The designation information conversion means 302 converts the field designation information of variable data included in the record information for each page described later into the field designation information of the host DB.

(プリンタ装置の構成)
図3は、プリンタ装置の概略構成の一例を示すブロック図である。プリンタ装置4は、印刷指示装置3と同様に構成された制御部40、記憶部41及び通信部42を備えるとともに、可視像を紙等の記録媒体に形成することにより印刷物14を出力する印刷部43を備える。
(Configuration of printer device)
FIG. 3 is a block diagram illustrating an example of a schematic configuration of the printer apparatus. The printer device 4 includes a control unit 40, a storage unit 41, and a communication unit 42 configured in the same manner as the print instruction device 3, and prints the printed matter 14 by forming a visible image on a recording medium such as paper. The unit 43 is provided.

記憶部41には、上述のテンプレート12の他に、印刷制御プログラム410及びイメージデータ13等が記憶されている。   In addition to the template 12 described above, the storage unit 41 stores a print control program 410, image data 13, and the like.

イメージデータ13は、印刷物14に印刷される画像データであり、例えば、図表、ロゴ、イラスト及び写真等である。なお、イメージデータ13は、印刷指示装置3を介して編集可能であってもよい。   The image data 13 is image data printed on the printed material 14, and is, for example, a chart, a logo, an illustration, a photograph, or the like. The image data 13 may be editable via the print instruction device 3.

制御部40は、印刷制御プログラム410に従って動作することにより、ジョブ解析手段400、抽出手段401、及びRIP処理手段402等として機能する。   The control unit 40 operates as the job analysis unit 400, the extraction unit 401, the RIP processing unit 402, and the like by operating according to the print control program 410.

ジョブ解析手段400は、印刷ジョブを解析し、バリアブルデータ11Bと、テンプレート指定情報とを取得する。   The job analysis unit 400 analyzes the print job and acquires variable data 11B and template designation information.

抽出手段401は、テンプレート指定情報により指定されたテンプレート12に、バリアブルデータ11Bの複数のレコードにそれぞれ記録された項目データを適用することにより、複数のレコードに基づいて印刷物14に印刷される印刷内容と、印刷内容が印刷される領域情報と、印刷内容に関する印刷態様情報とをページ単位で抽出し、ページ別レコード情報を生成する。   The extraction unit 401 applies the item data recorded in the plurality of records of the variable data 11B to the template 12 specified by the template specification information, thereby printing contents to be printed on the printed material 14 based on the plurality of records. Then, the area information in which the print content is printed and the print mode information related to the print content are extracted for each page, and the record information for each page is generated.

印刷内容は、例えば、項目データにより指定された文字列及びイメージデータ等を示す情報である。領域情報は、印刷内容として文字列及びイメージデータ等が印刷された印刷物14における領域を示す情報である。印刷態様情報は、印刷内容を印刷する際に指定されたフォント、フォントサイズ、色及び背景等を示す情報である。   The print content is information indicating, for example, a character string designated by the item data and image data. The area information is information indicating an area in the printed matter 14 on which character strings, image data, and the like are printed as print contents. The print mode information is information indicating the font, font size, color, background, and the like specified when printing the print contents.

RIP処理手段402は、抽出手段401により抽出された印刷内容、領域情報及び印刷態様情報に基づいて、例えば、ビットマップデータ等のラスタ形式のデータに展開するRIP(Raster Image Processor)処理を行い、画像データをページ単位で生成する。   The RIP processing unit 402 performs, for example, RIP (Raster Image Processor) processing that expands into raster format data such as bitmap data based on the print content, area information, and print mode information extracted by the extraction unit 401. Generate image data in page units.

印刷部43は、RIP処理手段402により生成された画像データに基づいて印刷物14を印刷する。印刷部43には、例えば、電子写真方式、インクジェット方式、感熱転写方式等の画像形成方式が用いるとよい。   The printing unit 43 prints the printed material 14 based on the image data generated by the RIP processing unit 402. For the printing unit 43, for example, an image forming method such as an electrophotographic method, an ink jet method, or a thermal transfer method may be used.

(メインフレームの構成)
図4は、メインフレームの概略構成の一例を示すブロック図である。メインフレーム2は、印刷指示装置3と同様に構成された制御部20、記憶部21及び通信部22を備えるとともに、レガシーコード系文字情報の管理、検索及び抽出等を行うホストDB23を備える。
(Mainframe configuration)
FIG. 4 is a block diagram illustrating an example of a schematic configuration of the main frame. The main frame 2 includes a control unit 20, a storage unit 21, and a communication unit 22 configured in the same manner as the print instruction apparatus 3, and a host DB 23 that manages, searches, and extracts legacy code system character information.

記憶部21には、上述のオリジナルデータ11Aの他に、検査制御プログラム(印刷媒体検査プログラム)210が記憶されている。   The storage unit 21 stores an inspection control program (print medium inspection program) 210 in addition to the above-described original data 11A.

制御部20は、検査制御プログラム210に従って動作することにより、検査データ生成手段200、文字認識手段201、及び検査処理手段(比較手段)202等として機能する。なお、文字認識手段201及び検査処理手段202は、印刷媒体検査装置を構成する。   The control unit 20 operates in accordance with the inspection control program 210, thereby functioning as an inspection data generation unit 200, a character recognition unit 201, an inspection processing unit (comparison unit) 202, and the like. Note that the character recognition unit 201 and the inspection processing unit 202 constitute a print medium inspection device.

検査データ生成手段200は、指定情報変換手段302により変換されたホストDBのフィールド指定情報に基づいて、印刷物14に印刷されたオープンコード系文字情報であってコード変換手段300が変換対象としたレガシーコード系文字情報を取得し、その取得したレガシーコード系文字情報を印刷内容として含む検査データを生成する。   The inspection data generation means 200 is open code character information printed on the printed matter 14 based on the field designation information of the host DB converted by the designation information conversion means 302, and is a legacy to be converted by the code conversion means 300. Code system character information is acquired, and inspection data including the acquired legacy code system character information as print contents is generated.

文字認識手段201は、スキャナ装置5により印刷物14が読み取られた読取画像データからレガシーコード系で定義された辞書を用いて認識してレガシーコード系で表された印刷内容(第3の文字列)及び印刷態様情報を得る。レガシーコード系で定義された辞書は、各種の文字パターンと、レガシーコード系文字情報とが対応付けられた情報であり、読取画像データから切り出された文字パターンに対して、例えば、パターンマッチング法等によって類似度の高いレガシーコード系文字情報に変換するための情報である。   The character recognizing unit 201 recognizes from the read image data obtained by reading the printed matter 14 by the scanner device 5 using a dictionary defined in the legacy code system, and print contents (third character string) represented in the legacy code system. And print mode information is obtained. The dictionary defined in the legacy code system is information in which various character patterns are associated with the legacy code system character information. For example, a pattern matching method or the like is applied to the character pattern cut out from the read image data. Is information for converting into legacy code-type character information having a high degree of similarity.

検査処理手段202は、文字認識手段201により認識された印刷内容及び印刷態様情報と、検査データに含まれる印刷内容及び印刷態様情報とを比較し、その比較結果を出力する。   The inspection processing unit 202 compares the print content and print mode information recognized by the character recognition unit 201 with the print content and print mode information included in the inspection data, and outputs the comparison result.

ホストDB23は、ユーザに関するレガシーコード系文字情報を管理するユーザ管理テーブル230と、例えば、ユーザ等がクレジットカード等で利用した代金の請求に関するレガシーコード系文字情報を管理する請求管理テーブル231とを有する。   The host DB 23 includes a user management table 230 that manages legacy code-related character information related to users, and a billing management table 231 that manages legacy code-based character information related to billing charges used by users, for example, with credit cards. .

図5(a)は、ユーザ管理テーブルの一例を示す図である。このユーザ管理テーブル230は、各行(M1,M2,M3,…)毎に、各列を構成する名前(N1)、郵便番号(N2)、住所(N3)のフィールドが設けられている。各フィールドには、レガシーコード系の文字コードによるレガシーコード系文字情報230aがそれぞれ含まれている。   FIG. 5A illustrates an example of a user management table. In this user management table 230, for each row (M1, M2, M3,...), A name (N1), zip code (N2), and address (N3) fields constituting each column are provided. Each field includes legacy code character information 230a based on a legacy code character code.

図5(b)は、請求管理テーブルの一例を示す図である。この請求管理テーブル231には、各行(P1,P2,P3,…)毎に、各列を構成する費目(Q1)、購入日(Q2)、請求金額(Q3)のフィールドが設けられている。各フィールドには、レガシーコード系の文字コードによるレガシーコード系文字情報231aがそれぞれ含まれている。   FIG. 5B is a diagram illustrating an example of a billing management table. The billing management table 231 includes fields for cost items (Q1), purchase dates (Q2), and billing amounts (Q3) constituting each column for each row (P1, P2, P3,...). Each field includes legacy code character information 231a based on a legacy code character code.

(オリジナルデータ及びバリアブルデータのデータ構成)
図6(a)は、オリジナルデータの一例を示す図である。このオリジナルデータ11Aには、複数のレコードが、レコード番号(R1,R2,R3,…)110順に含まれている。各レコードには、印刷様式を指定し、複数の値を取り得る印刷様式指定フラグ(Flag)111と、その印刷様式指定フラグ111の値に対応する複数の項目データ(D1〜D3)112A〜112Cとが含まれている。バリアブルデータ11Bは、印刷様式指定フラグ111及び項目データ112A〜112Cの間をコンマ等の区切り文字により区切られており、例えば、CSV形式により生成されている。
(Data structure of original data and variable data)
FIG. 6A shows an example of original data. The original data 11A includes a plurality of records in the order of record numbers (R1, R2, R3,...) 110. In each record, a print format is designated, a print format designation flag (Flag) 111 that can take a plurality of values, and a plurality of item data (D1 to D3) 112A to 112C corresponding to the value of the print format designation flag 111. And are included. The variable data 11B is divided between the printing format designation flag 111 and the item data 112A to 112C by a delimiter such as a comma, and is generated in, for example, the CSV format.

項目データ112A〜112Cには、ホストDB23における参照先のフィールドを指定するホストDBのフィールド指定情報113がそれぞれ含まれている。例えば、レコード番号「R1」、項目データ番号「D1」におけるホストDBのフィールド指定情報113には、ユーザ管理テーブル230の1行目で1列目のフィールド「M1N1」が参照先として指定されている。また、レコード番号「R2」、項目データ番号「D2」におけるホストDBのフィールド指定情報113には、請求管理テーブル231の1行目で2列目のフィールド「P1Q2」が参照先として指定されている。   The item data 112A to 112C includes host DB field designation information 113 for designating a reference field in the host DB 23, respectively. For example, in the field specification information 113 of the host DB for the record number “R1” and the item data number “D1”, the field “M1N1” in the first column of the first row of the user management table 230 is specified as a reference destination. . Further, in the field designation information 113 of the host DB in the record number “R2” and the item data number “D2”, the field “P1Q2” in the second column of the first row of the billing management table 231 is designated as a reference destination. .

図6(b)は、バリアブルデータの一例を示す図である。このバリアブルデータ11Bは、図6(a)に示すオリジナルデータ11Aと同様に、印刷様式指定フラグ111及び複数の項目データ112A〜112Cが含まれる複数のレコードを有するが、項目データ112A〜112Cには、コード変換手段300によりレガシーコード系文字情報113から変換されたオープンコード系文字情報114がそれぞれ含まれている。   FIG. 6B is a diagram illustrating an example of variable data. Like the original data 11A shown in FIG. 6A, the variable data 11B has a plurality of records including a printing format designation flag 111 and a plurality of item data 112A to 112C. The item data 112A to 112C includes The open code system character information 114 converted from the legacy code system character information 113 by the code conversion means 300 is included.

(テンプレートのデータ構成)
図7は、テンプレートの一例を示す図である。このテンプレート12には、バリアブルデータ11Bの印刷様式指定フラグ111の値に対応してそれぞれ定義された複数の様式定義データ120A〜120Cと、バリアブルデータ11Bに依存しない複数の固定部定義データ121と、改ページ定義データ122とを含んで構成されている。
(Template data structure)
FIG. 7 is a diagram illustrating an example of a template. The template 12 includes a plurality of format definition data 120A to 120C respectively defined corresponding to the value of the print format designation flag 111 of the variable data 11B, a plurality of fixed part definition data 121 independent of the variable data 11B, The page break definition data 122 is included.

様式定義データ120A〜120Cの各々には、印刷様式指定フラグ111の値に応じて、各項目データ112A〜112Cに基づいて印刷される印刷内容と、印刷内容を配置する領域情報と、印刷する際の色、フォント及び背景等が指定された印刷態様情報等が含まれている。   In each of the format definition data 120A to 120C, according to the value of the printing format designation flag 111, the print contents to be printed based on the item data 112A to 112C, the area information for arranging the print contents, and the printing Printing mode information in which the color, font, background, and the like are designated.

印刷様式指定フラグ111が「1」に対応する様式定義データ120Aには、各項目データ112A〜112Cをそれぞれ配置するバリアブルフィールド123A〜123Cが定義されている。バリアブルフィールド123A〜123Cは、項目データを文字列として印刷するものであり、例えば、項目データとの関連付け情報、項目データを配置する情報、印刷態様情報がそれぞれ指定されている。   In the format definition data 120A corresponding to the printing format designation flag 111 of “1”, variable fields 123A to 123C in which the item data 112A to 112C are respectively arranged are defined. The variable fields 123 </ b> A to 123 </ b> C are for printing item data as character strings. For example, association information with item data, information for arranging item data, and printing mode information are designated.

印刷様式指定フラグ111が「2」に対応する様式定義データ120Bには、印刷様式指定フラグ111に「2」が含まれたレコードが続く限り、各項目データ112A〜112Cを、例えば、表形式の1行分として配置するとともに、その表形式で各レコードを配置した際に記録媒体の余白がなくなったときには改ページを行う明細出力処理124を行う旨が定義されている。   As long as the record including “2” in the print format designation flag 111 continues in the format definition data 120B corresponding to the print format designation flag 111 of “2”, each item data 112A to 112C is stored in, for example, a table format. It is defined that a detailed output process 124 for performing a page break is performed when there is no margin in the recording medium when the records are arranged in the table format when the records are arranged in one line.

印刷様式指定フラグ111が「3」に対応する様式定義データ120Cには、各項目データ112A〜112Cによりクーポンの種類を特定し、その特定した種類のクーポンに対応するイメージデータ13を印刷するクーポン出力処理125を行う旨が定義されている。   In the format definition data 120C corresponding to the printing format designation flag 111 of “3”, a coupon output is specified by specifying the type of coupon by each item data 112A to 112C and printing the image data 13 corresponding to the specified type of coupon. It is defined that the process 125 is performed.

固定部定義データ121は、バリアブルデータ11Bに依存しない文字列若しくはイメージデータ13等の固定データを印刷するものであり、例えば、その固定データを指定する指定情報、固定データを配置する領域情報、印刷態様情報等が定義されている。   The fixed part definition data 121 is for printing fixed data such as a character string or image data 13 that does not depend on the variable data 11B. For example, designation information for designating the fixed data, area information for arranging the fixed data, printing Aspect information and the like are defined.

改ページ定義データ122には、テンプレート12においてこの位置まで処理が行われた場合に改ページを行う旨が定義されている。   The page break definition data 122 defines that a page break is performed when processing up to this position in the template 12 is performed.

(実施の形態の動作)
次に、本発明の実施の形態に係る印刷システム1の動作の一例を図6〜図11を参照し、図10のフローチャート従って説明する。
(Operation of the embodiment)
Next, an example of the operation of the printing system 1 according to the embodiment of the present invention will be described with reference to the flowchart of FIG. 10 with reference to FIGS.

(1)文字コード変換による印刷ジョブ生成
まず、ユーザが、印刷指示装置3の入力部33を操作し、図6(a)に例示したオリジナルデータ11Aと、そのオリジナルデータ11Aに適用する、図7に例示したテンプレート12を指定することにより印刷指示を行うと、制御部30は、入力部33を介してその印刷指示の操作を受け付ける(S1)。
(1) Print Job Generation by Character Code Conversion First, the user operates the input unit 33 of the print instruction apparatus 3 to apply to the original data 11A illustrated in FIG. 6A and the original data 11A. When the printing instruction is performed by specifying the template 12 illustrated in FIG. 5, the control unit 30 receives the operation of the printing instruction via the input unit 33 (S1).

次に、コード変換手段300は、印刷指示の対象となるオリジナルデータ11Aにおいてフィールド指定情報113により指定されたホストDB23のフィールドに含まれるレガシーコード系文字情報の送信要求をメインフレーム2に送信する(S2)。   Next, the code conversion means 300 transmits a transmission request for the legacy code system character information included in the field of the host DB 23 designated by the field designation information 113 in the original data 11A that is the target of the print instruction to the mainframe 2 ( S2).

次に、メインフレーム2の制御部20は、印刷指示装置3からの送信要求に応じて、ホストDB23が有するユーザ管理テーブル230及び請求管理テーブル231において指定されたフィールドからレガシーコード系文字情報を読み出し、そのレガシーコード系文字情報を印刷指示装置3に送信する(S3)。   Next, the control unit 20 of the main frame 2 reads legacy code character information from the fields specified in the user management table 230 and the billing management table 231 of the host DB 23 in response to a transmission request from the print instruction apparatus 3. Then, the legacy code character information is transmitted to the print instruction apparatus 3 (S3).

次に、コード変換手段300は、各項目データに対応したレガシーコード系文字情報を受信すると、そのレガシーコード系文字情報をオープンコード系文字情報に変換し、図6(b)に例示したバリアブルデータ11Bを生成する(S4)。   Next, upon receiving the legacy code system character information corresponding to each item data, the code conversion means 300 converts the legacy code system character information into open code system character information, and the variable data illustrated in FIG. 6B. 11B is generated (S4).

そして、印刷ジョブ生成手段301は、そのバリアブルデータ11Bと、テンプレート指定情報とから印刷ジョブを生成し、その印刷ジョブをプリンタ装置4に送信する(S5)。   Then, the print job generation unit 301 generates a print job from the variable data 11B and the template designation information, and transmits the print job to the printer device 4 (S5).

(2)ページ別レコード情報の抽出及び印刷物の出力
次に、プリンタ装置4のジョブ解析手段400は、印刷指示装置3から印刷ジョブを受信すると、その印刷ジョブを解析し、バリアブルデータ11Bと、テンプレート指定情報とを取得する(S10)。
(2) Extraction of Record Information by Page and Output of Printed Material Next, when the job analysis unit 400 of the printer device 4 receives the print job from the print instruction device 3, the job analysis unit 400 analyzes the print job, and creates the variable data 11B, the template The designated information is acquired (S10).

抽出手段401は、そのテンプレート指定情報により指定されたテンプレート12に、バリアブルデータ11Bの複数のレコードにそれぞれ記録された項目データを適用することにより、複数のレコードに基づいて印刷される印刷内容と、印刷内容が印刷される領域情報と、印刷内容に関する印刷態様情報とをページ単位で抽出することによりページ別レコード情報を生成する(S11)。   The extracting unit 401 applies the item data recorded in each of the plurality of records of the variable data 11B to the template 12 specified by the template specification information, and print contents to be printed based on the plurality of records. The page-specific record information is generated by extracting the area information in which the print content is printed and the print mode information related to the print content in units of pages (S11).

図11は、図10におけるステップS11の詳細な動作の一例を示すフローチャートである。抽出手段401は、そのバリアブルデータ11Bに含まれる各レコードをレコード単位で処理すべく、処理対象のレコードを示すレコードカウンタRを「1」に初期化し、処理対象のページ番号を示すページカウンタPを「1」に初期化する(S101)。   FIG. 11 is a flowchart showing an example of detailed operation of step S11 in FIG. The extraction means 401 initializes a record counter R indicating the processing target record to “1” and processes a page counter P indicating the processing target page number in order to process each record included in the variable data 11B in units of records. It is initialized to “1” (S101).

次に、抽出手段401は、バリアブルデータ11BからレコードカウンタRが示すR行目のレコードを読み出す(S110)。そして、抽出手段401は、その読み出したレコードの印刷様式指定フラグを取得する(S111)。   Next, the extraction unit 401 reads the record of the Rth row indicated by the record counter R from the variable data 11B (S110). Then, the extraction unit 401 acquires the print format designation flag of the read record (S111).

次に、抽出手段401は、テンプレート12においてその印刷様式指定フラグに応じた様式定義データに従って、R行目のレコードに記録された項目データを処理する(S112)。   Next, the extraction unit 401 processes the item data recorded in the record of the R-th line according to the format definition data corresponding to the print format designation flag in the template 12 (S112).

そして、抽出手段401は、項目データを処理した際に、その項目データによる印刷内容、領域情報及び印刷態様情報を印刷情報として取得し、それら印刷内容、領域情報及び印刷態様情報をページ番号Pに関連付けて記憶部31に一時記憶する(S113)。   Then, when processing the item data, the extraction unit 401 acquires the print contents, area information, and print mode information based on the item data as print information, and sets the print contents, area information, and print mode information to the page number P. The information is temporarily stored in the storage unit 31 in association (S113).

そして、抽出手段401は、その様式定義データに従って項目データを処理した際に改ページが必要か否かを判定し(S120)、改ページが必要と判定した場合には(S120:Yes)、ページカウンタPに「1」を加算(インクリメント)する(S121)。なお、抽出手段401は、改ページが必要ではないと判定した場合には(S120:No)、上記ステップS121を実行することなく、次のステップS130に進む。   Then, the extraction unit 401 determines whether or not a page break is necessary when the item data is processed according to the format definition data (S120), and if it is determined that a page break is necessary (S120: Yes), the page "1" is added (incremented) to the counter P (S121). If the extraction unit 401 determines that a page break is not necessary (S120: No), the extraction unit 401 proceeds to the next step S130 without executing step S121.

次に、抽出手段401は、R行目のレコードが、バリアブルデータ11Bにおいて最終レコードであるか否かを判定し(S130)、最終レコードでないと判定した場合には(S130:No)、レコードカウンタRに「1」を加算し(S131)、ステップS110に戻る。一方、抽出手段401は、最終レコードであると判定した場合には(S130:Yes)、抽出手段401は、上記ステップS114により記憶部31に一時記憶した情報に基づいて、ページ別レコード情報を生成する(S140)。   Next, the extraction unit 401 determines whether or not the record in the Rth row is the last record in the variable data 11B (S130). If it is determined that the record is not the last record (S130: No), the record counter “1” is added to R (S131), and the process returns to step S110. On the other hand, if the extraction unit 401 determines that the record is the last record (S130: Yes), the extraction unit 401 generates record information for each page based on the information temporarily stored in the storage unit 31 in step S114. (S140).

(ページ別レコード情報の具体例)
図8(a)は、ページ別レコード情報の一例を示す図である。このページ別レコード情報15Aには、ページ番号(page)150と、印刷物の左上を原点としたx座標(x)、y座標(y)、幅(width)及び高さ(height)からなる領域情報151と、印刷内容(value)152と、例えば、フォント(Font)、フォントサイズ(Fontsize)等による印刷態様情報153とが含まれている。
(Specific example of record information by page)
FIG. 8A is a diagram illustrating an example of the record information for each page. The page-specific record information 15A includes area information including a page number (page) 150 and an x coordinate (x), ay coordinate (y), a width (width), and a height (height) with the upper left corner of the printed material as the origin. 151, print content (value) 152, and print mode information 153 based on, for example, font (Font), font size (Fontsize), and the like.

印刷内容152には、バリアブルデータ11Bの項目データがレコード番号及び項目データ番号により指定されたバリアブルデータのフィールド指定情報154が含まれている。   The print content 152 includes variable data field designation information 154 in which the item data of the variable data 11B is designated by the record number and the item data number.

次に、抽出手段401は、そのページ別レコード情報15AをRIP処理手段402と、印刷指示装置3とに送信する。   Next, the extraction unit 401 transmits the per-page record information 15 </ b> A to the RIP processing unit 402 and the print instruction apparatus 3.

そして、RIP処理手段402は、そのページ別レコード情報15Aに基づいてRIP処理を行うことにより画像データに変換し、その画像データを印刷部43により記録媒体に印刷し、印刷物を印刷する(S13)。   Then, the RIP processing unit 402 performs RIP processing based on the page-specific record information 15A to convert it into image data, prints the image data on a recording medium by the printing unit 43, and prints a printed matter (S13). .

(印刷物の具体例)
図9は、印刷物の一例を示す図である。この印刷物14A〜14Cは、図6(b)に例示したバリアブルデータ11Bが、図7に例示したテンプレート12に適用されることにより印刷されたものである。なお、図9に例示した印刷物14A〜14Cは、片面に印刷されているが、両面に印刷されていてもよいし、片面及び両面が混合して印刷されていてもよい。
(Specific examples of printed materials)
FIG. 9 is a diagram illustrating an example of a printed material. The printed materials 14A to 14C are printed by applying the variable data 11B illustrated in FIG. 6B to the template 12 illustrated in FIG. In addition, although printed matter 14A-14C illustrated in FIG. 9 is printed on the single side | surface, it may be printed on both surfaces, and the single side | surface and both surfaces may be mixed and printed.

1ページ目と2ページ目の印刷物14A,14Bは、1行目から5行目までのレコードに基づいて印刷されている。1行目のレコードは、印刷様式指定フラグ111が「1」であるので、レコードの項目データ112A〜112Cは、テンプレート12のバリアブルフィールド123A〜123Cにそれぞれ埋め込まれ、宛先140Aとして印刷されている。   The printed materials 14A and 14B on the first and second pages are printed based on the records from the first line to the fifth line. In the record on the first line, since the print format designation flag 111 is “1”, the item data 112A to 112C of the record are respectively embedded in the variable fields 123A to 123C of the template 12 and printed as the destination 140A.

2行目から4行目までのレコードは、印刷様式指定フラグ111が「2」であるので、レコードの項目データ112A〜112Cは、テンプレート12の明細出力処理124の引数となって明細出力処理124がそれぞれ行われ、1ページ目と2ページ目の印刷物14A,14Bに渡って明細表141Aが印刷されている。   Since the print format designation flag 111 is “2” for the records from the second line to the fourth line, the item data 112A to 112C of the records become arguments of the detail output process 124 of the template 12 and the detail output process 124 The detailed table 141A is printed over the printed materials 14A and 14B on the first page and the second page.

5行目のレコードは、印刷様式指定フラグ111が「3」であるので、レコードの項目データ112A〜112Cは、テンプレート12のクーポン出力処理125の引数となってクーポン出力処理125が行われる。その結果、2ページ目の印刷物14Bの明細表141Aの下に、例えば、イメージデータ13がクーポン券142として印刷されている。   In the record on the fifth line, since the print format designation flag 111 is “3”, the item data 112A to 112C of the record becomes an argument of the coupon output process 125 of the template 12 and the coupon output process 125 is performed. As a result, for example, the image data 13 is printed as a coupon ticket 142 under the detailed table 141A of the printed matter 14B on the second page.

3ページ目の印刷物14Cは、6行目及び7行目のレコードに基づいて印刷されている。6行目のレコードは、印刷様式指定フラグ111が「1」であるので、レコードの項目データ112A〜112Cは、バリアブルフィールドに埋め込まれ、宛先140Bとして印刷されている。また、7行目のレコードは、印刷様式指定フラグ111が「2」であるので、明細出力処理124が行われ、明細表141Bが印刷されている。   The printed material 14C on the third page is printed based on the records on the sixth and seventh lines. In the record on the sixth line, since the print format designation flag 111 is “1”, the item data 112A to 112C of the record are embedded in the variable field and printed as the destination 140B. In the record on the seventh line, since the print format designation flag 111 is “2”, the detail output process 124 is performed and the detail table 141B is printed.

(3)検査データの生成
印刷指示装置3の指定情報変換手段302は、上記ステップS11において抽出手段401により生成されたページ別レコード情報15Aを受信すると、そのページ別レコード情報15Aに含まれているバリアブルデータのフィールド指定情報154をホストDBのフィールド指定情報に変換することにより、変換後のページ別レコード情報を生成する(S20)。
(3) Generation of Inspection Data When the designation information conversion unit 302 of the print instruction apparatus 3 receives the page-specific record information 15A generated by the extraction unit 401 in step S11, it is included in the page-specific record information 15A. By converting the field specification information 154 of the variable data into the field specification information of the host DB, the record information for each page after conversion is generated (S20).

(変換後のページ別レコード情報の具体例)
図8(b)は、指定情報変換後のページ別レコード情報の一例を示す図である。このページ別レコード情報15Bには、図8(a)に示すページ別レコード情報15Aと同様に、ページ番号150、領域情報151、印刷内容152及び印刷態様情報153が含まれているが、印刷内容152には、指定情報変換手段302によりバリアブルデータのフィールド指定情報154から変換されたホストDBのフィールド指定情報155が含まれている。
(Specific example of record information by page after conversion)
FIG. 8B is a diagram illustrating an example of the record information for each page after conversion of the designation information. The page-specific record information 15B includes the page number 150, the area information 151, the print content 152, and the print mode information 153, similar to the page-specific record information 15A shown in FIG. 152 includes field designation information 155 of the host DB converted from the field designation information 154 of the variable data by the designation information conversion unit 302.

そして、指定情報変換手段302は、そのページ別レコード情報15Bをメインフレーム2に送信すると、メインフレーム2の検査データ生成手段200は、ページ別レコード情報15BのホストDBのフィールド指定情報155により指定されたホストDB23のフィールドからレガシーコード系文字情報を取得する。   When the designation information conversion means 302 transmits the page-specific record information 15B to the mainframe 2, the inspection data generation means 200 of the mainframe 2 is designated by the field designation information 155 in the host DB of the page-specific record information 15B. The legacy code character information is acquired from the field of the host DB 23.

次に、検査データ生成手段200は、ページ別レコード情報15BのホストDBのフィールド指定情報155を、その取得したレガシーコード系文字情報に変更することにより、検査データを生成し、その検査データ16を検査処理手段202に送る(S21)。   Next, the inspection data generation means 200 generates inspection data by changing the field designation information 155 of the host DB of the record information 15B for each page to the acquired legacy code character information, and the inspection data 16 The data is sent to the inspection processing means 202 (S21).

(検査データの具体例)
図8(c)は、検査データの一例を示す図である。この検査データ16には、図8(b)に示すページ別レコード情報15Bと同様に、ページ番号150、領域情報151、印刷内容152及び印刷態様情報153が含まれているが、印刷内容152には、ホストDB23から取得されたレガシー系文字情報160が含まれている。
(Specific example of inspection data)
FIG. 8C shows an example of inspection data. The inspection data 16 includes a page number 150, area information 151, print contents 152, and print mode information 153 as in the case of the page-specific record information 15B shown in FIG. Includes the legacy character information 160 acquired from the host DB 23.

例えば、図8(c)に示す検査データ16の2行目のレコードは、1ページ目の印刷物14Aに、印刷物14Aの左上を原点とした座標(30,40)から幅「80」、高さ「5」を有する領域に、レガシーコード系文字情報が示す文字「山田一郎」が、フォント「明朝」、フォントサイズ「14」の印刷態様で印刷されているか否かを検査する旨を示す。   For example, the record in the second line of the inspection data 16 shown in FIG. 8C is a width “80” and a height from the coordinates (30, 40) with the origin at the upper left of the printed material 14A. This indicates that it is checked whether or not the character “Ichiro Yamada” indicated by the legacy code system character information is printed in the print mode of the font “Mincho” and the font size “14” in the area having “5”.

(4)検査データに基づく印刷物の検査
ユーザは、上記ステップS13により印刷された印刷物14をスキャナ装置5のADFに置くと、スキャナ装置5は、そのADFに置かれた印刷物14を1ページずつ読取部に供給し、読取部によりページ単位の読取画像データを生成し、その読取画像データをメインフレーム2に送信する(S30)。
(4) Inspection of printed matter based on inspection data When the user places the printed matter 14 printed in step S13 on the ADF of the scanner device 5, the scanner device 5 reads the printed matter 14 placed on the ADF page by page. The read image data is generated in units of pages by the reading unit, and the read image data is transmitted to the main frame 2 (S30).

次に、メインフレーム2の文字認識手段201は、スキャナ装置5から受信した読取画像データにおいて、検査データ生成手段200により生成された検査データ16のページ番号150及び領域情報151により特定される領域に対して文字認識処理を行い、レガシーコード系で定義された辞書を用いて印刷物14に印刷された印刷内容及び印刷態様情報を認識する(S40)。   Next, the character recognizing unit 201 of the main frame 2 sets the region specified by the page number 150 and the region information 151 of the inspection data 16 generated by the inspection data generating unit 200 in the read image data received from the scanner device 5. Character recognition processing is performed on the printed matter 14 and the printed content and printing mode information printed on the printed matter 14 are recognized using a dictionary defined in the legacy code system (S40).

次に、検査処理手段202は、文字認識手段201による認識結果としての印刷内容及び印刷態様情報と、検査データ16に含まれている印刷内容152及び印刷態様情報153とを比較することにより、印刷物14に異常があるか否かを検査する(S41)。   Next, the inspection processing unit 202 compares the print content and the print mode information as the recognition result by the character recognition unit 201 with the print content 152 and the print mode information 153 included in the test data 16 to obtain a printed matter. Whether there is an abnormality in 14 is inspected (S41).

そして、検査処理手段202は、その検査結果である検査合格又は検査不合格を通知する検査結果通知情報を印刷指示装置3に送信すると、その印刷指示装置3の表示部34に検査結果が表示されることによりユーザが印刷物14の検査結果を把握する。   Then, when the inspection processing unit 202 transmits the inspection result notification information for notifying the inspection pass or the inspection failure as the inspection result to the print instruction apparatus 3, the inspection result is displayed on the display unit 34 of the print instruction apparatus 3. Thus, the user grasps the inspection result of the printed matter 14.

以上のようにして、レガシー系文字情報からオープン系文字情報に変換されて印刷された印刷物14に対して、変換前のレガシー系文字情報が印刷されているか否かについての検査が行われる。   As described above, the printed matter 14 converted from the legacy character information to the open character information and printed is inspected as to whether or not the legacy character information before conversion is printed.

[他の実施の形態]
なお、本発明は、上記実施の形態に限定されず、本発明の要旨を逸脱しない範囲内で種々に変形してもよい。例えば、上記実施の形態では、メインフレーム、印刷指示装置、プリンタ装置及びスキャナ装置が有する各手段を、制御部とプログラムとによって実現したが、それらの一部または全部をハードウェアによって実現してもよい。
[Other embodiments]
In addition, this invention is not limited to the said embodiment, You may change variously within the range which does not deviate from the summary of this invention. For example, in the above embodiment, each unit included in the main frame, the print instruction apparatus, the printer apparatus, and the scanner apparatus is realized by the control unit and the program. However, some or all of them may be realized by hardware. Good.

また、上記実施の形態で使用されるプログラムは、CD−ROM等の記録媒体から装置内の記憶部に読み込んでもよく、インターネット等のネットワークに接続されているサーバ等から装置内の記憶部にダウンロードしてもよい。   The program used in the above embodiment may be read from a recording medium such as a CD-ROM into a storage unit in the apparatus, or downloaded from a server connected to a network such as the Internet to the storage unit in the apparatus. May be.

また、上記実施の形態の印刷システムは、メインフレーム、印刷指示装置、プリンタ装置及びスキャナ装置等が有する機能をシステム全体として備えていればよく、例えば、プリンタ装置及びスキャナ装置が1つの装置として構成されていてもよい。また、印刷指示装置が有するコード変換手段が、メインフレームに備えられていてもよい。また、メインフレームが有する文字認識手段及び検査処理手段が、メインフレームとは別のレガシーコード系で動作する検査装置に備えられていてもよい。また、テンプレートやイメージデータ等は、印刷指示装置の記憶部に記憶されていてもよいし、ファイルサーバやデータベースサーバ等の他の管理装置に記憶されていてもよい。   In addition, the printing system of the above embodiment only needs to have the functions of the main frame, the print instruction device, the printer device, the scanner device, and the like as a whole system. For example, the printer device and the scanner device are configured as one device. May be. Further, the main frame may include code conversion means included in the print instruction apparatus. Further, the character recognition means and the inspection processing means included in the main frame may be provided in an inspection device that operates in a legacy code system different from the main frame. Further, the template, the image data, etc. may be stored in the storage unit of the print instruction apparatus, or may be stored in another management apparatus such as a file server or a database server.

また、上記実施の形態の印刷システムでは、印刷物に対する検査結果は、表示画面上に表示する他に、例えば、検査結果を示す検査結果情報を、印刷指示装置等の他の装置にネットワークを介して送信してもよいし、記憶部に書き込んでもよいし、プリンタ装置で検査結果のレポートとして印刷してもよい。   In the printing system of the above embodiment, in addition to displaying the inspection result for the printed matter on the display screen, for example, the inspection result information indicating the inspection result is transmitted to another device such as a print instruction device via a network. It may be transmitted, written in a storage unit, or printed as a report of inspection results by a printer.

図1は、本発明の実施の形態に係る印刷システムの概略構成の一例を示す全体図である。FIG. 1 is an overall view showing an example of a schematic configuration of a printing system according to an embodiment of the present invention. 図2は、印刷指示装置の概略構成の一例を示すブロック図である。FIG. 2 is a block diagram illustrating an example of a schematic configuration of the print instruction apparatus. 図3は、プリンタ装置の概略構成の一例を示すブロック図である。FIG. 3 is a block diagram illustrating an example of a schematic configuration of the printer apparatus. 図4は、メインフレームの概略構成の一例を示すブロック図である。FIG. 4 is a block diagram illustrating an example of a schematic configuration of the main frame. 図5(a)は、ユーザ管理テーブルの一例を示す図である。図5(b)は、請求管理テーブルの一例を示す図である。FIG. 5A illustrates an example of a user management table. FIG. 5B is a diagram illustrating an example of a billing management table. 図6(a)は、オリジナルデータの一例を示す図である。図6(b)は、バリアブルデータの一例を示す図である。FIG. 6A shows an example of original data. FIG. 6B is a diagram illustrating an example of variable data. 図7は、テンプレートの一例を示す図である。FIG. 7 is a diagram illustrating an example of a template. 図8(a)は、ページ別レコード情報の一例を示す図である。図8(b)は、指定情報変換後のページ別レコード情報の一例を示す図である。図8(c)は、検査データの一例を示す図である。FIG. 8A is a diagram illustrating an example of the record information for each page. FIG. 8B is a diagram illustrating an example of the record information for each page after conversion of the designation information. FIG. 8C shows an example of inspection data. 図9は、印刷物の一例を示す図である。FIG. 9 is a diagram illustrating an example of a printed material. 図10は、本発明の実施の形態に係る印刷システムの動作の一例を示すフローチャートである。FIG. 10 is a flowchart showing an example of the operation of the printing system according to the embodiment of the present invention. 図11は、ページ別レコード情報抽出処理(図10におけるステップS11)の詳細な動作の一例を示すフローチャートである。FIG. 11 is a flowchart showing an example of detailed operation of the record information extraction process for each page (step S11 in FIG. 10).

符号の説明Explanation of symbols

1…印刷システム、2…メインフレーム、3…印刷指示装置、4…プリンタ装置、5…スキャナ装置、10…ネットワーク、11A…オリジナルデータ、11B…バリアブルデータ、12…テンプレート、13…イメージデータ、14,14A〜14C…印刷物、15A,15B…ページ別レコード情報、16…検査データ、20…制御部、21…記憶部、22…通信部、23…ホストDB、30…制御部、31…記憶部、32…通信部、33…入力部、34…表示部、40…制御部、41…記憶部、42…通信部、43…印刷部、100a…レガシーコード系、100b…オープンコード系、110…レコード番号、111…印刷様式指定フラグ、112A〜112C…項目データ、113…フィールド指定情報、113…レガシーコード系文字情報、114…オープンコード系文字情報、120A〜120C…様式定義データ、121…固定部定義データ、122…改ページ定義データ、123A〜123C…バリアブルフィールド、124…明細出力処理、125…クーポン出力処理、140A,140B…宛先、141A,141B…明細表、142…クーポン券、150…ページ番号、151…領域情報、152…印刷内容、153…印刷態様情報、154…バリアブルデータのホストフィールド指定情報、155…ホストDBのフィールド指定情報、160…レガシー系文字情報、200…検査データ生成手段、201…文字認識手段、202…検査処理手段、210…検査制御プログラム、230…ユーザ管理テーブル、230a…レガシーコード系文字情報、231…請求管理テーブル、231a…レガシーコード系文字情報、300…コード変換手段、301…印刷ジョブ生成手段、302…指定情報変換手段、310…文字情報処理プログラム、400…ジョブ解析手段、401…抽出手段、402…処理手段、410…印刷制御プログラム DESCRIPTION OF SYMBOLS 1 ... Printing system, 2 ... Main frame, 3 ... Print instruction | indication apparatus, 4 ... Printer apparatus, 5 ... Scanner apparatus, 10 ... Network, 11A ... Original data, 11B ... Variable data, 12 ... Template, 13 ... Image data, 14 , 14A to 14C ... printed matter, 15A, 15B ... record information by page, 16 ... inspection data, 20 ... control unit, 21 ... storage unit, 22 ... communication unit, 23 ... host DB, 30 ... control unit, 31 ... storage unit 32 ... Communication unit 33 ... Input unit 34 ... Display unit 40 ... Control unit 41 ... Storage unit 42 ... Communication unit 43 ... Printing unit 100a ... Legacy code system 100b ... Open code system 110 ... Record number 111 ... Print format designation flag, 112A to 112C ... Item data 113 ... Field designation information, 113 ... Legacy code Character information 114 ... Open code system character information, 120A to 120C ... Style definition data, 121 ... Fixed part definition data, 122 ... Page break definition data, 123A to 123C ... Variable field, 124 ... Detail output processing, 125 ... Coupon output Processing, 140A, 140B ... Destination, 141A, 141B ... Schedule, 142 ... Coupon, 150 ... Page number, 151 ... Area information, 152 ... Print content, 153 ... Print mode information, 154 ... Host field designation information of variable data 155 ... Host DB field designation information, 160 ... Legacy character information, 200 ... Inspection data generation means, 201 ... Character recognition means, 202 ... Inspection processing means, 210 ... Inspection control program, 230 ... User management table, 230a ... Legacy code character information, 23 ... Billing management table, 231a ... Legacy code system character information, 300 ... Code conversion means, 301 ... Print job generation means, 302 ... Designated information conversion means, 310 ... Character information processing program, 400 ... Job analysis means, 401 ... Extraction means 402: Processing means 410 ... Print control program

Claims (5)

第1の符号化規則に基づく第1の文字列を前記第1の符号化規則とは異なる第2の符号化規則に基づく第2の文字列に変換する変換手段と、
前記変換手段により変換された前記第2の文字列に対応する画像が印刷媒体に印刷され、その印刷媒体から前記第2の符号化規則を採用する読み取り装置により読み取られた画像データから前記第1の符号化規則に基づく第3の文字列を得る文字認識手段と、
前記文字認識手段により認識された第3の文字列と、前記変換手段が変換対象とした前記第1の文字列とを比較し、その比較結果を出力する比較手段とを備えた印刷システム。
Conversion means for converting a first character string based on a first encoding rule into a second character string based on a second encoding rule different from the first encoding rule;
The transformation image corresponding to the converted second character string is printed on the printing medium by means of the first image data read by the reading device employing the second coding rule from the print medium Character recognition means for obtaining a third character string based on the encoding rule of
A printing system comprising: a third character string recognized by the character recognition means; and a comparison means for comparing the first character string that is converted by the conversion means and outputting the comparison result.
前記印刷媒体は、可変印刷データが有する複数のレコードにおいて指定された前記第1の文字列が、前記変換手段により前記第2の文字列に変換され、その第2の文字列が様式定義データに適用されることにより印刷された請求項1に記載の印刷システム。   In the print medium, the first character string designated in a plurality of records included in variable print data is converted into the second character string by the converting means, and the second character string is converted into format definition data. The printing system according to claim 1, wherein the printing system is printed by being applied. 前記文字認識手段は、前記文字の印刷態様情報を認識し、
前記比較手段は、前記文字認識手段により認識された前記印刷態様情報と、前記変換手段が変換対象とした前記第1の文字列に割り当てられた印刷態様情報とを比較し、その比較結果を出力する請求項1に記載の印刷システム。
The character recognition means recognizes the print mode information of the character;
The comparison unit compares the print mode information recognized by the character recognition unit with the print mode information assigned to the first character string to be converted by the conversion unit, and outputs the comparison result. The printing system according to claim 1.
第1の符号化規則に基づく第1の文字列から変換された前記第1の符号化規則とは異なる第2の符号化規則に基づく第2の文字列が印刷媒体に印刷され、その印刷媒体から前記第2の符号化規則を採用する読み取り装置により読み取られた画像データから前記第1の符号化規則に基づく第3の文字列を得る文字認識ステップと、
前記文字認識ステップにより認識された第3の文字列と、前記第2の文字列の変換前の前記第1の文字列とを比較し、その比較結果を出力する比較ステップとをコンピュータに実行さるための印刷媒体検査プログラム。
A second character string based on a second encoding rule different from the first encoding rule converted from the first character string based on the first encoding rule is printed on a print medium, and the print medium A character recognition step of obtaining a third character string based on the first encoding rule from image data read by a reading device adopting the second encoding rule from :
A comparison step of comparing the third character string recognized in the character recognition step with the first character string before conversion of the second character string and outputting the comparison result is executed on the computer. not because the print medium inspection program.
第1の符号化規則に基づく第1の文字列から変換された前記第1の符号化規則とは異なる第2の符号化規則に基づく第2の文字列が印刷媒体に印刷され、その印刷媒体から前記第2の符号化規則を採用する読み取り装置により読み取られた画像データから前記第1の符号化規則に基づく第3の文字列を得る文字認識手段と、
前記文字認識手段により認識された第3の文字列と、前記第2の文字列の変換前の前記第1の文字列とを比較し、その比較結果を出力する比較手段とを備えた印刷媒体検査装置。
A second character string based on a second encoding rule different from the first encoding rule converted from the first character string based on the first encoding rule is printed on a print medium, and the print medium Character recognition means for obtaining a third character string based on the first encoding rule from image data read by a reading device adopting the second encoding rule from :
A printing medium comprising a third character string recognized by the character recognition means and a comparison means for comparing the first character string before conversion of the second character string and outputting the comparison result Inspection device.
JP2008324108A 2008-12-19 2008-12-19 Printing system, printing medium inspection program, and printing medium inspection apparatus Expired - Fee Related JP4924599B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008324108A JP4924599B2 (en) 2008-12-19 2008-12-19 Printing system, printing medium inspection program, and printing medium inspection apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008324108A JP4924599B2 (en) 2008-12-19 2008-12-19 Printing system, printing medium inspection program, and printing medium inspection apparatus

Publications (2)

Publication Number Publication Date
JP2010146371A JP2010146371A (en) 2010-07-01
JP4924599B2 true JP4924599B2 (en) 2012-04-25

Family

ID=42566737

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008324108A Expired - Fee Related JP4924599B2 (en) 2008-12-19 2008-12-19 Printing system, printing medium inspection program, and printing medium inspection apparatus

Country Status (1)

Country Link
JP (1) JP4924599B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018069512A (en) * 2016-10-27 2018-05-10 セイコーエプソン株式会社 Printer and control method for the same
JP2022100753A (en) 2020-12-24 2022-07-06 富士フイルムビジネスイノベーション株式会社 Printed matter inspection device, image formation apparatus, program, and printed matter inspection system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001096872A (en) * 1999-09-29 2001-04-10 Chescom International Co Ltd Printer and printed product inspecting device
JP4134496B2 (en) * 2000-06-26 2008-08-20 カシオ電子工業株式会社 Character printing method
JP2003305927A (en) * 2002-04-17 2003-10-28 Taizo Otani Printer inspection system
JP3871658B2 (en) * 2003-06-10 2007-01-24 三菱電機ビルテクノサービス株式会社 Data analysis method for existing equipment
JP2006301739A (en) * 2005-04-15 2006-11-02 Prism:Kk Business form print system
JP4853050B2 (en) * 2006-03-02 2012-01-11 富士ゼロックス株式会社 Print management apparatus, program, and method

Also Published As

Publication number Publication date
JP2010146371A (en) 2010-07-01

Similar Documents

Publication Publication Date Title
US9262106B2 (en) Method of adding value to print data, a value-adding device, and a recording medium
US8373873B2 (en) Apparatus and method for determining execution order of private print jobs in a variable print system
JP4853050B2 (en) Print management apparatus, program, and method
US20090109479A1 (en) Form generation system and form generation method
US8526045B2 (en) Expanding application functionality without changing the existing application
US20210075919A1 (en) Image processing apparatus, image processing system, image processing method, and storage medium
US8699076B2 (en) Image forming apparatus, server, image forming system, and storage medium, outputting superimposed text strings in a variable form page
US10452944B2 (en) Multifunction peripheral assisted optical mark recognition using dynamic model and template identification
JP5098993B2 (en) Print information acquisition program, print information acquisition apparatus, and print system
JP4470828B2 (en) Printer, printer driver
US8767230B2 (en) Variable printing system, image forming apparatus, and non-transitory computer readable medium
JP4924599B2 (en) Printing system, printing medium inspection program, and printing medium inspection apparatus
JP5828789B2 (en) Print control apparatus, print control program, and print control method
US20180285030A1 (en) Printing history function that authenticates mapped values
JP5163448B2 (en) Inspection data generation program, inspection data generation device, and printing system
WO2022081306A1 (en) Providing shortened url and information related contents corresponding to original url
JP2008158643A (en) Display inspection method, display inspection apparatus and display inspection program
US20100060932A1 (en) Image processing apparatus, information processing method, and computer program product
US20150112719A1 (en) Information processing apparatus, information processing method, and computer readable medium
JP5424858B2 (en) Image processing apparatus, control method therefor, and program
US11662966B1 (en) Production printing systems, servers, and variable printing methods for efficient and flexible processing
JP2013191999A (en) Image forming apparatus and control program
US20230336668A1 (en) Inspection apparatus, method for controlling same, and storage medium
JP5035061B2 (en) Image processing apparatus, image processing program, and image processing system
US20110096367A1 (en) Print Settings Verification Mechanism

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110622

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110628

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20110705

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110727

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120110

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120123

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150217

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees