JP3570316B2 - Image data conversion method and apparatus - Google Patents

Image data conversion method and apparatus Download PDF

Info

Publication number
JP3570316B2
JP3570316B2 JP34985999A JP34985999A JP3570316B2 JP 3570316 B2 JP3570316 B2 JP 3570316B2 JP 34985999 A JP34985999 A JP 34985999A JP 34985999 A JP34985999 A JP 34985999A JP 3570316 B2 JP3570316 B2 JP 3570316B2
Authority
JP
Japan
Prior art keywords
image data
column
data
raster
conversion
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.)
Expired - Fee Related
Application number
JP34985999A
Other languages
Japanese (ja)
Other versions
JP2001162867A (en
Inventor
富士勝 八重樫
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP34985999A priority Critical patent/JP3570316B2/en
Publication of JP2001162867A publication Critical patent/JP2001162867A/en
Application granted granted Critical
Publication of JP3570316B2 publication Critical patent/JP3570316B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は画像データ変換装置、特に複数画素を同時に印刷するシリアルプリンタ内部において、ラスタ形式画像データをシリアルプリンタに適したカラム形式画像データに変換(ラスタカラム変換)するシリアルプリンタの画像データ変換装置に関する。
【0002】
【従来の技術】
斯かる画像データ変換装置の従来技術は、例えば特開平5−104784号公報の「シリアルプリンタ」および特開平11−123861号公報の「カラープリンタ用プリンタドライバおよびそれを使用する印刷システム」等に開示されている。これら従来技術は、ラスタ形式画像データをカラム形式画像データに変換する機能を持つシリアルプリンタを開示している。ラスタ形式画像データをラスタカラム変換し、1パス分のカラム形式画像データを記憶装置に書き込み終了すると、印刷を開始する。1パス分のラスタ形式画像データを全てカラム形式画像データに変換した後に印刷を開始するので、1パス分のラスタ形式画像データ容量と同じカラム形式画像データ容量を必要とする。また、1パス分のラスタカラム変換を終了しないと印刷を開始できない。
【0003】
【発明が解決しようとする課題】
上述の如き従来技術は、次の如き幾つかの課題を有する。第1に、シリアルプリンタのラスタカラム変換において、カラム形式画像データの記憶容量が、ラスタ形式画像データの記憶容量と同じだけ必要である。その理由は、1パス分のラスタカラム変換を行った後に印刷を開始するためである。
【0004】
第2に、印刷の開始が遅くなる。その理由は、1パス分のラスタカラム変換を行った後に印刷を開始するためである。
【0005】
【発明の目的】従って、本発明の目的は、シリアルプリンタにおいてカラム形式画像データを格納する記憶容量を減少させることにより、安価なシリアルプリンタのラスタカラム変換を可能にする画像データ変換装置を提供することである。
【0006】
【課題を解決するための手段】
本発明は、ラスタ形式の画像データをカラム形式の画像データに変換するラスタカラム変換して、シリアルプリンタの印刷ヘッドにより印刷するための画像データ変換装置であり、前記ラスタカラム変換を1回当たり、前記印刷ヘッドの1パスより小単位であり、且つ前記印刷ヘッドのライン数より小単位で行うデータ変換部と、このデータ変換部により変換されたカラム形式の画像データを記憶するカラム記憶部とを有することを特徴とする。
【0007】
また、本発明の好適実施形態例では、シリアルバスにて相互接続された制御部と記憶装置とにより構成され、この制御部は、ラスタカラム変換を行うデータ変換部と、ラスタカラム変換のタイミング発生を制御するタイミング発生部と、記憶装置からカラム形式の画像データを読み出し印刷データに変換して出力する印刷データ生成部とを備える。
【0008】
本発明の好適実施形態例では、記憶装置は夫々ラスタ形式およびカラム形式の画像データを格納するラスタデータ記憶部およびカラムデータ記憶部を有する。また、タイミング発生部は、データ変換部および印刷データ生成部に夫々データ変換のタイミングで発生するchange信号および印刷タイミングで発生するprint信号を出力する。システムバスは、16ビット幅であり、change信号に応じてラスタ形式の画像データの読み出しおよびカラム形式の画像データの書き込みを交互に行い、print信号に応じてカラム形式の画像データの読み出しを行う。更に、印刷データ生成部は、記憶装置からカラム形式の画像データを読み出し、パラレルシリアル変換等により印刷データに変換される。
【0009】
【発明の実施の形態】
次に、本発明による画像データ変換装置の好適実施形態例の構成および動作を、添付図を参照して詳細に説明する。
【0010】
シリアルプリンタは、印字方式の違いから、インクジェット式、熱転写式、インパクト式等が存在する。しかし、これら印刷方式は全て印刷ヘッドと呼ばれる部品が記憶媒体に画素を形成することにより印刷する点で共通している。典型的な印刷ヘッドは、数十から数百画素程度を同時に形成できるよう構成されている。印刷ヘッドは、キャリアと呼ばれる部品の上に固定され、モータ等の駆動源により印刷ヘッドを乗せたキャリアを記録媒体上で往復移動させる。キャリアが始動し、一定速度に達した後印刷が始まる。一方、印刷が終了すると、キャリアは減速し、最終的には停止する。このキャリアが始動してから完全停止するまでの時間を1パスという。また、この間の印刷を1パス分の印刷という。シリアルプリンタでは、パーソナルコンピュータ等で作成された画像データが、インターフェース(I/F)を介して送信されてくる。このとき、送信されてくる画像データは、一般に「ラスタ形式」と呼ばれる画像データである。このラスタ形式の画像データは、ラインプリンタ、ページプリンタ等による印刷に好適なデータ形式である。しかし、シリアルプリンタでは、この「ラスタ形式」の画像データをシリアルプリンタに好適な画像データである「カラム形式」に変換する必要がある。この「ラスタ形式」の画像データから「カラム形式」の画像データへの変換を「ラスタカラム変換」という。
【0011】
先ず、図1は、本発明による画像データ変換装置の好適実施形態例のブロック図である。この画像データ変換装置は、制御部10と記憶装置20との2つの部分により構成されている。制御部10は、データ変換部13、タイミング発生部14および印刷データ生成部15を含んでいる。一方、記憶装置20は、内部にラスタ形式の画像データを格納するラスタデータ記憶部26とカラム形式の画像データを格納するカラムデータ記憶部27とを有する。制御部10と記憶部20との間は、システムバス30により相互接続され、相互にデータの送受信を行うよう構成されている。
【0012】
データ変換部13は、タイミング発生部14と接続され、タイミング発生部14からデータ変換のタイミングで出力されるchange信号18を受信する。また、データ変換部13は、システムバス30と呼ばれる16ビット幅のデータバスでラスタ形式の画像データおよびカラム形式の画像データが格納されている記憶装置20と接続されている。印刷データ生成部15は、タイミング発生部14と接続され、タイミング発生部14から印刷のタイミングで出力されるprint信号19を受信する。また、印刷データ生成部15は、システムバス30でカラム形式画像データが格納されている記憶装置20と接続されている。
【0013】
次に、図1、図2および図3を参照しながら本発明による画像データ変換装置の動作を説明する。図2は、図1に示す画像データ変換装置の動作を示すフローチャートである。図3は、図1に示す画像データ変換装置の動作説明用のタイミングチャートである。先ず、タイミング発生部14からデータ変換タイミングchange信号18が出力される(ステップ101)。データ変換部13は、このchange信号18を検出すると、ラスタデータ記憶部26からラスタ形式の画像データの一部を読み出す(ステップ102)。読み出されたラスタ形式画像データは、データ変換部13にてラスタカラム変換され、カラムデータ記憶部27へ書き込まれる(ステップ103)。
【0014】
次に、1回目の印刷タイミングprint信号19がタイミング発生部14から出力される(ステップ104)。印刷データ生成部15は、このprint信号19を検出すると、カラムデータ記憶部27のカラム形式の画像データを読み出し(ステップ105)、パラレルシリアル変換した後に印刷データとして出力する(ステップ106)。次に、2回目の印刷タイミングprint信号19がタイミング発生部14から出力される(ステップ104)。印刷データ生成部15は、カラムデータ記憶部27へ出力するアドレスを加算し、2回目の印刷用カラム形式の画像データを読み出し(ステップ105)。そして、シリアルパラレル変換した後に印刷データとして出力する(ステップ106)。同様に、16回目のprint信号19の出力まで印刷データ生成部15は、カラム形式の画像データを読み出し、印刷データに変換して出力する。16回目の印刷データ出力が終了すると、ラスタカラム変換されたカラム形式の画像データは全て読み出されたことになる(ステップ107→ステップ108)。
【0015】
16回目の印刷データ出力が終了すると、タイミング発生部14からはchange信号18が出力される(ステップ101)。データ変換部13は、このchange信号18を検出すると、最初と同様にラスタデータ記憶部26からラスタ形式の画像データの一部を読み出す(ステップ102)が、読み出すアドレスは更新されている。読み出されたラスタ形式の画像データは、データ変換部13にてラスタカラム変換され、カラムデータ記憶部27へ書き込まれる(ステップ103)。しかし、書き込むアドレスに関しては、最初と同じアドレスから再度書き始める。以上説明した一連の動作を1パス分の印刷が終了するまで繰り返す。
【0016】
次に、ラスタカラム変換時(ステップ101乃至ステップ103)のデータ変換部13の記憶装置20へのアクセスを、図3のタイミングチャートの一部を詳細に示す図4を用いて説明する。ここでは、1例としてシリアルプリンタに32画素を同時に印刷できる印刷ヘッドが1個備わっている場合について説明する。また、上述の如く、システムバス30のビット幅は、16ビットである。タイミング発生部14からchange信号18が出力されると、データ変換部13はラスタデータ記憶部26からラスタ形式の画像データを16word読み出す(図4中のRr123参照)。読み出されたラスタ形式の画像データは、1ラスタ目の画素1から画素16の1word、2ラスタ目の画素1から画素16の1word、………15ラスタ目の画素1から画素16の1word、16ラスタ目の画素1から画素16の1wordの計16wordである。
【0017】
次に、読み出されたラスタ形式の画像データをデータ変換部13でラスタカラム変換し、カラム形式の画像データをカラムデータ記憶部27へ16word書き込む(図4中のCw124参照)。書き込まれたカラム形式の画像データは、1ラスタ目から16ラスタ目の画素1の1word、1ラスタ目から16ラスタ目の画素2の1word、………1ラスタ目から16ラスタ目の画素15の1word、1ラスタ目から16ラスタ目の画素16の1wordである合計16wordである。次に、データ変換部13は、またラスタデータ記憶部26のラスタ形式の画像データを16word読み出す(図4中のRr125参照)。読み出されたラスタ形式の画像データは、17ラスタ目の画素1から画素16の1word、18ラスタ目の画素1から画素16の1word、………31ラスタ目の画素1から画素16の1word、32ラスタ目の画素1から画素16の1wordである合計16wordである。
【0018】
次に、読み出されたラスタ形式の画像データをデータ変換部13でラスタカラム変換し、カラム形式の画像データをカラムデータ記憶部27へ16word書き込む(図4中のCw126参照)。書き込まれたカラム形式の画像データは、17ラスタ目から32ラスタ目の画素1の1word、17ラスタ目から32ラスタ目の画素2の1word、………17ラスタ目から32ラスタ目の画素15の1word、17ラスタ目から32ラスタ目の画素16の1wordである合計16wordである。これで、カラムデータ記憶部27には、縦32画素(32ラスタ)、横16画素分の画像データがラスタカラム変換され格納されたことになる。次に、タイミング発生部から1回目のprint信号19が出力される。印刷データ生成部15では、この1回目のprint信号19をトリガ(引き金)として、記憶装置20のカラムデータ記憶部27から印刷ヘッドが1回に印刷する分の2word(32ビット)のカラム形式の画像データを読み出す(図3および図4中のCr122参照)。
【0019】
読み出されたカラム形式の画像データは、1ラスタ目から16ラスタ目の画素1の1wordと17ラスタ目から32ラスタ目の画素1の1wordである合計2wordである。印刷データ生成部15は、この2wordのカラム形式の画像データをパラレルシリアル変換して出力する。印刷ヘッドは、この2word画像データに基づき1回の印刷(画素1を縦に32画素分)を行う。以下、2回目から16回目まで、タイミング発生部14から発生するprint信号19をトリガに同様動作を繰り返えす。尚、図4に示す如く、change信号に応じて行われるラスタ形式の画像データの読み出し(Rr)123、125およびカラム形式の画像データの書き込み(Cw)124、126を纏めて図3のラスタカラム変換では121で示している。
【0020】
次に、ラスタデータ記憶部26のラスタ形式の画像データ、カラムデータ記憶部27のカラム形式の画像データ内容とデータ変換部13でのラスタカラム変換について詳細に説明する。上述の説明と同様に、システムバス30は、16ビット幅で、印刷ヘッドは32画素を同時に印刷できるものとして、図5に示すA4サイズの用紙11に縦32画素、横64画素の印刷を行う場合について説明する。
【0021】
図6は、図5に示した印刷結果12とラスタデータ記憶部26のラスタ形式の画像データの格納アドレスとの関係を示した図である。1ラスタ目の画素1から画素16の画像データはアドレス0h、1ラスタ目の画素17から画素32の画像データはアドレス2hの如く、1ラスタ目の画像データは、アドレス0hから6hまでの4wordに格納されている。2ラスタ目の画像データは、アドレス8hからChの如く、32ラスタ分の画像データが、128word格納されている。
【0022】
図7も、図6と同じ内容を説明した図である。図8は、図5に示した印刷結果12を得る場合に、最初のchange信号18によりラスタカラム変換した後におけるカラムデータ記憶部27のカラム形式の画像データと格納アドレスとの関係を示した図である。1ラスタ目から16ラスタ目の画素1の画像データは、アドレス100h、17ラスタ目から32ラスタ目の画素1の画像データは、アドレス102h、1ラスタ目から16ラスタ目の画像データはアドレス104h、17ラスタ目から32ラスタ目の画素2の画像データは、アドレス106hの如く画素1から画素16までのラスタ分の画像データが32 word格納されている。ラスタ形式の画像データ128wordに対し、カラム形式の画像データは32wordと4分の1と少ないことが分かる。
【0023】
図9は、カラムデータ記憶部27への書き込み途中の内容を示した図である。図4のカラムデータ記憶部27への書き込み(図4中の126参照)の16word内の1wordを書き込んだ直後のカラムデータ記憶部27の内容である。図10は、2回目めのchange信号18によってラスタカラム変換した後におけるカラムデータ記憶部27のカラム形式の画像データと格納アドレスとの関係を示した図である。カラムデータ記憶部27のアドレスは変わっていないが、格納内容が違っていることが分かる。図11および図12は、データ変換部13内でのラスタカラム変換の様子を示す図である。図11における読み出しデータ1乃至16は、図4中の123であり、書き込みデータ1乃至16は、図4中の124に相当する。図12における読み出しデータ1乃至16は、図4中の125であり、書き込みデータ1乃至16は、図4中の126に相当する。
【0024】
上述した如く、本発明による画像データ変換装置は、タイミング発生部14から出力されるデータ変換タイミングchange信号18をトリガとして、データ変換部13は記憶装置20のラスタデータ記憶部26からラスタ形式の画像データを読み出す。読み出されたラスタ形式の画像データは、データ変換部13にてラスタカラム変換される。この変換されたカラム形式の画像データは、記憶装置20のカラムデータ記憶部27に書き込まれる。このときラスタカラム変換される画像データ量は、1パス分の画像データ全てではなく、数wordの画像データとする。次に、タイミング発生部14から出力される印刷タイミングprint信号19をトリガとして印刷データ生成部15は、記憶装置20から1カラム分のカラム形式の画像データを読み出し、印刷データに変換(例えばパラレルシリアル変換)して出力する。タイミング発生部14からは、順次印刷タイミングprint信号19が出力されるので、既にラスタカラム変換されたカラム形式の画像データ全てが読み出されるまで繰り返す。ラスタカラム変換されたカラム形式の画像データが全て読み出されると、タイミング発生部14からデータ変換タイミングchange信号18が出力され、データ変換部13でラスタカラム変換が行われる。以下、1パス分の印刷が終了するまで繰り返される。
【0025】
以上、本発明による画像データ変換装置の好適実施形態例の構成および動作を詳述した。しかし、斯かる実施形態例は、本発明の単なる例示に過ぎず、何ら本発明を限定するものではないことに留意されたい。本発明の要旨を逸脱することなく種々の変形変更が可能であること、当業者には容易に理解できよう。
【0026】
【発明の効果】
上述の説明から明らかな如く、本発明の画像データ変換装置によると、以下の如き顕著な効果が得られる。第1に、ラスタ形式の画像データ量に対して、カラム形式の画像データ量を少なくすることができる。実施形態例では、ラスタ形式画像データ128wordに対し、カラム形式画像データ32wordと、4分の1になっている。仮に、600dpiの解像度でA4サイズの用紙全面に印刷した場合、横は約4,800画素となり、ラスタ形式の画像データは9,600wordとなる。カラム形式の画像データの増加はなく、32wordであるので、300分の1となる。その理由は、印刷開始前に1パス分のラスタカラム変換をせずに、印刷中にラスタカラム変換を逐次することで、カラム形式の画像データ量を少なくするためである。
【0027】
第2に、印刷の開始を促進することができる。その理由は、印刷前にラスタカラム変換を行わないので、その分だけ印刷開始が早くなるためである。
【図面の簡単な説明】
【図1】本発明による画像データ変換装置の好適実施形態例のブロック図である。
【図2】図1の画像データ変換装置の動作を示すフローチャートである。
【図3】図1の画像データ変換装置の動作を示すタイミングチャートである。
【図4】図3の一部を詳細に示すタイミングチャートである。
【図5】シリアルプリンタで印刷した印刷結果の一例を示す図である。
【図6】ラスタ形式の画像データアドレスと印刷結果との関係を示す図である。
【図7】ラスタ形式の画像データアドレスと印刷結果との関係を示す図である。
【図8】カラム形式の画像データアドレスと印刷結果との関係を示す図である。
【図9】図1の画像データ変換装置中のカラムデータ記憶部への書き込み途中の内容を示す図である。
【図10】カラム形式の画像データアドレスと印刷結果との関係を示す図である。
【図11】図1に示す画像データ変換装置中のデータ変換部内ラスタカラム変換の説明図である。
【図12】図1に示す画像データ変換装置中のデータ変換部内ラスタカラム変換の説明図である。
【符号の説明】
10 制御部
13 データ変換部
14 タイミング発生部
15 印刷データ生成部
18 change信号
19 print信号
20 記憶装置
26 ラスタデータ記憶部
27 カラムデータ記憶部
30 システムバス
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image data conversion apparatus, the internal serial printer that prints in particular a plurality of pixels at the same time, an image data conversion device of a serial printer for converting raster format image data into column format image data suitable for a serial printer (a raster column conversion) .
[0002]
[Prior art]
The prior art of such an image data conversion apparatus is disclosed in, for example, "Serial Printer" in JP-A-5-104784 and "Printer Driver for Color Printer and Printing System Using It" in JP-A-11-123861. Have been. These prior arts disclose a serial printer having a function of converting raster format image data into column format image data. When raster format image data is converted into raster columns and one pass worth of column format image data is written to the storage device, printing is started. Since printing is started after converting all the raster format image data for one pass into column format image data, the same column format image data capacity as the raster format image data capacity for one pass is required. Also, printing cannot be started unless raster column conversion for one pass is completed.
[0003]
[Problems to be solved by the invention]
The prior art as described above has several problems as follows. First, in raster column conversion of a serial printer, the storage capacity of column format image data is required to be the same as the storage capacity of raster format image data. The reason is that printing is started after performing raster column conversion for one pass.
[0004]
Second, the start of printing is delayed. The reason is that printing is started after performing raster column conversion for one pass.
[0005]
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide an image data conversion device which enables raster column conversion of an inexpensive serial printer by reducing the storage capacity for storing column format image data in a serial printer. That is.
[0006]
[Means for Solving the Problems]
The present invention is an image data conversion device for performing raster column conversion for converting raster format image data into column format image data and printing with a print head of a serial printer. A data conversion unit that performs a unit smaller than one pass of the print head and is smaller than the number of lines of the print head , and a column storage unit that stores image data in a column format converted by the data conversion unit. It is characterized by having .
[0007]
In a preferred embodiment of the present invention , the control unit includes a control unit and a storage device interconnected by a serial bus. The control unit includes a data conversion unit for performing raster column conversion, and a timing generation for raster column conversion. And a print data generation unit that reads column-format image data from a storage device, converts the data into print data, and outputs the print data.
[0008]
In a preferred embodiment of the present invention, the storage device has a raster data storage unit and a column data storage unit for storing image data in raster format and column format, respectively. The timing generator outputs a change signal generated at the data conversion timing and a print signal generated at the print timing to the data converter and the print data generator, respectively. The system bus has a 16-bit width, and alternately reads raster image data and writes column image data according to a change signal, and reads column image data according to a print signal. Further, the print data generation unit reads the column-format image data from the storage device and converts the image data into print data by parallel-serial conversion or the like.
[0009]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, the configuration and operation of a preferred embodiment of the image data conversion device according to the present invention will be described in detail with reference to the accompanying drawings.
[0010]
Serial printers include an ink jet type, a thermal transfer type, an impact type, and the like, depending on the printing method. However, all of these printing methods are common in that components called print heads perform printing by forming pixels on a storage medium. A typical print head is configured to be able to simultaneously form tens to hundreds of pixels. The print head is fixed on a component called a carrier, and the carrier on which the print head is mounted is reciprocated on a recording medium by a driving source such as a motor. Printing starts after the carrier starts and reaches a certain speed. On the other hand, when printing ends, the carrier decelerates and eventually stops. The time from the start of the carrier to the complete stop is called one pass. Printing during this time is called printing for one pass. In a serial printer, image data created by a personal computer or the like is transmitted via an interface (I / F). At this time, the transmitted image data is image data generally called “ raster format”. This raster format image data is a data format suitable for printing by a line printer, a page printer, or the like. However, in a serial printer, it is necessary to convert this " raster format" image data into a " column format" which is image data suitable for a serial printer. The conversion from the “raster format” image data to the “column format” image data is referred to as “raster column conversion”.
[0011]
First, FIG. 1 is a block diagram of a preferred embodiment of an image data conversion device according to the present invention. This image data conversion device is composed of two parts, a control unit 10 and a storage device 20. The control unit 10 includes a data conversion unit 13, a timing generation unit 14, and a print data generation unit 15. On the other hand, the storage device 20 has therein a raster data storage unit 26 for storing image data in raster format and a column data storage unit 27 for storing image data in column format. The control unit 10 and the storage unit 20 are interconnected by a system bus 30, and are configured to mutually transmit and receive data.
[0012]
The data converter 13 is connected to the timing generator 14 and receives a change signal 18 output from the timing generator 14 at the timing of data conversion. The data converter 13 is connected to a storage device 20 in which raster format image data and column format image data are stored via a 16-bit data bus called a system bus 30. The print data generator 15 is connected to the timing generator 14 and receives a print signal 19 output from the timing generator 14 at the timing of printing. The print data generation unit 15 is connected via a system bus 30 to a storage device 20 in which column format image data is stored.
[0013]
Next, the operation of the image data conversion device according to the present invention will be described with reference to FIGS. FIG. 2 is a flowchart showing the operation of the image data conversion device shown in FIG. FIG. 3 is a timing chart for explaining the operation of the image data conversion device shown in FIG. First, the data generation timing change signal 18 is output from the timing generator 14 (step 101). When detecting the change signal 18, the data conversion unit 13 reads a part of the raster image data from the raster data storage unit 26 (Step 102). The read raster image data is subjected to raster column conversion by the data conversion unit 13 and written to the column data storage unit 27 (step 103).
[0014]
Next, the first print timing print signal 19 is output from the timing generator 14 (step 104). Upon detecting the print signal 19, the print data generation unit 15 reads out the column-format image data from the column data storage unit 27 (step 105), outputs the print data after parallel-serial conversion (step 106). Next, a second print timing print signal 19 is output from the timing generator 14 (step 104). The print data generation unit 15 adds the address to be output to the column data storage unit 27, and reads out image data in the second print column format (step 105). Then, after serial-parallel conversion, the data is output as print data (step 106). Similarly, the print data generation unit 15 reads out the column-format image data until the 16th print signal 19 is output, converts the read image data into print data, and outputs the print data. When the 16th print data output is completed, all the raster-column converted column-format image data has been read (step 107 → step 108).
[0015]
When the 16th print data output is completed, the change signal 18 is output from the timing generator 14 (step 101). When detecting the change signal 18, the data conversion unit 13 reads a part of the raster format image data from the raster data storage unit 26 as in the first case (step 102), but the read address is updated. The read image data in the raster format is subjected to raster column conversion by the data conversion unit 13 and written to the column data storage unit 27 (step 103). However, with respect to the write address, writing is started again from the same address as the first. The series of operations described above is repeated until printing for one pass is completed.
[0016]
Next, access to the storage device 20 of the data conversion unit 13 during raster column conversion (steps 101 to 103) will be described with reference to FIG. 4 which shows a part of the timing chart of FIG. 3 in detail. Here, as an example, a case in which a serial printer has one print head capable of simultaneously printing 32 pixels will be described. Further, as described above, the bit width of the system bus 30 is 16 bits. When the change signal 18 is output from the timing generator 14, the data converter 13 reads 16 words of raster format image data from the raster data storage 26 (see Rr123 in FIG. 4). The read raster-format image data includes 1 word of pixels 1 to 16 of the first raster, 1 word of pixels 1 to 16 of the first raster,..., 1 word of pixels 1 to 16 of the 15th raster, and so on. This is a total of 16 words, that is, 1 word of pixels 1 to 16 of the 16th raster.
[0017]
Next, the read raster-format image data is raster-column-converted by the data conversion unit 13 and the column-format image data is written 16 words into the column data storage unit 27 (see Cw 124 in FIG. 4). The written column-format image data includes 1 word of pixel 1 of the 1st raster to the 16th raster, 1 word of pixel 2 of the 1st raster to the 16th raster,..., Pixel 15 of the 1st raster to the 16th raster. One word is one word of the pixel 16 of the first raster to the sixteenth raster, which is a total of 16 words. Next, the data conversion unit 13 reads 16-word raster image data from the raster data storage unit 26 (see Rr125 in FIG. 4). The read raster-format image data includes 1 word from pixel 1 to pixel 16 on the 17th raster, 1 word from pixel 1 to pixel 16 on the 18th raster,..., 1 word from pixel 1 to pixel 16 on the 31st raster. The total is 16 words, which is 1 word of pixels 1 to 16 of the 32nd raster.
[0018]
Next, the read image data in the raster format is raster column-converted by the data conversion unit 13, and the column-format image data is written 16 words into the column data storage unit 27 (see Cw126 in FIG. 4). The written column-format image data includes 1 word of pixel 1 of the 17th to 32nd rasters, 1 word of pixel 2 of the 17th to 32nd rasters,..., Pixel 15 of the 17th to 32nd rasters. 1 word, ie, 1 word of the pixel 16 of the 17th raster to the 32nd raster, which is a total of 16 words. As a result, the column data storage unit 27 converts the image data of 32 vertical pixels (32 rasters) and 16 horizontal pixels into raster columns and stores them. Next, the first print signal 19 is output from the timing generator. The print data generation unit 15 uses the first print signal 19 as a trigger (trigger) to generate a 2-word (32-bit) column format for printing by the print head at one time from the column data storage unit 27 of the storage device 20. The image data is read (see Cr 122 in FIGS. 3 and 4).
[0019]
The read columnar image data has a total of 2 words, that is, 1 word of pixel 1 of the 1st to 16th rasters and 1 word of pixel 1 of the 17th to 32nd rasters. The print data generation unit 15 converts the 2-word column-format image data into parallel-serial data and outputs the data. The print head performs one print (pixel 1 vertically for 32 pixels) based on the 2-word image data. Hereinafter, from the second time to the 16th time, the same operation is repeated by using the print signal 19 generated from the timing generator 14 as a trigger. As shown in FIG. 4, the reading (Rr) 123 and 125 of the image data in the raster format and the writing (Cw) 124 and 126 of the image data in the column format performed in response to the change signal are collectively shown in FIG. The conversion is indicated by reference numeral 121.
[0020]
Next, the raster format image data in the raster data storage unit 26, the column format image data content in the column data storage unit 27, and the raster column conversion in the data conversion unit 13 will be described in detail. As described above, the system bus 30 prints 32 pixels vertically and 64 pixels horizontally on the A4 size paper 11 shown in FIG. 5 assuming that the system bus 30 is 16 bits wide and the print head can simultaneously print 32 pixels. The case will be described.
[0021]
FIG. 6 is a diagram showing the relationship between the print result 12 shown in FIG. 5 and the storage address of the raster image data in the raster data storage unit 26. The image data of pixels 1 to 16 of the first raster is at address 0h, the image data of pixels 17 to 32 of the first raster is at address 2h, and the image data of the first raster is at 4 words from address 0h to 6h. Is stored. As the image data of the second raster, image data of 32 rasters is stored in 128 words as in the address 8h to Ch.
[0022]
FIG. 7 also illustrates the same contents as FIG. FIG. 8 is a diagram showing the relationship between the column format image data in the column data storage unit 27 and the storage address after raster column conversion by the first change signal 18 when obtaining the print result 12 shown in FIG. It is. The image data of the pixel 1 of the first raster to the 16th raster is address 100h, the image data of the pixel 1 of the 17th to 32nd raster is address 102h, the image data of the first raster to the 16th raster is address 104h, As the image data of the pixel 2 of the 17th to 32nd rasters, 32 words of image data of the raster from the pixel 1 to the pixel 16 are stored as in the address 106h. It can be seen that the image data in the column format is 32 words, which is a quarter, which is smaller than 128 words in the raster format.
[0023]
FIG. 9 is a diagram showing the contents in the middle of writing to the column data storage unit 27. This is the contents of the column data storage unit 27 immediately after writing 1 word within 16 words of writing to the column data storage unit 27 in FIG. 4 (see 126 in FIG. 4). FIG. 10 is a diagram showing the relationship between the column format image data in the column data storage unit 27 and the storage addresses after raster column conversion by the second change signal 18. Although the address of the column data storage unit 27 has not changed, it can be seen that the stored contents are different. FIG. 11 and FIG. 12 are views showing a state of raster column conversion in the data conversion unit 13. Read data 1 to 16 in FIG. 11 correspond to 123 in FIG. 4, and write data 1 to 16 correspond to 124 in FIG. Read data 1 to 16 in FIG. 12 correspond to 125 in FIG. 4, and write data 1 to 16 correspond to 126 in FIG.
[0024]
As described above, in the image data conversion device according to the present invention, the data conversion unit 13 uses the data conversion timing change signal 18 output from the timing generation unit 14 as a trigger to store the raster-format image data from the raster data storage unit 26 of the storage device 20. Read data. The read image data in raster format is subjected to raster column conversion by the data conversion unit 13. The converted column-format image data is written to the column data storage unit 27 of the storage device 20. At this time, the amount of image data subjected to the raster column conversion is not all image data for one pass but image data of several words. Next, using the print timing print signal 19 output from the timing generator 14 as a trigger, the print data generator 15 reads one column of image data from the storage device 20 and converts it into print data (for example, parallel serial data). Conversion) and output. Since the print timing print signal 19 is sequentially output from the timing generation unit 14, the process is repeated until all of the raster-column-converted column-format image data is read. When all the image data in the column format subjected to the raster column conversion is read, a data conversion timing change signal 18 is output from the timing generation unit 14, and the data conversion unit 13 performs the raster column conversion. Hereinafter, the process is repeated until printing for one pass is completed.
[0025]
The configuration and operation of the preferred embodiment of the image data conversion device according to the present invention have been described above in detail. However, it should be noted that such exemplary embodiments are merely examples of the present invention and do not limit the present invention in any way. It will be readily apparent to those skilled in the art that various modifications can be made without departing from the spirit of the invention.
[0026]
【The invention's effect】
As is clear from the above description, the following remarkable effects can be obtained by the image data conversion device of the present invention. First, the amount of image data in the column format can be made smaller than the amount of image data in the raster format. In the embodiment, the raster format image data is 128 words, and the column format image data is 32 words, which is a quarter. If printing is performed on the entire surface of an A4-size sheet at a resolution of 600 dpi, the width is about 4,800 pixels, and the image data in the raster format is 9,600 words. There is no increase in the image data in the column format, and it is 32 words, which is 1/300. The reason for this is to reduce the amount of column-format image data by sequentially performing raster column conversion during printing without performing raster column conversion for one pass before starting printing.
[0027]
Second, the start of printing can be expedited. The reason is that since the raster column conversion is not performed before printing, printing is started earlier by that much.
[Brief description of the drawings]
FIG. 1 is a block diagram of a preferred embodiment of an image data conversion device according to the present invention.
FIG. 2 is a flowchart illustrating an operation of the image data conversion device of FIG. 1;
FIG. 3 is a timing chart showing an operation of the image data conversion device of FIG. 1;
FIG. 4 is a timing chart showing a part of FIG. 3 in detail.
FIG. 5 is a diagram illustrating an example of a print result printed by a serial printer.
FIG. 6 is a diagram illustrating a relationship between a raster format image data address and a print result.
FIG. 7 is a diagram illustrating a relationship between raster image data addresses and print results.
FIG. 8 is a diagram illustrating a relationship between an image data address in a column format and a print result.
9 is a diagram showing contents in the middle of writing to a column data storage unit in the image data conversion device in FIG. 1;
FIG. 10 is a diagram illustrating a relationship between image data addresses in column format and print results.
FIG. 11 is an explanatory diagram of raster column conversion in a data conversion unit in the image data conversion device shown in FIG. 1;
FIG. 12 is an explanatory diagram of raster column conversion in a data conversion unit in the image data conversion device shown in FIG. 1;
[Explanation of symbols]
Reference Signs List 10 Control unit 13 Data conversion unit 14 Timing generation unit 15 Print data generation unit 18 Change signal 19 Print signal 20 Storage device 26 Raster data storage unit 27 Column data storage unit 30 System bus

