JPH08224929A - Printer - Google Patents

Printer

Info

Publication number
JPH08224929A
JPH08224929A JP7054981A JP5498195A JPH08224929A JP H08224929 A JPH08224929 A JP H08224929A JP 7054981 A JP7054981 A JP 7054981A JP 5498195 A JP5498195 A JP 5498195A JP H08224929 A JPH08224929 A JP H08224929A
Authority
JP
Japan
Prior art keywords
form data
data
management information
storage means
registered
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
JP7054981A
Other languages
Japanese (ja)
Inventor
Masaki Fujiwara
正木 藤原
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.)
Shinko Seisakusho KK
Original Assignee
Shinko Seisakusho KK
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 Shinko Seisakusho KK filed Critical Shinko Seisakusho KK
Priority to JP7054981A priority Critical patent/JPH08224929A/en
Publication of JPH08224929A publication Critical patent/JPH08224929A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE: To efficiently operate a printer performing form overlay printing. CONSTITUTION: A control data forming means 20A generates the control data (register data quantity and a data compression system) related to the form data referred to for form overlay printing and registered in a form data memory means 20B to store the same in a control data memory means 20C. This control data is displayed on a control data display means 20D. By confirming the displayed control data, an application program performing efficient operation can be developed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、上位装置から送信され
る複数のフォームデータを登録しておき、上位装置から
送信される印刷データと合成することによりフォームオ
ーバーレイ印刷を実行するプリンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer for executing form overlay printing by registering a plurality of form data transmitted from a host device and combining the form data with print data transmitted from the host device.

【0002】[0002]

【従来の技術】図13に示すような構成において、上位
装置10から送信された印刷データに基づいてプリンタ
20が納品書及び請求書を印刷する場合について説明す
る。図14(a),(b)は、それぞれ一般的な納品書
P1及び請求書P2の印刷内容の一例を示す説明図であ
る。納品書A及び請求書Bの印刷内容は、同一部分、す
なわち「書」、「様」、「□□株式会社」、罫線、及び
枠線と、印刷する度に異なる部分、「納品」、「請
求」、相手先である「○○」、及び金額等とから構成さ
れている。
2. Description of the Related Art A case will be described in which the printer 20 prints a delivery note and an invoice based on print data transmitted from the higher-level device 10 in the configuration shown in FIG. FIGS. 14A and 14B are explanatory diagrams showing an example of the print contents of the general delivery note P1 and the invoice P2, respectively. The print contents of the delivery note A and the invoice B are the same portion, that is, “writing”, “sama”, “□□ Co., Ltd.”, ruled line, and frame line. It is composed of "invoice", the other party "XX", and the amount of money.

【0003】したがって、図15に示すように、前者の
同一部分のデータ(以下、フォームデータという)Df
に関しては、これを図1に示す上位装置10からプリン
タ20のフォームデータ記憶手段21に予め登録してお
き、後者の印刷する度に異なる部分の印刷データDp
1,Dp2のみを、上位装置10からプリンタ20に送
信し、予め登録されているフォームデータDfと、送信
されてきた印刷データDp1,Dp2とを合成して印刷
すれば、矢印で示すように、納品書P1と請求書P2と
をそれぞれ得ることができる。このような方法による印
刷をフォームオーバーレイ印刷と称している。フォーム
オーバーレイ印刷を行うことによって、上位装置10及
びプリンタ20間の通信時間が上記印刷データDp1,
Dp2の分だけで済むため、通信時間を短縮でき好まし
い。
Therefore, as shown in FIG. 15, the former data of the same portion (hereinafter referred to as form data) Df
Regarding the above, this is registered in advance in the form data storage means 21 of the printer 20 from the upper level device 10 shown in FIG. 1, and the print data Dp of a different portion is printed each time the latter is printed.
If only 1 and Dp2 are transmitted from the upper level device 10 to the printer 20, and the form data Df registered in advance and the transmitted print data Dp1 and Dp2 are combined and printed, as indicated by arrows, The delivery note P1 and the invoice P2 can be obtained respectively. Printing by such a method is called form overlay printing. By performing the form overlay printing, the communication time between the upper level device 10 and the printer 20 is the print data Dp1,
Since only Dp2 is required, the communication time can be shortened, which is preferable.

【0004】ところで、従来、図13に示すプリンタ2
0のフォームデータ記憶手段28におけるフォームデー
タの登録は、図16に示すように、同一のメモリ量から
なるフォームデータ登録領域a1,a2,a3,…を設
定しておき、各フォームデータをそれぞれ登録するよう
になっている。各フォームデータ登録領域に対しては、
そのアドレスの順番に従って登録番号#1,#2,#3
…が昇順に付されている。各フォームデータ登録領域
は、固定長であるため、上記登録番号からフォームデー
タ登録領域の先頭アドレスAD1,AD2,AD3,…
を演算によって容易に求めることができる。したがっ
て、プリンタ20は、上記登録番号から求めた先頭アド
レスに従って、登録されているフォームデータを特定し
てアクセス(登録及び読み出し)を行うことができる。
By the way, conventionally, the printer 2 shown in FIG.
For registration of form data in the form data storage means 28 of 0, as shown in FIG. 16, form data registration areas a1, a2, a3, ... With the same memory amount are set, and each form data is registered respectively. It is supposed to do. For each form data registration area,
Registration numbers # 1, # 2, # 3 according to the order of the addresses
... are added in ascending order. Since each form data registration area has a fixed length, starting addresses AD1, AD2, AD3, ...
Can be easily calculated. Therefore, the printer 20 can specify (register and read) the registered form data according to the start address obtained from the registration number.

【0005】フォームデータは、それがフォームデータ
記憶手段28上において占有するメモリ量を節約するた
めに、データ圧縮して登録される。データ圧縮後のデー
タ量は、そのフォームデータの画像的な特徴と圧縮方式
との組み合わせによって変化するので、各フォームデー
タ登録領域のメモリ量は、余裕を持たせて大きめに設定
されている。
The form data is data-compressed and registered in order to save the amount of memory it occupies on the form data storage means 28. Since the amount of data after data compression changes depending on the combination of the image feature of the form data and the compression method, the amount of memory in each form data registration area is set to be large with a margin.

【0006】図16には、フォームデータの登録済み部
Arをハッチングで示し、未登録部Anを空白で示して
いる。罫線などの単純な画像からなるフォームデータ
は、その圧縮後のデータ量が比較的小さいので、そのよ
うなデータを登録すると、各フォームデータ登録領域a
1,a2,a3,…には、未登録部Anが生じる。これ
らの未登録部が発生すると、フォームデータ記憶手段2
8が実際に有しているメモリ量に比較して少ないデータ
量のフォームデータしか格納できない。これに対して、
絵柄などの複雑な画像からなるフォームデータは、その
圧縮後のデータ量が大きい。もし、このようなデータが
各フォームデータ登録領域のメモリ量を越えると、その
フォームデータを登録することができなくなる。すなわ
ち、各フォームデータ登録領域が固定長で設けられてい
るため、フォームデータをフォームデータ記憶手段28
に登録する際に、その記憶容量を有効に活用することが
できない。
In FIG. 16, the registered part Ar of the form data is hatched, and the unregistered part An is blank. Form data consisting of simple images such as ruled lines has a comparatively small amount of data after compression. Therefore, if such data is registered, each form data registration area a
An unregistered portion An is generated in 1, a2, a3, .... When these unregistered parts occur, the form data storage means 2
It is possible to store only form data having a smaller data amount than the memory amount that 8 actually has. On the contrary,
Form data composed of a complicated image such as a picture has a large amount of data after compression. If such data exceeds the memory capacity of each form data registration area, the form data cannot be registered. That is, since each form data registration area has a fixed length, the form data storage unit 28 stores the form data.
When registering in, the storage capacity cannot be effectively utilized.

【0007】上述した上位装置及びプリンタを含んで構
成されるシステムにおいては、単一のジョブのみが処理
されることは少なく、複数のジョブが処理されるのが普
通である。各ジョブにおいては、それぞれ異なるフォー
ムデータが必要となることが多い。このようなフォーム
データは、データ圧縮されて登録されるが、そのデータ
量が膨大であるため、全てのフォームデータをフォーム
データ記憶手段に登録することは不可能である。すなわ
ち、フォームデータ記憶手段に登録し得るフォームデー
タの数が限定されるので、ジョブが変わる毎に、そのジ
ョブで行うフォームオーバーレイ印刷に必要なフォーム
データを登録している。このため、フォームデータ記憶
手段上におけるフォームデータの格納場所は、当該ジョ
ブの制御下においては明らかであるが、その格納場所
は、異なるジョブ間では知ることができない。したがっ
て、あるジョブの処理が終了した後、それと同一のフォ
ームデータを別のジョブが使用するとしても、そのフォ
ームデータの格納場所を認識することができないので、
別のジョブを実行する都度、同一のフォームデータであ
ってもプリンタ20のフォームデータ記憶手段28に登
録せざるを得なかった。
In a system including the above-described higher-level device and printer, a single job is rarely processed, and a plurality of jobs are usually processed. Each job often requires different form data. Although such form data is compressed and registered, it is impossible to register all the form data in the form data storage means because the amount of data is huge. That is, since the number of form data that can be registered in the form data storage means is limited, the form data necessary for the form overlay printing performed by the job is registered every time the job changes. Therefore, the storage location of the form data on the form data storage means is clear under the control of the job, but the storage location cannot be known between different jobs. Therefore, even if another job uses the same form data after the processing of a job is completed, the storage location of the form data cannot be recognized.
Each time another job was executed, even the same form data had to be registered in the form data storage means 28 of the printer 20.

【0008】上述したように、フォームデータ記憶手段
28の有するメモリ量、及びそれに登録されるフォーム
データを有効に活用することができないため、上位装置
10及びプリンタ20を含むシステムを効率的に運用す
ることは容易ではない。
As described above, since the amount of memory of the form data storage means 28 and the form data registered therein cannot be effectively utilized, the system including the host device 10 and the printer 20 can be efficiently operated. It's not easy.

【0009】[0009]

【発明が解決しようとする課題】近年、業務の種類が増
えるにつれて、印刷出力として多種類の帳票類を得るこ
とが必要となってきているため、他種類のフォームを用
いるフォームオーバーレイ印刷を効率的に行うことが要
求されている。したがって、フォームデータ記憶手段の
未登録部の発生、及びフォームデータの登録作業の重複
等の無駄を排除して、フォームデータの登録を含めたフ
ォームオーバーレイ印刷を効率的に行うことが求められ
ている。本発明は、このような事情に基づいてなされた
もので、その目的は、第1に多くのフォームデータを登
録することができ、第2に複数のジョブによってフォー
ムオーバーレイ印刷を行う際、同一のフォームデータを
重複して登録する必要がなく、第3にフォームオーバー
レイ印刷を効率的に行うことができるプリンタを提供す
ることを目的とする。
In recent years, it has become necessary to obtain various types of forms as printed output as the number of types of business increases, so that form overlay printing using other types of forms can be efficiently performed. Is required to do. Therefore, it is required to efficiently perform the form overlay printing including the registration of the form data by eliminating the waste such as the occurrence of the unregistered portion of the form data storage means and the duplication of the registration work of the form data. . The present invention has been made based on such a situation. The purpose thereof is firstly to be able to register a large amount of form data, and secondly, to perform the same form overlay printing by a plurality of jobs. Thirdly, it is an object of the present invention to provide a printer capable of efficiently performing form overlay printing without having to register form data redundantly.

【0010】[0010]

【課題を解決するための手段】本発明は、予め上位装置
から送信される複数のフォームデータを圧縮してフォー
ムデータ記憶手段に登録しておき、ジョブの実行時に
は、前記フォームデータ記憶手段から読み出したフォー
ムデータを伸長するとともに、そのフォームデータを前
記上位装置から送信される印刷データと合成してフォー
ムオーバーレイ印刷を行うプリンタにおいて、前記フォ
ームデータ記憶手段に対するフォームデータの登録及び
読み出しを行う際に必要な管理情報を生成する管理情報
生成手段と、前記管理情報を保持する管理情報記憶手段
と、前記管理情報記憶手段に保持されている前記管理情
報を表示する管理情報表示手段とを有し、前記管理情報
は、前記フォームデータ記憶手段上におけるフォームデ
ータの格納位置を特定するための情報と、前記フォーム
データ記憶手段に登録されている全てのフォームデータ
の登録データ量及び前記フォームデータ記憶手段の空き
領域である未登録データ量の少なくとも一方と、前記フ
ォームデータ記憶手段に登録されている各フォームデー
タのデータ圧縮方式との少なくとも1つの情報を含むこ
とを特徴としている。
According to the present invention, a plurality of form data transmitted from a host device is compressed and registered in a form data storage means in advance, and is read out from the form data storage means when a job is executed. Needed when registering and reading out form data from the form data storage means in a printer that expands the form data and combines the form data with print data sent from the host device to perform form overlay printing. Management information generation means for generating various management information, management information storage means for holding the management information, and management information display means for displaying the management information held in the management information storage means, The management information specifies the storage location of the form data on the form data storage means. Information, and at least one of the registered data amount of all the form data registered in the form data storage means and the unregistered data amount which is a free area of the form data storage means, and the form data storage means. It is characterized in that it contains at least one information regarding the data compression method of each registered form data.

【0011】本発明のプリンタは、管理情報記憶手段
が、個別管理テーブルと、全体管理テーブルとを具備し
ており、前記個別管理テーブルは、各フォームデータに
対応する個別管理情報を記憶する同一記憶量のブロック
を具備するとともに、前記各ブロックには、予め互いに
異なるブロック番号が割り当てられており、前記各ブロ
ックは、前記ブロック番号と対応する登録番号を保持し
ている登録番号領域と、当該ブロックに対応するフォー
ムデータのフォームデータ記憶手段上の格納アドレスを
保持しているフォームデータアドレス領域と、当該ブロ
ックに対応するフォームデータがフォームデータ記憶手
段上に占有する記憶量を保持している個別圧縮データ量
領域と、当該ブロックに対応するフォームデータに付さ
れた名称を保持しているフォームデータ名領域と、当該
ブロックに対応するフォームデータの圧縮方式の名称を
保持している圧縮方式名領域と、当該ブロックに対応す
るフォームデータの圧縮前の大きさを示す情報を保持し
ている圧縮前サイズ領域との少なくとも1つを含み、前
記全体管理テーブルは、フォームオーバーレイ印刷に供
されるフォームデータの前記個別管理情報を保持してい
るブロックのブロック番号を保持している参照ブロック
番号領域と、上位装置が登録しようとするフォームデー
タの前記個別管理情報を登録するブロックのブロック番
号を保持している登録ブロック番号領域と、前記フォー
ムデータ記憶手段に登録されているフォームデータの個
数を保持している登録フォームデータ数領域と、前記フ
ォームデータ記憶手段に登録されている全てのフォーム
データの登録データ量を保持している全圧縮データ量領
域と、前記フォームデータ記憶手段の空き領域である未
登録データ量を保持している未登録データ量領域との少
なくとも1つを含むことを特徴としている。
In the printer of the present invention, the management information storage means comprises an individual management table and a general management table, and the individual management table stores the same individual management information corresponding to each form data. A block number of blocks, each block is assigned a different block number in advance, and each block has a registration number area holding a registration number corresponding to the block number, and the block. Form data address area holding the storage address of the form data corresponding to the form data storage means, and individual compression holding the storage amount of the form data corresponding to the block occupied on the form data storage means Holds the data amount area and the name given to the form data corresponding to the block Form data name area, a compression method name area holding the name of the compression method of the form data corresponding to the block, and information indicating the size before compression of the form data corresponding to the block. And a reference block number that holds the block number of the block that holds the individual management information of the form data to be used for form overlay printing in the overall management table. An area, a registration block number area that holds a block number of a block in which the individual management information of the form data to be registered by the higher-level device is held, and the number of form data registered in the form data storage means. The area of the number of registered form data held and the number of registered form data in the form data storage means. At least one of a total compressed data amount area holding the registered data amount of all form data and an unregistered data amount area holding the unregistered data amount which is an empty area of the form data storage means It is characterized by including.

【0012】[0012]

【作用】図10に示すように、プリンタ20の管理情報
生成手段20Aは、フォームデータ記憶手段20Bに対
するフォームデータの登録及び読み出しを行う際に必要
な管理情報を生成する。管理情報記憶手段20Cは、そ
の管理情報を保持する。管理情報表示手段20Dは、管
理情報記憶手段20Cに保持されている管理情報を表示
する。管理情報は、フォームデータ記憶手段20B上に
おけるフォームデータの格納位置を特定する情報と、フ
ォームデータ記憶手段20Bに登録されている全てのフ
ォームデータの登録データ量及びフォームデータ記憶手
段20Bの空き領域である未登録データ量の少なくとも
一方と、フォームデータ記憶手段20Bに登録されてい
る各フォームデータのデータ圧縮方式との少なくとも1
つの情報を含んでいる。したがって、管理情報記憶手段
20Cに保持されている、フォームデータ記憶手段20
B上におけるフォームデータの格納位置を特定するため
の情報に基づいてフォームデータをフォームデータ記憶
手段20B上に登録することによって、フォームデータ
記憶手段20Bに無駄な空き領域を生じさせることな
く、フォームデータを登録することができる。管理情報
記憶手段20Cに保持されている、フォームデータ記憶
手段20B上におけるフォームデータの格納位置を特定
するための情報を各ジョブに認識させることにより、各
ジョブは、フォームデータ記憶手段20B上に登録され
ているフォームデータを用いてフォームオーバーレイ印
刷を実行することができる。管理情報表示手段20Dが
表示する管理情報を確認しながら、上位装置10及びプ
リンタ20を含むシステムが効率的に運用されるアプリ
ケーションプログラムを開発することができる。
As shown in FIG. 10, the management information generating means 20A of the printer 20 generates the management information necessary for registering and reading the form data in the form data storage means 20B. The management information storage unit 20C holds the management information. The management information display means 20D displays the management information stored in the management information storage means 20C. The management information is information that specifies the storage location of the form data on the form data storage unit 20B, the registration data amount of all the form data registered in the form data storage unit 20B, and the empty area of the form data storage unit 20B. At least one of at least one of a certain amount of unregistered data and the data compression method of each form data registered in the form data storage unit 20B.
Contains one piece of information. Therefore, the form data storage means 20 held in the management information storage means 20C
By registering the form data in the form data storage means 20B based on the information for specifying the storage position of the form data on B, the form data storage means 20B can be formed without any unnecessary empty area. Can be registered. Each job is registered in the form data storage unit 20B by making each job recognize the information for identifying the storage position of the form data in the form data storage unit 20B, which is held in the management information storage unit 20C. Form overlay printing can be executed using the form data that has been created. While confirming the management information displayed by the management information display unit 20D, it is possible to develop an application program in which the system including the upper level device 10 and the printer 20 is efficiently operated.

【0013】図4に示すように、管理情報記憶手段20
Cが具備する個別管理テーブルTAが、各フォームデー
タに対応する個別管理情報を記憶する同一記憶量のブロ
ックU1〜Unを具備するとともに、前記各ブロックに
は、予め互いに異なるブロック番号N1〜Nnが割り当
てられ、各ブロックが、登録番号領域A1と、フォーム
データアドレス領域A2と、個別圧縮データ量領域A3
と、フォームデータ名領域A4と、圧縮方式名領域A5
と、圧縮前サイズ領域A6との少なくとも1つを含んで
いる場合には、各フォームデータに対応する管理情報を
得ることができる。一方、図5に示すように、全体管理
テーブルTBが、参照ブロック番号領域B1と、登録ブ
ロック番号領域B2と、登録フォームデータ数領域B3
と、全圧縮データ量領域B4と、未登録データ量領域B
5との少なくとも1つを含んでいる場合には、フォーム
データ記憶手段の登録状態を知ることができる。このよ
うな管理情報が管理情報表示手段20Dによって表示さ
れることにより、システム設計者は、上位装置10及び
プリンタ20を含むシステムが効率的に運用されるよう
にアプリケーションプログラムを開発することが可能と
なる。
As shown in FIG. 4, management information storage means 20
The individual management table TA included in C includes blocks U1 to Un of the same storage amount that store the individual management information corresponding to each form data, and the block numbers N1 to Nn different from each other are stored in advance in each block. Each block allocated has a registration number area A1, a form data address area A2, and an individual compressed data amount area A3.
, Form data name area A4, and compression method name area A5
And at least one of the pre-compression size area A6, the management information corresponding to each form data can be obtained. On the other hand, as shown in FIG. 5, the overall management table TB has a reference block number area B1, a registration block number area B2, and a registration form data number area B3.
, The total compressed data amount area B4, and the unregistered data amount area B
If at least one of 5 and 5 is included, the registration state of the form data storage means can be known. By displaying such management information on the management information display unit 20D, the system designer can develop an application program so that the system including the host device 10 and the printer 20 can be efficiently operated. Become.

【0014】[0014]

【実施例】次に、本発明について図面を参照して説明す
る。図1は、本発明の一実施例の構成を示すブロック図
である。図1において、ホストコンピュータ等の上位装
置10からプリンタ20に対して印刷データ及びフォー
ムデータ等がデータ線DLを介して送出される。プリン
タ20は、以下に示す各部の制御を司る中央処理装置
(以下、CPUという)21と、上位装置10とのデー
タ通信を制御するI/F手段22と、後述するフォーム
データ記憶手段28に関わる管理情報を表示する表示器
DS及び所望の表示動作を行わせるための操作スイッチ
SW1〜SWnを具備する操作部23と、帳票用紙等の
媒体に印刷を行う印刷機構24と、CPU21の動作プ
ログラムを格納するプログラムメモリ25と、通信バッ
ファや所定のデータ操作を行うためのメモリ領域を有す
るワークメモリ26と、イメージデータを展開するため
のフレームメモリ27と、所定のフォームデータが複数
登録されているフォームデータ記憶手段28と、フォー
ムデータに関わる管理情報を保持する管理情報記憶手段
29と、フォームデータを所定の圧縮方式に基づいて圧
縮伸長するデータ圧縮伸長手段30とを具備している。
CPU21と上述した各部22〜30は、バスBによっ
て接続されている。
Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In FIG. 1, print data, form data, and the like are sent from a host computer 10 or other higher-level device 10 to a printer 20 via a data line DL. The printer 20 is related to a central processing unit (hereinafter, referred to as CPU) 21 that controls each unit described below, an I / F unit 22 that controls data communication with the higher-level device 10, and a form data storage unit 28 described later. An operation unit 23 including a display device DS for displaying management information and operation switches SW1 to SWn for performing a desired display operation, a printing mechanism 24 for printing on a medium such as a form sheet, and an operation program for the CPU 21. A program memory 25 for storing, a work memory 26 having a communication buffer and a memory area for performing predetermined data operations, a frame memory 27 for expanding image data, and a form in which a plurality of predetermined form data are registered. A data storage means 28, a management information storage means 29 for holding management information relating to form data, The Mudeta and a data decompression unit 30 for compressing and expanding based on a predetermined compression method.
The CPU 21 and the above-mentioned respective units 22 to 30 are connected by a bus B.

【0015】フォームデータ記憶手段28は、上位装置
10から送出される、罫線や網かけの印刷を行うために
必要なイメージデータであるフォームデータDf1〜D
fnが登録されるるとともに、フォームオーバーレイ印
刷の際には指定されたフォームデータが読み出される。
なお、フォームデータをフォームデータ記憶手段28か
ら読み出すことを、フォームデータを参照するというこ
とがある。
The form data storage means 28 is the form data Df1 to Df which are image data sent from the upper level device 10 and necessary for printing ruled lines and halftone dots.
The fn is registered, and the designated form data is read during the form overlay printing.
Note that reading the form data from the form data storage unit 28 may be referred to as the form data.

【0016】管理情報記憶手段29は、フォームデータ
記憶手段28に登録されている各フォームデータの登録
番号、格納場所、データ量、名称、圧縮方式、及び圧縮
前のサイズ等を示す個別管理情報と、その個別管理情報
自体の格納場所や登録されている全フォームデータの個
数やそれが占有するデータ量等を示す全体管理情報とを
保持している。なお、上記両管理情報の構成については
後で詳述する。なお、このような管理情報は、フォーム
データのような画像データとは異なり、限られたデータ
量で済む。このため、管理情報記憶手段28は、個別の
記憶素子として設けてもよいし、ワークメモリ26を構
成するRAM等の記憶領域の一部として設けてもよい。
The management information storage means 29 stores individual management information indicating the registration number, storage location, amount of data, name, compression method, size before compression, etc. of each form data registered in the form data storage means 28. It holds the storage location of the individual management information itself, the total management information indicating the number of all the registered form data, the data amount occupied by the form data, and the like. The structure of the above management information will be described in detail later. Note that such management information requires a limited amount of data, unlike image data such as form data. Therefore, the management information storage means 28 may be provided as an individual storage element, or may be provided as a part of a storage area such as a RAM configuring the work memory 26.

【0017】データ圧縮伸長手段30は、ファクシミリ
等において画像データを通信する際に使用される専用の
データ圧縮伸長回路を具備するLSI等から構成されて
いる。このデータ圧縮伸長手段30は、上位装置10か
らデータ線DL、I/F手段22、及びバスBを介して
入力されるフォームデータ(画像データ)を所定のデー
タ圧縮方式で圧縮してバスBを介してフォームデータ記
憶手段28に記憶(登録)するとともに、フォームデー
タ記憶手段28から読み出される圧縮済みのデータを伸
長して復元して、フレームメモリ27上に展開する。な
お、データ圧縮方式は、上位装置10からプリンタ20
に対してフォームデータの登録がなされる際に、予め上
位装置10からプリンタ20の管理情報記憶手段30に
書き込まれる。データ圧縮伸長手段30は、上記管理情
報記憶手段30に保持されている、当該フォームデータ
に対応して指定されたデータ圧縮方式に従って、フォー
ムデータの圧縮及び伸長を行う。また、CPU21は、
データ圧縮伸長手段30によってデータ圧縮された後の
フォームデータのデータ量を求めるとともに、その圧縮
後のデータ量を管理情報記憶手段29に記憶させてい
る。
The data compression / expansion means 30 is composed of an LSI or the like having a dedicated data compression / expansion circuit used when communicating image data in a facsimile or the like. The data compression / expansion means 30 compresses the form data (image data) input from the higher-level device 10 via the data line DL, the I / F means 22 and the bus B by a predetermined data compression method to save the bus B. The data is stored (registered) in the form data storage means 28 via the data, and the compressed data read from the form data storage means 28 is decompressed and restored to be expanded on the frame memory 27. It should be noted that the data compression method is the same as that of the upper device 10
On the other hand, when the form data is registered, it is written in the management information storage means 30 of the printer 20 from the upper level device 10 in advance. The data compression / decompression unit 30 compresses and decompresses the form data according to the data compression method stored in the management information storage unit 30 and designated for the form data. Further, the CPU 21
The data amount of the form data after data compression by the data compression / expansion means 30 is obtained, and the data amount after compression is stored in the management information storage means 29.

【0018】図2〜図4は、フォームデータ記憶手段2
8の記憶内容を示す説明図である。各フォームデータ登
録領域b1,b2,b3,…には、従来と同様に登録番
号#1,#2,#3,…が付されている。しかしなが
ら、本発明においては、従来と異なり、登録されている
フォームデータのデータ量に応じて各フォームデータ登
録領域のメモリ量を変化させる可変長とするとともに、
フォームデータの登録を抹消して空白領域が生じた場合
には、その空白領域を詰めるように、他の登録済みのフ
ォームデータを再配置させるようにしている。
2 to 4 show the form data storage means 2
It is explanatory drawing which shows the memory content of 8. The registration numbers # 1, # 2, # 3, ... Are added to the respective form data registration areas b1, b2, b3 ,. However, in the present invention, unlike the prior art, in addition to the variable length that changes the memory amount of each form data registration area according to the data amount of registered form data,
When the registration of form data is deleted and a blank area is generated, other registered form data is rearranged so as to fill the blank area.

【0019】例えば、当初、図2に示すように、各フォ
ームデータDf1〜Df6が登録されていたとする。こ
こで、登録番号#3を付したフォームデータDf3の登
録を抹消(削除)する。これにより、CPU21は、図
3に示すように、登録番号#3以降の各フォームデータ
Df4〜Df6をアドレスを繰り上げて再配置する。こ
のとき、再配置された登録番号#4〜#6のフォームデ
ータDf4〜Df6の先頭アドレスAD4〜AD6は、
再配置された位置に応じて更新される。この結果、最後
のフォームデータ登録領域b6の次に空白領域が発生す
る。
For example, assume that each form data Df1 to Df6 is initially registered as shown in FIG. Here, the registration of the form data Df3 with the registration number # 3 is deleted (deleted). As a result, the CPU 21 advances the addresses and rearranges the form data Df4 to Df6 of registration number # 3 and thereafter, as shown in FIG. At this time, the start addresses AD4 to AD6 of the rearranged form data Df4 to Df6 of registration numbers # 4 to # 6 are
It is updated according to the rearranged position. As a result, a blank area occurs next to the last form data registration area b6.

【0020】次いで、登録番号#3に対応して新たな内
容のフォームデータDf3を上記空白領域に登録する
と、図4に示すように、登録番号#3に対応して新たな
先頭アドレスAD3がCPU21によって演算される。
このように、フォームデータの登録及びその抹消の作業
を行うことによって、登録番号と登録順序とが一致しな
くなる。
Next, when the form data Df3 having new contents corresponding to the registration number # 3 is registered in the blank area, as shown in FIG. 4, the new start address AD3 corresponding to the registration number # 3 is stored in the CPU 21. Is calculated by
In this way, by performing the work of registering the form data and deleting it, the registration number and the registration order do not match.

【0021】したがって、各フォームデータ登録領域の
先頭アドレスAD1,AD2,AD3,…は、従来と異
なり、各登録番号から演算して求めることはできないの
で、CPU21により管理情報記憶手段29に記憶保持
されている。
Therefore, the head addresses AD1, AD2, AD3, ... Of each form data registration area cannot be calculated and obtained from each registration number, unlike the prior art, and therefore are stored and held in the management information storage means 29 by the CPU 21. ing.

【0022】管理記憶手段29には、図5に示す個別管
理情報を保持する個別管理テーブルTAと、図6に示す
全体管理情報を保持する全体管理テーブルTBとが構成
されている。両テーブルTA,TBが保持する管理情報
は、上位装置10からの指定に基づいて、あるいは、プ
リンタ20内部の動作に基づいて、CPU21が生成し
て上記管理情報記憶手段29に格納する。
The management storage means 29 includes an individual management table TA holding the individual management information shown in FIG. 5 and an overall management table TB holding the overall management information shown in FIG. The management information held in both tables TA and TB is generated by the CPU 21 based on the designation from the higher-level device 10 or based on the operation inside the printer 20, and stored in the management information storage means 29.

【0023】初めに、図5の個別管理テーブルTAにつ
いて説明する。個別管理テーブルTAは、各フォームデ
ータDf1〜Dfnに対応する個別管理情報を記憶す
る、同一メモリ量の記憶領域からなる各ブロックU1〜
Unを具備しており、各ブロックには、それぞれブロッ
ク番号N1〜Nnが割り当てられている。したがって、
CPU21は、上位装置10によって指定されたブロッ
ク番号から各ブロックの格納場所(アドレス)を演算し
て求めることにより各ブロックに保持されている個別管
理情報を内容を読み出すことができる。また、上述のよ
うに、各フォームデータDf1〜DfnとブロックU1
〜Unとが対応しているので、各フォームデータの格納
領域b1〜bnに付される登録番号#1〜#nと各ブロ
ック番号N1〜Nnとも同様に対応関係にある。
First, the individual management table TA of FIG. 5 will be described. The individual management table TA stores the individual management information corresponding to each of the form data Df1 to Dfn, and includes blocks U1 to U1 formed of storage areas of the same memory amount.
Un, and block numbers N1 to Nn are assigned to the respective blocks. Therefore,
The CPU 21 can read the contents of the individual management information held in each block by calculating the storage location (address) of each block from the block number designated by the higher-level device 10. Further, as described above, each form data Df1 to Dfn and block U1
.. to Un, the registration numbers # 1 to #n assigned to the storage areas b1 to bn of the respective form data and the block numbers N1 to Nn also have a corresponding relationship.

【0024】各ブロックは、下記に示す各領域A1〜A
6から構成されている。A1は、予め各フォームデータ
Dfの格納領域に付される登録番号#1〜#nを保持し
ている登録番号領域である。なお、この登録番号が登録
されていないときは、フォームデータがフォームデータ
記憶手段28に登録されていないことを示す。
Each block has areas A1 to A shown below.
6. A1 is a registration number area that holds registration numbers # 1 to #n assigned to the storage area of each form data Df in advance. If the registration number is not registered, it means that the form data is not registered in the form data storage means 28.

【0025】A2は、当該ブロックに対応するフォーム
データDfのフォームデータ記憶手段28上の格納アド
レス、すなわち図2に示す先頭アドレスAD1〜ADn
を保持しているフォームデータアドレス領域である。
A2 is a storage address of the form data Df corresponding to the block in the form data storage means 28, that is, the head addresses AD1 to ADn shown in FIG.
Is a form data address area that holds

【0026】A3は、当該ブロックに対応するフォーム
データDfがフォームデータ記憶手段28上に占有する
データ量を示す個別圧縮データ量Mcを保持している個
別圧縮データ量領域である。この個別圧縮データ量の表
示単位は、例えばバイトでもよいし、任意に定めた記憶
単位でもよい。任意に定めた記憶単位とは、例えばiバ
イト(iは自然数)を1つの記憶単位とする等である。
A3 is an individual compressed data amount area holding an individual compressed data amount Mc indicating the amount of data occupied by the form data Df corresponding to the block on the form data storage means 28. The display unit of this individual compressed data amount may be, for example, a byte or an arbitrarily determined storage unit. The arbitrarily defined storage unit is, for example, i bytes (i is a natural number) as one storage unit.

【0027】A4は、当該ブロックに対応するフォーム
データに付された名称FNを保持しているフォームデー
タ名領域である。
A4 is a form data name area for holding a name FN given to the form data corresponding to the block.

【0028】A5は、当該ブロックに対応するフォーム
データの圧縮方式の名称CNを保持する圧縮方式名領域
である。この圧縮方式としては、例えば、MH(modifie
dHuffman)方式、MR(modifide READ) 方式、及びMM
H(modified modifiedHuffman) 方式等が代表的であ
る。
A5 is a compression method name area for holding the name CN of the compression method of the form data corresponding to the block. As this compression method, for example, MH (modifie
dHuffman) method, MR (modifide READ) method, and MM
The H (modified modified Huffman) method and the like are typical.

【0029】A6は、当該ブロックに対応するフォーム
データの圧縮前サイズを示す情報SZを保持している圧
縮前量領域である。圧縮前サイズとは、フォームデータ
が罫線であれば、用紙サイズと、フォームオーバーレイ
印刷すべきフォームの形式(用紙の長手方向を縦に置く
ポートレイト(縦置き)なのか、又は用紙の長手方向を
横に置くランドスケープ(横置き)なのか)とを含む情
報であり、フォームデータが絵柄(カット)等であれ
ば、その絵柄の縦横の寸法等の情報を示している。すな
わち、フレームメモリに展開される1画面(フレーム)
の寸法よりも小さな寸法の絵柄等を、フォームデータと
してフォームオーバーレイ印刷することができるように
なっている。なお、上記ポートレイト及びランドスケー
プの形式で印刷する際、文字や符号の配列方向は、縦書
きであっても横書きであってもよい。
A6 is a pre-compression amount area holding information SZ indicating the pre-compression size of the form data corresponding to the block. If the form data is a ruled line, the size before compression refers to the paper size and the form of the form to be printed on the form overlay (portrait with the longitudinal direction of the paper vertically (portrait), or the longitudinal direction of the paper). If the form data is a pattern (cut) or the like, it indicates information such as vertical and horizontal dimensions of the pattern. That is, one screen (frame) developed in the frame memory
A pattern or the like having a size smaller than the size can be printed on the form as form data. When printing in the portrait and landscape formats, the arrangement direction of characters and codes may be vertical writing or horizontal writing.

【0030】次に、図6の全体管理テーブルTBについ
て説明する。全体管理テーブルTBは、下記の各領域B
1〜B5から構成されている。B1は、その時点で実行
されているジョブによってフォームオーバーレイ印刷の
ために参照されるフォームデータの個別管理情報、すな
わち、上述した個別管理テーブルTAに記憶されている
情報を保持しているブロックのブロック番号Unを保持
している参照ブロック番号領域である。
Next, the overall management table TB of FIG. 6 will be described. The overall management table TB has the following areas B
1 to B5. B1 is a block of blocks holding individual management information of the form data referred to by the job being executed at that time for form overlay printing, that is, information stored in the individual management table TA described above. It is a reference block number area holding the number Un.

【0031】B2は、その時点で上位装置10が登録し
ようとしているフォームデータに対応する個別管理テー
ブルTAのブロックのブロック番号Unを保持している
登録ブロック番号領域である。
B2 is a registered block number area that holds the block number Un of the block of the individual management table TA corresponding to the form data that the upper level device 10 is going to register at that time.

【0032】B3は、フォームデータ記憶手段28に登
録されているフォームデータの個数FAを保持している
登録フォームデータ数領域である。
B3 is a registered form data number area holding the number FA of form data registered in the form data storage means 28.

【0033】B4は、フォームデータ記憶手段28に登
録されている全てのフォームデータDfの登録データ量
Mt、すなわち圧縮された後のデータ量を保持している
全圧縮データ量領域である。なお、先に述べた個別圧縮
データ量Mcの場合と同様に、上記全圧縮データ量Mt
の表示単位は、例えばバイトでもよいし、任意に定めた
記憶単位でもよい。
B4 is a total compressed data amount area holding the registered data amount Mt of all the form data Df registered in the form data storage means 28, that is, the data amount after being compressed. Note that, as in the case of the individual compressed data amount Mc described above, the total compressed data amount Mt is
The display unit of may be a byte, for example, or may be an arbitrarily determined storage unit.

【0034】B5は、フォームデータ記憶手段28にお
いて未だフォームデータが登録されていないメモリ残量
である未登録データ量Msを保持している未登録データ
量領域である。
B5 is an unregistered data amount area in which the unregistered data amount Ms, which is the remaining amount of memory in which the form data is not yet registered in the form data storage unit 28, is held.

【0035】上述のように構成されたプリンタによれ
ば、CPU21は、フォームオーバーレイ印刷を行う際
に必要な管理情報を管理情報記憶手段29から得るだけ
でなく、操作部23に対してなされた操作に対応して管
理情報記憶手段29から読み出した各管理情報を表示器
DSに表示させる。すなわち、システムのアプリケーシ
ョンプログラムの開発段階で必要な管理情報をプリンタ
20側において表示させることが可能となる。以下、管
理情報の表示動作及びフォームオーバーレイ印刷動作に
ついて詳細に説明する。
According to the printer configured as described above, the CPU 21 not only obtains the management information necessary for performing form overlay printing from the management information storage means 29, but also operates the operation unit 23. The management information read out from the management information storage means 29 is displayed on the display device DS. That is, it becomes possible to display the management information required at the development stage of the application program of the system on the printer 20 side. Hereinafter, the management information display operation and the form overlay printing operation will be described in detail.

【0036】まず、管理情報の表示動作について説明す
る。プリンタ20のCPU21は、その操作部23の所
定の操作スイッチSWが操作されたか否かを監視してお
り、それが操作されたことを検知すると、上記操作スイ
ッチSWの操作状態に応じて、管理情報記憶手段29に
保持されている個別管理情報及び全体管理情報の内から
必要なものを選択して表示器DSに表示させる。
First, the display operation of the management information will be described. The CPU 21 of the printer 20 monitors whether or not a predetermined operation switch SW of the operation unit 23 has been operated, and when it detects that the operation switch SW has been operated, management is performed according to the operation state of the operation switch SW. Necessary information is selected from the individual management information and the overall management information held in the information storage means 29 and displayed on the display DS.

【0037】図7(a)は、個別管理テーブルTAの中
の1つのブロックの記憶状態の一例を示す模式図であ
り、図7(b)は、それに対応する表示器DSの表示内
容を示す説明図である。図7(b)に示すように、個別
管理テーブルTAの各領域に対応する項目名と、その領
域に格納されている個別管理情報とが表示器DSに表示
される。したがって、システム設計者は、表示器DS上
に表示される個別管理テーブルTAの内容を見ることに
より、圧縮された後のデータ量、データ圧縮方式、及び
圧縮前のサイズ等を、フォームデータの登録がなされる
度に知ることができる。これにより、システム設計者
は、例えば、圧縮データ方式の種類を変えながら、フォ
ームデータの登録を実行することによって、フォームデ
ータ記憶手段28を占有する圧縮データが最小となるデ
ータ方式を容易に選択することができるので、多くのフ
ォームデータを登録させるアプリケーションプログラム
を開発することが可能となる。
FIG. 7A is a schematic view showing an example of the storage state of one block in the individual management table TA, and FIG. 7B shows the display contents of the corresponding display DS. FIG. As shown in FIG. 7B, the item name corresponding to each area of the individual management table TA and the individual management information stored in that area are displayed on the display device DS. Therefore, the system designer registers the form data such as the amount of data after compression, the data compression method, and the size before compression by looking at the contents of the individual management table TA displayed on the display device DS. You can know it every time. As a result, the system designer can easily select the data method that minimizes the compressed data that occupies the form data storage unit 28 by registering the form data while changing the type of the compressed data method. Therefore, it becomes possible to develop an application program for registering a lot of form data.

【0038】一方、図8(a)は、全体管理テーブルの
記憶状態を示す模式図であり、図8(b)は、それに対
応する表示器DSの表示状態を示す説明図である。全体
管理テーブルTBの各領域を示す項目名と、その領域に
格納されているデータとが表示器DS上に表示される。
システム設計者は、上記全体管理テーブルTBの内容を
見ることにより、その時点で、登録されているフォーム
データの数と、登録されているデータ量と、登録し得る
データ量とを比較することによって、その時点で、登録
可能なデータ量のフォームデータを容易に選択すること
ができる。また、このようにして、登録可能なデータ量
のフォームデータを識別することにより、複数のジョブ
で使用するフォームデータの全てをフォームデータ記憶
手段28に登録しきれない場合には、複数のジョブで共
通に使用されるフォームデータを優先して登録し、1つ
のジョブでのみ使用されるフォームデータは、個別に登
録するようにアプリケーションプログラムを設計するこ
とが可能となる。したがって、システム設計者は、複数
のジョブの順序や内容に対応して、フォームデータの登
録回数や登録に要する時間が最小となるように、すなわ
ち最も合理的にシステムを運用できるように、アプリケ
ーションプログラムを設計すればよい。例えば、全ジョ
ブで使用されるフォームデータは、初めのジョブで登録
し、一方、個別のジョブのみで必要なフォームデータ
は、当該ジョブの実行時点で登録するといった運用を行
うようにすればよい。
On the other hand, FIG. 8A is a schematic diagram showing the storage state of the overall management table, and FIG. 8B is an explanatory diagram showing the display state of the corresponding display DS. The item name indicating each area of the overall management table TB and the data stored in that area are displayed on the display device DS.
By looking at the contents of the overall management table TB, the system designer compares the number of registered form data, the registered data amount, and the registerable data amount at that time. At that point, it is possible to easily select form data having a data amount that can be registered. Further, by identifying the form data having the registrable data amount in this way, when all the form data used in the plurality of jobs cannot be registered in the form data storage unit 28, It is possible to design the application program so that the form data commonly used is preferentially registered and the form data used only in one job is individually registered. Therefore, the system designer needs to minimize the number of times the form data is registered and the time required for the registration, that is, to operate the system most rationally in accordance with the order and contents of a plurality of jobs. Should be designed. For example, the form data used in all jobs may be registered in the first job, while the form data required only in individual jobs may be registered at the time of executing the job.

【0039】図9(a)は、個別管理テーブルの一部分
を表す模式図であり、図9(b)は、それに対応する表
示器DSの表示状態を示す説明図である。n個のブロッ
クから構成されてる個別管理テーブルの内、ブロックU
2,U4の登録番号領域A1にのみ、登録番号#2,#
4が登録されている。これに対応して、表示器DSに
は、上記登録番号に対応する部分が登録済みであること
を示す表示、例えば、図中塗り潰しで示すような表示が
なされる。システム設計者は、図9(b)に示す表示器
DSの表示状態を見ることにより、登録済みのフォーム
データに対応する個別管理テーブルTAのブロックを識
別することができるので、未だ個別管理情報が登録され
ていない個別管理テーブルTAのブロックを選択して、
そのブロックに対応させてフォームデータを登録するこ
とができる。
FIG. 9A is a schematic diagram showing a part of the individual management table, and FIG. 9B is an explanatory diagram showing a display state of the corresponding display DS. Of the individual management table composed of n blocks, block U
2, U4 registration number area A1 only, registration numbers # 2, #
4 is registered. In response to this, a display indicating that the portion corresponding to the above registration number has been registered, for example, a display as shown in black in the figure, is displayed on the display device DS. The system designer can identify the block of the individual management table TA corresponding to the registered form data by looking at the display state of the display device DS shown in FIG. 9B, so that the individual management information is still stored. Select a block in the individual management table TA that is not registered,
Form data can be registered in correspondence with the block.

【0040】次に、フォームオーバーレイ印刷に先だっ
て、上位装置10からプリンタ20に対してフォームデ
ータを登録する際の動作を図10のフローチャートを参
照して説明する。すなわち、上位装置10は、プリンタ
20のCPU21に対して、登録しようとするフォーム
データの登録領域の登録番号を指定する命令(コマン
ド)を送信する(ステップS1)。
Next, the operation of registering form data from the upper level device 10 to the printer 20 prior to form overlay printing will be described with reference to the flowchart of FIG. That is, the higher-level device 10 transmits to the CPU 21 of the printer 20 a command (command) designating the registration number of the registration area of the form data to be registered (step S1).

【0041】CPU21は、上記ステップS1によって
指定された登録番号に相当する、個別管理テーブルTA
のブロックのブロック番号を全体管理情報テーブルTB
の登録ブロック番号領域B1に書き込む(ステップS
2)。
The CPU 21 controls the individual management table TA corresponding to the registration number designated in step S1.
The block number of the block of the total management information table TB
In the registered block number area B1 of
2).

【0042】プリンタ20のCPU21は、その時点に
おける全体管理テーブルTBの全圧縮データ量領域B4
に保持されている登録済みのデータ量からフォームデー
タ記憶手段28の未登録領域の先頭アドレスを演算して
求める(ステップS3)。
The CPU 21 of the printer 20 has the total compressed data amount area B4 of the overall management table TB at that time.
The head address of the unregistered area of the form data storage means 28 is calculated and obtained from the registered data amount held in (step S3).

【0043】次いで、その先頭アドレスを、個別管理情
報テーブルTAの、上記指定された登録番号に対応する
ブロックのフォームデータアドレス領域A2に書き込む
(ステップS4)。
Then, the leading address is written in the form data address area A2 of the block corresponding to the designated registration number in the individual management information table TA (step S4).

【0044】そして、上位装置10から送信されるフォ
ームデータをフォームデータ記憶手段28に上記先頭ア
ドレスから順番に登録させる(ステップS5)。なお、
フォームデータの登録動作では、データ圧縮伸長手段3
0によるデータ圧縮がなされるが、これについては既に
説明したので、ここでは触れない。
Then, the form data transmitted from the higher-level device 10 is registered in the form data storage means 28 in order from the above-mentioned head address (step S5). In addition,
In the form data registration operation, the data compression / decompression means 3
Although data compression by 0 is performed, this has not been described here since it has already been described.

【0045】上述したように、フォームデータ記憶手段
28における個別管理情報に基づいて未登録領域の先頭
アドレスを求めることによって、フォームデータを、未
登録領域の先頭アドレスから順次登録することができ
る。このため、従来装置と異なり、各フォームデータの
登録領域の間に空白領域が生じることがないので、記憶
し得るフォームデータのデータ量を増やすことができ
る。
As described above, by obtaining the start address of the unregistered area based on the individual management information in the form data storage means 28, the form data can be sequentially registered from the start address of the unregistered area. Therefore, unlike the conventional device, a blank area does not occur between the registration areas of each form data, and the amount of form data that can be stored can be increased.

【0046】また、従来装置と異なり、フォームデータ
登録領域のメモリ量が固定長でないため、1つのフォー
ムデータのデータ量が多くても、フォームデータ記憶手
段28に登録し得るメモリ量の範囲内である限り、登録
することができる。
Further, unlike the conventional apparatus, since the memory amount of the form data registration area is not a fixed length, even if the data amount of one form data is large, within the range of the memory amount that can be registered in the form data storage means 28. You can register as long as you have it.

【0047】次に、フォームオーバーレイ印刷動作につ
いて、図11のフローチャートを参照して説明する。上
位装置10からプリンタ20に対して、フレームオーバ
ーレイ印刷を行う旨と、その際のフォームデータの登録
領域に付された登録番号とを指定する命令が送信される
(ステップS10)。
Next, the form overlay printing operation will be described with reference to the flowchart of FIG. A command for designating the frame overlay printing and the registration number added to the registration area of the form data at that time is transmitted from the upper level device 10 to the printer 20 (step S10).

【0048】プリンタ20のCPU21は、上記ステッ
プS1で指定された登録番号に対応する、個別管理テー
ブルTAのブロックのブロック番号を全体管理情報テー
ブルTBの参照ブロック番号領域A1に書き込む(ステ
ップS11)とともに、個別管理テーブルTAにおける
上記指定された登録番号に対応するブロック番号のブロ
ックから個別管理情報を読み出す(ステップS12)。
The CPU 21 of the printer 20 writes the block number of the block of the individual management table TA corresponding to the registration number designated in step S1 into the reference block number area A1 of the overall management information table TB (step S11). The individual management information is read from the block having the block number corresponding to the designated registration number in the individual management table TA (step S12).

【0049】次いで、読み出した個別管理情報(先頭ア
ドレス、データ量、圧縮方式)に基づいてフォームデー
タ記憶手段28からフォームデータを読み出すととも
に、データ圧縮伸長手段30によって伸長してフォーム
データを復元し、これをフレームメモリ27上に書き込
んでフォームオーバーレイ印刷を行うためのイメージデ
ータとして展開する(ステップS13)。
Next, the form data is read from the form data storage means 28 based on the read individual management information (head address, data amount, compression method), and expanded by the data compression / expansion means 30 to restore the form data, This is written in the frame memory 27 and developed as image data for performing form overlay printing (step S13).

【0050】そして、上位装置10から送出された通常
の印刷データも上記フォームデータと同様にフレームメ
モリ27上に展開され、フォームオーバーレイ印刷がな
される(ステップS14)。なお、フォームオーバーレ
イ印刷については、先に説明した従来装置と同様である
ため、その説明を省略する。
The normal print data sent from the upper level device 10 is also expanded on the frame memory 27 in the same manner as the form data, and form overlay printing is performed (step S14). Since the form overlay printing is the same as that of the conventional device described above, the description thereof will be omitted.

【0051】このように、上位装置10がプリンタ20
に対して、フォームデータの登録領域に付されている登
録番号を指定することにより、プリンタ20のCPU2
1は、指定された登録番号に対応する個別管理情報を読
み出し、その個別管理情報に基づいてフォームデータを
読み出してフォームオーバーレイ印刷を行うことができ
る。したがって、上記登録番号を用いて所望のフォーム
データ指定することにより、複数のジョブで同一のフォ
ームデータを共通に使用することができ、従来装置と異
なり、同一のフォームデータを重複して登録する必要が
ない。
As described above, the host device 10 is the printer 20.
To the CPU 2 of the printer 20 by specifying the registration number attached to the registration area of the form data.
1 can read the individual management information corresponding to the designated registration number, read the form data based on the individual management information, and perform form overlay printing. Therefore, by specifying the desired form data using the above registration number, the same form data can be commonly used in multiple jobs, and unlike the conventional device, it is necessary to register the same form data in duplicate. There is no.

【0052】ここで、実施例の記載と請求項の記載との
対応について説明しておくと、個別管理テーブルTA及
び全体管理テーブルTB(図5及び図6)に保持される
管理情報を生成するCPU21(図1)が、フォームデ
ータ記憶手段に対するフォームデータの登録及び読み出
しを行う際に必要な管理情報を生成する管理情報生成手
段20A(図12)を構成している。
Here, the correspondence between the description of the embodiment and the description of the claims will be described. The management information held in the individual management table TA and the overall management table TB (FIGS. 5 and 6) is generated. The CPU 21 (FIG. 1) constitutes a management information generation unit 20A (FIG. 12) that generates management information required when performing registration and reading of form data with respect to the form data storage unit.

【0053】図1の管理情報記憶手段29が管理情報を
保持する管理情報記憶手段20C(図12)を構成して
おり、操作部23の表示器DSが管理情報記憶手段20
Cに保持されている管理情報を表示する管理情報表示手
段20D(図12)を構成している。
The management information storage means 29 of FIG. 1 constitutes the management information storage means 20C (FIG. 12) for holding the management information, and the display DS of the operation unit 23 is the management information storage means 20.
The management information display means 20D (FIG. 12) for displaying the management information held in C is configured.

【0054】また、図5に示す個別管理テーブルTAの
登録番号と、図6に示す全体管理テーブルTBの参照ブ
ロック番号及び登録ブロック番号とが、フォームデータ
記憶手段上におけるフォームデータの格納位置を特定す
るために必要な情報を構成している。
Further, the registration number of the individual management table TA shown in FIG. 5 and the reference block number and registration block number of the overall management table TB shown in FIG. 6 specify the storage position of the form data on the form data storage means. Configures the information needed to do so.

【0055】図6に示す全体管理テーブルTBの全圧縮
データ量Mtが、フォームデータ記憶手段に登録されて
いる全てのフォームデータの登録データ量に相当し、未
登録データ量Msが、フォームデータ記憶手段の空き領
域である未登録データ量に相当している。
The total compressed data amount Mt of the overall management table TB shown in FIG. 6 corresponds to the registered data amount of all form data registered in the form data storage means, and the unregistered data amount Ms corresponds to the form data storage. This corresponds to the amount of unregistered data, which is the empty area of the means.

【0056】なお、上述の実施例で示した、個別管理テ
ーブルTA及び全体管理テーブルTBに保持されている
管理情報は、必ずしもそれらの全てが必要というわけで
はない。フォームデータの登録、フォームオーバーレイ
印刷、及びアプリケーションプログラムの開発等におい
て、必要な管理情報のみを選択して、上記両テーブルに
設けるように構成すればよいことはいうまでもない。
Note that not all of the management information held in the individual management table TA and the overall management table TB shown in the above-mentioned embodiment is necessary. It goes without saying that only necessary management information may be selected and provided in both of the above tables in registration of form data, form overlay printing, development of application programs, and the like.

【0057】また、管理情報を表示する際の形式は、図
7〜図9に示したものに限定されるものではない。表示
器DSの表示面積が少なければ、操作スイッチの操作に
応じて複数の表示画面を切り替えて管理情報を表示する
ように構成してもよい。
The format for displaying the management information is not limited to that shown in FIGS. If the display area of the display device DS is small, a plurality of display screens may be switched according to the operation of the operation switch to display the management information.

【0058】なお、表示器DSに所望の表示画面を得る
ための操作スイッチは、プリンタに既存の操作スイッチ
(例えば、スイッチ用紙セットキーや改頁キー等)と兼
用することもできる。すなわち、これら既存の操作スイ
ッチに上記表示画面を操作するための機能を割り当てて
もよい。
The operation switch for obtaining a desired display screen on the display device DS can also be used as an existing operation switch for the printer (for example, switch paper set key or page break key). That is, a function for operating the display screen may be assigned to these existing operation switches.

【0059】[0059]

【発明の効果】以上詳述したように、本発明のプリンタ
によれば、管理情報生成手段は、フォームデータ記憶手
段に対するフォームデータの登録及び読み出しを行う際
に必要な管理情報を生成する。管理情報表示手段は、管
理情報記憶手段に保持されている管理情報を表示する。
管理情報は、フォームデータ記憶手段上におけるフォー
ムデータの格納位置を特定する情報と、フォームデータ
記憶手段に登録されている全てのフォームデータの登録
データ量及びフォームデータ記憶手段の空き領域である
未登録データ量の少なくとも一方と、フォームデータ記
憶手段に登録されている各フォームデータのデータ圧縮
方式との少なくとも1つの情報を含んでいる。
As described above in detail, according to the printer of the present invention, the management information generating means generates the management information necessary for registering and reading the form data in the form data storage means. The management information display means displays the management information stored in the management information storage means.
The management information includes information for specifying the storage location of the form data on the form data storage means, the registered data amount of all the form data registered in the form data storage means, and an unregistered area which is an empty area of the form data storage means. It includes at least one information of at least one of the amount of data and the data compression method of each form data registered in the form data storage means.

【0060】したがって、第1に、管理情報記憶手段に
保持されている、フォームデータ記憶手段上におけるフ
ォームデータの格納位置を特定するための情報に基づい
てフォームデータをフォームデータ記憶手段上に登録す
ることによって、フォームデータ記憶手段に無駄な空き
領域を生じさせることなく、フォームデータを登録する
ことができる。この結果、多くのフォームデータを登録
することができる。
Therefore, first, the form data is registered in the form data storage means on the basis of the information held in the management information storage means for specifying the storage position of the form data in the form data storage means. As a result, the form data can be registered without creating a useless empty area in the form data storage means. As a result, a lot of form data can be registered.

【0061】第2に、管理情報記憶手段に保持されてい
る、フォームデータ記憶手段上におけるフォームデータ
の格納位置を特定するための情報を各ジョブに認識させ
ることにより、各ジョブは、フォームデータ記憶手段上
に登録されているフォームデータを用いてフォームオー
バーレイ印刷を実行することができる。すなわち、従来
装置と異なり、複数のジョブによってフォームオーバー
レイ印刷を行う際、同一のフォームデータを重複して登
録する必要がない。
Secondly, by causing each job to recognize the information for specifying the storage position of the form data on the form data storage means, which is held in the management information storage means, each job can store the form data storage means. Form overlay printing can be executed using the form data registered on the means. That is, unlike the conventional apparatus, when performing form overlay printing by a plurality of jobs, it is not necessary to register the same form data in duplicate.

【0062】第3に、管理情報表示手段が表示する管理
情報を確認することができるので、上位装置及びプリン
タを含むシステムが効率的に運用されるアプリケーショ
ンプログラムを開発することができる。
Thirdly, since the management information displayed by the management information display means can be confirmed, it is possible to develop an application program in which the system including the host device and the printer is efficiently operated.

【0063】また、管理情報記憶手段が具備する個別管
理テーブルが、各フォームデータに対応する個別管理情
報を記憶する同一記憶量のブロックを具備するととも
に、各ブロックには、予め互いに異なるブロック番号が
割り当てられ、各ブロックが、登録番号領域と、フォー
ムデータアドレス領域と、個別圧縮データ量領域と、フ
ォームデータ名領域と、圧縮方式名領域と、圧縮前サイ
ズ領域との少なくとも1つを含んでいる場合には、各フ
ォームデータに対応する管理情報を得ることができる。
全体管理テーブルTBが、参照ブロック番号領域と、登
録ブロック番号領域と、登録フォームデータ数領域と、
全圧縮データ量領域と、未登録データ量領域との少なく
とも1つを含んでいる場合には、フォームデータ記憶手
段の登録状態を知ることができる。したがって、このよ
うな管理情報が管理情報表示手段によって表示されるこ
とにより、上位装置及びプリンタを含むシステムが効率
的に運用されるようにアプリケーションプログラムを開
発することが可能となる。
Further, the individual management table provided in the management information storage means has blocks of the same storage amount for storing individual management information corresponding to each form data, and each block has a different block number in advance. Each allocated block includes at least one of a registration number area, a form data address area, an individual compressed data amount area, a form data name area, a compression method name area, and a pre-compression size area. In this case, management information corresponding to each form data can be obtained.
The overall management table TB includes a reference block number area, a registration block number area, a registration form data number area,
When at least one of the total compressed data amount area and the unregistered data amount area is included, the registration state of the form data storage means can be known. Therefore, by displaying such management information by the management information display means, it is possible to develop an application program so that a system including a host device and a printer can be efficiently operated.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明のプリンタの一実施例を示すブロック図
である。
FIG. 1 is a block diagram showing an embodiment of a printer of the present invention.

【図2】同実施例におけるフォームデータ記憶手段の内
容を示す説明図である。
FIG. 2 is an explanatory diagram showing contents of a form data storage means in the embodiment.

【図3】同実施例におけるフォームデータ記憶手段の内
容を示す説明図である。
FIG. 3 is an explanatory diagram showing contents of form data storage means in the embodiment.

【図4】同実施例におけるフォームデータ記憶手段の内
容を示す説明図である。
FIG. 4 is an explanatory diagram showing contents of form data storage means in the embodiment.

【図5】個別管理テーブルを説明する構成図である。FIG. 5 is a configuration diagram illustrating an individual management table.

【図6】全体管理テーブルを説明する構成図である。FIG. 6 is a configuration diagram illustrating an overall management table.

【図7】個別管理テーブルを構成する1つのブロックの
状態とそれに対応する表示器の表示内容とを示す説明図
である。
FIG. 7 is an explanatory diagram showing a state of one block forming an individual management table and display contents of a display device corresponding to the state.

【図8】全体管理テーブルの状態とそれに対応する表示
器の表示内容とを示す説明図である。
FIG. 8 is an explanatory diagram showing a state of a general management table and display contents of a display device corresponding to the state.

【図9】個別管理テーブルの一部分の状態と、それに対
応する表示器の表示状態とを示す説明図である。
FIG. 9 is an explanatory diagram showing a state of a part of the individual management table and a display state of a corresponding display device.

【図10】フォームデータの登録動作を説明するフロー
チャートである。
FIG. 10 is a flowchart illustrating a registration operation of form data.

【図11】フォームオーバーレイ印刷動作を説明するフ
ローチャートである。
FIG. 11 is a flowchart illustrating a form overlay printing operation.

【図12】本発明のプリンタの構成を示す機能ブロック
図である。
FIG. 12 is a functional block diagram showing the configuration of the printer of the present invention.

【図13】従来例を示す上位装置及びプリンタからなる
システムの一例を示す構成図である。
FIG. 13 is a block diagram showing an example of a system composed of a higher-level device and a printer showing a conventional example.

【図14】納品書及び請求書の印刷内容を例示する説明
図である。
FIG. 14 is an explanatory diagram illustrating print contents of a delivery note and an invoice.

【図15】フォームオーバーレイ印刷を説明する概念図
である。
FIG. 15 is a conceptual diagram illustrating form overlay printing.

【図16】従来装置におけるフォームデータ記憶手段の
内容を示す説明図である。
FIG. 16 is an explanatory diagram showing the contents of form data storage means in a conventional device.

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

10 上位装置 20 プリンタ 20A 管理情報生成手段 20B フォームデータ記憶手段 20C 管理情報記憶手段 20D 管理情報表示手段 TA 個別管理テーブル A1 登録番号領域 A2 フォームデータアドレス 領域 A3 個別圧縮データ量領域 A4 フォームデータ 名領域 A5 圧縮方式名領域 A6 圧縮前サイズ領域 TB 全体管理テーブル B1 参照ブロック番号領域 B2 登録ブロック番号領域 B3 登録 フォームデータ数領域 B4 全圧縮データ量領域 B5 未登録データ量領域 10 Host device 20 Printer 20A Management information generating means 20B Form data storing means 20C Management information storing means 20D Management information displaying means TA Individual management table A1 Registration number area A2 Form data address area A3 Individual compressed data amount area A4 Form data name area A5 Compression method name area A6 Size area before compression TB Overall management table B1 Reference block number area B2 Registered block number area B3 Registered form data number area B4 Total compressed data amount area B5 Unregistered data amount area

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】予め上位装置から送信される複数のフォー
ムデータを圧縮してフォームデータ記憶手段に登録して
おき、ジョブの実行時には、前記フォームデータ記憶手
段から読み出したフォームデータを伸長するとともに、
そのフォームデータを前記上位装置から送信される印刷
データと合成してフォームオーバーレイ印刷を行うプリ
ンタにおいて、 前記フォームデータ記憶手段に対するフォームデータの
登録及び読み出しを行う際に必要な管理情報を生成する
管理情報生成手段と、 前記管理情報を保持する管理情報記憶手段と、 前記管理情報記憶手段に保持されている前記管理情報を
表示する管理情報表示手段とを有し、 前記管理情報は、 前記フォームデータ記憶手段上におけるフォームデータ
の格納位置を特定するために必要な情報と、 前記フォームデータ記憶手段に登録されている全てのフ
ォームデータの登録データ量及び前記フォームデータ記
憶手段の空き領域である未登録データ量の少なくとも一
方と、 前記フォームデータ記憶手段に登録されている各フォー
ムデータのデータ圧縮方式との少なくとも1つの情報を
含むこと、 を特徴とするプリンタ。
1. A plurality of form data transmitted from a host device is compressed and registered in a form data storage means in advance, and when a job is executed, the form data read out from the form data storage means is expanded and
In a printer for performing form overlay printing by synthesizing the form data with print data transmitted from the higher-level device, management information for generating management information necessary for registering and reading the form data with respect to the form data storage means. And a management information storage unit that stores the management information, and a management information display unit that displays the management information stored in the management information storage unit. Information necessary for specifying the storage position of the form data on the means, the registered data amount of all the form data registered in the form data storage means, and the unregistered data which is a free area of the form data storage means At least one of the amount and the amount registered in the form data storage means A printer that includes at least one information of a data compression method of each form data.
【請求項2】管理情報記憶手段は、個別管理テーブル
と、全体管理テーブルとを具備しており、 前記個別管理テーブルは、各フォームデータに対応する
個別管理情報を記憶する同一記憶量のブロックを具備す
るとともに、前記各ブロックには、予め互いに異なるブ
ロック番号が割り当てられており、 前記各ブロックは、前記ブロック番号と対応する登録番
号を保持している登録番号領域と、当該ブロックに対応
するフォームデータのフォームデータ記憶手段上の格納
アドレスを保持しているフォームデータアドレス領域
と、当該ブロックに対応するフォームデータがフォーム
データ記憶手段上に占有する記憶量を保持している個別
圧縮データ量領域と、当該ブロックに対応するフォーム
データに付された名称を保持しているフォームデータ名
領域と、 当該ブロックに対応するフォームデータの圧縮方式の名
称を保持している圧縮方式名領域と、当該ブロックに対
応するフォームデータの圧縮前の大きさを示す情報を保
持している圧縮前サイズ領域との少なくとも1つを含
み、 前記全体管理テーブルは、フォームオーバーレイ印刷に
供されるフォームデータの前記個別管理情報を保持して
いるブロックのブロック番号を保持している参照ブロッ
ク番号領域と、上位装置が登録しようとするフォームデ
ータの前記個別管理情報を登録するブロックのブロック
番号を保持している登録ブロック番号領域と、前記フォ
ームデータ記憶手段に登録されているフォームデータの
個数を保持している登録フォームデータ数領域と、前記
フォームデータ記憶手段に登録されている全てのフォー
ムデータの登録データ量を保持している全圧縮データ量
領域と、前記フォームデータ記憶手段の空き領域である
未登録データ量を保持している未登録データ量領域との
少なくとも1つを含むこと、 を特徴とする請求項1記載のプリンタ。
2. The management information storage means includes an individual management table and an overall management table, and the individual management table includes blocks of the same storage amount for storing individual management information corresponding to each form data. In addition, each block is assigned a different block number in advance, and each block has a registration number area holding a registration number corresponding to the block number and a form corresponding to the block. A form data address area holding a storage address of data on the form data storage means, and an individual compressed data amount area holding a storage amount of the form data corresponding to the block occupied on the form data storage means. , Form data holding the name given to the form data corresponding to the block Area, compression method name area that holds the name of the compression method of the form data corresponding to the block, and pre-compression size that holds information indicating the size before compression of the form data corresponding to the block And a reference block number area holding a block number of a block holding the individual management information of the form data used for form overlay printing, The registration block number area that holds the block number of the block in which the individual management information of the form data to be registered by the device is stored, and the number of form data registered in the form data storage means. The registered form data count area and all form data registered in the form data storage means. A total compressed data amount area holding the registered data amount of the data and an unregistered data amount area holding the unregistered data amount which is an empty area of the form data storage means. The printer according to claim 1, wherein:
JP7054981A 1995-02-20 1995-02-20 Printer Pending JPH08224929A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7054981A JPH08224929A (en) 1995-02-20 1995-02-20 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7054981A JPH08224929A (en) 1995-02-20 1995-02-20 Printer

Publications (1)

Publication Number Publication Date
JPH08224929A true JPH08224929A (en) 1996-09-03

Family

ID=12985834

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7054981A Pending JPH08224929A (en) 1995-02-20 1995-02-20 Printer

Country Status (1)

Country Link
JP (1) JPH08224929A (en)

Similar Documents

Publication Publication Date Title
JPH07281845A (en) Labeling method of job
JPH06106810A (en) Image forming method and apparatus
JPH09174956A (en) Printer controller
JPH0774924A (en) Image processing device
JPH08224929A (en) Printer
JP2973260B2 (en) Print information processing device
JP3230815B2 (en) Printer
JPH0231416B2 (en)
JPWO1991016685A1 (en) printer
JP3817077B2 (en) Print processing system and image forming apparatus
JP2922676B2 (en) Image forming device
JPH05212917A (en) Printer
JP3483689B2 (en) Image processing method for printer device
JP4149351B2 (en) Image printing system
JPH10202987A (en) Printer device
JPH0747724A (en) Printer
JPH0691979A (en) Form data processing method in image forming apparatus
JPH05108644A (en) Character processor with post card printing function
JPH07114543A (en) Document processor
JP2974638B2 (en) Document processing apparatus and method
JPH0644352A (en) Image processor
JP2002356016A (en) Image printing apparatus, image printing method, and image printing program
JPH09245032A (en) Document creation device and page replacement method
JPH08118739A (en) Print output device
JPH03105688A (en) Picture synthesizing method