JPH04272879A - Printing date processor - Google Patents

Printing date processor

Info

Publication number
JPH04272879A
JPH04272879A JP3055461A JP5546191A JPH04272879A JP H04272879 A JPH04272879 A JP H04272879A JP 3055461 A JP3055461 A JP 3055461A JP 5546191 A JP5546191 A JP 5546191A JP H04272879 A JPH04272879 A JP H04272879A
Authority
JP
Japan
Prior art keywords
data
information
printed
storage means
print
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.)
Granted
Application number
JP3055461A
Other languages
Japanese (ja)
Other versions
JP2995239B2 (en
Inventor
Takayasu Watanabe
隆保 渡辺
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP3055461A priority Critical patent/JP2995239B2/en
Publication of JPH04272879A publication Critical patent/JPH04272879A/en
Application granted granted Critical
Publication of JP2995239B2 publication Critical patent/JP2995239B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、プリンタに於ける印刷
出力を制御する印刷データ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print data processing device for controlling print output in a printer.

【0002】0002

【従来の技術】従来、プリンタを制御する印刷データ処
理装置では、伝票発行等のように所定のフォーム上にデ
ータを印刷する場合、図6に示すように、1頁毎の固定
フォーム101と、そのフォームに合わせて作成された
印刷すべきデータ102とを用意し、その2つのデータ
を重ね合わせて、つまりフォーム101上にデータ10
2を上書きするようにして、1つの印刷物103のため
のデータを作成し、それをプリンタに供給して印刷させ
るようにしている。
2. Description of the Related Art Conventionally, in a print data processing device that controls a printer, when printing data on a predetermined form, such as when issuing a slip, a fixed form 101 for each page, as shown in FIG. Prepare the data 102 to be printed that is created according to the form, and overlap the two data, that is, print the data 102 on the form 101.
2 is overwritten to create data for one printed matter 103, and the data is supplied to the printer to be printed.

【0003】0003

【発明が解決しようとする課題】ところが、このような
印刷データ処理装置では、1頁中で1つのフォームしか
取り扱うことができなかった。
However, such print data processing apparatuses can only handle one form on one page.

【0004】従って、アプリケーションから1つの頁の
印刷で複数のフォームを使いたい場合は、フォームとし
てではなく、アプリケーション自身のデータ部にそのフ
ォームに代替できる領域を持たなければならず、その領
域に対する変更は同じ内容を持つアプリケーション全て
を変更しなければならなかった。
[0004] Therefore, if you want to use multiple forms for printing one page from an application, you must have an area that can be substituted for the form in the data section of the application itself, not as a form, and you cannot change the area. had to change all applications with the same content.

【0005】このような原因は、印刷データ処理装置が
1頁中で1つのフォームしか取り扱えないということに
ある。
The reason for this is that the print data processing device can only handle one form on one page.

【0006】してみれば、1頁中に複数のフォームを取
り扱えるようにすれば、1アプリケーションに複数フォ
ームが使用可能となり、複数のアプリケーションで共用
できる共通フォームを1つ(1ファイル)にまとめると
いうことが可能となることは明らかである。
[0006] If one page can handle multiple forms, one application can use multiple forms, and common forms that can be shared by multiple applications can be combined into one (one file). It is clear that this is possible.

【0007】本発明の課題は、1頁中に複数のフォーム
を取り扱えるようにすることである。
[0007] An object of the present invention is to make it possible to handle a plurality of forms on one page.

【0008】[0008]

【課題を解決するための手段】本発明の手段は次の通り
である。供給データ記憶手段1(図1の機能ブロック図
を参照、以下同じ)は、複数のフォームとそれらに対応
する印刷すべきデータとがそれぞれ重ね合わせて印刷さ
れるように、印刷装置2に対して供給する供給データが
展開される。フォーム格納手段3は、種々のフォームを
格納する。記憶手段4は、複数の印刷すべきデータと、
各印刷すべきデータに対応するフォームの前記フォーム
格納手段3に於ける格納場所の情報と当該フォームの印
刷位置の情報とからなるフォーム情報とを、それぞれ対
応させて記憶する。受信手段5は、前記印刷装置2で印
刷を行なうべき印刷命令を受け取る。供給データ作成手
段6は、前記受信手段5で前記印刷命令を受けた時、前
記記憶手段4に記憶されたフォーム情報の前記格納場所
の情報に基づいて各フォームを前記フォーム格納手段3
から読み出し、且つ前記印刷位置の情報に基づいて前記
読出した各フォームを対応する印刷すべきデータと重ね
合わせて前記供給データ記憶手段1に展開することによ
り、前記供給データを作成する。
Means for Solving the Problems The means of the present invention are as follows. A supply data storage means 1 (see the functional block diagram of FIG. 1; the same applies hereinafter) supplies information to the printing device 2 so that a plurality of forms and their corresponding data to be printed are printed in a superimposed manner. The supply data to be supplied is expanded. Form storage means 3 stores various forms. The storage means 4 stores a plurality of data to be printed;
Form information consisting of information on the storage location in the form storage means 3 of the form corresponding to each data to be printed and information on the printing position of the form is stored in correspondence with each other. The receiving means 5 receives a print command for printing by the printing device 2. When the receiving means 5 receives the printing command, the supply data creating means 6 stores each form in the form storing means 3 based on the storage location information of the form information stored in the storing means 4.
The above-mentioned supply data is created by reading the above-mentioned forms and superimposing them on the corresponding data to be printed based on the information on the printing position and developing them in the above-mentioned supply data storage means 1.

【0009】[0009]

【作用】本発明の手段の作用は次の通りである。受信手
段5で印刷装置2で印刷を行なうべき印刷命令を受けた
時、供給データ作成手段6は、記憶手段4に記憶された
フォーム情報の内の格納場所の情報に基づいて各フォー
ムをフォーム格納手段3から読み出し、且つ前記フォー
ム情報の内の印刷位置の情報に基づいて前記読出した各
フォームを対応する印刷すべきデータと重ね合わせて供
給データ記憶手段1に展開することにより供給データを
作成して、印刷装置2に供給する。従って、1頁中に複
数のフォームを取り扱えるようになる。
[Operation] The operation of the means of the present invention is as follows. When the receiving means 5 receives a print command for the printing device 2 to print, the supply data creating means 6 stores each form based on the storage location information of the form information stored in the storage means 4. The supply data is created by reading the form from the means 3 and superimposing each read form with the corresponding data to be printed based on the print position information in the form information and developing it in the supply data storage means 1. and supplies it to the printing device 2. Therefore, multiple forms can be handled on one page.

【0010】0010

【実施例】以下、図2乃至図5を参照して、本発明の一
実施例を説明する。
Embodiment An embodiment of the present invention will be described below with reference to FIGS. 2 to 5.

【0011】図2は、実施例の印刷データ処理装置のブ
ロック構成図で、図中、11は全体の制御を司るCPU
である。12は印刷を行なうアプリケーションプログラ
ムがロードされるアプリケーション使用メモリであり、
このアプリケーションは上記CPU11、キーボード1
3、及びCRT等の表示部14と協同して動作して印刷
すべき印刷データを作成する。15はこの作成された印
刷データを蓄えるデータメモリであり、16はデータを
格納しておくためのデータ格納ディスクである。CPU
11は、アプリケーションに従って、上記データ格納デ
ィスク16に格納されているデータを印刷すべきデータ
として上記データメモリ15に読出す。
FIG. 2 is a block diagram of the print data processing apparatus according to the embodiment. In the figure, 11 is a CPU that controls the entire system.
It is. Reference numeral 12 denotes an application use memory into which an application program for printing is loaded;
This application uses the above CPU11, keyboard1
3 and a display unit 14 such as a CRT to create print data to be printed. 15 is a data memory for storing the created print data, and 16 is a data storage disk for storing data. CPU
11 reads the data stored in the data storage disk 16 into the data memory 15 as data to be printed according to the application.

【0012】17は種々のフォームの情報を格納してい
るフォーム格納ディスク、18は印刷すべきフォームの
数分のフォームの情報を蓄えるデータ保持メモリであり
、19は1頁分のフォームが展開されるフォームメモリ
である。即ち、CPU11は、アプリケーションに従っ
て、必要なフォームの情報をフォーム格納ディスク17
から読出してデータ保持メモリ18に蓄え、この蓄えら
れた全フォームの情報を1頁分のフォームに変換してフ
ォームメモリ19に蓄える。
17 is a form storage disk that stores information on various forms; 18 is a data holding memory that stores information on forms for the number of forms to be printed; and 19 is a data storage memory for storing form information for the number of forms to be printed. It is a form memory. That is, the CPU 11 stores necessary form information in the form storage disk 17 according to the application.
The information of all the stored forms is converted into one page's worth of forms and stored in the form memory 19.

【0013】20はプリンタ21に供給するデータを蓄
える供給データメモリである。CPU11は、アプリケ
ーションに従って、データメモリ15に蓄えられた印刷
データと、フォームメモリ19に蓄えられたフォームと
を、供給データメモリ20上で1頁分の供給データにし
て、プリンタ21に供給する。これにより、プリンタ2
1にて、フォームと印刷データの重ね合わされた帳票等
の印刷出力が行なわれる。
A supply data memory 20 stores data to be supplied to the printer 21. According to the application, the CPU 11 converts the print data stored in the data memory 15 and the form stored in the form memory 19 into one page worth of supply data on the supply data memory 20, and supplies the data to the printer 21. As a result, printer 2
At step 1, a form or the like in which the form and print data are superimposed is printed out.

【0014】次に、このような構成の印刷データ処理装
置の動作を、図3のフローチャートに従って説明する。
Next, the operation of the print data processing apparatus having such a configuration will be explained with reference to the flowchart shown in FIG.

【0015】即ち、アプリケーションから印刷命令が発
行されると、フォーム等の情報を含むヘッダと、1頁分
の印刷データとをデータ格納ディスク16から読み出し
、データメモリ15に格納する(ステップS1)。ここ
で、ヘッダにフォーム情報が有るか無いか、つまりフォ
ーム指定の有無を判断し(ステップS2)、フォーム指
定がなければ、読み込んだデータをそのまま印刷する。 即ち、データメモリ15に格納された印刷データを供給
メモリ20にセットし(ステップS3)、それをプリン
タに供給することにより印刷を行なう(ステップS4)
。そして、次の頁の印刷データがまだデータ格納ディス
ク16にあれば(ステップS5)、次頁の印刷を行なう
ために上記ステップS1に戻る。
That is, when a print command is issued from an application, a header containing information such as a form and print data for one page are read from the data storage disk 16 and stored in the data memory 15 (step S1). Here, it is determined whether or not there is form information in the header, that is, whether there is a form specification (step S2), and if there is no form specification, the read data is printed as is. That is, the print data stored in the data memory 15 is set in the supply memory 20 (step S3), and printing is performed by supplying it to the printer (step S4).
. If the print data for the next page is still on the data storage disk 16 (step S5), the process returns to step S1 to print the next page.

【0016】また、上記ステップS2で、フォーム指定
があると判断されたときには、ヘッダより獲得したフォ
ーム情報の内、先ず最初のフォーム情報を得る(フォー
ム情報の獲得処理)。ここで、図4の(A)及び(B)
に示すように、1頁中に4つのフォームA〜Dを有する
伝票を作成する場合を考えると、ヘッダには、フォーム
情報として、1頁中で使用する全フォームの情報が含ま
れており、1つのフォームに対して図5に示す最低4つ
の情報項目が含まれている。即ち、当該フォームのフォ
ーム出力領域つまり印刷位置を表わすための(1)当該
フォームの左上隅「X座標」及び(2)当該フォームの
左上隅「Y座標」、(3)当該フォームの「フォーム名
称」、及び(4)当該フォームのフォーム格納ディスク
17上の格納場所を表わす「フォーム格納場所」である
。また、全頁と同一のフォームが指定されている場合に
は、ヘッダには上記4つの情報項目を含むフォーム情報
の代わりに、同一指定を表わす情報を含むフォーム情報
が書き込まれている。
Further, when it is determined in step S2 that there is a form specification, the first form information among the form information acquired from the header is obtained (form information acquisition processing). Here, (A) and (B) in FIG.
As shown in , if we are creating a slip with four forms A to D on one page, the header includes information on all forms used on one page as form information. A minimum of four information items shown in FIG. 5 are included for one form. That is, (1) the "X coordinate" of the upper left corner of the form, (2) the "Y coordinate" of the upper left corner of the form, and (3) the "form name" of the form to represent the form output area of the form, that is, the printing position. ”, and (4) “form storage location” indicating the storage location of the form on the form storage disk 17. Further, when the same form as all pages is specified, form information including information representing the same specification is written in the header instead of form information including the above four information items.

【0017】従って、次には、得られたフォーム情報が
前回つまり前頁と同一指定を表わす情報を含むものであ
るのか否かを判断し(ステップS6)、別指定の情報で
あれば、フォームの読み出し処理を行なう。即ち、フォ
ーム情報の内の情報項目「フォーム格納場所」の内容か
らフォーム格納ディスク17上の位置を求めて、そこか
ら情報項目「フォーム名称」の内容で表わされる名称の
フォームを読み出し、データ保持メモリ18へ格納する
(フォームの読み込み処理)(ステップS7)。そして
、1つのフォームを読み込むたびに、フォームメモリ1
9の、情報項目「X座標」及び「Y座標」の内容で示さ
れる座標位置に、そのフォームの印刷データを重ね合わ
せていく(フォームメモリへの重ね合わせ処理)(ステ
ップS8)。そして、このフォーム情報の獲得処理から
フォームメモリへの重ね合わせ処理間の処理を、フォー
ム指定された数分、繰り返し行なう(ステップS9)。
Therefore, next, it is determined whether the obtained form information includes information representing the same designation as the previous page, that is, the previous page (step S6), and if the information is a different designation, the form is read out. Process. That is, the position on the form storage disk 17 is determined from the contents of the information item "form storage location" in the form information, the form with the name represented by the contents of the information item "form name" is read from there, and the form is stored in the data holding memory. 18 (form reading process) (step S7). And each time you load one form, form memory 1
The print data of the form is superimposed on the coordinate positions indicated by the contents of the information items "X coordinate" and "Y coordinate" in step S8 (superimposition process on form memory). Then, the process from acquiring the form information to superimposing it on the form memory is repeated for the number of times specified by the form (step S9).

【0018】こうして1頁中の全フォームをフォームメ
モリ19上に作成したならば、このフォームメモリ19
内のフォームとデータメモリ15内の印刷データとを供
給データメモリ20上で重ね合わせ、プリンタ21に供
給すべき1頁分のデータを作成する(データとフォーム
の重ね合わせ処理)(ステップS10)。そして、この
供給データメモリ20内のデータをプリンタに供給する
ことにより印刷を行なう(ステップS4)。そして、次
の頁の印刷データがまだデータ格納ディスク16にあれ
ば(ステップS5)、次頁の印刷を行なうために上記ス
テップS1に戻る。
Once all the forms on one page have been created on the form memory 19 in this way, this form memory 19
The form and print data in the data memory 15 are superimposed on the supply data memory 20 to create data for one page to be supplied to the printer 21 (data and form superimposition process) (step S10). Then, printing is performed by supplying the data in the supply data memory 20 to the printer (step S4). If the print data for the next page is still on the data storage disk 16 (step S5), the process returns to step S1 to print the next page.

【0019】また、上記ステップS6に於いて、前頁と
同一指定を表わす情報と判断された場合には、再度のフ
ォームの読み込みは必要ないので、上記ステップS10
へ飛び、データとフォームの重ね合わせ処理を行なう。
Furthermore, if it is determined in step S6 that the information represents the same designation as the previous page, there is no need to read the form again, so step S10 is performed.
Jump to and perform the overlapping process of data and form.

【0020】なお、フォームの大きさ(X軸,Y軸の長
さ等)や内容(データの印刷位置に合わせたフォーマッ
ト)はアプリケーションだけが意識すればよく、実際の
印刷時には何も意識することなくフォームの重ね合わせ
が行える。フォームの重ね合わせは、指定の位置(X,
Y座標)に格納先のディスクからフォーム名称でファイ
ルを読み込むという処理をフォームの数分行い、全フォ
ームデータをORすればよいだけである。
[0020] Note that only the application needs to be aware of the form size (X-axis, Y-axis length, etc.) and contents (format that matches the data print position); nothing needs to be considered during actual printing. You can overlay forms without any hassle. Forms can be superimposed at the specified position (X,
It is only necessary to perform the process of reading a file with the form name from the storage destination disk at the Y coordinate for the number of forms, and then OR all the form data.

【0021】[0021]

【発明の効果】本発明によれば、フォーム情報をスプー
ルファイルの先頭にヘッダとして設けることで、1頁に
複数のフォームを使用できるようになる。これは1つの
アプリケーションに複数のフォームが使用可能となるこ
とにもなる。よって、複数のアプリケーションで共用で
きる共通フォームを1つ(1ファイル)にまとめること
が可能となる。
According to the present invention, a plurality of forms can be used on one page by providing form information as a header at the beginning of a spool file. This also allows multiple forms to be used in one application. Therefore, it is possible to combine common forms that can be shared by multiple applications into one (one file).

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の機能ブロック図である。FIG. 1 is a functional block diagram of the present invention.

【図2】実施例の印刷データ処理装置のブロック構成図
である。
FIG. 2 is a block diagram of a print data processing device according to an embodiment.

【図3】実施例の動作を説明するためのフローチャート
である。
FIG. 3 is a flowchart for explaining the operation of the embodiment.

【図4】(A)は複数のフォームの印刷令を示す図であ
り、(B)は各フォームの位置を説明するための図であ
る。
FIG. 4(A) is a diagram showing printing instructions for a plurality of forms, and FIG. 4(B) is a diagram for explaining the position of each form.

【図5】データメモリへのヘッダ及びデータの格納構造
を示す図である。
FIG. 5 is a diagram showing a storage structure of a header and data in a data memory.

【図6】従来の伝票印刷出力動作を示すための図である
FIG. 6 is a diagram showing a conventional slip printout operation.

【符号の説明】[Explanation of symbols]

1…供給データ記憶手段、2…印刷装置、3…フォーム
格納手段、4…記憶手段、5…受信手段、6…供給デー
タ作成手段。
DESCRIPTION OF SYMBOLS 1... Supply data storage means, 2... Printing device, 3... Form storage means, 4... Storage means, 5... Receiving means, 6... Supply data creation means.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  複数のフォームとそれらに対応する印
刷すべきデータとがそれぞれ重ね合わせて印刷されるよ
うに、印刷装置に対して供給する供給データが展開され
る供給データ記憶手段と、種々のフォームを格納するフ
ォーム格納手段と、複数の印刷すべきデータと、各印刷
すべきデータに対応するフォームの前記フォーム格納手
段に於ける格納場所の情報と当該フォームの印刷位置の
情報とからなるフォーム情報とを、それぞれ対応させて
記憶する記憶手段と、前記印刷装置で印刷を行なうべき
印刷命令を受け取る受信手段と、前記受信手段で前記印
刷命令を受けた時、前記記憶手段に記憶されたフォーム
情報の前記格納場所の情報に基づいて各フォームを前記
フォーム格納手段から読み出し、且つ前記印刷位置の情
報に基づいて前記読出した各フォームを対応する印刷す
べきデータと重ね合わせて前記供給データ記憶手段に展
開することにより、前記供給データを作成する供給デー
タ作成手段と、を具備することを特徴とする印刷データ
処理装置。
1. Supply data storage means for expanding supply data to be supplied to a printing device so that a plurality of forms and corresponding data to be printed are printed in a superimposed manner; A form consisting of a form storage means for storing a form, a plurality of data to be printed, information on the storage location in the form storage means of the form corresponding to each data to be printed, and information on the print position of the form. a storage means for storing information in correspondence with each other; a receiving means for receiving a print command to be printed by the printing device; and a form stored in the storage means when the receiving means receives the print command. The supply data storage means reads out each form from the form storage means based on the information on the storage location of information, and overlaps each read form with the corresponding data to be printed based on the information on the printing position. A print data processing apparatus comprising: supply data creation means for creating the supply data by expanding the data into the data.
JP3055461A 1991-02-28 1991-02-28 Print data processing device Expired - Fee Related JP2995239B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3055461A JP2995239B2 (en) 1991-02-28 1991-02-28 Print data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3055461A JP2995239B2 (en) 1991-02-28 1991-02-28 Print data processing device

Publications (2)

Publication Number Publication Date
JPH04272879A true JPH04272879A (en) 1992-09-29
JP2995239B2 JP2995239B2 (en) 1999-12-27

Family

ID=12999243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3055461A Expired - Fee Related JP2995239B2 (en) 1991-02-28 1991-02-28 Print data processing device

Country Status (1)

Country Link
JP (1) JP2995239B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009255304A (en) * 2008-04-11 2009-11-05 Canon Inc Information processing apparatus, information processing method, and control program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009255304A (en) * 2008-04-11 2009-11-05 Canon Inc Information processing apparatus, information processing method, and control program

Also Published As

Publication number Publication date
JP2995239B2 (en) 1999-12-27

Similar Documents

Publication Publication Date Title
JP2796628B2 (en) Printing device
JPH08292952A (en) Document processor
JP2855207B2 (en) Form output device
EP0309196B1 (en) Page planning system
JPH04272879A (en) Printing date processor
JPH0438005B2 (en)
JP3246142B2 (en) Printing control device
JPH03282727A (en) Universal print control system in distributed processing
JPH0255164A (en) printing device
JPS63217463A (en) Document preparing device
JPH0465272A (en) Printer
JP2902736B2 (en) Multimedia data projector device
JPS62250768A (en) Printing device
JP3451289B2 (en) Table output device
JPS6318770B2 (en)
JPS58128879A (en) Form overlay controlling system for page printer
JPH0326561A (en) printing device
JPH07106649B2 (en) output method
JPH0683821A (en) Document data processor
JPH0524839B2 (en)
JPH0334153U (en)
JPS63203342A (en) Japanese line printer
JPH02289088A (en) Document processor
JPH0786817B2 (en) Address paper printing device
JPH01224865A (en) Data output device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071029

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20081029

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081029

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091029

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091029

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20101029

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees