[go: nahoru, domu]

JPH09169142A - Printer - Google Patents

Printer

Info

Publication number
JPH09169142A
JPH09169142A JP7349878A JP34987895A JPH09169142A JP H09169142 A JPH09169142 A JP H09169142A JP 7349878 A JP7349878 A JP 7349878A JP 34987895 A JP34987895 A JP 34987895A JP H09169142 A JPH09169142 A JP H09169142A
Authority
JP
Japan
Prior art keywords
frame buffer
function
video
data
unit
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
JP7349878A
Other languages
Japanese (ja)
Inventor
Satoshi Ogawa
聰 小川
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 JP7349878A priority Critical patent/JPH09169142A/en
Publication of JPH09169142A publication Critical patent/JPH09169142A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PROBLEM TO BE SOLVED: To shorten a drawing time by providing function dividing a frame buffer, function forming intermediate data to the divided frame buffer and function dividing the divided frame buffer into a video developing part and a drawing part. SOLUTION: A printer controller is equipped with a CPU (central operational processor) 1, an ROM 2, an RAM 3, a communication.video control part (engine control part) 4, a printer engine part 5, a data bus 6, a serial I/F 7 and a video I/F 8. The CPU 1 has an imaginary unit to control this region and the ROM 2 has a program or a font. The RAM 3 has a region called a frame buffer having a data region or printing data as an image. The communication.video control part 4 controls a printer engine part 5 by the serial I/F 7 and the image of the frame buffer of the RAM 3 is transmitted to the printer engine part 5 by the video I/F 8.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複写機、ワードプ
ロセッサ、その他印刷機能を持つ各種の印字装置に関
し、特に、CPUの持つTLB(Translatio
n Lookside Buffer)機能を用いて画
像データを圧縮伸張する方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a copying machine, a word processor, and various other printing devices having a printing function, and more particularly to a TLB (Translatio) of a CPU.
The present invention relates to a method for compressing / decompressing image data by using the n Lookside Buffer function.

【0002】[0002]

【従来の技術】ファイルサーバまたはワークステーショ
ン等で、仮想記憶領域をデータ圧縮してハードディスク
にスワップアウトする方式が知られている。また印字装
置において、TLB機能を用いて画像データを圧縮伸張
する方式も提案されたおり、この方式により主走査方向
に並ぶデータの圧縮伸張及びデータのスワップイン・ア
ウトには効率的に対処することができるようになった。
2. Description of the Related Art A method of compressing data in a virtual storage area and swapping it out to a hard disk in a file server or a workstation is known. A method of compressing / expanding image data using the TLB function in a printing apparatus has also been proposed. By this method, it is possible to efficiently deal with compression / expansion of data arranged in the main scanning direction and swap-in / out of data. Is now possible.

【0003】[0003]

【発明が解決しようとする課題】しかしながら従来の上
記方式は、主走査方向に対して直角なラインなど副走査
方向に並ぶデータの場合(図4参照)には主にデータの
スワップイン・アウトに多くの時間を取られ、非効率的
にならざるを得なかった。
However, the above-mentioned conventional method is mainly used for data swap-in / out in the case of data arranged in the sub-scanning direction such as a line perpendicular to the main scanning direction (see FIG. 4). It took a lot of time and had to be inefficient.

【0004】本発明は、TLB機能を用いて画像データ
を圧縮伸張する方式と、省メモリ対策のために、メモリ
を分割するパーシャルビットマップ技術を組み合わせる
ことで、描画時に掛かる時間の短縮化を図ることができ
る印字装置を提供することを目的とするものである。
According to the present invention, a method of compressing / decompressing image data by using the TLB function is combined with a partial bit map technique for dividing a memory for a memory saving measure, thereby shortening a time required for drawing. An object of the present invention is to provide a printing device that can perform printing.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、仮想記憶ユニットの機能を有するCPU
を搭載するコントローラ部を持つ印字装置において、仮
想記憶ユニットにフレームバッファを設定する機能、フ
レームバッファのスワップ領域として実メモリを確保す
る機能、フレームバッファの描画アクセス時のミスヒッ
トを検出する機能、該検出結果によりスワップ領域に画
像データを圧縮及び格納する機能、スワップ領域からデ
ータを伸張しながら取り出す機能を有し、さらにフレー
ムバッファを分割する機能、分割されたフレームバッフ
ァに対して中間コードを生成する機能、分割されたフレ
ームバッファに対してさらにビデオデータ展開部と描画
部に分割する機能を有するものである。
In order to achieve the above object, the present invention provides a CPU having a function of a virtual memory unit.
In a printing apparatus having a controller unit equipped with a function of setting a frame buffer in a virtual storage unit, a function of securing a real memory as a swap area of the frame buffer, a function of detecting a mishit at the time of drawing access of the frame buffer, It has a function of compressing and storing image data in the swap area according to the detection result, a function of extracting data from the swap area while decompressing it, a function of dividing the frame buffer, and an intermediate code for the divided frame buffer. It has a function of dividing the divided frame buffer into a video data expansion unit and a drawing unit.

【0006】[0006]

【発明の実施の形態】以下、本発明の実施の形態を添付
図面を参照しながら説明する。図1は本発明の印字装置
のプリンタコントローラを示すブロック図である。この
コントローラは、CPU(中央演算処理装置)1、RO
M2、RAM3、通信・ビデオ制御部(エンジン制御
部)4、プリンタエンジン部5、データバス6、シリア
ルI/F7、ビデオI/F8を備えている。CPU1
は、仮想記憶ユニット(TLB)を有し、この領域を管
理する。ROM2はプログラムやフォントを有する。R
AM3はデータ領域や印刷データをイメージとして持つ
フレームバッファと呼ばれる領域を持つ。通信・ビデオ
制御部4は、シリアルI/F7によりプリンタエンジン
部5の制御を行い、ビデオI/F8にてRAM3中のフ
レームバッファのイメージをプリンタエンジン部5に転
送する。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a block diagram showing a printer controller of a printing apparatus of the present invention. This controller includes a CPU (Central Processing Unit) 1, RO
An M2, a RAM 3, a communication / video control unit (engine control unit) 4, a printer engine unit 5, a data bus 6, a serial I / F 7, and a video I / F 8 are provided. CPU1
Has a virtual memory unit (TLB) and manages this area. The ROM 2 has programs and fonts. R
The AM3 has a data area and an area called a frame buffer having print data as an image. The communication / video control unit 4 controls the printer engine unit 5 by the serial I / F 7, and transfers the image of the frame buffer in the RAM 3 to the printer engine unit 5 by the video I / F 8.

【0007】図2はプリンタコントローラのタスクの一
覧を示す図表である。(1)はプリンタエンジン部5と
のインタフェースを専用に行うエンジン制御タスクであ
る。(2)はエンジン制御タスクに対して用紙のフィー
ドやビデオスタートや給紙トレイの指定など、印刷の制
御を行う印刷制御タスクである。(3)は圧縮/伸張タ
スクで(仮想)フレームバッファの圧縮/伸張を行う。
(4)は描画タスクでフレームバッファへの描画を専門
に行う。場合によっては(5)のプリンタエミュレーシ
ョンタスクが直接フレームバッファに描画する場合もあ
る。プリンタエミュレーションタスク(5)はホストか
ら受信したデータをフレームバッファに描画するように
描画タスク(4)に指定する。
FIG. 2 is a chart showing a list of tasks of the printer controller. (1) is an engine control task dedicated to the interface with the printer engine unit 5. (2) is a print control task that controls printing such as paper feed, video start, and designation of a paper feed tray for the engine control task. (3) is a compression / expansion task for compressing / expanding the (virtual) frame buffer.
(4) is a drawing task that specializes in drawing in the frame buffer. In some cases, the printer emulation task (5) may directly draw in the frame buffer. The printer emulation task (5) instructs the drawing task (4) to draw the data received from the host in the frame buffer.

