JP2003341040A - Printer and its method - Google Patents
Printer and its methodInfo
- Publication number
- JP2003341040A JP2003341040A JP2002152761A JP2002152761A JP2003341040A JP 2003341040 A JP2003341040 A JP 2003341040A JP 2002152761 A JP2002152761 A JP 2002152761A JP 2002152761 A JP2002152761 A JP 2002152761A JP 2003341040 A JP2003341040 A JP 2003341040A
- Authority
- JP
- Japan
- Prior art keywords
- recording
- scanning
- color
- elements
- 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
Links
Landscapes
- Ink Jet (AREA)
Abstract
(57)【要約】
【課題】 ページの一部のみにカラーの領域を含む画像
において、RAMの使用効率や印字速度の低下を軽減で
きる印刷装置を提供することである。
【解決手段】 記録データを格納するメモリと複数の記
録素子が配列されたカラー用の記録ヘッドを有し、格納
された記録データを用いて得られる画像を印刷する印刷
装置において、記録ヘッドを記録素子の配列方向とは異
なる方向、例えば直角の方向、に走査する走査部と、メ
モリで有する連続番号のアドレスの一部または全部を記
録素子の総数以上の整数で区切って得られるカラム毎の
アドレスの各々に、カラー毎に、記録素子の配列の順番
に記録素子に対応するデータを書き込む処理を行う書き
込み部およびその記録データを走査部による記録ヘッド
の走査に同期させてメモリから読み出す構成部とを備
え、その読み出された記録データを用いて画像を印刷す
る構成とした。
(57) [Problem] To provide a printing apparatus capable of reducing a decrease in the use efficiency of a RAM and a reduction in a printing speed in an image including a color area only in a part of a page. A printing apparatus has a memory for storing print data and a color print head in which a plurality of print elements are arranged, and prints an image obtained using the stored print data. A scanning unit that scans in a direction different from the array direction of the elements, for example, a direction perpendicular to the array, and an address for each column obtained by dividing a part or all of the serial number addresses in the memory by an integer equal to or greater than the total number of recording elements. A writing unit that performs a process of writing data corresponding to the recording elements in the order of the arrangement of the recording elements for each color, and a configuration unit that reads the recording data from the memory in synchronization with the scanning of the recording head by the scanning unit. , And an image is printed using the read recording data.
Description
【0001】[0001]
【発明の属する技術分野】本発明は印刷装置及びその方
法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus and method thereof.
【0002】[0002]
【従来の技術】従来から、例えば、シリアルプリンタ
が、小型かつ低価格な構成が可能な印刷装置として広く
普及している。2. Description of the Related Art Conventionally, for example, a serial printer has been widely spread as a printing apparatus which can be constructed in a small size and at a low price.
【0003】特に、インクジェット・プリンタはシリア
ルプリンタの中でも静粛かつ高速な印字が可能なプリン
タとして近年は目覚ましい発展を遂げ、諸性能の向上が
図られている。In particular, the inkjet printer has made remarkable progress in recent years as a printer capable of quiet and high-speed printing among serial printers, and various performances have been improved.
【0004】インクジェット・プリンタにおいて、印字
品位を向上させる手段として、繋ぎ筋(bandin
g)を目立たなくするために1行(バンド)を複数のス
キャンで形成する手段(以下、ファインモードという)
が実施されている。このときの紙送り量(副走査量)
は、ヘッド幅の1/2、1/3、1/4等が採用されて
いる。In an ink jet printer, as a means for improving print quality, a banding line (bandin) is used.
(g) means for forming one row (band) by a plurality of scans to make it inconspicuous (hereinafter referred to as fine mode)
Is being implemented. Paper feed amount (sub-scan amount) at this time
Is used as 1/2, 1/3, 1/4, etc. of the head width.
【0005】このファインモードを行うのに適したバッ
ファ構成として、特開平9−39222に説明された、
スクロール・バッファという構成がある。これは、記録
ヘッドに配列される複数の記録素子の、配列方向に対応
する記録データの配列に対して、アドレスが連続するよ
うに構成するものであり、任意のアドレスから記録デー
タを記録ヘッド制御部に転送することが可能となるた
め、メモリの管理やハードウェアの構成が容易となるも
のである。A buffer structure suitable for performing the fine mode is described in Japanese Patent Laid-Open No. 9-39222.
There is a structure called a scroll buffer. This is configured such that addresses are continuous with respect to an array of print data corresponding to the array direction of a plurality of print elements arranged in the print head, and print data is controlled from an arbitrary address by the print head. Since it is possible to transfer the data to another unit, it becomes easy to manage the memory and configure the hardware.
【0006】カラープリンタにおいては、スクロール・
バッファ用に割り当てられたRAM領域を、ページ先頭
において、そのページ内で使用する色の数だけに分割
し、それぞれの色毎にスクロール・バッファを構成して
記録動作を行う。In color printers, scrolling
The RAM area allocated for the buffer is divided into the number of colors used in the page at the beginning of the page, and a scroll buffer is configured for each color to perform the recording operation.
【0007】[0007]
【発明が解決しようとする課題】しかしながら、上記の
スクロール・バッファを備えたプリンタにおいては、ワ
ンポイントカラー文書のように、1ページ内のほとんど
のデータが黒であるが、ほんの一部だけがカラーの領域
を含むような画像の場合でも、ページ先頭でカラー用の
スクロール・バッファを構成しなければならないため、
そのページ内では黒データ用のスクロール・バッファが
小さくなってしまう。その結果、RAMの使用効率が落
ち、印字速度が低下する恐れがあるという問題がある。However, in the printer having the scroll buffer described above, most data in one page is black, but only a part of the data is color, as in a one-point color document. Even in the case of an image that includes the area of, since the scroll buffer for color must be configured at the top of the page,
The scroll buffer for black data becomes small on that page. As a result, there is a problem that the use efficiency of the RAM is reduced and the printing speed may be reduced.
【0008】本発明は、上述の課題に鑑みてなされたも
ので、その目的とするところは、記録データの格納手段
の使用効率や印刷速度を向上できる印刷装置及びその方
法を提供することである。The present invention has been made in view of the above problems, and an object of the present invention is to provide a printing apparatus and a method thereof, which can improve the use efficiency and printing speed of a recording data storage means. .
【0009】[0009]
【課題を解決するための手段】上記目的を達成するた
め、本発明に係る装置は、記録データを格納する格納手
段と複数の記録素子が配列されたカラー用の記録ヘッド
とを有し、前記記録データに対応した画像を印刷する印
刷装置において、前記記録ヘッドを前記記録素子の配列
方向とは異なる方向に走査する走査手段と、前記格納手
段が有する連続番号のアドレスの一部または全部を、前
記記録素子の総数以上の整数で区切って得られるカラム
毎のアドレスの各々に、前記カラー毎に、前記記録素子
の配列に基づいた順番で、前記記録素子に対応するデー
タを書き込む書込手段と、前記記録データを、前記走査
手段による前記記録ヘッドの走査に同期させて、前記格
納手段から読み出す読出手段と、を備えることを特徴と
する。In order to achieve the above-mentioned object, an apparatus according to the present invention comprises a storage means for storing print data and a color print head in which a plurality of print elements are arranged. In a printing apparatus that prints an image corresponding to print data, a scanning unit that scans the print head in a direction different from an array direction of the print elements, and a part or all of addresses of serial numbers included in the storage unit, Writing means for writing the data corresponding to the recording elements to each of the addresses for each column obtained by dividing the column by an integer greater than or equal to the total number of the recording elements, in an order based on the array of the recording elements for each color; Read means for reading the print data from the storage means in synchronization with the scan of the print head by the scan means.
【0010】上記目的を達成するため、本発明に係る方
法は、複数の記録素子が配列されたカラー用の記録ヘッ
ドを用いて画像を印刷する印刷方法において、前記記録
ヘッドを前記記録素子の配列方向とは異なる方向に走査
する走査ステップと、格納手段の連続番号のアドレスの
一部または全部を前記記録素子の総数以上の整数で区切
って得られるカラム毎のアドレスの各々に、前記カラー
毎に、前記記録素子の配列に基づいた順番で、前記記録
素子に対応する記録データを書き込む書込ステップと、
前記格納手段に格納された前記記録データを、前記走査
ステップでの前記記録ヘッドの走査に同期させて、読み
出す読出ステップと、を含むことを特徴とする。In order to achieve the above object, the method according to the present invention is a printing method for printing an image using a color recording head in which a plurality of recording elements are arranged, wherein the recording heads are arranged in an array. Scanning step for scanning in a direction different from the direction, and for each of the addresses for each column obtained by dividing part or all of the addresses of the serial numbers of the storage means by an integer greater than or equal to the total number of the recording elements, for each color. A writing step of writing print data corresponding to the printing elements in an order based on the array of the printing elements,
And a reading step of reading the print data stored in the storage means in synchronization with the scan of the print head in the scan step.
【0011】上記目的を達成するため、本発明に係るプ
ログラムは、複数の記録素子が配列されたカラー用の記
録ヘッドを用いて画像を印刷する印刷装置を制御する制
御プログラムであって、コンピュータに、前記記録ヘッ
ドを前記記録素子の配列方向とは異なる方向に走査する
走査工程と、格納手段の連続番号のアドレスの一部また
は全部を前記記録素子の総数以上の整数で区切って得ら
れるカラム毎のアドレスの各々に、前記カラー毎に、前
記記録素子の配列の順番に前記記録素子に対応する記録
データを書き込む書込工程と、前記格納手段に格納され
た前記記録データを、前記記録ヘッドの走査に同期させ
て、読み出す読出工程と、を実行させることを特徴とす
る。In order to achieve the above object, a program according to the present invention is a control program for controlling a printing apparatus for printing an image using a color recording head in which a plurality of recording elements are arranged, A scanning step of scanning the recording head in a direction different from the array direction of the recording elements, and a column obtained by dividing a part or all of addresses of serial numbers of storage means by an integer greater than or equal to the total number of recording elements A writing step of writing the recording data corresponding to the recording elements in the order of arrangement of the recording elements for each color in each of the addresses, and the recording data stored in the storing means to the recording head. It is characterized in that a reading process for reading is performed in synchronism with scanning.
【0012】上記目的を達成するため、本発明に係る記
憶媒体は、上記制御プログラムを格納したことを特徴と
する。In order to achieve the above object, a storage medium according to the present invention is characterized by storing the above control program.
【0013】[0013]
【発明の実施の形態】以下に、図面を参照して、この発
明の好適な実施の形態を例示的に詳しく説明する。ただ
し、この実施の形態に記載されている構成要素の相対配
置、数式、数値等は、特に特定的な記載がない限りは、
この発明の範囲をそれらのみに限定する趣旨のものでは
ない。BEST MODE FOR CARRYING OUT THE INVENTION Preferred embodiments of the present invention will be illustratively described in detail below with reference to the drawings. However, the relative arrangement of components described in this embodiment, mathematical expressions, numerical values, etc., unless otherwise specified,
The scope of the present invention is not intended to be limited thereto.
【0014】[第1の実施の形態]図1は、本発明を実
施したインクジェット・プリンタの斜視図である。[First Embodiment] FIG. 1 is a perspective view of an ink jet printer embodying the present invention.
【0015】このプリンタ100の給紙位置に挿入され
た記録媒体106は、送りローラ109によって矢印P
方向に送られ、そしてプリントヘッド103の記録可能
領域へ搬送される。記録可能領域における記録媒体10
6の下部には、プラテン108が設けられている。キャ
リッジ101は、2つのガイド軸104、105によっ
て、それらの軸方向に沿う方向に移動可能となってお
り、記録領域を矢印Q1、Q2方向に往復走査する。キ
ャリッジ101に搭載可能な記録カートリッジ103
は、複数色のインクを吐出可能な記録ヘッドと、記録ヘ
ッドに供給するインクを収容するインクタンクとを含む
構成とされている。この例のインクジェット記録装置に
おける複数色のインクは、Bk(ブラック)、C(シア
ン)、M(マゼンタ)、Y(イエロー)の4色である。The recording medium 106 inserted in the paper feeding position of the printer 100 is indicated by an arrow P by the feed roller 109.
And is conveyed to the recordable area of the print head 103. Recording medium 10 in recordable area
A platen 108 is provided at the bottom of the unit 6. The carriage 101 is movable in a direction along the axial directions of the two guide shafts 104 and 105, and reciprocally scans the recording area in the directions of arrows Q1 and Q2. Recording cartridge 103 mountable on the carriage 101
Is configured to include a recording head capable of ejecting ink of a plurality of colors, and an ink tank containing the ink to be supplied to the recording head. The inks of a plurality of colors in the inkjet recording apparatus of this example are four colors of Bk (black), C (cyan), M (magenta), and Y (yellow).
【0016】107は、スイッチ部と表示素子部の配置
部であり、スイッチ部は記録装置の電源のオン/オフや
各種記録モードの設定時に使用され、表示素子部は記録
装置の状態を表示する役割をする。Reference numeral 107 denotes an arrangement portion of a switch portion and a display element portion. The switch portion is used when turning on / off the power of the recording apparatus and setting various recording modes, and the display element portion displays the state of the recording apparatus. Play a role.
【0017】図2は記録カートリッジ103の記録ヘッ
ドとノズル配置を示し、記録カートリッジ103を記録
媒体106の上部側から透視して見た模式図である。FIG. 2 shows the arrangement of the recording head and nozzles of the recording cartridge 103, and is a schematic view of the recording cartridge 103 seen through from above the recording medium 106.
【0018】103(Y)、103(M)、103
(C)、103(Bk)は、イエロー、マゼンタ、シア
ン、ブラックのインクを吐出するための記録ヘッドであ
る。記録カートリッジ103は、記録媒体106に対し
矢印Q1、Q2の主走査方向に移動する。記録媒体10
6は、記録カートリッジ103に対し矢印Pの副走査方
向に搬送される。各記録ヘッド103(Y)〜103
(Bk)のノズル103Aの数は、それぞれ64個とさ
れ、それらノズル103Aのピッチはいずれも360d
piとされている。103 (Y), 103 (M), 103
Recording heads (C) and 103 (Bk) are for ejecting yellow, magenta, cyan, and black inks. The recording cartridge 103 moves in the main scanning direction of arrows Q1 and Q2 with respect to the recording medium 106. Recording medium 10
6 is conveyed to the recording cartridge 103 in the sub-scanning direction of arrow P. Each recording head 103 (Y) to 103
The number of nozzles 103A of (Bk) is 64, and the pitch of these nozzles 103A is 360d.
pi.
【0019】それぞれの記録ヘッド103(Y)〜10
3(Bk)のノズル103Aは、矢印Q1、Q2の主走
査方向における間隔がノズル103Aのピッチの32個
分の大きさとされている。各記録ヘッド103(Y)〜
103(Bk)のノズル103Aは、主走査とほぼ直交
する方向に直線状に配置されている。また、各記録ヘッ
ド103(Y)〜103(Bk)は、それらの下端が記
録カートリッジ103の主走査方向において一致するよ
うに、その主走査方向にシリアルに配置されている。各
記録ヘッド103(Y)〜103(Bk)は、熱エネル
ギーを利用してインクを吐出するヘッドであって、熱エ
ネルギーを発生するための電気熱変換体を備えている。
その電気熱変換体が発生する熱エネルギーにより、イン
クに膜沸騰を生じさせ、その膜沸騰による泡の成長、収
縮によって生じる圧力変化を利用して、ノズル103A
からインクを吐出させる。Each recording head 103 (Y) -10
In the nozzle 103A of 3 (Bk), the intervals of the arrows Q1 and Q2 in the main scanning direction are set to the size of 32 pitches of the nozzle 103A. Each recording head 103 (Y)
The nozzle 103A of 103 (Bk) is linearly arranged in a direction substantially orthogonal to the main scanning. The recording heads 103 (Y) to 103 (Bk) are serially arranged in the main scanning direction so that their lower ends coincide with each other in the main scanning direction of the recording cartridge 103. Each of the recording heads 103 (Y) to 103 (Bk) is a head that ejects ink by utilizing thermal energy, and includes an electrothermal converter for generating thermal energy.
The heat energy generated by the electrothermal converter causes film boiling in the ink, and the change in pressure caused by the growth and contraction of bubbles due to the film boiling is utilized to generate the nozzle 103A.
Ink is ejected from.
【0020】図3は、本発明を実施したインクジェット
・プリンタのブロック図である。ホストコンピュータか
ら、記録すべき文字や画像のデータがプリンタ100の
受信バッファ301に入力される。また、正しくデータ
が転送されているかを確認するデータ、および記録装置
100の動作状態を知らせるデータが、記録装置100
からホストコンピュータに送信される。受信バッファ3
01のデータは、CPU302の管理下においてメモリ
部303に転送され、そしてメモリ部303のRAM
(ランダムアクセスメモリ)に一時的に記憶される。メ
カコントロール部304は、CPU302からの指令に
より、キャリッジモータ(CRモータ)やラインフィー
ドモータ(LFモータ)等のメカ部305を駆動制御す
る。センサ/SWコントロール部306は、各種センサ
やSW(スイッチ)からなるセンサ/SW部307から
の信号をCPU302に送る。表示素子コントロール部
308は、CPU302からの指令により、表示パネル
群のLEDや液晶素子等からなる表示素子部309を制
御する。記録ヘッドコントロール部310は、CPU3
02からの指令により記録ヘッド103を制御する。ま
た、記録ヘッドコントロール部310は、記録ヘッド1
03の状態を示す温度情報等を検出して、それらをCP
U302に送る。FIG. 3 is a block diagram of an ink jet printer embodying the present invention. Character and image data to be recorded is input to the reception buffer 301 of the printer 100 from the host computer. In addition, the data for confirming whether the data is correctly transferred and the data for notifying the operating state of the recording device 100 are recorded.
Sent to the host computer. Receive buffer 3
01 data is transferred to the memory unit 303 under the control of the CPU 302, and the RAM of the memory unit 303 is
(Random access memory) is temporarily stored. The mechanical control unit 304 drives and controls a mechanical unit 305 such as a carriage motor (CR motor) or a line feed motor (LF motor) according to a command from the CPU 302. The sensor / SW control unit 306 sends a signal from the sensor / SW unit 307 including various sensors and SW (switch) to the CPU 302. The display element control unit 308 controls the display element unit 309 including the LEDs of the display panel group, the liquid crystal element, and the like according to a command from the CPU 302. The printhead control unit 310 includes the CPU 3
The recording head 103 is controlled according to the command from 02. In addition, the recording head control unit 310 includes the recording head 1
03 temperature information indicating the state of 03 is detected and CP
Send to U302.
【0021】次に、従来のスクロール・バッファについ
て、図4を用いて説明する。図4は、本プリンタの記録
ヘッドを用いて、Bk単色のページを記録する時の、ス
クロール・バッファのアドレス・マッピングの例であ
る。図中の16進数の数値は、256KB割り当てられ
たスクロール・バッファ領域内での、相対アドレスを示
している。図の左方向は副走査方向(矢印P方向)に対
応し、上方向は主走査方向(矢印Q2方向)に対応す
る。副走査方向にはアドレスが連続するように、主走査
方向にはアドレスが等間隔となるようにマッピングされ
る。スクロール・バッファのメモリは、主走査方向にマ
ッピングされたアドレスをセットでバッファ1個と定義
し、1個ずつ獲得および解放が管理される。例えば、ア
ドレス00000hのメモリは、00040h,000
80h,…,3FFC0hとセットでバッファ1個を構
成し、獲得および解放される。図4のスクロール・バッ
ファは64個のバッファで構成されている。Next, a conventional scroll buffer will be described with reference to FIG. FIG. 4 shows an example of address mapping of the scroll buffer when printing a Bk single color page using the print head of the printer. The hexadecimal number in the figure indicates the relative address in the scroll buffer area allocated by 256 KB. The left direction of the figure corresponds to the sub-scanning direction (arrow P direction), and the upper direction corresponds to the main scanning direction (arrow Q2 direction). The addresses are mapped so that the addresses are continuous in the sub-scanning direction and the addresses are equally spaced in the main scanning direction. In the memory of the scroll buffer, an address mapped in the main scanning direction is defined as one buffer, and acquisition and release are managed one by one. For example, the memory at the address 00000h is 0,040h, 000.
One buffer is composed of 80h, ..., 3FFC0h and is acquired and released. The scroll buffer of FIG. 4 is composed of 64 buffers.
【0022】このスクロール・バッファに対して、ホス
トコンピュータから送られてくる記録データ(印字幅2
880カラム)を展開していく手順を以下に示す。Recording data (print width 2) sent from the host computer is sent to the scroll buffer.
The procedure for expanding (880 columns) is shown below.
【0023】(1)ページ先頭で、書き込みポインタ変
数(変数名WritePtr)に00000hを代入す
る。(1) At the top of the page, 00000h is assigned to the write pointer variable (variable name WritePtr).
【0024】(2)記録データを8ラスタ×印字幅28
80カラムだけ受信する。(2) Recorded data is 8 rasters × print width 28
Receive only 80 columns.
【0025】(3)書き込み先のアドレス(Write
Ptr)を含むバッファが解放されるまで待ち、獲得す
る。(3) Write destination address (Write
Wait until the buffer containing Ptr) is freed and get.
【0026】(4)受信した記録データを、書き込み先
のアドレス(WritePtr)から00040hおき
のアドレスに、順に書き込む。(4) The received recording data is written in order from the write destination address (WritePtr) to the address every 40040h.
【0027】(5)書き込みポインタWritePtr
に1を加算する。(5) Write pointer WritePtr
Add 1 to.
【0028】(6)排紙命令が来るまで(2)〜(5)
を繰り返す。(6) Until a paper discharge command arrives (2) to (5)
repeat.
【0029】例えば、先頭の8ラスタ×2880カラム
の記録データは、[(00000h),(00040
h),(00080h),…,(2CFC0h)]のメ
モリに書き込まれ、続く8ラスタ×2880カラムの記
録データは、[(00001h),(00041h),
(00081h),…,(2CFC1h)]のメモリに
書き込まれる。For example, the recording data of the first 8 rasters × 2880 columns is [(00000h), (00040)
h), (00080h), ..., (2CFC0h)], and the subsequent recording data of 8 rasters × 2880 columns is [(00001h), (00041h),
(00081h), ..., (2CFC1h)].
【0030】一方、このスクロール・バッファから記録
データを読み出してインクを吐出していく手順を以下に
示す。On the other hand, the procedure for reading the recording data from the scroll buffer and ejecting the ink will be described below.
【0031】(1)給紙動作を行い、読み出しポインタ
変数(変数名ReadPtr)に00000hを代入す
る。(1) The paper feeding operation is performed, and 00000h is assigned to the read pointer variable (variable name ReadPtr).
【0032】(2)(ReadPtr)から始まる、主
走査に必要な記録データが全て揃うまで待つ。(2) Waiting until all the print data necessary for main scanning, which starts from (ReadPtr), are prepared.
【0033】(3)データを順次読み出していき、主走
査を行いながら記録ヘッドを駆動して、記録媒体に対し
てインクを吐出する。(3) Data is sequentially read out, the recording head is driven while main scanning is performed, and ink is ejected onto the recording medium.
【0034】(4)使用終了したバッファを解放する。(4) Release the used buffer.
【0035】(5)所定量の紙送りを行い、読み出しポ
インタReadPtrに所定量を加算する。(5) A predetermined amount of paper is fed, and a predetermined amount is added to the read pointer ReadPtr.
【0036】(6)排紙命令が来るまで(2)〜(5)
を繰り返す。(6) Until a paper discharge command arrives (2) to (5)
repeat.
【0037】このような手順で記録データの書き込みお
よび読み出しを進めていくと、書き込みポインタはやが
て00040hとなる。この時の書き込み先のメモリは
[(00040h),(00080h),(000C0
h),…,(2D000h)]となり、先頭8ラスタが
展開されたバッファと同じである。従って、先頭8ラス
タの記録が終了してバッファが解放されるまで、書き込
みを待たされることになる。このことからわかるよう
に、このスクロール・バッファに対しては、記録データ
を最大512ラスタまで展開しておくことができる。When the writing and reading of the recording data are proceeded in such a procedure, the write pointer eventually becomes 00040h. At this time, the write destination memory is [(04040h), (00080h), (000C0
h), ..., (2D000h)], which is the same as the buffer in which the first 8 rasters are expanded. Therefore, writing is kept waiting until the recording of the first 8 rasters is completed and the buffer is released. As can be seen from this, recording data can be expanded up to 512 rasters in the scroll buffer.
【0038】次に、4色のページを記録するときのスク
ロール・バッファ構成を図5に示す。スクロール・バッ
ファとして割り当てられた256KBのRAMは、64
KBずつ4色に割り当てられ、それぞれのスクロール・
バッファを構成する。このスクロール・バッファに対し
て、ホストコンピュータから送られてくる記録データ
(印字幅2880カラム)を展開していく手順を以下に
示す。Next, FIG. 5 shows a scroll buffer structure for recording four-color pages. 256 KB RAM allocated as scroll buffer is 64
4 colors are assigned to each KB, and each scroll
Configure the buffer. The procedure for expanding the print data (print width 2880 columns) sent from the host computer to this scroll buffer is shown below.
【0039】(1)ページ先頭で、書き込みポインタ変
数(変数名WritePtr)に00000hを、Bk
のオフセット量(変数名OffsetBk)に0000
0hを、Cのオフセット量(変数名OffsetC)に
10000hを、Mのオフセット量(変数名Offse
tM)に20000hを、Yのオフセット量(変数名O
ffsetY)に30000hを、それぞれ代入する。(1) At the top of the page, set 0000h to the write pointer variable (variable name WritePtr) and set it to Bk.
0000 for the offset amount (variable name OffsetBk) of
0h for the offset amount of C (variable name OffsetC) and 10000h for the offset amount of M (variable name OffsetC)
tM) to 20000h, Y offset amount (variable name O
Substitute 30000h for ffsetY).
【0040】(2)記録データを8ラスタ×印字幅28
80カラムだけ受信する。(2) Recorded data is 8 rasters × print width 28
Receive only 80 columns.
【0041】(3)記録データが存在する色の、書き込
み先アドレスを含むバッファが解放されるまで待ち、獲
得する。ここで、Bkの書き込み先アドレスは(Wri
tePtr+OffsetBk)、Cの書き込み先アド
レスは(WritePtr+OffsetC)、Mの書
き込み先アドレスは(WritePtr+Offset
M)、Yの書き込み先アドレスは(WritePtr+
OffsetY)とする。(3) Wait until the buffer containing the write destination address of the color for which the recording data exists is released and acquired. Here, the write destination address of Bk is (Wri
tePtr + OffsetBk), the write destination address of C is (WritePtr + OffsetC), and the write destination address of M is (WritePtr + Offset).
M) and Y write destination addresses are (WritePtr +
OffsetY).
【0042】(4)受信したデータを、書き込み先のア
ドレスから00010hおきのアドレスに、順に書き込
む。(4) The received data is sequentially written to the addresses every 00010h from the write destination address.
【0043】(5)書き込みポインタWritePtr
に1を加算する。(5) Write pointer WritePtr
Add 1 to.
【0044】(6)排紙命令が来るまで(2)〜(5)
を繰り返す。(6) Until a paper discharge command arrives (2) to (5)
repeat.
【0045】一方、このスクロール・バッファから記録
データを読み出してインクを吐出していく手順を以下に
示す。On the other hand, the procedure for reading out recording data from the scroll buffer and ejecting ink will be described below.
【0046】(1)給紙動作を行い、読み出しポインタ
変数(変数名ReadPtr)に00000hを、Bk
のオフセット量(変数名OffsetBk)に0000
0hを、Cのオフセット量(変数名OffsetC)に
10000hを、Mのオフセット量(変数名Offse
tM)に20000hを、Yのオフセット量(変数名O
ffsetY)に30000hを、それぞれ代入する。(1) The paper feeding operation is performed, and 0000h is set to the read pointer variable (variable name ReadPtr) and Bk.
0000 for the offset amount (variable name OffsetBk) of
0h for the offset amount of C (variable name OffsetC) and 10000h for the offset amount of M (variable name OffsetC)
tM) to 20000h, Y offset amount (variable name O
Substitute 30000h for ffsetY).
【0047】(2)(ReadPtr+OffsetB
k)、(ReadPtr+OffsetC)、(Rea
dPtr+OffsetM)、(ReadPtr+Of
fsetY)から始まる、主走査に必要な記録データが
全て揃うまで待つ。(2) (ReadPtr + OffsetB
k), (ReadPtr + OffsetC), (Rea
dPtr + OffsetM), (ReadPtr + Of
It waits until all the print data necessary for the main scanning, which starts from fsetY), is prepared.
【0048】(3)データを順次読み出していき、主走
査を行いながら記録ヘッドを駆動して、記録媒体に対し
てインクを吐出する。(3) Data is sequentially read out, the recording head is driven while main scanning is performed, and ink is ejected onto the recording medium.
【0049】(4)使用終了したバッファを解放する。(4) Release the used buffer.
【0050】(5)所定量の紙送りを行い、読み出しポ
インタReadPtrに所定量を加算する。(5) A predetermined amount of paper is fed, and a predetermined amount is added to the read pointer ReadPtr.
【0051】(6)排紙命令が来るまで(2)〜(5)
を繰り返す。(6) Until a paper discharge command arrives (2) to (5)
repeat.
【0052】このような手順で記録データの書き込みお
よび読み出しを進めていくと、図5からわかるように、
このスクロール・バッファに対しては、記録データを最
大128ラスタまで展開しておくことができる。1色し
か記録データが存在しない時でも、このラスタ数を増や
すことはできない。従って、あらかじめデータ展開して
おけるラスタ数が少ないので、記録データの走査幅が短
いときなどはデータ展開が間に合わず、プリンタが停止
して待ってしまう可能性が高くなる。例えばワンポイン
トカラーの文書を記録するときには、Bk以外の色に割
り当てられたスクロール・バッファ領域はほとんど使用
されず、メモリの使用効率が非常に悪い。As the writing and reading of the recording data proceed in this manner, as can be seen from FIG.
Recording data can be expanded up to 128 rasters in the scroll buffer. The number of rasters cannot be increased even when the recording data of only one color exists. Therefore, since the number of rasters that can be expanded in advance is small, when the scan width of the print data is short, the expansion of the data cannot be done in time and the printer is likely to stop and wait. For example, when recording a one-point color document, the scroll buffer areas assigned to colors other than Bk are rarely used, and the memory usage efficiency is very poor.
【0053】この問題を解決した、本発明のスクロール
・バッファ構成を、図6に示す。スクロール・バッファ
として割り当てられた256KBのRAMは、ページ内
の色数に関係無く、1つのスクロール・バッファを構成
する。このスクロール・バッファに対して、ホストコン
ピュータから送られてくる記録データ(印字幅2880
カラム)を展開していく手順を以下に示す。FIG. 6 shows a scroll buffer structure of the present invention which solves this problem. The 256 KB RAM allocated as the scroll buffer constitutes one scroll buffer regardless of the number of colors in the page. Recording data (print width 2880) sent from the host computer is sent to the scroll buffer.
The procedure for expanding columns) is shown below.
【0054】(1)ページ先頭で、書き込みポインタ変
数(変数名WritePtr)に00000hを、Bk
のオフセット量(変数名OffsetBk)に0000
0hを、Cのオフセット量(変数名OffsetC)に
00010hを、Mのオフセット量(変数名Offse
tM)に00020hを、Yのオフセット量(変数名O
ffsetY)に00030hを、それぞれ代入する。(1) At the top of the page, write pointer variable (variable name WritePtr) is set to 00000h and Bk
0000 for the offset amount (variable name OffsetBk) of
0h for the offset amount of C (variable name OffsetC) and 00010h for the offset amount of M (variable name Offse)
tM) = 02020h, Y offset amount (variable name O
Substituting 00030h into ffsetY).
【0055】(2)記録データを8ラスタ×印字幅28
80カラムだけ受信する。(2) Print data is 8 rasters × print width 28
Receive only 80 columns.
【0056】(3)記録データが存在する色の、書き込
み先アドレスを含むバッファが解放されるまで待ち、獲
得する。ここで、Bkの書き込み先アドレスは(Wri
tePtr+OffsetBk)、Cの書き込み先アド
レスは(WritePtr+OffsetC)、Mの書
き込み先アドレスは(WritePtr+Offset
M)、Yの書き込み先アドレスは(ReadPtr+O
ffsetY)とする。(3) Wait until the buffer containing the write destination address for the color in which the recording data exists is released and acquired. Here, the write destination address of Bk is (Wri
tePtr + OffsetBk), the write destination address of C is (WritePtr + OffsetC), and the write destination address of M is (WritePtr + Offset).
M) and Y write destination addresses are (ReadPtr + O
ffsetY).
【0057】(4)受信したデータを、書き込み先のア
ドレスから00040hおきのアドレスに、順に書き込
む。(4) The received data is sequentially written from the write destination address to the addresses every 40040h.
【0058】(5)書き込みポインタWritePtr
に1を加算する。(5) Write pointer WritePtr
Add 1 to.
【0059】(6)排紙命令が来るまで(2)〜(5)
を繰り返す。(6) Until a paper discharge command arrives (2) to (5)
repeat.
【0060】一方、このスクロール・バッファから記録
データを読み出してインクを吐出していく手順を以下に
示す。On the other hand, the procedure for reading the print data from the scroll buffer and ejecting the ink will be described below.
【0061】(1)給紙動作を行い、読み出しポインタ
変数(変数名ReadPtr)に00000hを、Bk
のオフセット量(変数名OffsetBk)に0000
0hを、Cのオフセット量(変数名OffsetC)に
00010hを、Mのオフセット量(変数名Offse
tM)に00020hを、Yのオフセット量(変数名O
ffsetY)に00030hを、それぞれ代入する。(1) A paper feeding operation is performed, and 0000h is set to the read pointer variable (variable name ReadPtr) and Bk.
0000 for the offset amount (variable name OffsetBk) of
0h for the offset amount of C (variable name OffsetC) and 00010h for the offset amount of M (variable name Offse)
tM) = 02020h, Y offset amount (variable name O
Substituting 00030h into ffsetY).
【0062】(2)(ReadPtr+OffsetB
k)、(ReadPtr+OffsetC)、(Rea
dPtr+OffsetM)、(ReadPtr+Of
fsetY)から始まる、主走査に必要な記録データが
全て揃うまで待つ。(2) (ReadPtr + OffsetB
k), (ReadPtr + OffsetC), (Rea
dPtr + OffsetM), (ReadPtr + Of
It waits until all the print data necessary for the main scanning, which starts from fsetY), is prepared.
【0063】(3)データを順次読み出していき、主走
査を行いながら記録ヘッドを駆動して、記録媒体に対し
てインクを吐出する。(3) Data is sequentially read out, the recording head is driven while main scanning is performed, and ink is ejected onto the recording medium.
【0064】(4)使用終了したバッファを解放する。(4) Release the used buffer.
【0065】(5)所定量の紙送りを行い、読み出しポ
インタReadPtrに所定量を加算する。(5) A predetermined amount of paper is fed, and a predetermined amount is added to the read pointer ReadPtr.
【0066】(6)排紙命令が来るまで(2)〜(5)
を繰り返す。(6) Until a paper discharge command arrives (2) to (5)
repeat.
【0067】このような手順で記録データの書き込みお
よび読み出しを進めていくと、図6からわかるように、
4色全てのデータが存在する部分では、Bkの記録デー
タ書き込み先が、やがてCの記録データが展開されてい
るバッファに追いつくため、このデータが記録完了する
まで待たされる。この時に展開しておける量は、図5の
スクロール・バッファと同じ128ラスタである。一
方、Bkのデータのみ存在する部分では、C、M、Yの
記録データが存在しないのでバッファが解放されてお
り、1周前のBkデータに追いつくまで記録データを展
開してゆける。このときの量は、図4のスクロール・バ
ッファと同じ512ラスタである。As the writing and reading of recording data proceed in this procedure, as can be seen from FIG.
In the portion where the data of all four colors are present, the writing destination of the Bk recording data eventually catches up with the buffer in which the recording data of C is expanded, so that it is waited until the recording of this data is completed. The amount that can be expanded at this time is 128 rasters, which is the same as the scroll buffer in FIG. On the other hand, in the portion where only the Bk data exists, since the C, M, and Y recording data does not exist, the buffer is released, and the recording data can be expanded until it catches up with the Bk data of one round before. The amount at this time is 512 rasters, which is the same as that of the scroll buffer in FIG.
【0068】本実施の形態のスクロール・バッファ構成
にすると、メモリの管理やハードウェアの構成が容易と
なるスクロール・バッファの利点を残したまま、ワンポ
イントカラーのような状況でもメモリを効率的に使用す
ることができ、プリンタの速度低下を防止することが可
能となる。With the scroll buffer configuration of the present embodiment, the memory can be efficiently used even in a one-point color situation while maintaining the advantage of the scroll buffer that facilitates memory management and hardware configuration. It can be used, and it is possible to prevent the printer from slowing down.
【0069】[他の実施の形態]なお、本発明は、複数
の機器(例えばホストコンピュータ、インタフェイス機
器、リーダ、プリンタなど)から構成されるシステムに
適用しても、一つの機器からなる装置(例えば、複写
機、ファクシミリ装置など)に適用してもよい。[Other Embodiments] Note that the present invention is applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), but is also an apparatus composed of one device. (For example, a copying machine, a facsimile machine, etc.) may be applied.
【0070】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体(または記録媒体)を、システムあるい
は装置に供給し、そのシステムあるいは装置のコンピュ
ータ(またはCPUやMPU)が記憶媒体に格納された
プログラムコードを読み出し実行することによっても、
達成されることは言うまでもない。この場合、記憶媒体
から読み出されたプログラムコード自体が前述した実施
形態の機能を実現することになり、そのプログラムコー
ドを記憶した記憶媒体は本発明を構成することになる。
また、コンピュータが読み出したプログラムコードを実
行することにより、前述した実施形態の機能が実現され
るだけでなく、そのプログラムコードの指示に基づき、
コンピュータ上で稼働しているオペレーティングシステ
ム(OS)などが実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれることは言うまでもない。Further, an object of the present invention is to supply a storage medium (or recording medium) recording a program code of software for realizing the functions of the above-described embodiments to a system or apparatus, and to supply a computer of the system or apparatus ( Alternatively, by the CPU or MPU) reading and executing the program code stored in the storage medium,
It goes without saying that it will be achieved. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also based on the instruction of the program code,
An operating system (OS) running on the computer does some or all of the actual processing,
It goes without saying that the processing includes the case where the functions of the above-described embodiments are realized.
【0071】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張カー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書込まれた後、そのプログラムコードの指示
に基づき、その機能拡張カードや機能拡張ユニットに備
わるCPUなどが実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれることは言うまでもない。Furthermore, after the program code read from the storage medium is written in the memory provided in the function expansion card inserted in the computer or the function expansion unit connected to the computer, based on the instruction of the program code, , The CPU provided in the function expansion card or the function expansion unit performs some or all of the actual processing,
It goes without saying that the processing includes the case where the functions of the above-described embodiments are realized.
【0072】[0072]
【発明の効果】以上説明したように、本発明によれば、
格納手段の使用効率や印刷速度を向上できる。As described above, according to the present invention,
The use efficiency of the storage means and the printing speed can be improved.
【図1】本発明の第1の実施の形態にかかるインクジェ
ット・プリンタの斜視図である。FIG. 1 is a perspective view of an inkjet printer according to a first embodiment of the present invention.
【図2】本発明の第1の実施の形態にかかる記録カート
リッジの記録ヘッドとノズル配置を示す図である。FIG. 2 is a diagram showing a printhead and nozzle arrangement of the print cartridge according to the first embodiment of the invention.
【図3】本発明の第1の実施の形態にかかるインクジェ
ット・プリンタのブロック構成図である。FIG. 3 is a block configuration diagram of the inkjet printer according to the first embodiment of the present invention.
【図4】Bk単色のページを記録する場合の、スクロー
ル・バッファのアドレス・マッピングの従来例を示す図
である。FIG. 4 is a diagram showing a conventional example of address mapping of a scroll buffer when recording a Bk monochrome page.
【図5】4色ページを記録する場合の、スクロール・バ
ッファのアドレス・マッピングの従来例を示す図であ
る。FIG. 5 is a diagram showing a conventional example of address mapping of a scroll buffer when recording a 4-color page.
【図6】本発明の第1の実施の形態にかかるスクロール
・バッファのアドレス・マッピング例を示す図である。FIG. 6 is a diagram showing an example of address mapping of the scroll buffer according to the first exemplary embodiment of the present invention.
Claims (4)
録素子が配列されたカラー用の記録ヘッドとを有し、前
記記録データに対応した画像を印刷する印刷装置におい
て、 前記記録ヘッドを前記記録素子の配列方向とは異なる方
向に走査する走査手段と、 前記格納手段が有する連続番号のアドレスの一部または
全部を、前記記録素子の総数以上の整数で区切って得ら
れるカラム毎のアドレスの各々に、前記カラー毎に、前
記記録素子の配列に基づいた順番で、前記記録素子に対
応するデータを書き込む書込手段と、 前記記録データを、前記走査手段による前記記録ヘッド
の走査に同期させて、前記格納手段から読み出す読出手
段と、 を備えることを特徴とする印刷装置。1. A printing apparatus, comprising a storage unit for storing print data and a printhead for color in which a plurality of print elements are arranged, for printing an image corresponding to the print data. A scanning unit that scans in a direction different from the array direction of the recording elements, and a part or all of the addresses of the serial numbers that the storage unit has, the address of each column obtained by dividing by an integer greater than the total number of the recording elements. A writing unit that writes data corresponding to the recording elements in an order based on the array of the recording elements for each color, and synchronizes the recording data with the scanning of the recording head by the scanning unit. And a reading unit that reads out from the storage unit.
録ヘッドを用いて画像を印刷する印刷方法において、 前記記録ヘッドを前記記録素子の配列方向とは異なる方
向に走査する走査ステップと、 格納手段の連続番号のアドレスの一部または全部を前記
記録素子の総数以上の整数で区切って得られるカラム毎
のアドレスの各々に、前記カラー毎に、前記記録素子の
配列に基づいた順番で、前記記録素子に対応する記録デ
ータを書き込む書込ステップと、 前記格納手段に格納された前記記録データを、前記走査
ステップでの前記記録ヘッドの走査に同期させて、読み
出す読出ステップと、 を含むことを特徴とする印刷方法。2. A printing method for printing an image using a color recording head in which a plurality of recording elements are arranged, comprising a scanning step of scanning the recording head in a direction different from an arrangement direction of the recording elements. For each of the addresses for each column obtained by dividing a part or all of the addresses of the serial numbers of the storage means by an integer equal to or more than the total number of the recording elements, for each color, in the order based on the arrangement of the recording elements, A write step of writing print data corresponding to the print element; and a read step of reading the print data stored in the storage means in synchronization with scanning of the print head in the scanning step. A printing method characterized by.
録ヘッドを用いて画像を印刷する印刷装置を制御する制
御プログラムであって、 コンピュータに、 前記記録ヘッドを前記記録素子の配列方向とは異なる方
向に走査する走査工程と、 格納手段の連続番号のアドレスの一部または全部を前記
記録素子の総数以上の整数で区切って得られるカラム毎
のアドレスの各々に、前記カラー毎に、前記記録素子の
配列の順番に前記記録素子に対応する記録データを書き
込む書込工程と、 前記格納手段に格納された前記記録データを、前記記録
ヘッドの走査に同期させて、読み出す読出工程と、 を実行させることを特徴とする制御プログラム。3. A control program for controlling a printing apparatus for printing an image using a color recording head in which a plurality of recording elements are arranged, wherein the recording head and the recording element are arranged in a computer. Is a scanning step of scanning in different directions, and a part of or all of the addresses of the serial numbers of the storage means are separated by an integer greater than or equal to the total number of the recording elements, each of the addresses for each column, and for each color, A writing step of writing recording data corresponding to the recording elements in the order of arrangement of the recording elements; and a reading step of reading the recording data stored in the storage means in synchronization with scanning of the recording head. A control program characterized by being executed.
たことを特徴とするコンピュータ読み取り可能な記憶媒
体。4. A computer-readable storage medium in which the control program according to claim 3 is stored.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002152761A JP2003341040A (en) | 2002-05-27 | 2002-05-27 | Printer and its method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002152761A JP2003341040A (en) | 2002-05-27 | 2002-05-27 | Printer and its method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2003341040A true JP2003341040A (en) | 2003-12-03 |
Family
ID=29770020
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002152761A Withdrawn JP2003341040A (en) | 2002-05-27 | 2002-05-27 | Printer and its method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2003341040A (en) |
-
2002
- 2002-05-27 JP JP2002152761A patent/JP2003341040A/en not_active Withdrawn
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0872330A (en) | Printer and printing method | |
| JP3533895B2 (en) | Serial printer and image buffer access method in serial printer | |
| JP3825937B2 (en) | Information processing apparatus and method, storage medium, and image forming system | |
| EP1495875B1 (en) | Printing with non-uniform resolutions | |
| EP1355263B1 (en) | Printing apparatus and buffer management method | |
| JPH06191093A (en) | Recorder | |
| JP2003341040A (en) | Printer and its method | |
| US7206095B2 (en) | Printing apparatus and method | |
| JP2002137373A (en) | Recording processing method, recording system, information processing apparatus, and inkjet recording apparatus | |
| US7535593B2 (en) | Printing apparatus, data processing method for printing apparatus, and printing system | |
| JP4313981B2 (en) | Recording apparatus and recording control method for the recording apparatus | |
| JP3517570B2 (en) | Recording apparatus and recording control method | |
| JP4219218B2 (en) | Recording system, printer driver, and recording apparatus | |
| JP2001225460A (en) | Printing that changes the number of nozzles used according to printing conditions | |
| JP4274012B2 (en) | Recording device | |
| JP2003305901A (en) | Recording apparatus, recording control method, and recording system | |
| JP2007301990A (en) | Recording apparatus and control method of the apparatus | |
| JP2007015248A (en) | Recording device | |
| JP3861940B2 (en) | Serial printer and printing control method | |
| JPH0839836A (en) | Printing equipment | |
| JP2005053191A (en) | Recording system and scanning start timing control method for recording apparatus | |
| JP2001253064A (en) | Printing that changes the number of nozzles used at the edge of the print medium | |
| JPH09141936A (en) | Print recorder | |
| JP2002079662A (en) | Apparatus for controlling printing of ink jet printer and its control method | |
| JP2007076239A (en) | Inkjet recording device |
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 |