JPH04182822A - Printer device - Google Patents
Printer deviceInfo
- Publication number
- JPH04182822A JPH04182822A JP2311612A JP31161290A JPH04182822A JP H04182822 A JPH04182822 A JP H04182822A JP 2311612 A JP2311612 A JP 2311612A JP 31161290 A JP31161290 A JP 31161290A JP H04182822 A JPH04182822 A JP H04182822A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- data
- page
- information
- form overlay
- 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
Links
- 238000007906 compression Methods 0.000 claims abstract description 12
- 230000006835 compression Effects 0.000 claims abstract description 11
- 230000006837 decompression Effects 0.000 claims description 5
- 230000015654 memory Effects 0.000 abstract description 40
- 238000000034 method Methods 0.000 abstract description 17
- 239000006260 foam Substances 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 4
- 108091008695 photoreceptors Proteins 0.000 description 4
- 238000013144 data compression Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明はプリンタ装置に関し、特に、フオームオーバレ
イを行うページプリンタ装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printer device, and particularly to a page printer device that performs form overlay.
[従来の技術]
従来のページプリンタ装置におけるページ編集処理の一
例を第4図を参照して説明する。[Prior Art] An example of page editing processing in a conventional page printer device will be described with reference to FIG.
まず、ホストコンピュータ41から送られた1ペ一ジ分
の印字情報は、インターフェース42を介してページバ
ッファメモリ43に格納される。First, print information for one page sent from the host computer 41 is stored in the page buffer memory 43 via the interface 42 .
次にCPU51からの指令に基づいて、ページバッファ
メモリ43から印字情報である文字コードを読み出し文
字フォントメモリ44に格納しである文字フォントを呼
び出し、テキスト用ビットマツプメモリ45にビットマ
ツプ展開する。Next, based on a command from the CPU 51, a character code, which is printing information, is read from the page buffer memory 43, stored in the character font memory 44, a certain character font is called, and a bitmap is developed in the text bitmap memory 45.
またフオームオーバレイの指示が印字情報に含まれてい
るなら、フオームオーバレイ用メモリ46にパターン化
した文字や記号などを展開する。If a form overlay instruction is included in the print information, patterned characters, symbols, etc. are developed in the form overlay memory 46.
さらに、パラレルシリアル変換部47はテキスト用ビッ
トマツプメモリ45及びフオームオーバレイ用ビットマ
ツプメモリ46から各々展開したドツトイメージを読み
出し入力し、読み出したパラレルデータの論理和をとり
、シリアルデータに変換して記録部48へ送る。最後に
、記録部48は入力される画像情報に基づき、感光体に
照射する光ビームを走査し、感光体上に静電潜像を形成
する。Further, the parallel-to-serial converter 47 reads and inputs the developed dot images from the text bitmap memory 45 and the form overlay bitmap memory 46, calculates the logical OR of the read parallel data, converts it into serial data, and records the data. Send to Department 48. Finally, the recording unit 48 scans the light beam irradiated onto the photoreceptor based on the input image information to form an electrostatic latent image on the photoreceptor.
ここでCPU51にはページ編集および印字処理等を実
行する制御プログラムを格納するROM49と、各種プ
ログラムの実行内におけるワークエリアとして用いられ
るRAM50とを有している。また、ページプリンタ装
置の構成要素は互いにCPUバス52を介して情報を交
換する。Here, the CPU 51 has a ROM 49 that stores a control program for executing page editing, printing processing, etc., and a RAM 50 that is used as a work area during the execution of various programs. Additionally, the components of the page printer device exchange information with each other via the CPU bus 52.
[発明が解決しようとする課題]
しかしながら、上記従来例ではページ単位にフオームオ
ーバレイ処理を行い、かつ、1個のフオームオーバレイ
用ビットマツプメモリには1種類のフオームオーバレイ
イメージを記憶していたため、同じ文字や数値データを
用いて複数ページにわたり、それぞれのページが様式の
異なる帳票としてプリントを行う、即ち、複数種のフオ
ームオーバレイ処理を行う場合に次のような欠点があっ
た。[Problems to be Solved by the Invention] However, in the conventional example described above, form overlay processing is performed on a page-by-page basis, and one type of form overlay image is stored in one form overlay bitmap memory. When printing a plurality of pages using character and numerical data as a form with each page having a different format, that is, when performing plural types of form overlay processing, there are the following drawbacks.
(1)装置に実装したフオームオーバレイ用ビットマツ
プメモリの数が処理すべきフオームオーバレイの数に比
べて不足する場合、フオームオーバレイデータが変わる
毎に、ビットマツプイメージを書き変えなければならな
いので、処理時間が長くなる。(1) If the number of bitmap memories for form overlays installed in the device is insufficient compared to the number of form overlays to be processed, the bitmap image must be rewritten every time the form overlay data changes. It takes longer.
(2)同時にフオームオーバレイ処理を実行したい場合
、フオームオーバレイしたい数だけのビットマツプメモ
リが必要となり、大容量のメモリを装置の実装しなけれ
ばならずコストが高くなる。(2) If it is desired to perform form overlay processing at the same time, bitmap memories as many as the desired number of form overlays are required, and a large capacity memory must be installed in the device, increasing costs.
本発明は上記従来例に鑑みてなされたもので、フオーム
オーバレイ処理において処理時間と、フオームオーバレ
イ用メモリ容量の削減を可能とするプリンタ装置を提供
することを目的とする。The present invention has been made in view of the above conventional example, and an object of the present invention is to provide a printer device that can reduce processing time in form overlay processing and memory capacity for form overlay.
[課題を解決するための手段]
上記目的を達成するために本発明のプリンタ装置は以下
の様な構成からなる。即ち、
イメージ情報にフオームオーバレイを行って記録媒体に
プリントするプリンタ装置であって、前記イメージ情報
を記憶する第1記憶手段と、所定のフオームオーバレイ
情報に基づいて、前記所定のフオームオーバレイ情報を
ビットマツプデータに展開する展開手段と、前記ビット
マツプデータを圧縮する圧縮手段と、複数の圧縮された
ビットマツプデータを記憶する第2記憶手段と、前記第
2記憶手段から前記複数の圧縮されたビットマツプデー
タを順次読み出し伸長させる伸長手段と、前記第1記憶
手段からイメージ情報を読み出し前記伸長したビットマ
ツプデータと合成する合成手段とを有することを特徴と
するプリンタ装置を備える。[Means for Solving the Problems] In order to achieve the above object, the printer device of the present invention has the following configuration. That is, the printer apparatus performs form overlay on image information and prints it on a recording medium, the printer apparatus comprising: a first storage means for storing the image information; and a first storage means for storing the image information; an expansion means for expanding into map data, a compression means for compressing the bitmap data, a second storage means for storing a plurality of compressed bitmap data, and a plurality of compressed bits from the second storage means. A printer apparatus is provided, comprising an expansion means for sequentially reading and expanding map data, and a composition means for reading image information from the first storage means and combining it with the expanded bitmap data.
[作用]
以上の構成により本発明は、所定のフオームオーバレイ
情報に基づき、ビットマツプ展開した複数のビットマツ
プデータを圧縮して記憶し、イメージデータと合成する
際にはビットマツプデータを読み出して伸長させた後、
イメージデータと合成するよう動作する。[Operation] With the above configuration, the present invention compresses and stores a plurality of bitmap data developed into bitmaps based on predetermined form overlay information, and reads and decompresses the bitmap data when composing it with image data. After
Operates to combine with image data.
[実施例]
以下添付図面を参照して本発明の好適な実施例を詳細に
説明する。[Embodiments] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
第1図は本発明の代表的な実施例であるページプリンタ
装置の構成を示すブロック図である。第1図において、
ページプリンタ装置は、ホストコンピュータ1 (以下
、ホストという)から送られてきた印字情報を受信する
インタフェース2、その印字情報を格納するページバッ
ファメモリ3(以下、ページバッファという)、ホスト
lより入力される文字コードの字体を参照するための文
字フォントを格納している文字フォントメモリ4、パタ
ーン化した文字を展開してドツトイメージとして記憶す
るテキストデータ用ビットマツプメモリ5(以下、テキ
ストメモリという)、フオームオーバレイ用ビットマツ
プメモリ6(以下、フオームオーバレイメモリという)
、フオームオーバレイ用データを圧縮する圧縮回路7、
フオームオーバレイメモリ6から圧縮されたフオームオ
ーバレイ用データを読み出し伸張させる伸張回路8、テ
キストメモリ5から読み出したパラレルデータとフオー
ムオーバレイメモリ6から伸張回路8を通して読み出し
たパラレルデータとの論理和をとりシリアルデータに変
換するパラレルシリアル変換部9、入力されるラスタデ
ータに基づき、感光体に照射される光ビームを走査し、
感光体上に静電潜像を形成する記録部1o、及び、ペー
ジプリンタ装置全体を制御するCPU 13で構成され
る。FIG. 1 is a block diagram showing the configuration of a page printer device that is a typical embodiment of the present invention. In Figure 1,
The page printer device includes an interface 2 that receives print information sent from a host computer 1 (hereinafter referred to as the host), a page buffer memory 3 that stores the print information (hereinafter referred to as the page buffer), and an interface 2 that receives print information sent from the host computer 1 (hereinafter referred to as the page buffer). a character font memory 4 that stores a character font for referencing the font of the character code; a bitmap memory 5 for text data (hereinafter referred to as text memory) that stores patterned characters as dot images; Form overlay bitmap memory 6 (hereinafter referred to as form overlay memory)
, a compression circuit 7 for compressing form overlay data;
A decompression circuit 8 reads and decompresses the compressed form overlay data from the form overlay memory 6, and performs the logical OR of the parallel data read from the text memory 5 and the parallel data read from the form overlay memory 6 through the decompression circuit 8 to generate serial data. A parallel-to-serial converter 9 scans the light beam irradiated onto the photoreceptor based on the input raster data,
It is comprised of a recording section 1o that forms an electrostatic latent image on a photoreceptor, and a CPU 13 that controls the entire page printer apparatus.
ここで、CP tJ 13はページ編集および印字処理
等を制御する制御プログラムを格納するROM11と主
に各種プログラムの実行中におけるワークエリアとして
用いられるRAM12を有している。また、CPUバス
14はページプリンタ装置の構成要素各々が情報を交換
する際の情報伝送路として用いられる。Here, the CP tJ 13 has a ROM 11 that stores a control program for controlling page editing, printing processing, etc., and a RAM 12 that is mainly used as a work area during execution of various programs. Further, the CPU bus 14 is used as an information transmission path when each component of the page printer device exchanges information.
さらに本実施例の記録部10では公知の電子写真プロセ
スによって印字が行われるものとし、電子写真プロセス
に関する説明は省略する。Furthermore, it is assumed that printing is performed in the recording unit 10 of this embodiment by a known electrophotographic process, and a description of the electrophotographic process will be omitted.
次に上記のような構成をもつページプリンタ装置を用い
て実行されるフオームオーバレイ情報の圧縮及び伸長処
理について第2図に示すフローチャートを参照しながら
説明する。特にここでは、ホスト1からページプリンタ
装置に対して、テキスト用データとして同じ文字及び数
値を用い、様式の異なる3種類の帳票(3ペ一ジ分)を
プリントする命令が発行されたものとする。即ち、3ペ
一ジ分のプリント出力が完了するまで、テキストメモリ
5に展開されたビットマツプ情報はクリアされないこと
を前提としている。Next, the compression and expansion processing of form overlay information executed using the page printer having the above configuration will be explained with reference to the flowchart shown in FIG. In particular, here, it is assumed that host 1 issues a command to the page printer device to print three types of forms (one page of three pages) using the same characters and numbers as text data and in different formats. . That is, it is assumed that the bitmap information developed in the text memory 5 is not cleared until the printout of three pages is completed.
まず、ホスト1から送信されてきた印字情報をインタフ
ェース2を介して受信しページバッファ3に蓄積した後
、ステップS1ではページバッファ3から文字コード情
報を読み出す。続いてステップS2では、その文字コー
ド情報がテキスト用の情報であるかどうかを判断する。First, print information transmitted from the host 1 is received via the interface 2 and stored in the page buffer 3, and then character code information is read from the page buffer 3 in step S1. Subsequently, in step S2, it is determined whether the character code information is text information.
ここでその文字コード情報がテキスト用の情報であるな
ら、処理はステップS3に進み、文字フォントメモリ4
から参照してきたデータを基づきビットマツプ展開を行
う。さらにステップS4では、第3図の31に示すよう
にビットマツプ展開されたデータをテキストメモリ5に
書き込む。If the character code information is text information, the process proceeds to step S3, and the character font memory 4
Bitmap expansion is performed based on the data referenced from. Furthermore, in step S4, the bitmap-developed data is written into the text memory 5 as shown at 31 in FIG.
これに対して読み出した文字コード情報がテキスト用の
情報でないなら、処理はステップs5に進み、その文字
コード情報がフオームオーバレイ用の情報であるかをチ
エツクする。On the other hand, if the read character code information is not information for text, the process proceeds to step s5 and checks whether the character code information is information for form overlay.
ここでチエツクの結果、その文字コード情報がフオーム
オーバレイ用の情報であるなら処理はステップS6に進
む。これに対してその文字コード情報がフオームオーバ
レイ用の情報でないなら、処理はステップS10に進む
。Here, as a result of the check, if the character code information is information for form overlay, the process advances to step S6. On the other hand, if the character code information is not information for form overlay, the process proceeds to step S10.
ステップS6では、さらにそのフオームオーバレイ用の
情報が既にビットマツプ展開されているものか調べる。In step S6, it is further checked whether the form overlay information has already been developed into a bitmap.
ここで、フオームオーバレイするページがすでに展開さ
れていたと判断するなら、処理はステップS10に進む
。これに対してフオームオーバレイするページが未だに
ビットマツプ展開されていないと判断したなら、処理は
ステップS7に進む。Here, if it is determined that the page to be overlaid with the form has already been developed, the process proceeds to step S10. On the other hand, if it is determined that the page on which the form is to be overlaid has not yet been developed into a bitmap, the process proceeds to step S7.
ステップS7では、フオームオーバレイメモリ6に空き
があるかどうかを判断する。ここで、フオームオーバレ
イメモリ6に空きがないと判断されたなら、処理はステ
ップSIOに進む。これに対してフオームオーバレイメ
モリ6に空きが存在すると判断されたなら、処理はステ
ップS8に進む。In step S7, it is determined whether there is space in the form overlay memory 6. Here, if it is determined that there is no free space in the form overlay memory 6, the process proceeds to step SIO. On the other hand, if it is determined that there is space in the form overlay memory 6, the process proceeds to step S8.
ステップS8では、文字フォントメモリ4から参照して
きたデータに基づき第3図の32に示すビットマツプ展
開を行い、さらにその画像データをファクシミリで用い
られる公知のMH圧縮法等を用いて圧縮回路7で圧縮す
る。続いてステップS9では、その圧縮処理完了後のデ
ータを第3図の35に示すようにフオームオーバレイメ
モリ6に格納する。In step S8, bitmap expansion shown at 32 in FIG. 3 is performed based on the data referenced from the character font memory 4, and the image data is further compressed in the compression circuit 7 using the known MH compression method used in facsimile. do. Subsequently, in step S9, the data after the compression process is completed is stored in the form overlay memory 6 as shown at 35 in FIG.
最後にステップS10では、フオームオーバレイ処理及
びページ編集が一頁分終了したがどうかを判断する。こ
こで、末だ一頁分の処理を終了していないと判断したな
ら、処理はステップS1に戻り、前述の処理を一頁分の
処理終了まで繰り返す。これに対して一頁分の処理を終
了したと判断したなら、処理は終了する。Finally, in step S10, it is determined whether form overlay processing and page editing have been completed for one page. If it is determined that the processing for one page has not yet been completed, the process returns to step S1 and the above-described processing is repeated until the processing for one page is completed. On the other hand, if it is determined that the processing for one page has been completed, the processing ends.
一貫分の処理が終了したなら、次のページの処理の前述
の手順に従って実行し、次のページのフオームオーバレ
イデータが第3図の33に示すようにビットマツプ展開
され、第3図の36に圧縮されて格納される。さらに続
いて、3ページ目のフオームオーバレイデータが第3図
の34に示すようにビットマツプ展開され、第3図の3
7に圧縮されて格納される。When the consistent processing is completed, execute the process for the next page according to the above-mentioned procedure, and the form overlay data of the next page is expanded into a bitmap as shown in 33 in Figure 3, and compressed as 36 in Figure 3. and stored. Further, the form overlay data of the third page is expanded into a bitmap as shown in 34 in FIG.
7 and stored.
従って本実施例に従えば、フオームオーバレイ用のビッ
トマツプイメージデータを圧縮して記憶することができ
るので、メモリ容量を変えずに一度に複数ページ分のフ
オームオーバレイ用ビットマツプイメージを記憶できる
。Therefore, according to this embodiment, the bitmap image data for form overlay can be compressed and stored, so that a plurality of pages of bitmap images for form overlay can be stored at one time without changing the memory capacity.
また上記実施例では、フオームオーバレイデータのみを
圧縮処理の対象として圧縮処理を施して記憶する場合に
ついて説明したが、テキストデータを圧縮処理の対象と
することも、もちろん可能である。Further, in the above embodiment, a case has been described in which only form overlay data is subjected to compression processing and stored, but it is of course also possible to subject text data to compression processing.
さらに上記実施例では、データの圧縮及び伸張処理をフ
ァクシミリ装置で応用されているMH圧縮法を適用して
ハードウェアで行う場合についてのみ説明したが、もち
ろんデータの圧縮及び伸張処理をソフトウェアで行うこ
とも可能である。Further, in the above embodiment, only the case where data compression and decompression processing is performed by hardware by applying the MH compression method applied in facsimile machines is explained, but of course, data compression and decompression processing can be performed by software. is also possible.
[発明の効果]
以上説明したように本発明によれば、ビット展開された
イメージデータを圧縮して記憶し、さらに伸長して使用
することができるので、プリンタ装置のビット展開用メ
モリの記憶容量を削減することができる効果がある。[Effects of the Invention] As explained above, according to the present invention, bit-expanded image data can be compressed and stored, and further expanded and used, thereby reducing the storage capacity of the bit-expanding memory of the printer device. It has the effect of reducing
第1図は本発明における代表的な実施例であるページプ
リンタの構成を示すブロック図、第2図はフオームオー
バレイ情報の圧縮処理及び伸長処理手順を示すフローチ
ャート、第3図はフオームオーバレイ用メモリの使用例
を示す図、そして、
第4図は従来例のページプリンタの構成を示すブロック
図である。
図中、1・・・ホストコンピュータ、2・・・インタフ
ェース、3・・・ページバッフアメそり、4・・・文字
フォントメモリ、5・・・テキスト用ビットマツプメモ
リ、6・・・フオームオーバレイ用ビットマツプメモリ
、7・・・圧縮回路、8・・・伸張回路、9・・・パラ
レルシリアル変換部、10・・・記録部、11・・・R
OM、12・・・RAM、13・・・CPU、14・・
・CPUバスである。FIG. 1 is a block diagram showing the configuration of a page printer that is a typical embodiment of the present invention, FIG. 2 is a flowchart showing the steps for compressing and decompressing form overlay information, and FIG. 3 is a block diagram showing the configuration of the form overlay memory. FIG. 4 is a block diagram showing the configuration of a conventional page printer. In the figure, 1: host computer, 2: interface, 3: page buffer, 4: character font memory, 5: bitmap memory for text, 6: for form overlay. bitmap memory, 7...compression circuit, 8...expansion circuit, 9...parallel-serial converter, 10...recording unit, 11...R
OM, 12...RAM, 13...CPU, 14...
・It is a CPU bus.
Claims (1)
プリントするプリンタ装置であつて、前記イメージ情報
を記憶する第1記憶手段と、所定のフォームオーバレイ
情報に基づいて、前記所定のフォームオーバレイ情報を
ビットマップデータに展開する展開手段と、 前記ビットマップデータを圧縮する圧縮手段と、 複数の圧縮されたビットマップデータを記憶する第2記
憶手段と、 前記第2記憶手段から前記複数の圧縮されたビットマッ
プデータを順次読み出し伸長させる伸長手段と、 前記第1記憶手段からイメージ情報を読み出し前記伸長
したビットマップデータと合成する合成手段とを有する
ことを特徴とするプリンタ装置。[Scope of Claims] A printer device that performs form overlay on image information and prints it on a recording medium, the printer device comprising: a first storage unit that stores the image information; and a first storage unit that stores the image information; a decompression means for decompressing overlay information into bitmap data; a compression means for compressing the bitmap data; a second storage means for storing a plurality of compressed bitmap data; A printer apparatus comprising: a decompressing means for sequentially reading and decompressing compressed bitmap data; and a combining means for reading image information from the first storage means and combining it with the decompressed bitmap data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2311612A JPH04182822A (en) | 1990-11-19 | 1990-11-19 | Printer device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2311612A JPH04182822A (en) | 1990-11-19 | 1990-11-19 | Printer device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04182822A true JPH04182822A (en) | 1992-06-30 |
Family
ID=18019351
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2311612A Pending JPH04182822A (en) | 1990-11-19 | 1990-11-19 | Printer device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04182822A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7519234B2 (en) | 2004-11-17 | 2009-04-14 | Seiko Epson Corporation | Apparatuses and methods for incorporating a border region within an image region |
-
1990
- 1990-11-19 JP JP2311612A patent/JPH04182822A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7519234B2 (en) | 2004-11-17 | 2009-04-14 | Seiko Epson Corporation | Apparatuses and methods for incorporating a border region within an image region |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH08224917A (en) | Printer and data control method | |
JP3029136B2 (en) | Output method and device | |
JPH04323060A (en) | Output method and apparatus | |
EP0503903A2 (en) | Image recording method and apparatus | |
JPH04182822A (en) | Printer device | |
JP3203660B2 (en) | Image recording device | |
JP3204136B2 (en) | Image processing apparatus and compression processing method | |
JPH05224846A (en) | Printing and recording device | |
JP3211711B2 (en) | Drawing device, drawing method, printer and image display device | |
JPH0471865A (en) | Printer | |
JP2958138B2 (en) | Image processing device | |
JP2004276537A (en) | Image processing apparatus and image processing method | |
JPH0640121A (en) | Printer | |
JP2774375B2 (en) | Printer device | |
JPH0462080A (en) | Printing device | |
JP3429402B2 (en) | Image forming device | |
JP3757297B2 (en) | Printing device | |
JPH08216462A (en) | Printer and its control | |
JP3591096B2 (en) | How to control a page printer | |
JPH09294210A (en) | Image processing unit and image processing method | |
JP2000225735A (en) | Image printer | |
JPH03112668A (en) | Printer | |
JPH0926781A (en) | Plotting processing device | |
JPH086542A (en) | Character font and method and device for pattern expansion of same | |
JPH04282272A (en) | Recorder |