Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4136357B2 - Form definition processing device, form definition processing program, and form definition processing program recording medium - Google Patents
[go: Go Back, main page]

JP4136357B2 - Form definition processing device, form definition processing program, and form definition processing program recording medium - Google Patents

Form definition processing device, form definition processing program, and form definition processing program recording medium Download PDF

Info

Publication number
JP4136357B2
JP4136357B2 JP2001332533A JP2001332533A JP4136357B2 JP 4136357 B2 JP4136357 B2 JP 4136357B2 JP 2001332533 A JP2001332533 A JP 2001332533A JP 2001332533 A JP2001332533 A JP 2001332533A JP 4136357 B2 JP4136357 B2 JP 4136357B2
Authority
JP
Japan
Prior art keywords
data
recognition
form definition
information
processing
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 - Lifetime
Application number
JP2001332533A
Other languages
Japanese (ja)
Other versions
JP2003141445A (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.)
PFU Ltd
Original Assignee
PFU Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PFU Ltd filed Critical PFU Ltd
Priority to JP2001332533A priority Critical patent/JP4136357B2/en
Publication of JP2003141445A publication Critical patent/JP2003141445A/en
Application granted granted Critical
Publication of JP4136357B2 publication Critical patent/JP4136357B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Character Input (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、帳票定義処理装置と、帳票定義処理プログラムと、帳票定義処理プログラム記録媒体とに関し、特に、各種アプリケーションの独自フォーマットで作成されたデータから、帳票印刷装置もしくは帳票印刷プログラムで用いる帳票定義を自動的に生成する帳票定義処理装置と、その装置の実現に用いられるプログラムおよびプログラム記録媒体とに関する。
【0002】
【従来の技術】
伝票等の帳票の印刷のためには、帳票印刷処理プログラムの他に、帳票の罫線で示される枠情報や項目の文字情報などの情報である帳票定義が必要である。一般的に、帳票定義は、帳票印刷装置または帳票印刷プログラムごとに異なる。すなわち、帳票定義のデータ形式は、帳票印刷処理装置もしくは帳票印刷処理プログラムを開発したメーカや帳票印刷装置もしくは帳票印刷プログラムごとに異なる。
【0003】
図5は、従来の帳票定義作成処理を説明するための図である。
【0004】
アプリケーション91で作成された帳票データはアプリケーション91で定められた独自のデータ形式であるアプリケーション形式ファイル(アプリ形式ファイル)92である。このため、帳票データについて帳票印刷のための帳票定義を作成する場合に、アプリケーション91およびアプリ形式ファイル92からは、帳票印刷処理装置もしくは帳票印刷処理プログラムの定める独自のデータ形式である帳票定義を直接抽出することができない。
【0005】
そこで、ユーザの印刷操作により、アプリ形式ファイル92は、プリンタ93で印刷されて紙94上に帳票として印刷出力される。そして、ユーザのスキャナ読み取り操作により、紙94上に印刷された帳票はスキャナ95で読み取られ、読み取ったデータはビットマップ形式等の標準的な形式のデータに変換され標準形式ファイル96に格納される。さらに、ユーザが帳票定義処理操作を行うことにより、標準形式ファイル96は帳票定義処理装置97で読み取られ、読み取られたデータに対する認識処理98が行われ、認識処理98の結果、帳票定義ファイル99が生成される。このようにして生成された帳票印刷処理装置などの独自の形式の帳票定義ファイル99により、帳票印刷処理装置で帳票を印刷することが可能になる。
【0006】
【発明が解決しようとする課題】
従来では、各種のアプリケーションを用いて作成した帳票データを帳票定義処理装置97で読み取り可能な標準形式ファイル96にするためには、プリンタ93で一旦紙94上に帳票として印刷出力し、さらに、紙94上の帳票をスキャナ95で読み取る必要があった。このため、標準形式ファイル96のデータは、プリンタ93やスキャナ95の処理性能に影響を受けてしまうという問題があった。
【0007】
例えば、プリンタ93の印刷品質が低い場合には、出力された紙94上の帳票の品質が低下し、スキャナ95の出力である標準形式ファイル96のイメージデータの品質も低下する。このため、帳票定義処理装置97の認識処理98での処理精度が低くなる。また、スキャナ95の読み取り品質が低い場合も、同様に、標準形式ファイル96のイメージデータの品質も低下するため、帳票定義処理装置97の認識処理98での処理精度が低くなる。
【0008】
また、スキャナ95で紙94を読み取る際に、紙94が正しい方向に読み取られない場合もある。例えば斜めに読み取られた紙94のデータから得られるデータは歪んでいるため、認識処理98の処理精度が低下してしまうという問題が生ずる。さらに、斜めに読み取られた紙94から生成されたデータの歪みを修正する必要があり、認識処理98の処理負担や作業の手間が増加するという問題がある。
【0009】
また、プリンタ93での印刷処理やスキャナ95での読み取り処理は、ユーザが操作を行わなければならず、煩雑である。すなわち、1つの帳票定義処理装置97の処理のために、ユーザは、印刷操作を1回、読み取り操作を2回行わなければならない。
【0010】
また、既に作成済みの帳票定義を再度利用して別形式の帳票印刷処理装置用の帳票定義を作成する場合にも、帳票定義によりいったん印刷した紙94を再度スキャナ95で読み取って標準形式ファイル96にしてから再度帳票定義の作成処理をしなければならず、作業に手間がかかるという問題点があった。
【0011】
本発明は、上記の事情に鑑みてなされたものであり、印刷処理やスキャナ読み取り処理を行わずに、少ない手間で正確に帳票定義を作成できる帳票定義処理装置を提供することを目的とする。また、かかる帳票定義処理装置の実現に用いられるプログラムおよびプログラム記録媒体を提供することを目的とする。
【0012】
【課題を解決するための手段】
この上記の目的を達成するために、本発明にかかる装置は、帳票印刷処理の設定情報である帳票定義を生成する帳票定義処理装置であって、オペレーティング・システムによって共通化されたインタフェースを持ち、電子化されたデータに含まれる帳票定義をもとに枠情報を認識し、該枠情報が示す枠内に印字情報を配置して、該電子化されたデータを認識処理手段が処理可能な形式のデータへ変換して認識用データを出力する認識用データ生成処理手段と、前記認識用データから枠情報または文字情報を認識して帳票定義を生成する認識処理手段とを備える。
【0013】
さらに、本発明にかかるプログラムは、帳票印刷処理の設定情報である帳票定義を生成する帳票定義処理を、コンピュータに実行させるプログラムであって、オペレーティング・システムによって共通化されたインタフェースを持ち、電子化されたデータに含まれる帳票定義をもとに枠情報を認識し、該枠情報が示す枠内に印字情報を配置して、該電子化されたデータを認識処理で処理可能な形式のデータへ変換して認識用データを出力する認識用データ生成処理と、前記認識用データから枠情報または文字情報を認識して帳票定義を生成する認識処理とを、コンピュータに実行させる。
【0014】
さらに、本発明にかかるプログラム記録媒体は、帳票印刷処理の設定情報である帳票定義を生成する帳票定義処理をコンピュータに実行させるプログラムを記録した記録媒体であって、オペレーティング・システムによって共通化されたインタフェースを持ち、電子化されたデータに含まれる帳票定義をもとに枠情報を認識し、該枠情報が示す枠内に印字情報を配置して、該電子化されたデータを認識処理で処理可能な形式のデータへ変換して認識用データを出力する認識用データ生成処理と、前記認識用データから枠情報または文字情報を認識して帳票定義を生成する認識処理とを、コンピュータに実行させるプログラムを記録したものである。
【0015】
本発明にかかるプログラムは、コンピュータが読み取り可能な、可搬媒体メモリ、半導体メモリ、ハードディスクなどの適当な記録媒体に格納することができ、これらの記録媒体に記録して提供され、または、通信インタフェースを介して種々の通信網を利用した送受信により提供されるので、帳票定義処理装置を容易に実現することができる。
【0016】
【発明の実施の形態】
図1は、本発明の原理を説明するための図である。本発明にかかる帳票定義処理装置1は、認識用ファイル生成手段2と、出力管理手段4と、認識処理手段5とを備える。
【0017】
認識用ファイル生成手段2は、特許請求の範囲に示す認識用データ生成手段であって、帳票定義処理装置1が実現される処理装置のオペレーティング・システムによって共通化されたインタフェースを備え、種々のアプリケーション6で生成されたアプリケーション・ファイル7を受け取り、受け取ったアプリケーション・ファイル7のデータを認識処理手段5で処理可能な形式のデータに変換し認識用ファイル3を生成する手段である。認識用ファイル3は、例えば印刷装置(図示しない)での出力が可能なイメージデータである。
【0018】
アプリケーション・ファイル7には、帳票定義ファイル8と同形式のファイルも含まれる。この場合には、認識用ファイル生成手段2は、受け取ったファイルの帳票定義をもとに枠情報を認識し、その枠内に印字情報を自動的に配置して認識用ファイル3に変換する。
【0019】
出力管理手段4は、特許請求の範囲に示す認識用データ生成手段の一部であって、認識用ファイル生成手段2で生成された認識用ファイル3を受け取り、認識処理手段5に通知する手段である。また、出力管理手段4は、認識処理手段5で生成された帳票定義ファイル8の出力を管理する。
【0020】
認識処理手段5は、特許請求の範囲に示す認識処理手段であって、出力管理手段4からの通知を受けて、認識用ファイル3から所定の帳票定義を生成し帳票定義ファイル8を出力する手段である。認識処理手段5は、例えばプリンタでの出力が可能なイメージデータから帳票定義を生成する。また、認識処理手段5は、出力管理手段4に帳票定義ファイル8を渡すようにしてもよい。
【0021】
認識用ファイル生成手段2は、アプリケーション・ファイル7を受け取ると、認識処理手段5が処理できる形式のデータ(例えば印刷出力用イメージデータ)へ変換して認識用ファイル3を生成する。そして、出力管理手段4は、認識用ファイル3を受け取り、認識処理手段5を呼び出す。認識処理手段5は、認識用ファイル3のイメージデータから、罫線情報、網かけ情報、枠情報などを抽出し、文字情報を認識して所定の帳票定義を自動的に生成し、生成した帳票定義を帳票定義ファイル8として出力する。このように、本発明では、種々のアプリケーションで作成された様々な形式のデータから、帳票印刷処理のための帳票定義を容易にかつ正確に抽出することができる。
【0022】
また、認識用ファイル生成手段2は、アプリケーション・ファイル7が帳票定義である場合に、その帳票定義を解釈し認識処理手段5が処理可能なイメージデータへ変換する。すなわち、本発明では、認識用データ生成処理手段は、前記電子化されたデータが前記帳票定義である場合に、前記帳票定義を解釈し前記認識処理手段が処理可能なイメージデータへ変換することもできる。
【0023】
図2は、図1に示す本発明を具体的に実現するためのシステム構成例を示す図である。図2に示すシステムでは、コンピュータのオペレーティング・システムが一般的に備えている印刷処理機能を用いて本発明を実現する。
【0024】
コンピュータ10は、アプリケーション6、プリンタスプーラ20を備え、CPU/メモリ(図示せず)を備える。コンピュータ10のオペレーティング・システムは、例えばWindows(Microsoft社の登録商標)、MacOS(Apple社の登録商標)、UNIXなどがある。が、印刷機能を備えるものであれば、どのようなオペレーティング・システムでもよい。オペレーティング・システムは、その上で動作する複数のアプリケーション6に共通の印刷用、メール用、ファイル用などの出力インタフェースを持つ。
【0025】
アプリケーション(プログラム)6は、ワードプロセッサ処理、表計算処理、描画処理などの様々な処理を行う手段である。アプリケーション6は、オペレーティング・システム上で動作する。アプリケーション6は、例えば、Word、Excel(Microsoft社の登録商標)等である。アプリケーション6は、処理したデータを、それぞれ独自に定める形式のアプリケーション・ファイル7としてオペレーティング・システムのファイル出力処理により出力する。
【0026】
プリンタスプーラ20は、オペレーティング・システムを介してアプリケーション6からの印刷要求により起動して、アプリケーション6から受け取った印刷対象のアプリケーション・ファイル7を一時的に保持しながら印刷処理の管理を行う手段である。プリンタスプーラ20は、プリンタドライバ2A、プリントモニタ4A、認識処理部5Aを備える。
【0027】
プリンタスプーラ20は、オペレーティング・システムの一部であり、アプリケーション6においてオペレーティング・システムの共通インタフェースの「印刷」が選択されて印刷設定画面(図4参照)が表示され、印刷設定画面においてプリンタドライバ2Aが選択されると、処理対象のファイルを指定された出力先としてプリンタドライバ2Aへ出力する。
【0028】
プリンタドライバ2Aは、図1に示す認識用ファイル生成手段2に対応する手段であって、オペレーティング・システムによって複数のアプリケーション6に共通化された出力インタフェースを備え、プリンタスプーラ20を介してアプリケーション6から受け取ったアプリケーション・ファイル7のデータを認識処理部5Aで処理可能な形式のデータに変換する手段である。受け取ったファイルを変換する形式は予め定められている。例えば、プリンタドライバ2Aは、アプリケーション・ファイル7の文字や罫線の記述やビットイメージ描画等の処理シーケンスからビットマップ形式の印刷イメージ3Aを生成する。印刷イメージ3Aは、図1に示す認識用ファイル3に対応するものである。
【0029】
プリンタドライバ2Aは、共通インタフェースを備えるため、実際はコンピュータ10のオペレーティング・システムの一部として構成されている。なお、プリンタドライバ2Aは、オペレーティング・システムがサポートする全てのアプリケーション6から印刷イメージ3Aを生成することができるため、この共通化された出力インタフェースではアプリケーションが制限されていない。
【0030】
プリントモニタ4Aは、図1に示す出力管理手段4に対応する手段であって、印刷イメージ3Aを受け取り出力する手段である。本発明では、出力管理手段4の出力先はプリンタではなく認識処理部5Aである。また、図2中に点線で示すように、認識処理部5Aを呼び出して印刷イメージ3Aを認識し、その認識処理の結果である帳票定義ファイル8を受け取り出力するようにしてもよい。
【0031】
プリントモニタ4Aは、印刷イメージ3Aが生成された時にプリンタドライバ2Aから呼ばれる。プリントモニタ4Aは、各プリンタを動作させる必要があることから、アプリケーションとして構成される。プリントモニタ4Aは、アプリケーション6からはオペレーティング・システムの一部のように見えるが、実際にはアプリケーションとしてオペレーティング・システム上で動作する。
【0032】
ここで、プリンタドライバ2Aが、アプリケーション・ファイル7から直接に帳票定義ファイル8を作成することも考えられる。しかし、本発明では、アプリケーション・ファイル7から直接に帳票定義ファイル8を作成するようには動作しない。本発明では、アプリケーション6の種類を制限しないためにオペレーティング・システムの共通インタフェースを持ち、オペレーティング・システムの一部であるプリンタドライバ2Aを用いる。オペレーティング・システムの一部として構成されるプリンタドライバ2Aにおいて認識処理を行うことは、認識処理中に誤動作などが発生した場合にオペレーティング・システム全体に対して影響を及ぼし、致命的な障害を生ずる恐れがあるため、好ましくないからである。また一方で、プリンタドライバ2Aは、認識処理部5Aが解釈できる形式のデータを出力することが要求される。そこで、本発明では、共通インタフェースを持つプリンタドライバ2Aは例えばビットマップ形式の印刷イメージ3Aを作成するように構成し、認識処理部5Aは印刷イメージ3Aを認識するように構成する。
【0033】
認識処理部5Aは、図1に示す認識処理手段5に対応する手段であり、プリントモニタ4Aから受け取った印刷イメージ3Aから所定の帳票定義を生成する手段である。認識処理部5Aは、例えば、ビットマップ形式の印刷イメージ3Aから罫線情報や網かけ情報を抽出し、文字情報を認識し、帳票を構成する枠情報や帳票項目の文字を定義する等の周知の認識処理を行う。処理により生成された枠情報や文字情報等の帳票定義は帳票定義ファイル8に格納される。帳票定義ファイル8は、コンピュータ10内のメモリもしくは外部記憶装置に格納される。帳票定義ファイル8は、プリントモニタ4Aへ渡されて、プリントモニタ4Aから印刷装置へ出力されることも可能である。
【0034】
認識処理部5Aは、アプリケーションであって、オペレーティング・システム上で動作する。認識処理部5Aは、プリントモニタ4Aから呼ばれて起動し、プリントモニタ4Aから受け取った印刷イメージ3Aを認識処理する。
【0035】
なお、従来、プリンタへの出力処理を行うプリントモニタ4Aが、認識処理部5Aを呼び出すことはなかった。
【0036】
図3は、図2に示す構成例における本発明の処理フローチャートである。
【0037】
プリンタスプーラ20は、アプリケーション6から処理対象のアプリケーション・ファイル7を受け取る(ステップS1)。具体的には、ユーザがアプリケーション6の実行中に印刷処理の操作を行うと、プリンタスプーラ20は、図4に示すような印刷設定画面を表示する。図4に示す印刷設定画面において、処理の対象ファイル名が指定され、出力先としてプリンタドライバが選択され、OKが選択されると、プリンタドライバ2Aが呼び出される。
【0038】
プリンタドライバ2Aは、プリンタスプーラ20を介して例えば処理対象である「aaa.xls」というアプリケーション・ファイル7を受け取る。なお、プリンタ#1、プリンタ#2、プリンタ#3が選択された場合には、プリンタ#1ないしプリンタ#3のそれぞれに対応する各プリンタドライバ(図示しない)が呼び出されて通常の印刷処理が行われる。
【0039】
そして、プリンタドライバ2Aは、受け取ったアプリケーション・ファイル7を認識処理部5Aが処理可能なデータ形式の印刷イメージ3Aに変換する(ステップS2)。例えば、認識処理部5Aがビットマップ形式のデータを処理する場合には、プリンタドライバ2Aは、アプリケーション・ファイル7「aaa.xls」をビットマップ形式のイメージデータ「aaa.bmp」に変換する。なお、プリンタドライバ2Aは、予め設定された認識処理部5Aが処理可能な形式であればどのようなデータ形式へも変換するように構成できる。
【0040】
プリンタモニタ4Aは、認識処理部5Aを呼び出し、プリンタドライバ2Aで生成された印刷イメージ3Aを認識処理部5Aへ渡す(ステップS3)。
【0041】
そして、認識処理部5Aは、印刷イメージ3Aに対して認識処理を行い帳票定義を生成する(ステップS4)。認識処理部5Aは、罫線抽出処理、文字認識処理、オーバーレイ処理などを行い、帳票の枠情報や文字情報などの帳票定義を作成して帳票定義ファイル8として出力する(ステップS5)。
【0042】
以上、本発明をその実施の形態により説明したが、本発明はその主旨の範囲において種々の変形が可能である。例えば、本形態では、本発明を実現する処理手段をプリンタスプーラ20内に設けた構成例により説明したが、コンピュータ10のオペレーティング・システムにより共通化したインタフェースを持ち種々の形式のファイルを受け取り、認識処理部5Aが処理可能な形式のデータを出力することができる機能を備えた処理部であれば、本形態で説明した各手段を備えることができ、本発明を実現することができる。
【0043】
【発明の効果】
以上説明したように、本発明によれば、種々のアプリケーションで作成した帳票データや既に作成した帳票定義をもとに、少ない手間で正確に帳票定義を作成することが可能となる。
【図面の簡単な説明】
【図1】本発明の原理を説明するための図である。
【図2】本発明を具体的に実現するためのシステム構成例を示す図である。
【図3】図2に示す構成例における本発明の処理フローチャートである。
【図4】本発明の処理を起動するための印刷設定画面の表示例を示す図である。
【図5】従来の帳票定義作成処理を説明するための図である。
【符号の説明】
1 帳票定義処理装置
2 認識用ファイル生成手段
3 認識用ファイル
4 出力管理手段
5 認識処理手段
6 アプリケーション
7 アプリケーション・ファイル
8 帳票定義ファイル
10 コンピュータ
20 プリンタスプーラ
2A プリンタドライバ
3A 印刷イメージ
4A プリントモニタ
5A 認識処理部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a form definition processing device, a form definition processing program, and a form definition processing program recording medium, and in particular, a form definition used in a form printing device or a form printing program from data created in a unique format of various applications. The present invention relates to a form definition processing apparatus that automatically generates a program, a program used to realize the apparatus, and a program recording medium.
[0002]
[Prior art]
In order to print a form such as a slip, in addition to the form print processing program, a form definition that is information such as frame information indicated by ruled lines of the form and character information of items is necessary. Generally, the form definition differs for each form printing apparatus or form printing program. In other words, the data format of the form definition varies depending on the form printing processing apparatus or the manufacturer that developed the form printing processing program, the form printing apparatus, or the form printing program.
[0003]
FIG. 5 is a diagram for explaining a conventional form definition creation process.
[0004]
The form data created by the application 91 is an application format file (application format file) 92 which is a unique data format defined by the application 91. For this reason, when creating a form definition for form printing with respect to form data, the application 91 and the application format file 92 directly form a form definition that is a unique data format determined by the form printing processing apparatus or the form printing processing program. It cannot be extracted.
[0005]
Therefore, the application format file 92 is printed by the printer 93 and printed out as a form on the paper 94 by the user's printing operation. Then, by the user's scanner reading operation, the form printed on the paper 94 is read by the scanner 95, and the read data is converted into standard format data such as a bitmap format and stored in the standard format file 96. . Further, when the user performs a form definition processing operation, the standard format file 96 is read by the form definition processing device 97, and the recognition process 98 is performed on the read data. As a result of the recognition process 98, the form definition file 99 is changed. Generated. With the form definition file 99 of a unique format such as the form print processing apparatus generated in this way, it becomes possible to print the form with the form print processing apparatus.
[0006]
[Problems to be solved by the invention]
Conventionally, in order to make the form data created using various applications into a standard format file 96 that can be read by the form definition processing device 97, the form data is printed out on the paper 94 once by the printer 93, and further the paper It was necessary to read the form on 94 with the scanner 95. Therefore, there is a problem that the data of the standard format file 96 is affected by the processing performance of the printer 93 and the scanner 95.
[0007]
For example, when the printing quality of the printer 93 is low, the quality of the form on the output paper 94 is lowered, and the quality of the image data of the standard format file 96 that is the output of the scanner 95 is also lowered. For this reason, the processing accuracy in the recognition processing 98 of the form definition processing device 97 is lowered. Similarly, when the reading quality of the scanner 95 is low, the quality of the image data of the standard format file 96 also decreases, so that the processing accuracy in the recognition processing 98 of the form definition processing device 97 is lowered.
[0008]
In addition, when the paper 94 is read by the scanner 95, the paper 94 may not be read in the correct direction. For example, since the data obtained from the data of the paper 94 read obliquely is distorted, there arises a problem that the processing accuracy of the recognition processing 98 is lowered. Furthermore, it is necessary to correct the distortion of data generated from the paper 94 read obliquely, and there is a problem that the processing load of the recognition process 98 and the labor of the work increase.
[0009]
Further, the printing process by the printer 93 and the reading process by the scanner 95 must be performed by the user and are complicated. That is, for the processing of one form definition processing device 97, the user must perform a printing operation once and a reading operation twice.
[0010]
Further, when a form definition for another form print processing apparatus is created by reusing a form definition that has already been created, the standard format file 96 is obtained by reading the paper 94 once printed by the form definition with the scanner 95 again. Then, the form definition must be created again, which is troublesome.
[0011]
The present invention has been made in view of the above circumstances, and an object thereof is to provide a form definition processing apparatus that can accurately create a form definition with little effort without performing a printing process or a scanner reading process. It is another object of the present invention to provide a program and a program recording medium used for realizing the form definition processing apparatus.
[0012]
[Means for Solving the Problems]
In order to achieve the above object, an apparatus according to the present invention is a form definition processing apparatus that generates a form definition that is setting information for form print processing, and has a common interface by an operating system , electrostatic Coca been recognized frame information form definitions included in the data based, by placing the printed information in the frame indicated by the frame information, that can be processed recognition processing means the electronic encrypted data Recognition data generation processing means for converting the data into a format and outputting recognition data; and recognition processing means for generating a form definition by recognizing frame information or character information from the recognition data.
[0013]
Furthermore, the program according to the present invention, the form definition process for generating a form definition is the setting information of the form printing process, a program executed by a computer, having a common Interfaces by the operating system, electronic Data in a format that can recognize frame information based on the form definition included in the digitized data, place print information in the frame indicated by the frame information, and process the digitized data by recognition processing The computer executes recognition data generation processing for converting the data into recognition data and outputting recognition data, and recognition processing for recognizing frame information or character information from the recognition data and generating a form definition.
[0014]
Furthermore, a program recording medium according to the present invention is a recording medium that records a program for causing a computer to execute a form definition process for generating a form definition that is setting information for a form print process, and is shared by an operating system. has an interface, electrostatic Coca been recognized frame information form definitions included in the data based, by placing the printed information in the frame indicated by the frame information, the recognition processing the electronic encrypted data Recognizing data generation processing that converts data into a processable format and outputs recognition data and recognition processing that generates frame definition by recognizing frame information or character information from the recognition data The program to be recorded is recorded.
[0015]
The program according to the present invention can be stored in an appropriate recording medium such as a portable medium memory, a semiconductor memory, or a hard disk that can be read by a computer, and is provided by being recorded on these recording media or a communication interface. Thus, the form definition processing device can be easily realized because it is provided by transmission and reception using various communication networks.
[0016]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a diagram for explaining the principle of the present invention. The form definition processing apparatus 1 according to the present invention includes a recognition file generation unit 2, an output management unit 4, and a recognition processing unit 5.
[0017]
The recognition file generation unit 2 is a recognition data generation unit shown in the claims, and includes an interface shared by the operating system of the processing device in which the form definition processing device 1 is realized, and includes various applications. 6 is a means for receiving the application file 7 generated in step 6 and converting the data of the received application file 7 into data in a format that can be processed by the recognition processing means 5 to generate the recognition file 3. The recognition file 3 is image data that can be output by, for example, a printing apparatus (not shown).
[0018]
The application file 7 includes a file having the same format as the form definition file 8. In this case, the recognition file generation means 2 recognizes the frame information based on the form definition of the received file, and automatically arranges the print information in the frame and converts it into the recognition file 3.
[0019]
The output management means 4 is a part of the recognition data generation means shown in the claims, and is means for receiving the recognition file 3 generated by the recognition file generation means 2 and notifying the recognition processing means 5. is there. Further, the output management unit 4 manages the output of the form definition file 8 generated by the recognition processing unit 5.
[0020]
The recognition processing means 5 is a recognition processing means shown in the claims, and is means for receiving a notification from the output management means 4 and generating a predetermined form definition from the recognition file 3 and outputting the form definition file 8. It is. The recognition processing unit 5 generates a form definition from image data that can be output by a printer, for example. Further, the recognition processing means 5 may pass the form definition file 8 to the output management means 4.
[0021]
Upon receipt of the application file 7, the recognition file generation means 2 converts the data into a format (for example, print output image data) that can be processed by the recognition processing means 5 and generates the recognition file 3. The output management means 4 receives the recognition file 3 and calls the recognition processing means 5. The recognition processing means 5 extracts ruled line information, shading information, frame information and the like from the image data of the recognition file 3, recognizes character information, automatically generates a predetermined form definition, and generates the generated form definition. Is output as a form definition file 8. As described above, according to the present invention, a form definition for form printing processing can be easily and accurately extracted from various types of data created by various applications.
[0022]
Further, when the application file 7 is a form definition, the recognition file generation means 2 interprets the form definition and converts it into image data that can be processed by the recognition processing means 5. That is, in the present invention, when the digitized data is the form definition, the recognition data generation processing means interprets the form definition and converts it into image data that can be processed by the recognition processing means. it can.
[0023]
FIG. 2 is a diagram showing a system configuration example for specifically realizing the present invention shown in FIG. In the system shown in FIG. 2, the present invention is realized by using a print processing function generally provided in a computer operating system.
[0024]
The computer 10 includes an application 6 and a printer spooler 20, and includes a CPU / memory (not shown). Examples of the operating system of the computer 10 include Windows (registered trademark of Microsoft Corporation), MacOS (registered trademark of Apple Corporation), UNIX, and the like. However, any operating system may be used as long as it has a printing function. The operating system has output interfaces for printing, mail, and files that are common to a plurality of applications 6 operating on the operating system.
[0025]
The application (program) 6 is means for performing various processes such as a word processor process, a spreadsheet process, and a drawing process. The application 6 runs on the operating system. The application 6 is, for example, Word, Excel (registered trademark of Microsoft Corporation) or the like. The application 6 outputs the processed data as an application file 7 having a uniquely defined format by file output processing of the operating system.
[0026]
The printer spooler 20 is activated by a print request from the application 6 via the operating system, and manages print processing while temporarily holding the application file 7 to be printed received from the application 6. . The printer spooler 20 includes a printer driver 2A, a print monitor 4A, and a recognition processing unit 5A.
[0027]
The printer spooler 20 is a part of the operating system. In the application 6, “Print” of the common interface of the operating system is selected to display a print setting screen (see FIG. 4), and the printer driver 2 </ b> A is displayed on the print setting screen. Is selected, the file to be processed is output to the printer driver 2A as the designated output destination.
[0028]
The printer driver 2A is a unit corresponding to the recognition file generation unit 2 shown in FIG. 1 and includes an output interface shared by a plurality of applications 6 by the operating system. This is means for converting the received data of the application file 7 into data in a format that can be processed by the recognition processing unit 5A. A format for converting the received file is predetermined. For example, the printer driver 2 </ b> A generates a bitmap-format print image 3 </ b> A from a processing sequence such as a character or ruled line description or bit image drawing in the application file 7. The print image 3A corresponds to the recognition file 3 shown in FIG.
[0029]
Since the printer driver 2A has a common interface, it is actually configured as a part of the operating system of the computer 10. Since the printer driver 2A can generate the print image 3A from all the applications 6 supported by the operating system, the application is not limited by this common output interface.
[0030]
The print monitor 4A is a means corresponding to the output management means 4 shown in FIG. 1, and is a means for receiving and outputting the print image 3A. In the present invention, the output destination of the output management means 4 is not the printer but the recognition processing unit 5A. Further, as indicated by a dotted line in FIG. 2, the recognition processing unit 5A may be called to recognize the print image 3A, and the form definition file 8 that is the result of the recognition processing may be received and output.
[0031]
The print monitor 4A is called from the printer driver 2A when the print image 3A is generated. The print monitor 4A is configured as an application because it is necessary to operate each printer. Although the print monitor 4A appears to the application 6 as a part of the operating system, it actually operates on the operating system as an application.
[0032]
Here, it is also conceivable that the printer driver 2A creates the form definition file 8 directly from the application file 7. However, the present invention does not operate to create the form definition file 8 directly from the application file 7. In the present invention, the printer driver 2A, which has a common interface of the operating system and is part of the operating system, is used in order not to limit the types of the applications 6. When the recognition process is performed in the printer driver 2A configured as a part of the operating system, if a malfunction occurs during the recognition process, the entire operating system is affected and a fatal failure may occur. This is because it is not preferable. On the other hand, the printer driver 2A is required to output data in a format that can be interpreted by the recognition processing unit 5A. Therefore, in the present invention, the printer driver 2A having a common interface is configured to create, for example, a bitmap format print image 3A, and the recognition processing unit 5A is configured to recognize the print image 3A.
[0033]
The recognition processing unit 5A is a means corresponding to the recognition processing means 5 shown in FIG. 1, and is a means for generating a predetermined form definition from the print image 3A received from the print monitor 4A. The recognition processing unit 5A, for example, extracts ruled line information and shading information from the bitmap-format print image 3A, recognizes character information, and defines frame information and form item characters constituting the form. Perform recognition processing. Form definitions such as frame information and character information generated by the processing are stored in the form definition file 8. The form definition file 8 is stored in a memory in the computer 10 or an external storage device. The form definition file 8 can be delivered to the print monitor 4A and output from the print monitor 4A to the printing apparatus.
[0034]
The recognition processing unit 5A is an application and operates on an operating system. The recognition processing unit 5A is called from the print monitor 4A and starts up, and recognizes the print image 3A received from the print monitor 4A.
[0035]
Conventionally, the print monitor 4A that performs output processing to the printer does not call the recognition processing unit 5A.
[0036]
FIG. 3 is a processing flowchart of the present invention in the configuration example shown in FIG.
[0037]
The printer spooler 20 receives the application file 7 to be processed from the application 6 (step S1). Specifically, when the user performs a print processing operation while the application 6 is being executed, the printer spooler 20 displays a print setting screen as shown in FIG. In the print setting screen shown in FIG. 4, when the file name to be processed is specified, the printer driver is selected as the output destination, and OK is selected, the printer driver 2A is called.
[0038]
The printer driver 2A receives the application file 7 “aaa.xls” to be processed, for example, via the printer spooler 20. When printer # 1, printer # 2, or printer # 3 is selected, each printer driver (not shown) corresponding to each of printer # 1 to printer # 3 is called to perform normal printing processing. Is called.
[0039]
Then, the printer driver 2A converts the received application file 7 into a print image 3A in a data format that can be processed by the recognition processing unit 5A (step S2). For example, when the recognition processing unit 5A processes bitmap format data, the printer driver 2A converts the application file 7 “aaa.xls” into bitmap format image data “aaa.bmp”. The printer driver 2A can be configured to convert the data into any data format that can be processed by a preset recognition processing unit 5A.
[0040]
The printer monitor 4A calls the recognition processing unit 5A and passes the print image 3A generated by the printer driver 2A to the recognition processing unit 5A (step S3).
[0041]
Then, the recognition processing unit 5A performs a recognition process on the print image 3A and generates a form definition (step S4). The recognition processing unit 5A performs ruled line extraction processing, character recognition processing, overlay processing, and the like, creates a form definition such as form frame information and character information, and outputs it as a form definition file 8 (step S5).
[0042]
As mentioned above, although this invention was demonstrated by the embodiment, various deformation | transformation are possible for this invention in the range of the main point. For example, in the present embodiment, the configuration example in which the processing means for realizing the present invention is provided in the printer spooler 20 has been described. However, it has an interface shared by the operating system of the computer 10 and receives and recognizes various types of files. As long as the processing unit has a function capable of outputting data in a format that can be processed by the processing unit 5A, each unit described in this embodiment can be provided, and the present invention can be realized.
[0043]
【The invention's effect】
As described above, according to the present invention, it is possible to accurately create a form definition with less effort based on form data created by various applications and already created form definitions.
[Brief description of the drawings]
FIG. 1 is a diagram for explaining the principle of the present invention.
FIG. 2 is a diagram showing an example of a system configuration for specifically realizing the present invention.
3 is a processing flowchart of the present invention in the configuration example shown in FIG. 2;
FIG. 4 is a diagram showing a display example of a print setting screen for starting processing of the present invention.
FIG. 5 is a diagram for explaining a conventional form definition creation process;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Form definition processing apparatus 2 Recognition file generation means 3 Recognition file 4 Output management means 5 Recognition processing means 6 Application 7 Application file 8 Form definition file 10 Computer 20 Printer spooler 2A Printer driver 3A Print image 4A Print monitor 5A Recognition process Part

Claims (4)

帳票印刷処理の設定情報である帳票定義を生成する帳票定義処理装置であって、
オペレーティング・システムによって共通化されたインタフェースを持ち、電子化されたデータに含まれる帳票定義をもとに枠情報を認識し、該枠情報が示す枠内に印字情報を配置して、該電子化されたデータを認識処理手段が処理可能な形式のデータへ変換して認識用データを出力する認識用データ生成処理手段と、
前記認識用データから枠情報または文字情報を認識して帳票定義を生成する認識処理手段とを備え
ことを特徴とする帳票定義処理装置。
A form definition processing device that generates a form definition that is setting information for form print processing,
Have a common Interfaces by the operating system, electrostatic Coca been recognized frame information form definitions included in the data based, by placing the printed information in the frame indicated by the frame information, electronic a reduction has been recognized data generation processing means for data recognition processing means outputs a recognition data is converted into data processable form,
Form definition processing device characterized by Ru and a recognition processing means for generating a form definition recognizes the frame information or character information from the recognition data.
請求項1に記載の帳票定義処理装置であって、
前記認識用データ生成処理手段は、前記認識用データとして印刷出力が可能なページ形式のデータを生成する
ことを特徴とする帳票定義処理装置。
The form definition processing device according to claim 1,
The form definition processing device characterized in that the recognition data generation processing means generates page format data that can be printed out as the recognition data.
帳票印刷処理の設定情報である帳票定義を生成する帳票定義処理を、コンピュータに実行させるプログラムであって、
オペレーティング・システムによって共通化されたインタフェースを持ち、電子化されたデータに含まれる帳票定義をもとに枠情報を認識し、該枠情報が示す枠内に印字情報を配置して、該電子化されたデータを認識処理で処理可能な形式のデータへ変換して認識用データを出力する認識用データ生成処理と、
前記認識用データから枠情報または文字情報を認識して帳票定義を生成する認識処理とを、コンピュータに実行させ
ことを特徴とする帳票定義処理プログラム。
A program that causes a computer to execute a form definition process for generating a form definition that is setting information for a form print process,
Have a common Interfaces by the operating system, electrostatic Coca been recognized frame information form definitions included in the data based, by placing the printed information in the frame indicated by the frame information, electronic and recognition data generation processing for outputting recognition data by converting encrypted data to data processable format recognition process,
The form definition program, characterized in that the recognition process for generating a form definition recognizes the frame information or character information from the recognition data, Ru cause the computer to execute.
帳票印刷処理の設定情報である帳票定義を生成する帳票定義処理をコンピュータに実行させるプログラムを記録した記録媒体であって、
オペレーティング・システムによって共通化されたインタフェースを持ち、電子化されたデータに含まれる帳票定義をもとに枠情報を認識し、該枠情報が示す枠内に印字情報を配置して、該電子化されたデータを認識処理で処理可能な形式のデータへ変換して認識用データを出力する認識用データ生成処理と、
前記認識用データから枠情報または文字情報を認識して帳票定義を生成する認識処理とを、コンピュータに実行させ
ことを特徴とするプログラムを記録した帳票定義処理プログラム記録媒体。
A recording medium that records a program that causes a computer to execute a form definition process for generating a form definition that is setting information for a form print process,
Have a common Interfaces by the operating system, electrostatic Coca been recognized frame information form definitions included in the data based, by placing the printed information in the frame indicated by the frame information, electronic and recognition data generation processing for outputting recognition data by converting encrypted data to data processable format recognition process,
Wherein the recognition processing for generating to form definition recognizes recognition frame information or character information from the data, the form definition processing program recording medium recording a program characterized <br/> that Ru is executed by a computer.
JP2001332533A 2001-10-30 2001-10-30 Form definition processing device, form definition processing program, and form definition processing program recording medium Expired - Lifetime JP4136357B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001332533A JP4136357B2 (en) 2001-10-30 2001-10-30 Form definition processing device, form definition processing program, and form definition processing program recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001332533A JP4136357B2 (en) 2001-10-30 2001-10-30 Form definition processing device, form definition processing program, and form definition processing program recording medium

Publications (2)

Publication Number Publication Date
JP2003141445A JP2003141445A (en) 2003-05-16
JP4136357B2 true JP4136357B2 (en) 2008-08-20

Family

ID=19147936

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001332533A Expired - Lifetime JP4136357B2 (en) 2001-10-30 2001-10-30 Form definition processing device, form definition processing program, and form definition processing program recording medium

Country Status (1)

Country Link
JP (1) JP4136357B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8564846B2 (en) 2010-09-13 2013-10-22 Ricoh Company, Ltd. Form processing apparatus, form processing method, and storage medium for updating definition data

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5239807B2 (en) * 2008-12-10 2013-07-17 富士通株式会社 Spreadsheet generation program, spreadsheet generation apparatus, and spreadsheet generation method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8564846B2 (en) 2010-09-13 2013-10-22 Ricoh Company, Ltd. Form processing apparatus, form processing method, and storage medium for updating definition data

Also Published As

Publication number Publication date
JP2003141445A (en) 2003-05-16

Similar Documents

Publication Publication Date Title
JP4948233B2 (en) Information processing apparatus, program, and recording medium
EP0851340A1 (en) Printing apparatus and method for a personal digital assistant
US8171056B2 (en) Data processor, data processing method, and computer product
JPS63185274A (en) terminal device
US6476938B1 (en) Print control system and method
US8831351B2 (en) Data processing apparatus, method for controlling data processing apparatus, and non-transitory computer readable storage medium
US20100054467A1 (en) Image forming system and security printing method thereof
JP2010176542A (en) Print information converter, printer, printing system and program
US20060132824A1 (en) Information processing apparatus and information processing method
US20070070443A1 (en) Host device having extraction function of text and extraction method thereof
JP2017188813A (en) Image forming apparatus, program, and information processing system
JP4136357B2 (en) Form definition processing device, form definition processing program, and form definition processing program recording medium
CN101097518A (en) Systems and methods for recognizing optical characters
JP3633256B2 (en) Print image processing system, print image processing method, and recording medium on which print image processing program is recorded
CN101410785B (en) Method and apparatus to generate XHTML-Print contents
JP2009269179A (en) Printer, program and recording medium
JP2003044468A (en) Output character checking method and system
JP4492838B2 (en) Printing information storage method and apparatus
JP4189839B2 (en) Two-dimensional barcode character string generator for multiple information formats
JP2008244612A (en) Image processing apparatus and method
JP2002366321A (en) Image processor, image processing system, and image processing program
JP4270016B2 (en) Document management system
JP2005092461A (en) Data editing device, and control method and control program for the same
CN118732963A (en) Print file generation method, device, electronic device and readable medium
JP4311031B2 (en) Printer setting system, printer, printer program, and printer setting method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040518

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070821

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071022

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071120

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080205

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080401

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: 20080507

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: 20080603

R150 Certificate of patent or registration of utility model

Ref document number: 4136357

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140613

Year of fee payment: 6

EXPY Cancellation because of completion of term