【0008】図3はTLB機能を使った印刷例を示す説
明図である。CPU1には4Gバイトの仮想空間11が
あり、フレームバッファをこの仮想空間11にマッピン
グする。プリンタの描画制御部(描画タスク)は仮想空
間11中の指定された個所(フレームメモリ空間)に文
字イメージを描画していく。このとき、仮想空間11へ
のアクセスが起こったことでCPU1はインタラプトを
発生し、画像圧縮伸張制御部(圧縮/伸張タスク)に対
してCPU1より描画タスクから描画が行われたことが
通知される。
FIG. 3 is an explanatory diagram showing an example of printing using the TLB function. The CPU 1 has a 4 Gbyte virtual space 11, and the frame buffer is mapped to this virtual space 11. The drawing control unit (drawing task) of the printer draws a character image at a specified location (frame memory space) in the virtual space 11. At this time, the access to the virtual space 11 causes the CPU 1 to generate an interrupt, and the image compression / expansion control unit (compression / expansion task) is notified by the CPU 1 that the drawing task has performed drawing. .

【0009】インタラプト発生の原因となったアドレス
アクセスのアドレスの下位(4k−1)バイト分をマス
クした範囲で4kバイトのTLBブロック11aをセッ
トする。この操作によりTLBブロック11aの4kバ
イト仮想空間内ではアクセスが起こってもインタラプト
が発生しないようになる。このように4kバイトの空間
を1つの単位としてメモリ管理を行い、この間にメモリ
圧縮及び伸張機能を組み合わせて描画させる。この省メ
モリ印刷技術は図3から分かる通り、主走査方向に連続
した描画が多い場合には比較的有利に展開できるが、図
4のように副走査方向の描画が多い場合には描画データ
のスワップイン・アウト処理が重なり、不利となる。そ
こで、図5のように、予め中間コードを各ビットマップ
ごとに分割して生成しておいて、分割したエリアをさら
に描画エリアとスキャンエリアにトグルで分割し(セク
ション0、セクション1)、先の中間コードから描画を
行うパーシャルビットマップ方式を組み合わせると、内
部的に描画データを主走査方向に比較的収まり易くなる
ため、データのスワップイン・アウトが起こり難くな
る。
The TLB block 11a of 4 k bytes is set within a range in which the lower (4k-1) bytes of the address of the address access that caused the interrupt are masked. By this operation, an interrupt will not occur even if an access occurs in the 4 kbyte virtual space of the TLB block 11a. In this way, memory management is performed with the space of 4 kbytes as one unit, and during this period, drawing is performed by combining the memory compression and expansion functions. As can be seen from FIG. 3, this memory-saving printing technique can be developed relatively advantageously when there are many continuous drawing in the main scanning direction, but when there are many drawing in the sub-scanning direction as shown in FIG. Swap-in / out processing overlaps, which is a disadvantage. Therefore, as shown in FIG. 5, an intermediate code is generated by dividing it for each bitmap in advance, and the divided area is further divided into a drawing area and a scan area by a toggle (section 0, section 1). When the partial bitmap method of drawing from the intermediate code of 3 is combined, the drawing data is relatively easily accommodated in the main scanning direction internally, so that the data swap-in / out hardly occurs.

【0010】[0010]

【発明の効果】以上説明したように、本発明によれば、
TLBによる圧縮伸張方式とパーシャルビットマップの
技術を組み合わせることより高速に印刷することが可能
な印字装置を提供することができる。
As described above, according to the present invention,
By combining the compression / expansion method by TLB and the technique of partial bitmap, it is possible to provide a printing device capable of high-speed printing.

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

【図1】本発明の印字装置のプリンタコントローラを示
すブロック図である。
FIG. 1 is a block diagram showing a printer controller of a printing apparatus of the present invention.

【図2】プリンタコントローラのタスクの一覧を示す図
表である。
FIG. 2 is a chart showing a list of tasks of a printer controller.

【図3】TLB機能を使った印刷例を示す説明図であ
る。
FIG. 3 is an explanatory diagram showing a printing example using a TLB function.

【図4】TLB機能を持った印刷方式に不適な縦ライン
の多い画像を示す図である。
FIG. 4 is a diagram showing an image having many vertical lines, which is not suitable for a printing method having a TLB function.

【図5】パーシャルビットマップ方式のフレームバッフ
ァのマッピングを示す説明図である。
FIG. 5 is an explanatory diagram showing mapping of a partial bit map type frame buffer.

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

1 CPU 2 ROM 3 RAM 4 通信・ビデオ制御部 5 プリンタエンジン部 6 データバス 7 シリアルI/F 8 ビデオI/F 1 CPU 2 ROM 3 RAM 4 Communication / Video Control Unit 5 Printer Engine Unit 6 Data Bus 7 Serial I / F 8 Video I / F

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 仮想記憶ユニットの機能を有するCPU
を搭載するコントローラ部を持つ印字装置において、仮
想記憶ユニットにフレームバッファを設定する機能、フ
レームバッファのスワップ領域として実メモリを確保す
る機能、フレームバッファの描画アクセス時のミスヒッ
トを検出する機能、該検出結果によりスワップ領域に画
像データを圧縮及び格納する機能、スワップ領域からデ
ータを伸張しながら取り出す機能を有し、さらにフレー
ムバッファを分割する機能、分割されたフレームバッフ
ァに対して中間コードを生成する機能、分割されたフレ
ームバッファに対してさらにビデオデータ展開部と描画
部に分割する機能を有することを特徴とする印字装置。
1. A CPU having a function of a virtual memory unit
In a printing apparatus having a controller unit equipped with a function of setting a frame buffer in a virtual storage unit, a function of securing a real memory as a swap area of the frame buffer, a function of detecting a mishit at the time of drawing access of the frame buffer, It has a function of compressing and storing image data in the swap area according to the detection result, a function of extracting data from the swap area while decompressing it, a function of dividing the frame buffer, and an intermediate code for the divided frame buffer. A printing apparatus having a function and a function of further dividing a divided frame buffer into a video data developing unit and a drawing unit.
JP7349878A 1995-12-20 1995-12-20 Printer Pending JPH09169142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7349878A JPH09169142A (en) 1995-12-20 1995-12-20 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7349878A JPH09169142A (en) 1995-12-20 1995-12-20 Printer

Publications (1)

Publication Number Publication Date
JPH09169142A true JPH09169142A (en) 1997-06-30

Family

ID=18406728

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7349878A Pending JPH09169142A (en) 1995-12-20 1995-12-20 Printer

Country Status (1)

Country Link
JP (1) JPH09169142A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6665081B1 (en) 1996-07-19 2003-12-16 Seiko Epson Corporation Print system printer driver and printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6665081B1 (en) 1996-07-19 2003-12-16 Seiko Epson Corporation Print system printer driver and printer

Similar Documents

Publication Publication Date Title
US6111654A (en) Method and apparatus for replacing or modifying a postscript built-in font in a printer
US8248411B2 (en) Image processing apparatus, image processing method, and program
JP2610993B2 (en) Information processing apparatus and method
US6469799B1 (en) Image forming apparatus and image forming method
JP5060241B2 (en) Information processing apparatus and control method thereof
JP2006244248A (en) Image processing device, image processing method, and program for executing image processing method
JPH09169142A (en) Printer
JP4144369B2 (en) Image processing apparatus, image processing method, and program
JP2002073303A (en) Print system on the multi-processing printer
JP3709695B2 (en) Printing system, printer server apparatus used in printing system, printer server processing method, and recording medium on which printer server processing program is recorded
JP3209858B2 (en) Print control device and print control method
JP2004303077A (en) Information processor and page description language generating method, program and storage medium
JP4636471B2 (en) Print log collection device, print log collection method and program thereof
JP2999662B2 (en) Print control device and print control method
JP2000141783A (en) Printer and method for controlling printer and recording medium with recorded printer-controlling program
JP2737880B2 (en) Character processing apparatus and method
JP2872144B2 (en) Printing equipment
JP3054157B2 (en) Character processing device and character processing method
JP2002163081A (en) Image information processing device and its method
KR100313869B1 (en) Apparatus for generating printing data efficiently and method thereof
JPH09179700A (en) Printer, printing device, printing system, and information processor
JP2000076131A (en) Printer, control method therefor and storage medium
JPH08234939A (en) Printer device and its data managing method
JPH04201471A (en) Controller of page printer
JPH0930059A (en) Output device and method