JPH08216475A - Printer - Google Patents

Printer

Info

Publication number
JPH08216475A
JPH08216475A JP7044865A JP4486595A JPH08216475A JP H08216475 A JPH08216475 A JP H08216475A JP 7044865 A JP7044865 A JP 7044865A JP 4486595 A JP4486595 A JP 4486595A JP H08216475 A JPH08216475 A JP H08216475A
Authority
JP
Japan
Prior art keywords
data
printing
form data
printer
print
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7044865A
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 JP7044865A priority Critical patent/JPH08216475A/en
Publication of JPH08216475A publication Critical patent/JPH08216475A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To execute an overlay print for printing by superposing a rule on print data without altering the program of a host system by a simple operation. CONSTITUTION: Form data memory means 28 stores form data FD1 to FDn for printing lateral rules. A CPU 21 selects the pattern of the form data based on the set state of form select switches SW1 to SWn of an operating unit 23. When print data is received from a host system 10, selected form data is read from the means 28, combined with the print data, developed in a frame memory 27, and printed by a printing mechanism 24.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、上位装置から送出され
る印刷データに対応するイメージデータをフレームメモ
リ上に展開し、その展開されたイメージデータに基づい
て印刷動作を行うプリンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer which develops image data corresponding to print data sent from a host device on a frame memory and performs a printing operation based on the developed image data.

【0002】[0002]

【従来の技術】従来からプリンタによってリストデータ
等のような比較的多量のデータを帳票用紙(単票を含
む)に印刷する際には、図4(a)に示すように、罫線
が予め印刷されている帳票用紙P1を用いるのが一般的
である。その結果、図4(b)に示すように、行間に罫
線L1が印刷されていることによって、互いに隣接する
行に印刷されたデータを混同することなく見分けること
ができる。
2. Description of the Related Art Conventionally, when a relatively large amount of data such as list data is printed on a form sheet (including a single cut sheet) by a printer, ruled lines are printed in advance as shown in FIG. It is common to use the prepared form paper P1. As a result, as shown in FIG. 4B, since the ruled line L1 is printed between the rows, the data printed on the rows adjacent to each other can be distinguished without confusion.

【0003】一方、図5(a)に示すように、罫線等が
全く印刷されていない白紙状態の帳票用紙P2を用いる
場合に、そのまま印刷すると、互いに隣接する行に印刷
されたデータを見分けることが難しい。したがって、図
5(b)に示すように、本来の印刷データに基づく印刷
を行うと同時に、罫線L2を印刷したり、あるいは1行
おきに網かけ印刷をしたりすることによって、上述した
罫線が予め印刷されている帳票用紙と同様の印刷結果を
得るようにすることが望ましい。このように、本来の印
刷データの印刷に加えて、罫線や網かけ等の印刷を重ね
て行うことにより、帳票用紙の書式(フォーム)を整え
て印刷することをフォームオーバーレイ印刷という。
On the other hand, as shown in FIG. 5 (a), when using a blank form sheet P2 on which no ruled lines or the like are printed, if it is printed as it is, the data printed on adjacent lines can be distinguished. Is difficult. Therefore, as shown in FIG. 5B, when the printing based on the original print data is performed, the ruled lines L2 are printed at the same time, or the halftone printing is performed on every other line. It is desirable to obtain the same print result as the form paper that has been printed in advance. In this way, form overlay printing is performed in which, in addition to the original printing of printing data, printing such as ruled lines and half-tone dot printing is performed so that the form of the form paper is adjusted and printed.

【0004】このようなフォームオーバーレイ印刷を行
う場合に、上位装置(ホスト)は、それがプリンタに出
力すべき印刷データを生成する既存(既成)の印刷処理
プログラムの他に、上述した横罫線や網かけを印刷する
ための付加データを生成するプログラムが必要となる。
したがって、ユーザーがこのようなプログラムを別途作
成しなくてはならず、その負担が大きいものとなってい
る。
When performing such form overlay printing, the host device (host) has the above-mentioned horizontal ruled lines and the above-mentioned horizontal ruled lines in addition to the existing (made-up) print processing program that generates print data to be output to the printer. A program is required to generate additional data for printing shades.
Therefore, the user has to create such a program separately, which is a heavy burden.

【0005】また、上位装置からプリンタに送出する付
加データがイメージデータの形式であった場合には、処
理すべきデータ量が膨大なものとなるためにデータ転送
処理に長時間を要し、ひいては印刷動作のスループット
が低下するという問題が生じる。
If the additional data sent from the host device to the printer is in the form of image data, the amount of data to be processed becomes enormous, so that the data transfer process requires a long time, which in turn results in a huge amount of data. There is a problem that the throughput of the printing operation is reduced.

【0006】これに対して、上位装置からプリンタに送
出する付加データが所定のコマンドで示されており、プ
リンタが上記コマンドに応じて罫線や網かけ等を印刷す
る機能を有している場合には、上述の場合と違って上位
装置の処理すべきデータ量が減るため、印刷動作のスル
ープット低下は生じない。しかしながら、上位装置にお
いて、罫線や網かけの印刷位置等を指定するコマンドを
生成するための処理プログラムを作成し、これを既存の
印刷処理プログラムに追加しなくてはならず、これをユ
ーザーが行うことは難しかった。
On the other hand, when the additional data sent from the upper device to the printer is indicated by a predetermined command, and the printer has a function of printing a ruled line or a mesh according to the command, Unlike the above case, since the amount of data to be processed by the host device is reduced, the throughput of the printing operation does not decrease. However, it is necessary for the host device to create a processing program for generating a command that specifies a ruled line, a shaded printing position, etc., and add this to the existing print processing program, which the user does. It was difficult.

【0007】上記の問題を解消するために、上位装置で
は付加データの生成を行わず、プリンタ側において付加
データを生成する技術が次のように提案されている。す
なわち、予めプリンタの記憶手段に上記罫線や網かけの
印刷を行うためのイメージデータ(以下、フォームデー
タという)を登録しておき、上位装置がその登録済みの
フォームデータをプリンタに対して指定した後、本来の
印刷データを送出することにより、プリンタが本来の印
刷データと上記フォームデータとを合成してフォームオ
ーバーレイ印刷を行う。
In order to solve the above problem, a technique has been proposed as follows in which the upper device does not generate the additional data but the printer side generates the additional data. That is, image data (hereinafter referred to as form data) for performing the ruled line or halftone printing is registered in advance in the storage means of the printer, and the host device specifies the registered form data to the printer. After that, by sending the original print data, the printer combines the original print data and the form data to perform form overlay printing.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、フォー
ムデータ(イメージデータ)を登録する記憶手段(フレ
ームメモリ)は、DRAM等のように常時リフレッシュ
動作が必要であるため、SRAM等とは違ってバッテリ
ーバックアップはできない。このため、プリンタの電源
をOFFする度に記憶手段の登録内容が消去されてしま
う。したがって、電源をONする度に、初期設定とし
て、上記フォームデータを登録し直さなければならな
い。このようなフォームデータの再登録作業を避けるた
めには、常時、プリンタの電源をONしておかねばなら
ず、プリンタの消費電力が大となるばかりでなく、現実
的ではない。また、プリンタの記憶手段に登録したフォ
ームデータを指定するために上位装置からプリンタに発
行するフォーム参照コマンドを、既存の印刷処理プログ
ラムに付加することは容易ではなく、印刷処理プログラ
ムにおけるプリンタコマンド体系によっては、上記フォ
ーム参照コマンドをページ毎に発行する必要があり、こ
のため、印刷動作のスループットが低下するという問題
が生じる。
However, the storage means (frame memory) for registering the form data (image data) needs to be constantly refreshed like a DRAM or the like. Therefore, unlike a SRAM or the like, a battery backup is required. I can't. Therefore, every time the power of the printer is turned off, the registered contents of the storage means are erased. Therefore, each time the power is turned on, the form data must be registered again as an initial setting. In order to avoid such re-registration work of form data, the power of the printer must be turned on at all times, which not only increases the power consumption of the printer but is not realistic. Further, it is not easy to add a form reference command issued from a higher-level device to the printer to specify the form data registered in the storage means of the printer to the existing print processing program. Need to issue the above-mentioned form reference command for each page, which causes a problem that the throughput of the printing operation decreases.

【0009】本発明は、このような事情に基づいてなさ
れたもので、その目的は、上位装置における既存の印刷
処理プログラムに手を加える必要がなく、プリンタに簡
単な操作を行うだけでフォームオーバーレイ印刷を行う
ことができ、かつ、その際に印刷動作のスループットに
影響を与えないで済むプリンタを提供することを目的と
する。
The present invention has been made in view of the above circumstances, and its purpose is to eliminate the need for modifying an existing print processing program in a host device, and to perform a form overlay by simply performing a printer operation. It is an object of the present invention to provide a printer that can perform printing and that does not affect the throughput of printing operation at that time.

【0010】[0010]

【課題を解決するための手段】本発明は、上位装置から
送出される印刷データに対応するイメージデータをフレ
ームメモリ上に展開し、その展開されたイメージデータ
に基づいて印刷動作を行うプリンタにおいて、前記印刷
データに基づく印刷を行う際に罫線又は網かけ等をフォ
ームオーバーレイ印刷するために使用されるフォームデ
ータをイメージデータとして複数パターン分記憶してい
るフォームデータ記憶手段と、所定操作に応じて前記フ
ォームデータ記憶手段に記憶されているフォームデータ
のパターンを指定するフォームデータ選択手段と、前記
フォームデータ選択手段により指定されたフォームデー
タを前記フォームデータ記憶手段から読み出すととも
に、その読み出したフォームデータと前記上位装置から
送出される印刷データに対応するイメージデータとを前
記フレームメモリ上に合成して展開するフォームオーバ
ーレイ展開手段とを有することを特徴としている。
SUMMARY OF THE INVENTION The present invention is a printer for expanding image data corresponding to print data sent from a higher-level device on a frame memory and performing a printing operation based on the expanded image data. Form data storage means for storing a plurality of patterns of form data used as image data for performing form overlay printing of ruled lines or shading when performing printing based on the print data; Form data selecting means for designating a pattern of the form data stored in the form data storing means, and reading the form data designated by the form data selecting means from the form data storing means, and the read form data and the Print data sent from the host device Is characterized by having a form overlay deployment means for deploying the image data corresponding synthesized and on the frame memory to.

【0011】[0011]

【作用】フォームデータ記憶手段は、横罫線や網かけを
印刷するために必要なフォームデータを何種類かのパタ
ーンに分けて記憶している。操作者が印刷に先だち行っ
た所定操作に基づいて、フォームデータ選択手段が上記
パターンのいずれかを選択する。フォームオーバーレイ
展開手段は、上記フォームデータ選択手段により選択さ
れたフォームデータをフォームデータ記憶手段から読み
出すとともに、これを上位装置からの印刷データと合成
してフレームメモリ上に展開する。フレームメモリ上に
展開されたイメージデータに基づいてフォームオーバー
レイ印刷がなされる。したがって、本来の印刷データを
生成する既存の印刷処理プログラムに手を加える必要が
ない。所定操作に基づいて、フォームオーバーレイ印刷
を行うことができる。また、その際に、上位装置がフォ
ームオーバーレイ印刷の制御に関与しないので、印刷動
作のスループットに影響を与えないで済む。
The form data storage means stores the form data required for printing horizontal ruled lines and halftone dots in several types of patterns. The form data selecting means selects one of the above patterns based on a predetermined operation performed by the operator prior to printing. The form overlay expanding means reads out the form data selected by the form data selecting means from the form data storing means, combines this with the print data from the upper apparatus, and expands it on the frame memory. Form overlay printing is performed based on the image data developed on the frame memory. Therefore, it is not necessary to modify the existing print processing program that generates the original print data. Form overlay printing can be performed based on a predetermined operation. Further, at this time, since the higher-level device does not participate in the control of the form overlay printing, it does not affect the throughput of the printing operation.

【0012】[0012]

【実施例】次に、本発明について図面を参照して説明す
る。図1は、本発明のプリンタの一実施例を示すブロッ
ク図であり、図2は、フォームオーバーレイ印刷のデー
タ処理の流れを示すフローチャートである。
Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the printer of the present invention, and FIG. 2 is a flow chart showing the flow of data processing of form overlay printing.

【0013】図1において、ホストコンピュータ等の上
位装置10からプリンタ20に対して印刷データ等がデ
ータDLを介して送出される。プリンタ20は、以下に
示す各部の制御を司る中央処理装置(以下、CPUとい
う)21と、上位装置10とのデータ通信を制御するI
/F手段22と、プリンタの動作状態の表示やその他必
要な表示を行う表示器DS及び操作者がフォームデータ
を指定する際に操作するフォーム選択スイッチSW1〜
SWnを具備する操作部23と、帳票用紙等の媒体に印
刷を行う印刷機構24と、CPU21の動作プログラム
を格納するプログラムメモリ25と、通信バッファ26
aのための領域を有するワークメモリ26と、イメージ
データを展開するためのフレームメモリ27と、所定の
フォームデータが複数のパターン分登録されているフォ
ームデータ記憶手段28と、上位装置10からASCC
Iコード等の形式で送出されるキャラクタデータに対応
するイメージデータを生成するキャラクタジェネレータ
29とを具備している。CPU21と上述した各部22
〜29は、バスBにより接続されている。
In FIG. 1, print data and the like are sent from a host computer 10 or other higher-level device 10 to a printer 20 via data DL. The printer 20 controls data communication between a central processing unit (hereinafter, referred to as a CPU) 21 that controls each unit described below and the host device 10.
/ F means 22, a display device DS for displaying the operating state of the printer and other necessary displays, and a form selection switch SW1 to be operated when the operator specifies the form data.
An operation unit 23 including SWn, a printing mechanism 24 that prints on a medium such as form paper, a program memory 25 that stores an operation program of the CPU 21, and a communication buffer 26.
a work memory 26 having an area for a, a frame memory 27 for expanding image data, a form data storage unit 28 in which predetermined form data is registered for a plurality of patterns, and a host device 10 to the ASCC.
A character generator 29 for generating image data corresponding to the character data transmitted in the form of I code or the like. CPU 21 and each section 22 described above
.About.29 are connected by a bus B.

【0014】フォームデータ記憶手段28には、罫線や
網かけの印刷を行うために必要なイメージデータである
フォームデータFD1〜FDnが複数パターン分登録さ
れている。このフォームデータ記憶手段28は、プリン
タ20の電源が切断されても、記憶内容が消去されない
記憶素子や記憶装置であればよく、例えば、ROMや磁
気ディスク、あるいはROMを搭載したICカードであ
る。
In the form data storage means 28, a plurality of patterns of form data FD1 to FDn, which are image data necessary for printing ruled lines and halftone dots, are registered. The form data storage means 28 may be any storage element or storage device whose stored contents are not erased even when the power of the printer 20 is turned off, and is, for example, a ROM, a magnetic disk, or an IC card equipped with a ROM.

【0015】操作部23のフォーム選択スイッチSW1
〜SWnは、上記各フォームデータFD1〜FDnの各
パターンに対応して設けられているものであり、プリン
タ20の操作パネル等に設けられている。したがって、
操作者は、所望のフォームデータFD1〜FDnに対応
するフォーム選択スイッチSW1〜SWnをONに設定
操作することにより、フォームデータを指定することが
できる。
Form selection switch SW1 of operation unit 23
To SWn are provided corresponding to each pattern of the above-mentioned form data FD1 to FDn, and are provided on the operation panel or the like of the printer 20. Therefore,
The operator can specify the form data by setting ON the form selection switches SW1 to SWn corresponding to the desired form data FD1 to FDn.

【0016】通信バッファ26aは、上位装置10から
受信したキャラクタデータを一時的に格納するためのも
のである。CPU21は、通信バッファ26aに格納さ
れているキャラクタデータに対応するイメージデータを
キャラクタジェネレータ29から読み出して、フレーム
メモリ27上に展開する。
The communication buffer 26a is for temporarily storing the character data received from the host device 10. The CPU 21 reads out the image data corresponding to the character data stored in the communication buffer 26 a from the character generator 29 and expands it on the frame memory 27.

【0017】CPU21は、フォーム選択スイッチSW
1〜SWnの設定状態を読み取ると、その設定状態に対
応するパターンのフォームデータをフォームデータ記憶
手段28から選択的に読み出してフレームメモリ27上
にイメージデータとして展開する。
The CPU 21 is a form selection switch SW.
When the setting state of 1 to SWn is read, the form data of the pattern corresponding to the setting state is selectively read from the form data storage means 28 and developed as image data on the frame memory 27.

【0018】次に、図1のブロック図及び図2に示すフ
ローチャートを参照して印刷データに選択されたフォー
ムデータをフォームオーバーレイ印刷を行う際の動作に
ついて説明する。
Next, the operation of performing form overlay printing of the form data selected as the print data will be described with reference to the block diagram of FIG. 1 and the flowchart shown in FIG.

【0019】まず、操作者は、印刷に先だって、プリン
タ20の操作部23のフォーム選択スイッチSW1〜S
Wnの中から所望のフォームデータのパターンに対応す
るスイッチを選択して設定操作する(ステップS1)。
First, the operator selects the form selection switches SW1 to SW of the operation unit 23 of the printer 20 prior to printing.
A switch corresponding to a desired pattern of form data is selected from Wn and a setting operation is performed (step S1).

【0020】CPU21は、操作部23におけるフォー
ム選択スイッチの設定状態を読み取り(ステップS
2)、フォームデータ記憶手段28から読み出すべきフ
ォームデータのパターンを決定する(ステップS3)。
The CPU 21 reads the setting state of the form selection switch on the operation unit 23 (step S
2) The pattern of form data to be read from the form data storage means 28 is determined (step S3).

【0021】次いで、CPU21は、I/F手段22が
上位装置10から印刷データを受信したか否かを判定し
(ステップS4)、その判定結果が否定(“N”)なら
ばこのステップS4を繰り返して印刷データの送出を待
機し、判定結果が肯定(“Y”)ならば、I/F手段2
2が受信した印刷データをワークメモリ26の通信バッ
ファ26aに格納させる(ステップS5)。
Next, the CPU 21 determines whether or not the I / F means 22 has received print data from the higher-level device 10 (step S4). If the determination result is negative ("N"), this step S4 is executed. Repeatedly waiting for transmission of print data, and if the determination result is affirmative (“Y”), I / F means 2
The print data received by No. 2 is stored in the communication buffer 26a of the work memory 26 (step S5).

【0022】所定量の印刷データが通信バッファ26a
に蓄積されると、CPU21は、蓄積された印刷データ
に対応するイメージデータをキャラクタジェネレータ2
9から読み出してフレームメモリ27に展開する(ステ
ップS6)。なお、このとき、フレームメモリ27に展
開されるのは、印刷単位である1ページ分のイメージデ
ータとなる。
A predetermined amount of print data is stored in the communication buffer 26a.
When stored in the character generator 2, the CPU 21 stores image data corresponding to the stored print data.
The data is read from the memory 9 and loaded in the frame memory 27 (step S6). At this time, the image data for one page, which is a printing unit, is expanded in the frame memory 27.

【0023】CPU21は、上記ステップS6に続い
て、ステップS3で決定したフォームデータFD1〜F
Dnのいずれかのイメージデータをフォームデータ記憶
手段28から読み出してフレームメモリ27に展開する
(ステップS7)。なお、このとき、フレームメモリ2
7に展開されるのは、上述した印刷データのイメージデ
ータと同様に、印刷単位である1ページ分のイメージデ
ータとなる。上記ステップS6,S7の実行により、フ
レームメモリ27上に1ページ分の印刷データ及びフォ
ームデータの両者がイメージデータとして合成及び展開
される。なお、上記ステップS6,S7の順序は逆であ
ってもよい。
The CPU 21 follows the step S6, and then the form data FD1 to F determined in the step S3.
Any image data of Dn is read from the form data storage means 28 and expanded in the frame memory 27 (step S7). At this time, the frame memory 2
Similar to the image data of the above-mentioned print data, the image data for 7 becomes image data for one page which is a print unit. By executing steps S6 and S7, both print data and form data for one page are combined and developed as image data on the frame memory 27. The order of steps S6 and S7 may be reversed.

【0024】CPU21は、フレームメモリ27上に展
開されたイメージデータを印刷機構24に転送して印刷
を実行させる。この結果、操作者がステップS1で選択
したフォームデータFD1〜FDnのいずれかが印刷デ
ータと合成されて印刷される。すなわち、フォームオー
バーレイ印刷が実行される(ステップS8)。
The CPU 21 transfers the image data expanded on the frame memory 27 to the printing mechanism 24 to execute printing. As a result, any of the form data FD1 to FDn selected by the operator in step S1 is combined with the print data and printed. That is, form overlay printing is executed (step S8).

【0025】CPU21は、印刷動作が終了すると、続
いて印刷すべき印刷データが通信バッファ26aに蓄積
されているか否かを判定し(ステップS9)、その判定
結果が肯定(“Y”)ならばステップS6に移行して次
ページ分の印刷動作を実行し、判定結果が否定
(“N”)ならば印刷動作を終了する。
Upon completion of the printing operation, the CPU 21 determines whether or not print data to be printed subsequently is stored in the communication buffer 26a (step S9). If the determination result is affirmative ("Y"). In step S6, the printing operation for the next page is executed, and if the determination result is negative ("N"), the printing operation ends.

【0026】以上詳述したように、本実施例のプリンタ
によれば、本来の印刷データを生成する既存の印刷処理
プログラムに手を加える必要がない。プリンタ20の操
作部23のフォーム選択スイッチに簡単な操作を行うだ
けでフォームオーバーレイ印刷を行うことができる。ま
た、その際に、上位装置10がフォームオーバーレイ印
刷に関与フォームデータの作成に関与しないので、印刷
動作のスループットに影響を与えないで済むという利点
がある。
As described in detail above, according to the printer of this embodiment, it is not necessary to modify the existing print processing program for generating the original print data. Form overlay printing can be performed by simply performing a simple operation on the form selection switch of the operation unit 23 of the printer 20. Further, at this time, since the higher-level device 10 does not participate in the creation of the form data related to the form overlay printing, there is an advantage that the throughput of the printing operation is not affected.

【0027】また、上述の実施例においては、図1に示
すように、CPU21がフレームメモリ27、フォーム
データ記憶手段28、及びキャラクタジェネレータ(C
G)29に対して直接にデータを転送したり、制御を行
う構成となっているが、図3に示すような構成とするこ
ともできる。すなわち、画像処理を高速に処理する画像
処理専用のサブCPUである画像処理部30をバスBに
接続するとともに、その画像処理部30の制御するロー
カルバスBLにフレームメモリ27、フォームデータ記
憶手段28、及びキャラクタジェネレータ29を接続
し、これら各部に対しては画像処理部30がデータ転送
や制御を行う。この場合には、CPU21が処理すべき
データ量が低減されるので、CPU21のデータ処理が
より高速化できる利点がある。
Further, in the above embodiment, as shown in FIG. 1, the CPU 21 controls the frame memory 27, the form data storage means 28, and the character generator (C).
G) The structure is such that data is directly transferred to or controlled by the device 29, but a structure as shown in FIG. 3 can also be adopted. That is, the image processing unit 30 which is a sub CPU dedicated to image processing for high-speed image processing is connected to the bus B, and the local bus BL controlled by the image processing unit 30 is connected to the frame memory 27 and the form data storage unit 28. , And the character generator 29 are connected, and the image processing unit 30 performs data transfer and control for these respective units. In this case, since the amount of data to be processed by the CPU 21 is reduced, there is an advantage that the data processing of the CPU 21 can be speeded up.

【0028】なお、上述した実施例と請求項の記載との
対応を説明すると、フォームデータFD1〜FDnを記
憶しているフォームデータ記憶手段28がフォームデー
タ記憶手段を構成している。操作部23のフォーム選択
スイッチSW1〜SWnと、その設定状態を読み取って
(図2:ステップS2)、フォームデータのパターンを
決定する(図2:ステップS3)動作を行うCPU21
とが、所定操作に応じてフォームデータのパターンを指
定するフォームデータ選択手段を構成している。また、
フォーム選択スイッチSW1〜SWnにより指定された
フォームデータFD1〜FDnをフォームデータ記憶手
段28から読み出すとともに、上位装置10から送出さ
れる印刷データに対応するイメージデータをCG29か
ら読み出し、上記両イメージデータをフレームメモリ2
7上に合成して展開する動作(図2:ステップS6,S
7)を行うCPU21がフォームオーバーレイ展開手段
を構成している。
The correspondence between the above-described embodiment and the claims will be described. The form data storage means 28 storing the form data FD1 to FDn constitutes the form data storage means. The CPU 21 that performs the operation of reading the form selection switches SW1 to SWn of the operation unit 23 and the setting state thereof (FIG. 2: step S2) and determining the form data pattern (FIG. 2: step S3).
And form a form data selection means for designating a pattern of form data according to a predetermined operation. Also,
The form data FD1 to FDn designated by the form selection switches SW1 to SWn are read from the form data storage means 28, the image data corresponding to the print data sent from the higher-level device 10 is read from the CG 29, and both the image data are framed. Memory 2
Operation for synthesizing and expanding on 7 (FIG. 2: Steps S6, S
The CPU 21 that performs 7) constitutes a form overlay expanding means.

【0029】なお、フォームデータ記憶手段には、使用
頻度の高いフォームデータを予め固定的に登録しておけ
ばよいが、ユーザーが任意にフォームデータを作成して
登録する必要があれば、フォームデータ記憶手段として
書き込み可能なROMを使用すればよい。
It should be noted that the form data storage means may be fixedly registered in advance with frequently used form data, but if the user needs to create and register form data arbitrarily, A writable ROM may be used as the storage means.

【0030】[0030]

【発明の効果】以上詳述したように、本発明のプリンタ
によれば、操作者の所定操作によってフォームデータの
パターンを指定することにより、横罫線や網かけを印刷
するために必要なフォームデータをフォームデータ記憶
手段から読み出すとともに、これを上位装置からの印刷
データと合成してフレームメモリ上に展開して、そのフ
レームメモリ上に展開されたイメージデータに基づいて
フォームオーバーレイ印刷を行う。したがって、従来の
プリンタと違って、本来の印刷データを生成する既存の
印刷処理プログラムに手を加える必要がなく、プリンタ
に簡単な操作を行うだけでフォームオーバーレイ印刷を
行うことができる。また、その際に、上位装置がフォー
ムオーバーレイ印刷の制御に関与しないので、印刷動作
のスループットに影響を与えないで済むという利点があ
る。
As described above in detail, according to the printer of the present invention, the form data necessary for printing horizontal ruled lines and halftone dots can be obtained by designating the form data pattern by a predetermined operation of the operator. Is read from the form data storage means, is combined with the print data from the higher-level device, is expanded on the frame memory, and form overlay printing is performed based on the image data expanded on the frame memory. Therefore, unlike a conventional printer, it is not necessary to modify an existing print processing program that generates original print data, and form overlay printing can be performed by only performing a simple operation on the printer. Further, at this time, since the upper device does not participate in the control of the form overlay printing, there is an advantage that the throughput of the printing operation is not affected.

【図面の簡単な説明】[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 a flowchart showing a flow of data processing of form overlay printing in the embodiment.

【図3】他の実施例を示すブロック図である。FIG. 3 is a block diagram showing another embodiment.

【図4】予め罫線が印刷された帳票用紙に対する印刷を
示す説明図である。
FIG. 4 is an explanatory diagram showing printing on a form sheet on which ruled lines are printed in advance.

【図5】予め罫線等が印刷されていない帳票用紙に対す
る印刷を示す説明図である。
FIG. 5 is an explanatory diagram showing printing on a form sheet on which ruled lines and the like are not printed in advance.

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

10 上位装置 20 プリンタ 21 CPU 22 I/F手段 23 操作部 SW1〜SWn フォーム選択スイッチ 24 印刷機構 25 プログラムメモリ 26 ワークメモリ 26a 通信バッファ 27 フレームメモリ 28 フォームデータ記憶手段 FD1〜FDn フォームデータ 29 キャラクタジェネレータ(CG) DESCRIPTION OF SYMBOLS 10 host device 20 printer 21 CPU 22 I / F means 23 operation part SW1 to SWn form selection switch 24 printing mechanism 25 program memory 26 work memory 26a communication buffer 27 frame memory 28 form data storage means FD1 to FDn form data 29 character generator ( CG)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】上位装置から送出される印刷データに対応
するイメージデータをフレームメモリ上に展開し、その
展開されたイメージデータに基づいて印刷動作を行うプ
リンタにおいて、 前記印刷データに基づく印刷を行う際に罫線又は網かけ
等をフォームオーバーレイ印刷するために使用されるフ
ォームデータをイメージデータとして複数パターン分記
憶しているフォームデータ記憶手段と、 所定操作に応じて前記フォームデータ記憶手段に記憶さ
れているフォームデータのパターンを指定するフォーム
データ選択手段と、 前記フォームデータ選択手段により指定されたフォーム
データを前記フォームデータ記憶手段から読み出すとと
もに、その読み出したフォームデータと前記上位装置か
ら送出される印刷データに対応するイメージデータとを
前記フレームメモリ上に合成して展開するフォームオー
バーレイ展開手段とを有すること、 を特徴とするプリンタ。
1. A printer that expands image data corresponding to print data sent from a higher-level device on a frame memory and performs a printing operation based on the expanded image data, and performs printing based on the print data. Form data storage means for storing a plurality of patterns of form data used for form overlay printing of ruled lines or shading as image data, and stored in the form data storage means according to a predetermined operation. Form data selecting means for specifying the pattern of the form data, and the form data specified by the form data selecting means are read from the form data storing means, and the read form data and the print data sent from the host device Image day corresponding to Printer according to claim, having a form overlay deployment means for deploying the door synthesized and on the frame memory.
JP7044865A 1995-02-09 1995-02-09 Printer Pending JPH08216475A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7044865A JPH08216475A (en) 1995-02-09 1995-02-09 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7044865A JPH08216475A (en) 1995-02-09 1995-02-09 Printer

Publications (1)

Publication Number Publication Date
JPH08216475A true JPH08216475A (en) 1996-08-27

Family

ID=12703397

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7044865A Pending JPH08216475A (en) 1995-02-09 1995-02-09 Printer

Country Status (1)

Country Link
JP (1) JPH08216475A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2387818A (en) * 2002-04-24 2003-10-29 Hewlett Packard Co A printing system for combining print data with background image data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2387818A (en) * 2002-04-24 2003-10-29 Hewlett Packard Co A printing system for combining print data with background image data
GB2387818B (en) * 2002-04-24 2005-10-26 Hewlett Packard Co A printing system and method for combining print job data with background image data

Similar Documents

Publication Publication Date Title
JPH0651739A (en) Method for generating character pattern and device therefor
JPH09164739A (en) Printing device
JP3029136B2 (en) Output method and device
JPH08216475A (en) Printer
JP3391185B2 (en) Drawing processing device
JPH0383673A (en) Page printer with editing function
JPH07172022A (en) Printing controller
JP3254011B2 (en) Form drawing system
JP2598506B2 (en) Printing control device
JP3247550B2 (en) Printing apparatus and printing method
JP2728916B2 (en) Character processing apparatus and method
JPS62191973A (en) Bit pattern editing processor in bit map memory
JPH07214874A (en) Printer
JPH058449A (en) Output apparatus
JPH0699615A (en) Data processing method of page printer
JPS63242561A (en) Font reducing system
JPH05108809A (en) Picture forming device
JPH086542A (en) Character font and method and device for pattern expansion of same
JPH0499657A (en) Image supplying device
JPS62278668A (en) Information processor
JPH07121516A (en) Data processor and method for display control
JPS6359575A (en) Test printing system
JPH10157219A (en) Apparatus for controlling printing density of printer
JPH02225066A (en) Printing device
JPH04156780A (en) Color printer