[go: up one dir, main page]

JP2842010B2 - Printing control device - Google Patents

Printing control device

Info

Publication number
JP2842010B2
JP2842010B2 JP3086492A JP3086492A JP2842010B2 JP 2842010 B2 JP2842010 B2 JP 2842010B2 JP 3086492 A JP3086492 A JP 3086492A JP 3086492 A JP3086492 A JP 3086492A JP 2842010 B2 JP2842010 B2 JP 2842010B2
Authority
JP
Japan
Prior art keywords
data
line segment
command
segment data
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.)
Expired - Fee Related
Application number
JP3086492A
Other languages
Japanese (ja)
Other versions
JPH05221042A (en
Inventor
淳 河合
博幸 佐々木
裕司 角谷
浩祐 深谷
嘉之 坂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)

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 printing control device,
In particular, the present invention relates to an improvement in a print control device that prints data created by a computer or the like and expands the data into raster image data.

【0002】[0002]

【従来の技術】従来、この種のプリンタ装置(印刷装
置)では、印刷制御装置内の半導体記憶装置上に、印刷
すべき2次元ラスターイメージデータの1ページ分の容
量を割り当て、コンピュータから送出された文字コード
等のデータに基づいて、その記憶領域にラスターイメー
ジデータを展開していた。ここに、ラスターイメージデ
ータとは、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. Then, after the completion of the development, the printing mechanism of the printer device is started, and the developed 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 been extremely increased due to the increase in resolution and image quality of a printer device, which has only led to an increase in device price due to an increase in semiconductor memory device cost. However, due to restrictions such as power consumption, electrical driving capability of semiconductors, 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.

【0004】また、かかる膨大な半導体記憶装置(メモ
リ)にラスターイメージデータを展開するに際し、非常
に長時間を要していた。例えば、A4サイズの印刷出力
をプリントする場合、従来の白黒レーザプリンタのよう
に1ピクセル当り1ビットのデータを必要とし、その解
像度が12ピクセル/mm程度であれば、必要な半導体
記憶装置は1メガバイト程度であった。しかし、出力サ
イズA0、解像度12ピクセル/mm、1ピクセル当り
1670万色(24ビット/ピクセル)では、少なくと
も500メガバイトものメモリを必要とし、装置のコス
トおよび展開時間が飛躍的に増大し、実用に供し得る装
置を製作することができなかった。
[0004] 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.

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

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

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

【0008】[0008]

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

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

【0010】[0010]

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

【0011】[0011]

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

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

【0013】[0013]

【実施例】以下、本発明の印刷制御装置の実施例を図面
を参照して説明する。先ず、図1に前記印刷制御装置の
実施例の外部接続の模式図を示す。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of a print control apparatus according to the present invention. First, FIG. 1 shows a schematic diagram of an external connection of the 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, 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 transmits the
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.

【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.
00 will be described in more detail. As shown in FIG. 2, a first interface connector 301 for receiving data from the computer 100 is connected to a first interface circuit 303 for receiving 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. Also, the first bus 313 has a first dynamic memory 306 for storing data, a hard disk drive 30.
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 to be described later and capable of accessing the same memory cell from both ports.
A first port 08 is connected to a DMAC 314 for performing direct memory transfer between these devices.

【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
Is connected to a second port of the dual port memory 308 and a second dynamic memory 311 for storing data. The hard disk 309 stores programs such as a command execution unit 402 shown in FIG. 5 described below 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 apparatus starts. 2, illustration of various control signals such as an address bus and a chip select signal is omitted.

【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 structure 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 the 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 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. 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
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.

【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
Will be described in detail with reference to FIG. As shown in FIG. 4, input data and a data clock signal 221 are connected to the interface connector 201 by 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 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を参照して説明する。
第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 printing control apparatus 300 having the above configuration will be described with reference to FIGS.
The first CPU 305 (see FIG. 2)
When a command group to be printed is received from, the command group is stored in the hard disk drive 309 first. When all the command groups are input from the computer 100 (see FIG. 1), the first CPU 305 stores the command group in the dual port memory 308 so as to interpret the command group.
A command to instruct U310 is written. When the command group is written to the dual port memory 308, the second CPU
310, a command group is read from the memory 308 and interpreted, and the result is stored in the second dynamic memory 3.
11 is stored.

【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 procedure of the interpretation will be described in detail with reference to FIGS. FIG. 5 shows a functional block diagram for interpreting the command group and developing the print data. As shown in FIG.
Command interpreter 40 constituting "line segment data converter"
1. A command execution unit 402, a command dictionary unit 403, a print data development unit 406 constituting 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, 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
The execution is sequentially performed by 310. Here, the command interpreting unit 401 decomposes the incoming command group one by one, and the command dictionary 403 checks whether the incoming command group is a valid command. The command group arriving under the control of 402 is decomposed to create line segment data. Further, the line segment data storage unit 405 includes a second dynamic memory 311 and a hard disk drive 309. In the second dynamic memory 311, a line segment data buffer 505 described later (see FIG. 6) is secured.
9 is provided with a line segment data auxiliary buffer 507. The data size conversion unit 407 converts the data size of the line segment data group to 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 straight lines and circles and their coordinate values, and "bit image data" obtained by scanning and digitizing a photograph with an image scanner or the like. "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.

【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 a storage state in the second dynamic memory 311. When data in the second dynamic memory 311 overflows, as shown in FIG. 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 determining whether the data is “vector data” or “bit image data”, a starting 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 usage efficiency of the line segment data buffer 505 and the position of the free area, and the auxiliary buffer management information 508 connects the line segment data buffer 505 to where the line segment data auxiliary buffer 507 is connected. The connection information of the

【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 of the graphic to be output on the second dynamic memory 311. As shown in FIG. 7A, bit image data 601 such as a photograph, and a rectangle 602 and a circle 603 corresponding to vector data are arranged in the order of command generation. here,
I s indicates an image start point position of the bit image data 601, I e indicates an image end point position, and I c is an image ID indicating the order of appearance of individual bit image data. Also, the C s is the starting position of the circular 603, C e is the end position, is C c is a circular color values. Further, R s
Is the start position of the rectangle 602, R e is the end point position, 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 line segment data 604 of the various figures in an arbitrary raster i. FIG.
(B), the case of "vector data", taking a circular 603 as an example, since the same color value C c of the start point C s to the end point C e are continuous, holding the data by line segment data Then, 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, the image flag bit 501 is used.
(See FIG. 6A ), only the position information where the bit image data is arranged and the image ID (code Ic) are recorded in 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 storage device (second dynamic memory 311), and the bit image data is stored in the external storage device (the hard disk drive 30).
9) Separately and hold. 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.

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

【0030】図9に線分データの格納方法の概略フロー
チャートを示す。印刷データを展開することにより線分
データが発生すると、先ず線分データバッファ505
(図6(A)参照)の使用効率および空きエリアの位置
を保持するバッファ管理情報506を参照し(ステップ
S701)、線分データバッファ505に線分データを
書き込み可能か否か判定する(ステップS702)。
FIG. 9 shows a schematic flowchart of a method for storing line segment data. When line data is generated by expanding print data, first, a line data buffer 505 is generated.
Referring to the buffer management information 506 holding the usage efficiency and the position of the empty area (see FIG. 6A) (step S701), it is determined whether or not line segment data can be written to 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 writing is not possible due to buffer full, the auxiliary buffer management information 508 for holding the use 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 a line segment data group to be described later is determined with reference to step S703. Then, the line segment data of one raster held in the line segment data buffer 505 is taken out as a line segment data group, and the line segment data conversion unit 407 is driven by the second CPU 310 to drive the line segment data as shown in FIG. The data size of the data group is converted to 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 data buffer 505 and the line data buffer 507, a pointer indicating where the line data group of the same raster is connected from the line data buffer 505 to the line data auxiliary buffer 507 is held. The sub-buffer management information section 508 is updated (step S706). Step S704
By converting the data size of the line segment data group by
There is no waste in accessing the hard disk drive 309 in sector units, the access time can be reduced, and the transfer rate of line segment data can be maximized.

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

【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 the command groups, the second CPU 310
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.

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

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

【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 and the dot flag string 80
2. Initialize the dot counter 803 (step S9)
01). 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). In step S903, when the line data group stored in the line data auxiliary buffer 507 is read, the size of the line 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 unnecessary data as described in the technology, the access time in the hard disk drive 309 can be reduced, and the transfer rate of the line segment data group can be maximized. 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 S90)
4). Here, it is checked whether or not the dot counter is equal to the print width (step S905).

【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). 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).

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

【0039】ステップS905は、ドットカウンタが印
字幅に等しくなった場合、即ち、ラインバッファの全て
のドットに書き込みが終了したが「線分データ」が残っ
ている状態である。この状態では残りの線分データが長
方形602のように新しい線分データの下に隠れてしま
い展開の必要が無くなっている。
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.

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

【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 in the data memory 212 for one raster, and issues an instruction to cause the data read 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.

【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.
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.

【0044】なお、本発明は前記実施例に限定されるも
のではなく、様々な応用が可能である。例えば、プリン
ト装置は昇華型熱転写方式でも良いし、ハードディスク
ドライブのかわりに光磁気ディスク装置やテープドライ
ブ装置を用いても良い。
It should be noted that the present invention is not limited to the above embodiment, and various applications are possible. For example, the printing apparatus 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 apparent from the above description,
According to the present invention, instead of rasterizing one page of raster image data in 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 the line commands. Therefore, the required memory amount can be remarkably reduced, and therefore, a print control device capable of obtaining high-definition and high-quality printed matter can be configured at low cost. In addition, 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 reduced, and the transfer rate of the line data group can be maximized. it can.

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

