JP3054172B2 - Output control device - Google Patents

Output control device

Info

Publication number
JP3054172B2
JP3054172B2 JP2177360A JP17736090A JP3054172B2 JP 3054172 B2 JP3054172 B2 JP 3054172B2 JP 2177360 A JP2177360 A JP 2177360A JP 17736090 A JP17736090 A JP 17736090A JP 3054172 B2 JP3054172 B2 JP 3054172B2
Authority
JP
Japan
Prior art keywords
information
file
combined
registered
host computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2177360A
Other languages
Japanese (ja)
Other versions
JPH0465272A (en
Inventor
正明 清水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2177360A priority Critical patent/JP3054172B2/en
Publication of JPH0465272A publication Critical patent/JPH0465272A/en
Application granted granted Critical
Publication of JP3054172B2 publication Critical patent/JP3054172B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【産業上の利用分野】 本発明は、入力データとフォームとを重ね合わせて出
力部から出力させる出力制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an output control device that superimposes input data and a form and outputs the data from an output unit.

【従来の技術】[Prior art]

従来のプリンタなどの印刷装置では、ホストコンピユ
ータから受信した印刷データに基づいて、1ページ分の
印刷情報を画像用メモリ等にビツトマツプ展開し、その
展開された結果を、例えばビデオ信号等に変換して、プ
リンタの機構部に転送している。更に、このようなプリ
ンタには、印刷データとは別に、予めホストコンピユー
タ等からのフオーム情報を受信して登録しておき、その
登録されているフオームを印刷データに重ね合わせて印
刷出力できるものがある。 この場合、各ページ毎にホストコンピユータよりプリ
ンタにフオーム情報を送信すると、ホストコンピユータ
からのデータ転送時間がより多くなる。このため、各ペ
ージ毎にオーバーレイするフオームが同じである場合
は、印刷データを送信する前に予めフオーム情報をプリ
ンタに転送して登録しておき、印刷データ中にオーバー
レイするフオームを指示するだけ(通常は、登録したフ
オームの名称を指示する)で簡単に印刷データとそのフ
オームを重ね合わせて出力することができる。なお、こ
のようにして一旦登録したフオーム情報は、ホストコン
ピユータから削除が指示されるか、プリンタの電源がオ
フされるまでプリンタ内で保持される。 また、プリンタに、例えばハードデイスクなどの2次
記憶装置(不揮発メモリ)を付加し、このような2次記
憶装置にフオーム情報を登録しておくことによつて、多
種類のフオーム情報をプリンタに登録できるとともに、
プリンタの電源をオフしても、それら登録されているフ
オーム情報を保持することができる。これにより、一旦
2次記憶装置に登録されたフオーム情報は、電源のオン
/オフに関係なく保持され続ける。これによりホストコ
ンピユータはいつでも、印刷データ中にオーバーレイす
るフオーム名を指示するだけで、簡単に印刷データと登
録されているフオームとを重ね合わせて印刷することが
できる。
In a conventional printing apparatus such as a printer, one page of print information is bit-mapped to an image memory or the like based on print data received from a host computer, and the expanded result is converted into, for example, a video signal. To the printer mechanism. Further, such a printer is capable of receiving form information from a host computer or the like in advance and registering the form information separately from the print data, and superimposing the registered form on the print data to print out. is there. In this case, if form information is transmitted from the host computer to the printer for each page, the data transfer time from the host computer becomes longer. Therefore, if the form to be overlaid on each page is the same, the form information is transferred to the printer in advance and registered before transmitting the print data, and only the form to be overlaid in the print data is designated ( Usually, the name of the registered form is designated) and the print data and the form can be easily superimposed and output. Note that the form information once registered in this manner is retained in the printer until a deletion instruction is given from the host computer or the power of the printer is turned off. Further, by adding a secondary storage device (non-volatile memory) such as a hard disk to the printer and registering the form information in such a secondary storage device, various types of form information can be registered in the printer. As well as
Even when the power of the printer is turned off, the registered form information can be retained. As a result, the form information once registered in the secondary storage device continues to be held regardless of whether the power is turned on or off. Thus, the host computer can easily print the print data and the registered form easily by simply specifying the form name to be overlaid in the print data.

【発明が解決しようとする課題】[Problems to be solved by the invention]

このような2次記憶装置を備えたプリンタでは、ホス
トコンピユータより、2次記憶装置に登録されているフ
オームと印刷データとを重ね合わて出力するように指示
されると、2次記憶装置をサーチして、その指示された
フオームを読出し、その読出したフオーム情報をビツト
マツプに展開して、印刷データと合成する。 ところで、このようなフオーム情報は、ホストコンピ
ユータからプリンタに送信して登録する場合、非常に似
通つたフオーム情報であつても、それぞれを個々のフオ
ーム情報として登録する必要がある。例えば、いま2つ
のフオーム情報が有る場合、これらフオーム情報のただ
1か所だけが異なつているような場合でも、これらのフ
オーム情報は、それぞれ別々の名称を付して、独立した
フオーム情報として登録しなくてはならなかつた。この
ため、大量のデータからなつているフオーム情報の場合
に、このフオーム情報とほとんど等しい他のフオーム情
報を登録すると、プリンタ内のメモリまたは2次記憶装
置内に、ほとんど同じフオーム情報が複数記憶されるこ
とになり、無駄にメモリ領域を使用することになる。 また、ホストコンピユータからフオーム情報をプリン
タに登録する際に、既に登録済のフオーム情報に更にあ
る情報を追加したフオーム情報を登録したい場合があ
る。このような場合でも、ホストコンピユータは、その
情報を追加したフオーム情報を作成し直して、それをプ
リンタに転送して登録する必要があつた。 このように従来は、 (1)複数のフオーム情報があるとき、これらフオーム
情報のただ1か所のみが異なるような場合でも、それぞ
れ独立して登録しなければならないため、これらフオー
ム情報が大量のデータからなるような場合は、それらが
ほとんど同じデータであるにも拘らず、プリンタ内のメ
モリ又は2次記憶装置のメモリ領域を占有してしまうと
いう問題があつた。 (2)ホストコンピユータからフオーム情報をプリンタ
に登録する際、既に登録済のフオームに、そのフオーム
情報の一部を追加するような場合であつても、ホストコ
ンピユータは再度フオーム情報を作成し直してプリンタ
に送信しなくてはならなかつた。このため、ホストコン
ピユータ側の処理が煩雑になり、その作成処理や送信に
要する時間も無視できないものとなつていた。 本発明は上記従来例に鑑みてなされたもので、複数の
独立したフォームを結合フォームとして1つのファイル
名を付して記憶しておき、そのファイル名を指定するこ
とにより複数の独立したフォームと入力データとを重ね
合わせて出力できる出力制御装置を提供することを目的
とする。
In a printer having such a secondary storage device, when the host computer instructs to output a form registered in the secondary storage device and print data in a superimposed manner, the secondary storage device is searched. Then, the designated form is read, the read form information is developed into a bit map, and combined with print data. By the way, when such form information is transmitted from the host computer to the printer and registered, even if the form information is very similar, each form information must be registered as individual form information. For example, if there are two pieces of form information, and even if only one of these pieces of form information is different, these form information are given separate names and registered as independent form information. I had to do it. For this reason, in the case of form information composed of a large amount of data, if other form information almost equal to this form information is registered, a plurality of almost the same form information is stored in the memory or the secondary storage device in the printer. As a result, the memory area is wasted. Further, when registering form information from a host computer to a printer, there is a case where it is desired to register form information in which certain information is added to already registered form information. Even in such a case, the host computer needs to re-create the form information to which the information has been added, transfer the form information to the printer, and register it. As described above, conventionally, (1) when there is a plurality of pieces of form information, even if only one of these pieces of form information is different, it is necessary to register each form independently. When the data is composed of data, there is a problem that the data occupies the memory area in the printer or the memory area of the secondary storage device even though they are almost the same data. (2) When registering form information from a host computer to a printer, even if a part of the form information is added to an already registered form, the host computer re-creates the form information again. I had to send it to the printer. For this reason, the processing on the host computer side is complicated, and the time required for the creation processing and transmission is not negligible. The present invention has been made in view of the above-described conventional example, and stores a plurality of independent forms as a combined form with a single file name, and designates the file name to store a plurality of independent forms. It is an object of the present invention to provide an output control device capable of superimposing and outputting input data.

【課題を解決するための手段】[Means for Solving the Problems]

上記目的を達成するために本発明の出力制御装置は以
下のような構成を備える。即ち、 入力データとフォームとを重ね合わせて出力部から出
力させる出力制御装置であって、 複数種のそれぞれ独立したフォームを結合フォームと
してファイル名を付して記憶する記憶手段と、 前記入力データとともに入力される前記ファイル名に
基づいて重ね合わせるべき結合フォームを選択する選択
手段と、 前記選択手段により選択された前記結合フォームを前
記記憶手段から読み出し、前記結合フォームに含まれる
前記複数種のそれぞれ独立したフォームを前記入力デー
タに重ね合わせて出力部から出力させる制御手段と、 を備えることを特徴とする。 [作用] 以上の構成により、複数種のそれぞれ独立したフォー
ムを結合フォームとしてファイル名を付して記憶手段に
記憶し、入力データとともに入力されるファイル名に基
づいて重ね合わせるべき結合フォームを選択し、その選
択された結合フォームを記憶手段から読み出し、その結
合フォームに含まれる複数種のそれぞれ独立したフォー
ムを入力データに重ね合わせて出力部から出力させるよ
うに動作する。
In order to achieve the above object, an output control device of the present invention has the following configuration. That is, an output control device that superimposes input data and a form and outputs the form from an output unit, a storage unit that stores a plurality of types of independent forms with a file name as a combined form, and stores the input data together with the input data. Selecting means for selecting a combined form to be superimposed based on the input file name; reading out the combined form selected by the selecting means from the storage means, and independently selecting the plurality of types included in the combined form Control means for superimposing the completed form on the input data and outputting the form from an output unit. [Operation] With the above-described configuration, a plurality of types of independent forms are each stored as a combined form in a storage unit with a file name, and a combined form to be superimposed is selected based on the file name input together with the input data. The selected form is read from the storage means, and a plurality of independent forms included in the combined form are superimposed on the input data and output from the output unit.

【実施例】【Example】

以下、添付図面を参照して本発明の好適な実施例を詳
細に説明する。 <印刷装置の説明(第1図)> 第1図は本実施例の印刷装置の概略機能構成を示すブ
ロツク図である。 第1図において、101は印刷情報展開部で、ホストコ
ンピユータから送信された印刷データを受信し、1ペー
ジ分のビツトマツプ情報に展開する。102はフオーム展
開部で、例えば2次記憶装置などのフオーム記憶部104
に登録されているフオーム情報を読出し、1ページ分の
フオームとしてビツトマツプ情報を展開する。なお、こ
のフオーム展開部102は、フオーム情報の結合指令を入
力すると、オーバーレイ用のフオーム情報をビツトマツ
プ情報に展開することもできる。 103はフオーム管理部で、ホストコンピユータから送
信されたフオーム情報(フオーム情報の結合指令を含
む)を、2次記憶装置等のフオーム記憶部104に登録し
たり、これら登録しているフオーム情報を管理してい
る。104はフオーム記憶部で、ホストコンピユータ等か
ら送信されたフオーム情報(結合フオームを含む)を、
そのまま登録する。 また、105は重ね合せ部で、印刷情報展開部101によつ
て展開された印刷データのビツトマツプと、フオーム展
開部102によつて展開されたフオーム情報のビツトマツ
プを重ね合わせて、1ページ分の印刷出力用ビツトマツ
プを作成している。106は実際の印刷機構を表わした出
力部で、重ね合せ部105によつて作成された印刷データ
をもとに記録媒体である記録紙などに印刷する。 次に、第2図を参照して本実施例の基本概念を説明す
る。この第2図は印刷データとフオーム情報の重ね合わ
せ例を示した図である。 第2図において、201は、ホストコンピユータから送
信された印刷データを基に、印刷情報展開部101により
1ページ分のビツトマツプに展開した印刷データを表わ
している。202は、フオーム記憶部104に登録されている
フオーム情報を表わしている。203〜205のそれぞれは、
フオーム記憶部104に登録されているフオーム情報を、
フオーム展開部102により1ページ分のビツトマツプに
展開した状態を表わしている。 更に、206は、203〜205の各フオームのビツトマツプ
をフオーム展開部102により重ね合わせた状態を示して
いる。また、207は、印刷データのビツトマツプ201と、
重ね合せたフオーム情報206とを、重ね合わせ部105によ
り重ね合わせて、実際に出力される印刷結果を表わして
いる。 <印刷装置の説明(第3図、第4図)> 第3図は本実施例の印刷装置の一般的な構成を示すブ
ロツク図である。 ここで、301は本実施例の印刷装置に各種印刷データ
や種々のフオーム情報を出力するためのホストコンピユ
ータ、302・303及び304は、本実施例の印刷装置を表わ
している。ここで、302は印刷装置の制御部、303は、こ
の印刷装置に内蔵されているハードデイスクなどの2次
記憶部を表わしている。また、304は印刷出力のための
機構部を表わす。 第4図は制御部302の概略構成を示すブロツク図であ
る。 第4図において、401はプログラムメモリ402に記憶さ
れた制御プログラムに従つて制御部302全体を制御する
中央演算装置(CPU)、402は本実施例の印刷装置を制御
するためのプログラムが格納されているプログラムメモ
リを表わし、例えば、ROM等で構成されている。403はフ
オントメモリで、文字コードをビツトマツプに展開する
ためのフオントの情報をコード情報に対応して格納して
いる。404はワークメモリ(RAM)で、CPU401のワークエ
リアとして使用され、各種データを一時的に保存するこ
とができる。 405は入力インターフエース(I/F)回路で、ホストコ
ンピユータ301よりのデータ入出力を制御している。406
はハードデイスクインターフエース(I/F)回路で、例
えばハードデイスクなどの2次記憶装置(303)と制御
部302との間のデータ転送を制御している。407は画像用
メモリで、印刷機構部304に出力するための画像データ
(1ページ分のビツトマツプ)がビツトマツプ展開され
る。408は制御部302と印刷機構部304とを接続するため
のデータ出力用インターフエース回路、409は印刷機構
部304に同期して、画像用メモリ407から印刷機構部304
用のビデオ信号を発生するための画像信号発生器であ
る。また、410は各メモリやI/F回路及びCPU401等を接続
する内部バスを表わしている。 次に、第7図及び第8図を参照して本実施例の印刷装
置におけるフオーム情報の管理について説明するが、そ
のまえに第5図と第6図を参照して従来のフオーム情報
の管理方法を簡単に説明する。 ホストコンピユータより受信したフオーム情報は、フ
オームフアイル504a〜dとしてハードデイスクなどの2
次記憶部に格納される。これらハードデイスクに格納さ
れた各種フオームフアイル504a〜504dは、フオーム管理
フアイル501によつて管理され、このフオーム管理フア
イル501そのものはハードデイスクに記憶されている。5
02は各フオームフアイル504a〜504dの管理レコード503
を記憶したテーブルである。 第6図は管理レコード503のデータフオーマツト例を
示す図である。 601は、この管理レコード503が有効であるか無効であ
るかを識別するための識別フラグで、フラグ601がオン
のときは有効であることを示している。602はフオーム
名称を示し、ホストコンピユータがこの印刷装置に登録
する際に指定したフオームの名称を表わしている。603
はホストコンピユータより受信したフオーム情報をハー
ドデイスクに格納した際のフアイル名称を表わす。 このように従来は、各フオームフアイルはそれぞれ単
独のフアイルとして処理されていた。 <実施例の印刷装置におけるフオーム管理の説明(第7
図〜第9図)> 次に、本実施例の印刷装置におけるフオーム情報の管
理手順を第7図及び第8図を参照して説明する。 まず、ホストコンピユータ301から送信されたフオー
ム情報は、フオームフアイル704a〜704cとしてハードデ
イスク303に格納される。これら各フオームフアイルの
それぞれは、第5図のフオームフアイル504a〜504dのそ
れぞれと同じ構成である。また、701はこれらのフオー
ムフアイルを管理するフオーム管理フアイル701であ
る。 705は結合フオームフアイルで、ホストコンピユータ3
01よりフオームフアイル同士を結合するように指示され
た時、それらフオーム情報を結合フオームフアイルとし
てハードデイスク303に格納する。この結合フオームフ
アイル705には、第7図に示すように実際のフオームフ
アイル704a〜704cへのチエイン情報が格納されている。
703はこれら各フオームフアイルを管理するための管理
レコード、702は結合フアイルを含む各フアイルの管理
レコードを記憶するフアイル管理テーブルである。 第8図は実施例の結合フオームフアイル705における
チエイン情報の詳細を示した図である。 801は結合フオームフアイル705のフアイル管理テーブ
ルを示し、802は結合フオームフアイル705と、フオーム
フアイル704a〜704cへのチエイン情報を格納している管
理レコードで、ここにはフオームフアイル名称が設定さ
れている。 ここで、ホストコンピユータ301から結合フオーム情
報を登録する際の送信データの1例を第9図に示す。 第9図において、901は、この送信データが結合フオ
ームの登録コマンドであることを示すコマンド識別子、
902は、登録する結合フオームのフオーム名称を表わ
す。このフオーム名称は、フオーム管理フアイル701の
管理レコード703に登録される。903a〜903cは、結合フ
オームで使用する登録済フオームのフオーム名称を表わ
している。これらのフオーム名称はフオームフアイル70
4a〜704cの名称に対応しており、結合されるフオームフ
アイルの数に対応した数のフオーム名称がセツトされて
いる。904は、登録コマンドの終了を示す終了マークで
ある。 これら結合が指示されたフオーム名称を基にフオーム
管理フアイル701をサーチし、各フオーム名称に対応す
る実際のフオームフアイル名称を管理レコード802に設
定することによつて、結合フオームの登録が行なわれ
る。 このように、ホストコンピユータ301から結合フオー
ム登録コマンドを受信すると、結合フオームフアイル70
5に、結合されるフオームフアイル704a〜704cの名称が
登録される。これにより、印刷データの印刷時に、これ
ら結合されたフオーム情報が重ね合わされて出力され
る。 <動作説明(第10図,第11図)> 次に、第10図(A)・(B)及び第11図のフローチヤ
ートを参照して、本実施例の印刷装置における結合フオ
ームフアイルの登録及びこれらフオームフアイルを用い
た印刷データの展開処理の動作を説明する。なお、この
制御を実行する制御プログラムはプログラムメモリ402
に記憶されている。 まず、第10図(A)(B)を参照して、本実施例の印
刷装置における結合フオームの登録処理を説明する。 まず、ステツプS1でホストコンピユータ301から送信
された結合フオーム登録用データ(例えば第9図の結合
フオームコマンド)を受信すると、これを取り込む。次
にステツプS2に進み、この結合フオームコマンドから、
第8図の801で示されたような管理レコード802からなる
管理テーブル801を作成する。このステツプS2の処理
は、第10図(B)のフローチヤートを参照して詳しく後
述する。 次にステツプS3で、この情報作成処理によつて作成さ
れた結合フオーム情報を、結合フオームフアイルとして
ハードデイスク303に記憶する。次に、前述の処理によ
つて格納された結合フオームフアイル705に対する管理
レコード703を作成し、フオーム管理テーブル702に登録
して処理を終了する。 次に、第10図(B)を参照して、第10図(A)のステ
ツプS2の結合フオーム情報801作成手順を説明する。 ここで、ホストコンピユータ301より受信する登録コ
マンドは、第9図に示したようなコマンドを想定する。
そして、コマンド内のフオーム名称903a〜904cをフオー
ム管理フアイル701内でサーチして、結合するように指
示された結合フオームフアイル705を作成する。 まずステツプS11で、フオーム名称が終了マーク904か
どうか、即ち、コマンドの終了かどうかを調べ、終了マ
ークの場合はその時点で処理終了する。 ステツプS11で終了マークでないときは、それらフオ
ーム名称でフオーム管理フアイル701内をサーチする
(ステツプS12)。次にステツプS13で、このサーチの結
果、フオーム管理フアイル701内の管理レコード703か
ら、登録コマンドのフオーム名称903a〜904cに対応する
フオームフアイル704a〜704cの名称を取り出し、結合フ
オームフアイル705の管理テーブル801の管理レコード80
2とする。そして、次のコマンド内のフオーム名称処理
のためにステツプS11に戻る。 このようにして、ホストコンピユータ301より送信さ
れた結合フオーム登録コマンドに従つて、この印刷装置
内で結合フオームフアイル705が作成される。 次に、このハードデイスク303に登録されている結合
フオームを基に、印刷データを作成して実際に印刷する
ビツトマツプデータに展開する手順を、第11図のフロー
チヤートに従つて説明する。なお、このときホストコン
ピユータ301より、印刷データ及びその結合フオーム名
称が指示されるものとする。 まず、ホストコンピユータ301から送信された印刷情
報で指定された結合フオーム名称をもとに、この印刷装
置のハードデイスク303に登録されている結合フオーム
フアイル705に該当する結合フアイル名が登録されてい
るかをみる。これは、フオーム管理テーブルの702のフ
オーム管理レコード703をサーチすることにより行われ
る。 こうして結合フアイルがサーチされるとステツプS22
に進み、結合フオームフアイルテーブル801の全フオー
ム管理レコード802が全てビツトマツプ展開されたかど
うかを調べる。ここでテーブル801に登録されている全
てのフオームフアイルが展開されていれば、結合フオー
ムフアイル705の展開処理が終了する。 そうでない場合はステツプS23に進み、フオーム管理
レコード802から実際のフオームのフオームフアイル名
称を取出し、次にステツプS24で従来のフオーム展開技
術と同様にして、そのフオームフアイルをビツトマツプ
に展開する。 次にステツプS25に進み、画像用メモリ407に、既に結
合フオームフアイル705の他のフオームフアイルが、既
に1つ以上ビツトマツプに展開されているかどうかを調
べる。これは他のフオームフアイルが既にビツトマツプ
展開されているときは、画像用メモリ407に上書きする
のではなく、論理和を取つて書込む必要があるためであ
る。このため展開されていない場合は、そのままビツト
マツプ展開したデータを画像用メモリ407に書込んでス
テツプS22に進み、次のフオーム管理レコード802を参照
して、次の結合フアイルの展開処理に進む。 ステツプS25で、既に他のフオームフアイルが画像メ
モリ407にビツトマツプ展開されている場合はステツプS
26に進み、展開済フオームのビツトマツプと、今回展開
したフオームのビツトマツプの重ね合わせ処理を行な
う。そして、次のフオーム管理レコード802を調べるた
めにステツプS22に戻る。 この処理を前述した第2図を用いて説明すると、結合
フオームフアイル705のフオーム管理テーブル801の管理
レコード802には、フオームフアイル704a〜704cのそれ
ぞれに対応した名称が登録されている。これらフオーム
フアイル704a〜704cのそれぞれのフオーム情報は、第2
図に示す203、204、205の各フオーム情報に対応してい
る。これら3つのフオームフアイルが、結合フオームフ
アイル705として重ね合わせられるように指示される
と、ステツプS26で、第2図の206で示すような重ね合せ
たビツトマツプ展開されたフオーム情報が作成される。
この結合して作成されたフオーム情報は、印刷データ20
1と重ね合わされて、207で示すような印刷データとな
る。 なお、本実施例では、フオーム情報をハードデイスク
に格納する構成で説明したが、ハードデイスク以外のメ
モリ(例えばRAM)だけを用いて本実施例を実現するこ
とができる。 また、本実施例では、結合フオームは、一段階のみの
フオームフアイルへのチエインで説明したが、第12図に
示すように、結合フオームフアイル内705の管理レコー
ド802に、更に、別の登録済結合フオーム1201を指定で
きるようにしてもよい。即ち、結合フオームフアイル70
5は、何段階にもチエイン可能にしてもよい。 更に本実施例では、2次記憶装置としてハードデイス
クを用いているが、読込み・書込みが可能な2次記憶装
置、例えばフロツピデイスク・光磁気デイスク等々でも
本実施例は実現可能である。 以上説明したように本実施例によれば、単独に登録さ
れた複数のフオーム情報を重ね合わせてフオーム情報を
作成できる。これにより、例えば、非常に似通つたフオ
ームを登録するような場合は、各フオームの共通部分を
1つのフオームとして登録し、異なる部分を別のフオー
ムとして登録し、ホストコンピユータからの結合指示に
従つて、これら共通部分と個別のフオーム情報部分とを
ビツトマツプに展開し、各々の展開したビツトマツプ情
報を重ね合わせることにより目的とするフオームのビツ
トマツプ情報を得ることが可能である。 このような処理を行なうことによつて、得られる印刷
結果は同じでありながら、従来のフオーム登録処理の煩
雑さを解消すると同時に、フオーム登録に必要なメモリ
や2次記憶装置内のメモリ領域を小さくすることができ
る。
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. <Description of Printing Apparatus (FIG. 1)> FIG. 1 is a block diagram showing a schematic functional configuration of the printing apparatus of the present embodiment. In FIG. 1, reference numeral 101 denotes a print information developing unit which receives print data transmitted from the host computer and develops it into bit map information for one page. Reference numeral 102 denotes a form expansion unit, for example, a form storage unit 104 such as a secondary storage device.
Is read out, and the bit map information is developed as a form for one page. Note that, when a form information combining command is input, the form expanding section 102 can also expand the form information for overlay into bit map information. Reference numeral 103 denotes a form management unit which registers form information (including a form information combining command) transmitted from the host computer in a form storage unit 104 such as a secondary storage device, and manages the registered form information. doing. 104 is a form storage unit which stores form information (including a combined form) transmitted from the host computer or the like;
Register as is. A superimposing unit 105 superimposes a bit map of the print data expanded by the print information expanding unit 101 and a bit map of the form information expanded by the form expanding unit 102, and prints one page. I am creating a bitmap for output. Reference numeral 106 denotes an output unit representing an actual printing mechanism, which prints on a recording medium, such as recording paper, based on the print data created by the overlapping unit 105. Next, the basic concept of this embodiment will be described with reference to FIG. FIG. 2 is a diagram showing an example of superposition of print data and form information. In FIG. 2, reference numeral 201 denotes print data developed by the print information developing unit 101 into a bit map of one page based on the print data transmitted from the host computer. Reference numeral 202 denotes form information registered in the form storage unit 104. Each of 203-205 is
The form information registered in the form storage unit 104 is
This shows a state where the data is expanded to a bit map for one page by the form expanding unit 102. Further, reference numeral 206 denotes a state in which bit maps of the respective forms 203 to 205 are superimposed by the form developing unit 102. Reference numeral 207 denotes a bitmap 201 of print data;
The superimposed form information 206 is superimposed by the superimposition unit 105, and represents a print result that is actually output. <Description of Printing Apparatus (FIGS. 3 and 4)> FIG. 3 is a block diagram showing a general configuration of the printing apparatus of the present embodiment. Here, reference numeral 301 denotes a host computer for outputting various print data and various form information to the printing apparatus of the present embodiment, and 302, 303 and 304 denote the printing apparatus of the present embodiment. Here, reference numeral 302 denotes a control unit of the printing apparatus, and 303 denotes a secondary storage unit such as a hard disk built in the printing apparatus. Reference numeral 304 denotes a mechanism for printing out. FIG. 4 is a block diagram showing a schematic configuration of the control unit 302. In FIG. 4, reference numeral 401 denotes a central processing unit (CPU) for controlling the entire control unit 302 according to a control program stored in a program memory 402, and 402 stores a program for controlling the printing apparatus of the present embodiment. Program memory, and is composed of, for example, a ROM or the like. A font memory 403 stores font information for developing character codes into bitmaps corresponding to the code information. A work memory (RAM) 404 is used as a work area of the CPU 401 and can temporarily store various data. An input interface (I / F) circuit 405 controls data input / output from the host computer 301. 406
A hard disk interface (I / F) circuit controls data transfer between a secondary storage device (303) such as a hard disk and the control unit 302. Reference numeral 407 denotes an image memory in which image data (bit map for one page) to be output to the printing mechanism unit 304 is developed into a bit map. Reference numeral 408 denotes a data output interface circuit for connecting the control unit 302 and the printing mechanism unit 304, and 409 synchronizes with the printing mechanism unit 304 to transfer the printing mechanism unit 304 from the image memory 407.
Image signal generator for generating a video signal for use. Reference numeral 410 denotes an internal bus connecting each memory, I / F circuit, CPU 401, and the like. Next, the management of form information in the printing apparatus of this embodiment will be described with reference to FIGS. 7 and 8. Before that, the conventional management of form information will be described with reference to FIGS. 5 and 6. FIG. The method will be briefly described. The form information received from the host computer is stored in a form file 504a-504d such as a hard disk or the like.
It is stored in the next storage unit. Various form files 504a to 504d stored on the hard disk are managed by a form management file 501, and the form management file 501 itself is stored on the hard disk. Five
02 is the management record 503 of each form file 504a to 504d
Is a table in which is stored. FIG. 6 is a diagram showing an example of a data format of the management record 503. Reference numeral 601 denotes an identification flag for identifying whether the management record 503 is valid or invalid. When the management record 503 is on, it indicates that the management record 503 is valid. Reference numeral 602 denotes a form name, which indicates the name of the form designated by the host computer when registering this printer. 603
Represents a file name when the form information received from the host computer is stored on the hard disk. As described above, conventionally, each form file has been processed as a single file. <Description of Form Management in Printing Apparatus of Embodiment (7th Embodiment)
Next, a procedure for managing form information in the printing apparatus according to the present embodiment will be described with reference to FIGS. 7 and 8. FIG. First, the form information transmitted from the host computer 301 is stored in the hard disk 303 as form files 704a to 704c. Each of these form files has the same configuration as each of the form files 504a to 504d in FIG. Reference numeral 701 denotes a form management file 701 for managing these form files. 705 is a combined form file, which is a host computer 3
When it is instructed to connect form files from 01, the form information is stored in the hard disk 303 as a combined form file. The combined form file 705 stores the chain information to the actual form files 704a to 704c as shown in FIG.
Reference numeral 703 denotes a management record for managing each of these form files, and reference numeral 702 denotes a file management table for storing a management record of each file including a combined file. FIG. 8 is a diagram showing details of chain information in the combined form file 705 of the embodiment. Reference numeral 801 denotes a file management table of the combined form file 705, and reference numeral 802 denotes a management record storing the combined form file 705 and chain information for the form files 704a to 704c, in which a form file name is set. . Here, an example of transmission data when registering the combined form information from the host computer 301 is shown in FIG. In FIG. 9, reference numeral 901 denotes a command identifier indicating that this transmission data is a registration command of a combined form;
Reference numeral 902 denotes a form name of the combined form to be registered. This form name is registered in the management record 703 of the form management file 701. Reference numerals 903a to 903c denote form names of registered forms used in the combination form. These form names are form files 70
The form names correspond to the names of 4a to 704c, and the number of form names corresponding to the number of form files to be combined is set. An end mark 904 indicates the end of the registration command. The form management file 701 is searched based on the form names instructed to be combined, and the actual form file name corresponding to each form name is set in the management record 802, thereby registering the combined form. As described above, when the combined form registration command is received from the host computer 301, the combined form file 70
In 5, the names of the form files 704a to 704c to be combined are registered. As a result, when printing the print data, the combined form information is superimposed and output. <Description of Operation (FIGS. 10 and 11)> Next, referring to the flowcharts of FIGS. 10 (A) and (B) and FIG. 11, registration of a combined form file in the printing apparatus of the present embodiment. The operation of the print data expanding process using these form files will be described. A control program for executing this control is stored in the program memory 402.
Is stored in First, referring to FIGS. 10 (A) and 10 (B), the registration process of the combined form in the printing apparatus of the present embodiment will be described. First, when the combined form registration data (for example, the combined form command in FIG. 9) transmitted from the host computer 301 is received in step S1, it is fetched. Next, proceed to step S2, and from this combination form command,
A management table 801 including a management record 802 as shown by 801 in FIG. 8 is created. The processing in step S2 will be described later in detail with reference to the flowchart of FIG. Next, in step S3, the combined form information created by this information creation processing is stored in the hard disk 303 as a combined form file. Next, the management record 703 for the combined form file 705 stored by the above-described processing is created, registered in the form management table 702, and the processing is terminated. Next, with reference to FIG. 10 (B), a procedure for creating the combined form information 801 in step S2 of FIG. 10 (A) will be described. Here, the registration command received from the host computer 301 is assumed to be a command as shown in FIG.
Then, the form names 903a to 904c in the command are searched in the form management file 701, and a combined form file 705 instructed to be combined is created. First, in step S11, it is checked whether or not the form name is the end mark 904, that is, whether or not the command is finished. If it is not an end mark in step S11, a search is made in the form management file 701 with those form names (step S12). Next, in step S13, as a result of this search, the names of the form files 704a to 704c corresponding to the form names 903a to 904c of the registration command are extracted from the management record 703 in the form management file 701, and the management table of the combined form file 705 is obtained. 801 management record 80
Assume 2. Then, the process returns to step S11 for processing the form name in the next command. In this manner, a combined form file 705 is created in the printing apparatus in accordance with the combined form registration command transmitted from the host computer 301. Next, a procedure for creating print data based on the combined form registered in the hard disk 303 and developing it into bit map data to be actually printed will be described with reference to the flowchart of FIG. At this time, it is assumed that the host computer 301 designates the print data and its combined form name. First, based on the combined form name specified in the print information transmitted from the host computer 301, it is determined whether or not the combined file name corresponding to the combined form file 705 registered in the hard disk 303 of this printing apparatus is registered. View. This is performed by searching the form management record 703 of the form management table 702. When the combined file is searched in this way, step S22
To check if all the form management records 802 of the combined form file table 801 have all been bit-mapped. Here, if all the form files registered in the table 801 have been expanded, the expansion processing of the combined form file 705 ends. If not, the process proceeds to step S23, the form file name of the actual form is extracted from the form management record 802, and then in step S24, the form file is developed on the bit map in the same manner as the conventional form development technology. Next, the process proceeds to step S25, and it is checked in the image memory 407 whether another form file of the combined form file 705 has already been developed into one or more bit maps. This is because when another form file has already been bit-mapped, the image memory 407 must be written with a logical OR instead of overwriting it. For this reason, if the data has not been expanded, the bit-mapped data is written in the image memory 407 as it is, and the flow advances to step S22. In step S25, if another form file has already been bit-mapped to the image memory 407, the
Proceeding to step 26, the bit map of the developed form and the bit map of the developed form are overlapped. Then, the process returns to step S22 to check the next form management record 802. This process will be described with reference to FIG. 2 described above. In the management record 802 of the form management table 801 of the combined form file 705, names corresponding to each of the form files 704a to 704c are registered. The form information of each of these form files 704a to 704c is
It corresponds to each of the form information 203, 204, and 205 shown in the figure. When instructed to superimpose these three form files as a combined form file 705, in step S26, superimposed bit map expanded form information as shown by 206 in FIG. 2 is created.
The form information created by this combination is the print data 20
The print data is superimposed on 1 to form print data 207. In the present embodiment, the configuration in which the form information is stored on the hard disk has been described. However, the present embodiment can be realized using only a memory (for example, a RAM) other than the hard disk. Further, in this embodiment, the combined form has been described as a chain to the form file in only one stage, but as shown in FIG. 12, another registered form is further registered in the management record 802 of the combined form file 705. The combination form 1201 may be designated. That is, the combined form file 70
5 may be chained in any number of stages. Further, in the present embodiment, a hard disk is used as the secondary storage device. However, the present embodiment can be realized with a readable / writable secondary storage device, for example, a floppy disk, a magneto-optical disk, or the like. As described above, according to this embodiment, form information can be created by superimposing a plurality of form information registered independently. Thus, for example, when very similar forms are registered, the common part of each form is registered as one form, and different parts are registered as another form, and the form is registered in accordance with the connection instruction from the host computer. Then, it is possible to obtain the bit map information of the target form by developing these common parts and individual form information parts into bit maps and superimposing the developed bit map information. By performing such processing, it is possible to eliminate the complexity of the conventional form registration process and obtain the memory required for the form registration and the memory area in the secondary storage device while maintaining the same print result. Can be smaller.

【発明の効果】【The invention's effect】

以上説明したように本発明によれば、複数の独立した
フォームを結合フォームとして1つのファイル名を付し
て記憶しておき、そのファイル名を指定することにより
複数の独立したフォームと入力データとを重ね合わせて
出力できるという効果がある。
As described above, according to the present invention, a plurality of independent forms are stored with a single file name as a combined form, and the plurality of independent forms and input data are stored by designating the file name. Has the effect of being able to overlap and output.

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

第1図は本実施例の印刷装置の概略機能構成を示すブロ
ツク図、 第2図は本実施例の印刷装置における印刷データと結合
フオームのオーバーレイの概念を表わした図、 第3図は本実施例の印刷装置の概略構成と、ホストコン
ピユータとの接続を表わした概念図、 第4図は実施例の印刷装置における制御部の構成を示す
ブロツク図、 第5図は従来のフオームフアイルの管理方法を表わした
図、 第6図は従来のフオーム管理フアイルのフオーム管理レ
コードの詳細フオーマツトを示す図、 第7図は本実施例の印刷装置に登録されたフオーム情報
(結合フオーム及び一般のフオーム)を管理する管理構
造を表わした図、 第8図は第7図における結合フオームフアイルの構成を
示す図、 第9図はホストコンピユータから本実施例の印刷装置に
結合フオームを登録するための結合フオーム登録コマン
ドの一例を示した図、 第10図(A)・(B)は実施例における結合フオーム登
録処理を説明するフローチヤート、 第11図は本実施例の印刷装置における印刷処理のうち結
合フオームの展開処理を説明するためのフローチヤー
ト、そして 第12図は他の実施例の結合フオームのデータ構造を示す
図である。 図中、101……印刷情報展開部、102……フオーム展開
部、103……フオーム管理部、104……フオーム記憶部、
105……重ね合わせ部、106……出力部、301……ホスト
コンピユータ、302……制御部、303……2次記憶部(ハ
ードデイスク)、304……印刷機構部、401……CPU、402
……プログラムメモリ、403……フオントメモリ、404…
…ワークメモリ、407……画像用メモリ、409……画像信
号発生器、701……フオーム管理フアイル、702……フオ
ーム管理テーブル、703……フオーム管理レコード、704
a〜704c……フオームフアイル、705……結合フオームフ
アイルである。
FIG. 1 is a block diagram showing a schematic functional configuration of the printing apparatus of the present embodiment, FIG. 2 is a view showing the concept of overlay of print data and a combined form in the printing apparatus of the present embodiment, and FIG. FIG. 4 is a conceptual diagram showing a schematic configuration of an example printing apparatus and connection to a host computer. FIG. 4 is a block diagram showing a configuration of a control unit in the printing apparatus according to the embodiment. FIG. 5 is a conventional form file management method. FIG. 6 is a diagram showing a detailed format of a form management record of a conventional form management file, and FIG. 7 is a diagram showing form information (combined form and general form) registered in the printing apparatus of this embodiment. FIG. 8 is a diagram showing a configuration of a combined form file in FIG. 7, and FIG. 9 is a diagram showing a configuration of a connection form file from a host computer to a printing apparatus of this embodiment. FIG. 10A and FIG. 10B are flow charts for explaining a combined form registration process in the embodiment, and FIG. 11 is a printout of the present embodiment. FIG. 12 is a flow chart for explaining the process of developing a combined form in the printing process in the apparatus. In the figure, 101: print information developing unit, 102: form developing unit, 103: form management unit, 104: form storage unit,
105: Overlapping unit, 106: Output unit, 301: Host computer, 302: Control unit, 303: Secondary storage unit (hard disk), 304: Printing mechanism unit, 401: CPU, 402
…… Program memory, 403… Font memory, 404…
... Work memory, 407 ... Image memory, 409 ... Image signal generator, 701 ... Form management file, 702 ... Form management table, 703 ... Form management record, 704
a to 704c ... form file, 705 ... combined form file.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力データとフォームとを重ね合わせて出
力部から出力させる出力制御装置であって、 複数種のそれぞれ独立したフォームを結合フォームとし
てファイル名を付して記憶する記憶手段と、 前記入力データとともに入力される前記ファイル名に基
づいて重ね合わせるべき結合フォームを選択する選択手
段と、 前記選択手段により選択された前記結合フォームを前記
記憶手段から読み出し、前記結合フォームに含まれる前
記複数種のそれぞれ独立したフォームを前記入力データ
に重ね合わせて出力部から出力させる制御手段と、 を備えることを特徴とする出力制御装置。
1. An output control apparatus for superimposing input data and a form and outputting the form from an output unit, comprising: a storage unit for storing a plurality of types of independent forms with a file name as a combined form; Selecting means for selecting a combined form to be superimposed based on the file name input together with the input data; reading out the combined form selected by the selecting means from the storage means; and selecting the plurality of types included in the combined form Control means for causing the independent form to be superimposed on the input data and outputting it from an output unit.
JP2177360A 1990-07-06 1990-07-06 Output control device Expired - Fee Related JP3054172B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2177360A JP3054172B2 (en) 1990-07-06 1990-07-06 Output control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2177360A JP3054172B2 (en) 1990-07-06 1990-07-06 Output control device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP35804499A Division JP3254198B2 (en) 1990-07-06 1999-12-16 Output control device and output control method

Publications (2)

Publication Number Publication Date
JPH0465272A JPH0465272A (en) 1992-03-02
JP3054172B2 true JP3054172B2 (en) 2000-06-19

Family

ID=16029603

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2177360A Expired - Fee Related JP3054172B2 (en) 1990-07-06 1990-07-06 Output control device

Country Status (1)

Country Link
JP (1) JP3054172B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0839888A (en) * 1994-08-03 1996-02-13 Nec Data Terminal Ltd Print processing device
EP1184779A4 (en) 2000-02-21 2003-01-22 Seiko Epson Corp System for mediating printing on network
US7461138B2 (en) 2000-02-21 2008-12-02 Seiko Epson Corporation System for mediating printing on network
EP1184781A4 (en) 2000-02-21 2003-01-22 Seiko Epson Corp System for mediating printing on network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5938080A (en) * 1982-08-26 1984-03-01 Toshiba Corp Form overlay control system
JPS6339022A (en) * 1986-08-01 1988-02-19 Brother Ind Ltd Printer interface controller
JP2796628B2 (en) * 1988-11-29 1998-09-10 カシオ計算機株式会社 Printing device

Also Published As

Publication number Publication date
JPH0465272A (en) 1992-03-02

Similar Documents

Publication Publication Date Title
JP2911470B2 (en) Character processing apparatus and method
JP3054172B2 (en) Output control device
JPH07186485A (en) Printer
JPH09174956A (en) Printer controller
JP3254198B2 (en) Output control device and output control method
JP3246142B2 (en) Printing control device
JP4401594B2 (en) Image processing apparatus, image processing method, program, storage medium, and image forming system
JP4227251B2 (en) Image processing apparatus, control method therefor, and storage medium
JP2610841B2 (en) Creating a standard document
JP2661030B2 (en) Image editing device
JPH06251014A (en) Document printing method
JPH11184662A (en) Method and device for printing form information and recording medium in which the method programmed and recorded
JPH02289088A (en) Document processor
JPS6322672A (en) Printer
JP3665473B2 (en) Document data processing management system
JP3323019B2 (en) Printer control device
JPH0326561A (en) Printing device
JPH10119384A (en) Image forming apparatus
JP3267929B2 (en) Information processing method and information processing apparatus
JP2716927B2 (en) Form output device
JPH09150564A (en) Printer
JPH0417023A (en) Information processing system
JP2000029655A (en) Printer and recording medium
JPH09245024A (en) Document preparation device and suffix document management method
JPS60235236A (en) Image abstract control system

Legal Events

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

Free format text: PAYMENT UNTIL: 20090407

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090407

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100407

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees