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
JP5953727B2 - Image processing apparatus and program - Google Patents
[go: Go Back, main page]

JP5953727B2 - Image processing apparatus and program - Google Patents

Image processing apparatus and program Download PDF

Info

Publication number
JP5953727B2
JP5953727B2 JP2011270147A JP2011270147A JP5953727B2 JP 5953727 B2 JP5953727 B2 JP 5953727B2 JP 2011270147 A JP2011270147 A JP 2011270147A JP 2011270147 A JP2011270147 A JP 2011270147A JP 5953727 B2 JP5953727 B2 JP 5953727B2
Authority
JP
Japan
Prior art keywords
data
image processing
processing apparatus
overlay
open
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
JP2011270147A
Other languages
Japanese (ja)
Other versions
JP2013123100A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2011270147A priority Critical patent/JP5953727B2/en
Publication of JP2013123100A publication Critical patent/JP2013123100A/en
Application granted granted Critical
Publication of JP5953727B2 publication Critical patent/JP5953727B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

本発明は、汎用ホストコンピュータのデータ形式からオープン系コンピュータのデータ形式に変換されたオーバーレイ印刷用フォームの編集機能を有する画像処理装置及びプログラムに関する。   The present invention relates to an image processing apparatus and program having an editing function for an overlay printing form converted from a data format of a general-purpose host computer to a data format of an open system computer.

帳票等の基幹業務系データの印刷には、多くの場合、オーバーレイ印刷が用いられている。オーバーレイ印刷は、予め登録されたフォーム(書式)に出力ページを重ね合わせて印刷する機能であり、例えば、印刷時に帳票フォームを呼び出し、帳票データと重ね合わせることにより帳票印刷を行う。   In many cases, overlay printing is used for printing basic business data such as forms. Overlay printing is a function that prints an output page superimposed on a pre-registered form (format). For example, the form is called at the time of printing and printed by superimposing it on the form data.

通常、オーバーレイ印刷は、メインフレーム等の汎用ホストコンピュータから送信される印刷データにおいて、利用するフォームを指定することにより行われる。ここで、汎用ホストコンピュータから送信される印刷データは、プリンタ制御コードを含む特殊なPDL(Page Description Language:ページ記述言語)により記述されるため、オーバーレイ指定を含む帳票データの印刷には高価な大型専用プリンタ(ラインプリンタ)が必要となる。   Normally, overlay printing is performed by designating a form to be used in print data transmitted from a general-purpose host computer such as a mainframe. Here, the print data transmitted from the general-purpose host computer is described in a special PDL (Page Description Language) including a printer control code. A dedicated printer (line printer) is required.

そのため、例えばパーソナルコンピュータやワークステーションのようなオープン系コンピュータ(オープン環境に適合したコンピュータ)の印刷データを基に印刷を行うページプリンタなどのオープン系の画像形成装置は、汎用ホストコンピュータから送信された印刷データを解釈できないため、分散型印刷環境の構築等が困難であるという問題があった。   Therefore, for example, an open image forming apparatus such as a page printer that performs printing based on print data of an open computer (computer adapted to an open environment) such as a personal computer or a workstation is transmitted from a general-purpose host computer. Since the print data cannot be interpreted, there is a problem that it is difficult to construct a distributed printing environment.

そこで、このような問題を解決するシステムとして、汎用ホストコンピュータであるメインフレームとオープン系の画像形成装置であるページプリンタとの間のデータ体系変換を実行する画像処理装置(画像処理サーバ)を設けたシステムがある。このシステムでは、画像処理装置は、メインフレームからのラインデータを受信し、ページプリンタが解釈できるデータ体系のPDLに変換した後、ページプリンタに渡し、印刷を実行させる。   Therefore, as a system for solving such a problem, an image processing apparatus (image processing server) that performs data system conversion between a mainframe that is a general-purpose host computer and a page printer that is an open image forming apparatus is provided. There is a system. In this system, the image processing apparatus receives line data from the main frame, converts it into PDL having a data system that can be interpreted by the page printer, and then passes the data to the page printer for printing.

例えば特許文献1には、メインフレームが使用するフォントデータを、画像処理サーバ及びページプリンタが解釈可能なフォントデータに変換するとともに、メインフレームからの印刷データにロゴや外字が含まれている場合、ビットマップ変換を実行し、イメージデータとする文字処理部と、メインフレームからの印刷データに記述されたフォームイメージ識別値に基づいて、予めハードディスクなどに記憶されているPDF(Portable Document Format)、JPEG(Joint Photographic Experts Group)、GIF(Graphics Interchange Format)などのデータ形式のフォームイメージを読み込むフォームイメージ取得部と、文字処理部で処理された文字データ、及びフォームイメージ取得部で取得されたフォームイメージを統合してEMF(Extended Meta File)形式などのオーバーレイデータを作成するオーバーレイ処理部と、オーバーレイデータからページプリンタが解釈可能なプリントデータを生成するプリンタドライバとを備えた画像処理サーバが開示されている。   For example, in Patent Document 1, font data used by a main frame is converted into font data that can be interpreted by an image processing server and a page printer, and a logo or an external character is included in print data from the main frame. Based on the character image processing unit that performs bitmap conversion and converts it into image data, and the form image identification value described in the print data from the main frame, PDF (Portable Document Format), JPEG stored in advance on a hard disk or the like (Joint Photographic Experts Group), form image acquisition unit that reads form images in data formats such as GIF (Graphics Interchange Format), character data processed by the character processing unit, and form image acquired by the form image acquisition unit Integrated EMF (Extended Meta File) format And overlay processor for creating overlay data, image processing server and a printer driver for generating print data interpretable page printer from the overlay data is disclosed.

しかしながら、この画像処理サーバには、画像処理サーバが解釈可能なデータ体系に変換されたフォームの編集機能がないため、そのフォームを変更するにはデータ体系変換前のメインフレームのリソース(汎用機リソース)を変更し、再度画像処理サーバが解釈可能なデータ体系(オープン系帳票リソース)に変換する必要がある。   However, since this image processing server does not have an editing function for a form converted into a data system that can be interpreted by the image processing server, a mainframe resource (general-purpose machine resource) before the data system conversion is required to change the form. ) And the data system (open form resource) that can be interpreted by the image processing server again.

本発明は、このような問題を解決するためになされたものであり、その目的は、汎用ホストコンピュータのデータ形式からオープン系コンピュータのデータ形式に変換されたオーバーレイ印刷用フォームを編集できるようにすることである。   The present invention has been made to solve such problems, and an object of the present invention is to enable editing of an overlay printing form converted from a data format of a general-purpose host computer to a data format of an open computer. That is.

本発明の画像処理装置は、汎用ホストコンピュータのデータ形式を有するオーバーレイ印刷用フォームのフォームデータから変換されたオープン系コンピュータのデータ形式を有するオープン系フォームデータを記憶するフォームデータ記憶部から前記オープン系フォームデータを読み取るファイル読み取り部と、前記ファイル読み取り部により読み取られた前記オープン系フォームデータの属性情報から、前記オーバーレイ印刷用フォームの描画パラメータを取得する読み取りデータ変換部と、前記読み取りデータ変換部により取得された描画パラメータに基づいて、描画データを生成する描画データ生成手段と、該描画データにより表示されているオーバーレイ印刷用フォームに対する編集指示に基づいて、編集後のオーバーレイ印刷用フォームの属性情報を生成する書き込みデータ変換部と、
記書き込みデータ変換部により生成された属性情報を前記フォームデータ記憶部に書き込むファイル書き込み部と、を備えた画像処理装置である。
The image processing apparatus according to the present invention includes the open system from the form data storage unit that stores the open system form data having the data format of the open system converted from the form data of the overlay printing form having the data format of the general-purpose host computer. A file reading unit that reads form data, a read data conversion unit that acquires drawing parameters of the overlay printing form from the attribute information of the open system form data read by the file reading unit, and the read data conversion unit based on the obtained drawing parameters, the drawing data generating means for generating drawing data, based on the editing instruction for overlay printing form displayed by image drawing data, overlay printing edited A write data conversion unit for generating attribute information of Omu,
An image processing apparatus having a file writing portion, a writing attribute information generated by the previous SL write data conversion unit in the form data storage unit.

本発明によれば、汎用ホストコンピュータのデータ形式からオープン系コンピュータのデータ形式に変換されたオーバーレイ印刷用フォームを編集し、保存することができる。 According to the present invention, an overlay printing form converted from a general-purpose host computer data format to an open computer data format can be edited and stored .

本発明の実施形態の画像処理装置を備えた業務システムの構成を示す図である。It is a figure which shows the structure of the business system provided with the image processing apparatus of embodiment of this invention. 図1における帳票印刷サーバのハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the form printing server in FIG. 図1における帳票印刷サーバの機能ブロック図である。It is a functional block diagram of the form printing server in FIG. 図3における汎用機リソースファイル及びオープン系帳票リソースファイルの構造を示す図である。It is a figure which shows the structure of the general purpose machine resource file in FIG. 3, and an open system form resource file. 図3における帳票ビューアーデザイナーの構造を示す図である。It is a figure which shows the structure of the form viewer designer in FIG. 図4に示す帳票ビューアーデザイナーの帳票フォーム描画時の処理を示すフローチャートである。FIG. 5 is a flowchart showing a process at the time of drawing a form by the form viewer designer shown in FIG. 4. 図4に示す帳票ビューアーデザイナーの帳票フォーム編集時の処理を示すフローチャートである。FIG. 5 is a flowchart showing a process when a form viewer designer shown in FIG. 4 edits a form.

以下、本発明の実施形態について図面を参照して説明する。
〈画像処理装置の使用環境〉
図1は本発明の実施形態の画像処理装置を備えた業務システムの構成を示す図である。
Embodiments of the present invention will be described below with reference to the drawings.
<Usage of image processing device>
FIG. 1 is a diagram showing a configuration of a business system including an image processing apparatus according to an embodiment of the present invention.

この業務システムは、企業などの基幹業務用に構築されており、LAN(Local Area Network)などのネットワーク1を介して、メインフレーム2、画像処理装置としての帳票印刷サーバ3、端末コンピュータ4、及び画像形成装置5が接続されている。なお、ここでは便宜上、端末コンピュータ4及び画像形成装置5を1台ずつ図示したが、実際にはそれぞれが複数台設けられる。   This business system is constructed for a basic business such as a company, and via a network 1 such as a LAN (Local Area Network), a main frame 2, a form print server 3 as an image processing device, a terminal computer 4, and An image forming apparatus 5 is connected. Here, for convenience, the terminal computer 4 and the image forming apparatus 5 are illustrated one by one, but actually, a plurality of each are provided.

メインフレーム2は、業務用の汎用コンピュータなどからなり、独自のオペレーティングシステム(以下、OSと言う。)の下で、PL−1、COBOL、PROLOG、FORTRAN、C、C++、JAVA(登録商標)などのプログラムにより記述された業務アプリケーションを実行し、リレーショナルデータベースなどに記録されたデータを使用して帳票印刷などのための印刷データを生成する。印刷データは、メインフレーム2が印刷ジョブのジョブ記述言語及びフォーム記述言語を含む専用記述言語により、メインフレーマ各社の規格に従って記述されている。   The mainframe 2 is composed of a general-purpose computer for business use, and the like, under a unique operating system (hereinafter referred to as OS), PL-1, COBOL, PROLOG, FORTRAN, C, C ++, JAVA (registered trademark), etc. The business application described by the above program is executed, and print data for form printing or the like is generated using data recorded in a relational database or the like. The print data is described in accordance with the standards of each main framer company in a dedicated description language including a job description language and a form description language of the print job in the main frame 2.

帳票印刷サーバ3は、パーソナルコンピュータやワークステーションなどのオープン系コンピュータにより構成されており、OSとしてWindows(登録商標)Server2000Xなどが実装され、アセンブラ、C、C++、Java(登録商標)などのプログラミング言語で記述されたサーバプログラムを実行し、メインフレーム2からの印刷データを、画像形成装置5が解釈可能なPDLコマンドが追加された印刷データに変換する。UNIX(登録商標)又はINUX(登録商標)などをOSとして実装するサーバを利用することもできる。   The form printing server 3 is composed of an open computer such as a personal computer or a workstation, and is implemented with Windows (registered trademark) Server2000X as an OS, and a programming language such as assembler, C, C ++, Java (registered trademark), or the like. Is executed to convert print data from the main frame 2 into print data to which a PDL command that can be interpreted by the image forming apparatus 5 is added. A server that implements UNIX (registered trademark) or INUX (registered trademark) as an OS can also be used.

端末コンピュータ4も、帳票印刷サーバ3と同様の構成を備えており、メインフレーム2及び帳票印刷サーバ3との間のデータ通信が可能である。本実施形態では、端末コンピュータ4は、帳票印刷サーバ3に対し、画像形成装置5への印刷データの出力指示を行ったり、印刷ジョブの履歴を管理したりする。   The terminal computer 4 also has the same configuration as that of the form print server 3, and data communication between the main frame 2 and the form print server 3 is possible. In the present embodiment, the terminal computer 4 instructs the form print server 3 to output print data to the image forming apparatus 5 and manages the history of print jobs.

画像形成装置5は、ネットワーク1を介してデータの送受が可能な、複合機(MFP:Multi-Function Peripheral)などである。   The image forming apparatus 5 is a multi-function peripheral (MFP) that can send and receive data via the network 1.

この業務システムでは、メインフレーム2が生成した印刷データのデータ形式は画像形成装置5が解釈可能なデータ形式ではない。そのため、メインフレーム2は、生成した印刷データをネットワーク1経由で帳票印刷サーバ3へ送信し、帳票印刷サーバ3は、受信した印刷データを画像形成装置5が解釈可能な印刷データに変換した後、ネットワーク1を介して画像形成装置5へ送信する。これにより、画像形成装置5はメインフレーム2で管理されている帳票などを印刷することができる。   In this business system, the data format of the print data generated by the main frame 2 is not a data format that can be interpreted by the image forming apparatus 5. Therefore, the main frame 2 transmits the generated print data to the form print server 3 via the network 1, and the form print server 3 converts the received print data into print data that can be interpreted by the image forming apparatus 5. The data is transmitted to the image forming apparatus 5 via the network 1. As a result, the image forming apparatus 5 can print a form or the like managed by the main frame 2.

〈帳票印刷サーバのハードウェア構成〉
図2は帳票印刷サーバ3のハードウェア構成を示すブロック図である。
図示のように、帳票印刷サーバ3は、システムバス31と、それぞれがシステムバス31に接続されたCPU(Central Processing Unit)32、ROM(Read Only Memory)33、RAM(Random Access Memory)34、HDD(Hard Disk Drive:ハードディスク装置)35、操作・表示部36、及びネットワークI/F(インタフェース)37を備えている。
<Hardware configuration of form printing server>
FIG. 2 is a block diagram showing the hardware configuration of the form printing server 3.
As shown in the figure, the form printing server 3 includes a system bus 31, a CPU (Central Processing Unit) 32, a ROM (Read Only Memory) 33, a RAM (Random Access Memory) 34, and an HDD each connected to the system bus 31. (Hard Disk Drive: hard disk device) 35, operation / display unit 36, and network I / F (interface) 37 are provided.

CPU32は、ROM33に記憶されているプログラムの指示により、HDD35に記憶されているプログラム及びデータをRAM34に転送し、RAM34に転送されたプログラム及びデータに基づき、各種処理を実行する。このプログラム及びデータは、図示しない光学ドライブ装置を用いて記録媒体から読み込んだり、ネットワークI/F37からダウンロードしたりすることで、HDD35に記憶される。   The CPU 32 transfers the program and data stored in the HDD 35 to the RAM 34 according to instructions of the program stored in the ROM 33, and executes various processes based on the program and data transferred to the RAM 34. The program and data are stored in the HDD 35 by being read from a recording medium using an optical drive device (not shown) or downloaded from the network I / F 37.

操作・表示部36は、キーボードやポインティングデバイスなどの入力デバイスと、LCDディスプレイなどのディスプレイデバイスとを備えており、ユーザからの要求や指示の入力及び表示などに用いられる。   The operation / display unit 36 includes an input device such as a keyboard and a pointing device and a display device such as an LCD display, and is used for inputting and displaying a request or instruction from a user.

ネットワークI/F37はネットワーク1への接続に用いられ、通信に伴うデータ変換等を行うとともにプログラムやデータの授受を行う。本実施形態では、ネットワークI/F37は、メインフレーム2からのデータを受信してRAM34に転送したり、RAM34に保持されている画像形成装置5が解釈可能な印刷データを画像形成装置5へ送信したりする。   The network I / F 37 is used for connection to the network 1, performs data conversion associated with communication, and exchanges programs and data. In the present embodiment, the network I / F 37 receives data from the main frame 2 and transfers the data to the RAM 34, or transmits print data that can be interpreted by the image forming apparatus 5 held in the RAM 34 to the image forming apparatus 5. To do.

〈帳票印刷サーバの機能ブロック図〉
図3は帳票印刷サーバ3の機能ブロック図である。ここで、各機能ブロックは、帳票印刷サーバ3内のCPU32がRAM34をワークエリアとして、HDD35から読み込んだプログラム及びデータを処理することにより実現される。
<Function block diagram of form printing server>
FIG. 3 is a functional block diagram of the form printing server 3. Here, each functional block is realized by the CPU 32 in the form print server 3 processing a program and data read from the HDD 35 using the RAM 34 as a work area.

図示のように、帳票印刷サーバ3は、汎用機リソースファイル41、オープン系帳票リソースファイル42、帳票移行変換ツール43、帳票ビューアーデザイナー44、汎用機リソースデータ変換エンジン45、及びプリンタドライバ46を備えている。   As shown in the figure, the form print server 3 includes a general-purpose machine resource file 41, an open form resource file 42, a form migration conversion tool 43, a form viewer designer 44, a general-purpose machine resource data conversion engine 45, and a printer driver 46. Yes.

汎用機リソースファイル41はメインフレーム2により作成された、メインフレーム2に固有のデータ形式の制御情報を持つ帳票データのファイルである。オープン系帳票リソースファイル42はオープン環境に最適化されたデータ形式の制御情報を持つ帳票データのファイルである。それぞれの帳票リソースファイルの構造の詳細については後述する。   The general-purpose machine resource file 41 is a form data file created by the main frame 2 and having control information in a data format unique to the main frame 2. The open system form resource file 42 is a form data file having control information in a data format optimized for an open environment. Details of the structure of each form resource file will be described later.

帳票移行変換ツール43は汎用機リソースファイル41のデータ形式をオープン系帳票リソースファイル42のデータ形式に変換する機能を備えたモジュールである。帳票ビューアーデザイナー44は、オープン系帳票リソースファイル42のデータ(帳票フォームデータ)をGUI(Graphical User Interface)環境で表示及び編集する機能を備えたモジュールである。帳票ビューアーデザイナー44の詳細については後述する。   The form transfer conversion tool 43 is a module having a function of converting the data format of the general-purpose machine resource file 41 into the data format of the open system form resource file 42. The form viewer designer 44 is a module having a function of displaying and editing data (form form data) of the open form resource file 42 in a GUI (Graphical User Interface) environment. Details of the form viewer designer 44 will be described later.

汎用機リソースデータ変換エンジン45は、メインフレーム2から送出された帳票フォーム識別データ及び帳票データを含む印刷データから、オープン系コンピュータのデータ形式の帳票フォームに帳票データをオーバーレイしたオーバーレイデータを生成する。   The general-purpose machine resource data conversion engine 45 generates overlay data by overlaying the form data on the form form in the data format of the open system from the print data including the form form identification data and the form data sent from the main frame 2.

即ち、メインフレーム2からの印刷データ中の帳票フォーム識別データ(後述する図4に示す汎用機リソースファイル41における「フォーム名101」)を基にオープン系帳票リソースファイル42を参照して、対応する帳票フォームデータを特定して取得し、所定の形式(ここではEMF形式)の画像データに変換するとともに、メインフレーム2からの印刷データ中の帳票データを所定の形式の画像データに変換し、さらにこの帳票フォームの画像データに帳票データの画像データを合成してオーバーレイデータを生成する。   That is, the open form resource file 42 is referred to based on the form form identification data (“form name 101” in the general-purpose machine resource file 41 shown in FIG. 4 to be described later) in the print data from the main frame 2. Form form data is specified and acquired, converted into image data in a predetermined format (here, EMF format), and form data in the print data from the mainframe 2 is converted into image data in a predetermined format. The overlay data is generated by combining the image data of the form data with the image data of the form form.

汎用機リソースデータ変換エンジン45は、生成したオーバーレイデータをプリンタドライバ46に渡す。プリンタドライバ46は、オーバーレイデータから、画像形成装置5が解釈可能なPostScript(登録商標)などのPDLにより記述された印刷データを生成し、画像形成装置5へ送出する。   The general-purpose machine resource data conversion engine 45 passes the generated overlay data to the printer driver 46. The printer driver 46 generates print data described in PDL such as PostScript (registered trademark) that can be interpreted by the image forming apparatus 5 from the overlay data, and sends the print data to the image forming apparatus 5.

〈汎用機リソースファイル及びオープン系帳票リソースファイルの構造〉
図4は汎用機リソースファイル41及びオープン系帳票リソースファイル42の構造を示す図である。
<Structure of general-purpose machine resource file and open form resource file>
FIG. 4 is a diagram showing the structure of the general-purpose machine resource file 41 and the open system form resource file 42.

図示のように、汎用機リソースファイル41は、フォーム名101、コンパイルモード102、用紙サイズ103、用紙方向104、グリッドサイズ105、フォント指定106、線描画コマンド107、矩形描画コマンド108、テキスト描画コマンド109、円描画コマンド110、及び画像埋め込みコマンド111を備えている。   As illustrated, the general-purpose machine resource file 41 includes a form name 101, a compile mode 102, a paper size 103, a paper direction 104, a grid size 105, a font designation 106, a line drawing command 107, a rectangle drawing command 108, and a text drawing command 109. , A circle drawing command 110 and an image embedding command 111.

また、オープン系帳票リソースファイル42は、ヘッダ文字列201、ファイルバージョン202、オーバーレイ属性203、図形オブジェクト数204、図形オブジェクト・タイプ205、及び図形オブジェクト206を備えている。ここでは、オープン系帳票リソースファイル42のデータは所定の独自形式のベクトルデータである。   The open form resource file 42 includes a header character string 201, a file version 202, an overlay attribute 203, a graphic object number 204, a graphic object type 205, and a graphic object 206. Here, the data in the open form resource file 42 is vector data in a predetermined unique format.

前述したように、汎用機リソースファイル41からオープン系帳票リソースファイル42へのデータ体系変換は帳票移行変換ツール43が行う。帳票移行変換ツール43は、この変換処理を行うとき、汎用機リソースファイル41におけるフォーム名101、用紙サイズ103、用紙方向104、及びグリッドサイズ105をオープン系帳票リソースファイル42におけるオーバーレイ属性203に対応させる。また、線描画コマンド107、矩形描画コマンド108、テキスト描画コマンド109、円描画コマンド110、及び画像埋め込みコマンド111を各々の図形オブジェクト・タイプ205と図形オブジェクト206に対応させる。また、フォント指定106をテキストの図形オブジェクトに対応させる。   As described above, the data system conversion from the general-purpose machine resource file 41 to the open system form resource file 42 is performed by the form migration conversion tool 43. When performing the conversion process, the form migration conversion tool 43 associates the form name 101, the paper size 103, the paper direction 104, and the grid size 105 in the general-purpose machine resource file 41 with the overlay attribute 203 in the open form resource file 42. . Further, the line drawing command 107, the rectangle drawing command 108, the text drawing command 109, the circle drawing command 110, and the image embedding command 111 are made to correspond to the respective graphic object type 205 and the graphic object 206. Also, the font designation 106 is made to correspond to a text graphic object.

〈帳票ビューアーデザイナーの構造〉
図5は帳票ビューアーデザイナー44の構造を示す図である。
帳票ビューアーデザイナー44は、オープン系帳票リソースファイル42における所望の帳票フォームを操作・表示部36におけるGUI環境で編集することを可能にするモジュールであり、図示のように、オープン系帳票リソースファイル読み取り部441、読み取りデータ変換部442、デザイナーUI(User Interface)部443、書き込みデータ変換部444、及びオープン系帳票リソースファイル書き込み部445を備えている。ここで、編集対象の帳票フォームは、操作・表示部36にリストを表示し、選択することができる。
<Structure of form viewer designer>
FIG. 5 shows the structure of the form viewer designer 44.
The form viewer designer 44 is a module that allows a desired form form in the open form resource file 42 to be edited in the GUI environment in the operation / display unit 36. As shown in FIG. 441, a read data conversion unit 442, a designer UI (User Interface) unit 443, a write data conversion unit 444, and an open system resource file writing unit 445. Here, the form to be edited can be selected by displaying a list on the operation / display unit 36.

オープン系帳票リソースファイル読み取り部441は、オープン系帳票リソースファイル42から所望の帳票フォームのファイルデータを読み取り、読み取りデータ変換部442に渡す。読み取りデータ変換部442は、受け取ったファイルデータ中の図形オブジェクト206の属性情報(形状、サイズ、色など)から描画パラメータを取得して、デザイナーUI部443に渡す。デザイナーUI部443は、受け取った描画パラメータとともに描画コマンドをOS47に渡す。OS47は受け取った描画パラメータ及び描画コマンドに従って、帳票フォームを描画し、操作・表示部36のディスプレイデバイス361に表示させる。   The open system form resource file reading unit 441 reads the file data of a desired form form from the open system form resource file 42 and passes it to the read data conversion unit 442. The read data conversion unit 442 acquires drawing parameters from the attribute information (shape, size, color, etc.) of the graphic object 206 in the received file data and passes the drawing parameters to the designer UI unit 443. The designer UI unit 443 passes the drawing command together with the received drawing parameter to the OS 47. The OS 47 draws a form according to the received drawing parameters and drawing command and displays the form on the display device 361 of the operation / display unit 36.

本実施形態では、読み取りデータ変換部442による描画パラメータの作成処理、及びOS47による描画処理はWindows(登録商標)が提供するグラフィックス描画機能であるGDI(Graphics Device Interface)を利用して行われる。即ち、読み取りデータ変換部442は、所定の形式のベクトルデータからなるオープン系帳票リソースファイル42のデータをEMF形式に変換することで描画パラメータを生成してOS47に渡し、OS47は描画パラメータに記述されているGDI関数に対応する描画モジュールを呼び出し、描画を行う。   In the present embodiment, drawing parameter creation processing by the read data conversion unit 442 and drawing processing by the OS 47 are performed using a GDI (Graphics Device Interface) which is a graphics drawing function provided by Windows (registered trademark). That is, the read data conversion unit 442 generates drawing parameters by converting the data in the open form resource file 42 composed of vector data in a predetermined format into the EMF format, and passes it to the OS 47. The OS 47 is described in the drawing parameters. A drawing module corresponding to the GDI function being called is called to perform drawing.

操作・表示部36のディスプレイデバイス361に表示されている帳票フォームに対して、ユーザがポインティングデバイスなどを用いて、編集操作を行うと、その内容がOS47によりデザイナーUI部443に送られ、デザイナーUI部443から書き込みデータ変換部444に送られる。書き込みデータ変換部444は、編集後の帳票フォームの描画パラメータを生成し、所定の形式のベクトルデータに変換してオープン系帳票リソースファイル書き込み部445に渡す。オープン系帳票リソースファイル書き込み部445は、受け取った所定の形式のベクトルデータをオープン系帳票リソースファイル42に書き込む。これにより、オープン系帳票リソースファイル42には編集された帳票フォームのデータが記憶される。   When the user performs an editing operation on the form form displayed on the display device 361 of the operation / display unit 36 using a pointing device or the like, the content is sent to the designer UI unit 443 by the OS 47, and the designer UI is displayed. The data is sent from the unit 443 to the write data conversion unit 444. The write data conversion unit 444 generates drawing parameters for the edited form, converts it to vector data in a predetermined format, and passes it to the open form resource file writing unit 445. The open system form resource file writing unit 445 writes the received vector data in a predetermined format to the open system form resource file 42. As a result, the open form resource file 42 stores the data of the edited form form.

〈帳票ビューアーデザイナーの動作〉
次に帳票ビューアーデザイナー44の動作について、帳票フォーム描画時の処理、帳票フォーム編集時の処理の順に説明する。
<Operation of form viewer designer>
Next, the operation of the form viewer designer 44 will be described in the order of the process at the time of form form drawing and the process at the time of form form editing.

《帳票フォーム描画時の処理》
図6は帳票ビューアーデザイナー44の帳票フォーム描画時の処理を示すフローチャートである。
《Process when drawing form form》
FIG. 6 is a flowchart showing a process when the form viewer designer 44 draws a form.

図示のように、帳票ビューアーデザイナー44は、オープン系帳票リソースファイル42を開き(ステップS1)、まずヘッダ文字列201を読み込む(ステップS2)。次に、ファイルバージョン202の読み込み(ステップS3)、オーバーレイ属性203の読み込み(ステップS4)、図形オブジェクト数204の読み込み(ステップS5)を行う。   As shown in the figure, the form viewer designer 44 opens the open form resource file 42 (step S1), and first reads the header character string 201 (step S2). Next, the file version 202 is read (step S3), the overlay attribute 203 is read (step S4), and the figure object number 204 is read (step S5).

次いで図形オブジェクト・タイプ205の読み込み(ステップS6)と、その図形オブジェクト・タイプに対応する図形オブジェクト206の読み込み(ステップS7)を行い、描画パラメータ301を生成して描画コマンドとともにOS47に渡す。OS47は、描画パラメータ及び描画コマンドに従って、図形オブジェクトを描画し(ステップS8)、ディスプレイデバイス361に図形オブジェクトを表示させる。   Next, the graphic object type 205 is read (step S6) and the graphic object 206 corresponding to the graphic object type is read (step S7), and a drawing parameter 301 is generated and passed to the OS 47 together with the drawing command. The OS 47 draws the graphic object according to the drawing parameters and the drawing command (step S8), and causes the display device 361 to display the graphic object.

全ての図形オブジェクト・タイプ205及び対応する図形オブジェクト206の読み込み、描画パラメータ301の作成及びOS47への送付、OS47による図形オブジェクトの描画が終了し、読み込んでいない図形オブジェクト206が無くなったら(ステップS9:図形オブジェクトが存在しない)、オープン係帳票リソースファイル42を閉じ(ステップS10)、帳票フォーム描画時の処理を終える。   When all graphic object types 205 and corresponding graphic objects 206 are read, drawing parameters 301 are created and sent to the OS 47, and drawing of graphic objects by the OS 47 is completed, there are no graphic objects 206 that have not been read (step S9: If there is no graphic object), the open form resource file 42 is closed (step S10), and the process for drawing the form is completed.

《帳票フォーム編集時の処理》
図7は帳票ビューアーデザイナー44の帳票フォーム編集時の処理を示すフローチャートである。
<Processing when editing a form>
FIG. 7 is a flowchart showing the processing when the form viewer designer 44 edits the form.

ユーザがディスプレイデバイス361に表示されている帳票フォームの編集したい部分をポインティングデバイスにより指示すると、指示された部分の表示態様がハイライト表示などに変更される。この時、OS47は「図形作成のユーザ入力」を帳票ビューアーデザイナー44に通知する(ステップS11)。この通知により、描画パラメータ301及び図形オブジェクト作成コマンドが帳票ビューアーデザイナー44に送られる。帳票ビューアーデザイナー44は、受け取った描画パラメータ及び図形オブジェクト作成コマンドに従って、図形オブジェクトを作成する(ステップS12)。   When the user uses the pointing device to indicate a part to be edited on the form form displayed on the display device 361, the display mode of the specified part is changed to highlight display or the like. At this time, the OS 47 notifies the form viewer designer 44 of “graphic input user input” (step S11). With this notification, the drawing parameter 301 and the graphic object creation command are sent to the form viewer designer 44. The form viewer designer 44 creates a graphic object according to the received drawing parameters and graphic object creation command (step S12).

次にユーザがディスプレイデバイス361に表示されている帳票フォームの編集したい部分に対しポインティングデバイスなどを用いて編集操作を行うと、ディスプレイデバイス361には編集された帳票フォームが表示される。この時、OS47は「図形編集のユーザ入力」を帳票ビューアーデザイナー44に通知する(ステップS13)。この通知により、描画パラメータ301及び図形オブジェクト編集コマンドが帳票ビューアーデザイナー44に送られる。帳票ビューアーデザイナー44は、受け取った描画パラメータ及び図形オブジェクト編集コマンドに従って、図形オブジェクトを編集する(ステップS14)。   Next, when the user performs an editing operation using a pointing device or the like on a portion of the form form displayed on the display device 361 to be edited, the edited form form is displayed on the display device 361. At this time, the OS 47 notifies the form viewer designer 44 of “graphic editing user input” (step S13). With this notification, the drawing parameter 301 and the graphic object editing command are sent to the form viewer designer 44. The form viewer designer 44 edits the graphic object in accordance with the received drawing parameters and graphic object editing command (step S14).

次にユーザが編集結果の保存操作を行うと、OS47は「ファイル保存のユーザ入力」を帳票ビューアーデザイナー44に通知する(ステップS15)。この通知により、ファイル保存マンドが帳票ビューアーデザイナー44に送られる。帳票ビューアーデザイナー44は、受け取ったファイル保存コマンドに従って、保持している図形オブジェクトに関するデータをオープン系帳票リソースファイル42に保存する(ステップS16)。   Next, when the user performs an editing result saving operation, the OS 47 notifies the form viewer designer 44 of "user input for file saving" (step S15). By this notification, a file saving command is sent to the form viewer designer 44. The form viewer designer 44 saves the data related to the held graphic object in the open form resource file 42 in accordance with the received file saving command (step S16).

以上詳細に説明したように、本発明の実施形態の帳票印刷サーバ3によれば、オープン系帳票リソースファイル42をGUI環境で容易に編集することができる。従って、オープン系帳票リソースファイル42を変更する際に、変換前の汎用機リソースファイル41を変更し、再度オープン系帳票リソースファイル42に変換する必要がなくなる。   As described above in detail, according to the form printing server 3 of the embodiment of the present invention, the open form resource file 42 can be easily edited in the GUI environment. Therefore, when the open form resource file 42 is changed, it is not necessary to change the general-purpose machine resource file 41 before conversion and convert it to the open form resource file 42 again.

なお、以上の実施形態では、オープン系帳票リソースファイル42のデータをEMF形式に変換して描画パラメータを生成し、Windows(登録商標)が提供するGDI機能を利用して描画を行うものとしたが、オープン系帳票リソースファイル42のデータを他の形式のベクトル画像データに変換して描画パラメータを生成し、他の描画モジュールにより描画を行うように構成することもできる。   In the above embodiment, the data of the open system form resource file 42 is converted into the EMF format to generate drawing parameters, and drawing is performed using the GDI function provided by Windows (registered trademark). Alternatively, the data of the open system form resource file 42 may be converted into vector image data of another format to generate a drawing parameter, and the drawing may be performed by another drawing module.

また、本実施形態では、帳票印刷サーバ3内のプリンタドライバ46により、オーバーレイデータを画像形成装置5がPostScript(登録商標)などのPDLにより記述された印刷データに変換するが、予め画像形成装置5にPostScript(登録商標)フォントなどをダウンロードしておき、帳票印刷サーバ3から画像形成装置5にオーバーレイデータを送信するように構成することもできる。   In this embodiment, the printer driver 46 in the form print server 3 converts the overlay data into print data described in PDL such as PostScript (registered trademark). Alternatively, a PostScript (registered trademark) font or the like may be downloaded to the form printing server 3 to transmit the overlay data to the image forming apparatus 5.

2…メインフレーム、3…帳票印刷サーバ、5…画像形成装置、41…汎用機リソースファイル、42…オープン系帳票リソースファイル、44…帳票ビューアーデザイナー、45…汎用機リソースデータ変換エンジン、46…プリンタドライバ。   2 ... mainframe, 3 ... form printing server, 5 ... image forming apparatus, 41 ... general-purpose machine resource file, 42 ... open form resource file, 44 ... form viewer designer, 45 ... general-purpose machine resource data conversion engine, 46 ... printer driver.

特開2010−72778号公報JP 2010-72778 A

Claims (5)

汎用ホストコンピュータのデータ形式を有するオーバーレイ印刷用フォームのフォームデータから変換されたオープン系コンピュータのデータ形式を有するオープン系フォームデータを記憶するフォームデータ記憶部から前記オープン系フォームデータを読み取るファイル読み取り部と、
前記ファイル読み取り部により読み取られた前記オープン系フォームデータの属性情報から、前記オーバーレイ印刷用フォームの描画パラメータを取得する読み取りデータ変換部と、
前記読み取りデータ変換部により取得された描画パラメータに基づいて、描画データを生成する描画データ生成手段と、
該描画データにより表示されているオーバーレイ印刷用フォームに対する編集指示に基づいて、編集後のオーバーレイ印刷用フォームの属性情報を生成する書き込みデータ変換部と、
記書き込みデータ変換部により生成された属性情報を前記フォームデータ記憶部に書き込むファイル書き込み部と、
を備えた画像処理装置。
A file reading unit for reading the open form data from a form data storage unit for storing open form data having an open computer data format converted from form data of an overlay printing form having a data format of a general-purpose host computer ; ,
From the attribute information of the open system form data read by the file reading unit, a read data conversion unit that acquires drawing parameters of the overlay printing form;
Drawing data generating means for generating drawing data based on the drawing parameters acquired by the read data conversion unit ;
A write data conversion unit that generates attribute information of the edited overlay printing form based on an editing instruction for the overlay printing form displayed by the drawing data ;
A file writing unit for writing the attribute information generated by the previous SL write data conversion unit in the form data storage unit,
An image processing apparatus.
請求項1に記載された画像処理装置において、
前記描画データ生成手段は、前記画像処理装置を構成するコンピュータのオペレーティングシステムが提供する画像処理装置。
The image processing apparatus according to claim 1,
The drawing data generation means is an image processing apparatus provided by an operating system of a computer constituting the image processing apparatus.
請求項1に記載された画像処理装置において
用ホストコンピュータから送信された印刷データ中のフォーム識別情報に基づいて、前記フォームデータ記憶部からフォームデータを取得するフォームデータ取得手段と、
当該取得されたフォームデータ及び前記印刷データ中の帳票データを所定の形式の画像データに変換する画像データ変換手段と、
当該画像データ変換手段により変換されたフォームデータに帳票データを重ね合わせてオーバーレイデータを生成するオーバーレイデータ生成手段と、
を備えた画像処理装置。
The image processing apparatus according to claim 1 ,
Based on the form identification information in the print data sent from the general-purpose host computer, and the form data acquisition means for acquiring the form data from said form data memory unit,
Image data converting means for converting the acquired form data and form data in the print data into image data of a predetermined format;
Overlay data generating means for generating overlay data by superimposing form data on the form data converted by the image data converting means;
An image processing apparatus.
請求項3に記載された画像処理装置において、
前記オーバーレイデータ生成手段により生成されたオーバーレイデータを所定のPDLで記述するプリンタドライバを備えた画像処理装置。
The image processing apparatus according to claim 3,
An image processing apparatus comprising a printer driver that describes overlay data generated by the overlay data generation means in a predetermined PDL.
コンピュータを請求項1〜4のいずれかに記載された画像処理装置の各手段および各部として機能させるためのプログラム。 The program for functioning a computer as each means and each part of the image processing apparatus as described in any one of Claims 1-4.
JP2011270147A 2011-12-09 2011-12-09 Image processing apparatus and program Expired - Fee Related JP5953727B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011270147A JP5953727B2 (en) 2011-12-09 2011-12-09 Image processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011270147A JP5953727B2 (en) 2011-12-09 2011-12-09 Image processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2013123100A JP2013123100A (en) 2013-06-20
JP5953727B2 true JP5953727B2 (en) 2016-07-20

Family

ID=48774852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011270147A Expired - Fee Related JP5953727B2 (en) 2011-12-09 2011-12-09 Image processing apparatus and program

Country Status (1)

Country Link
JP (1) JP5953727B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004178383A (en) * 2002-11-28 2004-06-24 Densan System Co Ltd Overlay printing system, overlay printing method, and overlay printing program
JP5298725B2 (en) * 2008-09-17 2013-09-25 株式会社リコー Image processing apparatus, image processing method, image processing system, and program

Also Published As

Publication number Publication date
JP2013123100A (en) 2013-06-20

Similar Documents

Publication Publication Date Title
US20060092467A1 (en) Print job workflow system
JP2005166050A (en) Translation from PDF document to PPML template
JP5825565B2 (en) Printer driver and method of adding printer driver print function
CN101739224A (en) Thumbnail creation method and image forming apparatus
JP5061151B2 (en) Object acquisition device, object management system, and object management method
KR20020081315A (en) Imaging documemts having static content and variable data
JP2006107142A (en) Document processing apparatus and method
KR101366796B1 (en) Print information conversion apparatus, printing apparatus, printing system and computer readable medium storing a program
JP6632424B2 (en) Information processing apparatus, program and control method
EP2648088B1 (en) Information processing apparatus, storage medium, and control method therefor
JP4110147B2 (en) Information leakage prevention method, information processing apparatus and driver program for realizing the method
JP2005149407A (en) Document processing apparatus and document processing method
JP5879807B2 (en) Print control apparatus, control program, and recording medium
US20090244585A1 (en) Information processing apparatus, control method therefor, and printer driver program
JP4164488B2 (en) Information leakage prevention method, information processing apparatus and driver program for realizing the method
JP2012128651A (en) Information processing apparatus, printing control method, and program
JP5953727B2 (en) Image processing apparatus and program
US9253343B2 (en) Information processing apparatus, control method, and storage medium for providing a preview and/or display of a main display document generated from all parts of a print document
JP6234417B2 (en) Information processing apparatus, control method therefor, and program
JP2013122661A (en) Image processing device, image processing method and program
JP6437076B2 (en) Information processing apparatus, control method therefor, and program
JP2014160406A (en) Image formation output control system, image formation output control program, and control device
JP6512763B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND PROGRAM
JP7271208B2 (en) Program and information processing device
JP4946762B2 (en) Image processing apparatus and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141118

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150910

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151027

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151224

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160530

R151 Written notification of patent or utility model registration

Ref document number: 5953727

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees