JP2005275545A - Document print controller, document print control method and document print control program - Google Patents

Document print controller, document print control method and document print control program Download PDF

Info

Publication number
JP2005275545A
JP2005275545A JP2004084601A JP2004084601A JP2005275545A JP 2005275545 A JP2005275545 A JP 2005275545A JP 2004084601 A JP2004084601 A JP 2004084601A JP 2004084601 A JP2004084601 A JP 2004084601A JP 2005275545 A JP2005275545 A JP 2005275545A
Authority
JP
Japan
Prior art keywords
data
item
print data
print
fixed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004084601A
Other languages
Japanese (ja)
Inventor
Ryohei Iwasaki
良平 岩崎
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
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 filed Critical Fuji Xerox Co Ltd
Priority to JP2004084601A priority Critical patent/JP2005275545A/en
Publication of JP2005275545A publication Critical patent/JP2005275545A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a document print controller for efficiently preparing output data. <P>SOLUTION: Document format data are classified into fixed data and variable item data, and the fixed data are converted into printer language, and stored, and attribute information included in the variable item data is converted into printer language, and the converted attribute information and storage information showing the storage place of item print data corresponding to the attribute information are stored for each item. The variable item data are registered as an item attribute table, and when the print data are compounded with the document format data, and the output data of printer language are prepared, each item print data are compounded with the variable item data based on the item attribute table, and compounded with the fixed data. That is, the item print data corresponding to the storage information shown for each item of the item attribute table are successively compounded for each item, and the variable item data with which the print data are compounded are compounded with the fixed data, so that the output data can be efficiently prepared. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、帳票印刷制御装置、帳票印刷制御方法、及び帳票印刷制御プログラムに係り、特に、帳票印刷するための予め作成された帳票フォーマットデータに、個々の帳票用の印字データを合成して画像形成装置へ出力する帳票印刷制御装置、帳票印刷制御方法、及び帳票印刷制御プログラムに関する。   The present invention relates to a form printing control device, a form printing control method, and a form printing control program, and in particular, by combining print data for individual forms with pre-created form format data for form printing. The present invention relates to a form printing control apparatus, a form printing control method, and a form printing control program that are output to a forming apparatus.

従来より、定型書式の帳票の画像を印刷用紙へ印刷する画像形成装置が知られている。このようなプリンタでは、罫線や、画像、及び文字等の、各帳票毎に固定の固定データをオーバーレイデータとして予め登録し、該オーバーレイデータに、頁毎に作成された文字や画像等の印字データを合成して印刷するオーバーレイ印刷が知られている。オーバーレイ印刷における印字データには、印字データの各項目毎に、印字データの印刷時の印字位置や色や大きさ等の印刷形態を表す属性が含まれている。オーバーレイ印刷において、帳票の書式変更を行う場合、印字データに含まれる属性データ、及びオーバーレイデータ双方の変更が行われている。そこで、容易に書式変更に対応するための印刷方法として帳票印刷が知られている(例えば、特許文献1参照)。   2. Description of the Related Art Conventionally, an image forming apparatus that prints an image of a fixed form form on a printing paper is known. In such a printer, fixed data fixed for each form such as ruled lines, images, and characters is registered in advance as overlay data, and print data such as characters and images created for each page is added to the overlay data. Overlay printing that combines and prints is known. The print data in overlay printing includes an attribute representing a print form such as a print position, a color, and a size when printing the print data for each item of the print data. In overlay printing, when changing the form format, both the attribute data included in the print data and the overlay data are changed. Therefore, form printing is known as a printing method for easily dealing with format changes (see, for example, Patent Document 1).

帳票フォーマット印刷では、各帳票毎に固定の固定データと、印字データの項目毎の属性を示す属性データと、を含む帳票フォーマットデータを予め登録する。この予め登録された帳票フォーマットに、印字データを各項目毎に合成して印刷が行われる。帳票フォーマット印刷では、印字データを属性を含む帳票フォーマットに合成することによって印刷が実行されるので、帳票修正は、帳票フォーマットの修正を行うことにより対応することができ、容易に書式変更に対応することができる。
特開平2001−328306号公報 (第4頁、図1)
In the form format printing, form format data including fixed data fixed for each form and attribute data indicating attributes for each item of print data is registered in advance. Printing is performed by combining print data for each item in this pre-registered form format. In form format printing, printing is performed by combining the print data with a form format that includes attributes. Therefore, form correction can be handled by correcting the form format, and it is easy to respond to format changes. be able to.
Japanese Patent Laid-Open No. 2001-328306 (page 4, FIG. 1)

帳票フォーマット印刷における印字データの合成時には、帳票フォーマットデータに基づいて各項目毎に印刷する画像について画像形成装置で印刷制御するためのプリンタ言語に変換することにより出力データを作成する。近年、出力データに基づく帳票を印刷する画像形成装置では、多量の印字データに基づく帳票を高速に印刷する高速印刷が行われるようになっている。この画像形成装置における印刷処理の高速化に伴い、出力データ作成時間の短縮が求められる。   When combining print data in form format printing, output data is created by converting an image to be printed for each item into a printer language for print control by the image forming apparatus based on the form format data. In recent years, an image forming apparatus that prints a form based on output data performs high-speed printing that prints a form based on a large amount of print data at high speed. Along with the speeding up of the printing process in this image forming apparatus, a reduction in output data creation time is required.

本発明は、上記課題を解決するためになされたもので、出力データを効率良く作成することができる帳票印刷制御装置を提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides a form printing control apparatus capable of efficiently generating output data.

上記目的を達成するために本発明の帳票印刷制御装置は、帳票印刷するための予め作成された帳票フォーマットデータに、個々の帳票用の印字データを合成して画像形成装置へ出力する帳票印刷制御装置において、前記帳票フォーマットデータを、各帳票において同一に用いるための固定データと、前記印字データによる項目の画像を前記帳票内に格納するときの印字データの位置及び属性を表す可変アイテムデータと、に分類する分類手段と、前記固定データを前記画像形成装置の固有言語に変換して登録すると共に、前記可変アイテムデータの前記属性を示す属性データについて前記画像形成装置の固有言語に変換しかつ前記項目と印字データの位置及び属性データとの対応情報を生成して登録する登録手段と、前記印字データを受信して、受信した印字データについて前記帳票フォーマットデータとして登録された固定データ及び対応情報を読み取ると共に、固定データ、印字データ、及び属性データを合成した前記画像形成装置の固有言語の出力データを生成し出力する制御手段と、を備えている。   In order to achieve the above object, the form printing control apparatus of the present invention synthesizes print data for individual forms into form format data prepared in advance for form printing, and outputs the form print control to the image forming apparatus. In the device, the form format data, fixed data for the same use in each form, variable item data representing the position and attribute of the print data when the image of the item by the print data is stored in the form, And classifying means for classifying the fixed data into the unique language of the image forming apparatus, registering the attribute data indicating the attribute of the variable item data into the unique language of the image forming apparatus, and Registration means for generating and registering correspondence information between items and print data positions and attribute data; and receiving the print data Reads the fixed data registered as the form format data and the corresponding information for the received print data, and generates and outputs the output data in the specific language of the image forming apparatus by combining the fixed data, the print data, and the attribute data. Control means.

伝票等の帳票を印刷する画像形成装置では、該画像形成装置で帳票印刷処理を実行可能な固有言語で示される出力データに基づいて帳票を印刷する。この出力データは、帳票のレイアウトを示す帳票フォーマットデータに、個々の帳票に印字する印字データを合成することにより作成される。本発明の帳票印刷制御装置は、この出力データを生成し、画像形成装置へ出力するものであり、帳票フォーマットデータを予め登録する。分類手段は、帳票フォーマットデータを、各帳票毎に同一のデータである帳票毎に固定的な固定データと、可変アイテムデータと、に分類する。可変アイテムデータとは、帳票内に格納する印字データの各項目毎の画像に対応する印字データの位置、及び印字データの各項目毎の画像の色、大きさ、及びフォント等の印刷形態を表す属性を示すものである。登録手段は、固定データを画像形成装置の固有言語に変換して登録する。また、登録手段は、可変アイテムデータに含まれる属性を示す属性データを対応する項目毎に画像形成装置で帳票印刷を実行するための固有言語に変換する。更に、登録手段は、各項目毎に固有言語に変換された属性データと、該項目に対応する印字データの位置とを関連付けた対応情報を作成して登録する。このため、固有言語の固定データと、固有言語に変換された属性を含む対応情報による可変アイテムデータが、帳票フォーマットデータとして登録手段に登録される。   In an image forming apparatus that prints a form such as a slip, the form is printed based on output data indicated in a specific language in which the form forming process can be executed by the image forming apparatus. This output data is created by combining print data to be printed on each form with form format data indicating the form layout. The form printing control apparatus of the present invention generates this output data and outputs it to the image forming apparatus, and registers form format data in advance. The classification means classifies the form format data into fixed data fixed for each form, which is the same data for each form, and variable item data. The variable item data represents the print data position corresponding to the image of each item of the print data stored in the form, and the printing form such as the color, size, and font of the image for each item of the print data. Indicates an attribute. The registration means converts the fixed data into a unique language of the image forming apparatus and registers it. The registration unit converts the attribute data indicating the attribute included in the variable item data into a specific language for executing form printing in the image forming apparatus for each corresponding item. Further, the registration means creates and registers correspondence information that associates the attribute data converted into the specific language for each item and the position of the print data corresponding to the item. For this reason, the fixed data of the specific language and the variable item data based on the correspondence information including the attribute converted into the specific language are registered in the registration unit as the form format data.

制御手段は、外部から印字データを受信する。印字データは、個々の帳票毎に外部装置等で作成されたものであって、印字データのデータ形式の一例には、CSV形式、及びXML形式等のデータ形式がある。このため、上記可変アイテムデータに含まれる位置は、例えば、印字データのデータ形式がCSV形式である場合には、CSV形式の文書中の位置を示す列番号によって示され、XML形式である場合には、XML文書中の位置を示すタグ情報によって示される。印字データを受信すると、制御手段は、上記帳票フォーマットデータとして登録された、固有言語に変換された固定データ、及び対応情報による可変アイテムデータを読み取る。更に、制御手段は、対応情報の各項目毎に、対応する位置に応じた印字データを読み取り、読み取った印字データを、該対応情報による可変アイテムデータ内の属性データと合成する。更に制御手段は、印字データと属性データとを合成した可変アイテムの印字データを、更に固有言語に変換された固定データに合成することによって、画像形成装置の固有言語の出力データを生成する。生成された出力データは画像形成装置に出力される。画像形成装置では、入力された出力データに基づいて帳票印刷を実行する。   The control means receives print data from the outside. The print data is created by an external device or the like for each form, and examples of the data format of the print data include data formats such as CSV format and XML format. Therefore, the position included in the variable item data is indicated by a column number indicating the position in the document in the CSV format when the data format of the print data is in the CSV format, for example, and in the XML format. Is indicated by tag information indicating a position in the XML document. When the print data is received, the control unit reads the fixed item converted into the specific language and the variable item data based on the correspondence information registered as the form format data. Further, for each item of the correspondence information, the control means reads the print data corresponding to the corresponding position, and synthesizes the read print data with the attribute data in the variable item data based on the correspondence information. Further, the control unit generates output data in the specific language of the image forming apparatus by combining the variable item print data obtained by combining the print data and the attribute data with the fixed data converted into the specific language. The generated output data is output to the image forming apparatus. In the image forming apparatus, form printing is executed based on the input output data.

このように、出力データの作成前に、画像形成装置の固有言語に変換した固定データと、印字データの各項目と画像形成装置の固有言語に変換された属性及び印字データの位置との対応情報による可変アイテムデータと、を帳票フォーマットデータとして登録することができる。このため、帳票フォーマットデータに印字データを合成することによって作成される画像形成装置の固有言語の出力データの作成時には、可変アイテムデータとしての対応情報に基づいて各項目毎に可変アイテムデータに印字データを合成するとともに、固定データに合成すればよく、出力データを、効率よく作成することができる。   As described above, the correspondence information between the fixed data converted into the specific language of the image forming apparatus and the attributes converted into the specific language of the image forming apparatus and the position of the print data before the output data is created Can be registered as form format data. For this reason, when creating output data in the specific language of the image forming apparatus created by combining the print data with the form format data, the print data is printed in the variable item data for each item based on the correspondence information as the variable item data. Can be combined with fixed data, and output data can be created efficiently.

前記印字データによる項目の画像は、文字、図形、及びイメージを表す画像とすることができる。印字データによる画像は、文字に限られるものではなく、図形や画像等のイメージを含むことができるので、帳票印刷により出力される帳票に汎用性を持たせることができる。イメージの場合は、予め複数のイメージデータを登録しておき、印字データでは、その登録されたイメージデータのファイル名等の識別情報をテキストデータで表現される。図形データの場合は、例えば棒グラフのように、図形の座標が可変で、図形種や色等が固定の場合、印字データでは、可変部分の座標データがテキストデータで表現され、図形種や色の固定部分は、可変アイテム属性データとして登録される。   The image of the item by the print data can be an image representing characters, figures, and images. The image based on the print data is not limited to characters, and can include images such as figures and images. Therefore, the form output by form printing can have versatility. In the case of an image, a plurality of image data is registered in advance, and in the print data, identification information such as a file name of the registered image data is expressed by text data. In the case of graphic data, for example, if the coordinates of the graphic are variable and the graphic type and color are fixed, such as a bar graph, the coordinate data of the variable part is represented by text data in the print data, and the graphic type and color The fixed part is registered as variable item attribute data.

前記帳票フォーマットデータを外部から受信する帳票フォーマットデータ受信手段を更に備えることができる。帳票の書式や印字データの印刷形態は、適宜変更される場合がある。そこで、帳票フォーマット受信手段が、帳票フォーマットデータを外部から受信すれば、外部装置において各種変更がなされた帳票フォーマットデータを受信することができ、帳票フォーマットデータの変更に容易に対応することができる。   It may further comprise form format data receiving means for receiving the form format data from the outside. The form format and the print form of the print data may be changed as appropriate. Therefore, if the form format receiving means receives the form format data from the outside, the form format data changed in various ways in the external device can be received, and the change of the form format data can be easily handled.

前記登録手段は、前記帳票フォーマットデータを識別するために予め定めた識別情報を付与して前記固有データ及び前記対応情報を登録し、前記制御手段は、前記印字データとともに該印字データを合成する前記帳票フォーマットデータの識別情報を受信し、受信した識別情報に対応する帳票フォーマットデータの固定データ及び対応情報に基づいて、前記出力データを生成し出力することができる。   The registration means adds predetermined identification information to identify the form format data and registers the unique data and the correspondence information, and the control means synthesizes the print data together with the print data. The identification information of the form format data is received, and the output data can be generated and output based on the fixed data and the correspondence information of the form format data corresponding to the received identification information.

帳票印刷制御装置において、受信した印字データを、異なる帳票フォーマットデータに合成するようにすれば、該帳票印刷制御装置において書式の異なる帳票を出力するための出力データを作成することができる。そこで、登録手段は、帳票フォーマットデータとして登録された固有データ及び対応情報各々に、該帳票フォーマットデータを識別可能な識別情報を付与して登録する。印字データとともに該印字データを合成する帳票フォーマットデータの識別情報を受信すると、制御手段は、受信した印字データの識別情報に対応する固定データと対応情報を抽出する。更に制御手段は、抽出した固定データと対応情報に登録された各項目の可変アイテムデータの属性を示す属性データと、上記受信した印字データを合成することによって、出力データを作成する。   If the received print data is combined with different form format data in the form print control apparatus, output data for outputting forms with different formats can be created in the form print control apparatus. Therefore, the registration means adds and registers identification information that can identify the form format data to each of the unique data and the corresponding information registered as the form format data. When receiving the identification information of the form format data for synthesizing the print data together with the print data, the control means extracts the fixed data and the correspondence information corresponding to the received identification information of the print data. Further, the control means creates output data by combining the extracted print data and the attribute data indicating the attribute of the variable item data of each item registered in the correspondence information and the received print data.

このように、帳票フォーマットデータを識別するための識別情報に対応する印字データ、固定データ、及び対応情報の可変アイテムデータに基づいて、出力データを作成することができるので、1つの帳票印刷制御装置において、異なる帳票フォーマットデータによる出力データを容易に作成することができる。   Thus, output data can be created based on print data corresponding to identification information for identifying form format data, fixed data, and variable item data of correspondence information, so one form print control apparatus Therefore, output data with different form format data can be easily created.

なお、次の帳票印刷制御方法によって、効率良く出力データを作成することができる。詳細には、帳票印刷するための予め作成された帳票フォーマットデータに、個々の帳票用の印字データを合成して画像形成装置へ出力する帳票印刷制御方法であって、前記帳票フォーマットデータを、各帳票において同一に用いるための固定データと、前記印字データによる項目の画像を前記帳票内に格納するときの印字データの位置及び属性を表す可変アイテムデータと、に分類し、前記固定データを前記画像形成装置の固有言語に変換して登録すると共に、前記可変アイテムデータの前記属性を示す属性データについて前記画像形成装置の固有言語に変換しかつ前記項目と印字データの位置及び属性データとの対応情報を生成して登録し、前記印字データを受信して、受信した印字データについて前記帳票フォーマットデータとして登録された固定データ及び対応情報を読み取ると共に、固定データ、印字データ及び属性データを合成した前記画像形成装置の固有言語の出力データを生成し出力する。   Note that output data can be efficiently created by the following form printing control method. Specifically, it is a form printing control method for combining print data for individual forms with pre-created form format data for form printing, and outputting the combined form print data to the image forming apparatus. The fixed data to be used in the same form, and the variable item data representing the position and attribute of the print data when the image of the item by the print data is stored in the form, and the fixed data is classified into the image The attribute data indicating the attribute of the variable item data is converted into the unique language of the image forming apparatus, and the correspondence information between the item and the position of the print data and the attribute data is registered. Generate and register, receive the print data, and register the received print data as the form format data With reading fixed data and corresponding information was fixed data to generate output data of the specific language of the synthesized the image forming apparatus the print data and the attribute data outputs.

また、次の出力データ作成プログラムをコンピュータによって処理させることで、効率よく出力データを作成することができる。詳細には、帳票印刷するための予め作成された帳票フォーマットデータに、個々の帳票用の印字データを合成して画像形成装置へ出力するコンピュータにおいて実行される帳票印刷制御プログラムであって、前記帳票フォーマットデータを、各帳票において同一に用いるための固定データと、前記印字データによる項目の画像を前記帳票内に格納するときの印字データの位置及び属性を表す可変アイテムデータと、に分類させ、前記固定データを前記画像形成装置の固有言語に変換して登録すると共に、前記可変アイテムデータの前記属性を示す属性データについて前記画像形成装置の固有言語に変換しかつ前記項目と印字データの位置及び属性との対応情報を生成して登録させ、前記印字データを受信して、受信した印字データについて前記帳票フォーマットデータとして登録された固定データ及び対応情報を読み取ると共に、固定データ、印字データ、及び属性データを合成した前記画像形成装置の固有言語の出力データを生成し出力させる、ことを特徴とする。   Moreover, output data can be created efficiently by causing the computer to process the next output data creation program. Specifically, it is a form printing control program executed on a computer that synthesizes print data for individual forms with form format data prepared in advance for form printing, and outputs the combined form print data to the image forming apparatus. The format data is classified into fixed data for the same use in each form, and variable item data representing the position and attribute of the print data when the image of the item by the print data is stored in the form, The fixed data is converted into a unique language of the image forming apparatus and registered, and the attribute data indicating the attribute of the variable item data is converted into a unique language of the image forming apparatus, and the positions and attributes of the items and print data Is generated and registered, the print data is received, and the received print data With reading fixed data and corresponding information is registered as a form format data, fixed data, print data, and attribute data to generate output data of the specific language of the synthesized the image forming apparatus to output, it is characterized.

以上説明したように、本発明の帳票印刷制御装置、帳票印刷制御方法、及び帳票印刷制御プログラムによれば、出力データの作成前に、画像形成装置の固有言語に変換した固定データと、帳票フォーマットデータの各項目と画像形成装置の固有言語に変換された属性データ及び印字データの位置との対応情報による可変アイテムデータと、を帳票フォーマットデータとして登録することができるので、帳票フォーマットデータに印字データを合成することによって作成される画像形成装置の固有言語の出力データ作成時には、可変アイテムデータとしての対応情報に基づいて各項目毎に可変アイテムデータの属性データに印字データを合成するとともに、固定データに合成すればよく、出力データを、効率よく作成することができる、という効果が得られる。   As described above, according to the form print control device, form print control method, and form print control program of the present invention, the fixed data converted into the native language of the image forming apparatus and the form format before the output data is created Variable item data based on the correspondence information between each item of data and the attribute data converted into the language specific to the image forming apparatus and the position of the print data can be registered as form format data, so the print data is included in the form format data. When creating output data in the native language of the image forming apparatus created by combining the print data with the attribute data of the variable item data for each item based on the correspondence information as the variable item data, the fixed data Can be synthesized efficiently, and output data can be created efficiently. Results can be obtained.

本発明の印刷データ生成装置に係る実施の形態の一例を図面に基づき説明する。   An example of an embodiment according to the print data generation apparatus of the present invention will be described with reference to the drawings.

本実施の形態は、通信回線に接続可能なネットワークシステム(以下、プリンタシステムという)に、本発明を適用したものである。   In the present embodiment, the present invention is applied to a network system (hereinafter referred to as a printer system) connectable to a communication line.

図1には、本実施の形態に係るプリンタシステム10の構成を模式的に示した。プリンタ14は、通信回線としてのネットワーク22に接続されている。ネットワーク22には、パーソナル・コンピュータ(以下PCという)16、帳票フォーマット作成PC18、及び出力データ作成PC20が接続されている。これらのプリンタ14、PC16、帳票フォーマット作成PC18、及び出力データ作成PC20は、互いにネットワーク22を介して相互通信によりデータやコマンドの授受が可能な構成となっている。   FIG. 1 schematically shows the configuration of a printer system 10 according to the present embodiment. The printer 14 is connected to a network 22 as a communication line. A personal computer (hereinafter referred to as a PC) 16, a form format creation PC 18, and an output data creation PC 20 are connected to the network 22. These printer 14, PC 16, form format creation PC 18, and output data creation PC 20 are configured so that data and commands can be exchanged via the network 22 through mutual communication.

なお、プリンタ14、PC16、帳票フォーマット作成PC18、及び出力データ作成PC20は、本実施の形態では、各々1台ずつとして説明するが、本発明は、これに限定されるものではなく複数台で構成してもよい。また、本実施の形態では、PC16、帳票フォーマット作成PC18、及び出力データ作成PC20は、各々別体として設けられる場合を説明するが、1つの装置(PC)で構成するようにしてもよい。また、これらの、PC16、帳票フォーマット作成PC18、及び出力データ作成PC20を、プリンタ14と一体的に設けるようにしてもよい。   In the present embodiment, the printer 14, the PC 16, the form format creation PC 18, and the output data creation PC 20 are described as being one each. However, the present invention is not limited to this and is configured by a plurality of units. May be. In the present embodiment, the case where the PC 16, the form format creation PC 18, and the output data creation PC 20 are provided as separate bodies will be described. However, they may be configured by a single device (PC). Further, the PC 16, form format creation PC 18, and output data creation PC 20 may be provided integrally with the printer 14.

PC16は、印刷データを作成するためのものであり、また、作成した印刷データをネットワーク22を介して出力データ作成PC20へ送信するときにユーザが操作するためのものである。印刷データとは、詳細を後述するが、プリンタ14で帳票の画像(以下、帳票という)を印刷用紙へ印刷するときの、各ページ毎に可変の文字や画像等を示すデータであり、頁単位に作成される。この各頁には、予め1つまたは複数の項目が定められている。項目とは、見出し、部署、住所等のように、印刷用紙上に印刷される印刷データを同一の領域に印刷される印刷領域毎に分類したものである。従って、印刷データは、頁単位に作成されるとともに、頁単位に作成されたデータのまとまりには、1つまたは複数の項目各々に対応する、実際に用紙上に印刷される文字や画像等のデータである印刷データ(以下、項目印刷データという)が含まれた構成となっている。例えば、図2に示すように、印刷データ36は、図2(A)に示す「アイウエオ,10」となり、この印刷データ36には2つの項目印刷データ36A、36Bが含まれており、各々の項目印刷データは、「アイウエオ」と「10」となる。   The PC 16 is for creating print data, and is used by the user when transmitting the created print data to the output data creation PC 20 via the network 22. The print data, which will be described in detail later, is data indicating variable characters, images, etc. for each page when the printer 14 prints a form image (hereinafter referred to as a form) on printing paper. To be created. Each page has one or more items defined in advance. An item is a classification of print data printed on printing paper, such as a headline, a department, and an address, for each print area printed in the same area. Therefore, the print data is created in units of pages, and the data created in units of pages includes characters or images that are actually printed on paper corresponding to one or more items. The print data (hereinafter referred to as item print data), which is data, is included. For example, as shown in FIG. 2, the print data 36 is “Iueo, 10” shown in FIG. 2A, and this print data 36 includes two item print data 36A and 36B. The item print data is “Iueo” and “10”.

なお、本実施の形態では、印刷データのデータ形式は、CSVデータ形式であるものとする。すなわち、印刷データは、各項目毎に、カンマ「,」で区切られたCSVデータ形式であるものとする。なお、本実施の形態では、印刷データのデータ形式は、CSVデータ形式であるものとして説明するが、このような形式に限られるものではなく、例えば、XML形式であってもよい。   In the present embodiment, the data format of the print data is assumed to be a CSV data format. That is, it is assumed that the print data is in a CSV data format in which each item is separated by a comma “,”. In the present embodiment, the data format of print data is described as being a CSV data format, but is not limited to such a format, and may be, for example, an XML format.

また、本実施の形態では、印刷データは、複数の文字のテキストデータから構成されるものとして説明するが、図形の図形種や座標や色等を示す情報やイメージデータの識別情報等であってもよく、文字データに限られるものではない。イメージの場合は、予め複数のイメージデータを登録しておき、印字データでは、その登録されたイメージデータのファイル名等の識別情報をテキストデータで表現される。図形データの場合は、例えば棒グラフのように、図形の座標が可変で、図形種や色等が固定の場合、印字データでは、可変部分の座標データがテキストデータで表現され、図形種や色の固定部分は、可変アイテム属性データとして登録される。   In this embodiment, the print data is described as being composed of text data of a plurality of characters. However, the print data is information indicating the figure type, coordinates, color, etc. of the graphic, identification information of the image data, and the like. However, it is not limited to character data. In the case of an image, a plurality of image data is registered in advance, and in the print data, identification information such as a file name of the registered image data is expressed by text data. In the case of graphic data, for example, if the coordinates of the graphic are variable and the graphic type and color are fixed, such as a bar graph, the coordinate data of the variable part is represented by text data in the print data, and the graphic type and color The fixed part is registered as variable item attribute data.

なお、本実施の形態では、項目は、予め定められているものとして説明するが、ユーザの図示を省略した操作部の操作によって印刷データ作成の度に新規作成、更新、または変更がなされるようにしてもよい。   In the present embodiment, the items are described as being predetermined, but new creation, update, or change is performed each time print data is created by the operation of the operation unit (not shown) by the user. It may be.

帳票フォーマット作成端末18は、印刷用紙へ印刷する帳票のレイアウトを表す帳票フォーマットデータを作成するためのものである。また、帳票フォーマット作成端末18は、作成した帳票フォーマットデータを出力データ作成PC20へ送信するときに、ユーザが操作するためのものである。   The form format creation terminal 18 is for creating form format data representing the layout of a form to be printed on printing paper. The form format creation terminal 18 is used by the user when transmitting the created form format data to the output data creation PC 20.

帳票フォーマットデータは、固定データと、可変アイテムデータとを含んで構成される。固定データは、帳票のレイアウトを示すものであって、罫線、画像、及び文字等の印刷用紙の印刷される帳票の各頁毎に固定的なデータを示すものである。例えば、固定データは、罫線の種類に応じた罫線コードや、文字に対応する文字コード、または画像データ等を含んで構成される。可変アイテムデータは、帳票の各頁毎に可変的なデータであって、固定データに合成する印刷データに含まれる各項目印刷データの印刷形態を示す属性情報と、各項目印刷データの格納先を示す格納情報とから構成される。属性情報は、前記印刷データに含まれる各項目印刷データを前記固定データに基づく画像を印刷用紙に印刷するときの、各項目印刷データの印刷形態を示すものである。属性情報には、例えば、項目印刷データを印字する帳票上の位置情報、印刷時の文字サイズ情報、及び印刷色等の色情報等がある。すなわち、帳票上の同一領域に印刷される各項目毎に、印刷される色、印刷される大きさ等の印刷形態を示す属性が定められる。このため、それぞれの項目毎に異なる位置、サイズ、及び色の項目印刷データの画像が印刷用紙に印刷される。   The form format data includes fixed data and variable item data. The fixed data indicates the layout of the form, and indicates fixed data for each page of the form on which printing paper such as ruled lines, images, and characters is printed. For example, the fixed data includes a ruled line code corresponding to the type of ruled line, a character code corresponding to a character, or image data. The variable item data is variable data for each page of the form, and includes attribute information indicating the print form of each item print data included in the print data to be combined with the fixed data, and the storage destination of each item print data. Storage information shown. The attribute information indicates a printing form of each item print data when printing each item print data included in the print data on an image based on the fixed data on a print sheet. The attribute information includes, for example, position information on a form on which item print data is printed, character size information at the time of printing, color information such as a printing color, and the like. That is, for each item printed in the same area on the form, an attribute indicating a printing form such as a color to be printed and a size to be printed is determined. For this reason, an image of item print data having a different position, size, and color for each item is printed on the printing paper.

出力データ作成PC20は、帳票フォーマット作成PC18から受信した帳票フォーマットデータと、PC16から受信した印刷データとを合成するとともに、プリンタ14のプリンタ言語の出力データを生成するためのものである(詳細後述)。プリンタ言語は、プリンタ14でのみ利用可能なプリンタ言語で、コマンド形式で作成される。   The output data creation PC 20 synthesizes the form format data received from the form format creation PC 18 and the print data received from the PC 16 and generates output data in the printer language of the printer 14 (details will be described later). . The printer language is a printer language that can be used only by the printer 14 and is created in a command format.

プリンタ14は、通常の印刷機能を備えており、受信した出力データに応じた帳票画像を印刷用紙へ出力するためのものである。本実施の形態では、印刷用紙として連続紙を使用する。連続紙とは、プリンタ14の走査方向に連続する用紙であり、連続紙の一例には、ロール紙等がある。すなわち、本実施の形態では、プリンタ14は、複数頁の帳票画像を印刷するためのものであり、複数頁の印刷データによる出力データに基づく画像を連続紙へ高速印刷処理するものとして説明する。   The printer 14 has a normal printing function, and outputs a form image corresponding to the received output data to printing paper. In this embodiment, continuous paper is used as printing paper. The continuous paper is paper continuous in the scanning direction of the printer 14, and an example of the continuous paper is roll paper. That is, in the present embodiment, the printer 14 is for printing a multi-page form image, and it is assumed that an image based on output data based on print data for a plurality of pages is subjected to high-speed printing processing on continuous paper.

次に、PC16、帳票フォーマット作成PC18、及びプリンタ14の概略構成について説明する。   Next, schematic configurations of the PC 16, the form format creation PC 18, and the printer 14 will be described.

PC16は、図示を省略した制御部、記憶部、通信部、入力部、及び表示部から構成されている。上記各構成は制御部に接続されており、互いにデータやコマンドの授受が可能な構成となっている。制御部は、主に印刷に関する処理を実施する機能部である。記憶部は、各種処理ルーチン及び各種データ等を記憶するためのものである。通信部は、PC16をネットワーク22に接続して出力データ作成PC20との間で印刷データを含む各種データやコマンドの授受を可能とするためのインターフェース機能部である。入力部は、当該PCで指示入力するためのものであり、一例としてキーボードやマウス等がある。表示部は、各種設定画面等を表示するためのものである。   The PC 16 includes a control unit, a storage unit, a communication unit, an input unit, and a display unit (not shown). Each of the above components is connected to the control unit, and is configured to be able to exchange data and commands with each other. The control unit is a functional unit that mainly performs processing related to printing. The storage unit stores various processing routines and various data. The communication unit is an interface function unit that enables the PC 16 to connect to the network 22 to exchange various data and commands including print data with the output data creation PC 20. The input unit is for inputting an instruction on the PC, and examples thereof include a keyboard and a mouse. The display unit is for displaying various setting screens.

本実施の形態では、PC16では、図示を省略した入力部のユーザによる操作によって、上述の帳票フォーマットデータに合成するための印刷データが作成される。更に、PC16は、印刷データを合成する対象となる帳票フォーマットデータを識別可能な識別データと、作成された印刷データとを、ネットワーク22を介して出力データ作成PC20へ送信するものとして説明する。なお、帳票フォーマットデータを識別可能な識別データは、図示を省略した入力部のユーザによる操作によって、印刷データ作成時に指示入力されるようにすればよい。   In the present embodiment, the PC 16 generates print data to be combined with the above-described form format data by an operation by a user of an input unit (not shown). Further, the PC 16 will be described on the assumption that the identification data that can identify the form format data to be combined with the print data and the created print data are transmitted to the output data creation PC 20 via the network 22. The identification data that can identify the form format data may be input at the time of creating the print data by an operation by a user of an input unit (not shown).

帳票フォーマット作成PC18は、上記PC16と略同様の構成となっており、図示を省略した制御部、記憶部、通信部、入力部、及び表示部から構成されている。上記各構成は制御部に接続されており、互いにデータやコマンドの授受が可能な構成となっている。制御部は、主に帳票フォーマットデータ作成に関する処理を実施する機能部である。記憶部は、各種処理ルーチン及び各種データ等を記憶するためのものである。通信部は、帳票フォーマット作成PC18をネットワーク22に接続して出力データ作成PC20との間で帳票フォーマットデータを含む各種データやコマンドの授受を可能とするためのインターフェース機能部である。入力部は、当該PCで指示入力するためのものである。表示部は、各種設定画面等を表示するためのものである。本実施の形態では、帳票フォーマット作成PC18では、図示を省略した入力部のユーザによる操作によって、上述の固定データ及び可変アイテムデータを含む帳票フォーマットデータを作成する。更に、帳票フォーマット作成PC18では、作成した帳票フォーマットデータと、帳票フォーマットデータを識別可能な識別データとを、出力データ作成PC20へ送信するものとして説明する。   The form format creation PC 18 has substantially the same configuration as the PC 16 and includes a control unit, a storage unit, a communication unit, an input unit, and a display unit (not shown). Each of the above components is connected to the control unit, and is configured to be able to exchange data and commands with each other. The control unit is a functional unit that mainly performs processing related to creation of form format data. The storage unit stores various processing routines and various data. The communication unit is an interface function unit for connecting the form format creation PC 18 to the network 22 and enabling exchange of various data and commands including form format data with the output data creation PC 20. The input unit is for inputting an instruction on the PC. The display unit is for displaying various setting screens. In the present embodiment, the form format creation PC 18 creates form format data including the above-described fixed data and variable item data by an operation of a user of an input unit (not shown). Further, the form format creation PC 18 will be described on the assumption that the created form format data and identification data that can identify the form format data are transmitted to the output data creation PC 20.

プリンタ14は、マイクロコンピュータを含んで構成されており、図示を省略した装置を制御するための制御部、各種データを記憶するための記憶部、ネットワーク22を介して出力データ作成PC20と出力データ及び各種データを入出力する通信部、各種データを入力するためのキーボード等の入力部、及び画像形成部から構成されている。上記各構成は制御部に接続されており、互いにデータやコマンドの授受が可能な構成となっている。図示を省略した画像形成部には、印刷用紙に画像を形成するための公知の機器が含まれており、当該機器としては、例えは、帯電装置によって帯電させられる感光体ドラム、この感光体ドラムに露光した静電潜像を現像する現像器、感光体ドラム表面に形成された静電潜像をロール給紙部から供給された連続紙に転写する転写部、及び連続紙に転写された画像を連続紙にフラッシュ定着させる定着装置等がある。なお、連続紙は、予め定められた用紙の大きさに分離可能な連続紙であって、一例には、ミシン目の入った連続紙やカット紙及びロール紙等がある。   The printer 14 includes a microcomputer, and includes a control unit for controlling a device (not shown), a storage unit for storing various data, and an output data creation PC 20 and output data via a network 22. It comprises a communication unit that inputs and outputs various data, an input unit such as a keyboard for inputting various data, and an image forming unit. Each of the above components is connected to the control unit, and is configured to be able to exchange data and commands with each other. The image forming unit (not shown) includes a known device for forming an image on printing paper. Examples of the device include a photosensitive drum charged by a charging device, and the photosensitive drum. A developing unit for developing the electrostatic latent image exposed on the surface, a transfer unit for transferring the electrostatic latent image formed on the surface of the photosensitive drum to the continuous paper supplied from the roll paper supply unit, and an image transferred to the continuous paper There is a fixing device or the like for flash fixing on a continuous paper. The continuous paper is a continuous paper that can be separated into a predetermined paper size. Examples of the continuous paper include continuous paper with a perforation, cut paper, and roll paper.

なお、PC16、帳票フォーマット作成端末18、及びプリンタ14は、一般的な構成であるため、詳細な説明を省略する。   Note that the PC 16, the form format creation terminal 18, and the printer 14 have general configurations, and thus detailed description thereof is omitted.

次に、出力データ作成PC20の主要構成について図3を用いて概要を説明する。出力データ作成PC20は、CPU、ROM、及びRAMからなる図示を省略したマイクロコンピュータを含んで構成されており、機能的分類では、通信部40と、フォーマット登録部42と、印刷データ格納部52と、出力データ作成部54と、スプール部56と、印刷管理制御部58と、を備えている。通信部40は、出力データ作成PC20をネットワーク22に接続して、PC16、帳票フォーマット作成PC18、及びプリンタ14との間で、帳票フォーマットデータ、印刷データ、及び出力データを含む各種データやコマンドの授受を可能とするためのインターフェース機能部である。フォーマット登録部42は、帳票フォーマット作成PC18から受信した帳票フォーマットデータを格納するためのものであり、固定部抽出部44、固定部格納部46、可変部抽出部48、及び可変部格納部50を含んで構成されている。   Next, an outline of the main configuration of the output data creation PC 20 will be described with reference to FIG. The output data creation PC 20 includes a microcomputer (not shown) that includes a CPU, a ROM, and a RAM. In terms of functional classification, the communication unit 40, the format registration unit 42, the print data storage unit 52, and the like. , An output data creation unit 54, a spool unit 56, and a print management control unit 58. The communication unit 40 connects the output data creation PC 20 to the network 22, and exchanges various data and commands including form format data, print data, and output data with the PC 16, form format creation PC 18, and printer 14. It is an interface function unit for enabling The format registration unit 42 is for storing the form format data received from the form format creation PC 18, and includes a fixed part extraction unit 44, a fixed part storage unit 46, a variable part extraction unit 48, and a variable part storage unit 50. It is configured to include.

固定部抽出部44は、帳票フォーマット作成PC18から受信した帳票フォーマットデータに含まれる固定データを抽出するとともに、抽出した固定データをプリンタ14固有のプリンタ言語に変換するためのものである。固定部格納部46は、固定データを格納するためのものであって、固定部抽出部44で抽出されるとともにプリンタ14のプリンタ言語に変換された固定データを、該固定部の帳票フォーマットを識別可能な識別データに関連付けて記憶するためのものである。   The fixed part extraction unit 44 extracts fixed data included in the form format data received from the form format creation PC 18 and converts the extracted fixed data into a printer language unique to the printer 14. The fixed part storage unit 46 is for storing fixed data. The fixed part extracted by the fixed part extraction unit 44 and converted into the printer language of the printer 14 is used to identify the form format of the fixed part. It is for storing in association with possible identification data.

可変部抽出部48は、帳票フォーマット作成PC18から受信した帳票フォーマットデータに含まれる可変アイテムデータを抽出し、抽出した可変アイテムデータに含まれる印刷データの格納場所を示す格納情報と属性情報を抽出する。さらに、抽出した可変アイテムデータに含まれる属性情報をプリンタ14固有のプリンタ言語に変換するためのものである。   The variable part extraction unit 48 extracts variable item data included in the form format data received from the form format creation PC 18, and extracts storage information and attribute information indicating the storage location of the print data included in the extracted variable item data. . Further, the attribute information included in the extracted variable item data is converted into a printer language specific to the printer 14.

可変部格納部50は、アイテム属性テーブル60を含んで構成されており、プリンタ言語に変換された属性情報を対応する各項目毎に関連付けて記憶するためのものである。アイテム属性テーブル60は、各項目毎に、プリンタ言語に変換した属性情報及び該属性情報に対応する項目印刷データの格納場所を示す格納情報を対応付けて格納するものである。   The variable unit storage unit 50 includes an item attribute table 60, and stores attribute information converted into the printer language in association with each corresponding item. The item attribute table 60 stores attribute information converted into the printer language and storage information indicating the storage location of the item print data corresponding to the attribute information in association with each item.

具体的には、アイテム属性テーブル60は、図4に示すように構成されている。図4では、アイテム属性テーブル60は、「アイテム」、「印字開始位置」、「フォント」、「大きさ」、及び「CSVの列番号」の5つの項目から構成されている。   Specifically, the item attribute table 60 is configured as shown in FIG. In FIG. 4, the item attribute table 60 includes five items of “item”, “print start position”, “font”, “size”, and “CSV column number”.

「アイテム」は、印刷領域を示す各項目を識別可能な項目名を示すものである。「印刷開始位置」は、該項目に対応する項目印刷データの、帳票画像上における印刷開始位置を示すものである。「フォント」は、項目に対応する項目印刷データの印刷時のフォントを示すものである。「大きさ」は、項目に対応する項目印刷データの大きさを示すものである。また、「CSVの列番号」は、項目に対応する項目印刷データの位置(格納情報)を示すものである。例えば、「CSVの列番号」は、1頁分の印刷データ1レコード中のフィールドの位置を示すものである。   The “item” indicates an item name that can identify each item indicating the print area. The “print start position” indicates the print start position on the form image of the item print data corresponding to the item. “Font” indicates a font when printing the item print data corresponding to the item. “Size” indicates the size of the item print data corresponding to the item. “CSV column number” indicates the position (storage information) of the item print data corresponding to the item. For example, “CSV column number” indicates the position of a field in one record of print data for one page.

本実施の形態では、属性情報とは、上記「印刷開始位置」、「フォント」、及び「大きさ」によって示される値である、各項目の属性情報62は、プリンタ14で解析可能なプリンタ言語に変換された後にアイテム属性テーブル69へ格納される。   In the present embodiment, the attribute information is a value indicated by the “print start position”, “font”, and “size”. The attribute information 62 of each item is a printer language that can be analyzed by the printer 14. And converted into the item attribute table 69.

このように、可変アイテムデータに含まれる属性情報62は、各項目毎にプリンタ14で解析可能なコード等のプリンタ言語に変換されて、該項目に対応する項目印刷データの格納場所を示す格納情報と、項目を示す項目名とに関連付けて、テーブル形式で可変部格納部50へ格納される。可変部格納部50では、このアイテム属性テーブルを、帳票フォーマットを識別可能な識別データ毎に関連付けて格納する。   Thus, the attribute information 62 included in the variable item data is converted into a printer language such as a code that can be analyzed by the printer 14 for each item, and storage information indicating the storage location of the item print data corresponding to the item. And the item name indicating the item are stored in the variable part storage unit 50 in a table format. The variable unit storage unit 50 stores this item attribute table in association with each identification data that can identify the form format.

すなわち、フォーマット登録部42では、帳票フォーマット作成PC18から受信した帳票フォーマットデータから固定データが抽出され、プリンタ14のプリンタ言語に変換されて固定部格納部46へ格納される。また、フォーマット登録部42では、帳票フォーマットデータから可変アイテムデータが抽出され、可変アイテムデータに含まれる属性情報がプリンタ14のプリンタ言語に変換されるとともに、プリンタ言語に変換された属性情報と、該属性情報に対応する項目を示す項目情報と、該項目に対応する項目印刷データの格納先を示す格納情報とを関連付けてテーブル形式で可変部格納部50へ格納する。   That is, the format registration unit 42 extracts fixed data from the form format data received from the form format creation PC 18, converts it into the printer language of the printer 14, and stores it in the fixed part storage unit 46. Further, the format registration unit 42 extracts variable item data from the form format data, converts the attribute information included in the variable item data into the printer language of the printer 14, the attribute information converted into the printer language, The item information indicating the item corresponding to the attribute information and the storage information indicating the storage destination of the item print data corresponding to the item are associated and stored in the variable part storage unit 50 in a table format.

印刷データ格納部52は、PC16からCSV形式の印刷データと、該印刷データを出力するための帳票フォーマットを識別可能な識別データを受信するともに一時的に格納するためのものである。出力データ作成部54は、印刷データ格納部52に格納された印刷データと、固定部格納部に格納された該印刷データの帳票フォーマットの識別データに対応する固定データと、可変部格納部50に格納された該印刷データの帳票フォーマットの識別データに対応するアイテム属性テーブルに基づく値と、からプリンタ14で出力するための出力データを作成するためのものである(詳細後述)。   The print data storage unit 52 receives and temporarily stores CSV format print data from the PC 16 and identification data that can identify the form format for outputting the print data. The output data creation unit 54 stores the print data stored in the print data storage unit 52, fixed data corresponding to the form format identification data of the print data stored in the fixed unit storage unit, and the variable unit storage unit 50. This is for creating output data to be output by the printer 14 from the value based on the item attribute table corresponding to the identification data of the form format of the stored print data (details will be described later).

スプール部56は、出力データ作成部54で作成した出力データを一時的に格納するためのものである。印刷管理制御部58は、スプール部56に格納された出力データをプリンタ14へ順次送信するためのものである。   The spool unit 56 is for temporarily storing the output data created by the output data creation unit 54. The print management control unit 58 is for sequentially transmitting the output data stored in the spool unit 56 to the printer 14.

なお、帳票フォーマットデータは、本発明の帳票フォーマットデータに相当し、印刷データは、本発明の印字データに相当し、固定データは、本発明の固定データに相当し、可変アイテムデータは、本発明の可変アイテムデータに相当する。   The form format data corresponds to the form format data of the present invention, the print data corresponds to the print data of the present invention, the fixed data corresponds to the fixed data of the present invention, and the variable item data corresponds to the present invention. It corresponds to variable item data.

また、出力データ作成PC20は、本発明の帳票印刷制御装置に相当し、プリンタ14は画像形成装置に相当する。また、固定部抽出部44及び可変部抽出部48は、本発明の分類手段に相当し、固定部格納部46及び可変部格納部50は、登録手段に相当し、出力データ作成部54は、制御手段に相当する。   The output data creation PC 20 corresponds to the form printing control apparatus of the present invention, and the printer 14 corresponds to an image forming apparatus. Further, the fixed part extraction unit 44 and the variable part extraction unit 48 correspond to the classification unit of the present invention, the fixed part storage unit 46 and the variable part storage unit 50 correspond to the registration unit, and the output data creation unit 54 It corresponds to the control means.

ここで、本実施の形態のプリンタシステム10における、帳票印刷のプロセスについて概要を説明する。図1に示すように、帳票フォーマット作成PC18で作成された帳票フォーマットデータは、出力データ作成PCへ送信され、出力データ作成PC20へ登録される(プロセス1)。PC16で印刷データが作成されると、作成された印刷データは、出力データ生成PC20へ送信される(プロセス2)。出力データ作成PC20では、印刷データを受信すると、受信した印刷データをプロセス1で登録した帳票フォーマットデータに合成することによって、出力データを作成する(プロセス3)。作成された出力データは、プリンタ14へ送信される(プロセス4)。プリンタ14では出力データを受信すると、出力データに基づく帳票印刷を実行する。   Here, an outline of a form printing process in the printer system 10 of the present embodiment will be described. As shown in FIG. 1, the form format data created by the form format creation PC 18 is transmitted to the output data creation PC and registered in the output data creation PC 20 (process 1). When the print data is created by the PC 16, the created print data is transmitted to the output data generation PC 20 (process 2). Upon receiving the print data, the output data creation PC 20 creates output data by synthesizing the received print data with the form format data registered in the process 1 (process 3). The created output data is transmitted to the printer 14 (process 4). When the printer 14 receives the output data, it executes form printing based on the output data.

例えば、プリンタ14において、図2(B)に示す帳票印刷の出力結果を示す帳票画像24が得られるとすると、帳票フォーマット作成端末18では、図2(A)に示す固定データ27と、項目28及び項目30各々の属性情報を示す属性情報29及び属性情報27と、図示を省略した各項目に合成する項目印刷データの格納位置を示す格納情報と、からなる帳票フォーマットデータ26を作成する。また、PC16では、項目印刷データ36A、36B、すなわち「アイウエオ」、「10」からなる印刷データ36が作成される。出力データ作成PC20では、この帳票フォーマットデータ26に、印刷データ36を合成することによって、出力データを作成する。作成された出力データは、プリンタ14へ送信される。プリンタ14では、出力データを受信すると、出力データに基づく帳票画像24(図2(B))を印刷用紙へ印刷する。   For example, if the printer 14 obtains a form image 24 showing the output result of the form printing shown in FIG. 2B, the form format creation terminal 18 uses the fixed data 27 shown in FIG. Also, form format data 26 including attribute information 29 and attribute information 27 indicating the attribute information of each item 30 and storage information indicating the storage position of the item print data to be combined with each item (not shown) is created. Further, in the PC 16, item print data 36A and 36B, that is, print data 36 composed of “Iueo” and “10” is created. The output data creation PC 20 creates output data by synthesizing the print data 36 with the form format data 26. The created output data is transmitted to the printer 14. When the printer 14 receives the output data, the printer 14 prints a form image 24 (FIG. 2B) based on the output data on the printing paper.

次に、上記実施の形態の作用を図面を参照して説明する。図5には、出力データ作成PC20で実行される処理ルーチンを示した。   Next, the operation of the above embodiment will be described with reference to the drawings. FIG. 5 shows a processing routine executed by the output data creation PC 20.

本実施の形態では、印刷管理制御部58には、初期設定として予めプリンタ14の環境設定や印刷時の印刷条件及びプリンタ14のアドレスを示す各種設定情報が予め記憶されているものとする。   In the present embodiment, it is assumed that the print management control unit 58 stores in advance various setting information indicating environment settings of the printer 14, printing conditions at the time of printing, and the address of the printer 14 as initial settings.

出力データ作成PC20では、電源が投入されると、所定時間毎に図5に示す処理ルーチンが実行され、ステップ100へ進む。   In the output data creation PC 20, when the power is turned on, the processing routine shown in FIG. 5 is executed every predetermined time, and the process proceeds to Step 100.

ステップ100では、帳票フォーマットデータ及び該帳票フォーマットを識別するための識別データを受信したか否かを判断する。ステップ100で肯定され、帳票フォーマットデータ及び識別データを受信すると、次のステップ102において、受信した帳票フォーマットデータ及び識別データを関連付けて、フォーマット登録部42に格納する。   In step 100, it is determined whether or not form format data and identification data for identifying the form format have been received. When the result is affirmative in step 100 and the form format data and identification data are received, the received form format data and identification data are associated with each other and stored in the format registration unit 42 in the next step 102.

次にステップ104では、固定データ抽出処理が実行される。ステップ104の処理は、上記ステップ102でフォーマット登録部42に格納した帳票フォーマットデータから、固定部の固定部データを抽出するものである。   Next, in step 104, fixed data extraction processing is executed. The process of step 104 is to extract the fixed part data of the fixed part from the form format data stored in the format registration part 42 in step 102.

次にステップ106では、上記ステップ104で抽出した固定データを、プリンタ14で解釈可能なプリンタ言語に変換する。次にステップ108において、プリンタ言語に変換された固定データを、上記ステップ102でフォーマット登録部42に格納した識別データに関連づけて固定部格納部46へ記憶する。   In step 106, the fixed data extracted in step 104 is converted into a printer language that can be interpreted by the printer 14. Next, in step 108, the fixed data converted into the printer language is stored in the fixed part storage unit 46 in association with the identification data stored in the format registration unit 42 in step 102.

次にステップ110では、可変アイテムデータ抽出処理が実行される。ステップ110の処理は、上記ステップ102でフォーマット登録部42に格納した帳票フォーマットデータから、可変部の可変部データを抽出するものである。   Next, in step 110, variable item data extraction processing is executed. The process of step 110 is to extract the variable part data of the variable part from the form format data stored in the format registration part 42 in step 102.

次にステップ112では、上記ステップ110で抽出した可変アイテムデータに含まれる属性情報を、該属性情報の対応する項目毎に、プリンタ14のプリンタ言語に変換する。更に、次のステップ114において、変換した属性情報と、該属性情報に対応する項目の格納情報とを、対応する項目情報に関連付けてアイテム属性テーブルに登録した後に、本ルーチンを終了する。   In step 112, the attribute information included in the variable item data extracted in step 110 is converted into the printer language of the printer 14 for each item corresponding to the attribute information. Further, in the next step 114, the converted attribute information and the storage information of the item corresponding to the attribute information are registered in the item attribute table in association with the corresponding item information, and then this routine is terminated.

上記ステップ114の処理によって、例えば、図4に示すアイテム属性テーブルが作成されて、可変部格納部50へ格納される。詳細には、アイテム属性テーブルは、プリンタ言語に変換された属性情報と、該属性情報の項目に応じた項目印刷データの位置を識別するための格納情報が、対応する項目に関連づけてアイテム属性テーブルに格納される。すなわち、上記ステップ114の処理によって、可変アイテムデータに含まれる属性情報が、プリンタ言語に変換されるとともに、対応する項目と関連づけてアイテム属性テーブルへ格納される。また、このアイテム属性テーブルには、各項目毎に対応する項目印刷データの格納場所を示す格納情報もまた対応付けて記憶される。格納情報は、後述する出力データ作成処理時に項目印刷データを抽出するための参照データとして使用するものであるため、プリンタ言語に変換する必要がなく、PC16から受信する印刷データのデータ形式に合わせてアイテム属性テーブルに登録される。   For example, the item attribute table shown in FIG. 4 is created by the process of step 114 and stored in the variable unit storage unit 50. Specifically, in the item attribute table, the attribute information converted into the printer language and the storage information for identifying the position of the item print data corresponding to the item of the attribute information are associated with the corresponding item. Stored in That is, the attribute information included in the variable item data is converted into the printer language by the processing in step 114 and is stored in the item attribute table in association with the corresponding item. The item attribute table also stores storage information indicating the storage location of the item print data corresponding to each item in association with each other. The stored information is used as reference data for extracting item print data during output data creation processing, which will be described later, and therefore does not need to be converted into a printer language, and matches the data format of print data received from the PC 16. Registered in the item attribute table.

なお、上記ステップ100乃至ステップ114の処理は、上記プロセス1に相当する。   Note that the processing from step 100 to step 114 corresponds to the process 1 described above.

上記ステップ102乃至ステップ114の処理によって、帳票フォーマットデータは、固定データ64及び可変アイテムデータ66に分けて各々固定部格納部46及び可変部格納部50へ格納される。   Through the processing from step 102 to step 114, the form format data is divided into fixed data 64 and variable item data 66 and stored in the fixed part storage unit 46 and the variable part storage unit 50, respectively.

一方、上記ステップ100で否定されると、ステップ116へ進み、印刷データ及び識別情報を受信したか否かを判断する。ステップ116で否定されると、上記ステップ100へ戻る。上記ステップ116で肯定されると(上記プロセス2に相当)、ステップ118へ進む。ステップ118では、上記ステップ116で受信した印刷データ及び識別データを関連づけて印刷データ格納部52へ格納する。   On the other hand, if the result in Step 100 is negative, the process proceeds to Step 116 to determine whether print data and identification information have been received. If the result in Step 116 is negative, the process returns to Step 100 above. If the result in step 116 is affirmative (corresponding to process 2 above), the process proceeds to step 118. In step 118, the print data and identification data received in step 116 are associated with each other and stored in the print data storage unit 52.

次にステップ122では、固定データ把握処理が実行される。ステップ122の処理は、上記ステップ118で印刷データ格納部52に格納した識別データに応じて、該識別データに対応する固定データを固定部格納部46から把握するものである。   Next, in step 122, a fixed data grasping process is executed. The process of step 122 is to grasp the fixed data corresponding to the identification data from the fixed part storage unit 46 according to the identification data stored in the print data storage unit 52 in step 118.

次にステップ124では、アイテム属性テーブル把握処理が実行される。ステップ124の処理は、上記ステップ118で印刷データ格納部52に格納した識別データに応じて、該識別データに対応するアイテム属性テーブルを可変部格納部50から把握するものである。   Next, in step 124, an item attribute table grasping process is executed. The process of step 124 is to grasp the item attribute table corresponding to the identification data from the variable unit storage unit 50 according to the identification data stored in the print data storage unit 52 in step 118.

上記ステップ122及びステップ124の処理によって、印刷データ格納部52に格納された印刷データを合成する対象となる帳票フォーマットデータに対応する、プリンタ言語に変換された固定データ、及びプリンタ言語に変換された属性情報を対応する項目に関連付けて格納したアイテム属性テーブルが把握される。   By the processing in the above step 122 and step 124, the fixed data converted into the printer language corresponding to the form format data to be combined with the print data stored in the print data storage unit 52, and converted into the printer language An item attribute table in which attribute information is stored in association with corresponding items is grasped.

ステップ126では、アイテム属性テーブルの「CSV列番号」項目に示される値に相当する列に含まれる項目印刷データを、印刷データから抽出する。詳細には、アイテム属性テーブルの「CSV列番号」項目に示される値を順次読み取り、該値に相当する列に含まれる項目印刷データを、印刷データを構成する1つまたは複数のレコードの内の1つのレコードから順次抽出する。これによって、アイテム属性テーブルの「CSV列番号」、に示される値に相当する列に格納された項目印刷データが、1レコード分、項目毎に順次抽出される。   In step 126, the item print data included in the column corresponding to the value indicated in the “CSV column number” item of the item attribute table is extracted from the print data. Specifically, the value indicated in the “CSV column number” item of the item attribute table is sequentially read, and the item print data included in the column corresponding to the value is stored in one or more records constituting the print data. Extract sequentially from one record. Thereby, the item print data stored in the column corresponding to the value indicated by “CSV column number” in the item attribute table is sequentially extracted for each item for one record.

次にステップ128では、上記抽出した1レコード分の項目印刷データ各々を、該当する項目各々の属性データに対応付ける。ステップ128の処理は、各項目に対応する項目印刷データを、対応する属性情報に追加するものである。   In step 128, the extracted item print data for one record is associated with the attribute data of the corresponding item. The process of step 128 is to add item print data corresponding to each item to the corresponding attribute information.

次にステップ130では、上記ステップ128で項目印刷データが追加された属性情報を、上記ステップ122で把握した固定データに追加する。ステップ130の処理によって、プリンタ言語に変換された1ページ分の出力データが得られる。すなわち、この出力データは、プリンタ言語に変換された固定データと、プリンタ言語に変換された属性情報と、該属性情報の各項目に対応する項目印刷データを含むものであり、プリンタ14において、1頁分の帳票画像を出力するための出力データである。   In step 130, the attribute information to which the item print data is added in step 128 is added to the fixed data grasped in step 122. Through the processing in step 130, output data for one page converted into the printer language is obtained. That is, this output data includes fixed data converted into the printer language, attribute information converted into the printer language, and item print data corresponding to each item of the attribute information. This is output data for outputting a form image for a page.

次にステップ132では残印刷データがあるか否かを判断する。ステップ132の判断は、上記ステップ126で抽出した印刷データの他に、未抽出の印刷データがあるか否かを判別することによって判断することができる。例えば、上記ステップ126の処理において、前段から順次1レコードずつ印刷データを読み取り、該読み取った印刷データに含まれる項目印刷データを上記ステップ126乃至ステップ130の処理において処理するようにし、順次読み取り対象とするレコード番号をカウントアップして後段のレコードに示される印刷データを順次処理するようにする。そして、後段のレコードに相当する印刷データが無い場合に、残印刷データが無いことを判別するようにすればよい。   Next, in step 132, it is determined whether there is remaining print data. The determination at step 132 can be made by determining whether there is unextracted print data in addition to the print data extracted at step 126. For example, in the process of step 126, the print data is sequentially read from the preceding stage one record at a time, and the item print data included in the read print data is processed in the process of steps 126 to 130. The record number to be counted is incremented to sequentially process the print data indicated in the subsequent record. Then, when there is no print data corresponding to the subsequent record, it may be determined that there is no remaining print data.

上記ステップ132で肯定されると、ステップ134へ進む、上記ステップ130で作成された出力データの末尾に改ページコマンドを追加した後に、ステップ126へ戻る。   If the result in step 132 is affirmative, the process proceeds to step 134. After adding a page break command to the end of the output data created in step 130, the process returns to step 126.

上記ステップ126乃至ステップ134の処理が実行されることによって、ページ単位に出力データが順次作成され、結果的に、印刷データ格納部52に格納された印刷データに応じた出力データが作成される。   By executing the processing from step 126 to step 134, output data is sequentially created for each page, and as a result, output data corresponding to the print data stored in the print data storage unit 52 is created.

ステップ132で否定され、印刷データに含まれる全ページ分(全レコード)の印刷データから出力データを作成する作成処理が終了すると、ステップ136へ進み、作成した出力データをスプール部56へスプールするスプール処理が実行される。   When the creation process for creating output data from the print data for all pages (all records) included in the print data is completed in step 132, the process proceeds to step 136, and the spool for spooling the created output data to the spool unit 56 is performed. Processing is executed.

なお、上記ステップ118乃至ステップ136の処理は、上記プロセス3に相当する。   Note that the processing from step 118 to step 136 corresponds to the process 3.

次にステップ138では、スプール部56にスプールされた出力データを、プリンタ14へ送信(上記プロセス4に相当)した後に、本ルーチンを終了する。   In step 138, the output data spooled in the spool unit 56 is transmitted to the printer 14 (corresponding to the process 4), and then this routine is terminated.

プリンタ14では、出力データを受信すると、出力データに基づく帳票印刷を実行し、を印刷用紙へ帳票画像を印刷する。   Upon receiving the output data, the printer 14 executes form printing based on the output data, and prints the form image on the printing paper.

なお、上記ステップ104及びステップ110の処理は、本発明の分類手段の機能に相当し、上記ステップ106及びステップ108、及び上記ステップ112及びステップ114の処理は、本発明の登録手段の機能に相当する。また、上記ステップ116乃至ステップ138の処理は、本発明の制御手段の機能に相当する。また、上記ステップ100の処理は、本発明の帳票フォーマットデータ受信手段の機能に相当する。   Note that the processing of step 104 and step 110 corresponds to the function of the classification means of the present invention, and the processing of step 106 and step 108 and the processing of step 112 and step 114 corresponds to the function of the registration means of the present invention. To do. Further, the processing from step 116 to step 138 corresponds to the function of the control means of the present invention. The processing in step 100 corresponds to the function of the form format data receiving means of the present invention.

以上説明したように、本実施の形態では、出力データ作成前に、帳票フォーマットデータを各帳票において固定的な固定データと可変アイテムデータとに分類し、固定データをプリンタ言語に変換して記憶し、可変アイテムデータに含まれる属性情報をプリンタ言語に変換するとともに、変換した属性情報及び該属性情報に対応する項目印刷データの格納場所を示す格納情報を各項目毎にテーブル形式として記憶する。   As described above, in this embodiment, before the output data is created, the form format data is classified into fixed data and variable item data in each form, and the fixed data is converted into a printer language and stored. The attribute information included in the variable item data is converted into the printer language, and the converted attribute information and storage information indicating the storage location of the item print data corresponding to the attribute information are stored in a table format for each item.

すなわち、帳票フォーマットデータを、プリンタ14のプリンタ言語に変換した固定データと、プリンタ言語に変換された属性情報を含むアイテム属性テーブルとしての可変アイテムデータと、に分類し、格納することができる。可変アイテムデータのアイテム属性テーブルは、上記説明したように、プリンタ言語に変換された属性情報と、該属性情報の項目に応じた項目印刷データの位置を示す格納情報を、対応する各項目に関連づけて格納したものである。   That is, the form format data can be classified and stored into fixed data converted into the printer language of the printer 14 and variable item data as an item attribute table including attribute information converted into the printer language. As described above, the item attribute table of the variable item data associates the attribute information converted into the printer language and the storage information indicating the position of the item print data corresponding to the item of the attribute information with each corresponding item. Stored.

出力データの作成以前に、帳票フォーマットデータに含まれるプリンタ言語に変換可能な固定データ及び可変アイテムデータの属性情報をプリンタ言語に変換して格納することができるので、帳票フォーマットデータへの印刷データの合成のみによってプリンタ14のプリンタ言語の出力データを効率よく作成することができる。   Before the output data is created, the attribute information of fixed data and variable item data that can be converted to printer language included in the form format data can be converted into the printer language and stored. Output data in the printer language of the printer 14 can be efficiently created only by combining.

また、可変アイテムデータは、アイテム属性テーブルとして登録することができるので、印刷データを帳票フォーマットデータに合成しプリンタ言語の出力データを作成する時には、アイテム属性テーブルに基づいて可変アイテムデータに各項目印刷データを合成するとともに、固定データに合成すればよい。すなわち、アイテム属性テーブルの各項目に示される格納情報に応じた項目印刷データを順次、各項目毎に合成した後に、この印刷データを合成した可変アイテムデータを固定データに合成することによって、プリンタ言語の出力データを作成するので、出力データ作成時における印刷データの合成処理を効率よく実行することができ、効率よく出力データを作成することができる。   In addition, variable item data can be registered as an item attribute table, so when creating print language output data by combining print data with form format data, each item is printed on variable item data based on the item attribute table. What is necessary is just to combine data with fixed data. That is, after the item print data corresponding to the storage information shown in each item of the item attribute table is sequentially synthesized for each item, the variable item data obtained by synthesizing the print data is synthesized with the fixed data, thereby combining the printer language Therefore, the print data composition process at the time of output data creation can be executed efficiently, and the output data can be created efficiently.

また、可変アイテムデータを、印刷データの各項目毎に、プリンタ言語に変換された属性情報及び項目印刷データの位置を示す格納情報を対応付けたアイテム属性テーブルとして格納することができるので、印刷データの変更時には、アイテム属性テーブルから、印刷データの変更する項目に応じた属性情報及び格納情報を変更すればよく、容易に印刷データの変更に対応することができる。具体的には、例えば、印刷データに含まれる特定の項目印刷データの削除や、項目印刷データの帳票上の位置及び色等を変更する場合には、アイテム属性テーブルの対応する項目の削除や、対応する項目の属性情報を変更すること等により容易に対応することができる。同様に、印刷データの各項目に対応する項目印刷データの位置を変更する場合、対応する項目の格納情報を変更すればよく、容易に変更に対応することができる。   Further, the variable item data can be stored as an item attribute table in which attribute information converted into the printer language and storage information indicating the position of the item print data are associated with each item of the print data. When the change is made, the attribute information and the storage information corresponding to the item to be changed in the print data may be changed from the item attribute table, and the change of the print data can be easily handled. Specifically, for example, when deleting specific item print data included in the print data, or changing the position and color of the item print data on the form, deleting the corresponding item in the item attribute table, This can be easily handled by changing the attribute information of the corresponding item. Similarly, when changing the position of the item print data corresponding to each item of the print data, it is only necessary to change the storage information of the corresponding item, and the change can be easily handled.

このように、帳票フォーマットデータに含まれる、印刷データを合成する位置や属性等の可変アイテムデータを、各項目毎にテーブル形式で格納することができるので、帳票フォーマットデータや印刷データの変更に容易に対応することができる。更に、アイテム属性テーブルに含まれる属性情報を、出力データの作成前に予め帳票印刷するプリンタのプリンタ言語に変換して登録することができるので、出力データ作成における印刷データの合成処理を効率よく行うことができる。   In this way, variable item data, such as the print data composition position and attributes, included in the form format data can be stored in a table format for each item, making it easy to change the form format data and print data. It can correspond to. Furthermore, attribute information included in the item attribute table can be registered by converting it into the printer language of the printer that prints the form in advance before creating the output data, so that the print data composition processing in the output data creation is efficiently performed. be able to.

また、帳票フォーマットデータから罫線等の各帳票毎に固定的な固定データを分類し、プリンタ言語に変換して登録することができるので、帳票フォーマットデータの固定データ部分の変更時には、該固定データを変更すればよく、容易に帳票フォーマットデータの固定的な領域を変更することが可能となる。   In addition, since fixed fixed data can be classified for each form such as ruled lines from the form format data and converted into a printer language and registered, when the fixed data portion of the form format data is changed, the fixed data is What is necessary is just to change, and it becomes possible to change the fixed area | region of form format data easily.

上記では、固定データと可変アイテムデータを固定部格納部46及び可変部格納部50に分離して格納しているが、帳票フォーマットデータは、一般的に1つのファイル構成として扱うことが好ましい。そこで、上記の固定データと可変アイテムデータを1つのデータ構成としてなる帳票フォーマットデータをフォーマット登録部42へ格納してもよい。   In the above description, the fixed data and variable item data are stored separately in the fixed part storage unit 46 and the variable part storage unit 50. However, it is generally preferable to handle the form format data as one file structure. Therefore, form format data having the fixed data and variable item data as one data structure may be stored in the format registration unit 42.

図6には、固定データの領域と可変アイテムデータの領域からなる帳票フォーマットデータのデータ構成の一例を示した。   FIG. 6 shows an example of the data structure of the form format data composed of the fixed data area and the variable item data area.

図6の帳票フォーマットデータ65は、固定データ領域64と可変アイテムデータ領域66から構成されている。固定データ領域64は、上述の固定データを格納するための領域であり、可変アイテムデータ領域66は、上述のアイテム属性テーブルによる可変アイテムデータを格納するための領域である。このように、帳票フォーマットデータ65を、固定データ領域64と可変アイテムデータ領域66から構成することで、帳票フォーマットデータ65の扱いで、固定データと可変アイテムデータとの各々を、必要に応じて利用することができる。   The form format data 65 shown in FIG. 6 includes a fixed data area 64 and a variable item data area 66. The fixed data area 64 is an area for storing the above-mentioned fixed data, and the variable item data area 66 is an area for storing variable item data based on the above-mentioned item attribute table. Thus, by forming the form format data 65 from the fixed data area 64 and the variable item data area 66, each of the fixed data and the variable item data is used as necessary in the handling of the form format data 65. can do.

例えば、固定データ及び可変アイテムデータの少なくとも一方のデータを修正したり追加したり削除したりするときに、該当部分を把握することは、容易となる。すなわち、固定データ領域64や可変アイテムデータ領域66について、該当する処理を施せばよい。   For example, when correcting, adding, or deleting at least one of fixed data and variable item data, it is easy to grasp the corresponding part. That is, the corresponding processing may be performed on the fixed data area 64 and the variable item data area 66.

このことは、可変アイテムデータに対して有効に機能する。例えば、印刷データの型式(フォントや書体等のプロパティ)を変更したい場合、上記のテーブルを参照し、該当部分を変更するのみで、意図する箇所の意図する変更のみを実行できる。このため、帳票フォーマットデータ全体を書き換える必要はなく、該当箇所の変更という簡単な処理でユーザが意図する処理を実行することができる。   This works effectively for variable item data. For example, when it is desired to change the type of print data (properties such as fonts and typefaces), only the intended change of the intended part can be executed by referring to the above table and changing the corresponding part. For this reason, it is not necessary to rewrite the entire form format data, and the process intended by the user can be executed by a simple process of changing the corresponding part.

なお、本実施の形態では、プリンタ14に出力データを送信する場合を説明したが、プリンタ14の他にネットワーク22にプリンタを接続し、該接続したプリンタへ出力データを送信するようにしてもよい。   In this embodiment, the case where output data is transmitted to the printer 14 has been described. However, in addition to the printer 14, a printer may be connected to the network 22, and the output data may be transmitted to the connected printer. .

なお、本実施の形態では、出力データ作成PC20は、予め定めたプリンタとして、プリンタ14のプリンタ言語の出力データを生成するものとして説明するが、出力するプリンタは、プリンタ14に限られるものではない。この場合、予め出力データ作成PC20において、複数のプリンタ各々を識別可能なプリンタ識別情報と、該プリンタのプリンタ言語を示す言語情報とを関連付けて記憶するようにすればよい。そして、帳票フォーマット作成端末18から出力データ作成PC20へ、帳票フォーマットデータとともにプリンタ識別情報を送信する。更にフォーマット登録部42において、受信したプリンタ識別情報に関連付けて固定データ及び項目属性テーブルを格納するようにすればよい。また、PC16から出力データ作成PC20へ印刷データとともに、プリンタ識別情報を送信するようにする。このようにすれば、出力データ作成PC20では、印刷データのプリンタ識別情報に対応するプリンタ言語に変換された固定データ及び属性テーブルと、印刷データを合成することによって、出力データを作成するようにすればよい。   In the present embodiment, the output data creation PC 20 is described as generating output data in the printer language of the printer 14 as a predetermined printer. However, the output printer is not limited to the printer 14. . In this case, the output data creation PC 20 may store in advance the printer identification information that can identify each of the plurality of printers and the language information indicating the printer language of the printer in association with each other. Then, the printer identification information is transmitted from the form format creation terminal 18 to the output data creation PC 20 together with the form format data. Further, the format registration unit 42 may store the fixed data and the item attribute table in association with the received printer identification information. Further, the printer identification information is transmitted from the PC 16 to the output data creation PC 20 together with the print data. In this way, the output data creation PC 20 creates output data by combining the print data with the fixed data and attribute table converted into the printer language corresponding to the printer identification information of the print data. That's fine.

また、本実施の形態では、帳票フォーマットデータを登録するフォーマット登録部42と、印刷データを受信すると受信した印刷データ、固定データ、及びアイテム属性テーブルに基づいて出力データを作成する出力データ作成部54とは、同一の装置(出力データ作成端末20)に設けられるものとして説明したが、別体として設けるようにしてもよい。この場合、フォーマット登録部42の機能を有する端末へ、帳票フォーマット作成端末18から帳票フォーマットデータ及び識別データを送信する。また、フォーマット登録部42の機能を有する端末では、上記ステップ100乃至ステップ114の処理を実行し、受信した帳票フォーマットデータの固定データ及び可変アイテムデータを変換して格納するようにすればよい。また、PC16から出力データ作成部54の機能を有するPCへ印刷データ及び識別データを送信する。出力データ作成部54の機能を有するPCでは、上記ステップ116乃至ステップ138の処理を実行すればよい。なお、上記ステップ122の固定データ把握処理、及び上記ステップ124のアイテム属性テーブル把握処理において、上記フォーマット登録部42の機能を有する端末へ、該識別データに相当する固定データ及びアイテム属性テーブルの送信要求を送信し、対応する固定データ及びアイテム属性テーブルを受信するようにすればよい。   Further, in the present embodiment, a format registration unit 42 that registers form format data, and an output data creation unit 54 that creates output data based on the received print data, fixed data, and item attribute table when print data is received. Is described as being provided in the same device (output data creation terminal 20), but may be provided separately. In this case, the form format data and the identification data are transmitted from the form format creation terminal 18 to a terminal having the function of the format registration unit 42. In addition, the terminal having the function of the format registration unit 42 may execute the processing of the above steps 100 to 114 to convert and store the received fixed data and variable item data of the form format data. Further, the print data and the identification data are transmitted from the PC 16 to the PC having the function of the output data creation unit 54. In the PC having the function of the output data creation unit 54, the processing from step 116 to step 138 may be executed. In the fixed data grasping process in step 122 and the item attribute table grasping process in step 124, a transmission request for the fixed data and item attribute table corresponding to the identification data is sent to the terminal having the function of the format registration unit 42. And the corresponding fixed data and the item attribute table may be received.

また、本実施の形態では、印刷データを作成するPC16、帳票フォーマットデータを作成する帳票フォーマット作成端末18、出力データ作成PC20、及びプリンタ14は各別体として設ける場合を説明したが、プリンタ14に全ての機能を備えるようにしてもよい。   In the present embodiment, the PC 16 that creates print data, the form format creation terminal 18 that creates form format data, the output data creation PC 20, and the printer 14 have been described as separate units. You may make it provide all the functions.

本実施の形態に係るプリンタシステムの概要を示す模式図である。1 is a schematic diagram illustrating an overview of a printer system according to an embodiment. (A)は、帳票印刷による出力データ作成方法を示す模式図であり、(B)は帳票印刷により得られる帳票画像の一例を示す模式図である。(A) is a schematic diagram illustrating an output data creation method by form printing, and (B) is a schematic diagram illustrating an example of a form image obtained by form printing. 本実施の形態に係るプリンタシステムにおける出力データ作成PCの主要構成を示す機能ブロック図である。3 is a functional block diagram showing a main configuration of an output data creation PC in the printer system according to the present embodiment. FIG. アイテム属性テーブルの一例を示す模式図である。It is a schematic diagram which shows an example of an item attribute table. 本実施の形態に係る出力データ作成PCにおける処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process in the output data creation PC which concerns on this Embodiment. 本実施の形態に係るフォーマット登録部の固定部格納部及び可変部格納部に格納された帳票フォーマットデータを示すイメージ図である。It is an image figure which shows the form format data stored in the fixed part storage part and variable part storage part of the format registration part which concerns on this Embodiment.

符号の説明Explanation of symbols

10 プリンタシステム
14 プリンタ
44 固定部抽出部
46 固定部格納部
48 可変部抽出部
50 可変部格納部
54 出力データ作成部
DESCRIPTION OF SYMBOLS 10 Printer system 14 Printer 44 Fixed part extraction part 46 Fixed part storage part 48 Variable part extraction part 50 Variable part storage part 54 Output data creation part

Claims (6)

帳票印刷するための予め作成された帳票フォーマットデータに、個々の帳票用の印字データを合成して画像形成装置へ出力する帳票印刷制御装置において、
前記帳票フォーマットデータを、各帳票において同一に用いるための固定データと、前記印字データによる項目の画像を前記帳票内に格納するときの印字データの位置及び属性を表す可変アイテムデータと、に分類する分類手段と、
前記固定データを前記画像形成装置の固有言語に変換して登録すると共に、前記可変アイテムデータの前記属性を示す属性データについて前記画像形成装置の固有言語に変換しかつ前記項目と印字データの位置及び属性データとの対応情報を生成して登録する登録手段と、
前記印字データを受信して、受信した印字データについて前記帳票フォーマットデータとして登録された固定データ及び対応情報を読み取ると共に、固定データ、印字データ、及び属性データを合成した前記画像形成装置の固有言語の出力データを生成し出力する制御手段と、
を備えたことを特徴とする帳票印刷制御装置。
In the form print control device that synthesizes the print data for each form into the form format data created in advance for form printing and outputs it to the image forming apparatus.
The form format data is classified into fixed data for use in the same form in each form, and variable item data representing the position and attributes of print data when an image of an item based on the print data is stored in the form. Classification means;
The fixed data is converted into a unique language of the image forming apparatus and registered, and attribute data indicating the attribute of the variable item data is converted into a unique language of the image forming apparatus, and the position of the item and print data Registration means for generating and registering correspondence information with attribute data;
The print data is received, the fixed data registered as the form format data and the corresponding information are read for the received print data, and the fixed language, the print data, and the attribute data are combined in a unique language of the image forming apparatus. Control means for generating and outputting output data;
A form printing control apparatus characterized by comprising:
前記印字データによる項目の画像は、文字、図形、及びイメージを表す画像であることを特徴とする請求項1に記載の帳票印刷制御装置。   The form print control apparatus according to claim 1, wherein the image of the item by the print data is an image representing a character, a figure, and an image. 前記帳票フォーマットデータを外部から受信する帳票フォーマットデータ受信手段を更に備えることを特徴とする請求項1または請求項2に記載の帳票印刷制御装置。   3. The form printing control apparatus according to claim 1, further comprising form format data receiving means for receiving the form format data from outside. 前記登録手段は、前記帳票フォーマットデータを識別するために予め定めた識別情報を付与して前記固有データ及び前記対応情報を登録し、前記制御手段は、前記印字データとともに該印字データを合成する前記帳票フォーマットデータの識別情報を受信し、受信した識別情報に対応する帳票フォーマットデータの固定データ及び対応情報に基づいて、前記出力データを生成し出力することを特徴とする請求項1乃至請求項3の何れか1項に記載の帳票印刷制御装置。   The registration means adds predetermined identification information to identify the form format data and registers the unique data and the correspondence information, and the control means synthesizes the print data together with the print data. 4. The identification information of form format data is received, and the output data is generated and output based on fixed data and correspondence information of form format data corresponding to the received identification information. The form printing control apparatus according to any one of the above. 帳票印刷するための予め作成された帳票フォーマットデータに、個々の帳票用の印字データを合成して画像形成装置へ出力する帳票印刷制御方法であって、
前記帳票フォーマットデータを、各帳票において同一に用いるための固定データと、前記印字データによる項目の画像を前記帳票内に格納するときの印字データの位置及び属性を表す可変アイテムデータと、に分類し、
前記固定データを前記画像形成装置の固有言語に変換して登録すると共に、前記可変アイテムデータの前記属性を示す属性データについて前記画像形成装置の固有言語に変換しかつ前記項目と印字データの位置及び属性データとの対応情報を生成して登録し、
前記印字データを受信して、受信した印字データについて前記帳票フォーマットデータとして登録された固定データ及び対応情報を読み取ると共に、固定データ、印字データ及び属性データを合成した前記画像形成装置の固有言語の出力データを生成し出力する、
ことを特徴とする帳票印刷制御方法。
A form printing control method for synthesizing print data for individual forms into pre-created form format data for form printing and outputting it to the image forming apparatus,
The form format data is classified into fixed data for the same use in each form, and variable item data representing the position and attributes of print data when the image of the item by the print data is stored in the form. ,
The fixed data is converted into a unique language of the image forming apparatus and registered, and attribute data indicating the attribute of the variable item data is converted into a unique language of the image forming apparatus, and the position of the item and print data Generate and register correspondence information with attribute data,
Receiving the print data, reading the fixed data and correspondence information registered as the form format data for the received print data, and outputting the specific language of the image forming apparatus that combines the fixed data, the print data, and the attribute data Generate and output data,
A form printing control method characterized by that.
帳票印刷するための予め作成された帳票フォーマットデータに、個々の帳票用の印字データを合成して画像形成装置へ出力するコンピュータにおいて実行される帳票印刷制御プログラムであって、
前記帳票フォーマットデータを、各帳票において同一に用いるための固定データと、前記印字データによる項目の画像を前記帳票内に格納するときの印字データの位置及び属性を表す可変アイテムデータと、に分類させ、
前記固定データを前記画像形成装置の固有言語に変換して登録すると共に、前記可変アイテムデータの前記属性を示す属性データについて前記画像形成装置の固有言語に変換しかつ前記項目と印字データの位置及び属性との対応情報を生成して登録させ、
前記印字データを受信して、受信した印字データについて前記帳票フォーマットデータとして登録された固定データ及び対応情報を読み取ると共に、固定データ、印字データ、及び属性データを合成した前記画像形成装置の固有言語の出力データを生成し出力させる、
ことを特徴とする帳票印刷制御プログラム。
A form printing control program that is executed in a computer that synthesizes print data for individual forms into pre-created form format data for form printing and outputs it to the image forming apparatus,
The form format data is classified into fixed data for use in the same form in each form, and variable item data representing the position and attributes of print data when the image of the item by the print data is stored in the form. ,
The fixed data is converted into a unique language of the image forming apparatus and registered, and attribute data indicating the attribute of the variable item data is converted into a unique language of the image forming apparatus, and the position of the item and print data Generate and register the corresponding information with the attribute,
The print data is received, the fixed data and the correspondence information registered as the form format data are read for the received print data, and the fixed language, the print data, and the attribute data are combined in a unique language of the image forming apparatus. Generate and output output data,
A form printing control program characterized by that.
JP2004084601A 2004-03-23 2004-03-23 Document print controller, document print control method and document print control program Pending JP2005275545A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004084601A JP2005275545A (en) 2004-03-23 2004-03-23 Document print controller, document print control method and document print control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004084601A JP2005275545A (en) 2004-03-23 2004-03-23 Document print controller, document print control method and document print control program

Publications (1)

Publication Number Publication Date
JP2005275545A true JP2005275545A (en) 2005-10-06

Family

ID=35175189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004084601A Pending JP2005275545A (en) 2004-03-23 2004-03-23 Document print controller, document print control method and document print control program

Country Status (1)

Country Link
JP (1) JP2005275545A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007313662A (en) * 2006-05-23 2007-12-06 Fuji Xerox Co Ltd Printer, printing control program, and method for controlling printing
JP2008165374A (en) * 2006-12-27 2008-07-17 Dainippon Printing Co Ltd Variable printing method
CN100418051C (en) * 2006-08-22 2008-09-10 北京北大方正电子有限公司 Method and system for continuously printing multiple part bills
JP2010146433A (en) * 2008-12-22 2010-07-01 Canon It Solutions Inc Mobile terminal, method for controlling the same, and program
JP2018069512A (en) * 2016-10-27 2018-05-10 セイコーエプソン株式会社 Printer and control method for the same

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007313662A (en) * 2006-05-23 2007-12-06 Fuji Xerox Co Ltd Printer, printing control program, and method for controlling printing
CN100418051C (en) * 2006-08-22 2008-09-10 北京北大方正电子有限公司 Method and system for continuously printing multiple part bills
JP2008165374A (en) * 2006-12-27 2008-07-17 Dainippon Printing Co Ltd Variable printing method
JP2010146433A (en) * 2008-12-22 2010-07-01 Canon It Solutions Inc Mobile terminal, method for controlling the same, and program
JP2018069512A (en) * 2016-10-27 2018-05-10 セイコーエプソン株式会社 Printer and control method for the same

Similar Documents

Publication Publication Date Title
US10740049B2 (en) Printer and server
JP2006237825A (en) Image processing device, image processing method and image processing program
US20080285074A1 (en) Systems, devices, and methods for variable data printing
US20020042798A1 (en) Printing system, and print server and computer program used in said printing system
US8259341B2 (en) Information processing apparatus, control method, storage medium
US8964241B2 (en) Print control device and non-transitory computer readable medium for storing mark information in accordance with a type of printer
JP2010225038A (en) Barcode information management device, and printer
US7164484B2 (en) Print controller, print control method and printer including determination to store macro as instruction or bitmap
JP5218011B2 (en) Print control program, print control method, and print control apparatus
JP2005275545A (en) Document print controller, document print control method and document print control program
US8885191B2 (en) Print control apparatus performing a finishing process after printing, print control method thereof, and computer-readable medium
US10310788B2 (en) Control method for generating data used for printing and information processing apparatus
US20110157634A1 (en) Printing process device, printing process method, and computer readable storage medium storing printing process program
JP2006252300A (en) Pull print system
US10062019B2 (en) Method, device and computer program product for processing print data to generate a print image on a print substrate
JP2006039719A (en) Image processing device and image processing method
JP2002229764A (en) Printing system, server, printing method, storage medium, and program
JP2021138011A (en) Image processing apparatus
JP2005235108A (en) Business form print control unit and business form print control system
JP2018129575A (en) Image data output device, image data output system, and image data output method
JP2001202362A (en) Character editing processor
JP2006218819A (en) Image formation apparatus, image processing apparatus, program, and image processing method
JP2011182351A (en) Image processing apparatus, printing processing method and program
JP4735128B2 (en) Document processing device
JP2008287440A (en) Image processor and program