JP2001058429A - Printer host and memory medium storing operation program thereof - Google Patents

Printer host and memory medium storing operation program thereof

Info

Publication number
JP2001058429A
JP2001058429A JP11232692A JP23269299A JP2001058429A JP 2001058429 A JP2001058429 A JP 2001058429A JP 11232692 A JP11232692 A JP 11232692A JP 23269299 A JP23269299 A JP 23269299A JP 2001058429 A JP2001058429 A JP 2001058429A
Authority
JP
Japan
Prior art keywords
drawing command
band
stored
list
storage device
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
JP11232692A
Other languages
Japanese (ja)
Other versions
JP3760686B2 (en
Inventor
Masahiro Someno
正博 染野
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP23269299A priority Critical patent/JP3760686B2/en
Priority to US09/639,886 priority patent/US6778292B1/en
Priority to DE60042580T priority patent/DE60042580D1/en
Priority to AT00307114T priority patent/ATE437396T1/en
Priority to EP00307114A priority patent/EP1077402B1/en
Publication of JP2001058429A publication Critical patent/JP2001058429A/en
Application granted granted Critical
Publication of JP3760686B2 publication Critical patent/JP3760686B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the number of drawing commands stored in a memory. SOLUTION: A printer host is equipped with a list forming part 41 referring to the spool file 39 stored in a hard disk device to form a band corresponding drawing command list 53 showing which band each of drawing commands correspond to, a drawing command memory control part 42 successively reading the drawing commands corresponding to respective bands from the spool file 39 stored in the hard disk device 26 according to the band corresponding drawing command list 53 to store the read drawing command corresponding to one band in a drawing command memory 54 and an image data developing part 43 converting the drawing command corresponding to one band stored in the drawing command memory 54 to image data to develop the image data on a band memory 55.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、主記憶装置とハー
ドディスク等の外部記憶装置とを備え、この外部記憶装
置にスプールファイルとして記憶された1ページ分の描
画コマンドの束を、バンド毎にイメージデータとして展
開するプリンタホスト、及びその動作プログラムが記憶
されている記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention includes a main storage device and an external storage device such as a hard disk, and stores a bundle of drawing commands for one page stored as a spool file in the external storage device for each band. The present invention relates to a printer host developed as data and a storage medium storing an operation program thereof.

【0002】[0002]

【従来の技術】一般的に、1ページ分の描画コマンドの
束は、図10に示すように、スプールファイル39とし
て、プリンタホストのハードディスク装置26に記憶さ
れる。そして、ハードディスク装置26に記憶されたス
プールファイル39は、印刷時に、そのままプリンタホ
ストのRAM22上に一時的に記憶される。プリンタホ
ストは、描画コマンドをイメージデータとしてバンドメ
モリ55に展開するために、各バンドにいずれの描画コ
マンドが対応するかを示すバンド対応描画コマンド・フ
ルリスト53cを作成する。このフルリスト53cで
は、各バンドに対応する描画コマンドのメモリアドレス
が示される。次に、このフルリスト53cのメモリアド
レスを参照して、RAM22内のスプールファイルメモ
リ54cに記憶されたスプールファイルから、各バンド
に対応する描画コマンドを呼び出して、これをイメージ
データとしてバンドメモリ55上に展開する。バンドメ
モリ55上に展開されたイメージデータは、RGB−C
MYK色変換処理やハーフトーン処理等を施された後、
プリンタが解釈できるコマンドに変換されてから、プリ
ンタへ送られる。
2. Description of the Related Art Generally, a bundle of drawing commands for one page is stored in a hard disk device 26 of a printer host as a spool file 39 as shown in FIG. Then, the spool file 39 stored in the hard disk device 26 is temporarily stored as it is on the RAM 22 of the printer host at the time of printing. The printer host creates a band-compatible drawing command full list 53c indicating which drawing command corresponds to each band in order to develop the drawing command as image data in the band memory 55. In the full list 53c, the memory address of the drawing command corresponding to each band is shown. Next, by referring to the memory address of the full list 53c, a drawing command corresponding to each band is called from the spool file stored in the spool file memory 54c in the RAM 22, and is called as image data on the band memory 55. Expand to The image data developed on the band memory 55 is RGB-C
After performing MYK color conversion processing and halftone processing,
After being converted into commands that can be interpreted by the printer, the commands are sent to the printer.

【0003】ここで、図8に示すようなイメージを印刷
する場合を例にして、具体的に説明する。
Here, a specific description will be given with an example of printing an image as shown in FIG.

【0004】このイメージは、座標(0,0)〜(577,9
92)の領域に描かれ、第0バンド〜第4バンドの5バン
ドに分けて処理されるものとする。座標(0,0)〜(57
7,992)の領域には、描画コマンドAで表される三角
形、描画コマンドBで表される四角形、描画コマンドC
で表される丸、描画コマンドDで表されるイメージが描
かれる。
This image has coordinates (0,0) to (577,9
It is assumed that the image is drawn in the area of 92) and processed in five bands of the 0th band to the 4th band. Coordinates (0,0)-(57
7, 992), a triangle represented by the drawing command A, a quadrangle represented by the drawing command B, a drawing command C
, And an image represented by the drawing command D is drawn.

【0005】スプールファイルには、図9に示すよう
に、1ページ分の描画コマンドA,B,C,Dに関する
データが記憶されている。例えば、描画コマンドAは、
「三角形を描け」というオペコードと、三角形の三つの
頂点座標とから成る。また、描画コマンドDは、イメー
ジ開始のオペコードと、イメージの矩形領域の対角点座
標と、イメージデータとから成る。
As shown in FIG. 9, data relating to one page of drawing commands A, B, C, and D is stored in the spool file. For example, the drawing command A is
It consists of an opcode "Draw a triangle" and the coordinates of the three vertices of the triangle. The drawing command D is composed of an operation code for starting an image, coordinates of a diagonal point of a rectangular area of the image, and image data.

【0006】バンド対応描画コマンドリストを作成する
際には、各描画コマンドが有しているイメージの座標デ
ータから、このイメージがどのバンドに属するかを把握
する。例えば、三角形を示す描画コマンドAに関して
は、三角形の各頂点座標のデータから第0バンドと第1
バンドとに属することを把握する。そして、図10に示
すように、第0バンドには描画コマンドA、第1バンド
には描画コマンドAと描画コマンドC、第2バンドには
描画コマンドBと描画コマンドC、第3バンドには描画
コマンドB、第4バンドには描画コマンドBと描画コマ
ンドD、をそれぞれ関係付けたバンド対応描画コマンド
・フルリスト53cを作成する。但し、このバンド対応
描画コマンド・フルリスト53cは、前述したように、
各バンドと描画コマンドとを直接関係付けるものではな
く、各バンドと描画コマンドが記憶されているRAM2
2上のアドレスと関係付けられている。
When a band-based drawing command list is created, it is determined which band this image belongs to from the coordinate data of the image included in each drawing command. For example, regarding the drawing command A indicating a triangle, the data of the 0th band and the 1st band
Know that you belong to the band. Then, as shown in FIG. 10, the drawing command A is in the 0th band, the drawing command A and the drawing command C are in the first band, the drawing command B and the drawing command C are in the second band, and the drawing is in the third band. For the command B and the fourth band, a drawing command full list 53c is created in which the drawing command B and the drawing command D are associated with each other. However, the band corresponding drawing command full list 53c is, as described above,
Each band and the drawing command are not directly related to each other.
2 associated with the address above.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、従来技
術では、ハードディスク装置上に記憶されたスプールフ
ァイルをそのままメモリに記憶するため、メモリの記憶
容量を大きくしなければならないという問題点がある。
特に、1ページ分のデータ中に非常に多くの描画コマン
ドが含まれている場合や、描画コマンドの中にイメージ
データを含むものがある場合には、非常に多くの記憶容
量が必要になる。
However, in the prior art, there is a problem that the storage capacity of the memory must be increased because the spool file stored on the hard disk device is stored in the memory as it is.
In particular, when a very large number of drawing commands are included in the data of one page, or when there are some drawing commands that include image data, a very large storage capacity is required.

【0008】本発明は、このような従来の問題点につい
て着目してなされたもので、メモリに記憶されるデータ
数量を少なくすることができるプリンタホストを提供す
ることを目的とする。
The present invention has been made in view of such a conventional problem, and has as its object to provide a printer host capable of reducing the amount of data stored in a memory.

【0009】[0009]

【課題を解決するための手段】前記目的を達成するため
の第一のプリンタホストは、外部記憶装置と主記憶装置
とを備え、該外部記憶装置にスプールファイルとして記
憶された1ページ分の描画コマンドの束を、所定のバン
ド幅のバンド毎にイメージデータとして展開するプリン
タホストにおいて、前記外部記憶装置に記憶されている
前記スプールファイルを参照して、複数の前記描画コマ
ンドのうちのいずれの描画コマンドがいずれのバンドに
対応するかを示すバンド対応描画コマンドリストを作成
するリスト作成手段と、前記主記憶装置の一部で、1バ
ンド分の前記描画コマンドが記憶される描画コマンド記
憶領域と、前記主記憶装置の他の一部で、1バンド分の
前記イメージデータが展開されるイメージデータ展開領
域と、前記バンド対応描画コマンドリストに従って、前
記外部記憶装置に記憶されているスプールファイルから
各バンドに対応する描画コマンドを順次読み取り、読み
取った1バンド分の該描画コマンドを前記描画コマンド
記憶領域に記憶する描画コマンド記憶制御手段と、前記
描画コマンド記憶領域に記憶された1バンド分の描画コ
マンドをイメージデータに変換して前記イメージデータ
展開領域に展開するイメージデータ展開手段と、を備え
ていることを特徴とするものである。
A first printer host for achieving the above object has an external storage device and a main storage device, and draws one page of a page stored as a spool file in the external storage device. In a printer host which develops a bundle of commands as image data for each band of a predetermined bandwidth, referring to the spool file stored in the external storage device, any one of a plurality of drawing commands List creation means for creating a band-related drawing command list indicating which band the command corresponds to; a drawing command storage area in which the drawing commands for one band are stored in a part of the main storage device; An image data development area where the image data for one band is developed in another part of the main storage device; A drawing command storage for sequentially reading drawing commands corresponding to each band from a spool file stored in the external storage device according to a drawing command list and storing the read drawing commands for one band in the drawing command storage area. Control means; and image data expanding means for converting a drawing command for one band stored in the drawing command storage area into image data and expanding the image data in the image data expanding area. It is.

【0010】前記目的を達成するための第二のプリンタ
ホストは、前記第一のプリンタホストにおいて、複数の
描画コマンドのうち、前記描画コマンド記憶領域に一旦
記憶されたものであるか、該描画コマンド記憶領域に未
だ記憶されておらず前記外部記憶装置に記憶されている
ものであるかを判断するアクセス判断手段を備え、前記
描画コマンド記憶制御手段は、前記描画コマンドが前記
描画コマンド記憶領域に未だ記憶されておらず前記外部
記憶装置に記憶されているものであると前記アクセス判
断手段で判断された場合に、前記バンド対応描画コマン
ドリストを参照して前記外部記憶装置にアクセスするこ
とを特徴とするものである。
[0010] A second printer host for achieving the above-mentioned object may be configured such that, in the first printer host, one of a plurality of drawing commands stored once in the drawing command storage area, An access determination unit configured to determine whether the image data is not stored in the storage area yet but is stored in the external storage device, wherein the drawing command storage control unit stores the drawing command in the drawing command storage area. When the access determining means determines that the external storage device is not stored but is stored in the external storage device, the external storage device is accessed with reference to the band corresponding drawing command list. Is what you do.

【0011】前記目的を達成するための第三のプリンタ
ホストは、前記第一及び第二のいずれかのプリンタホス
トにおいて、前記リスト作成手段は、前記バンド対応描
画コマンドリストとして、複数の前記描画コマンドのそ
れぞれをイメージ展開した際にイメージの開始位置に対
応するバンドに、該イメージを示す描画コマンドの開始
を関係付け、複数の前記描画コマンドのそれぞれをイメ
ージ展開した際にイメージの終了位置に対応するバンド
に、該イメージを示す描画コマンドの終了を関係付けた
描画コマンド差分リストを作成することを特徴とするも
のである。
A third printer host for achieving the above object is any one of the first and second printer hosts, wherein the list creating means includes a plurality of the drawing commands as the band corresponding drawing command list. Are associated with the band corresponding to the start position of the image when each of the plurality of drawing commands is developed, and correspond to the end position of the image when each of the plurality of drawing commands is developed. It is characterized in that a drawing command difference list in which the end of the drawing command indicating the image is associated with the band is created.

【0012】前記目的を達成するための第四のプリンタ
ホストは、前記第三のプリンタホストにおいて、前記リ
スト作成手段は、前記描画コマンド差分リストを参照し
て、これからイメージ展開される一つのバンドに、対応
する全ての描画コマンドを関係付けた1バンド分描画コ
マンドリストを、前記バンド対応描画コマンドリストの
一部として作成し、前記描画コマンド記憶制御手段は、
前記1バンド分描画コマンドリストを参照して、1バン
ド分の前記描画コマンドを前記描画コマンド記憶領域に
記憶することを特徴とするものである。
A fourth printer host for achieving the above object is the third printer host, wherein the list creation means refers to the drawing command difference list and converts the list into one band to be image-developed from now on. Creating a drawing command list for one band in which all corresponding drawing commands are related as a part of the band corresponding drawing command list, wherein the drawing command storage control means includes:
The drawing command list for one band is stored in the drawing command storage area with reference to the drawing command list for one band.

【0013】前記目的を達成するための第一の記憶媒体
は、外部記憶装置と主記憶装置とを備えたプリンタホス
トで、該外部記憶装置にスプールファイルとして記憶さ
れた1ページ分の描画コマンドの束を、予め定めたバン
ド幅のバンド毎にイメージデータとして展開するプログ
ラムが記憶されている記憶媒体において、前記外部記憶
装置に記憶されている前記スプールファイルを参照し
て、複数の前記描画コマンドのうちのいずれの描画コマ
ンドがいずれのバンドに対応するかを示すバンド対応描
画コマンドリストを作成するリスト作成手順と、前記主
記憶装置の一部で1バンド分の前記描画コマンドが記憶
される描画コマンド記憶領域に、前記バンド対応描画コ
マンドリストに従って、前記外部記憶装置に記憶されて
いる前記スプールファイルから各バンドに対応する描画
コマンドを順次読み取り、読み取った1バンド分の該描
画コマンドを該描画コマンド記憶領域に記憶する描画コ
マンド記憶制御手順と、前記描画コマンド記憶領域に記
憶された1バンド分の描画コマンドをイメージデータに
変換して、前記主記憶装置の他の一部で1バンド分のイ
メージデータが展開されるイメージデータ展開領域に、
該イメージデータを展開するイメージデータ展開手順
と、を有することを特徴とするプログラムが記憶されて
いるものである。
A first storage medium for achieving the above object is a printer host having an external storage device and a main storage device. The printer host stores one page of a drawing command stored as a spool file in the external storage device. In a storage medium storing a program for expanding the bundle as image data for each band having a predetermined bandwidth, referring to the spool file stored in the external storage device, a plurality of drawing commands A list creation procedure for creating a band corresponding drawing command list indicating which of the drawing commands corresponds to which band, and a drawing command in which the drawing command for one band is stored in a part of the main storage device In the storage area, the spool file stored in the external storage device is stored in accordance with the band corresponding drawing command list. A drawing command storage control procedure for sequentially reading drawing commands corresponding to each band from the file and storing the read drawing commands for one band in the drawing command storage area; Is converted into image data, and an image data development area where one band of image data is developed in another part of the main storage device,
And an image data expanding procedure for expanding the image data.

【0014】前記目的を達成するための第二の記憶媒体
は、前記第一の記憶媒体において、複数の描画コマンド
のうち、前記描画コマンド記憶領域に一旦記憶されたも
のであるか、該描画コマンド記憶領域に未だ記憶されて
おらず前記外部記憶装置に記憶されているものであるか
を判断するアクセス判断手順を有し、前記描画コマンド
記憶制御手順は、前記描画コマンドが前記描画コマンド
記憶領域に未だ記憶されておらず前記外部記憶装置に記
憶されているものであると,前記アクセス判断手順で判
断された場合に、前記外部記憶装置にアクセスすること
を特徴とするプログラムが記憶されているものである。
[0014] A second storage medium for achieving the above-mentioned object is, in the first storage medium, one of a plurality of drawing commands which has been once stored in the drawing command storage area, An access determination procedure for determining whether the storage area is not yet stored in the storage area and stored in the external storage device, wherein the drawing command storage control procedure includes the step of storing the drawing command in the drawing command storage area. A program storing a program characterized by accessing the external storage device when it is determined in the access determination procedure that the data is not stored yet but is stored in the external storage device. It is.

【0015】前記目的を達成するための第3の記憶媒体
は,前記第一及び第二のいずれかの記憶媒体において、
前記リスト作成手順は、前記バンド対応描画コマンドリ
ストとして、複数の前記描画コマンドのそれぞれをイメ
ージ展開した際にイメージの開始位置に対応するバンド
に、該イメージを示す描画コマンドの開始を関係付け、
複数の前記描画コマンドのそれぞれをイメージ展開した
際にイメージの終了位置に対応するバンドに、該イメー
ジを示す描画コマンドの終了を関係付けた描画コマンド
差分リストを作成することを特徴とするプログラムが記
憶されているものである。
[0015] A third storage medium for achieving the above object may be any one of the first and second storage media,
The list creation procedure, as the band-corresponding drawing command list, associates the start of the drawing command indicating the image with the band corresponding to the start position of the image when each of the plurality of drawing commands is developed,
A program for creating a drawing command difference list that associates the end of a drawing command indicating the image with a band corresponding to the end position of the image when each of the plurality of drawing commands is developed into an image Is what is being done.

【0016】[0016]

【発明の実施の形態】以下、本発明に係るプリンタホス
トの各種実施形態について、図面を用いて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Various embodiments of a printer host according to the present invention will be described below with reference to the drawings.

【0017】まず、本発明に係るプリンタホストの第一
の実施形態について、図1〜図3を用いて説明する。本
実施形態のプリンタホスト10は、図1に示すように、
スキャナ1とプリンタ2とが組み合わされて、印刷シス
テムを構成している。
First, a first embodiment of a printer host according to the present invention will be described with reference to FIGS. As shown in FIG. 1, the printer host 10 of the present embodiment
The scanner 1 and the printer 2 are combined to form a printing system.

【0018】プリンタホスト10は、ホスト本体11と
ディスプレイ12とキーボード13とを有している。ホ
スト本体11は、ハードウエア的には、各種プログラム
等を実行するCPU20と、各種データや各種プログラ
ム等が記憶されているROM21と、各種データや各種
プログラムが一時的に記憶されるRAM22と、ディス
プレイ12を制御するディスプレイコントローラ23
と、キーボード13を制御するキーボードコントローラ
24と、フロッピーディスク装置25と、ハードディス
ク装置26と、CD装置27と、プリンタ等の接続され
るプリンタ・インタフェース28と、スキャナ等を接続
されるスキャナ・インタフェース29とを有している。
The printer host 10 has a host body 11, a display 12, and a keyboard 13. In terms of hardware, the host main body 11 includes a CPU 20 for executing various programs and the like, a ROM 21 for storing various data and various programs, a RAM 22 for temporarily storing various data and various programs, and a display. Display controller 23 for controlling the controller 12
, A keyboard controller 24 for controlling the keyboard 13, a floppy disk device 25, a hard disk device 26, a CD device 27, a printer interface 28 for connecting a printer or the like, and a scanner interface 29 for connecting a scanner or the like. And

【0019】ホスト本体11は、ソフトウェア的には、
図2に示すように、アプリケーション31と、オペレー
ティングシステム32と、アプリケーション31から受
け取った描画コマンドをスプールファイル39として記
憶するジャーナルドライバ33と、スプールファイル3
9からの描画コマンドの呼び出しを管理するスプールマ
ネージャ34と、スプールファイル39中の描画コマン
ドの再生を管理するリプレイマネージャ35と、描画コ
マンドをRGBイメージデータとして展開するレンダラ
36と、RGBイメージデータをCMYK二値化イメー
ジデータに変換する二値化モジュール37と、CMYK
二値化イメージデータをプリンタ2が解釈できるコマン
ドに変換するコマンドジェネレータ38と、を有してい
る。
The host body 11 is software
As shown in FIG. 2, an application 31, an operating system 32, a journal driver 33 that stores drawing commands received from the application 31 as a spool file 39, a spool file 3
9, a replay manager 35 for managing the reproduction of the drawing commands in the spool file 39, a renderer 36 for developing the drawing commands as RGB image data, and a CMYK for the RGB image data. A binarization module 37 for converting to binarized image data;
A command generator 38 for converting the binarized image data into a command that can be interpreted by the printer 2.

【0020】以上のソフトウェア構成要素は、いずれ
も、CD17(図1に示す)に記憶されているプログラ
ムをCD装置27で再生し、これをRAM22にロード
し、CPU20がこのプログラムを実行することで、機
能する。
Each of the above software components reproduces the program stored in the CD 17 (shown in FIG. 1) by the CD device 27, loads it into the RAM 22, and executes the program by the CPU 20. ,Function.

【0021】また、ホスト本体11は、主要機能とし
て、図3に示すように、ハードディスク装置26に記憶
されているスプールファイル39を参照して各描画コマ
ンドがいずれのバンドに対応するかを示すバンド対応描
画コマンド・フルリスト53を作成するリスト作成部
(リスト作成手段)41と、バンド対応描画コマンド・
フルリスト53に従ってハードディスク装置26に記憶
されているスプールファイル39から各バンドに対応す
る描画コマンドを順次読み取ってRAM22上に記憶さ
せる描画コマンド記憶制御部(描画コマンド記憶制御手
段)42と、RAM22上に記憶された描画コマンドを
イメージデータに変換して展開するイメージデータ展開
部(イメージデータ展開手段)43と、を有している。
As shown in FIG. 3, the host main body 11 refers to a spool file 39 stored in the hard disk device 26 as a main function to indicate a band to which each drawing command corresponds. A list creation unit (list creation means) 41 for creating a corresponding drawing command / full list 53;
A drawing command storage control unit (drawing command storage control means) 42 for sequentially reading drawing commands corresponding to each band from the spool file 39 stored in the hard disk device 26 according to the full list 53 and storing the drawing commands in the RAM 22; An image data expanding unit (image data expanding means) 43 for converting the stored drawing command into image data and expanding the image data.

【0022】外部記憶装置であるハードディスク装置2
6には、従来技術の欄で図8及び図9を用いて説明した
ものと同じスプールファイル39が記憶されている。な
お、スプールファイル内のデータ及び展開されるイメー
ジは、以下の全ての実施形態においても同じである。ま
た、主記憶装置であるRAM22には、バンド対応描画
コマンド・フルリスト53が展開されるリストテーブル
52と、ハードディスク装置26に記憶されているスプ
ールファイル39中の各描画コマンドのオフセット値が
展開されているオフセットテーブル51と、1バンド分
の描画コマンドが展開される描画コマンドメモリ(描画
コマンド記憶領域)54と、1バンド分のイメージデー
タが展開されるバンドメモリ(イメージデータ展開領
域)55とが、形成されている。
Hard disk device 2 as an external storage device
6 stores the same spool file 39 as that described with reference to FIGS. 8 and 9 in the section of the prior art. The data in the spool file and the image to be expanded are the same in all the embodiments described below. In the RAM 22 serving as a main storage device, a list table 52 in which a band-compatible drawing command full list 53 is expanded, and offset values of each drawing command in the spool file 39 stored in the hard disk device 26 are expanded. An offset table 51, a drawing command memory (drawing command storage area) 54 for developing one band of drawing commands, and a band memory (image data developing area) 55 for developing one band of image data. , Is formed.

【0023】なお、リスト作成部41及び描画コマンド
記憶制御部42は、ソフトウェアとしてのリプレイマー
ジャ35の実行で機能し、イメージデータ展開部43
は、ソフトウェアとしてのレンダラ36の実行で機能す
る。
The list creation unit 41 and the drawing command storage control unit 42 function by executing the replay merger 35 as software, and the image data development unit 43
Functions by executing the renderer 36 as software.

【0024】次に、各機能部位の動作について説明す
る。リスト作成部41は、まず、ハードディスク装置2
6に記憶されているスプールファイル39中の各描画コ
マンドA,B,C,Dのオフセット値a,b,c,dを
調べ、これをオフセットIDと対応させてRAM22中
のオフセットテーブル51に記憶する。次に、リスト作
成部41は、バンド対応描画コマンド・フルリスト53
を作成して、これをRAM22中のリストテーブル52
に記憶する。
Next, the operation of each functional part will be described. The list creation unit 41 firstly registers the hard disk device 2
The offset values a, b, c, and d of the drawing commands A, B, C, and D in the spool file 39 stored in the spool file 39 are checked, and stored in the offset table 51 in the RAM 22 in association with the offset ID. I do. Next, the list creation unit 41 generates a band-compatible drawing command / full list 53.
Is created and stored in the list table 52 in the RAM 22.
To memorize.

【0025】バンド対応描画コマンド・フルリスト53
は、従来技術の欄で述べたように、第0バンドには描画
コマンドA、第1バンドには描画コマンドAと描画コマ
ンドC、第2バンドには描画コマンドBと描画コマンド
C、第3バンドには描画コマンドB、第4バンドには描
画コマンドBと描画コマンドD、をそれぞれ関係付けた
ものである。但し、このバンド対応描画コマンド・フル
リスト53も、各バンドと描画コマンドを直接関係付け
るものではなく、各バンドと描画コマンドが記憶されて
いるハードディスク装置26のオフセット値と関係付け
られている。従って、このバンド対応描画コマンド・フ
ルリスト53では、例えば、第0バンドに対しては、描
画コマンドAのオフセット値のIDであるIDが関係
付けられ、第1バンドに対しては、描画コマンドA,C
のオフセット値のIDであるID,IDが関係付け
られている。
A drawing command full list 53 corresponding to a band
, As described in the section of the prior art, the drawing command A for the 0th band, the drawing command A and the drawing command C for the first band, the drawing command B and the drawing command C for the second band, and the third band. The drawing command B is related to the drawing command B, and the drawing command B and the drawing command D are related to the fourth band. However, the band drawing command full list 53 does not directly relate each band to the drawing command, but also relates each band to the offset value of the hard disk device 26 in which the drawing command is stored. Therefore, in the band-specific drawing command full list 53, for example, ID 0 which is the ID of the offset value of the drawing command A is associated with the 0th band, and the drawing command A, C
ID 0 and ID 2 that are the IDs of the offset values of.

【0026】フルリスト53が作成されると、描画コマ
ンド記憶制御部42は、このフルリスト53を参照し
て、第0バンドには描画コマンドAを展開することを認
識すると共に、フルリスト53に示されている描画コマ
ンドAのオフセットIDから、オフセットテーブル5
1に記憶されているオフセットIDに対するオフセッ
ト値aを抽出する。そして、ハードディスク装置26の
オフセット値aの箇所から、描画コマンドAを呼び出
し、この描画コマンドAをRAM22上の描画コマンド
メモリ54に記憶する。
When the full list 53 is created, the drawing command storage control unit 42 refers to the full list 53, recognizes that the drawing command A is to be expanded in the 0th band, and Starting from the offset ID 0 of the indicated drawing command A, the offset table 5
The offset value a for the offset ID 0 stored in 1 is extracted. Then, the drawing command A is called from the location of the offset value a in the hard disk device 26, and the drawing command A is stored in the drawing command memory 54 on the RAM 22.

【0027】描画コマンドメモリ54に描画コマンドA
が記憶されると、イメージデータ展開部43は、この描
画コマンドAをバンドメモリ55上にRGBイメージデ
ータとして展開する。バンドメモリ55上に展開された
RGBイメージデータは、図2を用いて説明したよう
に、二値化モジュール37で、CMYK二値化イメージ
データに変換され、さらに、コマンドジェネレータ38
で、このCMYK二値化イメージデータがプリンタコマ
ンドに変換されて、プリンタ2へ出力される。
The drawing command A is stored in the drawing command memory 54.
Is stored, the image data developing unit 43 develops the drawing command A on the band memory 55 as RGB image data. The RGB image data developed on the band memory 55 is converted into CMYK binary image data by the binarization module 37 as described with reference to FIG.
The CMYK binarized image data is converted into a printer command and output to the printer 2.

【0028】第1バンド以降も、第0バンドと同様に、
描画コマンド記憶制御部42がリスト53を参照して、
第1バンドには描画コマンドA,Cを展開することを認
識すると共に、フルリスト53に示されている描画コマ
ンドA,CのオフセットID,IDから、オフセッ
トテーブル51に記憶されているオフセットID,I
に対するオフセット値a,cを抽出する。そして、
ハードディスク装置26のオフセット値a,cの箇所か
ら、描画コマンドA,Cを呼び出し、この描画コマンド
A,CをRAM22上の描画コマンドメモリ54に記憶
される。イメージデータ展開部43は、この描画コマン
ドA,Cをバンドメモリ55上にRGBイメージデータ
として展開する。
From the first band onward, similarly to the 0th band,
The drawing command storage control unit 42 refers to the list 53, and
In addition to recognizing that the drawing commands A and C are developed in the first band, the offsets stored in the offset table 51 are calculated from the offset IDs 0 and 2 of the drawing commands A and C shown in the full list 53. ID 0 , I
Offset a to D 2, and extracts or c. And
The drawing commands A and C are called from the locations of the offset values a and c of the hard disk device 26, and the drawing commands A and C are stored in the drawing command memory 54 on the RAM 22. The image data developing unit 43 develops the drawing commands A and C on the band memory 55 as RGB image data.

【0029】以上のように、本実施形態では、バンド対
応描画コマンド・フルリスト53を作成してから、この
フルリスト53を参照して目的のバンドに関する描画コ
マンドのみをハードディスク装置26から呼び出して、
これをRAM22上に記憶させているので、RAM22
上に描画コマンドを記憶させる領域としては1バンド分
で済み、従来技術のように、1ページ分の描画コマンド
を全てRAM上に記憶させるよりも、RAM22に記憶
されるデータ数量を遥かに少なくすることができる。
As described above, in the present embodiment, after the band corresponding drawing command / full list 53 is created, only the drawing command relating to the target band is called from the hard disk device 26 with reference to the full list 53, and
Since this is stored in the RAM 22, the RAM 22
The area for storing the drawing command on the top is only for one band, and the amount of data stored in the RAM 22 is much smaller than the case where all the drawing commands for one page are stored in the RAM as in the related art. be able to.

【0030】次に、図4を用いて、本発明に係るプリン
タホストの第二の実施形態について説明する。なお、本
実施形態のプリンタホストは、ハードウェア的には、図
1に示した第一の実施形態の構成と同じであり、機能構
成に関してのみ第一の実施形態と異なっている。
Next, a second embodiment of the printer host according to the present invention will be described with reference to FIG. Note that the printer host of this embodiment is the same in hardware as the configuration of the first embodiment shown in FIG. 1, and differs from the first embodiment only in the functional configuration.

【0031】プリンタホスト本体は、主要機能として、
第一の実施形態と同様のリスト作成部41と、描画コマ
ンドが描画コマンドメモリ54aに一旦記憶されたもの
であるか否かを判断するアクセス判断部(アクセス判断
手段)44と、アクセス判断部44の判断結果に応じて
ハードディスク装置26にアクセスして目的の描画コマ
ンドを呼び出して描画コマンドメモリ54に記憶する描
画コマンド記憶制御部42aと、第一の実施形態と同様
のイメージデータ展開部43と、を有している。
The main function of the printer host is as follows.
A list creation unit 41 similar to that of the first embodiment, an access determination unit (access determination unit) 44 for determining whether or not a rendering command is temporarily stored in the rendering command memory 54a, and an access determination unit 44 A drawing command storage control unit 42a that accesses the hard disk device 26 according to the determination result, calls a target drawing command, and stores it in the drawing command memory 54, an image data developing unit 43 similar to the first embodiment, have.

【0032】次に、各機能部位の動作について説明す
る。リスト作成部41は、第一の実施形態と同様に、ス
プールファイル39中の各描画コマンドA,B,C,D
のオフセット値a,b,c,dを調べ、これをオフセッ
トIDと対応させてRAM22中のオフセットテーブル
51に記憶する。アクセス判断部44は、各描画コマン
ドA,B,C,DのオフセットID,ID,I
,ID,IDと対応させて、描画コマンドが描
画コマンドメモリ54aに一端記憶させたものであるか
否かを示すアクセス判断フラグ56をRAM22上に形
成する。なお、このアクセス判断フラグ56は、描画コ
マンドが描画コマンドメモリ54aに一端記憶させたも
のである場合に「1」が設定され、描画コマンドが描画
コマンドメモリ54aに未だ記憶させておらず、ハード
ディスク装置26中に記憶されている場合に「0」が設
定される。次に、リスト作成部41は、第一の実施形態
と同様に、バンド対応描画コマンド・フルリスト53を
作成して、これをRAM22中のリストテーブル52に
記憶する。
Next, the operation of each functional part will be described. The list creation unit 41, as in the first embodiment, writes each drawing command A, B, C, D in the spool file 39.
The offset values a, b, c, and d are checked, and stored in the offset table 51 in the RAM 22 in association with the offset ID. The access determining unit 44 determines the offset ID 0 , ID 1 , I of each of the drawing commands A, B, C, D.
In correspondence with D 2, ID 3, ID 4 , to form the access judgment flag 56 indicating whether or not the drawing command is one that was temporarily stored in the drawing command memory 54a on RAM 22. The access determination flag 56 is set to “1” when the drawing command is temporarily stored in the drawing command memory 54a, and the drawing command is not stored in the drawing command memory 54a yet. "0" is set when stored in the memory 26. Next, as in the first embodiment, the list creation unit 41 creates a band-compatible drawing command full list 53 and stores it in the list table 52 in the RAM 22.

【0033】フルリスト53が作成されると、描画コマ
ンド記憶制御部42aは、このフルリスト53を参照し
て、第0バンドには描画コマンドAを展開することを認
識してから、フルリスト39に示されている描画コマン
ドAのオフセットIDに対応するアクセス判断フラグ
56を参照して、描画コマンドAが描画コマンドメモリ
54aに一端記憶させたものであるか否かを認識する。
この場合、描画コマンドAのオフセットIDに対応す
るアクセス判断フラグ56が「0」なので、描画コマン
ドAが描画コマンドメモリ54aに未だ記憶させておら
ず、ハードディスク装置26中に記憶されていると認識
する。すると、描画コマンド記憶制御部42aは、第一
の実施形態と同様に、オフセットテーブル51に記憶さ
れているオフセットIDに対するオフセット値aを抽
出し、ハードディスク装置26のオフセット値aの箇所
から、描画コマンドAを呼び出し、この描画コマンドA
をRAM22上の描画コマンドメモリ54aに記憶す
る。
When the full list 53 is created, the drawing command storage control unit 42a refers to the full list 53 and recognizes that the drawing command A is to be expanded to the 0th band. With reference to the access determination flag 56 corresponding to the offset ID 0 of the drawing command A shown in (1), it is recognized whether or not the drawing command A is stored once in the drawing command memory 54a.
In this case, since the access determination flag 56 corresponding to the offset ID 0 of the drawing command A is “0”, it is recognized that the drawing command A has not been stored in the drawing command memory 54 a yet, but is stored in the hard disk device 26. I do. Then, similarly to the first embodiment, the drawing command storage control unit 42a extracts the offset value a for the offset ID 0 stored in the offset table 51, and draws the drawing value from the position of the offset value a in the hard disk device 26. Command A is called and this drawing command A
Is stored in the drawing command memory 54a on the RAM 22.

【0034】描画コマンド記憶制御部42aが描画コマ
ンドAを描画コマンドメモリ54aに記憶すると、アク
セス判断部44は、描画コマンドAのオフセットID
に対応するアクセス判断フラグ56を「1」に変更す
る。このとき、リスト作成部41は、オフセットテーブ
ル51のオフセットIDと関係付けられているオフセ
ット値aを、描画コマンドメモリ54a中の描画コマン
ドAのメモリアドレスに変更する。なお、描画コマンド
Aのオフセット値aは、描画コマンドAと対応付けられ
て描画コマンドメモリ54aに記憶される。つまり、描
画コマンドAのオフセット値aは、描画コマンドメモリ
54aに退避させられる。
When the drawing command storage control unit 42a stores the drawing command A in the drawing command memory 54a, the access determining unit 44 determines the offset ID 0 of the drawing command A.
Is changed to "1". At this time, the list creation unit 41 changes the offset value a associated with the offset ID 0 of the offset table 51 to the memory address of the drawing command A in the drawing command memory 54a. The offset value a of the drawing command A is stored in the drawing command memory 54a in association with the drawing command A. That is, the offset value a of the drawing command A is saved in the drawing command memory 54a.

【0035】描画コマンドメモリ54aに描画コマンド
Aが記憶されると、イメージデータ展開部43が、オフ
セットテーブル51のIDと関係付けられているメモ
リアドレスを参照して、描画コマンドメモリ54aから
描画コマンドAを呼び出して、第一の実施形態と同様
に、バンドメモリ55上にRGBイメージデータとして
展開する。描画コマンド記憶制御部42aは、フルリス
ト53から、描画コマンドA以外は描画に使用しないこ
とがわかるので、アクセス判断フラグ56が「1」にな
っている描画コマンドA以外の描画コマンドがあれば、
これを描画コマンドメモリ54aから消去する。
When the drawing command A is stored in the drawing command memory 54a, the image data developing unit 43 refers to the memory address associated with ID 0 of the offset table 51 and reads the drawing command A from the drawing command memory 54a. A is called and developed as RGB image data on the band memory 55 as in the first embodiment. The drawing command storage control unit 42a knows from the full list 53 that the drawing command A is not used for drawing, so if there is a drawing command other than the drawing command A for which the access determination flag 56 is “1”,
This is deleted from the drawing command memory 54a.

【0036】第0バンド分の描画コマンドがイメージ展
開されると,描画コマンド記憶制御部42aが再びフル
リスト53を参照して、次の第1バンドに展開すべき描
画コマンドを調べ、この第1バンドには描画コマンドA
と描画コマンドCを展開することを認識する。次に、フ
ルリスト53に示されている描画コマンドA,CのID
,IDに対応するアクセス判断フラグ56を参照し
て、描画コマンドA,Cが描画コマンドメモリ54aに
一端記憶させたものであるか否かを認識する。この場
合、描画コマンドAのオフセットIDに対応するアク
セス判断フラグ56が「1」になっており、描画コマン
ドAが既に描画コマンドメモリ54aに記憶されている
ので、描画コマンド記憶制御部42aは描画コマンドA
に関してハードディスク装置26にアクセスしない。
When the drawing commands for the 0th band are image-developed, the drawing command storage control unit 42a refers to the full list 53 again and checks the drawing commands to be developed for the next first band. Draw command A for band
And the rendering command C is expanded. Next, the IDs of the drawing commands A and C shown in the full list 53
With reference to the access determination flag 56 corresponding to 0 and ID 2 , it is recognized whether or not the drawing commands A and C are stored once in the drawing command memory 54a. In this case, since the access determination flag 56 corresponding to the offset ID 0 of the drawing command A is “1” and the drawing command A is already stored in the drawing command memory 54a, the drawing command storage control unit 42a Command A
The hard disk device 26 is not accessed.

【0037】一方で、描画コマンドCのオフセットID
に対応するアクセス判断フラグ56が「0」なので、
描画コマンド記憶制御部42aは描画コマンドCに関し
てハードディスク装置26にアクセスして、描画コマン
ドCを描画コマンドメモリ54aに記憶する。描画コマ
ンド記憶制御部42aが描画コマンドCを描画コマンド
メモリ54aに記憶すると、アクセス判断部44は、描
画コマンドCのオフセットIDに対応するアクセス判
断フラグ56を「1」に変更する。このとき、リスト作
成部41は、オフセットテーブル51のオフセットID
と関係付けられているオフセット値cを、描画コマン
ドメモリ54a中の描画コマンドCのメモリアドレスに
変更する。
On the other hand, the offset ID of the drawing command C
Since the access determination flag 56 corresponding to 2 is “0”,
The drawing command storage control unit 42a accesses the hard disk device 26 for the drawing command C and stores the drawing command C in the drawing command memory 54a. When the drawing command storage control unit 42a stores the drawing command C in the drawing command memory 54a, the access determining unit 44 changes the access determination flag 56 corresponding to the offset ID 2 of the drawing command C to “1”. At this time, the list creation unit 41 sets the offset ID in the offset table 51
The offset value c associated with 2 is changed to the memory address of the drawing command C in the drawing command memory 54a.

【0038】描画コマンドメモリ54aに描画コマンド
Cが記憶されると、イメージデータ展開部43が、オフ
セットテーブル51のID,IDと関係付けられて
いるメモリアドレスを参照して、描画コマンドメモリ5
4aから描画コマンドA,Cを呼び出して、これらをバ
ンドメモリ55上にRGBイメージデータとして展開す
る。描画コマンド記憶制御部42aは、フルリスト53
から、描画コマンドAが以降のバンドでの描画に使用し
ないことがわかるので、アクセス判断フラグ56が
「1」になっている描画コマンドAを描画コマンドメモ
リ54aから消去する。以下、第2バンド以降も、以上
と同様に行われる。
When the drawing command C is stored in the drawing command memory 54a, the image data expanding section 43 refers to the memory addresses associated with ID 0 and ID 2 of the offset table 51 and draws the drawing command memory 5
The drawing commands A and C are called from 4a, and these are developed on the band memory 55 as RGB image data. The drawing command storage control unit 42 a
From this, it can be seen that the drawing command A is not used for drawing in the subsequent bands, so that the drawing command A whose access determination flag 56 is "1" is deleted from the drawing command memory 54a. Hereinafter, the same procedure is performed for the second band and thereafter.

【0039】本実施形態では、第一の実施形態と同様
に、RAM22に記憶されるデータ数量を少なくするこ
とができると共に、一端、ハードディスク装置26から
呼び出してRAM22上に記憶した描画コマンドに関し
ては、再度、ハードディスク装置26にアクセスしない
ようにしたので、ハードディスク装置26へのアクセス
回数が減り、1ページ分の描画コマンドのイメージ展開
を短時間に行うことができる。
In the present embodiment, as in the first embodiment, the amount of data stored in the RAM 22 can be reduced, and at one end, the drawing command called from the hard disk device 26 and stored in the RAM 22 is: Since the access to the hard disk device 26 is not performed again, the number of accesses to the hard disk device 26 is reduced, and the image development of the drawing command for one page can be performed in a short time.

【0040】次に、図5を用いて、本発明に係るプリン
タホストの第三の実施形態について説明する。プリンタ
ホスト本体は、主要機能としては第二の実施形態と基本
的に同様である。但し、リスト作成部41bが作成する
リストが第一及び第二の実施形態と異なる。本実施形態
のリスト作成部41bでは、バンド対応描画コマンドリ
ストとして、描画コマンド差分リスト53aと、1バン
ド分描画リスト53bとを作成する。
Next, a third embodiment of the printer host according to the present invention will be described with reference to FIG. The main function of the printer host body is basically the same as that of the second embodiment. However, the list created by the list creating unit 41b is different from the first and second embodiments. The list creation unit 41b of the present embodiment creates a drawing command difference list 53a and a drawing list 53b for one band as a drawing command list corresponding to a band.

【0041】描画コマンド差分リスト53aは、複数の
描画コマンドのそれぞれをイメージ展開した際にイメー
ジの開始位置に対応するバンドに、このイメージを示す
描画コマンドの開始を関係付け、複数の描画コマンドの
それぞれをイメージ展開した際にイメージの終了位置に
対応するバンドに、このイメージを示す描画コマンドの
終了を関係付けたものである。
The drawing command difference list 53a associates the start of the drawing command indicating the image with the band corresponding to the start position of the image when each of the plurality of drawing commands is developed into an image. Is associated with the band corresponding to the end position of the image when the image is developed.

【0042】具体的には、差分リスト53aの各バンド
欄を、描画コマンドの開始が関係付けられる開始欄と、
描画コマンドの終了が関係付けられる終了欄とに分け
る。そして、各バンド欄の開始欄及び終了欄に対応する
描画コマンドを順次関係付けて行く。本実施形態の場
合、第0バンドに関しては、描画コマンドAの示すイメ
ージが開始位置になるので、第0バンド欄の開始欄に描
画コマンドAを関係付け、すべての描画コマンドのいず
れのイメージも終了位置にはならないので、第0バンド
欄の終了欄にはいずれの描画コマンドも関係付けずに、
終端を示す「e」を付ける。第1バンドに関しては、描
画コマンドCの示すイメージが開始位置になるので、第
1バンド欄の開始欄に描画コマンドCを関係付け、描画
コマンドAの示すイメージが終了位置になるので、第1
バンド欄の終了欄に描画コマンドAを関係付ける。第2
バンド欄以降も、以上と同様に各描画コマンドが関係付
けられる。
Specifically, each band column of the difference list 53a is defined as a start column to which the start of a drawing command is related.
It is divided into an end column to which the end of the drawing command is related. Then, the drawing commands corresponding to the start column and the end column of each band column are sequentially related. In the case of the present embodiment, since the image indicated by the drawing command A is the start position for the 0th band, the drawing command A is associated with the start column of the 0th band column, and any image of all the drawing commands ends. Since it does not become the position, no drawing command is related to the end column of the 0th band column,
Add “e” to indicate the end. As for the first band, the image indicated by the drawing command C is the start position. Therefore, the drawing command C is associated with the start column of the first band column, and the image indicated by the drawing command A is the end position.
The drawing command A is associated with the end column of the band column. Second
Each drawing command is related also in the band column and thereafter.

【0043】1バンド分描画リスト53bは、これから
イメージ展開される一つのバンドに、対応する全ての描
画コマンドを関係付けたもので、第一及び第二の実施形
態におけるバンド対応描画コマンド・フルリスト53の
1バンド分のリストと同じである。
The one-band drawing list 53b is a list in which all the corresponding drawing commands are associated with one band to be image-developed from now on, and the band-compatible drawing command full list in the first and second embodiments. This is the same as the list of 53 for one band.

【0044】次に、各機能部位の動作について説明す
る。リスト作成部41bは、オフセットテーブル51を
作成した後、前述した描画コマンド差分リスト53aを
作成してから、第0バンドのみに関する1バンド分描画
コマンドリスト53bを作成する。
Next, the operation of each functional part will be described. After creating the offset table 51, the list creating unit 41b creates the above-described drawing command difference list 53a, and then creates a one-band drawing command list 53b for only the 0th band.

【0045】描画コマンド記憶制御部42aは、1バン
ド分コマンドリスト53bを参照して、ハードディスク
装置26に記憶されている第0バンドに関する描画コマ
ンドAを呼び出して、これを描画コマンドメモリ54b
に記憶する。以下は、基本的に第二の実施形態と同様で
ある。
The drawing command storage control section 42a refers to the command list 53b for one band, calls the drawing command A for the 0th band stored in the hard disk device 26, and stores it in the drawing command memory 54b.
To memorize. The following is basically the same as in the second embodiment.

【0046】なお、本実施形態では、差分リスト53a
の他に1バンド分リスト53bを設けたが、差分リスト
53aがあれば、本質的には1バンド分リスト53bは
不要である。しかしながら、例えば、描画コマンド記憶
制御部42aが第3バンドに関する描画コマンドを呼び
出す場合、差分リスト53aのみでは第3バンド欄と第
2バンド欄を参照する必要が生じるため、処理を容易に
するために1バンド分リスト53bを設けた方が好まし
い。
In this embodiment, the difference list 53a
In addition to the above, a one-band list 53b is provided, but if there is a difference list 53a, the one-band list 53b is essentially unnecessary. However, for example, when the drawing command storage control unit 42a calls a drawing command related to the third band, it is necessary to refer to the third band column and the second band column only with the difference list 53a. It is preferable to provide the list 53b for one band.

【0047】また、本実施形態では、アクセス判断部4
4及びアクセス判断フラグ56を設けたが,差分リスト
53aがあれば、描画コマンド記憶制御部42aがこれ
から呼び出す描画コマンドが最初に呼び出すものである
か既に一度呼び出したものであるか、言い換えると、ハ
ードディスク装置26にアクセスする必要があるか否か
が分かるので、これらも本質的には不要である。すなわ
ち、差分リスト53aを作成すれば、アクセス判断部4
4及びアクセス判断フラグ56を設けなくとも、第一の
実施形態よりも、ハードディスク装置26へのアクセス
回数を少なくすることができる。
In the present embodiment, the access determining unit 4
4 and the access determination flag 56, but if there is a difference list 53a, whether the drawing command to be called by the drawing command storage control unit 42a is to be called first or has already been called once, in other words, These are also essentially unnecessary, since it is known whether or not the device 26 needs to be accessed. That is, if the difference list 53a is created, the access determination unit 4
4 and the access determination flag 56, the number of accesses to the hard disk device 26 can be reduced as compared with the first embodiment.

【0048】次に、図6及び図7を用いて、描画コマン
ド差分リストを用いることの効果について説明する。描
画コマンド差分リストを用いると、前述したように、ハ
ードディスク装置26へのアクセス回数を少なくするこ
とができると共に、コマンド対応描画コマンドリストと
してのデータ量を少なくすることができる。
Next, the effect of using the drawing command difference list will be described with reference to FIGS. 6 and 7. FIG. When the drawing command difference list is used, as described above, the number of accesses to the hard disk device 26 can be reduced, and the data amount as the command corresponding drawing command list can be reduced.

【0049】リストとしてのデータ量を少なくできると
いう効果に関しては、図4中のコマンド対応描画コマン
ド・フルリスト53と、図5中の描画コマンド差分リス
ト53aとを比較すると、理解できない。しかしなが
ら、これは、1ページ分のイメージを簡単のために、図
8に示すように、5分割しかしていないからである。1
ページ分のイメージは、実際には、非常に多くの数に分
割される。
The effect that the amount of data as a list can be reduced cannot be understood by comparing the command corresponding drawing command full list 53 in FIG. 4 with the drawing command difference list 53a in FIG. However, this is because the image for one page is divided into only five parts as shown in FIG. 8 for simplicity. 1
An image for a page is actually divided into a very large number.

【0050】例えば、図6に示すように、以上で述べた
1バンドをさらに三分割して、1ページ分のイメージが
第0バンド〜第14バンドの15個のバンドからなるも
のとする。このように、15バンドある場合、図7
(a)に示すように、バンド対応描画コマンド・フルリ
ストでは、各バンド欄に関係付けられる描画コマンドの
オフセットIDの総数が20個であるのに対し、図7
(b)に示すように、描画コマンド差分リストでは、各
バンド欄に関係付けられる描画コマンドのオフセットI
Dの総数が8個で、図5中に示す描画コマンド差分リス
ト53aでのオフセットIDの総数と同じ数にしかなら
ない。これは、描画コマンド差分リストが、全てのバン
ド欄に、そのバンドで展開すべき全ての描画コマンドを
関係付けるのではなく、描画コマンドの開始と終了のみ
をバンド欄に関係付けているからである。
For example, as shown in FIG. 6, it is assumed that one band described above is further divided into three, and an image for one page is composed of fifteenth bands from the 0th band to the 14th band. Thus, when there are 15 bands, FIG.
As shown in FIG. 7A, the total number of offset IDs of the drawing commands associated with each band column is 20 in the band-compatible drawing command full list.
As shown in (b), in the drawing command difference list, the offset I of the drawing command associated with each band column is set.
The total number of D is eight, which is only the same as the total number of offset IDs in the drawing command difference list 53a shown in FIG. This is because the drawing command difference list does not relate all the drawing commands to be developed in the band to all the band columns, but only the start and end of the drawing command to the band column. .

【0051】なお、以上の全ての実施形態では、一つの
RAM22中に、オフセットテーブル51、リストテー
ブル52、描画コマンドメモリ54,54a,54b、
バンドメモリ55を形成したが、これらはいくつかのR
AMに分けて形成してもよい。
In all of the above embodiments, the offset table 51, the list table 52, the drawing command memories 54, 54a, 54b,
Band memories 55 were formed, but these
AM may be formed separately.

【0052】[0052]

【発明の効果】本発明によれば、外部記憶装置に記憶さ
れたスプールファイルを参照して、バンド対応描画コマ
ンドリストを作成してから、このリストを参照して目的
のバンドに関する描画コマンドのみを外部記憶装置から
呼び出して、これを主記憶装置であるメモリに記憶させ
ているので、メモリ上に描画コマンドを記憶させる領域
としては1バンド分で済み、メモリに記憶されるデータ
数量を遥かに少なくすることができる。
According to the present invention, a band-compatible drawing command list is created with reference to a spool file stored in an external storage device, and then only drawing commands relating to a target band are referenced with reference to this list. Since it is called from the external storage device and stored in the memory which is the main storage device, the area for storing the drawing command on the memory is sufficient for one band, and the amount of data stored in the memory is far less. can do.

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

【図1】本発明に係る第一の実施形態におけるプリンタ
ホストの回路ブロック図である。
FIG. 1 is a circuit block diagram of a printer host according to a first embodiment of the present invention.

【図2】本発明に係る第一の実施形態におけるプリンタ
ホストのソフトウェア構成図である。
FIG. 2 is a software configuration diagram of a printer host according to the first embodiment of the present invention.

【図3】本発明に係る第一の実施形態におけるプリンタ
ホストの機能ブロック図である。
FIG. 3 is a functional block diagram of a printer host according to the first embodiment of the present invention.

【図4】本発明に係る第二の実施形態におけるプリンタ
ホストの機能ブロック図である。
FIG. 4 is a functional block diagram of a printer host according to a second embodiment of the present invention.

【図5】本発明に係る第三の実施形態におけるプリンタ
ホストの機能ブロック図である。
FIG. 5 is a functional block diagram of a printer host according to a third embodiment of the present invention.

【図6】1ページ分のイメージ(15分割)例を示す説
明図である。
FIG. 6 is an explanatory diagram showing an example of an image for one page (15 divisions).

【図7】図6に示すイメージに関する、バンド対応描画
コマンド・フルリストと描画コマンド差分リストを示す
説明図である。
FIG. 7 is an explanatory diagram showing a band corresponding drawing command full list and a drawing command difference list for the image shown in FIG. 6;

【図8】1ページ分のイメージ(5分割)例を示す説明
図である。
FIG. 8 is an explanatory diagram showing an example of an image for one page (5 divisions).

【図9】1ページ分のイメージに関するスプールファイ
ルの構成を示す説明図である。
FIG. 9 is an explanatory diagram showing a configuration of a spool file relating to an image for one page.

【図10】従来技術における、スプールファイルに記憶
された1ページ分の描画コマンドをイメージ展開する手
法を説明する説明図である。
FIG. 10 is an explanatory diagram illustrating a method of developing a drawing command for one page stored in a spool file into an image according to the related art.

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

1…スキャナ 2…プリンタ 10…プリンタホスト 11…ホスト本体 17…CD 20…CPU 21…ROM 22…RAM 26…ハードディスク装置 27…CD装置 34…スプールマネージャ 35…リプレイマネージャ 36…レンダラ 37…二値化モジュール 38…コマンドジェネレータ 39…スプールファイル 41,41b…リスト作成部 42,42a…描画コマンド記憶制御部 43…イメージデータ展開部 44…アクセス判断部 51…オフセットテーブル 52…リストテーブル 53,53c…バンド対応描画コマンド・フルリスト 53a…描画コマンド差分リスト 53b…1バンド分描画コマンドリスト 54,54a,54b…描画コマンドメモリ 55…バンドメモリ 56…アクセス判断フラグ DESCRIPTION OF SYMBOLS 1 ... Scanner 2 ... Printer 10 ... Printer host 11 ... Host body 17 ... CD 20 ... CPU 21 ... ROM 22 ... RAM 26 ... Hard disk drive 27 ... CD drive 34 ... Spool manager 35 ... Replay manager 36 ... Renderer 37 ... Binarization Module 38 Command generator 39 Spool file 41, 41b List creation unit 42, 42a Drawing command storage control unit 43 Image data development unit 44 Access judgment unit 51 Offset table 52 List table 53, 53c Band support Draw command full list 53a Draw command difference list 53b Draw command list for one band 54, 54a, 54b Draw command memory 55 Band memory 56 Access judgment flag

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 外部記憶装置と主記憶装置とを備え、該
外部記憶装置にスプールファイルとして記憶された1ペ
ージ分の描画コマンドの束を、所定のバンド幅のバンド
毎にイメージデータとして展開するプリンタホストにお
いて、 前記外部記憶装置に記憶されている前記スプールファイ
ルを参照して、複数の前記描画コマンドのうちのいずれ
の描画コマンドがいずれのバンドに対応するかを示すバ
ンド対応描画コマンドリストを作成するリスト作成手段
と、 前記主記憶装置の一部で、1バンド分の前記描画コマン
ドが記憶される描画コマンド記憶領域と、 前記主記憶装置の他の一部で、1バンド分の前記イメー
ジデータが展開されるイメージデータ展開領域と、 前記バンド対応描画コマンドリストに従って、前記外部
記憶装置に記憶されているスプールファイルから各バン
ドに対応する描画コマンドを順次読み取り、読み取った
1バンド分の該描画コマンドを前記描画コマンド記憶領
域に記憶する描画コマンド記憶制御手段と、 前記描画コマンド記憶領域に記憶された1バンド分の描
画コマンドをイメージデータに変換して前記イメージデ
ータ展開領域に展開するイメージデータ展開手段と、を
備えていることを特徴とするプリンタホスト。
An external storage device and a main storage device are provided, and a bundle of drawing commands for one page stored as a spool file in the external storage device is developed as image data for each band having a predetermined bandwidth. In the printer host, referring to the spool file stored in the external storage device, create a band corresponding drawing command list indicating which drawing command of the plurality of drawing commands corresponds to which band A drawing command storage area in which a drawing command for one band is stored in a part of the main storage device, and the image data for one band in another part of the main storage device Are stored in the external storage device according to the image data development area where the A drawing command storage control means for sequentially reading drawing commands corresponding to each band from the spool file to be stored, and storing the read drawing commands for one band in the drawing command storage area; A printer host, comprising: image data expanding means for converting a drawing command for a band into image data and expanding the image data in the image data expanding area.
【請求項2】 請求項1に記載のプリンタホストにおい
て、 複数の描画コマンドのうち、前記描画コマンド記憶領域
に一旦記憶されたものであるか、該描画コマンド記憶領
域に未だ記憶されておらず前記外部記憶装置に記憶され
ているものであるかを判断するアクセス判断手段を備
え、 前記描画コマンド記憶制御手段は、前記描画コマンドが
前記描画コマンド記憶領域に未だ記憶されておらず前記
外部記憶装置に記憶されているものであると前記アクセ
ス判断手段で判断された場合に、前記バンド対応描画コ
マンドリストを参照して前記外部記憶装置にアクセスす
る、 ことを特徴とするプリンタホスト。
2. The printer host according to claim 1, wherein, out of the plurality of drawing commands, one of the plurality of drawing commands is temporarily stored in the drawing command storage area, or the plurality of drawing commands are not yet stored in the drawing command storage area. An access determining unit that determines whether the drawing command is stored in the external storage device, wherein the drawing command storage control unit stores the drawing command in the external storage device because the drawing command is not yet stored in the drawing command storage area. A printer host that accesses the external storage device with reference to the band-compatible drawing command list when the access determining unit determines that the external storage device is stored.
【請求項3】 請求項1及び2のいずれか一項に記載の
プリンタホストにおいて、 前記リスト作成手段は、前記バンド対応描画コマンドリ
ストとして、複数の前記描画コマンドのそれぞれをイメ
ージ展開した際にイメージの開始位置に対応するバンド
に、該イメージを示す描画コマンドの開始を関係付け、
複数の前記描画コマンドのそれぞれをイメージ展開した
際にイメージの終了位置に対応するバンドに、該イメー
ジを示す描画コマンドの終了を関係付けた描画コマンド
差分リストを作成することを特徴とするプリンタホス
ト。
3. The printer host according to claim 1, wherein the list creation unit creates an image when each of the plurality of drawing commands is image-developed as the band-based drawing command list. Relating the start of the drawing command indicating the image to the band corresponding to the start position of
A printer host, wherein when a plurality of drawing commands are image-developed, a drawing command difference list is created in which a drawing command difference list is associated with a band corresponding to an end position of the image.
【請求項4】 請求項3に記載のプリンタホストにおい
て、 前記リスト作成手段は、前記描画コマンド差分リストを
参照して、これからイメージ展開される一つのバンド
に、対応する全ての描画コマンドを関係付けた1バンド
分描画コマンドリストを、前記バンド対応描画コマンド
リストの一部として作成し、 前記描画コマンド記憶制御手段は、前記1バンド分描画
コマンドリストを参照して、1バンド分の前記描画コマ
ンドを前記描画コマンド記憶領域に記憶する、ことを特
徴とするプリンタホスト。
4. The printer host according to claim 3, wherein the list creation unit refers to the drawing command difference list and associates all the corresponding drawing commands with one band to be developed from now on. The drawing command list for one band is created as a part of the drawing command list corresponding to the band, and the drawing command storage control unit refers to the drawing command list for one band, and generates the drawing command for one band. A printer host storing the image data in the drawing command storage area.
【請求項5】 外部記憶装置と主記憶装置とを備えたプ
リンタホストで、該外部記憶装置にスプールファイルと
して記憶された1ページ分の描画コマンドの束を、予め
定めたバンド幅のバンド毎にイメージデータとして展開
するプログラムが記憶されている記憶媒体において、 前記外部記憶装置に記憶されている前記スプールファイ
ルを参照して、複数の前記描画コマンドのうちのいずれ
の描画コマンドがいずれのバンドに対応するかを示すバ
ンド対応描画コマンドリストを作成するリスト作成手順
と、 前記主記憶装置の一部で1バンド分の前記描画コマンド
が記憶される描画コマンド記憶領域に、前記バンド対応
描画コマンドリストに従って、前記外部記憶装置に記憶
されている前記スプールファイルから各バンドに対応す
る描画コマンドを順次読み取り、読み取った1バンド分
の該描画コマンドを該描画コマンド記憶領域に記憶する
描画コマンド記憶制御手順と、 前記描画コマンド記憶領域に記憶された1バンド分の描
画コマンドをイメージデータに変換して、前記主記憶装
置の他の一部で1バンド分のイメージデータが展開され
るイメージデータ展開領域に、該イメージデータを展開
するイメージデータ展開手順と、 を有することを特徴とするプログラムが記憶されている
記憶媒体。
5. A printer host having an external storage device and a main storage device, wherein a bunch of drawing commands for one page stored as a spool file in the external storage device is stored for each band having a predetermined bandwidth. In a storage medium storing a program to be developed as image data, with reference to the spool file stored in the external storage device, any one of the plurality of drawing commands corresponds to any band A list creation procedure for creating a band corresponding drawing command list indicating whether to perform the drawing, and a drawing command storage area in which the drawing commands for one band are stored in a part of the main storage device, according to the band corresponding drawing command list. Drawing commands corresponding to each band from the spool file stored in the external storage device A drawing command storage control procedure for sequentially reading and storing the read one-band drawing command in the drawing command storage area; and converting the one-band drawing command stored in the drawing command storage area into image data. And an image data development procedure for developing the image data in an image data development area where one band of image data is developed in another part of the main storage device. Storage media.
【請求項6】 請求項5に記載の記憶媒体において、 複数の描画コマンドのうち、前記描画コマンド記憶領域
に一旦記憶されたものであるか、該描画コマンド記憶領
域に未だ記憶されておらず前記外部記憶装置に記憶され
ているものであるかを判断するアクセス判断手順を有
し、 前記描画コマンド記憶制御手順は、前記描画コマンドが
前記描画コマンド記憶領域に未だ記憶されておらず前記
外部記憶装置に記憶されているものであると,前記アク
セス判断手順で判断された場合に、前記外部記憶装置に
アクセスする、 ことを特徴とするプログラムが記憶されていることを特
徴とする記憶媒体。
6. The storage medium according to claim 5, wherein, among the plurality of drawing commands, one of the plurality of drawing commands is once stored in the drawing command storage area, or the plurality of drawing commands are not yet stored in the drawing command storage area. An access determining step of determining whether the drawing command is stored in an external storage device, wherein the drawing command storage control procedure is such that the drawing command is not yet stored in the drawing command storage area and the external storage device A program for accessing the external storage device when it is determined in the access determination procedure that the external storage device is stored in the storage medium.
【請求項7】 請求項5及び6のいずれか一項に記載の
記憶媒体において、 前記リスト作成手順は、前記バンド対応描画コマンドリ
ストとして、複数の前記描画コマンドのそれぞれをイメ
ージ展開した際にイメージの開始位置に対応するバンド
に、該イメージを示す描画コマンドの開始を関係付け、
複数の前記描画コマンドのそれぞれをイメージ展開した
際にイメージの終了位置に対応するバンドに、該イメー
ジを示す描画コマンドの終了を関係付けた描画コマンド
差分リストを作成することを特徴とするプログラムが記
憶されている記憶媒体。
7. The storage medium according to claim 5, wherein the list creation step is performed when an image of each of the plurality of drawing commands is developed as the band corresponding drawing command list. Relating the start of the drawing command indicating the image to the band corresponding to the start position of
A program for creating a drawing command difference list that associates the end of a drawing command indicating the image with a band corresponding to the end position of the image when each of the plurality of drawing commands is developed into an image Storage media.
JP23269299A 1999-08-19 1999-08-19 Printer host and storage medium storing operation program thereof Expired - Fee Related JP3760686B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP23269299A JP3760686B2 (en) 1999-08-19 1999-08-19 Printer host and storage medium storing operation program thereof
US09/639,886 US6778292B1 (en) 1999-08-19 2000-08-17 Printer host and storage medium storing the operation program therefor
DE60042580T DE60042580D1 (en) 1999-08-19 2000-08-18 Printer host and storage medium to save the operating program
AT00307114T ATE437396T1 (en) 1999-08-19 2000-08-18 PRINTER HOST AND STORAGE MEDIA TO SAVE THE OPERATING PROGRAM
EP00307114A EP1077402B1 (en) 1999-08-19 2000-08-18 Printer host and storage medium storing the operation program therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23269299A JP3760686B2 (en) 1999-08-19 1999-08-19 Printer host and storage medium storing operation program thereof

Publications (2)

Publication Number Publication Date
JP2001058429A true JP2001058429A (en) 2001-03-06
JP3760686B2 JP3760686B2 (en) 2006-03-29

Family

ID=16943294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23269299A Expired - Fee Related JP3760686B2 (en) 1999-08-19 1999-08-19 Printer host and storage medium storing operation program thereof

Country Status (1)

Country Link
JP (1) JP3760686B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8149448B2 (en) 2005-08-31 2012-04-03 Sharp Laboratories Of America, Inc. Systems and methods for rapidly creating an image from a document

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8149448B2 (en) 2005-08-31 2012-04-03 Sharp Laboratories Of America, Inc. Systems and methods for rapidly creating an image from a document

Also Published As

Publication number Publication date
JP3760686B2 (en) 2006-03-29

Similar Documents

Publication Publication Date Title
JPH07205496A (en) Page printer and method for data compression
JP4695815B2 (en) Drawing processing apparatus, drawing processing method, computer-readable storage medium, and program
US6778292B1 (en) Printer host and storage medium storing the operation program therefor
JP2001058429A (en) Printer host and memory medium storing operation program thereof
JP4136282B2 (en) Image processing apparatus, image processing method, and storage medium
JP2001058430A (en) Printer host and memory medium storing operation program thereof
US9361555B2 (en) Method, apparatus and system for rendering an object on a page
JP3147613B2 (en) Character data management device and character output device provided with the same
JPH09274546A (en) Printer, data processing method for the same and storage medium storing program readable for computer
JP3912849B2 (en) Character processing apparatus, character processing method, and recording medium
JP2959490B2 (en) String addition method
JPH07191822A (en) Data storage device and data system
JP2004056446A (en) Picture processor, picture processing method, computer readable storage medium and program
JPS61260290A (en) Dot pattern expansion processing system
KR100243403B1 (en) Apparatus and method for automatically converting graphic window screen form into text form
JP2000163264A (en) Program storage device for cpu
JP2933222B2 (en) Document processing device
JPH10124695A (en) Picture processor and method therefor and storage medium for storing program readable by computer
JP2000158723A (en) Image processor, image processing method and memory medium storing computer readable program
JPH0962855A (en) Information processor, information processing method and storage medium
JP2001053957A (en) Printer host, printer, printer system and storage medium storing program for converting plotting instruction to binarized image data
JPH10289327A (en) Method and device for managing read data conversion
JPH09274479A (en) Device and method for processing character
JPH01269575A (en) Document output device
JPS61157938A (en) Format conversion of binary data

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050920

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051111

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20051111

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20051220

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060102

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100120

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110120

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110120

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120120

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120120

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130120

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130120

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140120

Year of fee payment: 8

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees