JP2003335001A - Printing apparatus - Google Patents

Printing apparatus

Info

Publication number
JP2003335001A
JP2003335001A JP2002147669A JP2002147669A JP2003335001A JP 2003335001 A JP2003335001 A JP 2003335001A JP 2002147669 A JP2002147669 A JP 2002147669A JP 2002147669 A JP2002147669 A JP 2002147669A JP 2003335001 A JP2003335001 A JP 2003335001A
Authority
JP
Japan
Prior art keywords
band
compression
processing
raster data
data
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
JP2002147669A
Other languages
Japanese (ja)
Inventor
Toru Wakana
徹 若菜
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002147669A priority Critical patent/JP2003335001A/en
Publication of JP2003335001A publication Critical patent/JP2003335001A/en
Withdrawn legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a function that sequentially selects a method for controlling a band by a compression method making use of its advantage, thereby enabling a rapid procedure to control the band. <P>SOLUTION: The printing apparatus is provided with a means for inputting an image data by a page description language, a means for translating the page description language into an expression for coding a band, a means for translating the above expression for coding the band, a means for rasterising and generating a raster data from the above band coding expression and a first storage means of storing the above raster data, a second storage means of storing the raster data after compression, a means for selecting the compression means from a plurality of the compression means to be used and a plurality of band controlling means that control the above compression means. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】本発明は、バンド単位にラス
タライズ機能をもち描画を行なう画像形成装置に関する
ものである。 【0002】 【従来の技術】従来、レーザービームプリンタなどの、
いわゆるページプリンタと呼ばれる画像形成装置におい
ては、1ページ分のラスタデータをラスタメモリ上に保
持して画像形成を行なっていた。このような画像処理装
置としてのラスタデータは、テキストだけでなく、単な
る図形から写真のような画像まであらゆる画像を扱うも
のである。 【0003】また、これらの画像形成装置は、近年解像
度が向上し、例えば600dpiの解像度で、A4サイ
ズ1ページ分作成するためには4MByteものメモリ
を必要とする。そして現在も解像度はますます増大する
傾向にあり、さらに従来1画素2階調(1ビット)で表
現されていた階調も、16階調(4ビット)〜256階
調(8ビット)へと向上しつつあり、ますます膨大なラ
スタメモリを必要とするようになってきている。なおか
つ最近ではカラーを扱う場合も多くなりモノクロに比ベ
YMCK空間の場合は4プレーン分さらに必要となりま
すますメモリサイズが膨大になってきた。 【0004】このようなメモリの増大によるコストアッ
プを抑えるため、様々な省メモリ技術が提案されてい
る。例えば1ページ分のラスタデータをラスタメモリ上
にもつのではなく、1ページを複数のバンド状に分割し
ラスタデータを圧縮してラスタメモリ上にもつ方法であ
る。そして前述のようにデータ量が増大するにつれて、
メモリサイズ的にはデータ圧縮の効果も上がっている。 【0005】 【発明が解決しようとする課題】しかしながら、前記1
ページを複数のバンド状に分割するような処理の場合
で、前記バンドを圧縮する際に、バンド間同士の依存関
係を利用するような圧縮方式を用いた場合、必ずページ
の先頭のバンドから最後のバンドまで順番に圧縮制御し
ていく必要がある。またバンドにラスタデータが存在し
ないような場合は、本来はラスタデータ生成及び圧縮処
理を行う必要はないが、バンド間同士の依存関係を得る
ために、必ず圧縮処理を行う必要がある。さらに、圧縮
方式を別の圧縮方式に変更した場合、その圧縮方式がバ
ンド間同士の依存関係を必要としない場合でも、バンド
間同士の依存関係を用いた制御方法を使う必要がある。
そしてラスタデータが存在しない場合でも圧縮処理を行
う必要があり、処理時間を余計に要するという問題点が
あった。 【0006】 【課題を解決するための手段】そこで本発明では、ペー
ジ記述言語による画像データ入力手段と、前記ページ記
述言語をバンド符号化表現に翻訳する手段と、前記バン
ド符号化表現からラスタデータを生成するラスタライズ
手段と、前記ラスタデータを格納する第1の記憶手段
と、前記ラスタデータを圧縮する複数の圧縮手段と、前
記ラスタデータを圧縮後に格納する第2の記憶手段と、
前記複数圧縮手段から使用する圧縮手段を選択する圧縮
選択手段と、前記圧縮手段を制御する複数のバンド制御
手段を有する印刷装置において、前記圧縮選択手段の選
択結果よって、前記バンド制御手段を切り替えて、バン
ドを圧縮制御することで、上記問題点を解決したもので
ある。 【0007】 【発明の実施の形態】図1は、本実施形態に通用される
レーザビームプリンタ(以下、LBPと略す)の内部構
造を示す断面図で、このLBPは不図示のデータ源から
文字パターンの登録や定型書式(フォームデータ)など
の登録が行える。同図において、1000はLBP本体
であり、外部に接続されているホストコンピュータ(図
2の2001)から供給される文字情報(文字コード)
やフォーム情報あるいはマクロ命令などを入力して記憶
するとともに、それらの情報に従って対応する文字パタ
ーンやフォームパターンなどを作成し、記録媒体である
記録紙上に像を形成する。1012は操作のためのスイ
ッチおよびLED表示器などが配されている操作パネ
ル、1001はLBP1000全体の制御およびホスト
コンピュータから供給される文字情報などを解析するプ
リンタ制御ユニットである。この制御ユニット1001
は、主に文字情報を対応する文字パターンのビデオ信号
に変換してレーザドライバ1002に出力する。レーザ
ドライバ1002は半導体レーザ1003を駆動するた
めの回路であり、入力されたビデオ信号に応じて半導体
レーザ1003から発射されるレーザ光1004をオン
オフ切り替えする。レーザ1004は回転多面鏡100
5で左右方向に振られ静電ドラム1006上を走査す
る。これにより、静電ドラム1006上には文字パター
ンの静電潜像が形成される。この潜像は、静電ドラム1
006周囲の現像ユニット1007により現像された
後、記録紙に転送される。この記録紙にはカットシート
を用い、カットシート記録紙はLBP1000に装着し
た用紙カセット1008に収納され、給紙ローラ100
9および搬送ローラ1010と1011とにより装置内
に取り込まれて、静電ドラム1006に供給される。 【0008】図2は、2001はホストコンピュタなど
の外部機器を示し、2002はプリンタコントローラ部
全体を示し、2003はアドレスデータバスを示し、2
004はバッファ部を含むホストI/F、2005はプ
リンタコントローラ部を制御するCPU、2006はコ
ントローラ制御などを行なうプログラムの格納されてい
るROM部、2007はCPUにより制御されるDMA
部、2008はパネル部、2009は2011のエンジ
ンに送るためのデータを格納しておくための出力バッフ
ァ部を含む肝回路部、2010はRAM部を示してい
る。 【0009】まずはじめに図3のフローチャートを用い
て、ステップ300のページ生成についての説明を行
う。図2001のホストコンピュータなどの外部機器よ
り図2004のホストI/F部にステップ301におい
てPDL(ページ記述言語)により画像データが入力さ
れてくる。 【0010】次にステップ302において、ステップ3
01のPDLを解析し、バンド符号化表現の作成を行
う。ここでいうバンド符号化表現とは、バンド単位に分
割された「ビットマップ」、「ランレングス」、「台
形」、「ボックス」、「高速境界符号化されたビットマ
ップ」などの描画オブジェクトと背景パターン、およ
び、それらをラスタメモリに描画する際の描画論理の総
称である。なお、このバンド符合化表現の詳細について
は、特開平6−8725l号公報に開示されている。 【0011】次にステップ303において、圧縮ページ
の生成を行う。圧縮ページの生成についての詳細説明は
図4のフローチャートを用いて行う。 【0012】まずステップ401において、圧縮方法の
選択・決定を行う。圧縮方法の選択・決定についての詳
細説明は図5のフローチャートを用いて行う。 【0013】まずステップ501において、図3のステ
ップ302で作成したバンド符号化表現によるページデ
ータの階調を調査する。ただし、この実施形態の場合
は、1bit/pixelか2bit/pixelかの
2通りの階調でのデータ作成ができるものとする。次に
ステップ502において、ステップ50lで調査したデ
ータ階調が1bit/pixelか2bit/pixe
lかを調べる。もしデータ階調が1bit/pixel
なら、ステップ503に進む。逆にデータ階調が2bi
t/pixelならステップ504に進む。まず、デー
タ階調が1bit/pixelの場合は、ステップ50
3において、このページで使用する圧縮方式として「圧
縮方法1」を選択する。逆に、データ階調が2bit/
pixelの場合は、ステップ504において、このペ
ージで使用する圧縮方式として「圧縮方法2」を選択す
る。次にステップ505において、ステップ503及び
ステップ504において、それぞれのステップで選択し
た圧縮方法を記憶させておくために、図2の2010の
RAM内に格納する。次にステップ506に進み、ステ
ップ500の圧縮方法選択・決定の処理系を終了し、図
4のステップ401に戻る。 【0014】次に図4のステップ402に進み、バンド
制御方法選択・決定を行う。バンド制御方法選択・決定
についての詳細説明は図6のフローチャートを用いて行
う。 【0015】まずステップ601において、図5のステ
ップ505で設定した圧縮方法を図2の2010のRA
Mより読み出す。次にステップ602において、ステッ
プ601で読み出した圧縮方法を調査する。読み出した
圧縮方法が「圧縮方法1」なら、ステップ603に進み
バンド制御方法として「バンド制御方法1」を選択す
る。逆に読み出した圧縮方法が「圧縮方法2」なら、ス
テップ604に進みバンド制御方法として「バンド制御
方法2」を選択する。次にステップ605において、ス
テップ603及びステップ604において、それぞれの
ステップで選択した圧縮方法を記憶させておくために、
図2の2010のRAM内に格納する。ただし図5のス
テップ50Sで使用したRAMのエリアとは別エリアで
あるものとする。次にステップ606に進み、ステップ
600のバンド制御方法選択・決定の処理系を終了し、
図4のステップ402に戻る。 【0016】次に図4のステップ403に進み、圧縮バ
ンドの生成の処理を行う。圧縮バンドの生成についての
詳細説明は図7のフローチャートを用いて行う。 【0017】まずステップ701において、図6のステ
ップ605で設定したバンド制御方法を図2の2010
のRAMより読み出す。次にステップ702において、
ステップ701で読み出したバンド制御方法の調査をす
る。読み出したバンド制御方法が「バンド制御方法1」
ならステップ703に進み、バンド制御方法1の処理を
行う。バンド制御方法1についての詳細説明は図8のフ
ローチャートを用いて行う。 【0018】まずステップ801において、バンド番号
を示すNをN=0に初期化する。 【0019】ただしNは、整数値で、 0<=N<=N−MAXを満たすものとする。 【0020】また、N_MAXは 0<=N_MAXを満たす整数値である。 【0021】次にステップ802において、バンド番号
Nが N<=N_MAX を満たすかどうかを調査する。 【0022】もし N>N_MAXなら、全てのバンド
についての処理が終了したことを示し、ステップ807
に進み、ステップ800のバンド制御方法1の処理系を
終了する。 【0023】逆にN<=N_MAXなら、ステップ80
3に進む。ステップ803において、図3のステップ3
02で作成したバンド符号化表現を基にレンダリングを
行う。ここでレンダリングとは、図2の2010のRA
M内に含まれる1バンド分のメモリエリアを獲得し、前
記メモリエリアに図3のステップ302で作成したバン
ド符号化表現をビットマップ化に変換して格納すること
の総称とする。次にステップ804に進み、圧縮方法1
を用いて、ステップ803でレンダリングした結果を圧
縮し、図2の2010のRAM内に含まれる圧縮したバ
ンドを1ページ分格納するためのページメモリに格納す
る。ページメモリはあらかじめ割り当てられているもの
とし、前記レンダリング格納のメモリエリアとは別エリ
アであるとする。またここでいう「圧縮方法1」とは、
Nバンドを圧縮後、N+1バンドを圧縮する場合にNバ
ンドでの情報が必要な圧縮方法であるものとし、前記を
満たす圧縮方法であれば、どんな圧縮方法でもよいもの
とする。次にステップ80Sに進み、Nバンドの圧縮情
報をN+1バンドの圧縮に引き姫ぐための情報を図2の
2010のRAM内のメモリエリアに格納する。次にス
テップ806に進みバンド番号Nを次のバンド番号N+
1に更新する。再び、ステップ802に戻り、ステップ
803以下の処理を繰り返す。すべてのバンドの処理が
終了したなら、ステップ807進み、図7のステップ7
03に戻る。 【0024】逆にステップ701で読み出したバンド制
御方法が「バンド制御方法2」ならステップ704に進
み、バンド制御方法2の処理を行う。バンド制御方法2
の詳細説明を図9のフローチャートを用いて行う。 【0025】まずステップ901において、バンド番号
を示すNをN=0に初期化する。 【0026】ただしNは、整数値で、 0<=N<=N_MAXを満たすものとする。 【0027】また、N_MAXは 0<=N_MAXを満たす整数値である。 【0028】次にステップ902において、バンド番号
Nが N<=N MAX を満たすかどうかを調査する。 【0029】もし N>N_MAXなら、全てのバンド
についての処理が終了したことを示し、ステップ907
に進み、ステップ900のバンド制御方法2の処理系を
終了する。 【0030】逆にN<=N_MAXなら、ステップ90
3に進む。ステップ903において、Nバンドに描画情
報が存在するかどうか調査する。ここで描画情報とは図
3のステップ302で作成したバンド符号化表現のこと
を示すものとする。もし描画情報が存在しないなら、ス
テップ906に進む。逆に、描画情報が存在する場合
は、ステップ904に進む。 【0031】次にステップ904において、図3のステ
ップ302で作成したバンド符号化表現を基にレンダリ
ングを行う。ここでレンダリングとは、図2の2010
のRAM内に含まれる1バンド分のメモリエリアを獲得
し、前記メモリエリアに図3のステップ302で作成し
たバンド符号化表現をビットマップ化に変換して格納す
ることの総称とする。次にステップ905に進み、圧縮
方法2を用いて、ステップ903でレンダリングした結
果を圧縮し、図2の2010のRAM内に含まれる圧縮
したバンドを1ページ分格納するためのページメモリに
格納する。ページメモリはあらかじめ割り当てられてい
るものとし、前記レンダリング格納のメモリエリアとは
別エリアであるとする。またここでいう「圧縮方法2」
とは、「圧縮方法1」と異なり、バンド単位で独立に圧
縮処理可能な圧縮方法であるものとし、前記を満たす圧
縮方法であれば、どんな圧縮方法でもよいものとする。
次にステップ906に進み、バンド番号Nを次のバンド
番号N+1に更新する。そして再び、ステップ902に
戻り、ステップ903以下の処理を繰り返す。すべての
バンドの処理が終了したなら、ステップ907進み、図
7のステップ704に戻る。 【0032】次に図7のフローチャートに戻り、ステッ
プ703又はステップ704の処理が終了したなら、ス
テップ705に進み、ステップ700の圧縮バンドの生
成の処理系を終了し、図4のステップ403に戻る。 【0033】次に図4のフローチャートに戻り、ステッ
プ403の処理が終了したなら、ステップ404に進
み、ステップ400の圧縮ページの生成の処理系が終了
し、図3のステップ303に戻る。 【0034】次に図3のフローチャートに戻り、ステッ
プ303の処理が終了したなら、ステップ304に進
む。 【0035】次に図3のステップ304において、印字
処理を行う。印字処理の説明を図10のフローチャート
を用いて行う。 【0036】まずステップ1001において、バンド番
号を示すNをN=0に初期化する。 【0037】ただしNは、整数値で、 0<=N<=N_MAXを満たすものとする。 【0038】また、N_MAXは 0<=N_MAXを満たす整数値である。 【0039】次にステップ1002において、バンド番
号Nが N<=N_MAX を満たすかどうかを調査する。 【0040】もし N>N_MAXなら、全てのバンド
についての処理が終了したことを示し、ステップ100
8に進み、ステップ1000の印字処理の処理系を終了
する。 【0041】逆にN<=N_MAXなら、ステップ10
03に進む。ステップ1003において、図4のステッ
プ403で生成した圧縮バンドのうちNバンド目の圧縮
バンドが存在するかどうか調査する。もし圧縮バンドが
存在するなら、ステップ1004に進み、伸長処理を行
い、図2の2010のRAM内の1バンドと同じサイズ
のメモリエリアに伸長データを格納する。逆に圧縮バン
ドが存在しない場合は、バンドにデータが存在しない場
合と判断し、ステップ100Sに進み、白バンドデータ
を出力し、ステップ1004と同様に、図2の2010
のRAM内の1バンドと同じサイズのメモリエリアに自
データを格納する。次にステップ1006に進み、Sh
ipping処理を行う。ここでいうShipping
処理とは、ステップ1004又はステップ100Sで格
納したバンドデータをビデオ信号に変換し、そのビデオ
信号を図2の2011のエンジンヘ転送する処理の総称
を示すものとする。次にステップ1007に進み、バン
ド番号Nを次のバンド番号N+1に更新する。そして再
び、ステップ1002に戻り、ステップ1003以下の
処理をすべてのバンドが終了するまで行い、すべてのバ
ンドが終了したなら、ステップ1008に進み、ステッ
プ1000の印字処理系を終了し、図3のステップ30
4に戻る。 【0042】次に図3のステップ305に進み、ステッ
プ300のページ生成の処理系を終了する。 【0043】(その他の実施形態1)上記実施形態は、
伸長処理後に一旦バンドをメモリエリアに格納する場合
を扱ったが、伸長しながらメモリエリアに格納せずに直
接shippingする場合であっても構わない。 【0044】(その他の実施形態2)上記実施形態は、
描画情報のない場合はレンダリングしない場合を扱った
が、レンダリングしても構わない。 【0045】(その他の実施形態3)上記実施形態で
は、バンドを符号化する場合を扱ったが、バンド以外を
符号化する場 合であっても構わない。 【0046】(その他の実施形態4)上記実施形態で
は、圧縮処理を選択する場合、単一の圧縮方式を選択す
る場合を扱ったが、複数の圧縮方式の中から選択する場
合であっても構わない。 【0047】(その他の実施形態5)上記実施形態で
は、データ階調により圧縮方式を選択する方法を扱った
が、階調以外の情報(例えば、色情報)であっても構わ
ない。 【0048】(その他の実施形態6)上記実施形態で
は、圧縮方式と対になって1種類のバンド制御方法が存
在する場合を扱ったが、圧縮方式1つに村して複数のバ
ンド制御方法が存在しても構わない。 【0049】 【発明の効果】以上説明したように、ページ記述言語に
よる画像データ入力手段と、前記ページ記述言語をバン
ド符号化表現に翻訳する手段と、前記バンド符号化表現
からラスタデータを生成するラスタライズ手段と、前記
ラスタデータを格納する第1の記憶手段と、前記ラスタ
データを圧縮する複数の圧縮手段と、前記ラスタデータ
を圧縮後に格納する第2の記憶手段と、前記複数圧縮手
段から使用する圧縮手段を選択する圧縮選択手段と、前
記圧縮手段を制御する複数のバンド制御手段を有する印
刷装置において、前記圧縮選択手段の選択結果よって、
前記バンド制御手段を切り替えことで、圧縮方式の特徴
を活かしながら、高速処理可能となった。
Description: BACKGROUND OF THE INVENTION [0001] 1. Field of the Invention [0002] The present invention relates to an image forming apparatus for performing drawing with a rasterizing function for each band. [0002] Conventionally, laser beam printers and the like,
In an image forming apparatus called a page printer, one page of raster data is held in a raster memory to form an image. Raster data as such an image processing device handles not only text but also all kinds of images from simple figures to images such as photographs. In recent years, the resolution of these image forming apparatuses has been improved. For example, a resolution of 600 dpi requires as much as 4 Mbytes of memory to create one A4 size page. Even now, the resolution tends to increase further, and the gray scale conventionally expressed by 2 gray scales (1 bit) per pixel is changed from 16 gray scales (4 bits) to 256 gray scales (8 bits). Increasingly, they require an increasingly large amount of raster memory. In recent years, the number of colors has been increased, and in the case of a YMCK space compared to monochrome, the memory size required for four planes has been further increased. [0004] In order to suppress an increase in cost due to such an increase in memory, various memory saving techniques have been proposed. For example, there is a method in which one page of raster data is not stored in the raster memory, but one page is divided into a plurality of bands, and the raster data is compressed and stored in the raster memory. And as mentioned above, as the amount of data increases,
In terms of memory size, the effect of data compression is also increasing. [0005] However, the above 1)
In the case of processing that divides a page into a plurality of bands, if a compression method that uses the dependency between bands is used when compressing the bands, be sure to start from the first band of the page to the last band. It is necessary to perform compression control sequentially up to the band. When raster data does not exist in a band, it is not necessary to perform raster data generation and compression processing, but compression processing must be performed in order to obtain a dependency between bands. Further, when the compression method is changed to another compression method, it is necessary to use a control method using the dependence between bands even if the compression method does not require the dependence between bands.
Then, even when raster data does not exist, it is necessary to perform compression processing, and there is a problem that an additional processing time is required. Accordingly, the present invention provides an image data input means using a page description language, a means for translating the page description language into a band-encoded expression, and a method for converting raster data from the band-encoded expression. A rasterizing unit for generating the raster data, a first storage unit for storing the raster data, a plurality of compression units for compressing the raster data, a second storage unit for storing the raster data after compression,
In a printing apparatus having a compression selecting unit that selects a compression unit to be used from the plurality of compression units and a plurality of band control units that control the compression unit, the band control unit is switched according to a selection result of the compression selection unit. The above problem is solved by controlling the compression of the band. FIG. 1 is a cross-sectional view showing the internal structure of a laser beam printer (hereinafter abbreviated as LBP) used in the present embodiment. The LBP is a character from a data source (not shown). Registration of patterns and registration of fixed forms (form data) can be performed. In the figure, reference numeral 1000 denotes an LBP main unit, which is character information (character code) supplied from an externally connected host computer (2001 in FIG. 2).
And form information or macro instructions are input and stored, and a corresponding character pattern or form pattern is created according to the information, and an image is formed on recording paper as a recording medium. Reference numeral 1012 denotes an operation panel on which switches for operation, an LED display, and the like are arranged. Reference numeral 1001 denotes a printer control unit that controls the entire LBP 1000 and analyzes character information supplied from a host computer. This control unit 1001
Mainly converts character information into a video signal of a corresponding character pattern and outputs the video signal to the laser driver 1002. The laser driver 1002 is a circuit for driving the semiconductor laser 1003, and switches on and off a laser beam 1004 emitted from the semiconductor laser 1003 according to an input video signal. Laser 1004 is a rotating polygon mirror 100
5 and scans on the electrostatic drum 1006 while being swung right and left. As a result, an electrostatic latent image of a character pattern is formed on the electrostatic drum 1006. This latent image is stored in the electrostatic drum 1
After the image is developed by the developing unit 1007 around the sheet 006, the image is transferred to a recording sheet. A cut sheet is used as the recording paper, and the cut sheet recording paper is stored in a paper cassette 1008 mounted on the LBP 1000,
9 and transport rollers 1010 and 1011, and are taken into the apparatus and supplied to the electrostatic drum 1006. FIG. 2 shows an external device 2001 such as a host computer, 2002 shows the entire printer controller unit, 2003 shows an address data bus, and 2 shows an address data bus.
004, a host I / F including a buffer unit; 2005, a CPU for controlling a printer controller unit; 2006, a ROM unit storing a program for performing controller control and the like; 2007, a DMA controlled by the CPU
2008, a panel unit; 2009, a liver circuit unit including an output buffer unit for storing data to be sent to the 2011 engine; and 2010, a RAM unit. First, the page generation in step 300 will be described with reference to the flowchart in FIG. In step 301, image data is input from an external device such as the host computer in FIG. 2001 to the host I / F unit in FIG. 2004 in PDL (page description language). Next, in step 302, step 3
01 is analyzed to create a band-encoded representation. The term "band coded expression" used here refers to drawing objects such as "bitmaps", "run lengths", "trapezoids", "boxes", and "high-speed boundary coded bitmaps" divided into bands and backgrounds. It is a general term for patterns and drawing logic when drawing them in a raster memory. The details of the band coding expression are disclosed in Japanese Patent Application Laid-Open No. 6-8725l. Next, in step 303, a compressed page is generated. The detailed description of the generation of the compressed page will be made using the flowchart of FIG. First, in step 401, a compression method is selected and determined. Detailed description of the selection and determination of the compression method will be made using the flowchart of FIG. First, in step 501, the gradation of the page data in the band coding expression created in step 302 of FIG. 3 is examined. However, in the case of this embodiment, it is assumed that data can be created in two gradations, 1 bit / pixel or 2 bit / pixel. Next, in step 502, the data gradation examined in step 501 is 1 bit / pixel or 2 bit / pixel.
Check for l. If the data gradation is 1 bit / pixel
If so, the process proceeds to step 503. Conversely, data gradation is 2bi
If t / pixel, the process proceeds to step 504. First, if the data gradation is 1 bit / pixel, step 50
In step 3, "compression method 1" is selected as the compression method used on this page. Conversely, when the data gradation is 2 bits /
In the case of pixel, in step 504, “compression method 2” is selected as the compression method used for this page. Next, in step 505, in steps 503 and 504, the compression method selected in each step is stored in the RAM 2010 in FIG. Next, the process proceeds to step 506, where the processing system for selecting and determining the compression method in step 500 is terminated, and the process returns to step 401 in FIG. Next, the process proceeds to step 402 in FIG. 4 to select and determine a band control method. Detailed description of band control method selection / determination will be made using the flowchart of FIG. First, in step 601, the compression method set in step 505 in FIG.
Read from M. Next, in step 602, the compression method read in step 601 is examined. If the read compression method is "compression method 1", the flow advances to step 603 to select "band control method 1" as the band control method. Conversely, if the read compression method is “compression method 2”, the flow advances to step 604 to select “band control method 2” as the band control method. Next, in step 605, in step 603 and step 604, in order to store the compression method selected in each step,
It is stored in the RAM 2010 of FIG. However, it is assumed that this area is different from the area of the RAM used in step 50S of FIG. Next, proceeding to step 606, the processing system for selecting and determining the band control method in step 600 is terminated.
Returning to step 402 of FIG. Next, the process proceeds to step 403 in FIG. 4 to perform processing for generating a compressed band. The detailed description of the generation of the compression band will be made using the flowchart of FIG. First, in step 701, the band control method set in step 605 in FIG.
From the RAM. Next, in step 702,
The band control method read in step 701 is investigated. The read band control method is "band control method 1"
If so, the process proceeds to step 703, and the process of the band control method 1 is performed. The band control method 1 will be described in detail with reference to the flowchart of FIG. First, in step 801, N indicating a band number is initialized to N = 0. Here, N is an integer value and satisfies 0 <= N <= N-MAX. N_MAX is an integer value satisfying 0 <= N_MAX. Next, at step 802, it is checked whether or not the band number N satisfies N <= N_MAX. If N> N_MAX, it indicates that the processing has been completed for all bands, and step 807
To end the processing system of the band control method 1 in step 800. Conversely, if N <= N_MAX, step 80
Proceed to 3. In step 803, step 3 in FIG.
Rendering is performed based on the band coded expression created in step 02. Here, rendering refers to the RA of 2010 in FIG.
A general term for acquiring a memory area for one band included in M, converting the band-encoded representation created in step 302 of FIG. Next, the process proceeds to step 804, where the compression method 1
, The result of rendering in step 803 is compressed, and the compressed band included in the RAM 2010 in FIG. 2 is stored in a page memory for storing one page. It is assumed that the page memory is allocated in advance and is a different area from the memory area for the rendering storage. The “compression method 1” here is
It is assumed that the compression method requires information in the N band when compressing the N + 1 band after compressing the N band, and any compression method that satisfies the above condition may be used. Next, the process proceeds to step 80S, where information for reducing the compression information of the N band to the compression of the N + 1 band is stored in the memory area in the RAM 2010 of FIG. Next, the process proceeds to step 806, where the band number N is set to the next band number N +
Update to 1. The process returns to step 802 again and repeats the processing of step 803 and subsequent steps. When the processing of all the bands is completed, the process proceeds to step 807, and step 7 in FIG.
Return to 03. Conversely, if the band control method read out in step 701 is "band control method 2", the flow advances to step 704 to perform the processing of band control method 2. Band control method 2
Will be described in detail with reference to the flowchart of FIG. First, at step 901, N indicating a band number is initialized to N = 0. Here, N is an integer value and satisfies 0 <= N <= N_MAX. N_MAX is an integer value satisfying 0 <= N_MAX. Next, at step 902, it is checked whether or not the band number N satisfies N <= N MAX. If N> N_MAX, it indicates that the processing has been completed for all the bands, and
To end the processing system of the band control method 2 in step 900. Conversely, if N <= N_MAX, step 90
Proceed to 3. In step 903, it is checked whether drawing information exists in the N band. Here, the drawing information indicates the band coded expression created in step 302 of FIG. If there is no drawing information, the process proceeds to step 906. Conversely, if there is drawing information, the process proceeds to step 904. Next, in step 904, rendering is performed based on the band coded expression created in step 302 of FIG. Here, rendering refers to 2010 in FIG.
Is a general term for acquiring a memory area for one band included in the RAM, and converting the band-encoded expression created in step 302 of FIG. Next, the process proceeds to step 905, in which the result rendered in step 903 is compressed using the compression method 2, and the compressed band included in the RAM 2010 in FIG. 2 is stored in a page memory for storing one page. . It is assumed that the page memory is allocated in advance and is a different area from the memory area for the rendering storage. "Compression method 2" here
"Compression method 1" is different from "compression method 1" in that it is a compression method that can be independently compressed in band units, and any compression method that satisfies the above conditions may be used.
Next, the process proceeds to step 906, where the band number N is updated to the next band number N + 1. Then, the process returns to step 902 again, and repeats the processing of step 903 and subsequent steps. When the processing for all the bands is completed, the process proceeds to step 907 and returns to step 704 in FIG. Next, returning to the flowchart of FIG. 7, when the processing of step 703 or step 704 is completed, the processing proceeds to step 705, where the processing system for generating the compressed band of step 700 is terminated, and the processing returns to step 403 of FIG. . Next, returning to the flowchart of FIG. 4, when the processing of step 403 is completed, the processing proceeds to step 404, the processing system for generating the compressed page in step 400 ends, and the processing returns to step 303 of FIG. Next, returning to the flowchart of FIG. 3, when the process of step 303 is completed, the process proceeds to step 304. Next, at step 304 in FIG. 3, a printing process is performed. The printing process will be described with reference to the flowchart of FIG. First, in step 1001, N indicating a band number is initialized to N = 0. However, N is an integer value and satisfies 0 <= N <= N_MAX. N_MAX is an integer value satisfying 0 <= N_MAX. Next, in step 1002, it is checked whether or not the band number N satisfies N <= N_MAX. If N> N_MAX, it indicates that the processing has been completed for all the bands, and step 100
Proceeding to S8, the processing system of the printing process in step 1000 is ended. Conversely, if N <= N_MAX, step 10
Go to 03. In step 1003, it is checked whether or not the Nth compressed band exists among the compressed bands generated in step 403 in FIG. If there is a compression band, the flow advances to step 1004 to perform decompression processing and store the decompressed data in a memory area of the same size as one band in the RAM 2010 in FIG. Conversely, if there is no compressed band, it is determined that there is no data in the band, the process proceeds to step 100S, and white band data is output.
The self data is stored in a memory area of the same size as one band in the RAM. Next, the process proceeds to step 1006, where Sh
Perform an ipping process. Shipping here
The process is a general term for a process of converting the band data stored in step 1004 or 100S into a video signal and transferring the video signal to the engine 2011 in FIG. Next, the routine proceeds to step 1007, where the band number N is updated to the next band number N + 1. Then, the process returns to step 1002 again, and performs the processing from step 1003 onward until all the bands are completed. When all the bands are completed, the process proceeds to step 1008, the print processing system of step 1000 is terminated, and the process of FIG. 30
Return to 4. Next, the process proceeds to step 305 in FIG. 3, and the processing system for page generation in step 300 is ended. (Other Embodiment 1)
Although the case where the band is temporarily stored in the memory area after the decompression processing is dealt with, the case where the band is directly expanded without being stored in the memory area while being decompressed may be used. (Other Embodiment 2) In the above embodiment,
In the case where there is no drawing information, the case where the rendering is not performed is dealt with, but the rendering may be performed. (Other Embodiment 3) In the above embodiment, the case where a band is coded is dealt with. However, the case where a band other than a band is coded may be used. (Other Embodiment 4) In the above embodiment, the case where a single compression method is selected when the compression processing is selected is dealt with. However, even when the compression processing is selected from a plurality of compression methods. I do not care. (Other Embodiment 5) In the above embodiment, the method of selecting a compression method according to the data gradation is used, but information other than gradation (for example, color information) may be used. (Embodiment 6) In the above embodiment, the case where one type of band control method exists in combination with the compression method has been described. May be present. As described above, means for inputting image data in a page description language, means for translating the page description language into a band coded expression, and generating raster data from the band coded expression. Rasterizing means, first storing means for storing the raster data, a plurality of compressing means for compressing the raster data, second storing means for storing the raster data after compression, and use from the plurality of compressing means In a printing apparatus having compression selection means for selecting a compression means to be performed, and a plurality of band control means for controlling the compression means, according to a selection result of the compression selection means,
By switching the band control means, high-speed processing can be performed while utilizing the characteristics of the compression method.

【図面の簡単な説明】 【図1】印刷装置の内部構造を示す段面図。 【図2】印刷装置のブロック図。 【図3】処理の流れを示すフローチャート。 【図4】処理の流れを示すフローチャート。 【図5】処理の流れを示すフローチャート。 【図6】処理の流れを示すフローチャート。 【図7】処理の流れを示すフローチャート。 【図8】処理の流れを示すフローチャート。 【図9】処理の流れを示すフローチャート。 【図10】処理の流れを示すフローチャート。 【符号の説明】 1000 LBP本体 1001 プリンタ制御ユニット 1002 レーザドライバ 1003 半導体レーザ 1004 レーザ光 1005 回転多面鏡 1006 静電ドラム 1007 現像ユニット 1008 用紙カセット 1009 給紙ローラ 1010 搬送ローラーザドライバ 2001 外部装置 2002 プリンタコントローラ部 2003 アドレス・データバス 2004 ホストI/F 2005 プリンタコントローラ部制御CPU 2006 ROM部 2007 DMA部 2008 パネル部 2009 I/F回路部 2010RAM部 2011 エンジン部導体レーザ[Brief description of the drawings] FIG. 1 is a sectional view showing the internal structure of a printing apparatus. FIG. 2 is a block diagram of a printing apparatus. FIG. 3 is a flowchart showing a processing flow. FIG. 4 is a flowchart showing a processing flow. FIG. 5 is a flowchart showing a processing flow. FIG. 6 is a flowchart showing a processing flow. FIG. 7 is a flowchart showing a processing flow. FIG. 8 is a flowchart showing a processing flow. FIG. 9 is a flowchart showing the flow of processing. FIG. 10 is a flowchart showing a processing flow. [Explanation of symbols] 1000 LBP body 1001 Printer control unit 1002 laser driver 1003 Semiconductor laser 1004 laser light 1005 rotating polygon mirror 1006 Electrostatic drum 1007 Development unit 1008 Paper cassette 1009 Paper feed roller 1010 Transport roller the driver 2001 External device 2002 Printer controller 2003 address / data bus 2004 Host I / F 2005 Printer controller control CPU 2006 ROM section 2007 DMA unit 2008 Panel 2009 I / F circuit section 2010 RAM section 2011 Engine conductor laser

Claims (1)

【特許請求の範囲】 【請求項1】 ページ記述言語による画像データ入力手
段と、 前記ページ記述言語をバンド符号化表現に翻訳する手段
と、 前記バンド符号化表現からラスタデータを生成するラス
タライズ手段と、 前記ラスタデータを格納する第1の記憶手段と、 前記ラスタデータを圧縮する複数の圧縮手段と、 前記ラスタデータを圧縮後に格納する第2の記憶手段
と、 前記複数圧縮手段から使用する圧縮手段を選択する圧縮
選択手段と、 前記圧縮手段を制御する複数のバンド制御手段を有する
印刷装置において、 前記圧縮選択手段の選択結果によって、前記バンド制御
手段を切り替えて、バンドを圧縮制御することを特徴と
する印刷装置。
Claims: 1. An image data input unit using a page description language, a unit for translating the page description language into a band coded expression, and a rasterizing unit for generating raster data from the band coded expression. A first storage unit for storing the raster data; a plurality of compression units for compressing the raster data; a second storage unit for storing the raster data after being compressed; and a compression unit used from the plurality of compression units. And a plurality of band control means for controlling the compression means, wherein the band control means is switched according to the selection result of the compression selection means to control the compression of the band. Printing device.
JP2002147669A 2002-05-22 2002-05-22 Printing apparatus Withdrawn JP2003335001A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002147669A JP2003335001A (en) 2002-05-22 2002-05-22 Printing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002147669A JP2003335001A (en) 2002-05-22 2002-05-22 Printing apparatus

Publications (1)

Publication Number Publication Date
JP2003335001A true JP2003335001A (en) 2003-11-25

Family

ID=29706083

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002147669A Withdrawn JP2003335001A (en) 2002-05-22 2002-05-22 Printing apparatus

Country Status (1)

Country Link
JP (1) JP2003335001A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013146907A (en) * 2012-01-18 2013-08-01 Kyocera Document Solutions Inc Image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013146907A (en) * 2012-01-18 2013-08-01 Kyocera Document Solutions Inc Image forming apparatus

Similar Documents

Publication Publication Date Title
JP2003216361A (en) Printing system and printing device
JP2003312068A (en) Method and apparatus for processing image
JP2003320715A (en) Information processing apparatus, information processing system, method for controlling information output, storage medium, and program
US8373903B2 (en) Efficient implementation of raster operations flow
EP0575134A2 (en) Method and apparatus for printing according to a graphic language
JP2002016783A (en) Image processing unit and its method and image forming device
JP4323618B2 (en) Image processing apparatus and image processing method
JP2003335001A (en) Printing apparatus
JPH11235849A (en) Image processing device, data processing method thereof, and storage medium storing program readable by computer
JP4474487B2 (en) Image processing apparatus and image processing method
JP3792881B2 (en) Image processing apparatus, data processing method for image processing apparatus, and storage medium storing computer-readable program
JP4072403B2 (en) Information processing apparatus, information processing method, and program
JP2005041066A (en) Printing device
JP2006140597A (en) Device and method for printing control, computer program, and storage medium
JP2003237147A (en) Image processing method and image processor
JP2008060730A (en) Image processor, image processing method, image processing program, and recording medium
JP2006159458A (en) Image output device
JPH10171612A (en) Picture processor and compression processing method
JPH10147019A (en) Printing process device
JP2004254187A (en) Information processor
JP2004326266A (en) Print control method, information processing device, and printer
JPH10157217A (en) Printing-processing apparatus
JP2002237952A (en) Imaging device, imaging system, coding control method and storage medium
JP2003274203A (en) Device and method for print controlling
JP2001080134A (en) Production control apparatus, printing control method and memory medium

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: 20050802