Claims (6)

ラスタ形式の画像データをカラム形式の画像データに変換するラスタカラム変換して、シリアルプリンタの印刷ヘッドにより印刷するための画像データ変換装置において、前記ラスタカラム変換を1回当たり、前記印刷ヘッドの1パスより小単位であり、且つ前記印刷ヘッドのライン数より小単位で行うデータ変換部と、このデータ変換部により変換されたカラム形式の画像データを記憶するカラムデータ記憶部とを有することを特徴とする画像データ変換装置。In an image data conversion apparatus for performing raster column conversion for converting raster format image data into column format image data and printing with a print head of a serial printer, one time of the raster column conversion, one of the print heads is used. A data conversion unit that performs the conversion in units smaller than the pass and in units smaller than the number of lines of the print head; and a column data storage unit that stores the image data in the column format converted by the data conversion unit. Image data conversion device. システムバスにより相互接続された制御部と記憶装置とにより構成され、前記記憶装置は前記カラムデータ記憶部を備え、前記制御部は、前記データ変換部と、前記ラスタカラム変換のタイミング発生を制御するタイミング発生部と、前記記憶装置の前記カラムデータ記憶部からカラム形式の画像データを読み出し印刷データに変換して出力する印刷データ生成部とを備えることを特徴とする請求項1記載の画像データ変換装置。The system bus is composed of interconnected control unit and a storage device, said storage device comprises the column data storage unit, wherein, before and Kide over data conversion unit, the raster column conversion timing generator 2. A timing generation unit for controlling the image data, and a print data generation unit for reading out column-format image data from the column data storage unit of the storage device, converting the read image data into print data, and outputting the print data. Image data conversion device. 前記記憶装置は、前記ラスタ形式の画像データを格納するラスタデータ記憶部を有することを特徴とする請求項2に記載の画像データ変換装置。It said storage device, the image data converting apparatus according to claim 2, characterized in that it comprises a raster data storage unit for storing image data before Symbol raster format. 前記タイミング発生は、前記データ変換部および印刷データ生成部に夫々前記データ変換のタイミングで発生するchange信号および印刷タイミングで発生するprint信号を出力することを特徴とする請求項2又は3に記載の画像データ変換装置。The said timing generation part outputs the change signal which generate | occur | produces at the timing of the said data conversion, and the print signal which generate | occur | produces at the print timing to the said data conversion part and the print data generation part, respectively. Image data conversion device. 前記システムバスは16ビット幅であり、前記change信号に応じてラスタ形式の画像データの読み出しおよびカラム形式の画像データの書き込みを交互に行い、前記print信号に応じてカラム形式の画像データの読み出しを行うことを特徴とする請求項4に記載の画像データ変換装置。The system bus is 16 bits wide, and alternately reads raster image data and writes column image data in response to the change signal, and reads column image data in response to the print signal. The image data conversion device according to claim 4, wherein the conversion is performed. 前記印刷データ生成部は、前記記憶装置からカラム形式の画像データを読み出し、パラレルシリアル変換により印刷データに変換されることを特徴とする請求項2乃至5のいずれかに記載の画像データ変換装置。The print data generation unit reads the image data of the column format from the storage device, the image data conversion according to any one of claims 2 to 5, characterized in that it is converted to a print data to the parallel-serial conversion apparatus.
JP34985999A 1999-12-09 1999-12-09 Image data conversion method and apparatus Expired - Fee Related JP3570316B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34985999A JP3570316B2 (en) 1999-12-09 1999-12-09 Image data conversion method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34985999A JP3570316B2 (en) 1999-12-09 1999-12-09 Image data conversion method and apparatus

Publications (2)

Publication Number Publication Date
JP2001162867A JP2001162867A (en) 2001-06-19
JP3570316B2 true JP3570316B2 (en) 2004-09-29

Family

ID=18406613

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34985999A Expired - Fee Related JP3570316B2 (en) 1999-12-09 1999-12-09 Image data conversion method and apparatus

Country Status (1)

Country Link
JP (1) JP3570316B2 (en)

Also Published As

Publication number Publication date
JP2001162867A (en) 2001-06-19

Similar Documents

Publication Publication Date Title
JP3884498B2 (en) Printer and method for printing raster images
JPS6022234A (en) Form overlay type printer
JP3003318B2 (en) Serial printer
JP3570316B2 (en) Image data conversion method and apparatus
JP2004262171A (en) Printing method and printing system by ink jet printer, as well as host computer or printer driver equipped with the method
JP3098435B2 (en) Control system for multiple thermal heads
US6246488B1 (en) Recording apparatus
JPH0773922B2 (en) Graphic output controller
JP3706726B2 (en) Recording device
JP3110879B2 (en) Printing method and apparatus
JP2850717B2 (en) Printing control device
JP2842010B2 (en) Printing control device
JP3003266B2 (en) Serial printer
JPH11179979A (en) Image recorder
JP3971469B2 (en) Print output device
JPH06143615A (en) Ink jet recorder
JP2623458B2 (en) Graphic output control device
JP2000247094A (en) Plotter
JPH04166355A (en) Printer
JPH1178121A (en) Printer
JPH05298037A (en) Form overlay type print method
JPH05193195A (en) Printing control device
JPH08267866A (en) Data converter
JPH05193196A (en) Printing control device
JPH0550635A (en) Printing method in thermal printer

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20031216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20031222

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040218

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040311

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040428

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040601

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040614

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080702

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees