JP2884876B2 - Printing control device - Google Patents
Printing control deviceInfo
- Publication number
- JP2884876B2 JP2884876B2 JP951292A JP951292A JP2884876B2 JP 2884876 B2 JP2884876 B2 JP 2884876B2 JP 951292 A JP951292 A JP 951292A JP 951292 A JP951292 A JP 951292A JP 2884876 B2 JP2884876 B2 JP 2884876B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- raster
- line segment
- dots
- conversion processing
- 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 - Lifetime
Links
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Record Information Processing For Printing (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、印刷制御装置に係り、
特にコンピュータ等で作成されたデータを印刷する印刷
装置において、前記データをラスターイメージデータに
展開する印刷制御装置の改良に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing control device,
In particular, the present invention relates to an improvement in a printing control device for developing data into raster image data in a printing device that prints data created by a computer or the like.
【0002】[0002]
【従来の技術】従来、この種のプリンタ装置(印刷装
置)では、印刷制御装置内の半導体記憶装置上に、印刷
すべき2次元ラスターイメージデータの1ページ分の容
量を割り当て、コンピュータから送出された文字コード
等のデータに基づいて、その記憶領域にラスターイメー
ジデータを展開していた。ここに、ラスターイメージデ
ータとは、1ライン分の印刷幅内に含まれる個々の画素
に対応すべく作成されたイメージデータをいう。そし
て、前記ラスターイメージデータの展開の際に、複数の
図形(例えば、円形と長方形)が重なり合って出現する
場合には、出現順に同一領域を何回も書き換えていた。2. Description of the Related Art Conventionally, in this type of printer device (printing device), a capacity of one page of two-dimensional raster image data to be printed is allocated to a semiconductor memory device in a print control device and transmitted from a computer. The raster image data is developed in the storage area based on data such as character codes. Here, the raster image data refers to image data created to correspond to individual pixels included in a print width of one line. When a plurality of figures (for example, a circle and a rectangle) appear overlapping when developing the raster image data, the same area is rewritten many times in the order of appearance.
【0003】そして、前記展開の終了後、プリンタ装置
の印刷機構をスタートさせ、展開されたラスターイメー
ジデータを前記印刷機構に出力することにより1ページ
分の印刷を行っていた。After completion of the development, the printing mechanism of the printer device is started, and the raster image data thus developed is output to the printing mechanism to print one page.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、近年、
プリンタ装置の高解像度化・高画質化に伴い1ページ分
のラスターイメージデータ量が極端に増大したため、半
導体記憶装置コストの増大に起因する装置価格の上昇を
招くばかりでなく、消費電力や半導体の電気的な駆動能
力、CPUの扱えるデータ量の上限等の制約により、プ
リンタ装置を現実に製作することが不可能にさえなって
しまっていた。更に、大型の印刷出力をプリントしたい
場合には、半導体記憶装置が大容量化するようになって
いた。However, in recent years,
Since the amount of raster image data for one page has been extremely increased due to the increase in resolution and image quality of the printer device, not only the cost of the device due to the increase in the cost of the semiconductor storage device, but also the power consumption and the semiconductor Due to restrictions such as the electric driving ability and the upper limit of the amount of data that can be handled by the CPU, it has even been impossible to actually manufacture a printer device. Further, when it is desired to print a large print output, the capacity of the semiconductor memory device has been increased.
【0005】また、かかる膨大な半導体記憶装置(メモ
リ)にラスターイメージデータを展開するに際し、非常
に長時間を要していた。例えば、A4サイズの印刷出力
をプリントする場合、従来の白黒レーザプリンタのよう
に1ピクセル当り1ビットのデータを必要とし、その解
像度が12ピクセル/mm程度であれば、必要な半導体
記憶装置は1メガバイト程度であった。しかし、出力サ
イズA0、解像度12ピクセル/mm、1ピクセル当り
1670万色(24ビット/ピクセル)では、少なくと
も500メガバイトものメモリを必要とし、装置のコス
トおよび展開時間が飛躍的に増大し、実用に供し得る装
置を製作することができなかった。[0005] Further, it takes a very long time to develop raster image data in such a huge amount of semiconductor storage devices (memory). For example, when printing an A4-size print output, 1-bit data per pixel is required as in a conventional black-and-white laser printer. If the resolution is about 12 pixels / mm, one semiconductor memory device is required. It was about a megabyte. However, an output size of A0, a resolution of 12 pixels / mm, and 16.7 million colors per pixel (24 bits / pixel) require at least 500 megabytes of memory, dramatically increase the cost and development time of the device, and make it practical. An available device could not be manufactured.
【0006】そこで、本発明は、前記課題を解決するた
めになされたものであり、半導体記憶装置の量を減少さ
せ、大型・高解像度・高画質の印刷を高速に行うことが
可能な印刷制御装置を提供することを目的とする。Accordingly, the present invention has been made to solve the above-mentioned problems, and has been made in order to reduce the amount of semiconductor memory devices and to perform large-scale, high-resolution, high-quality printing at high speed. It is intended to provide a device.
【0007】[0007]
【課題を解決するための手段】前記目的を達成するため
に本発明の印刷制御装置は、メモリの所定単位を1ドッ
トとすると共に、1ライン分の印刷幅内に含まれるドッ
トで構成される領域を1ラスターとし、コンピュータ等
で作成された図形情報データを、前記1ラスター毎の個
々のドットに対応する印刷用のラスターイメージデータ
に変換する印刷制御装置において、コンピュータ等から
受信した図形情報データをラスター方向における位置と
長さを有する線分データに変換する線分データ変換手段
と、この線分データ変換手段により変換された線分デー
タをラスターイメージデータに変換するラスターイメー
ジデータ変換手段とを備え、前記ラスターイメージデー
タ変換手段は、前記コンピュータ等からの前記図形情報
データの受信順序によって決定される印刷後における図
形の視覚上の上書き順序の先後とは逆に、当該上書き順
序が後になる図形に対応した前記図形情報データに基づ
く前記線分データから先に変換処理を行う手段であり、
1ラスターについて変換処理を行ったドット数を計数す
る計数手段と、 1ラスターを構成する各ドットに対して
変換処理を行ったか否かの情報を記録する記録手段と、
前記記録手段により記録された情報に基づいて変換処理
が未処理と判断されるドットに対してのみ、当該ラスタ
ーに対する前記線分データについての変換処理を行う変
換処理手段と、前記計数手段により計数されたドット数
が1ラスターを構成するドット総数に達するまでは、前
記変換処理手段による当該ラスターについての変換処理
を行わせ、前記計数されたドット数が1ラスターを構成
するドット総数に達した後は、前記変換処理手段による
当該ラスターについての変換処理を行わせることなく、
次段のラスターについて前記変換処理手段による変換処
理を行わせる変換処理制御手段とを備えるように構成し
た。In order to achieve the above object, a printing control apparatus according to the present invention stores a predetermined unit of memory in one dot.
And the dots included in the print width for one line.
The area composed of the objects is defined as one raster, and the graphic information data created by a computer or the like is used for each raster.
A line controller for converting graphic information data received from a computer or the like into line segment data having a position and length in a raster direction, in a print control device for converting raster image data for printing corresponding to each dot ; Raster image data converting means for converting the line segment data converted by the line segment data converting means into raster image data, wherein the raster image data converting means includes the graphic information from the computer or the like.
Figure after printing determined by the data receiving order
Contrary to the visual overwrite order of the shape,
Based on the graphic information data corresponding to the graphic whose
Means for first performing a conversion process from the line segment data,
Count the number of dots converted for one raster
Counting means, and for each dot constituting one raster
Recording means for recording information as to whether or not the conversion process has been performed;
Conversion processing based on information recorded by the recording means
Only for the dots for which
To perform conversion processing on the line segment data for
Conversion processing means and the number of dots counted by the counting means
Until has reached the total number of dots that make up one raster,
Conversion processing for the raster by the conversion processing means
And the counted number of dots constitutes one raster.
After the total number of dots to be processed is reached,
Without causing the conversion process for the raster,
Conversion processing by the conversion processing means for the next raster
And a conversion processing control means for performing the processing .
【0008】[0008]
【作用】印刷制御装置は、コンピュータ等から、線分デ
ータ変換手段が図形情報データを受信して順次線分デー
タに変換しつつ記憶装置に格納する。全てのデータの解
釈が終了すると、ラスターイメージデータ変換手段によ
り前記記憶装置に格納された線分データを、格納時の順
番とは逆順に読出し(即ち、新しい線分データから読出
し)、それを数ラスター分の幅のラスターイメージデー
タに変換し、半導体記憶装置に格納する。この変換処理
は、変換処理手段によって1ラスター毎に行われるが、
ラスターイメージデータ変換手段は、変換処理制御手段
を備えており、計数手段によって計数された変換処理済
みのドット数が1ラスターを構成するドット総数に達し
たか否かによって、変換処理対象となっているラスター
における前記変換処理手段による変換処理を続行する
か、あるいは中断するかを前記変換処理制御手段によっ
て制御している。まず、計数手段によって計数された変
換処理済みのドット数が1ラスターを構成するドット総
数に達していない場合には、前記変換処理制御手段は前
記変換処理手段により変換処理を行わせる。変換処理手
段は、記録手段によって記録される1ラスターを構成す
る各ドットに対して変換処理を行ったか否かの情報に基
づいて、変換処理が処理済みであるか、あるいは未処理
であるか を判断し、未処理であると判断されるドットに
対してのみ、当該ラスターに対する前記線分データにつ
いての変換処理を行う。しかし、既に書き込み済みであ
ると判断されるドットについては、変換対象の線分デー
タに対応するドットであっても変換処理を行わない。こ
れにより、前記半導体記憶装置への重複した領域におけ
るデータの格納が行われず、変換処理に要する時間が短
縮される。 次に、計数手段によって計数された変換処理
済みのドット数が1ラスターを構成するドット総数に達
した場合には、前記変換処理制御手段は前記変換処理手
段による当該ラスターについての変換処理を行わせるこ
となく、次段のラスターについて前記変換処理手段によ
る変換処理を行わせる。つまり、前記計数手段による計
数値が印字幅分のドット数に等しくなり当該ラスターを
構成する全てのドットへの変換処理が終了した場合に
は、変換処理手段は、当該ラスターについて変換処理が
行われるべき線分データが残っていても、その線分デー
タを変換処理対象として扱わない。従って、記録手段に
記録された1ラスターを構成する各ドットに対して変換
処理を行ったか否かの情報に基づく変換処理が処理済み
であるか否かの判断さえも行わず、当該ラスターに対す
る一切の変換処理を中断して、次段のラスターについて
変換処理に移行する。従って、変換処理に要する時間
は、前記半導体記憶装置への重複した領域におけるデー
タの格納に要する時間だけでなく、変換が行われるドッ
トが処理済みか否かの判断に要する時間を含めて短縮さ
れることになり、大幅に短縮されることになる。本発明
においては、このようにして先にラスターイメージデー
タへの変換が終了した部分と重複する線分データ(図7
における符号601および符号602と、符号603の
重複部分)に関してはラスターイメージデータ処理を行
わない。かかる処理を行ったラスターイメージデータに
基づいて印刷を行う。In the printing control apparatus, the line segment data converting means receives graphic information data from a computer or the like and sequentially stores the graphic information data in the storage device. When the interpretation of all data is completed, the raster image data conversion means
The line segment data stored in the storage device is read out in the reverse order of the storage order (that is, read out from new line segment data), and is converted into raster image data having a width of several rasters. Store in device. This conversion processing is performed for each raster by the conversion processing means.
The raster image data conversion means includes a conversion processing control means.
With conversion processing counted by the counting means
The total number of dots has reached the total number of dots that make up one raster
Rasters that are subject to conversion, depending on whether
Continue the conversion processing by the conversion processing means in
The conversion process control means
Control. First, the change counted by the counting means
The total number of dots whose replacement has been performed constitutes one raster.
If the number has not been reached, the conversion processing control means
The conversion processing is performed by the conversion processing means. Conversion process
The columns constitute one raster recorded by the recording means.
Based on whether or not conversion processing has been performed for each dot
Has been processed or has not been processed
It determines whether there are, the dot is determined to be unprocessed
Only the line segment data for the raster
Perform the conversion process. However, if you have already
For the dots determined to be
The conversion process is not performed even for dots corresponding to data. This
As a result, in the overlapping area to the semiconductor memory device,
Data is not stored and the time required for the conversion process is short.
Contracted. Next, the conversion process counted by the counting means
Number of dots that have already reached the total number of dots that make up one raster
In this case, the conversion processing control means performs the conversion processing.
The conversion process for the raster
The raster processing of the next stage
To perform a conversion process. That is, the counting by the counting means
When the value is equal to the number of dots for the print width, the raster
When the conversion process to all the constituent dots is completed
Means that the conversion processing means
Even if there is line segment data to be performed,
Data is not treated as a conversion target. Therefore, the recording means
Conversion for each dot constituting one recorded raster
Conversion processing based on information on whether processing has been performed has been processed
Is not even determined, and the raster
All conversion processing is interrupted and the next raster
Move on to the conversion process. Therefore, the time required for the conversion process
Is the data in the overlapping area to the semiconductor memory device.
Not only the time required to store the data, but also the
Time, including the time required to determine whether
Will be greatly reduced. The present invention
In FIG. 7, the line segment data (FIG. 7) that overlaps with the part previously converted to raster image data
The raster image data processing is not performed for the reference numerals 601 and 602 and the overlapping part of the reference numeral 603). Printing is performed based on the raster image data that has undergone such processing.
【0009】[0009]
【実施例】以下、本発明の印刷制御装置の実施例を図面
を参照して説明する。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of a print control apparatus according to the present invention.
【0010】先ず、図1に前記印刷制御装置の実施例の
外部接続の模式図を示す。First, FIG. 1 shows a schematic diagram of an external connection of an embodiment of the print control apparatus.
【0011】図1に示すように、コンピュータ100と
印刷制御装置300間において、印刷命令の授受が可能
なように、コンピュータ100の外部コネクタ101と
印刷制御装置300の第1インターフェイスコネクタ3
01が、第1ケーブル401により接続されている。ま
た、印刷制御装置300からインクジェットプリンタ2
00へ、1ライン分のデータであるラスターイメージデ
ータを送出可能なように、印刷制御装置300の第2イ
ンターフェイスコネクタ302とインクジェットプリン
タ200のインターフェイスコネクタ201が、第2ケ
ーブル402により接続されている。As shown in FIG. 1, an external connector 101 of the computer 100 and a first interface connector 3 of the print control device 300 are provided so that a print command can be transmitted and received between the computer 100 and the print control device 300.
01 are connected by a first cable 401. In addition, the print control device 300 sends the information to the inkjet printer 2.
A second cable 402 connects the second interface connector 302 of the print control device 300 and the interface connector 201 of the inkjet printer 200 so that the raster image data, which is one line of data, can be sent to 00.
【0012】次に、図2を参照して前記印刷制御装置3
00の構成を、より詳細に説明する。Next, referring to FIG.
00 will be described in more detail.
【0013】図2に示すように、コンピュータ100か
らデータが入力される第1インターフェイスコネクタ3
01には、そのデータを受け取る第1インターフェイス
回路303が接続されている。同様に、第2インターフ
ェイスコネクタ302には、データを送信可能なように
第2インターフェイス回路350が接続されている。両
インターフェイス回路の他端には、第1CPU305と
の間でデータの授受が可能なように第1バス313が接
続されている。また、前記第1バス313には、データ
を蓄積するための第1ダイナミックメモリ306、ハー
ドディスクドライブ309とのインターフェイスを行な
う為の第3インターフェイス回路307、後述する第2
CPU310との間の通信を行なう為の、2つのポート
を持ち両ポートから同一メモリセルにアクセスが可能な
デュアルポートメモリ308の第1のポート、それらデ
バイス間でダイレクトメモリ転送を行なうためのDMA
C314が接続されている。As shown in FIG. 2, a first interface connector 3 to which data is input from a computer 100
01 is connected to the first interface circuit 303 that receives the data. Similarly, a second interface circuit 350 is connected to the second interface connector 302 so that data can be transmitted. A first bus 313 is connected to the other ends of both interface circuits so that data can be exchanged with the first CPU 305. The first bus 313 includes a first dynamic memory 306 for storing data, a third interface circuit 307 for interfacing with the hard disk drive 309, and a second interface circuit 307 to be described later.
A first port of a dual-port memory 308 having two ports for communicating with the CPU 310 and capable of accessing the same memory cell from both ports, a DMA for performing direct memory transfer between the devices.
C314 is connected.
【0014】一方、第2CPU310の第2バス312
には、前記デュアルポートメモリ308の第2のポー
ト、データ蓄積の為の第2ダイナミックメモリ311が
接続されている。なお、図2にはおいては、アドレスバ
スやチップセレクト信号等の各種コントロール信号の図
示を省略している。On the other hand, the second bus 312 of the second CPU 310
Is connected to a second port of the dual port memory 308 and a second dynamic memory 311 for storing data. 2, illustration of various control signals such as an address bus and a chip select signal is omitted.
【0015】図3を参照しつつ前記第2インターフェイ
ス回路350の構成を詳細に説明する。The structure of the second interface circuit 350 will be described in detail with reference to FIG.
【0016】図3に示すように、第1CPU305等か
らのデータ書き込みが可能なようにファーストインファ
ーストアウトメモリ装置(以下、FIFOと記す)35
1のデータ入力端が第1バス313に接続されている。
FIFO351のデータ出力端には、前記第2インター
フェイスコネクタ302へデータを出力するためのドラ
イバ352が接続されている。第2インターフェイスコ
ネクタ302からのレディー信号を受け取り、コントロ
ール回路354に入力させるために、レシーバ353が
配設されている。前記FIFO351のリード信号35
9と、第2インターフェイスコネクタ302へドライバ
352を介して出力されるデータクロック信号356と
を生成するために、コントロール回路354が配設さ
れ、このコントロール回路354のタイミングを制御す
るためのクロック信号360を生成するためのクロック
生成回路355が配設されている。FIFO351のエ
ンプティフラグ357は、コントロール回路354に入
力されている。As shown in FIG. 3, a first-in first-out memory device (hereinafter, referred to as FIFO) 35 is provided so that data can be written from the first CPU 305 or the like.
One data input terminal is connected to the first bus 313.
A driver 352 for outputting data to the second interface connector 302 is connected to a data output terminal of the FIFO 351. A receiver 353 is provided for receiving a ready signal from the second interface connector 302 and inputting the signal to the control circuit 354. Read signal 35 of the FIFO 351
9 and a control circuit 354 for generating a data clock signal 356 output to the second interface connector 302 via the driver 352, and a clock signal 360 for controlling the timing of the control circuit 354. Is generated. A clock generation circuit 355 for generating the clock is provided. The empty flag 357 of the FIFO 351 is input to the control circuit 354.
【0017】次に、前記インクジェットプリンタ200
の構成を図4を参照して詳細に説明する。Next, the ink jet printer 200
Will be described in detail with reference to FIG.
【0018】図4に示すように、インターフェイスコネ
クタ201には、入力されたデータ及びデータクロック
信号221を、FIFO205のデータ入力端及びイン
ターフェイスコントロール回路204に入力するための
レシーバ202が接続されている。前記インターフェイ
スコネクタ201には、インターフェイスコントロール
回路204で生成されたレディー信号220およびオフ
ライン信号231を出力するためのドライバ203が接
続されている。FIFO205のオーバーフローを防止
するために、このFIFO205のフルフラグ信号22
3がインターフェイスコントロール回路204に接続さ
れている。データをFIFO205に書き込むために、
インターフェイスコントロール回路204からライト信
号222が接続されている。As shown in FIG. 4, the interface connector 201 is connected to a receiver 202 for inputting the input data and the data clock signal 221 to the data input terminal of the FIFO 205 and the interface control circuit 204. The interface connector 201 is connected to a driver 203 for outputting a ready signal 220 and an offline signal 231 generated by the interface control circuit 204. In order to prevent overflow of the FIFO 205, the full flag signal 22 of the FIFO 205
3 is connected to the interface control circuit 204. To write data to FIFO 205,
A write signal 222 is connected from the interface control circuit 204.
【0019】FIFO205のデータ出力端には、CP
U206がデータを読み取れるようにバス230が接続
され、また、バス230には相互にデータの授受が可能
なように、データ蓄積のたのダイナミックメモリ20
7、後述する印刷データを格納する第1データメモリ2
09、第2データメモリ210、第3データメモリ21
1、第4データメモリ212がそれぞれ接続されてい
る。前記第1データメモリ209のデータ出力端は、第
1ヘッド制御回路213に印刷データ224を送出でき
るように接続され、その読み出しを制御するためにデー
タ読出制御回路208のリード信号228が、第1デー
タメモリ209に接続されている。The data output terminal of the FIFO 205 has a CP
A bus 230 is connected so that the U 206 can read data, and a dynamic memory 20 for storing data is connected to the bus 230 so that data can be exchanged with each other.
7. First data memory 2 for storing print data to be described later
09, the second data memory 210, the third data memory 21
The first and fourth data memories 212 are connected to each other. The data output terminal of the first data memory 209 is connected to the first head control circuit 213 so that the print data 224 can be sent out, and the read signal 228 of the data read control circuit 208 is controlled by the first signal to control the reading. It is connected to the data memory 209.
【0020】一方、第1ヘッド制御回路213は、ノズ
ル256からのインクの噴出量が制御可能なように、ヘ
ッド制御信号229がインクジェットヘッド251に接
続され、インクジェットヘッド251にはインクポンプ
(図示せず)からインクが供給されるように、パイプ2
60が接続されている。第2〜第4データメモリ21
0、211、212の場合も、前記第1データメモリ2
09からの場合と同様に接続されている。各インクジェ
ットヘッド251〜254には、各パイプ260〜26
3を介して、例えば、ブラック、イエロー、マジェン
タ、シアンの4色のインクが供給される。On the other hand, the first head control circuit 213 has a head control signal 229 connected to the inkjet head 251 so that the amount of ink ejected from the nozzle 256 can be controlled, and the inkjet head 251 has an ink pump (not shown). So that ink is supplied from pipe 2
60 are connected. Second to fourth data memory 21
0, 211, 212, the first data memory 2
The connection is made in the same manner as in the case from 09. Each of the ink jet heads 251 to 254 has a pipe 260 to 26
For example, inks of four colors, black, yellow, magenta, and cyan, are supplied through 3.
【0021】前記4個のインクジェットヘッド251〜
254に対向して、紙264が巻回されたドラム269
が軸265の回りに回転可能に配設され、軸265には
回転のタイミング信号を、データ読出制御回路208に
送出可能なエンコーダ266が取り付けられている。前
記軸265には、モータ267の回転を伝達するための
ベルト268が掛け渡されている。前記4個のインクジ
ェットヘッド251〜254は、図示しない1つのベッ
ド上に配設され、ドラム269の軸方向に一体として移
動可能なように構成されている。The four ink-jet heads 251 to 251
Drum 269 around which paper 264 is wound
Are arranged rotatably around a shaft 265, and an encoder 266 capable of sending a rotation timing signal to the data read control circuit 208 is attached to the shaft 265. A belt 268 for transmitting the rotation of the motor 267 is stretched around the shaft 265. The four inkjet heads 251 to 254 are arranged on a single bed (not shown), and are configured to be integrally movable in the axial direction of the drum 269.
【0022】次に、以上の構成の印刷制御装置300の
一連の印刷動作を図1乃至図10を参照して説明する。Next, a series of printing operations of the printing control apparatus 300 having the above configuration will be described with reference to FIGS.
【0023】第1CPU305(図2参照)は、コンピ
ュータ100から印刷すべきコマンド群を受け取ると、
先ずそのコマンド群をハードディスクドライブ309に
格納する。この際、コマンド群を無解釈のまま受け取る
のでコンピュータ100を通信から早く解放でき、ま
た、ハードディスクドライブ309に格納しているの
で、コマンド群を格納するダイナミックメモリ306の
容量を少なくできる。コンピュータ100(図1参照)
からのコマンド群が全て入力されると、第1CPU30
5はデュアルポートメモリ308に、このコマンド群を
解釈するように第2CPU310に指示する指令を書き
込む。Upon receiving a command group to be printed from the computer 100, the first CPU 305 (see FIG. 2)
First, the command group is stored in the hard disk drive 309. At this time, since the command group is received without interpretation, the computer 100 can be released from the communication quickly, and since the command group is stored in the hard disk drive 309, the capacity of the dynamic memory 306 for storing the command group can be reduced. Computer 100 (see FIG. 1)
When all the command groups from the first CPU 30 are input, the first CPU 30
5 writes a command instructing the second CPU 310 to interpret the command group in the dual port memory 308.
【0024】一方、第2CPU310は前記指令を受け
取ると、そのコマンド群をハードディスクドライブ30
9から読み出しデュアルポートメモリ308に書き込む
ように、第1CPU305に指示する指令をデュアルポ
ートメモリ308に書き込む。コマンド群がデュアルポ
ートメモリ308に書き込まれると、第2CPU310
はその解釈を開始し、その結果を第2ダイナミックメモ
リ311に格納していく。On the other hand, when the second CPU 310 receives the command, the second CPU 310
9 is written to the dual port memory 308 so as to instruct the first CPU 305 to read from the memory 9 and write to the dual port memory 308. When the command group is written to the dual port memory 308, the second CPU 310
Starts its interpretation and stores the result in the second dynamic memory 311.
【0025】前記解釈の手順を図5〜図8を参照して詳
細に説明する。The procedure of the interpretation will be described in detail with reference to FIGS.
【0026】図5にコマンド群の解釈および印字データ
の展開の機能ブロック図を示す。FIG. 5 is a functional block diagram showing the interpretation of a command group and the development of print data.
【0027】図5に示すように、「線分データ変換手
段」を構成するコマンド解釈部401、コマンド実行部
402、コマンド辞書部403、および「ラスターイメ
ージ変換手段」を構成する印字データ展開部406は、
第2ダイナミックメモリ311(図1参照)上にあり、
第2CPU310により逐次実行される。ここに、コマ
ンド解釈部401は、到来するコマンド群を1つずつに
分解し、コマンド辞書403には到来したコマンド群が
正当なコマンドであるか否かを検査し、作業領域404
において、コマンド実行部402の制御の下に到来した
コマンド群を解釈し、線分データを作成する。As shown in FIG. 5, a command interpreting unit 401, a command executing unit 402, a command dictionary unit 403 constituting the "line segment data converting means", and a print data expanding unit 406 constituting the "raster image converting means". Is
On the second dynamic memory 311 (see FIG. 1),
It is sequentially executed by the second CPU 310. Here, the command interpreting unit 401 decomposes the arriving command group one by one, checks whether or not the arriving command group is a valid command in the command dictionary 403, and checks the work area 404.
, The command group arriving under the control of the command execution unit 402 is interpreted and line segment data is created.
【0028】前記解釈の対象となるコマンド群には、直
線・円等の図形およびその座標値で表される「ベクトル
データ」と、写真をイメージスキャナ装置等でスキャン
しデジタル化した「ビットイメージデータ」が含まれて
いる。デュアルポートメモリ308に書き込まれたコマ
ンド群は、コマンド解釈部401により1つずつのコマ
ンドに分解され、コマンド辞書403により正当なコマ
ンドであるか否かが検査される。コマンド実行部402
が第2ダイナミックメモリ311上にある作業領域40
4を一時的なバッファとして用いながら、「ベクトルデ
ータ」を線分データに変換し、「ビットイメージデー
タ」はコマンド群から分離してハードディスクドライブ
309に書き込む。変換された線分データおよびビット
イメージデータの位置情報が線分データ保存部405に
保存される。線分データ保存部405は、後述の如く第
2ダイナミックメモリ311およびハードディスクドラ
イブ309に分散して存在する。The command group to be interpreted includes "vector data" represented by figures such as straight lines and circles and their coordinate values, and "bit image data" obtained by scanning a photograph with an image scanner or the like and digitizing it. "It is included. The command group written in the dual port memory 308 is decomposed into commands one by one by the command interpretation unit 401, and the command dictionary 403 checks whether the command is a valid command. Command execution unit 402
Is the work area 40 on the second dynamic memory 311
While using "4" as a temporary buffer, "vector data" is converted into line segment data, and "bit image data" is separated from the command group and written to the hard disk drive 309. The position information of the converted line segment data and bit image data is stored in the line segment data storage unit 405. The line segment data storage unit 405 is distributed and exists in the second dynamic memory 311 and the hard disk drive 309 as described later.
【0029】図6(A)に線分データ保存部405(図
5参照)に保存される線分データのデータ構造を示す。
図6(A)は、第2ダイナミックメモリ311上の格納
状態を示し、第2ダイナミックメモリ311上のデータ
がオーバーフローすると、図6(B)に示すように、ハ
ードディスクドライブ309の線分データ補助バッファ
507上に格納される。FIG. 6A shows the data structure of line segment data stored in the line segment data storage unit 405 (see FIG. 5).
FIG. 6A shows a storage state in the second dynamic memory 311. When data in the second dynamic memory 311 overflows, as shown in FIG. 507.
【0030】図6(A)に示すように、1つの線分デー
タDは、「ベクトルデータ」か「ビットイメージデー
タ」かを判別するイメージフラグビット501と、デー
タの存在開始の始点位置502と、データの存在終了の
終点位置503と、赤・緑等の色を定める色値504の
4個のフィールドを有する線分データとして表現され
る。この線分データDは、ラスター毎に区切られた線分
データバッファ505に解釈順に順序付けられて格納さ
れる。また、バッファ管理情報506は、線分データバ
ッファ505の使用効率および空きエリアの位置を保持
し、補助バッファ管理情報508は、線分データバッフ
ァ505に線分データを書き込み可能か否の接続情報を
保持する。As shown in FIG. 6A, one line segment data D includes an image flag bit 501 for determining whether the data is "vector data" or "bit image data", a start point position 502 at which data starts to exist, and , And the end point position 503 of the end of the existence of the data, and the line value data having four fields of the color value 504 for determining the colors such as red and green. The line segment data D is stored in the line segment data buffer 505 divided for each raster in the order of interpretation. The buffer management information 506 holds the use efficiency of the line segment data buffer 505 and the position of an empty area, and the auxiliary buffer management information 508 contains connection information indicating whether line segment data can be written in the line segment data buffer 505. Hold.
【0031】図7(A)に出力目的とする図形の第2ダ
イナミックメモリ311上の順序関係の一例を示す。FIG. 7A shows an example of the order relation on the second dynamic memory 311 of a graphic to be output.
【0032】図7(A)に示すように、コマンドの発生
順に写真等のビットイメージデータ601、ベクトルデ
ータに対応した長方形602および円形603となって
いて、新しい図形(例えば、円形603)は、古い図形
(例えば、ビットイメージデータ601)に対して上書
きされるので、下にある図形(例えば、ビットイメージ
データ601)が透過して見えることはない。ここに、
Is はビットイメージデータ601のイメージ始点位置
を示し、Ie はイメージ終点位置を示し、Icは個々の
ビットイメージデータの出現順を示すイメージIDであ
る。また、Csは円形603の始点位置であり、Ce は
終点位置であり、Cc は円形の色値である。更に、Rs
は長方形602の始点位置であり、Re は終点位置であ
り、Rcは長方形の色値である。As shown in FIG. 7A, in the order of command generation, bit image data 601 such as a photograph, a rectangle 602 and a circle 603 corresponding to vector data, and a new figure (for example, a circle 603) Since the old graphic (for example, the bit image data 601) is overwritten, the underlying graphic (for example, the bit image data 601) does not appear transparent. here,
Is indicates an image start point position of the bit image data 601, Ie indicates an image end point position, and Ic is an image ID indicating the appearance order of each bit image data. Also, Cs is the start point position of the circle 603, Ce is the end point position, and Cc is the color value of the circle. Furthermore, Rs
Is the start point position of the rectangle 602, Re is the end point position, and Rc is the color value of the rectangle.
【0033】図7(B)に、或る任意のラスターiにお
ける前記各種図形の線分データ604を示す。FIG. 7B shows line segment data 604 of the various figures in a given raster i.
【0034】図7(B)に示すように、「ベクトルデー
タ」の場合、円形603を例にとると、始点Cs から終
点Ce まで同一色値Cc が連続しているので、線分デー
タによりデータを保持すれば記憶容量を少なくできる。
これに対して「ビットイメージデータ601」では、同
一色値を有するドットが連続する可能性が低い。従っ
て、線分データに変換するとデータ量が増大してしま
う。かかる問題点を解決するために本実施例ではイメー
ジフラグビット501(図6(A)参照)を設け、ビッ
トイメージデータが配置されている位置情報とイメージ
ID(符号Ic )のみを線分データDに記録し、ビット
イメージデータを分離して保持する。即ち、線分データ
は半導体記憶装置(第2ダイナミックメモリ311)に
保持し、ビットイメージデータを外部記憶装置(ハード
ディスクドライブ309)に分離して保持する。このよ
うに分離することにより「ベクトルデータ」と「ビット
イメージデータ」を効率よく保持することが可能にな
り、後述する印刷データの展開までビットイメージデー
タを特別扱いする必要がなく、処理の簡略化に役立つ。As shown in FIG. 7B, in the case of "vector data", taking the circle 603 as an example, the same color value Cc is continuous from the starting point Cs to the ending point Ce. If the value is held, the storage capacity can be reduced.
On the other hand, in the “bit image data 601”, there is a low possibility that dots having the same color value continue. Therefore, when converted to line segment data, the data amount increases. In order to solve such a problem, in this embodiment, an image flag bit 501 (see FIG. 6A) is provided, and only the position information where the bit image data is arranged and the image ID (code Ic) are used as the line segment data D. And the bit image data is separated and held. That is, the line segment data is held in the semiconductor memory device (second dynamic memory 311), and the bit image data is held separately in the external memory device (hard disk drive 309). This separation makes it possible to efficiently hold "vector data" and "bit image data", and does not require special handling of bit image data until the development of print data described later, thereby simplifying processing. Help.
【0035】図8に線分データの格納方法の概略フロー
チャートを示す。FIG. 8 shows a schematic flowchart of a method for storing line segment data.
【0036】先ず、線分データバッファ505(図6参
照)の使用効率および空きエリアの位置を保持するバッ
ファ管理情報506を参照し(ステップS701)、線
分データバッファ505に線分データを書き込み可能か
否か判定する(ステップS702)。バッファフルによ
り書き込みが不可能であれば、線分データ補助バッファ
507(図6(B)参照)の使用効率および線分データ
バッファ505との接続情報を保持する補助バッファ管
理情報508を参照し(ステップS703)、線分デー
タバッファの内容の一部を線分データ補助バッファ50
7に転送し(ステップS704)、補助バッファ管理情
報を更新する(ステップS705)。次いで、線分デー
タを線分データバッファ505に書き込み(ステップS
706)、バッファ管理情報を更新する(ステップS7
07)。なお、線分データ補助バッファ507は、ハー
ドディスクドライブ309上に配置され、ステップS7
05ではデータの転送単位をハードディスクのセクター
長の整数倍にすることによりデータの転送レイトを最大
にすることができる。通常、記憶容量1ビット当りのコ
ストは、ハードディスクが半導体メモリの1/100程
度であり、半導体メモリとハードディスクを併用するこ
と、およびデータの転送単位を最適化することにより、
大幅な速度低下を伴わずに大容量で低価格のバッファを
実現できる。First, by referring to the buffer management information 506 holding the use efficiency of the line segment data buffer 505 (see FIG. 6) and the position of the free area (step S701), the line segment data can be written into the line segment data buffer 505. It is determined whether or not (step S702). If writing is not possible due to buffer fullness, reference is made to the auxiliary buffer management information 508 that holds the utilization efficiency of the line segment data auxiliary buffer 507 (see FIG. 6B) and the connection information with the line segment data buffer 505 ( Step S703), a part of the contents of the line segment data buffer is transferred to the line segment data
7 (step S704), and updates the auxiliary buffer management information (step S705). Next, the line segment data is written into the line segment data buffer 505 (Step S).
706), and updates the buffer management information (step S7)
07). Note that the line segment data auxiliary buffer 507 is arranged on the hard disk drive 309, and is stored in step S7.
In 05, the data transfer rate can be maximized by setting the data transfer unit to an integral multiple of the sector length of the hard disk. Normally, the cost per bit of storage capacity is about 1/100 of that of a semiconductor memory for a hard disk. By using a semiconductor memory and a hard disk together and optimizing the data transfer unit,
A large-capacity, low-cost buffer can be realized without a significant speed reduction.
【0037】以上の解釈がコマンド群全てに渡って終了
すると、第2CPU310は、デュアルポートメモリ3
08に指令を出し、印刷の開始であることを知らせる。
第1CPU305は、その指令を受け取ると第2インタ
フェース制御回路350にインクジェットプリンタ20
0の起動コマンドとなるデータを書き込む。第2インタ
フェース制御回路350は、レディー信号358が真で
あるならば、FIFOから上記データを1バイトずつ読
出し第2インタフェースコネクタ302に送出し、同時
にデータクロック信号を1パルスずつ送出する。インク
ジェットプリンタ200内のインタフェースコントロー
ル回路204は、そのデータクロック信号に同期して上
記データをFIFO205に取り込む。上記動作は、印
刷制御装置300内のFIFO351がエンプティにな
るか、インクジェットプリンタ200内のFIFO20
5がフルになるまで中断されることはない。また、イン
タフェースコントロール回路204は、FIFO205
にデータが入力されていることをCPU206に知らせ
る。CPU206は、そのデータを順次読出し、起動コ
マンドであることを認識すると、機構制御回路(図示せ
ず)によりモータ267を起動させ、ドラム269を回
転させる。When the above interpretation is completed for all the command groups, the second CPU 310 sets the dual port memory 3
08 to issue a command to notify that printing has started.
Upon receiving the command, the first CPU 305 sends the command to the second interface control circuit 350.
0 is written as the start command. If the ready signal 358 is true, the second interface control circuit 350 reads the data from the FIFO one byte at a time and sends it to the second interface connector 302, and simultaneously sends the data clock signal one pulse at a time. The interface control circuit 204 in the inkjet printer 200 fetches the data into the FIFO 205 in synchronization with the data clock signal. The above operation is performed when the FIFO 351 in the print control device 300 becomes empty or when the FIFO
There is no interruption until 5 is full. Further, the interface control circuit 204 includes a FIFO 205
To the CPU 206 that data has been input to the CPU 206. When the CPU 206 sequentially reads the data and recognizes that the command is a start command, the mechanism control circuit (not shown) starts the motor 267 and rotates the drum 269.
【0038】続いて第2CPU310は、第1CPU3
05に指令を出し、最初の印刷データを読み込ませる。Subsequently, the second CPU 310
At step 05, the first print data is read.
【0039】印刷データは、線分データバッファ505
および線分データ補助バッファ507に格納された「ベ
クトルデータ」と、ハードディスクドライブ507に格
納された「ビットイメージデータ」とを再構成すること
により作成する。再構成の手順は、先にコマンド群を解
釈するために第2ダイナミックメモリ311に転送され
ていて、第2CPU310により実行される。The print data is stored in a line segment data buffer 505.
The “vector data” stored in the line segment data auxiliary buffer 507 and the “bit image data” stored in the hard disk drive 507 are reconstructed. The reconfiguration procedure has been previously transferred to the second dynamic memory 311 for interpreting the command group, and is executed by the second CPU 310.
【0040】次に、図9および図10を参照して印刷デ
ータの構成方法を説明する。図9は印刷データの構成の
フローチャートであり、図10は、印刷データを構成す
るための第2ダイナミックメモリ311上のバッファで
あり、印刷データを格納するラインバッファ801、ド
ットフラグ列802、ドットカウンタ803よりなる。
ここに、ドットフラグ列802は、ラスター内の全ての
ドットに対応する数だけ存在し、対応するドットに書き
込みが行われるとオンにセットされる。ドットカウンタ
803は、ラスター内の書き込みが行われたドットの数
をカウントするカウンタである。Next, a method of forming print data will be described with reference to FIGS. FIG. 9 is a flowchart of the configuration of the print data. FIG. 10 is a buffer on the second dynamic memory 311 for configuring the print data. The buffer 801 stores the print data, the dot flag column 802, and the dot counter. 803.
Here, the dot flag row 802 exists by the number corresponding to all the dots in the raster, and is set to ON when writing is performed on the corresponding dots. The dot counter 803 is a counter that counts the number of written dots in the raster.
【0041】図10に示すフローチャートにより、1つ
のラスターを「印刷データ」に構成する方法を説明す
る。A method for forming one raster into "print data" will be described with reference to the flowchart shown in FIG.
【0042】先ず、ラインバッファ801、ドットフラ
グ列802、ドットカウンタ803を初期化する(ステ
ップS901)。次いで該当するラスターに「線分デー
タ」があるか否かをチェックし(ステップS902)、
線分データが無ければ終了し、あればデータを1つ読出
す(ステップS903)。線分データの読出しは、最新
のものから古いものに向かって行う。即ち、「逆順」に
読出す。読出した線分データの始点位置をドット位置ポ
インタにセットする(ステップS904)。ここで、ド
ットカウンタと印字幅が等しいか否かをチェックし(ス
テップS905)、等しければ終了する。First, the line buffer 801, the dot flag row 802, and the dot counter 803 are initialized (step S901). Next, it is checked whether or not the corresponding raster has "line segment data" (step S902),
If there is no line segment data, the process ends. If there is no line segment data, one data is read (step S903). The line segment data is read from the latest data to the oldest data. That is, reading is performed in a “reverse order”. The start point position of the read line segment data is set in the dot position pointer (step S904). Here, it is checked whether or not the dot counter is equal to the print width (step S905).
【0043】次いで、現在のドットポインタに対応する
ドットフラグをチェックし(ステップS906)、オン
であればステップS912に飛ぶ。線分データのイメー
ジフラグをチェックし(ステップS907)、オンであ
ればビットイメージデータの展開処理を行い(ステップ
S908)、ラインバッファの対応するドットにビット
イメージデータを書き込む(ステップS910)。ビッ
トイメージデータでない場合は、現在の線分データの色
値をラインバッファに書き込む(ステップS909)。
次いで、ドットカウンタを更新し、ドットフラグをオン
にセットし(ステップS911)、ドット位置ポインタ
を更新する(ステップS912)。ドット位置カウンタ
が、線分データの終点位置と等しければステップS90
2に戻り、等しくない場合はステップS905に戻る
(ステップS913)。上述の如く「線分データ」の印
刷データの展開にはステップS902と、ステップS9
05と2つの終了条件があるが、ステップS902は該
当するラスターに線分データが無くなった場合であり、
通常の終了条件である。Next, the dot flag corresponding to the current dot pointer is checked (step S906), and if it is on, the process jumps to step S912. The image flag of the line segment data is checked (step S907). If it is on, the bit image data is developed (step S908), and the bit image data is written to the corresponding dot of the line buffer (step S910). If it is not bit image data, the color value of the current line segment data is written to the line buffer (step S909).
Next, the dot counter is updated, the dot flag is set to ON (step S911), and the dot position pointer is updated (step S912). If the dot position counter is equal to the end point position of the line segment data, step S90
2, and if not equal, the process returns to step S905 (step S913). As described above, the step S902 and the step S9 are performed to develop the print data of “line segment data”.
05 and two end conditions, but step S902 is a case where there is no line segment data in the corresponding raster,
This is a normal termination condition.
【0044】ステップS905は、ドットカウンタが印
字幅に等しくなった場合、即ち、ラインバッファの全て
のドットに書き込みが終了したが「線分データ」が残っ
ている状態である。この状態では残りの線分データが長
方形602のように新しい線分データの下に隠れてしま
い展開の必要が無くなっている。従って、無用の処理を
行うことがなくなり、展開処理の高速化に寄与する。な
お、詳述しないが、ステップS902とステップS90
8では、ハードディスクドライブ309からデータの読
出しが行われる。ステップS902では線分データ補助
バッファから必要な線分データの読出しが、ステップS
908では線分データから分離されているビットイメー
ジデータの読出しが行われる。Step S905 is a state in which the dot counter has become equal to the print width, that is, a state in which writing has been completed for all dots in the line buffer but "line segment data" remains. In this state, the remaining line segment data is hidden under the new line segment data like a rectangle 602, and there is no need to expand the data. Therefore, unnecessary processing is not performed, which contributes to speeding up of the expansion processing. Although not described in detail, steps S902 and S90
At 8, the data is read from the hard disk drive 309. In step S902, the necessary line segment data is read from the line segment data auxiliary buffer.
At 908, the bit image data separated from the line segment data is read.
【0045】第1CPU305(図2参照)は、その展
開されたデータをダイナミックメモリ207に格納し、
DMAC314にその展開データを第2インターフェイ
ス回路350に書き込みに行くように指令する。この時
必要なダイナミックメモリの容量は、最低でも1ラスタ
ー分のデータ量であり、展開データを1ページ分持つ場
合に比して、著しく少なくできる。DMAC314はF
IFO351がフルになると書き込みを中断し、FIF
O351がエンプティになると再び書き込みを開始す
る。このダイレクトメモリ転送が中断している間に、第
1CPU305は、次の線分データを第2CPU310
側にハードディスクドライブ309より転送することが
可能であるし、また、展開し終わったデータをダイナミ
ックメモリ207の別の領域に格納することも可能であ
る。また、第2CPU310はバス230が使用中であ
るか否かには関係なく、展開作業を継続して続けること
が出来るので、高速処理が可能である。DMAC314
によりFIFO351に展開データが書き込まれると、
起動コマンドの送出の部分で説明したと同様に、そのデ
ータはインクジェットプリンタ200に送られ、CPU
206はそのデータをダイナミックメモリ207に一時
的に格納する。The first CPU 305 (see FIG. 2) stores the expanded data in the dynamic memory 207,
The DMAC 314 is instructed to write the expanded data to the second interface circuit 350. At this time, the required capacity of the dynamic memory is at least the data amount of one raster, which can be significantly reduced as compared with the case where one page of expanded data is provided. DMAC 314 is F
When the FIFO 351 becomes full, the writing is interrupted and the FIFO
When O351 becomes empty, writing is started again. While the direct memory transfer is suspended, the first CPU 305 transmits the next line segment data to the second CPU 310.
The data can be transferred from the hard disk drive 309 to the other side, and the developed data can be stored in another area of the dynamic memory 207. Further, the second CPU 310 can continue the expansion work regardless of whether or not the bus 230 is in use, so that high-speed processing is possible. DMAC314
When the expanded data is written to the FIFO 351 by
The data is sent to the inkjet printer 200 and sent to the CPU
206 temporarily stores the data in the dynamic memory 207.
【0046】更にCPU206はその内、シアンのデー
タ成分のみをデータメモリ212に1ラスター分順次格
納し、格納し終えるとデータ読出制御回路208に1ラ
スター分の印刷を行なわせるように指令を出す。データ
読出制御回路208は、その指令を受け取ると、エンコ
ーダ266の出力信号に同期させて、データメモリ21
2の内容を第4ヘッド制御回路216に送出させる。第
4ヘッド制御回路216は、そのデータに基づいて、駆
動量を決定しヘッド254を駆動する。ヘッド254は
駆動量に応じたインク量を紙264に噴出する。この噴
出によりドラム269上の紙264にシアンの1ラスタ
ーイメージが印刷される。CPU206は、次にヘッド
を1ラスター分軸方向に移動させ、次のシアンの1ラス
ターイメージに関しても上記の動作を繰り返させる。そ
して、ヘッド253が最初のシアンのラスター位置にき
たところで、次からはマジェンタとシアンのデータに関
して、同様の事を繰り返させる。もし、必要なデータが
ダイナミックメモリ207上にないときは、データが入
力されるまで待つ。Further, the CPU 206 sequentially stores only the cyan data component in the data memory 212 for one raster, and instructs the data readout control circuit 208 to print one raster when the storage is completed. Upon receiving the command, the data read control circuit 208 synchronizes with the output signal of the encoder 266 and
The content of 2 is sent to the fourth head control circuit 216. The fourth head control circuit 216 determines the drive amount based on the data and drives the head 254. The head 254 ejects the ink amount corresponding to the driving amount onto the paper 264. This jet prints one raster image of cyan on paper 264 on drum 269. Next, the CPU 206 moves the head in the axial direction by one raster, and repeats the above operation for the next cyan raster image. Then, when the head 253 reaches the first cyan raster position, the same is repeated from the next on the magenta and cyan data. If the necessary data is not on the dynamic memory 207, the process waits until data is input.
【0047】以上の動作をイエロー、ブラックに関して
も繰り返し、更に印刷データの終わりまでは逆にシアン
から順次ラスターの印刷を止めていくことにより、紙2
64上にフルカラーの印刷を行なうことが出来る。この
時インクジェットプリンタ200内のダイナミックメモ
リ207に必要な容量は、各ヘッド間の間隔を印刷する
ために記憶しておくメモリ容量の和であり、1ページ分
のラスターイメージメモリに対して極端に少ないメモリ
量で同じ印刷物を得ることが可能である。The above operation is repeated for yellow and black, and the raster printing is sequentially stopped from cyan until the end of the print data.
64 can be printed in full color. At this time, the capacity required for the dynamic memory 207 in the inkjet printer 200 is the sum of the memory capacity for storing the interval between the heads, which is extremely small for the raster image memory for one page. The same printed matter can be obtained with the memory amount.
【0048】なお、本発明は前記実施例に限定されるも
のではなく、様々な応用が可能である。例えば、プリン
ト装置はラスタースキャン装置なら昇華型熱転写方式プ
リント装置やビデオディスプレイ装置でも良いし、ハー
ドディスクドライブのかわりに光磁気ディスク装置やテ
ープドライブ装置を用いても良い。It should be noted that the present invention is not limited to the above embodiment, and various applications are possible. For example, if the printing apparatus is a raster scanning apparatus, it may be a sublimation thermal transfer printing apparatus or a video display apparatus, or a magneto-optical disk apparatus or a tape drive apparatus may be used instead of the hard disk drive.
【0049】[0049]
【発明の効果】以上説明したことから明らかなように、
本発明によれば、1ページ分のラスターイメージメモリ
上にデータを展開する代わりに、印刷コマンドを先ず線
分データに変換し、それを順次展開しながら印刷を行っ
ていくので、必要とするメモリ量を著しく小さくでき、
従って、高精細で高画質の印刷物を得ることが可能な印
刷制御装置を安価に構成できる。また、重なり合った図
形のラスターイメージデータへの変換については、変換
処理が未処理のドットに対してのみ変換を行うので高速
処理が可能となる。特に、1ラスターを構成する全ての
ドットに対して変換処理を行った場合には、変換処理を
行っていない線分データがあったとしても、また変換処
理途中の線分データがあったとしても、当該ラスターに
対する一切 の変換処理を中断して次段のラスターについ
ての変換処理を行うので、半導体記憶装置にデータを格
納するのに要する時間だけでなく、ドットが変換処理済
みか否かの判断に要する時間を省くことができるので、
線分データのラスターイメージデータへの変換処理に要
する時間を著しく短縮することができる。 As is apparent from the above description,
According to the present invention, instead of developing data on a raster image memory for one page, a print command is first converted into line segment data, and printing is performed while sequentially developing the data. The amount can be significantly reduced,
Therefore, a print control device capable of obtaining high-definition and high-quality printed matter can be configured at low cost. Also, the overlapping figure
For information on converting shapes to raster image data, see Convert
High speed because conversion is performed only for unprocessed dots
Processing becomes possible. In particular, all the constituents of one raster
When conversion processing is performed on dots, the conversion processing
Even if there is line segment data that has not been
Even if there is line data in the middle of processing,
Interrupts all conversion processing for the next raster
Since all conversion processes are performed, data is stored in the semiconductor storage device.
Converted dots as well as the time required for delivery
The time required to determine whether or not
Required for converting line segment data to raster image data
Can be significantly reduced.
【図1】本発明の一実施例における印刷制御装置と外部
との接続の模式図である。FIG. 1 is a schematic diagram of a connection between a print control device and the outside according to an embodiment of the present invention.
【図2】前記実施例の印刷制御装置のブロック図であ
る。FIG. 2 is a block diagram of a print control device of the embodiment.
【図3】前記実施例におけるインターフェイス制御回路
のブロック図である。FIG. 3 is a block diagram of an interface control circuit in the embodiment.
【図4】前記実施例におけるインクジェットプリンタの
内部ブロック図である。FIG. 4 is an internal block diagram of the ink jet printer in the embodiment.
【図5】前記実施例におけるコマンド群を解釈し、印字
データに展開する手順の機能ブロック図である。FIG. 5 is a functional block diagram of a procedure for interpreting a command group and developing it into print data in the embodiment.
【図6】(A)、(B)は、前記実施例における線分デ
ータ保存部に保存されるデータ構造を示す図である。FIGS. 6A and 6B are diagrams showing a data structure stored in a line segment data storage unit in the embodiment.
【図7】(A)、(B)は、前記実施例における目的と
する図形の順序関係を示す例を示す図である。FIGS. 7A and 7B are diagrams showing examples showing the order relation of target graphics in the embodiment.
【図8】前記実施例における線分データの格納方法の概
略を示すフローチャートである。FIG. 8 is a flowchart showing an outline of a method of storing line segment data in the embodiment.
【図9】前記実施例における1つのラスターを印刷デー
タに構成するためのフローチャートである。FIG. 9 is a flowchart for configuring one raster into print data in the embodiment.
【図10】前記実施例における印刷データを構成するた
めのバッファを示す図である。FIG. 10 is a diagram showing a buffer for configuring print data in the embodiment.
100…コンピュータ 200…インクジェットプリンタ 300…印刷制御装置 401…コマンド解釈部(線分データ変換手段) 402…コマンド実行部(線分データ変換手段) 403…コマンド辞書部(線分データ変換手段) 404…作業領域(線分データ変換手段) 405…線分データ保存部 406…印刷データ展開部(ラスターイメージデータ変
換手段)DESCRIPTION OF SYMBOLS 100 ... Computer 200 ... Inkjet printer 300 ... Printing control device 401 ... Command interpretation part (line segment data conversion means) 402 ... Command execution part (line segment data conversion means) 403 ... Command dictionary part (line segment data conversion means) 404 ... Work area (line segment data conversion unit) 405: line segment data storage unit 406: print data development unit (raster image data conversion unit)
───────────────────────────────────────────────────── フロントページの続き (72)発明者 深谷 浩祐 愛知県名古屋市瑞穂区苗代町15番1号 ブラザー工業株式会社内 (72)発明者 河合 淳 愛知県名古屋市瑞穂区苗代町15番1号 ブラザー工業株式会社内 (56)参考文献 特開 平3−252719(JP,A) 特開 平3−104666(JP,A) 特開 昭63−286927(JP,A) (58)調査した分野(Int.Cl.6,DB名) B41J 5/30 B41J 2/485 B41J 21/00 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Kosuke Fukaya 15-1 Naeshiro-cho, Mizuho-ku, Nagoya-shi, Aichi Prefecture Inside Brother Industries, Ltd. (72) Inventor Jun Kawai 15-1 Naeshiro-cho, Mizuho-ku, Nagoya-shi, Aichi Prefecture No. Brother Industries, Ltd. (56) References JP-A-3-252719 (JP, A) JP-A-3-104666 (JP, A) JP-A-63-286927 (JP, A) (58) Fields investigated (Int.Cl. 6 , DB name) B41J 5/30 B41J 2/485 B41J 21/00
Claims (1)
に、1ライン分の印刷幅内に含まれるドットで構成され
る領域を1ラスターとし、コンピュータ等で作成された
図形情報データを、前記1ラスター毎の個々のドットに
対応する印刷用のラスターイメージデータに変換する印
刷制御装置において、 コンピュータ等から受信した図形情報データをラスター
方向における位置と長さを有する線分データに変換する
線分データ変換手段と、 この線分データ変換手段により変換された線分データを
ラスターイメージデータに変換するラスターイメージデ
ータ変換手段とを備え、 前記ラスターイメージデータ変換手段は、前記コンピュータ等からの前記図形情報データの受信順
序によって決定される印刷後における図形の視覚上の上
書き順序の先後とは逆に、当該上書き順序が後になる図
形に対応した前記図形情報データに基づく前記線分デー
タから先に変換処理を行う手段であり、 1ラスターについて変換処理を行ったドット数を計数す
る計数手段と、 1ラスターを構成する各ドットに対して変換処理を行っ
たか否かの情報を記録する記録手段と、 前記記録手段により記録された情報に基づいて変換処理
が未処理と判断されるドットに対してのみ、当該ラスタ
ーに対する前記線分データについての変換処理を行う変
換処理手段と、 前記計数手段により計数されたドット数が1ラスターを
構成するドット総数に達するまでは、前記変換処理手段
による当該ラスターについての変換処理を行わせ、前記
計数されたドット数が1ラスターを構成するドット総数
に達した後は、前記変換処理手段による当該ラスターに
ついての変換処理を行わせることなく、次段のラスター
について前記変換処理手段による変換処理を行わせる変
換処理制御手段とを備えた、 ことを特徴とする印刷制御装置。When a predetermined unit of a memory is one dot,
Is composed of dots included in the print width for one line.
Area is defined as one raster, and graphic information data created by a computer or the like is converted into individual dots for each raster.
A print control device for converting the image data into a corresponding raster image data for printing; a line segment data converting means for converting graphic information data received from a computer or the like into line segment data having a position and a length in a raster direction; Raster image data converting means for converting the line segment data converted by the data converting means into raster image data, wherein the raster image data converting means receives the graphic information data from the computer or the like.
Visual appearance of the figure after printing determined by the introductory
The figure in which the overwriting order is later than the writing order
The line segment data based on the graphic information data corresponding to the shape
This is a means for performing conversion processing first, and counts the number of dots that have been converted for one raster.
Counting means, and perform conversion processing for each dot constituting one raster
Recording means for recording information as to whether or not the recording has been performed; and converting processing based on the information recorded by the recording means.
Only for the dots for which
To perform conversion processing on the line segment data for
Conversion processing means, and the number of dots counted by the counting means is one raster.
Until the total number of constituent dots is reached, the conversion processing means
The conversion process for the raster by
The total number of dots that make up one raster when the number of counted dots is one
After reaching, the raster by the conversion processing means
The next raster without the conversion process
For performing the conversion processing by the conversion processing means.
A print control device, comprising: a conversion control unit.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP951292A JP2884876B2 (en) | 1992-01-22 | 1992-01-22 | Printing control device |
| US08/007,968 US5315691A (en) | 1992-01-22 | 1993-01-22 | Print control apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP951292A JP2884876B2 (en) | 1992-01-22 | 1992-01-22 | Printing control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH05193196A JPH05193196A (en) | 1993-08-03 |
| JP2884876B2 true JP2884876B2 (en) | 1999-04-19 |
Family
ID=11722306
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP951292A Expired - Lifetime JP2884876B2 (en) | 1992-01-22 | 1992-01-22 | Printing control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2884876B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3601150B2 (en) * | 1995-12-20 | 2004-12-15 | ソニー株式会社 | Printer device and driving method thereof |
-
1992
- 1992-01-22 JP JP951292A patent/JP2884876B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH05193196A (en) | 1993-08-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5937152A (en) | Printer with buffer memory | |
| US5355441A (en) | Printing control apparatus | |
| JPH1031566A (en) | Method for printing document image | |
| US5043918A (en) | Multiple bus image controller structure for color page printers | |
| US5347617A (en) | Printer having a multiple scan line printhead controller | |
| JP3533895B2 (en) | Serial printer and image buffer access method in serial printer | |
| US5467437A (en) | Recording apparatus | |
| JP2884876B2 (en) | Printing control device | |
| JP2861586B2 (en) | Printing control device | |
| JP2913977B2 (en) | Printing control device | |
| JP2842010B2 (en) | Printing control device | |
| JPH1120209A (en) | Liquid ink printing system having plural processors for high speed color image forming and method for forming color image | |
| JP2842011B2 (en) | Image data generation device | |
| JPS5941052A (en) | Character pattern generator | |
| JP2842009B2 (en) | Image data generation device | |
| JPS58117036A (en) | Print control device | |
| JP3107685B2 (en) | Print data transmission method | |
| JP3063356B2 (en) | Digital image processing equipment | |
| JP2850717B2 (en) | Printing control device | |
| JP2845026B2 (en) | Printing control device | |
| JPS63188052A (en) | recording device | |
| JPH09290520A (en) | Serial printer | |
| JP2002137460A (en) | Printing system and storage control method | |
| JP2739481B2 (en) | Page printer | |
| JP2982608B2 (en) | Printer device |