JPH08230247A - Control device of page printer - Google Patents

Control device of page printer

Info

Publication number
JPH08230247A
JPH08230247A JP7036760A JP3676095A JPH08230247A JP H08230247 A JPH08230247 A JP H08230247A JP 7036760 A JP7036760 A JP 7036760A JP 3676095 A JP3676095 A JP 3676095A JP H08230247 A JPH08230247 A JP H08230247A
Authority
JP
Japan
Prior art keywords
memory
image data
processor
data
graphic
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.)
Withdrawn
Application number
JP7036760A
Other languages
Japanese (ja)
Inventor
Masanori Masubuchi
正紀 増淵
Tomohiko Kikuchi
朝彦 菊池
Hitoshi Shimizu
清水  仁
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.)
Koki Holdings Co Ltd
Original Assignee
Hitachi Koki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Koki Co Ltd filed Critical Hitachi Koki Co Ltd
Priority to JP7036760A priority Critical patent/JPH08230247A/en
Publication of JPH08230247A publication Critical patent/JPH08230247A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE: To enable the development and storing of compressed data to expanded image data by using a small capacity memory in the control unit of a page printer. CONSTITUTION: A large quantity of image data are processed by an expanding processor 1 developing compressed image data on a small capacity memory, a graphic processor 2 processing expanded image data and a memory access control circuit 5 controlling the access to the memories of both processors.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は圧縮イメージデータの伸
長機能及び伸長後のイメージデータの拡大・縮小・トリ
ミング等グラフィック機能を有するページプリンタ制御
装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a page printer control device having a decompression function for compressed image data and a graphic function for enlarging / reducing / trimming image data after decompression.

【0002】[0002]

【従来の技術】図3はページプリンタの構成図で、8は
制御部、9は印刷データ処理部、10はページメモリ、
11はデータ変換部、12はプリンタ部である。上位装
置からの印刷情報は、制御部8により受け取られる。制
御部8では受け取った印刷情報を解読し、印刷データ処
理部9に文字コード等を受け渡すと共に印刷指示を出
す。印刷データ処理部9は制御部8からの印刷指示に従
い、文字コード等を処理し、ドットパターン形式の印刷
データを発生しページメモリ10に格納する。データ変
換部11はページメモリ10から印刷データを読みだ
し、それをシリアルのドットデータに変換し、プリンタ
部12に送出する。
2. Description of the Related Art FIG. 3 is a block diagram of a page printer. 8 is a control unit, 9 is a print data processing unit, 10 is a page memory,
Reference numeral 11 is a data conversion unit, and 12 is a printer unit. The print information from the host device is received by the control unit 8. The control unit 8 decodes the received print information, transfers the character code and the like to the print data processing unit 9, and issues a print instruction. The print data processing unit 9 processes a character code or the like according to a print instruction from the control unit 8, generates print data in a dot pattern format, and stores the print data in the page memory 10. The data conversion unit 11 reads out print data from the page memory 10, converts it into serial dot data, and sends it to the printer unit 12.

【0003】ところで、ページプリンタは文字以外にも
絵・写真等のイメージの印刷が可能であるが、このイメ
ージのデータは通常、ホストコンピュータ等の上位装置
から送られる時点ですでにドットパターンの形態を持っ
ている。しかし近年では、このドットパターン形式のイ
メージデータをあるアルゴリズムに従い変換し、情報量
を圧縮した形のイメージデータもページプリンタで扱う
ようになってきた。この圧縮イメージデータを扱うペー
ジプリンタにおいては、ページプリンタ制御装置内で上
位装置より受信した圧縮イメージデータを伸長し、ドッ
トパターン形式のイメージデータに復元する処理(以下
圧縮イメージ伸長処理と呼ぶ)が必要となる。
By the way, a page printer can print an image such as a picture or a photograph in addition to characters, but the image data is usually in the form of a dot pattern when it is sent from a host device such as a host computer. have. However, in recent years, page printers have come to handle image data in a form in which the dot pattern format image data is converted according to an algorithm and the information amount is compressed. A page printer that handles this compressed image data requires a process (hereinafter referred to as a compressed image decompression process) that decompresses the compressed image data received from the host device in the page printer control device and restores it to image data in dot pattern format. Becomes