【図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, performing data size conversion, and developing the data 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】(A),(B)は、線分データ群の余剰部分に
ダミーデータを付加して、セクタサイズの整数倍の線分
データ群を作成する説明図である。
FIGS. 8A and 8B are explanatory diagrams of creating a line segment data group having an integral multiple of a sector size by adding dummy data to a surplus portion of the line segment data group.

【図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 configuring one raster into print data in the embodiment.

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

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

100…コンピュータ 200…インクジェットプリンタ 300…印刷制御装置 401…コマンド解釈部(線分データ変換手段) 402…コマンド実行部(線分データ変換手段) 403…コマンド辞書部(線分データ変換手段) 404…作業領域(線分データ変換手段) 405…線分データ保存部 406…印刷データ展開部(ラスターイメージデータ変
換手段) 407…データサイズ変換部 DG…線分データ群 DG1 …ダミーデータを付加した線分データ群
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 ... 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

───────────────────────────────────────────────────── フロントページの続き (72)発明者 深谷 浩祐 愛知県名古屋市瑞穂区苗代町15番1号 ブラザー工業株式会社内 (72)発明者 坂 嘉之 愛知県名古屋市瑞穂区苗代町15番1号 ブラザー工業株式会社内 (56)参考文献 特開 平2−166497(JP,A) 特開 平3−136878(JP,A) 特開 昭61−274956(JP,A) 特開 平3−175064(JP,A) 特開 平4−144760(JP,A) 特開 平2−45823(JP,A) 特開 平5−12800(JP,A) 特開 平4−144760(JP,A) (58)調査した分野(Int.Cl.6,DB名) B41J 5/30 B41J 29/38 G11B 20/10──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Kosuke Fukaya 15-1 Naeshiro-cho, Mizuho-ku, Nagoya City, Aichi Prefecture Inside Brother Industries, Ltd. (72) Inventor Yoshiyuki Saka 15th Naeshiro-cho, Mizuho-ku, Nagoya City, Aichi Prefecture No. 1 in Brother Industries, Ltd. (56) References JP-A-2-166497 (JP, A) JP-A-3-136878 (JP, A) JP-A-61-274596 (JP, A) JP-A-3-273 175064 (JP, A) JP-A-4-144760 (JP, A) JP-A-2-45823 (JP, A) JP-A-5-12800 (JP, A) JP-A-4-144760 (JP, A) (58) Field surveyed (Int.Cl. 6 , DB name) B41J 5/30 B41J 29/38 G11B 20/10

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 コンピュータ等で作成された図形情報デ
ータを、ラスター方向に対する位置と長さを有する線分
データに変換し、この線分データを同一ラスターの線分
データから構成される線分データ群にまとめて外部記憶
装置に格納し、前記線分データ群を前記外部記憶装置か
ら読出し、その線分データをラスターイメージデータに
変換し、印刷装置に出力する印刷制御装置であって、 前記印刷制御装置は、前記線分データ群を、前記外部記
憶装置の読出し・書込みの最小単位であるセクタサイズ
の整数倍に変換するデータサイズ変換手段を備え、 前記外部記憶装置への読出し・書込み処理を、前記セク
タサイズを単位として行うようにしたことを特徴とする
印刷制御装置。
1. Graphic information data created 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 for storing the line segment data group in the external storage device in a group, reading the line segment data group from the external storage device, converting the line segment data into raster image data, and outputting 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 integral multiple of a sector size, which is a minimum unit of reading and writing of the external storage device, and performs a read / write process to the external storage device. A printing control apparatus wherein the printing is performed in units of the sector size.
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 JPH05221042A (en) 1993-08-31
JP2842010B2 true 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)

Families Citing this family (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
JPH05221042A (en) 1993-08-31

Similar Documents

Publication Publication Date Title
US5315691A (en) Print control apparatus
US5748859A (en) Method and device for transmitting and processing print data used for printer
US5355441A (en) Printing control apparatus
JP2842010B2 (en) Printing control device
JP2861586B2 (en) Printing control device
JP2913977B2 (en) Printing control device
JP2884876B2 (en) Printing control device
JP3107685B2 (en) Print data transmission method
JP2850717B2 (en) Printing control device
JP2842009B2 (en) Image data generation device
JP2842011B2 (en) Image data generation device
US6246488B1 (en) Recording apparatus
JP2827838B2 (en) Print data transmission method
JP3063356B2 (en) Digital image processing equipment
JP2845026B2 (en) Printing control device
JP3184544B2 (en) Image processing device
JPS5941051A (en) Character pattern generator
JPS61106264A (en) Figure output controller
JP2002137460A (en) Print system and storage control method
JP2001162867A (en) Method and device for converting image data
JPS5959459A (en) Printer's reverse printing method
JPS5936286A (en) Character pattern generator
JP2003196041A (en) Printer, data transfer device and method
JPH03141422A (en) Print network system
JPH106575A (en) Method for processing image data, apparatus for processing storage medium and image data, and color printer apparatus

Legal Events

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

Free format text: PAYMENT UNTIL: 20071023

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081023

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091023

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20091023

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20101023

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20101023

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20111023

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees