JPH05221042A - Printing control device - Google Patents

Printing control device

Info

Publication number
JPH05221042A
JPH05221042A JP3086492A JP3086492A JPH05221042A JP H05221042 A JPH05221042 A JP H05221042A JP 3086492 A JP3086492 A JP 3086492A JP 3086492 A JP3086492 A JP 3086492A JP H05221042 A JPH05221042 A JP H05221042A
Authority
JP
Japan
Prior art keywords
data
line segment
segment data
command
group
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.)
Granted
Application number
JP3086492A
Other languages
Japanese (ja)
Other versions
JP2842010B2 (en
Inventor
Atsushi Kawai
淳 河合
Hiroyuki Sasaki
博幸 佐々木
Yuji Sumiya
裕司 角谷
Kousuke Fukaya
浩祐 深谷
Yoshiyuki Saka
嘉之 坂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP3086492A priority Critical patent/JP2842010B2/en
Priority to US08/007,968 priority patent/US5315691A/en
Publication of JPH05221042A publication Critical patent/JPH05221042A/en
Application granted granted Critical
Publication of JP2842010B2 publication Critical patent/JP2842010B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To obtain printed matter of high accuracy and high image quality by providing a data size converting means converting a segment data group to the integral multiple of the section size being the min. unit of the reading writing of an external memory device. CONSTITUTION:A data size conversion part 407 is stored in a hard disk and transmitted to a second dynamic memory at the time of the starting of an apparatus and a command interpretation part 401, a command execution part 402, a command dictionary part 403, a printing data developing part 406 and the data size conversion part 407 are successively executed by a second CPU. The command interpretation part 401 resolves an arriving command group into individual commands and the command dictionary part 403 inspects whether the arriving command group is a just one and resolves the arriving command group in a work area 404 under the control of the command execution part 402 to form segment data. The data size conversion part 407 converts the data size of the segment data group to the integral multiple of the sector size of the reading.writing of the hard disk.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、印刷制御装置に係り、
特にコンピュータ等で作成されたデータを印刷する印刷
制御装置において、前記データをラスターイメージデー
タに展開する印刷制御装置の改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control device,
In particular, the present invention relates to an improvement in a print control device for printing data created by a computer or the like, which expands the data into raster image data.

【0002】[0002]

【従来の技術】従来、この種のプリンタ装置(印刷装
置)では、印刷制御装置内の半導体記憶装置上に、印刷
すべき2次元ラスターイメージデータの1ページ分の容
量を割り当て、コンピュータから送出された文字コード
等のデータに基づいて、その記憶領域にラスターイメー
ジデータを展開していた。ここに、ラスターイメージデ
ータとは、1ライン分の印刷幅内に含まれる個々の画素
に対応すべく作成されたイメージデータをいう。そし
て、前記展開の終了後、プリンタ装置の印刷機構をスタ
ートさせ、展開されたラスターイメージデータを前記印
刷機構に出力することにより1ページ分の印刷を行って
いた。
2. Description of the Related Art Conventionally, in a printer device (printing device) of this type, a capacity of one page of two-dimensional raster image data to be printed is assigned to a semiconductor memory device in a print control device and sent out from a computer. Based on the data such as the character code, raster image data is expanded in the storage area. Here, the raster image data refers to image data created to correspond to individual pixels included in the print width for one line. After the completion of the expansion, the printing mechanism of the printer device is started, and the expanded raster image data is output to the printing mechanism to print one page.

【0003】しかし、近年、プリンタ装置の高解像度化
・高画質化に伴い1ページ分のラスターイメージデータ
量が極端に増大したため、半導体記憶装置コストの増大
に起因する装置価格の上昇を招くばかりでなく、消費電
力や半導体の電気的な駆動能力、CPUの扱えるデータ
量の上限等の制約により、プリンタ装置を現実に製作す
ることが不可能にさえなってしまっていた。更に、大型
の印刷出力をプリントしたい場合には、半導体記憶装置
が大容量化するようになっていた。
However, in recent years, the amount of raster image data for one page has increased remarkably as the resolution and image quality of printers have become higher, so that the cost of the semiconductor storage device is increased and the cost of the device is increased. However, due to restrictions such as power consumption, electrical driving capability of semiconductors, and upper limit of data amount that can be handled by CPU, it has become impossible to actually manufacture a printer device. Furthermore, when it is desired to print a large print output, the capacity of the semiconductor memory device has been increased.

【0004】また、かかる膨大な半導体記憶装置(メモ
リ)にラスターイメージデータを展開するに際し、非常
に長時間を要していた。例えば、A4サイズの印刷出力
をプリントする場合、従来の白黒レーザプリンタのよう
に1ピクセル当り1ビットのデータを必要とし、その解
像度が12ピクセル/mm程度であれば、必要な半導体
記憶装置は1メガバイト程度であった。しかし、出力サ
イズA0、解像度12ピクセル/mm、1ピクセル当り
1670万色(24ビット/ピクセル)では、少なくと
も500メガバイトものメモリを必要とし、装置のコス
トおよび展開時間が飛躍的に増大し、実用に供し得る装
置を製作することができなかった。
Further, it takes a very long time to develop raster image data in such a huge semiconductor memory device (memory). For example, when printing an A4 size printout, 1 bit of data is required for each pixel like a conventional monochrome laser printer, and if the resolution is about 12 pixels / mm, the required semiconductor memory device is 1 It was about megabytes. However, with an output size of A0, a resolution of 12 pixels / mm, and 16.7 million colors per pixel (24 bits / pixel), at least 500 megabytes of memory are required, which dramatically increases the cost and development time of the device, making it practical. It was not possible to make a device that could be used.

【0005】そこで、本願出願人はかかる課題を解決す
るために、半導体記憶装置の量を減少させ、大型・高解
像度・高画質の印刷を高速に行うことが可能な印刷制御
装置を提案した(特願平4−9511号)。
Therefore, in order to solve such a problem, the applicant of the present application has proposed a print control device which can reduce the amount of semiconductor memory devices and can perform large size, high resolution and high image quality printing at high speed ( Japanese Patent Application No. 4-9511).

【0006】この特願平(特願平4−9511号)の印
刷制御装置においては、先ずコンピュータ等から送信さ
れた図形情報データを、ラスター方向に対する位置・長
さ・濃度等を有する線分データに変換し、各ラスター毎
に線分データの集合である線分データ群を記憶装置(半
導体記憶装置)上に構成し、前記記憶装置の記憶容量を
越えた場合、その越えた線分データ群を二次記憶装置で
ある外部記憶装置(固定磁気ディスク装置)に逐次保存
していく。
In the printing control apparatus of this Japanese Patent Application No. 4-9511, first, the graphic information data transmitted from the computer is converted into line segment data having the position, length, density, etc. in the raster direction. And a line segment data group, which is a set of line segment data for each raster, is formed on a storage device (semiconductor storage device) and the storage capacity of the storage device is exceeded, the line segment data group that exceeds Are sequentially stored in an external storage device (fixed magnetic disk device) which is a secondary storage device.

【0007】そして、前記送信された図形情報データの
線分データ群への展開が全て終了した後、印刷の進行に
伴い、順次ラスターイメージデータに展開するのに必要
な線分データ群を前記外部記憶装置から読み込み、ラス
ターイメージデータに展開する。この展開されたラスタ
ーイメージデータを、前述の如く印刷機構に出力して1
ラスター分の印刷を行い、線分データ群の読み込みから
印刷機構への出力を繰り返すことにより1ページ分の印
刷を行っていた。
After the transmission of the transmitted graphic information data to the line segment data group is completed, the line segment data group necessary for developing the raster image data sequentially is printed as the printing progresses. Read it from the storage device and develop it into raster image data. The raster image data thus expanded is output to the printing mechanism as described above, and 1
Raster printing is performed, and one page is printed by repeating the reading of the line segment data group and the output to the printing mechanism.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、前記特
願平4−9511号の印刷制御装置は、ラスターイメー
ジデータの展開に必要な線分データ群のサイズと、外部
記憶装置(固定磁気ディスク装置)の読み込み・書き込
みの最小単位であるセクタサイズとが無関係であるた
め、線分データ群の境界とセクタの境界とが一致せず、
特定のラスターに対応する線分データ群の読み込み・書
き込みに際し、その線分データ群の前後に他のラスター
の線分データ、即ち、不必要なデータが付属し、不必要
なデータも同時に処理しなけらばならないため、処理時
間がかかり線分データ群の転送レートが下がり、印刷処
理に時間がかかっていた。
However, in the print control apparatus of Japanese Patent Application No. 4-9511, the size of the line segment data group required for raster image data expansion and the external storage device (fixed magnetic disk device) are used. Since it has nothing to do with the sector size, which is the minimum unit for reading and writing, the line segment data group boundary and the sector boundary do not match,
When reading / writing a line segment data group corresponding to a specific raster, line segment data of other rasters, that is, unnecessary data is attached before and after the line segment data group, and unnecessary data is processed at the same time. Since this has to be done, it takes a long processing time to reduce the transfer rate of the line segment data group, and thus the printing process takes a long time.

【0009】そこで、本発明は、前記課題を解決するた
めになされたものであり、半導体記憶装置の量を減少さ
せ、大型・高解像度・高画質の印刷をより高速に行うこ
とが可能な印刷制御装置を提供することを目的とする。
Therefore, the present invention has been made in order to solve the above-mentioned problems, and it is possible to reduce the amount of semiconductor memory devices and perform printing of large size, high resolution, and high image quality at higher speed. An object is to provide a control device.

【0010】[0010]

【課題を解決するための手段】前記目的を達成するため
に本発明の印刷制御装置は、コンピュータ等で作成され
た図形情報データを、ラスター方向に対する位置と長さ
を有する線分データに変換し、この線分データを同一ラ
スターの線分データから構成される線分データ群にまと
めて外部記憶装置に格納し、前記線分データ群を前記外
部記憶装置から読出し、その線分データをラスターイメ
ージデータに変換し、印刷装置に出力する印刷制御装置
であって、前記印刷制御装置は、前記線分データ群を、
前記外部記憶装置の読出し・書込みの最小単位であるセ
クタサイズの整数倍に変換するデータサイズ変換手段を
備え、前記外部記憶装置への読出し・書込み処理を、前
記セクタサイズを単位として行うようにした。
In order to achieve the above object, a print control apparatus of the present invention converts graphic information data created by a computer or the like into line segment data having a position and a length in the raster direction. , This line segment data is collectively stored in an external storage device in a line segment data group composed of line segment data of the same raster, the line segment data group is read from the external storage device, and the line segment data is raster imaged. A print control device for converting into line data and outputting to a printing device, wherein the print control device includes:
The external storage device is provided with data size conversion means for converting it into an integral multiple of the sector size, which is the minimum unit for reading / writing, and the read / write processing to the external storage device is performed in units of the sector size. ..

【0011】[0011]

【作用】印刷制御装置は、コンピュータ等から送られた
図形情報データを受信して順次線分データに変換し、各
ラスター毎に線分データ群を記憶装置に記憶する。記憶
された線分データ群が前記記憶装置の容量を越えた場
合、データサイズ変換手段は、線分データ群のデータサ
イズを、外部記憶装置の読み込み・書き込みの最小単位
であるセクタサイズの整数倍に変換し、その線分データ
群をセクタサイズを単位として外部記憶装置に逐次保存
する。ここに、線分データ群のデータサイズは、セクタ
サイズの整数倍にされていて、セクタサイズを単位とし
て保存されるので、外部記憶装置への保存処理時間が短
くて済む。
The print control device receives the graphic information data sent from the computer or the like and sequentially converts it into line segment data, and stores the line segment data group for each raster in the storage device. When the stored line segment data group exceeds the capacity of the storage device, the data size conversion means sets the data size of the line segment data group to an integral multiple of the sector size, which is the minimum unit of reading / writing of the external storage device. And the line segment data group is sequentially stored in the external storage device in units of sector size. Here, since the data size of the line segment data group is an integral multiple of the sector size and is stored in units of the sector size, the storage processing time in the external storage device can be shortened.

【0012】全ての図形情報データの展開が終了する
と、前記外部記憶装置に格納された線分データ群を前記
セクタサイズを単位として順次読出し、それを数ラスタ
ー分の幅のラスターイメージデータに変換して印刷機構
に送出する。ここに、外部記憶装置からの線分データ群
の読出しが、セクタサイズの整数倍で行われるので、外
部記憶装置からの読出し処理時間が短くて済む。前記変
換されたラスターイメージデータに基づき印刷機構は印
刷を実行する。
When the expansion of all the graphic information data is completed, the line segment data group stored in the external storage device is sequentially read in units of the sector size, and converted into raster image data having a width of several rasters. To the printing mechanism. Here, since the line segment data group is read from the external storage device with an integral multiple of the sector size, the read processing time from the external storage device can be shortened. The printing mechanism executes printing based on the converted raster image data.

【0013】[0013]

【実施例】以下、本発明の印刷制御装置の実施例を図面
を参照して説明する。先ず、図1に前記印刷制御装置の
実施例の外部接続の模式図を示す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a print control apparatus of the present invention will be described below with reference to the drawings. First, FIG. 1 shows a schematic diagram of an external connection of an embodiment of the print control apparatus.

【0014】図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, the external connector 101 of the computer 100 and the first interface connector 3 of the print control device 300 enable the exchange of print commands between the computer 100 and the print control device 300.
01 is connected by the first cable 401. In addition, the print control device 300 to the inkjet printer 2
The second interface connector 302 of the print control device 300 and the interface connector 201 of the inkjet printer 200 are connected by the second cable 402 so that raster image data corresponding to one line can be sent to 00.

【0015】次に、図2を参照して前記印刷制御装置3
00の構成を、より詳細に説明する。図2に示すよう
に、コンピュータ100からデータが入力される第1イ
ンターフェイスコネクタ301には、そのデータを受け
取る第1インターフェイス回路303が接続されてい
る。同様に、第2インターフェイスコネクタ302に
は、データを送信可能なように第2インターフェイス回
路350が接続されている。両インターフェイス回路の
他端には、第1CPU305との間でデータの授受が可
能なように第1バス313が接続されている。また、前
記第1バス313には、データを蓄積するための第1ダ
イナミックメモリ306、ハードディスクドライブ30
9とのインターフェイスを行なう為の第3インターフェ
イス回路307、後述する第2CPU310との間の通
信を行なう為の、2つのポートを持ち両ポートから同一
メモリセルにアクセスが可能なデュアルポートメモリ3
08の第1のポート、それらデバイス間でダイレクトメ
モリ転送を行なうためのDMAC314が接続されてい
る。
Next, referring to FIG. 2, the print control device 3
The configuration of 00 will be described in more detail. As shown in FIG. 2, the first interface connector 301 to which data is input from the computer 100 is connected to a 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 has a first dynamic memory 306 for storing data and a hard disk drive 30.
9, a third interface circuit 307 for interfacing with the second CPU 310, and a dual port memory 3 having two ports for communicating with a second CPU 310 described later and capable of accessing the same memory cell from both ports.
A first port 08 and a DMAC 314 for direct memory transfer between these devices are connected.

【0016】一方、第2CPU310の第2バス312
には、前記デュアルポートメモリ308の第2のポー
ト、データ蓄積の為の第2ダイナミックメモリ311が
接続されている。前記ハードディスク309には後述の
図5に示すコマンド実行部402、本発明の要旨に係る
データサイズ変換部407等のプログラムが格納され、
本装置の起動時に第2ダイナミックメモリ311に転送
される。なお、図2にはおいては、アドレスバスやチッ
プセレクト信号等の各種コントロール信号の図示を省略
している。
On the other hand, the second bus 312 of the second CPU 310.
A second port of the dual port memory 308 and a second dynamic memory 311 for storing data are connected to the. The hard disk 309 stores programs such as a command execution unit 402 shown in FIG. 5 described later and a data size conversion unit 407 according to the gist of the present invention.
The data is transferred to the second dynamic memory 311 when the device is activated. In FIG. 2, various control signals such as an address bus and a chip select signal are not shown.

【0017】図3を参照しつつ前記第2インターフェイ
ス回路350の構成を詳細に説明する。図3に示すよう
に、第1CPU305等からのデータ書き込みが可能な
ようにファーストインファーストアウトメモリ装置(以
下、FIFOと記す)351のデータ入力端が第1バス
313に接続されている。FIFO351のデータ出力
端には、前記第2インターフェイスコネクタ302へデ
ータを出力するためのドライバ352が接続されてい
る。第2インターフェイスコネクタ302からのレディ
ー信号を受け取り、コントロール回路354に入力させ
るために、レシーバ353が配設されている。前記FI
FO351のリード信号359と、第2インターフェイ
スコネクタ302へドライバ352を介して出力される
データクロック信号356とを生成するために、コント
ロール回路354が配設され、このコントロール回路3
54のタイミングを制御するためのクロック信号360
を生成するためのクロック生成回路355が配設されて
いる。FIFO351のエンプティフラグ357は、コ
ントロール回路354に入力されている。
The configuration of the second interface circuit 350 will be described in detail with reference to FIG. As shown in FIG. 3, a data input terminal of a first-in first-out memory device (hereinafter, referred to as FIFO) 351 is connected to a first bus 313 so that data can be written from the first CPU 305 or the like. A driver 352 for outputting data to the second interface connector 302 is connected to the data output terminal of the FIFO 351. A receiver 353 is provided to receive the ready signal from the second interface connector 302 and input it to the control circuit 354. The FI
A control circuit 354 is provided to generate a read signal 359 of the FO 351 and a data clock signal 356 output to the second interface connector 302 via the driver 352.
Clock signal 360 for controlling the timing of 54
A clock generation circuit 355 for generating the clock signal is provided. The empty flag 357 of the FIFO 351 is input to the control circuit 354.

【0018】次に、前記インクジェットプリンタ200
の構成を図4を参照して詳細に説明する。図4に示すよ
うに、インターフェイスコネクタ201には、入力され
たデータ及びデータクロック信号221を、FIFO2
05のデータ入力端及びインターフェイスコントロール
回路204に入力するためのレシーバ202が接続され
ている。前記インターフェイスコネクタ201には、イ
ンターフェイスコントロール回路204で生成されたレ
ディー信号220を出力するためのドライバ203が接
続されている。FIFO205のオーバーフローを防止
するために、このFIFO205のフルフラグ信号22
3がインターフェイスコントロール回路204に接続さ
れている。データをFIFO205に書き込むために、
インターフェイスコントロール回路204からライト信
号222が接続されている。
Next, the ink jet printer 200
The configuration will be described in detail with reference to FIG. As shown in FIG. 4, the interface connector 201 receives the input data and data clock signal 221 from the FIFO2.
A data input terminal 05 and a receiver 202 for inputting to the interface control circuit 204 are connected. A driver 203 for outputting a ready signal 220 generated by the interface control circuit 204 is connected to the interface connector 201. In order to prevent the overflow of the FIFO 205, the full flag signal 22 of this FIFO 205
3 is connected to the interface control circuit 204. To write data to the 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に接続されている。
At the data output end of the FIFO 205, CP
A bus 230 is connected so that the U206 can read the data, and the dynamic memory 20 for storing the data is also provided so that the bus 230 can exchange the data with each other.
7. First data memory 2 for storing print data described later
09, second data memory 210, 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 controls the read of the print data 224. 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, in the first head control circuit 213, a head control signal 229 is connected to the ink jet head 251, and an ink pump (not shown) is connected to the ink jet head 251 so that the ejection amount of ink from the nozzle 256 can be controlled. So that the ink is supplied from the pipe 2
60 is connected. Second to fourth data memory 21
Also in the case of 0, 211, and 212, the first data memory 2
They are connected in the same way as from 09. Each of the pipes 260 to 26 is provided in each of the inkjet heads 251 to 254.
For example, four color inks of black, yellow, magenta, and cyan are supplied via 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
A drum 269 on which a paper 264 is wound so as to face 254.
Is rotatably arranged 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 one bed (not shown) and are configured so as to be movable integrally in the axial direction of the drum 269.

【0022】次に、以上の構成の印刷制御装置300の
一連の印刷動作を図1乃至図10を参照して説明する。
第1CPU305(図2参照)は、コンピュータ100
から印刷すべきコマンド群を受け取ると、先ずそのコマ
ンド群をハードディスクドライブ309に格納する。コ
ンピュータ100(図1参照)からのコマンド群が全て
入力されると、第1CPU305はデュアルポートメモ
リ308に、このコマンド群を解釈するように第2CP
U310に指示する指令を書き込む。コマンド群がデュ
アルポートメモリ308に書き込まれると、第2CPU
310は、前記メモリ308からコマンド群を読出して
その解釈を行い、その結果を第2ダイナミックメモリ3
11に格納していく。
Next, a series of printing operations of the print control apparatus 300 having the above-mentioned configuration will be described with reference to FIGS.
The first CPU 305 (see FIG. 2) is the computer 100.
When the command group to be printed is received from, the command group is first stored in the hard disk drive 309. When all the command groups from the computer 100 (see FIG. 1) are input, the first CPU 305 causes the dual port memory 308 to interpret the command groups in the second CP.
Write a command to U310. When the command group is written in the dual port memory 308, the second CPU
310 reads a command group from the memory 308, interprets the command group, and outputs the result to the second dynamic memory 3
It stores in 11.

【0023】前記解釈の手順を図5〜図9を参照して詳
細に説明する。図5にコマンド群の解釈および印字デー
タの展開の機能ブロック図を示す。図5に示すように、
「線分データ変換手段」を構成するコマンド解釈部40
1、コマンド実行部402、コマンド辞書部403、お
よび「ラスターイメージ変換手段」を構成する印字デー
タ展開部406、本発明の要旨にかかるデータサイズ変
換部407は、ハードディスク309に格納され、本装
置の起動時に第2ダイナミックメモリ311(図2参
照)上に転送され、前記コマンド解釈部401、コマン
ド実行部402、コマンド辞書部403、印字データ展
開部406、データサイズ変換部407は、第2CPU
310により逐次実行される。ここに、コマンド解釈部
401は、到来するコマンド群を1つずつに分解し、コ
マンド辞書403は到来したコマンド群が正当なコマン
ドであるか否かを検査し、作業領域404において、コ
マンド実行部402の制御の下に到来したコマンド群を
分解し、線分データを作成する。また、線分データ保存
部405は、第2ダイナミックメモリ311およびハー
ドディスクドライブ309で構成され、第2ダイナミッ
クメモリ311には、後述の(図6参照)線分データバ
ッファ505が確保され、ハードディスクドライブ30
9には線分データ補助バッファ507が確保される。デ
ータサイズ変換部407は、線分データ群のデータサイ
ズをハードディスク309の読出し・書込みのセクタサ
イズの整数倍に変換する。
The interpretation procedure will be described in detail with reference to FIGS. FIG. 5 shows a functional block diagram of command group interpretation and print data expansion. As shown in FIG.
Command interpreting unit 40 forming "line segment data converting means"
1, a command execution unit 402, a command dictionary unit 403, a print data expansion unit 406 that constitutes a “raster image conversion unit”, and a data size conversion unit 407 according to the gist of the present invention are stored in a hard disk 309 and stored in the hard disk 309. At the time of startup, the command is transferred to the second dynamic memory 311 (see FIG. 2), and the command interpreting unit 401, the command executing unit 402, the command dictionary unit 403, the print data expanding unit 406, and the data size converting unit 407 are the second CPU.
Sequentially executed by 310. Here, the command interpreting unit 401 decomposes the incoming command group into each one, the command dictionary 403 checks whether the incoming command group is a valid command, and in the work area 404, the command executing unit The command group arrived under the control of 402 is decomposed to create line segment data. The line segment data storage unit 405 includes a second dynamic memory 311 and a hard disk drive 309. A line segment data buffer 505 (see FIG. 6) described later is secured in the second dynamic memory 311 and the hard disk drive 30
A line segment data auxiliary buffer 507 is secured at 9. The data size conversion unit 407 converts the data size of the line segment data group into an integral multiple of the read / write sector size of the hard disk 309.

【0024】前記解釈の対象となるコマンド群には、直
線・円等の図形およびその座標値で表される「ベクトル
データ」と、写真をイメージスキャナ装置等でスキャン
しデジタル化した「ビットイメージデータ」が含まれて
いる。デュアルポートメモリ308に書き込まれたコマ
ンド群は、コマンド解釈部401により1つずつのコマ
ンドに分解され、コマンド辞書403により正当なコマ
ンドであるか否かが検査される。コマンド実行部402
が第2ダイナミックメモリ311上にある作業領域40
4を一時的なバッファとして用いながら、「ベクトルデ
ータ」を線分データに変換し、「ビットイメージデー
タ」はコマンド群から分離してハードディスクドライブ
309に書き込む。変換された線分データおよびビット
イメージデータの位置情報が線分データ保存部405に
保存される。
The commands to be interpreted include "vector data" represented by figures such as lines and circles and their coordinate values, and "bit image data" obtained by scanning a photograph with an image scanner device 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 interpreting unit 401, and the command dictionary 403 examines whether or not the commands are valid. Command execution unit 402
Is a work area 40 in 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 in 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.

【0025】図6(A)に線分データ保存部405(図
5参照)に保存される線分データのデータ構造を示す。
図6(A)は、第2ダイナミックメモリ311上の格納
状態を示し、第2ダイナミックメモリ311上のデータ
がオーバーフローすると、図6(B)に示すように、ハ
ードディスクドライブ309の線分データ補助バッファ
507上に格納される。
FIG. 6A shows the data structure of the line segment data stored in the line segment data storage unit 405 (see FIG. 5).
FIG. 6A shows the storage state in the second dynamic memory 311, and when the data in the second dynamic memory 311 overflows, as shown in FIG. 6B, the line segment data auxiliary buffer of the hard disk drive 309. It is stored on 507.

【0026】図6(A)に示すように、1つの線分デー
タDは、「ベクトルデータ」か「ビットイメージデー
タ」かを判別するイメージフラグビット501と、デー
タの存在開始の始点位置502と、データの存在終了の
終点位置503と、赤・緑等の色を定める色値504の
4個のフィールドを有する線分データとして表現され
る。この線分データDは、ラスター毎に区切られた線分
データバッファ505に解釈順に順序付けられて格納さ
れる。また、バッファ管理情報506は、線分データバ
ッファ505の使用効率および空きエリアの位置を保持
し、補助バッファ管理情報508は、線分データバッフ
ァ505から線分のデータ補助バッファ507の何処へ
つながっているかの接続情報を保持する。
As shown in FIG. 6A, one line segment data D includes an image flag bit 501 for discriminating between "vector data" and "bit image data", and a starting point position 502 for starting the existence of data. , Is represented as line segment data having four fields of an end point position 503 at the end of the existence of data and a color value 504 that defines a color such as red or green. The line segment data D is stored in the line segment data buffer 505 divided for each raster in the order of interpretation. Further, the buffer management information 506 holds the use efficiency of the line segment data buffer 505 and the position of the empty area, and the auxiliary buffer management information 508 is connected from the line segment data buffer 505 to anywhere in the line segment data auxiliary buffer 507. Holds connection information of whether or not.

【0027】図7(A)に出力目的とする図形の第2ダ
イナミックメモリ311上の順序関係の一例を示す。図
7(A)に示すように、コマンドの発生順に写真等のビ
ットイメージデータ601、ベクトルデータに対応した
長方形602および円形603となっている。ここに、
s はビットイメージデータ601のイメージ始点位置
を示し、Ieはイメージ終点位置を示し、Ic は個々の
ビットイメージデータの出現順を示すイメージIDであ
る。また、Cs は円形603の始点位置であり、Ce
終点位置であり、Cc は円形の色値である。更に、Rs
は長方形602の始点位置であり、Re は終点位置であ
り、Rc は長方形の色値である。
FIG. 7A shows an example of the order relation on the second dynamic memory 311 of the figure to be output. As shown in FIG. 7A, bit image data 601 such as a photograph, a rectangle 602 and a circle 603 corresponding to vector data are arranged in the order of command generation. here,
I s indicates the image start position of the bit image data 601, I e indicates the image end position, and I c is an image ID indicating the appearance order of each bit image data. C s is the starting point position of the circle 603, C e is the ending point position, and C c is the color value of the circle. Furthermore, R s
Is the start position of the rectangle 602, R e is the end position, and R c is the color value of the rectangle.

【0028】図7(B)に、或る任意のラスターiにお
ける前記各種図形の線分データ604を示す。図7
(B)に示すように、「ベクトルデータ」の場合、円形
603を例にとると、始点Cs から終点Ce まで同一色
値Cc が連続しているので、線分データによりデータを
保持すれば記憶容量を少なくできる。これに対して「ビ
ットイメージデータ601」では、同一色値を有するド
ットが連続する可能性が低い。従って、線分データに変
換するとデータ量が増大してしまう。かかる問題点を解
決するために本実施例ではイメージフラグビット501
(図6(A)参照)を設け、ビットイメージデータが配
置されている位置情報とイメージID(符号Ic )のみ
を線分データDに記録し、ビットイメージデータを分離
して保持する。即ち、線分データは半導体記憶装置(第
2ダイナミックメモリ311)に保持し、ビットイメー
ジデータを外部記憶装置(ハードディスクドライブ30
9)に分離して保持する。このように分離することによ
り「ベクトルデータ」と「ビットイメージデータ」を効
率よく保持することが可能になり、後述する印刷データ
の展開までビットイメージデータを特別扱いする必要が
なく、処理の簡略化に役立つ。
FIG. 7B shows the line segment data 604 of the various figures in a given raster i. Figure 7
As shown in (B), in the case of “vector data”, taking the circle 603 as an example, since the same color value C c is continuous from the start point C s to the end point C e , the data is held by the line segment data. If so, the storage capacity can be reduced. On the other hand, in “bit image data 601”, there is a low possibility that dots having the same color value will continue. Therefore, the amount of data increases when converted into line segment data. In order to solve such a problem, the image flag bit 501 is used in this embodiment.
(See FIG. 6A) is provided, and only the position information where the bit image data is arranged and the image ID (code I c ) are recorded in the line segment data D, and the bit image data is held separately. That is, the line segment data is held in the semiconductor storage device (second dynamic memory 311) and the bit image data is stored in the external storage device (hard disk drive 30).
9) Separate and hold. By separating in this way, "vector data" and "bit image data" can be held efficiently, there is no need to specially treat bit image data until the expansion of print data, which will be described later, and processing is simplified. To help.

【0029】線分データが、少ない場合は線分データ保
存部405の線分データバッファ505に格納される
が、線分データの数が増加し、線分データバッファ50
5をオーバーフローする場合は、線分データバッファ5
05に蓄えられた1ラスター分の線分データの集まりを
「線分データ群」として線分データ補助バッファ507
へ移す。このとき、データサイズ変換部407における
処理が第2CPU310により実行される。即ち、図8
(A)に示すように、先ず線分データ群DGのデータサ
イズを、ハードディスクドライブ309の読み書きの最
小単位であるセクタサイズに分割し、剰余の有無を調べ
る。もし、剰余が存在する場合は、図8(B)に示すよ
うに、剰余のデータ分だけダミーデータを付加した線分
データ群DG1 とし、見掛上整数個(図示の場合は3
個)のセクタサイズにより前記線分データ群が構成され
ているように変換する。
If the line segment data is small, it is stored in the line segment data buffer 505 of the line segment data storage unit 405. However, the number of line segment data increases and the line segment data buffer 50
If 5 overflows, line segment data buffer 5
The collection of the line segment data for one raster stored in 05 is defined as a “line segment data group” and the line segment data auxiliary buffer 507
Move to. At this time, the processing in the data size conversion unit 407 is executed by the second CPU 310. That is, FIG.
As shown in (A), first, the data size of the line segment data group DG is divided into the sector size which is the minimum unit of reading and writing of the hard disk drive 309, and the presence or absence of a surplus is checked. If there is a remainder, as shown in FIG. 8B, a line segment data group DG 1 with dummy data added by the remainder data is added, and an apparent integer number (3 in the case of FIG.
The segment size is converted so that the line segment data group is configured.

【0030】図9に線分データの格納方法の概略フロー
チャートを示す。印刷データを展開することにより線分
データが発生すると、先ず線分データバッファ505
(図6(A)参照)の使用効率および空きエリアの位置
を保持するバッファ管理情報506を参照し(ステップ
S701)、線分データバッファ505に線分データを
書き込み可能か否か判定する(ステップS702)。
FIG. 9 shows a schematic flowchart of a method of storing line segment data. When line segment data is generated by expanding the print data, first, the line segment data buffer 505
By referring to the buffer management information 506 that holds the usage efficiency and the position of the empty area (see FIG. 6A) (step S701), it is determined whether or not the line segment data can be written in the line segment data buffer 505 (step S701). S702).

【0031】バッファフルにより書き込みが不可能であ
れば、線分データ補助バッファ507(図6(B)参
照)の使用効率および線分データバッファ505との接
続情報を保持する補助バッファ管理情報508を参照し
て後述する線分データ群の転送先を決定する(ステップ
S703)。そして、線分データバッファ505に保持
されている1ラスター分の線分データを線分データ群と
して取り出し、前記図8に示すように、線分データ変換
部407を第2CPU310で駆動して線分データ群の
データサイズをハードディスクドライブ309のセクタ
サイズの整数倍に変換する(ステップS704)。そし
て、線分データ補助バッファ507に線分データ群を転
送して、線分データバッファ505のうち転送した線分
データ群が占めていた領域を解放する(ステップS70
5)。次いで、線分データバッファ505と線分データ
バッファ507の接続情報として、同一ラスターの線分
データ群が、線分データバッファ505から線分データ
補助バッファ507の何処へつながっているかを示すポ
インタを保持している補助バッファ管理情報部508を
更新する(ステップS706)。前記ステップS704
で線分データ群のデータサイズを変換することにより、
ハードディスクドライブ309へのセクタ単位のアクセ
スに無駄が無くなり、アクセス時間を短縮することが可
能となり、線分データの転送レートを最大にできる。
If the writing is impossible due to the buffer full, the auxiliary buffer management information 508 holding the usage efficiency of the line segment data auxiliary buffer 507 (see FIG. 6B) and the connection information with the line segment data buffer 505 is stored. The transfer destination of the line segment data group, which will be described later, is determined by reference (step S703). Then, the line segment data for one raster stored in the line segment data buffer 505 is extracted as a line segment data group, and the line segment data conversion unit 407 is driven by the second CPU 310 as shown in FIG. The data size of the data group is converted into an integral multiple of the sector size of the hard disk drive 309 (step S704). Then, the line segment data group is transferred to the line segment data auxiliary buffer 507, and the area occupied by the transferred line segment data group in the line segment data buffer 505 is released (step S70).
5). Next, as connection information of the line segment data buffer 505 and the line segment data buffer 507, a pointer indicating where the line segment data group of the same raster is connected from the line segment data buffer 505 to the line segment data auxiliary buffer 507 is held. The auxiliary buffer management information section 508 is updated (step S706). Step S704
By converting the data size of the line segment data group with
Access to the hard disk drive 309 in units of sectors is eliminated, access time can be shortened, and the line segment data transfer rate can be maximized.

【0032】その後、今回発生した線分データを線分デ
ータバッファに書き込み(ステップS707)、バッフ
ァ管理情報を更新する(ステップS708)。通常、記
憶容量1ビット当りのコストは、ハードディスクが半導
体メモリの1/100程度であり、半導体メモリとハー
ドディスクを併用すること、およびデータの転送単位を
最適化することにより、大幅な速度低下を伴わずに大容
量で低価格のバッファを実現できる。
Thereafter, the line segment data generated this time is written in the line segment data buffer (step S707), and the buffer management information is updated (step S708). Usually, the cost per bit of storage capacity is about 1/100 of that of a semiconductor memory for a hard disk, and by using a semiconductor memory and a hard disk together and optimizing the data transfer unit, a significant reduction in speed is involved. A large-capacity, low-priced buffer can be realized without using it.

【0033】以上の解釈がコマンド群全てに渡って終了
すると、第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 command groups, the second CPU 310 causes the dual port memory 3
A command is issued to 08 to notify that printing is started.
Upon receiving the command, the first CPU 305 causes the second interface control circuit 350 to send the inkjet printer 20.
Write the data that becomes the 0 start command. If the ready signal 358 is true, the second interface control circuit 350 reads the above data from the FIFO byte by byte and sends it to the second interface connector 302, and at the same time sends a data clock signal pulse by pulse. The interface control circuit 204 in the inkjet printer 200 fetches the data into the FIFO 205 in synchronization with the data clock signal. In the above operation, the FIFO 351 in the print control device 300 becomes empty or the FIFO 20 in the inkjet printer 200 becomes empty.
It will not be interrupted until 5 is full. Further, the interface control circuit 204 uses the FIFO 205
The CPU 206 is informed that the data is input to the. When the CPU 206 sequentially reads the data and recognizes that it is a start command, the mechanism control circuit (not shown) starts the motor 267 and rotates the drum 269.

【0034】続いて第2CPU310は、第1CPU3
05に指令を出し、最初の印刷データを読み込ませる。
印刷データは、線分データバッファ505および線分デ
ータ補助バッファ507に格納された「線分データ」
と、ハードディスクドライブ507に格納された「ビッ
トイメージデータ」とを再構成することにより作成す
る。再構成の手順は、先にコマンド群を解釈するために
第2ダイナミックメモリ311に転送されていて、第2
CPU310により実行される。
Subsequently, the second CPU 310 makes the first CPU 3
A command is issued to 05 to read the first print data.
The print data is “line segment data” stored in the line segment data buffer 505 and the line segment data auxiliary buffer 507.
And “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 to interpret the command group, and the second
It is executed by the CPU 310.

【0035】次に、図10および図11を参照して印刷
データの構成方法を説明する。図10は印刷データの構
成のフローチャートであり、図11は、印刷データを構
成するための第2ダイナミックメモリ311上のバッフ
ァであり、印刷データを格納するラインバッファ80
1、ドットフラグ列802、ドットカウンタ803より
なる。ここに、ドットフラグ列802は、ラスター内の
全てのドットに対応する数だけ存在し、対応するドット
に書き込みが行われるとオンにセットされる。ドットカ
ウンタ803は、ラスター内の書き込みが行われたドッ
トの数をカウントするカウンタである。
Next, a method of configuring print data will be described with reference to FIGS. 10 and 11. FIG. 10 is a flowchart of the configuration of print data, and FIG. 11 is a buffer on the second dynamic memory 311 for configuring print data, which is a line buffer 80 for storing print data.
1, a dot flag column 802, and a dot counter 803. Here, the dot flag column 802 exists in the number corresponding to all the dots in the raster, and is set to ON when writing is performed in the corresponding dots. The dot counter 803 is a counter that counts the number of written dots in the raster.

【0036】図11に示すフローチャートにより、1つ
のラスターを「印刷データ」に構成する方法を説明す
る。先ず、ラインバッファ801、ドットフラグ列80
2、ドットカウンタ803を初期化する(ステップS9
01)。次いで該当するラスターに「線分データ」があ
るか否かをチェックし(ステップS902)、線分デー
タが無ければ終了し、あればデータを1つ読出す(ステ
ップS903)。このステップS903において、線分
データ補助バッファ507に格納された線分データ群を
読出す場合、前述の如く線分データ群のサイズは格納時
にセクタサイズの整数倍に変換されているため、前記従
来技術に記載したような余計なデータを読出す必要がな
くなるため、ハードディスクドライブ309におけるア
クセス時間を短縮することが可能となり、更に線分デー
タ群の転送レートを最大にできる。前記線分データの読
出しは、最新のものから古いものに向かって行う。即
ち、「逆順」に読出す。読出した線分データの始点位置
をドット位置ポインタにセットする(ステップS90
4)。ここで、ドットカウンタと印字幅が等しいか否か
をチェックし(ステップS905)、等しければ終了す
る。
A method for forming one raster into "print data" will be described with reference to the flowchart shown in FIG. First, the line buffer 801, the dot flag row 80
2. Initialize the dot counter 803 (step S9
01). Then, it is checked whether or not there is "line segment data" in the corresponding raster (step S902). If there is no line segment data, the process ends, and if there is, one data is read (step S903). In this step S903, when the line segment data group stored in the line segment data auxiliary buffer 507 is read out, the size of the line segment data group is converted to an integral multiple of the sector size at the time of storage, as described above. Since it is not necessary to read extra data as described in the technology, the access time in the hard disk drive 309 can be shortened and the transfer rate of the line segment data group can be maximized. The line segment data is read from the latest one to the oldest one. That is, the reading is performed in "reverse order". The starting point position of the read line segment data is set in the dot position pointer (step S90).
4). Here, it is checked whether or not the dot counter and the print width are equal (step S905), and if they are equal, the process ends.

【0037】次いで、現在のドットポインタに対応する
ドットフラグをチェックし(ステップS906)、オン
であればステップS912に飛ぶ。線分データのイメー
ジフラグをチェックし(ステップS907)、オンであ
ればビットイメージデータの展開処理を行い(ステップ
S908)、ラインバッファの対応するドットにビット
イメージデータを書き込む(ステップS910)。ビッ
トイメージデータでない場合は、現在の線分データの色
値をラインバッファに書き込む(ステップS909)。
次いで、ドットカウンタを更新し、ドットフラグをオン
にセットし(ステップS911)、ドット位置ポインタ
を更新する(ステップS912)。ドット位置カウンタ
が、線分データの終点位置と等しければステップS90
2に戻り、等しくない場合はステップS905に戻る
(ステップS913)。
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), and if it is ON, the bit image data is expanded (step S908), and the bit image data is written in 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 in 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
If not equal to 2, the process returns to step S905 (step S913).

【0038】上述の如く「線分データ」の印刷データの
展開にはステップS902と、ステップS905と2つ
の終了条件があるが、ステップS902は該当するラス
ターに線分データが無くなった場合であり、通常の終了
条件である。
As described above, there are two ending conditions for developing the print data of "line segment data", that is, step S902 and step S905, but step S902 is a case where the line segment data is lost in the corresponding raster. This is a normal termination condition.

【0039】ステップS905は、ドットカウンタが印
字幅に等しくなった場合、即ち、ラインバッファの全て
のドットに書き込みが終了したが「線分データ」が残っ
ている状態である。この状態では残りの線分データが長
方形602のように新しい線分データの下に隠れてしま
い展開の必要が無くなっている。
In step S905, when the dot counter becomes equal to the print width, that is, the writing is completed for all the dots in the line buffer, but the "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 the need for expansion is eliminated.

【0040】なお、ステップS903においては、次に
示すようにして線分データ群を線分データ保存部405
から読出している。先ず、該当するラスターの線分デー
タ群を線分データバッファ505から読出す。そして、
前記ラスターに対応した補助バッファ管理情報508を
調べ、線分データバッファ505と線分データ補助バッ
ファ507との接続情報であるポインタが格納されてい
る場合には、線分データ補助バッファ507から、その
ポインタの示している線分データ群を読出す。補助バッ
ファ管理情報508にポインタが格納されていない場合
には、そのラスターの線分データ群は、線分データ補助
バッファ507には格納されていないので、そのまま読
出し処理を終了する。
In step S903, the line segment data group is stored in the line segment data storage unit 405 as follows.
Read from. First, the line segment data group of the corresponding raster is read from the line segment data buffer 505. And
The auxiliary buffer management information 508 corresponding to the raster is checked, and if the pointer which is the connection information between the line segment data buffer 505 and the line segment data auxiliary buffer 507 is stored, the line segment data auxiliary buffer 507 reads the The line segment data group indicated by the pointer is read. If the pointer is not stored in the auxiliary buffer management information 508, the line segment data group of the raster is not stored in the line segment data auxiliary buffer 507, so the read processing is terminated.

【0041】第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. The capacity of the dynamic memory required at this time is at least the data amount for one raster, and can be remarkably reduced as compared with the case where one page of expanded data is stored. DMAC314 is F
When the IFO 351 becomes full, the writing is suspended and the FIFO
When O351 becomes empty, writing is started again. While this direct memory transfer is suspended, the first CPU 305 transfers the next line segment data to the second CPU 310.
It is possible to transfer the data to the side from the hard disk drive 309, and it is also possible to store the expanded data in another area of the dynamic memory 207. Further, since the second CPU 310 can continue the expansion work regardless of whether the bus 230 is in use, 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 is sent to the CPU as in the case of the sending of the start command.
206 temporarily stores the data in the dynamic memory 207.

【0042】更に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 for one raster in the data memory 212, and when the storage is completed, issues a command to the data read control circuit 208 to print for one raster. When the data read control circuit 208 receives the command, the data read control circuit 208 synchronizes with the output signal of the encoder 266 and synchronizes with the data memory 21.
The contents of 2 are 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 an ink amount corresponding to the driving amount onto the paper 264. By this ejection, one cyan raster image is printed on the paper 264 on the drum 269. The CPU 206 then moves the head in the axial direction for one raster, and repeats the above operation for the next one raster image of cyan. Then, when the head 253 comes to the first cyan raster position, the same thing is repeated with respect to the magenta and cyan data. If the required data is not in the dynamic memory 207, it waits until the data is input.

【0043】以上の動作をイエロー、ブラックに関して
も繰り返し、更に印刷データの終わりまでは逆にシアン
から順次ラスターの印刷を止めていくことにより、紙2
64上にフルカラーの印刷を行なうことが出来る。この
時インクジェットプリンタ200内のダイナミックメモ
リ207に必要な容量は、各ヘッド間の間隔を印刷する
ために記憶しておくメモリ容量の和であり、1ページ分
のラスターイメージメモリに対して極端に少ないメモリ
量で同じ印刷物を得ることが可能である。
The above operation is repeated for yellow and black, and the printing of the raster is sequentially stopped from cyan until the end of the print data.
Full color printing can be performed on the 64. At this time, the capacity required for the dynamic memory 207 in the inkjet printer 200 is the sum of the memory capacities stored for printing the intervals between the heads, which is extremely smaller than the raster image memory for one page. It is possible to obtain the same printed matter with the memory amount.

【0044】なお、本発明は前記実施例に限定されるも
のではなく、様々な応用が可能である。例えば、プリン
ト装置は昇華型熱転写方式でも良いし、ハードディスク
ドライブのかわりに光磁気ディスク装置やテープドライ
ブ装置を用いても良い。
The present invention is not limited to the above embodiment, but various applications are possible. For example, the printing device may be a sublimation type thermal transfer system, or a magneto-optical disk device or a tape drive device may be used instead of the hard disk drive.

【0045】[0045]

【発明の効果】以上説明したことから明らかなように、
本発明によれば、1ページ分のラスターイメージデータ
をメモリ上に展開する代わりに、印刷コマンドを先ず
「位置と長さを有する線分データ」に変換し、それを順
次展開しながら印刷を行っていくので、必要とするメモ
リ量を著しく小さくでき、従って、高精細で高画質の印
刷物を得ることが可能な印刷制御装置を安価に構成でき
る。また、線分データ群の大きさが、外部記憶装置のセ
クタサイズの整数倍に変換されているので、外部記憶装
置との読み書きのアクセス時間を短縮でき、線分データ
群の転送レートを最大にできる。
As is clear from the above description,
According to the present invention, instead of rasterizing one page of raster image data on a memory, a print command is first converted into "line segment data having a position and a length", and printing is performed while sequentially expanding it. Therefore, the required memory amount can be remarkably reduced, and thus a print control device capable of obtaining a printed matter with high definition and high image quality can be configured at low cost. Further, since the size of the line segment data group is converted to an integral multiple of the sector size of the external storage device, the access time for reading and writing with the external storage device can be shortened, and the transfer rate of the line segment data group can be maximized. it can.

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

【図1】本発明の一実施例における印刷制御装置と外部
との接続の模式図である。
FIG. 1 is a schematic diagram of a connection between a print control apparatus and the outside according to an embodiment of the present invention.

【図2】前記実施例の印刷制御装置のブロック図であ
る。
FIG. 2 is a block diagram of a print control apparatus according to the exemplary 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 inkjet printer in the embodiment.

【図5】前記実施例におけるコマンド群を解釈し、デー
タサイズ変換を行い、印字データに展開する手順の機能
ブロック図である。
FIG. 5 is a functional block diagram of a procedure of interpreting a command group, performing data size conversion, and expanding the print data in the embodiment.

【図6】(A),(B)は、前記実施例における線分デ
ータ保存部に保存されるデータ構造を示す図である。
6A and 6B are diagrams showing a data structure stored in a line segment data storage unit in the embodiment.

【図7】(A),(B)は、前記実施例における目的と
する図形の順序関係を示す例を示す図である。
7 (A) and 7 (B) are diagrams showing an example showing the order relationship of target figures in the above-described embodiment.

【図8】(A),(B)は、線分データ群の余剰部分に
ダミーデータを付加して、セクタサイズの整数倍の線分
データ群を作成する説明図である。
8A and 8B are explanatory diagrams in which dummy data is added to a surplus portion of a line segment data group to create a line segment data group having an integral multiple of the sector size.

【図9】前記実施例における線分データの格納方法の概
略を示すフローチャートである。
FIG. 9 is a flowchart showing an outline of a method of storing line segment data in the embodiment.

【図10】前記実施例における1つのラスターを印刷デ
ータに構成するためのフローチャートである。
FIG. 10 is a flowchart for forming one raster into print data in the above embodiment.

【図11】前記実施例における印刷データを構成するた
めのバッファを示す図である。
FIG. 11 is a diagram showing a buffer for forming print data in the embodiment.

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

100…コンピュータ 200…インクジェットプリンタ 300…印刷制御装置 401…コマンド解釈部(線分データ変換手段) 402…コマンド実行部(線分データ変換手段) 403…コマンド辞書部(線分データ変換手段) 404…作業領域(線分データ変換手段) 405…線分データ保存部 406…印刷データ展開部(ラスターイメージデータ変
換手段) 407…データサイズ変換部 DG…線分データ群 DG1 …ダミーデータを付加した線分データ群
100 ... Computer 200 ... Inkjet printer 300 ... Print control device 401 ... Command interpretation unit (line segment data conversion unit) 402 ... Command execution unit (line segment data conversion unit) 403 ... Command dictionary unit (line segment data conversion unit) 404 ... line was added to the work area (the line segment data converting means) 405 ... line data storage section 406 ... print data rasterizing unit (raster image data converting means) 407 ... data size converting unit DG ... line segment data group DG 1 ... dummy data Minute data group

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G06K 15/00 (72)発明者 深谷 浩祐 愛知県名古屋市瑞穂区苗代町15番1号 ブ ラザー工業株式会社内 (72)発明者 坂 嘉之 愛知県名古屋市瑞穂区苗代町15番1号 ブ ラザー工業株式会社内─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification number Reference number within the agency FI Technical indication location G06K 15/00 (72) Inventor Kosuke Fukaya 15-1 Naeshiro-cho, Mizuho-ku, Nagoya-shi, Aichi Prefecture Inside the Laser Industry Co., Ltd. (72) Inventor Yoshiyuki Saka 15-1 Naeshiro-cho, Mizuho-ku, Aichi Prefecture Nagoya City

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 コンピュータ等で作成された図形情報デ
ータを、ラスター方向に対する位置と長さを有する線分
データに変換し、この線分データを同一ラスターの線分
データから構成される線分データ群にまとめて外部記憶
装置に格納し、前記線分データ群を前記外部記憶装置か
ら読出し、その線分データをラスターイメージデータに
変換し、印刷装置に出力する印刷制御装置であって、 前記印刷制御装置は、前記線分データ群を、前記外部記
憶装置の読出し・書込みの最小単位であるセクタサイズ
の整数倍に変換するデータサイズ変換手段を備え、 前記外部記憶装置への読出し・書込み処理を、前記セク
タサイズを単位として行うようにしたことを特徴とする
印刷制御装置。
1. A line segment data formed by a computer or the like is converted into line segment data having a position and a length in the raster direction, and the line segment data is composed of line segment data of the same raster. A print control device that collectively stores the line segment data in an external storage device, reads the line segment data from the external storage device, converts the line segment data into raster image data, and outputs the raster image data to a printing device. The control device includes a data size conversion unit that converts the line segment data group into an integer multiple of a sector size that is a minimum unit of reading and writing of the external storage device, and performs read / write processing to the external storage device. A printing control apparatus, wherein the sector size is used as a unit.
JP3086492A 1992-01-22 1992-02-18 Printing control device Expired - Fee Related JP2842010B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP3086492A JP2842010B2 (en) 1992-02-18 1992-02-18 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
JP3086492A JP2842010B2 (en) 1992-02-18 1992-02-18 Printing control device

Publications (2)

Publication Number Publication Date
JPH05221042A true JPH05221042A (en) 1993-08-31
JP2842010B2 JP2842010B2 (en) 1998-12-24

Family

ID=12315596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3086492A Expired - Fee Related JP2842010B2 (en) 1992-01-22 1992-02-18 Printing control device

Country Status (1)

Country Link
JP (1) JP2842010B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07148997A (en) * 1993-11-29 1995-06-13 Canon Inc Image formation device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07148997A (en) * 1993-11-29 1995-06-13 Canon Inc Image formation device

Also Published As

Publication number Publication date
JP2842010B2 (en) 1998-12-24

Similar Documents

Publication Publication Date Title
US5315691A (en) Print control apparatus
US5740335A (en) Method and device for transmitting and processing print data used for printer
US5355441A (en) Printing control apparatus
JP2842010B2 (en) Printing control device
JPH01136770A (en) Printer
JP2861586B2 (en) Printing control device
JP3107685B2 (en) Print data transmission method
JP2913977B2 (en) Printing control device
JPS5941052A (en) Character pattern generator
JP2850717B2 (en) Printing control device
JP2884876B2 (en) Printing control device
JP2842009B2 (en) Image data generation device
JP2842011B2 (en) Image data generation device
JP2827838B2 (en) Print data transmission method
KR100312272B1 (en) Recording apparatus
JP3210029B2 (en) Image processing apparatus and method
JP3184544B2 (en) Image processing device
JP3063356B2 (en) Digital image processing equipment
JPS61106264A (en) Figure output controller
JP3703273B2 (en) Image data conversion apparatus, printing apparatus including image data conversion apparatus, and image data conversion method
JP2982608B2 (en) Printer device
JP2623458B2 (en) Graphic output control device
JP2002137460A (en) Print system and storage control method
JPS5936286A (en) Character pattern generator
JP2001162867A (en) Method and device for converting image data

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071023

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081023

Year of fee payment: 10

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

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20091023

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

Free format text: PAYMENT UNTIL: 20091023

Year of fee payment: 11

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

Year of fee payment: 12

Free format text: PAYMENT UNTIL: 20101023

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

Year of fee payment: 12

Free format text: PAYMENT UNTIL: 20101023

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

Year of fee payment: 13

Free format text: PAYMENT UNTIL: 20111023

LAPS Cancellation because of no payment of annual fees