【0004】またプリンタによっては、上記の復元され
たドットパターン形式のイメージデータに対し、さらに
イメージの拡大・縮小、イメージの任意領域の切り出し
等のグラフィック処理(以下、単にグラフィック処理と
呼ぶ)を行なうものも出てきた。上記の圧縮イメージ伸
長処理及びグラフィック処理は、ページプリンタ制御装
置においてはページメモリ10にデータを格納する以前
に行なう必要があるため、印刷データ処理部9にて行な
われる。
Some printers further perform graphic processing (hereinafter simply referred to as graphic processing) on the restored image data in the dot pattern format, such as enlarging / reducing the image and cutting out an arbitrary area of the image. Some things came out. The compressed image decompression process and the graphic process described above are performed by the print data processing unit 9 because it is necessary for the page printer controller to store the data in the page memory 10.

【0005】図4は従来のページプリンタ制御装置にお
ける印刷データ処理部9の構成を示したものである。こ
こで文字はフォントデータを有するドットデータ変換部
13によりドットパターンに変換されページメモリ10
に送られる。また、圧縮イメージデータは伸長プロセッ
サ1に送られ、定められたアルゴリズムに従い伸長処理
を施され元のイメージデータに復元される。復元された
イメージデータは伸長イメージメモリ3に順次書き込ま
れる。グラフィックプロセッサ2は伸長イメージメモリ
3上に復元されたイメージデータを読み込み、さらにイ
メージの拡大・縮小、イメージの任意領域の切り出し等
の処理を行ない、処理後のデータをパターンメモリ4に
格納する。その後、ドットデータ変換部13がパターン
メモリ4からドットデータを読みだしページメモリ10
に転送する。
FIG. 4 shows the configuration of the print data processing unit 9 in the conventional page printer control device. Here, the characters are converted into a dot pattern by the dot data conversion unit 13 having font data, and the page memory 10
Sent to Further, the compressed image data is sent to the decompression processor 1 and decompressed according to a predetermined algorithm to be restored to the original image data. The restored image data is sequentially written in the expanded image memory 3. The graphic processor 2 reads the restored image data on the decompressed image memory 3, further performs image enlargement / reduction, cutout of an arbitrary area of the image, and the like, and stores the processed data in the pattern memory 4. After that, the dot data conversion unit 13 reads the dot data from the pattern memory 4, and the page memory 10
Transfer to.

【0006】[0006]

【発明が解決しようとする課題】従来のページプリンタ
制御装置では、前記した圧縮イメージ伸長処理におい
て、まず圧縮イメージデータを一旦全て圧縮イメージメ
モリ上に復元し、グラフィック処理は圧縮イメージ伸長
処理終了後グラフィックプロセッサを起動し行なうとい
う処理を行なっていた。
In the conventional page printer control apparatus, in the above-described compressed image decompression processing, first, all the compressed image data are restored in the compressed image memory, and the graphic processing is performed after the compressed image decompression processing is completed. It was performing the process of starting the processor.

【0007】このため自身の扱う最大の伸長イメージデ
ータを保持するのに十分な容量のメモリを搭載せねばな
らないという欠点があった。これにより特に大量のデー
タを扱わねばならないページプリンタ制御装置では大量
のメモリ搭載による装置の大型化及び高コスト化の要因
となり、またコスト及び物理のスペースの点で搭載でき
るメモリ量に制限を受けやすい小型のページプリンタ制
御装置では取扱う画像データ量も少なくせざるをえなか
った。
For this reason, there is a drawback in that a memory having a sufficient capacity to hold the maximum decompressed image data handled by itself must be installed. As a result, in a page printer control device that must handle a large amount of data, it becomes a factor of increasing the size and cost of the device due to the mounting of a large amount of memory, and the amount of memory that can be mounted tends to be limited in terms of cost and physical space. The small page printer controller had to reduce the amount of image data to be handled.

【0008】本発明の目的は上記した従来方法の欠点を
なくし、ページプリンタ制御装置で扱う伸長イメージデ
ータを格納できる伸長イメージメモリ容量よりも、実際
のメモリ容量を小さくすることである。
An object of the present invention is to eliminate the above-mentioned drawbacks of the conventional method and to make the actual memory capacity smaller than the expanded image memory capacity capable of storing the expanded image data handled by the page printer controller.

【0009】[0009]

【課題を解決するための手段】上記目的は伸長プロセッ
サによる圧縮イメージ伸長処理と、グラフィックプロセ
ッサによるグラフィック処理を並列処理させた上で、メ
モリアクセス制御回路により達成される。
The above object is achieved by the memory access control circuit after the compressed image expansion processing by the expansion processor and the graphic processing by the graphic processor are processed in parallel.

【0010】[0010]

【作用】メモリアクセス制御回路は伸長プロセッサのメ
モリへの書き込みとグラフィックプロセッサのメモリか
らの読みだしにおいて、両プロセッサが互いに行うアク
セスを相関的にある特定の範囲を越えないよう制御す
る。これにより、ある特定の範囲のデータを保持するの
に必要な容量のみの伸長イメージメモリにて、装置の扱
うそれ以上の伸長イメージデータを処理できるよう作用
する。
The memory access control circuit correlatively controls accesses performed by the two processors to and from each other in writing into the memory of the decompression processor and reading from the memory of the graphic processor so as not to exceed a certain range. As a result, the decompressed image memory having only the capacity necessary for holding the data in a certain specific range can process the decompressed image data larger than that handled by the apparatus.

【0011】[0011]

【実施例】図1に本発明の一実施例を示す。伸長プロセ
ッサ1は圧縮イメージデータを伸長し、ドットパターン
データをゲート6を介して伸長イメージメモリ3に書き
込む。一方グラフィックプロセッサ2は伸長イメージメ
モリ3上のドットパターンデータをゲート7を介して読
みだし、これにグラフィック処理を施しパターンメモリ
4のある領域に書き込む。
FIG. 1 shows an embodiment of the present invention. The decompression processor 1 decompresses the compressed image data and writes the dot pattern data in the decompression image memory 3 via the gate 6. On the other hand, the graphic processor 2 reads out the dot pattern data on the decompressed image memory 3 through the gate 7, performs graphic processing on the dot pattern data, and writes it in an area of the pattern memory 4.

【0012】メモリアクセス制御回路5は伸長プロセッ
サ1及びグラフィックプロセッサ2の伸長イメージメモ
リ3に対するアクセスの制御として、各々のプロセッサ
において開始されたメモリアクセスの実行又は待ちの指
示、及び伸長イメージメモリ3に対する実際のアクセス
を行う。ゲート6及び7はデータの流れを制御するゲー
トである。
The memory access control circuit 5 controls the access to the decompressed image memory 3 of the decompressing processor 1 and the graphic processor 2 to instruct execution or waiting of the memory access started in each processor, and to actually execute the decompressing image memory 3. Access. Gates 6 and 7 are gates that control the flow of data.

【0013】ところで本実施例を採用したページプリン
タ制御装置においては、取扱う最大の伸長イメージデー
タ量(伸長プロセッサ1が出力する最大のイメージデー
タ量)が128メガバイトである。従来方式であると伸
長イメージメモリ3の容量を128メガバイトにしなけ
ればならなかったが、本実施例ではこれを64キロバイ
トとしている。以下図を用いてメモリ制御方式を説明す
る。
In the page printer controller adopting this embodiment, the maximum amount of expanded image data to be handled (the maximum amount of image data output by the expansion processor 1) is 128 megabytes. In the conventional method, the capacity of the decompression image memory 3 had to be 128 megabytes, but in the present embodiment, this is 64 kilobytes. The memory control method will be described below with reference to the drawings.

【0014】図2は本実施例における伸長イメージメモ
リ3の概念図である。本図において下から上、図中の矢
印方向にアドレスが増えるものとする。 a)伸長プロセッサ1が出力、又はグラフィックプロセ
ッサ2が入力する最大の伸長イメージデータ128メガ
バイトのエリア b)物理的な伸長イメージメモリ3の容量64キロバイ
トのエリア つまり伸長プロセッサ1及びグラフィックプロセッサ2
が扱う伸長イメージメモリ3は64キロバイトのブロッ
クを仮想的に2000個連ねた構造をしており、各々の
64キロバイトのブロック(1)〜(2000)は実際
は同一の64キロバイトのメモリ上に記録される。
FIG. 2 is a conceptual diagram of the decompression image memory 3 in this embodiment. In this figure, the addresses increase from bottom to top in the direction of the arrow in the figure. a) Area of maximum expanded image data 128 megabytes output by the expansion processor 1 or input by the graphic processor 2 b) Physical expansion image memory 3 area of 64 kilobytes, that is, expansion processor 1 and graphic processor 2
The decompressed image memory 3 handled by has a structure in which 2000 blocks of 64 kilobytes are virtually connected, and each block of 64 kilobytes (1) to (2000) is actually recorded on the same memory of 64 kilobytes. It

【0015】本装置では処理上まず伸長プロセッサ1が
伸長イメージデータを伸長イメージメモリ3上に書き込
み、その書き込まれたデータをグラフィックプロセッサ
2が読み出すという順序となる。伸長プロセッサ1は図
中のブロック(1)の斜線部からデータを書き込みを開
始し、矢印方向に伸長イメージデータを書き進めてい
く。
In this apparatus, in order of processing, the decompression processor 1 first writes decompression image data in the decompression image memory 3, and the graphic processor 2 reads the written data. The decompression processor 1 starts writing data from the hatched portion of the block (1) in the figure and proceeds to write decompressed image data in the direction of the arrow.

【0016】グラフィックプロセッサ2は伸長プロセッ
サ1と処理を並行し、伸長プロセッサ1が書き込んだデ
ータをブロック(1)の斜線部より、やはり矢印方向に
読み進めていく。ここでメモリアクセス制御回路5は伸
長プロセッサ1がまだ書き込みを行っていないデータを
グラフィックプロセッサ2が読みだしてしまうことを防
ぐため、伸長プロセッサ1の書き込み処理よりもグラフ
ィックプロセッサ2の読みだし処理を先行させないよう
制御する。
The graphic processor 2 performs processing in parallel with the decompression processor 1, and reads the data written by the decompression processor 1 from the shaded portion of the block (1) in the arrow direction. Here, in order to prevent the graphic processor 2 from reading the data that the decompression processor 1 has not yet written, the memory access control circuit 5 precedes the reading process of the graphic processor 2 before the writing process of the decompression processor 1. Control not to let.

【0017】メモリアクセス制御回路5はグラフィック
プロセッサ2がメモリ読みだしを開始した場合、グラフ
ィックプロセッサ2が読みだそうとしているアドレスに
既に伸長プロセッサ1がデータを書き込み済かを判断
し、まだ書き込んでいなければグラフィックプロセッサ
2に対し現在実行中の読みだし動作を待つよう指示し、
既に書き込んでいればグラフィックプロセッサ2の読み
だし処理をそのまま実行する。
When the graphic processor 2 starts the memory reading, the memory access control circuit 5 judges whether the decompression processor 1 has already written the data to the address which the graphic processor 2 is going to read, and is still writing the data. If not, the graphic processor 2 is instructed to wait for the reading operation currently being executed,
If it has already been written, the reading process of the graphic processor 2 is executed as it is.

【0018】一方、伸長プロセッサ1の書き込み動作に
対しては以下の制御を行う。上述したように図2におい
てブロック(1)〜(2000)は物理的に同一のメモ
リである。つまり例えば図中の斜線部は伸長プロセッサ
1及びグラフィックプロセッサ2にとっては異なるアド
レスであるが、実際のメモリ上では同一アドレスであ
る。
On the other hand, the following control is performed for the write operation of the decompression processor 1. As described above, blocks (1) to (2000) in FIG. 2 are physically the same memory. That is, for example, the shaded areas in the figure have different addresses for the decompression processor 1 and the graphic processor 2, but have the same address in the actual memory.

【0019】従って、例えばグラフィックプロセッサ2
がブロック(1)の斜線部のアドレスのデータをまだ読
みだしていない場合、伸長プロセッサ1がブロック
(2)の斜線部のアドレスまでデータ書き込みを進めて
しまうと、実際のメモリ上ではグラフィックプロセッサ
2が読むべきデータが書き換わってしまうことになる。
Therefore, for example, the graphic processor 2
If the decompression processor 1 has proceeded to write data to the shaded address of the block (2) when the data of the shaded address of the block (1) has not yet been read, the graphic processor 2 is actually stored in the memory. The data that should be read will be rewritten.

【0020】この場合、伸長プロセッサ1が書き込みを
進められるのはブロック(1)の範囲内である。つまり
グラフィックプロセッサ2が読みだした最後のアドレス
まで書き込みを進めて良いことになる。
In this case, the decompression processor 1 can proceed with the writing within the range of the block (1). That is, the writing can be advanced to the last address read by the graphic processor 2.

【0021】ただし、本実施例に使用したグラフィック
プロセッサは読みだしを進めたアドレスに対し、最大3
2キロバイト分以前のデータを再読み込みする場合があ
るので、本実施例において実際には伸長プロセッサ1が
書き込みを進められるのはグラフィックプロセッサ2が
読みだしを進めた最後のアドレスに対し、32キロバイ
ト分である。
However, the graphic processor used in this embodiment has a maximum of 3 with respect to the read address.
Since data before 2 kilobytes may be read again, in the present embodiment, the decompression processor 1 can actually proceed to write 32 kilobytes to the last address where the graphic processor 2 proceeded to read. Is.

【0022】このことからメモリアクセス制御回路5
は、伸長プロセッサ1がメモリ書き込みを開始した場
合、伸長プロセッサ1からのアドレスが、グラフィック
プロセッサ2が読みだしを進めた最後のアドレスに対し
32キロバイト以内かを判断し、それを超えていれば、
伸長プロセッサ1に対し現在実行中の書き込み動作を待
つよう指示し、32キロバイト以内であれば伸長プロセ
ッサ1の書き込み処理をそのまま実行する。
From this, the memory access control circuit 5
Determines whether the address from the decompression processor 1 is within 32 kilobytes with respect to the last address read by the graphic processor 2 when the decompression processor 1 starts writing to the memory, and if it exceeds the address,
The decompression processor 1 is instructed to wait for the write operation currently being executed, and if it is within 32 kilobytes, the write processing of the decompression processor 1 is executed as it is.

【0023】以上のようなメモリアクセス制御回路5の
制御により、64キロバイトの伸長イメージメモリ3で
128メガバイトの伸長イメージデータを処理する。
Under the control of the memory access control circuit 5 as described above, the expanded image memory 3 of 64 kilobytes processes the expanded image data of 128 megabytes.

【0024】[0024]

【発明の効果】本発明により、圧縮イメージデータの伸
長機能及び伸長後のイメージデータの拡大・縮小・トリ
ミング機能等グラフィック機能を有するページプリンタ
制御装置において、装置の取扱う伸長イメージデータ量
よりも所有する伸長イメージメモリ容量を小さくでき
る。
According to the present invention, a page printer controller having graphic functions such as a function for decompressing compressed image data and a function for enlarging / reducing / trimming image data after decompression possesses more than the amount of decompressed image data handled by the device. The expansion image memory capacity can be reduced.

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

【図1】 本発明のページプリンタ制御装置における圧
縮イメージ伸長処理及びグラフィック処理部の実施例の
構成図である。
FIG. 1 is a configuration diagram of an embodiment of a compressed image expansion processing and graphic processing unit in a page printer control device of the present invention.

【図2】 伸長イメージメモリの概念図である。FIG. 2 is a conceptual diagram of a decompression image memory.

【図3】 ページプリンタ制御装置の構成図である。FIG. 3 is a configuration diagram of a page printer control device.

【図4】 従来のページプリンタ制御装置における圧縮
イメージ伸長処理及びグラフィック処理部の構成図であ
る。
FIG. 4 is a configuration diagram of a compressed image expansion processing and graphic processing unit in a conventional page printer control device.

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

1は伸長プロセッサ、2はグラフィックプロセッサ、3
は伸長イメージメモリ、4はパターンメモリ、5はメモ
リアクセス制御回路、6、7はゲートである。
1 is a decompression processor, 2 is a graphics processor, 3
Is an expanded image memory, 4 is a pattern memory, 5 is a memory access control circuit, and 6 and 7 are gates.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 圧縮イメージデータの伸長機能及び伸長
後のイメージデータの拡大・縮小・トリミング等のグラ
フィック機能を有するページプリンタ制御装置におい
て、 上位装置から送られた圧縮データ形式のイメージデータ
を伸長しドットパターン形式に復元する伸長プロセッサ
と、伸長プロセッサによりドットパターン形式に復元さ
れたイメージデータを一時的に蓄えるメモリと、メモリ
上の伸長イメージデータを読み込みさらにグラフィック
処理を施すグラフィックプロセッサと、伸長プロセッサ
とグラフィックプロセッサのメモリに対するアクセスを
制御するメモリアクセス制御回路を設け、前記メモリの
容量を伸長イメージデータに対しある範囲を保持する部
分的容量とし、前記メモリにて伸長イメージデータ全て
を処理することを特徴とするページプリンタ制御装置。
1. A page printer control device having a function of expanding compressed image data and graphic functions such as enlargement / reduction / trimming of image data after expansion expands image data in a compressed data format sent from a host device. A decompression processor that restores the dot pattern format, a memory that temporarily stores the image data that is restored to the dot pattern format by the decompression processor, a graphic processor that reads the decompressed image data on the memory and performs graphic processing, and a decompression processor. A memory access control circuit for controlling access to the memory of the graphic processor is provided, and the capacity of the memory is set as a partial capacity for holding a certain range for the expanded image data, and the expanded image data is processed in the memory. Page printer controller according to claim.
JP7036760A 1995-02-24 1995-02-24 Control device of page printer Withdrawn JPH08230247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7036760A JPH08230247A (en) 1995-02-24 1995-02-24 Control device of page printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7036760A JPH08230247A (en) 1995-02-24 1995-02-24 Control device of page printer

Publications (1)

Publication Number Publication Date
JPH08230247A true JPH08230247A (en) 1996-09-10

Family

ID=12478714

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7036760A Withdrawn JPH08230247A (en) 1995-02-24 1995-02-24 Control device of page printer

Country Status (1)

Country Link
JP (1) JPH08230247A (en)

Similar Documents

Publication Publication Date Title
JP2755308B2 (en) Output method and device
JPH08230247A (en) Control device of page printer
US5764865A (en) Page printer controller
JP2885210B2 (en) Graphic processing system
JP2661742B2 (en) Character processor
JPH05224846A (en) Printing and recording device
JP3046478B2 (en) Printing apparatus and printing method
JPH03114856A (en) Printer data management system
JPH09214746A (en) Image output system and image forming device
JPH06179270A (en) Printer
JPH0462080A (en) Printing device
JPH05224838A (en) Control circuit of printer
JPH0863396A (en) Disk cache device
JP2902709B2 (en) Image processing device
JPH11134241A (en) Picture system controller
JPH08249235A (en) Caching system
JPH04334261A (en) Printing device
JPH09198302A (en) Main storage control circuit and main storage device
JPH01234263A (en) Printer
JPH05298432A (en) Image scanner
JPH06149665A (en) Expansive reading method for compressed program data
JPH0976580A (en) Printer
JPH05116386A (en) Printer
JPH09292875A (en) Image processor
JPH0464181A (en) Raster converter for image data

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020507