JPH09174960A - Printer controller - Google Patents

Printer controller

Info

Publication number
JPH09174960A
JPH09174960A JP7351182A JP35118295A JPH09174960A JP H09174960 A JPH09174960 A JP H09174960A JP 7351182 A JP7351182 A JP 7351182A JP 35118295 A JP35118295 A JP 35118295A JP H09174960 A JPH09174960 A JP H09174960A
Authority
JP
Japan
Prior art keywords
data
dot
transfer
deleted
map table
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
JP7351182A
Other languages
Japanese (ja)
Inventor
Naohiko Miyoshi
尚彦 三好
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP7351182A priority Critical patent/JPH09174960A/en
Publication of JPH09174960A publication Critical patent/JPH09174960A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To enhance the system performance by performing the expansion/ compression through simple circuitry thereby reducing burden on the software and hardware of expansion/compression processing using a general compression algorithm. SOLUTION: A compressing section 10 deletes the dot data of specific pattern in a dot image data stored in a page memory 81. A data indicative whether the dot data constituting a dot image is deleted at the compressing section or not is then stored on a map table 82 and the dot image data is compressed. A transfer control section 11 performs video DMA transfer of undeleted dot data based on the data stored on the map table 82.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明はプリンタコントロ
ーラ、特にドットイメージデータの圧縮及び圧縮したデ
ータの転送に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer controller, and more particularly to compression of dot image data and transfer of compressed data.

【0002】[0002]

【従来の技術】ページプリンタ装置においては、1頁分
のドットイメージデータを格納するページメモリを確保
するために、例えばA3用紙400dpiでは約4MB、A3
用紙600dpiでは約8MBに記憶容量を必要とし、大容量
のRAMが必要であった。このため、ページプリンタの
コントローラが高価なものになっていた。そこで、ペー
ジメモリ内のドットイメージデータを圧縮して、ページ
メモリの容量を小さくすることによる安価なコントロー
ラの開発が行われた。
2. Description of the Related Art In a page printer, in order to secure a page memory for storing dot image data for one page, for example, about 4 MB for A3 paper 400 dpi, A3
A 600 dpi paper required a storage capacity of about 8 MB and required a large capacity RAM. For this reason, the controller of the page printer has become expensive. Therefore, an inexpensive controller was developed by compressing the dot image data in the page memory to reduce the capacity of the page memory.

【0003】ページメモリ内のドットイメージデータの
圧縮方法としては一般的な圧縮アルゴリズムを用いて行
う方法が採用されていた。
As a method of compressing the dot image data in the page memory, a method of using a general compression algorithm has been adopted.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、一般的
な圧縮アルゴリズムを用いてソフトウェアで圧縮伸長を
行うにはCPUの負荷が大きくシステムパフォーマンス
が悪くなる。一方、一般的な圧縮アルゴリズムを用いた
圧縮伸長処理をハードウェアで行う場合にはそのハード
ウェア分コストアップすると同時にハードウェア開発の
負荷も大きい。
However, when performing compression / expansion by software using a general compression algorithm, the load on the CPU is large and the system performance is deteriorated. On the other hand, when the compression / decompression process using a general compression algorithm is performed by hardware, the cost is increased by that hardware, and at the same time, the load of hardware development is large.

【0005】また、一般的にはビデオ転送ワード分だけ
ビデオDMA転送が行われるので、かかるページメモリ
圧縮方法で圧縮されたドットイメージデータを転送する
のでは、システムバスのビデオDMA転送に関わる占有
率を下げることができない。
Further, since the video DMA transfer is generally performed by the video transfer word, if the dot image data compressed by the page memory compression method is transferred, the occupation rate of the system bus related to the video DMA transfer is increased. Cannot be lowered.

【0006】この発明はかかる短所を解消するためにな
されたものであり、簡単な構成で可逆的にドットイメー
ジデータを圧縮すると共に、DMA転送によるシステム
バスの占有率を低くすることにより、システムパフォー
マンスの向上を図ることを目的とする。
The present invention has been made in order to solve the above disadvantages, and it is possible to reversibly compress dot image data with a simple structure and to reduce the system bus occupation rate by DMA transfer, thereby improving the system performance. The purpose is to improve.

【0007】[0007]

【課題を解決するための手段】この発明に係るプリンタ
コントローラは、ページメモリと圧縮部とマップテーブ
ルと転送制御部を有し、ページメモリはドットイメージ
データを記憶し、圧縮部はページメモリに記憶したドッ
トイメージデータ中の特定のパターンのドットのデータ
を削除してドットイメージデータを圧縮し、マップテー
ブルにドットイメージを構成する各ドットが圧縮部によ
ってデータを削除されたものか否かを示すデータを格納
し、転送制御部はマップテーブルに格納したデータを基
に削除されていないドットのデータを印字部にビデオD
MA転送する。
A printer controller according to the present invention has a page memory, a compression unit, a map table and a transfer control unit, the page memory stores dot image data, and the compression unit stores it in the page memory. Data that indicates whether or not each dot that makes up the dot image in the map table has been deleted by the compression unit by deleting the dot data of a specific pattern from the dot image data The transfer controller stores the data of the undeleted dots in the print unit based on the data stored in the map table.
MA transfer.

【0008】さらに、転送制御部の制御に応じてプログ
ラム制御によるプロトコルでドットイメージデータを印
字部に転送するプログラム転送部を有し、転送制御部は
マップテーブルに格納したデータを基に、削除されたド
ットのパターンのデータを生成し、生成したデータをプ
ログラム転送して、圧縮したドットイメージデータを伸
長する。
Further, there is a program transfer section for transferring the dot image data to the printing section by a protocol under program control according to the control of the transfer control section, and the transfer control section is deleted based on the data stored in the map table. The dot pattern data is generated, the generated data is program-transferred, and the compressed dot image data is expanded.

【0009】さらに、削除する特定のパターンのドット
のデータを記憶するパターンレジスタを有し、転送制御
部はマップテーブルに格納したデータを基に、削除され
たドットのデータとしてパターンレジスタに記憶したド
ットのデータをプログラム転送して、圧縮したドットイ
メージデータを伸長する。
Further, the transfer control unit has a pattern register for storing the data of dots of a specific pattern to be deleted, and the transfer control unit, based on the data stored in the map table, stores the dots stored in the pattern register as the data of the deleted dots. Data is transferred by a program to expand the compressed dot image data.

【0010】[0010]

【発明の実施の形態】この発明のプリンタコントローラ
は、例えばプリンタ装置等に用いられ、外部のホスト装
置等から受信した印刷データをページメモリにドットイ
メージ展開して印字部に転送して印字するもので、ペー
ジメモリに展開したドットイメージデータに特定のパタ
ーンが頻繁に出現する場合が多いことに着目し、ページ
メモリに記憶したドットイメージデータ中の特定のパタ
ーンのドットのデータを削除してドットイメージデータ
を圧縮する機能を有するものである。また、この発明は
上記機能を有するプリンタコントローラで圧縮したドッ
トイメージデータを印字部にビデオDMA転送する場合
のDMA転送によるシステムバスの占有率を低くするこ
とにより、システムパフォーマンスを向上する。
BEST MODE FOR CARRYING OUT THE INVENTION The printer controller of the present invention is used, for example, in a printer device or the like and develops dot data of print data received from an external host device or the like in a page memory and transfers it to a printing unit for printing. Therefore, paying attention to the fact that a specific pattern often appears in the dot image data expanded in the page memory, the dot data of the specific pattern in the dot image data stored in the page memory is deleted and the dot image is deleted. It has a function of compressing data. Further, according to the present invention, when the dot image data compressed by the printer controller having the above-mentioned function is transferred to the printing section by video DMA, the system bus occupation rate by the DMA transfer is reduced to improve the system performance.

【0011】この発明のプリンタコントローラは、例え
ばページメモリと、圧縮部と、マップテーブルと、転送
制御部を有する。ページメモリは印字部に転送するドッ
トイメージデータを記憶する。圧縮部はページメモリに
記憶したドットイメージデータ中の特定のパターンのド
ットを削除して、ドットイメージデータを圧縮する。ま
た、圧縮部はデータを削除したドットに対応してマップ
テーブルのビットを「0」にしそれ以外のビットを
「1」にする。この特定パターンとは、例えば白ドット
を意味する。
The printer controller of the present invention has, for example, a page memory, a compression section, a map table, and a transfer control section. The page memory stores the dot image data transferred to the printing section. The compression unit deletes dots of a specific pattern from the dot image data stored in the page memory to compress the dot image data. Further, the compression unit sets the bit of the map table to "0" and the other bits to "1" corresponding to the dot from which the data is deleted. The specific pattern means, for example, a white dot.

【0012】マップテーブルはマップテーブルはドット
イメージを構成する各ドットが圧縮部によってデータを
削除されたものか否かを示すデータを記憶する。転送制
御部はマップテーブルに記憶したデータを基に、DMA
転送するか又はプログラム転送するかを制御する部分で
あり、DMA転送部とプログラム転送部を備える。な
お、転送制御部は削除されていないドットのデータをビ
デオDMA転送するように制御する。DMA転送部は転
送制御部の制御に応じてドットイメージを構成するドッ
トのデータを印字部にビデオDMA転送する。
The map table stores data indicating whether or not each dot forming a dot image has been deleted by the compression unit. The transfer control unit uses the data stored in the map table to execute the DMA
It is a part for controlling whether to transfer or program transfer, and includes a DMA transfer part and a program transfer part. The transfer control unit controls the data of the dots that have not been deleted to be transferred by video DMA. The DMA transfer unit performs video DMA transfer of the dot data forming the dot image to the printing unit under the control of the transfer control unit.

【0013】さらに、転送制御部はデータを削除された
ドットに対しては削除されたパターンのデータを生成
し、生成したデータをプログラム転送部による転送を行
うように制御して、圧縮したドットイメージデータを伸
長する。これにより、圧縮時に削除したデータが白ドッ
トに対するデータでなくとも、その削除したドットのデ
ータを補充して転送することができる。なお、ここでプ
ログラム転送とはプログラム制御による通信プロトコル
で転送することをいう。
Further, the transfer control unit generates data of the deleted pattern for the dot whose data has been deleted, controls the generated data to be transferred by the program transfer unit, and compresses the dot image. Decompress the data. As a result, even if the data deleted during compression is not the data for the white dots, the data of the deleted dots can be supplemented and transferred. Note that the program transfer here means transfer by a communication protocol under program control.

【0014】具体的には、例えば削除する特定のドット
のパターンのデータを記憶するパターンレジスタを有
し、転送制御部は削除されたドットのデータとして、パ
ターンレジスタに記憶したドットのパターンのデータを
プログラム転送するように制御して、圧縮したドットイ
メージデータを伸長する。
Specifically, for example, it has a pattern register for storing the data of the pattern of a specific dot to be deleted, and the transfer control unit uses the data of the dot pattern stored in the pattern register as the data of the deleted dot. The compressed dot image data is expanded by controlling the program transfer.

【0015】[0015]

【実施例】図1はこの発明の一実施例のプリンタコント
ローラを搭載したプリンタ装置1の構成図である。プリ
ンタコントローラ3は、例えば外部のホスト装置2から
受信した印字データをドットイメージに展開して印字部
4に転送し印字するもので、図に示すように、ROM
5、フォント用ROM6、不揮発性RAM(以下、「N
VRAM」という。)7、RAM8、CPU9、圧縮部
10、転送制御部11、エンジンインターフェイス12
及びホストインターフェイス13を有する。
1 is a block diagram of a printer device 1 equipped with a printer controller according to an embodiment of the present invention. The printer controller 3 expands the print data received from the external host device 2 into a dot image, transfers it to the printing unit 4, and prints it.
5, font ROM6, non-volatile RAM (hereinafter "N
VRAM ”. ) 7, RAM 8, CPU 9, compression unit 10, transfer control unit 11, engine interface 12
And a host interface 13.

【0016】ROM5はプリンタコントローラ3全体の
動作を制御するためのシステムプログラム及びコントロ
ールデータを記憶する。フォント用ROM6はフォント
を格納する。NVRAM7はホスト装置2等から受信し
た印字データ等を記憶する。また、NVRAM7は、例
えば削除する特定のドットのパターンのデータを記憶す
る領域であるパターンレジスタ71を備える。RAM8
はデータを一時的に記憶する部分であり、ページメモリ
81及びマップテーブル82の各記憶領域を備える。ペ
ージメモリ81は、例えば図2に示すように(m)×
(n)のマトリックスで構成されたドットイメージデー
タを記憶する領域である。マップテーブル82は、例え
ば図3に示すように(k)×(n)のマトリックスで構
成され、ドットイメージを構成する各ドットが圧縮部1
0によってデータを削除されたものか否かを示すデータ
を記憶する。なお、上記ページメモリ81のマトリック
スとマップテーブル82のマトリックスでは、マップテ
ーブル82が溢れることのないようにm<kの関係にあ
る。転送バッファ83はビデオDMA転送するデータを
格納する。
The ROM 5 stores a system program and control data for controlling the operation of the printer controller 3 as a whole. The font ROM 6 stores fonts. The NVRAM 7 stores print data and the like received from the host device 2 and the like. Further, the NVRAM 7 includes a pattern register 71 which is an area for storing data of a pattern of a specific dot to be deleted, for example. RAM8
Is a portion for temporarily storing data, and includes respective storage areas of a page memory 81 and a map table 82. The page memory 81 is, for example, as shown in FIG.
This is an area for storing dot image data composed of the matrix of (n). The map table 82 is composed of, for example, a (k) × (n) matrix as shown in FIG. 3, and each dot forming the dot image is compressed by the compression unit 1.
Data indicating whether the data has been deleted by 0 is stored. The matrix of the page memory 81 and the matrix of the map table 82 have a relationship of m <k so that the map table 82 does not overflow. The transfer buffer 83 stores the data to be transferred by the video DMA.

【0017】CPU9はROM5に記憶したシステムプ
ログラム等を基にプリンタコントローラ3全体の動作を
制御する。圧縮部10はページメモリ81に記憶したド
ットイメージデータ中の特定のパターンのドットのデー
タを削除してドットイメージデータを圧縮する。上記特
定パターンはパターンレジスタ71に格納されたデータ
を圧縮部10が参照して特定するもので、例えば白ドッ
トを意味する。白ドットを削除して圧縮した場合にその
ドットのデータを飛ばして送っても印字画像に影響はな
いからである。また、圧縮部10は削除したデータに対
応するマップテーブル82にビットを「0」にそれ以外
のビットを「1」にする。
The CPU 9 controls the overall operation of the printer controller 3 based on the system program stored in the ROM 5. The compression unit 10 deletes the dot data of a specific pattern from the dot image data stored in the page memory 81 and compresses the dot image data. The specific pattern is specified by the compression unit 10 by referring to the data stored in the pattern register 71, and means, for example, a white dot. This is because when the white dots are deleted and compressed, the data of the dots may be skipped and sent without affecting the printed image. Further, the compression unit 10 sets the bit to “0” and the other bits to “1” in the map table 82 corresponding to the deleted data.

【0018】転送制御部11はマップテーブル82に基
に、DMA転送するか又はプログラム転送するかを制御
する部分であり、DMA転送部111とプログラム転送
部112を備える。転送制御部11は削除されていない
ドットのデータをページメモリ81から読み出しビデオ
DMA転送用に設定し、DMA転送部111からビデオ
DMA転送する。また、転送制御部11はデータを削除
されているドットに対しては削除されたデータを生成し
生成したデータをプログラム転送用に設定して、プログ
ラム転送部112からプログラム転送する。DMA転送
部111はエンジンインターフェイス12を介して印字
部4にドットイメージデータをビデオDMA転送する。
プログラム転送部112はエンジンインターフェイス1
2を介して印字部4にドットイメージデータをビデオD
MA転送せずにプログラム制御によるプロトコルで転送
する。エンジンインターフェイス12及びホストインタ
ーフェイス13はそれぞれ印字部4及びホスト装置2と
のデータの送受信を行う。
The transfer control unit 11 is a unit for controlling whether to perform DMA transfer or program transfer based on the map table 82, and includes a DMA transfer unit 111 and a program transfer unit 112. The transfer control unit 11 reads out the data of the dots that have not been deleted from the page memory 81, sets them for video DMA transfer, and transfers them from the DMA transfer unit 111 by video DMA. Further, the transfer control unit 11 generates deleted data for a dot whose data has been deleted, sets the generated data for program transfer, and transfers the program from the program transfer unit 112. The DMA transfer unit 111 performs video DMA transfer of the dot image data to the printing unit 4 via the engine interface 12.
The program transfer unit 112 is the engine interface 1
Dot image data to the printing section 4 via the video D
Transfer with a protocol under program control without MA transfer. The engine interface 12 and the host interface 13 send and receive data to and from the printing unit 4 and the host device 2, respectively.

【0019】最初に上記構成のプリンタインターフェイ
ス3でページメモリ81に展開したデータを圧縮する場
合について説明する。
First, a case will be described in which the data expanded in the page memory 81 is compressed by the printer interface 3 having the above configuration.

【0020】ホスト装置2から受信した印字データを、
図4に示すようにページメモリ81に展開した後、マッ
プテーブル82の対応ビットを全て「1」に設定する。
ここで、ページメモリ81内のデータは「32」ビットで
「1」ドットを表し、マップテーブル82の「1」ビッ
トがページメモリ81内の「1」ドット分を表す。ま
た、図中ページメモリ81内の領域81bにおいて、斜
線で示したドットが白ドットでないドットを示す。
The print data received from the host device 2 is
After being expanded in the page memory 81 as shown in FIG. 4, all the corresponding bits of the map table 82 are set to "1".
Here, the data in the page memory 81 represents "1" dots in "32" bits, and the "1" bit in the map table 82 represents "1" dots in the page memory 81. Also, in the area 81b in the page memory 81 in the figure, the hatched dots are dots that are not white dots.

【0021】ページメモリ81内の領域81bのドット
を圧縮する場合を考える。圧縮部10はページメモリ8
1内の領域81bのドットのデータを順に読み出し、白
ドットのデータを削除し、図5に示すように削除したド
ットに対応するマップテーブル82のビットを「0」に
設定する。このようにして圧縮することにより、マップ
テーブル82ではデータを削除したドットに対応したビ
ットが「0」となり、ページメモリ81にデータを格納
したドットに対応したビットが「1」となる。
Consider a case where the dots in the area 81b in the page memory 81 are compressed. The compression unit 10 is a page memory 8
The dot data in the area 81b within 1 is sequentially read, the white dot data is deleted, and the bit of the map table 82 corresponding to the deleted dot is set to "0" as shown in FIG. By compressing in this way, in the map table 82, the bit corresponding to the dot for which data has been deleted becomes "0", and the bit corresponding to the dot for storing data in the page memory 81 becomes "1".

【0022】次に上記のようにして圧縮されたドットイ
メージデータを伸長して、印字部4に転送する場合の動
作について、図6のフローチャートを参照して説明す
る。
Next, the operation of decompressing the dot image data compressed as described above and transferring it to the printing unit 4 will be described with reference to the flowchart of FIG.

【0023】ページメモリ81にドットイメージデータ
が展開されると、転送制御部11はDMA転送部111
による転送を開始する前に、マップテーブル82の先頭
アドレスをマップテーブル読み出しポインタ(以後、
「wraddr」という。)に設定し、ページメモリ81の先
頭アドレスをフレームバッファ読み出しポインタ(以
後、「fraddr」という。)に設定する(ステップS
1)。転送制御部11がポインタにアドレスを設定する
と、転送制御部11はwraddrが示すマップテーブル82
の「32」ビットのデータを読み出し、ビット検査の繰返
し回数をゼロに設定する(ステップS2)。転送制御部
11は読み出したマップテーブル82のデータの「32」
ビット目を検査し、検査したビットが「0」である場合
は(ステップS4)、「32」ビットの「0」データをプ
ログラム転送対象として設定し(ステップS5)、検査
したビットが「1」である場合は、fraddrが示すページ
メモリ81のアドレスから「32」ビットのデータを読み
出し(ステップS6)、読み出したデータをビデオDM
A転送対象として設定する(ステップS7)。その後、
転送制御部11はマップテーブル82から読み出したデ
ータを左に「1」ビットシフトし、且つ、fraddrのポイ
ンタをインクリメントし、次のビットの検査の準備をす
る(ステップS8)。転送制御部11は上記ビット検査
を「32」回繰り返し(ステップS9)、マップテーブル
82から読み出したデータの全てのビットを順に検査す
る。
When the dot image data is expanded in the page memory 81, the transfer control unit 11 causes the DMA transfer unit 111.
Before starting the transfer by the map table read pointer (hereinafter,
It's called "wraddr". ), And the start address of the page memory 81 is set to the frame buffer read pointer (hereinafter referred to as “fraddr”) (step S).
1). When the transfer control unit 11 sets an address in the pointer, the transfer control unit 11 causes the map table 82 indicated by wraddr.
The "32" -bit data of is read out and the number of repetitions of the bit inspection is set to zero (step S2). The transfer control unit 11 reads the data “32” in the map table 82.
If the inspected bit is "0" (step S4), "32" bit "0" data is set as the program transfer target (step S5), and the inspected bit is "1". If it is, the "32" bit data is read from the address of the page memory 81 indicated by fraddr (step S6), and the read data is video DM.
A is set as a transfer target (step S7). afterwards,
The transfer control unit 11 shifts the data read from the map table 82 to the left by "1" bit, increments the pointer of fraddr, and prepares for the inspection of the next bit (step S8). The transfer control unit 11 repeats the above bit inspection “32” times (step S9) and sequentially inspects all the bits of the data read from the map table 82.

【0024】その後、転送制御部11はwraddrをインク
リメントし(ステップS10)、上記動作(ステップS
2〜S10)をビデオ転送回数分処理完了するまで繰り
返す(ステップS11)。このように、プリンタコント
ローラ3は圧縮部10が圧縮したドットイメージデータ
を、図7に示すように伸長して、印字部4に転送するこ
とができる。
Thereafter, the transfer control unit 11 increments wraddr (step S10), and the above operation (step S10).
2 to S10) are repeated until the processing is completed by the number of times of video transfer (step S11). In this way, the printer controller 3 can expand the dot image data compressed by the compression unit 10 as shown in FIG.

【0025】なお、上記実施例では白ドットのデータを
削除したが、頻繁に出現するドットのデータをパターン
レジスタ71に予め記憶し圧縮し、伸長する際にパター
ンレジスタ71に記憶したデータを補充するようにして
も良い。
Although the white dot data is deleted in the above embodiment, the frequently appearing dot data is stored in the pattern register 71 in advance and compressed, and the data stored in the pattern register 71 is replenished when the data is expanded. You may do it.

【0026】さらに、上記処理を行う前にページメモリ
82内のドットイメージデータを調べ、頻繁に出現する
ドットのデータをパターンレジスタ71に格納するよう
にしても良い。
Further, the dot image data in the page memory 82 may be examined before the above-mentioned processing, and the data of frequently appearing dots may be stored in the pattern register 71.

【0027】[0027]

【発明の効果】この発明は以上説明したように、ページ
メモリに記憶したドットイメージデータ中の特定のパタ
ーンのドットのデータを削除してドットイメージデータ
を圧縮し、ドットイメージデータをビデオDMA転送す
る際に、削除されていないドットのデータをビデオDM
A転送するので、ドットイメージデータを可逆的に圧縮
できると共に、ビデオDMA転送のデータ量を減らしビ
デオDMA転送によるシステムバスの占有率を低くする
ことができる。
As described above, according to the present invention, the dot data of a specific pattern in the dot image data stored in the page memory is deleted, the dot image data is compressed, and the dot image data is transferred by video DMA. When doing the video DM with the data of the dots that have not been deleted
Since the A transfer is performed, the dot image data can be reversibly compressed, the data amount of the video DMA transfer can be reduced, and the occupation rate of the system bus by the video DMA transfer can be reduced.

【0028】さらに、ビデオDMA転送によるシステム
バスの占有率を低くすることができるので、システムパ
フォーマンスを上げることができる。
Further, since the system bus occupation rate due to the video DMA transfer can be reduced, the system performance can be improved.

【0029】さらに、転送しようとするドットのデータ
が削除されたものであるときに、削除されたドットのパ
ターンのデータを生成し、生成したデータをビデオDM
A転送せずにプログラム転送して、圧縮したドットイメ
ージデータを伸長するので、ビデオDMA転送によるシ
ステムバスの占有率を低くすることができると共に、容
易に圧縮したドットイメージデータを伸長することがで
きる。
Further, when the dot data to be transferred is deleted, the deleted dot pattern data is generated, and the generated data is video DM.
Since the compressed dot image data is expanded by program transfer without A transfer, the occupation ratio of the system bus by the video DMA transfer can be reduced and the compressed dot image data can be easily expanded. .

【0030】さらに、転送しようとするドットのデータ
が削除されたものであるときに、パターンレジスタに記
憶した削除対象のドットのパターンのデータをビデオD
MA転送せずにプログラム転送して、圧縮したドットイ
メージデータを伸長するので、任意のパターンのデータ
を削除及び補充して圧縮伸長処理することができる。
Further, when the dot data to be transferred is deleted, the data of the dot pattern to be deleted stored in the pattern register is recorded in the video D.
Since the compressed dot image data is expanded by program transfer without MA transfer, data of an arbitrary pattern can be deleted and replenished for compression / expansion processing.

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

【図1】この発明の実施例を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】ドットイメージデータの構成図である。FIG. 2 is a configuration diagram of dot image data.

【図3】マップテーブルの構成図である。FIG. 3 is a configuration diagram of a map table.

【図4】圧縮前のドットイメージデータ及びマップテー
ブルの構成図である。
FIG. 4 is a configuration diagram of dot image data and a map table before compression.

【図5】圧縮後のドットイメージデータ及びマップテー
ブルの構成図である。
FIG. 5 is a configuration diagram of dot image data and a map table after compression.

【図6】DMA転送前処理の動作を示すフローチャート
である。
FIG. 6 is a flowchart showing an operation of a DMA transfer preprocessing.

【図7】伸長後のドットイメージデータ及びマップテー
ブルの構成図である。
FIG. 7 is a configuration diagram of dot image data and a map table after decompression.

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

1 プリンタ装置 2 ホスト装置 3 プリンタコントローラ 4 印字部 71 パターンレジスタ 81 ページメモリ 82 マップテーブル 10 圧縮部 11 転送制御部 111 DMA転送部 112 プログラム転送部 1 printer device 2 host device 3 printer controller 4 printing unit 71 pattern register 81 page memory 82 map table 10 compression unit 11 transfer control unit 111 DMA transfer unit 112 program transfer unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ページメモリと圧縮部とマップテーブル
と転送制御部を有し、ページメモリはドットイメージデ
ータを記憶し、圧縮部はページメモリに記憶したドット
イメージデータ中の特定のパターンのドットのデータを
削除してドットイメージデータを圧縮し、マップテーブ
ルにドットイメージを構成する各ドットが圧縮部によっ
てデータを削除されたものか否かを示すデータを格納
し、転送制御部はマップテーブルに格納したデータを基
に削除されていないドットのデータをビデオDMA転送
することを特徴とするプリンタコントローラ。
1. A page memory, a compression unit, a map table, and a transfer control unit are provided, the page memory stores dot image data, and the compression unit stores dots of a specific pattern in the dot image data stored in the page memory. The data is deleted and the dot image data is compressed, and the map table stores data indicating whether or not each dot forming the dot image has been deleted by the compression unit, and the transfer control unit stores it in the map table. A printer controller which performs video DMA transfer of dot data that has not been deleted based on the created data.
【請求項2】 転送制御部はマップテーブルに格納した
データを基に、削除されたドットのパターンのデータを
生成し、生成したデータをビデオDMA転送せずにプロ
グラム転送する請求項1記載のプリンタコントローラ。
2. The printer according to claim 1, wherein the transfer control unit generates the data of the deleted dot pattern based on the data stored in the map table, and transfers the generated data by program transfer without video DMA transfer. controller.
【請求項3】 削除する特定のパターンのドットのデー
タを記憶するパターンレジスタを有し、転送制御部はマ
ップテーブルに格納したデータを基に、削除されたドッ
トのデータとしてパターンレジスタに記憶したドットの
データをビデオDMA転送せずにプログラム転送する請
求項2記載のプリンタコントローラ。
3. A pattern register for storing dot data of a specific pattern to be deleted, and the transfer control unit, based on the data stored in the map table, the dot stored in the pattern register as the data of the deleted dot. 3. The printer controller according to claim 2, wherein the program data is transferred without the video DMA transfer.
JP7351182A 1995-12-27 1995-12-27 Printer controller Pending JPH09174960A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7351182A JPH09174960A (en) 1995-12-27 1995-12-27 Printer controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7351182A JPH09174960A (en) 1995-12-27 1995-12-27 Printer controller

Publications (1)

Publication Number Publication Date
JPH09174960A true JPH09174960A (en) 1997-07-08

Family

ID=18415612

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7351182A Pending JPH09174960A (en) 1995-12-27 1995-12-27 Printer controller

Country Status (1)

Country Link
JP (1) JPH09174960A (en)

Similar Documents

Publication Publication Date Title
JPH10124268A (en) Print controller
JPH09149221A (en) Method and device for outputting image
JPH09174960A (en) Printer controller
JPH08207387A (en) Band print method of page printer
JP4400709B2 (en) Image processing apparatus and image processing method
JP2887928B2 (en) Image data output device
JP3496384B2 (en) Image output device
JP3093245B2 (en) Image processing device, output control device, image processing system and method
JP3190894B2 (en) Image forming method and image forming apparatus for laser printer
JPH10171612A (en) Picture processor and compression processing method
JPH11129565A (en) Printer and form printing method therefor
JP2965681B2 (en) Image forming device
JP2000225735A (en) Image printer
JPS62226325A (en) Form overlay controller
JP2001119560A (en) Image forming device
JP2002120418A (en) Printer device and image processing device comprising the printer device
JPH09136456A (en) Processing of image on printer device
JPH09240077A (en) Image output apparatus
JPH11291563A (en) Print image data control system
JPH08331393A (en) Image data compression device, its method and output system
JPH04334261A (en) Printing device
JPH0958063A (en) Page printer
JPH08310060A (en) Printing device, printing system, and method for printing
JPH03127095A (en) Character generating device
JPH0344728A (en) Page printer controller