JPH1091366A - Print processor - Google Patents

Print processor

Info

Publication number
JPH1091366A
JPH1091366A JP8241898A JP24189896A JPH1091366A JP H1091366 A JPH1091366 A JP H1091366A JP 8241898 A JP8241898 A JP 8241898A JP 24189896 A JP24189896 A JP 24189896A JP H1091366 A JPH1091366 A JP H1091366A
Authority
JP
Japan
Prior art keywords
print
image
data
printer
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8241898A
Other languages
Japanese (ja)
Inventor
Toshihiro Kamata
敏弘 鎌田
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP8241898A priority Critical patent/JPH1091366A/en
Publication of JPH1091366A publication Critical patent/JPH1091366A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a print processor which can efficiently operate the hardware of a printer at successive print requests. SOLUTION: Print data requested to be printed are registered sequentially in a print queue 23 and the print data registered in this print queue 23 are expanded into print images, which are transferred to a printer 3. This print processor performs image expanding processes for expanding the print data into print images in parallel at successive print requests. Further, the data which are expanded into the print images are saved in an image buffer 24 by the requests, and transferred to the printer 3 when predetermined print conditions are met. Further, storage conditions are met when the data are saved in the image buffer 24, the data are compressed and stored in the image buffer 24, but when not, the data are stored in the image buffer 24 without being compressed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、イメージを含んだ
文書又はテキストのみからなる文書などの印刷要求を処
理する印刷処理装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a print processing apparatus for processing a print request such as a document including an image or a text-only document.

【0002】[0002]

【従来の技術】印刷を行う場合、プリンタ言語によって
文字の属性(フォン卜種類、サイズなど)、図形形状な
どが指定された印刷データを作成している。ユーザ印刷
要求ファイルから取り出した印刷データを印刷イメージ
に展開してプリンタのハードウエアへ転送するまでの印
刷処理は、プリンタ言語で書かれた印刷データをキュー
イングするプロセスと、印刷キューからデータを取り出
してイメージ展開するプロセスと、そのイメージを印刷
するハードウエアに転送し印刷要求をかけるプロセスと
に大きく分かれる。
2. Description of the Related Art When printing is performed, print data in which character attributes (font type, size, etc.), graphic shapes, and the like are specified by a printer language is created. The printing process, from extracting the print data extracted from the user print request file to a print image and transferring it to the hardware of the printer, consists of the process of queuing the print data written in the printer language and extracting the data from the print queue. The process can be broadly divided into the process of developing an image and the process of transferring the image to hardware for printing and issuing a print request.

【0003】印刷のパフオーマンスは、プリンタハード
自体の性能にも左右されるが、印刷データから印刷イメ
ージに展開する時間が大きく影響してくる。イメージ展
開時間は、それ自体の時間の積み上げが性能に影響する
だけでなく、プリンタハードの性能を100%引き出せ
るかまで左右する。
The performance of printing depends on the performance of the printer hardware itself, but greatly affects the time required to develop print data into a print image. The image development time affects not only the accumulation of the time itself, but also the performance of the printer hardware.

【0004】プリンタのハードウエアは、前回の印刷完
了から一定時間内に次の印刷要求がなければ、ローラの
回転をストップするなどウォームアップ状態を解除し、
次の印刷はローラの回転などの初期化処理から開始しな
ければならない。したがって、連続した印刷要求を効率
良く処理するためには印刷イメージに展開する時間を短
縮化してプリンタの制約時間内に次の印刷要求をプリン
タへ与えるようにしなければならない。
[0004] If there is no next print request within a certain period of time from the completion of the previous print, the hardware of the printer cancels the warm-up state by stopping the rotation of the rollers, etc.
The next printing must start from an initialization process such as rotation of the rollers. Therefore, in order to process successive print requests efficiently, it is necessary to reduce the time required to develop the print image and to give the next print request to the printer within the printer's time limit.

【0005】従来、印刷データから印刷イメージに展開
する時間を短縮するためにイメージ展開の処理と印刷要
求の処理とを独立して動作させる並行処理を行ってきた
が、このイメージ展開時間が印刷時間とプリンタの制約
時間を越えるような場合には効果がなかった。印刷キュ
ーに待ち列を形成している印刷データは、プリンタハー
ドとしては余裕があるにも拘らず、前回の印刷要求に対
する印刷ジョブが終わるまで待たなければならなかっ
た。
Conventionally, in order to reduce the time for developing print data into a print image, parallel processing for independently operating image development processing and print request processing has been performed. When the time exceeds the printer's time limit, there is no effect. The print data forming a queue in the print queue has to wait until the print job corresponding to the previous print request is completed, although there is room for the printer hardware.

【0006】[0006]

【発明が解決しようとする課題】このように、従来はプ
リンタハードには余裕があるにも拘らず前回の印刷要求
に対する印刷ジョブが終わるまで次の印刷要求の処理を
待たなければならないことから、イメージ展開に時間の
掛かる印刷データがあった場合にはボトルネックとなっ
てプリンタハードの機能を十分に活用することができな
かった。
As described above, conventionally, although the printer hardware has room, it is necessary to wait for the processing of the next print request until the print job for the previous print request ends. If there was print data that took a long time to develop the image, it became a bottleneck and the functions of the printer hardware could not be fully utilized.

【0007】本発明は、以上のような実情に鑑みてなさ
れたもので、連続した印刷要求に対してプリンタのハー
ドウエアを効率よく運用することができる印刷処理装置
を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to provide a print processing apparatus capable of efficiently operating printer hardware for continuous print requests. .

【0008】[0008]

【課題を解決するための手段】本発明は、上記目的を達
成するために以下のような手段を講じた。本発明は、イ
メージ展開の処理と印刷要求の部分を独立させ動作させ
る並行処理に加え、イメージ展開の処理自体を連続した
印刷要求に対して並行して処理するようにした。
In order to achieve the above object, the present invention takes the following measures. According to the present invention, in addition to the parallel processing for making the image development processing and the print request part independent and operating, the image development processing itself is processed in parallel for successive print requests.

【0009】また本発明は、イメージ展開されたデータ
に対して印刷可能か否かの判定条件を設け、印刷優先度
を動的に変更(判定条件の変更)することによって、プ
リンタにデータを転送・印刷要求をかけプリンタハード
ウエアを効率よく運用するようにした。
Further, according to the present invention, a condition for judging whether or not the image-developed data can be printed is provided, and the data is transferred to the printer by dynamically changing the print priority (changing the judgment condition).・ Printer requests are issued and printer hardware is operated efficiently.

【0010】また本発明は、イメージ展開されたデータ
を圧縮処理する圧縮処理機能に圧縮処理を行うか否の判
断条件を設定し、保存領域の制限が許せば(ページ数が
少ないなど)、圧縮処理および伸張処理という余分な処
理を行わないでイメージバッファに保存できるようにし
た。
Further, according to the present invention, a condition for judging whether or not to perform compression processing is set in a compression processing function for compressing image-decompressed data, and if the storage area is allowed to be limited (for example, the number of pages is small), the compression Saved in the image buffer without performing extra processing such as processing and decompression processing.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して説明する。この実施の形態に係る印刷
処理装置のソウトウエア構成を図1に示し、この印刷処
理装置を備えたシステムのハードウエア構成を図2に示
している。この印刷処理装置を備えたシステムは、印刷
処理全体のコントロール、キューイング処理、イメージ
展開処理、圧縮処理、伸張処理、プリンタコントロール
処理等を行う計算機1と、印刷キューに蓄えられる印刷
データの保管及びイメージ展開されたデータのイメージ
バッファとして機能するディスク2と、計算機1で作成
されたイメージデータを受け取りそのままの解像度で用
紙に印刷するプリンタ3とから構成されている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a software configuration of a print processing apparatus according to this embodiment, and FIG. 2 shows a hardware configuration of a system including the print processing apparatus. A system equipped with this print processing apparatus includes a computer 1 that performs control of the entire print processing, queuing processing, image expansion processing, compression processing, decompression processing, printer control processing, and storage and control of print data stored in a print queue. It comprises a disk 2 functioning as an image buffer for data that has undergone image development, and a printer 3 that receives image data created by the computer 1 and prints it on paper at the same resolution.

【0012】この印刷処理装置は、印刷処理における一
連の処理を管理するコントロール部10が設けられてい
る。印刷処理における一連の処理には、キューイング処
理となる印刷キュー登録処理、イメージ展開処理、イメ
ージ圧縮処理、イメージバッファ管理処理、イメージ展
開処理、プリンタコントロール処理がある。
This print processing apparatus is provided with a control unit 10 for managing a series of processes in a print process. A series of processes in the printing process includes a print queue registration process as a queuing process, an image expansion process, an image compression process, an image buffer management process, an image expansion process, and a printer control process.

【0013】印刷キュー登録処理11は、アプリケーシ
ヨンなどから要求のあった印刷データを印刷キューに登
録する処理である。印刷キューへの登録に際して印刷デ
ータを解析し、文字、イメージ、直線、曲線、塗りつぶ
しといったベクトルの印字又は書き込む総面積の量を算
出して、データ量/処理時間換算テーブル25により処
理時間を換算し、ページ数と共に各ジョブ/各ぺージ毎
にキュー管理テーブル21ヘ格納する。
The print queue registration process 11 is a process for registering print data requested by an application or the like in a print queue. At the time of registration in the print queue, the print data is analyzed, the total area of printing or writing of vectors such as characters, images, straight lines, curves, and fills is calculated, and the processing time is converted by the data amount / processing time conversion table 25. Is stored in the queue management table 21 for each job / page together with the number of pages.

【0014】イメージ展開処理12は、プリンタ言語を
解析し、文字情報、イメージ情報、ベクトル情報から1
ページ分のプリンタの印刷解像度と同等の印刷イメージ
を作成する処理である。総ページ数、イメージ展開を完
了したぺージ数(カレントページ)及び印刷開始指定ペ
ージをイメージバッファ管理テーブル22に格納する。
The image development processing 12 analyzes the printer language and performs one-character processing based on character information, image information, and vector information.
This is a process for creating a print image equivalent to the print resolution of the printer for the page. The total number of pages, the number of pages for which image development has been completed (current page), and the print start designation page are stored in the image buffer management table 22.

【0015】スケジューリング処理14は、イメージバ
ッファ24に格納された印刷イメージについてイメージ
バッファ管理テーブル22の情報にしたがって印刷を行
う順番を決定する処理である。
The scheduling process 14 is a process for determining the order of printing the print images stored in the image buffer 24 according to the information in the image buffer management table 22.

【0016】プリンタコントロール処理17は、イメー
ジバッファ24に格納された印刷データをプリンタ3へ
転送する処理と、プリンタ3のハードウエアをコントロ
ールする処理とからなる。
The printer control process 17 includes a process for transferring the print data stored in the image buffer 24 to the printer 3 and a process for controlling the hardware of the printer 3.

【0017】なお、必要な場合にはコントロール部10
からイメージ圧縮処理13及びイメージ伸張処理15の
起動が掛けられる。イメージ圧縮処理13は、イメージ
展開されたデータを圧縮しイメージバッファ24ヘ保存
する処理であり、イメージ伸張処理15はイメージバッ
ファ24に圧縮して保存されている印刷データをプリン
タ3ヘ送るために伸張する処理である。
If necessary, the control unit 10
Then, the image compression processing 13 and the image expansion processing 15 are started. The image compression process 13 is a process of compressing the image-decompressed data and storing it in the image buffer 24, and the image decompression process 15 is a process of decompressing the print data stored in the image buffer 24 to be sent to the printer 3. This is the processing to be performed.

【0018】また、この印刷処理装置は、上記各種処理
11〜17の実行状態を管理すると共に印刷データ及び
展開データを保存するために、各種のテーブル及びバッ
ファを備えている。
The print processing apparatus also includes various tables and buffers for managing the execution states of the various processes 11 to 17 and storing print data and expanded data.

【0019】データ量/処理時間換算テーブル25は、
印刷データに含まれている文字、イメージ、直線、曲
線、塗りつぶしの各面積に対する処理時間を換算するた
めのテーブルである。
The data amount / processing time conversion table 25
9 is a table for converting processing time for each area of a character, an image, a straight line, a curve, and a fill included in print data.

【0020】キュー管理テーブル21は、各ジョブの情
報である、ページ総数、処理状況などを格納するテーブ
ルであり、データ量/処理時間換算テーブル25を使っ
て求めた各ジョブ毎および各ページ毎の処理時間を格納
している。
The queue management table 21 is a table for storing information on each job, such as the total number of pages, the processing status, and the like. Each queue and each page obtained by using the data amount / processing time conversion table 25 are stored. Stores the processing time.

【0021】イメージバッファ管理テーブル22は、イ
メージ展開処理12が印刷データからイメージ展開した
各ジョブのイメージ展開情報(カレントページ/ページ
総数)を格納するテーブルである。
The image buffer management table 22 is a table for storing image development information (current page / total number of pages) of each job developed from print data by the image development processing 12.

【0022】印刷データキュー23は、プリンタ言語で
書かれた印刷データを格納するバッファである。また、
イメージバッファ24は、イメージ展開された印刷デー
タ、また圧縮された印刷データを格納するバッファであ
る。
The print data queue 23 is a buffer for storing print data written in a printer language. Also,
The image buffer 24 is a buffer that stores print data that has undergone image expansion and compressed print data.

【0023】以上のように構成された実施の形態におけ
る印刷処理内容について説明する。図3はこの実施の形
態での印刷処理の全体の流れを概念的に示した図であ
る。同図に示すように、ユーザが計算機1上で作成した
印刷データまたは外部記憶装置から読み込んだ印刷デー
タについてユーザから印刷要求が指示されると、コント
ロール部10から印刷キュー登録処理11が起動され
る。印刷キュー登録処理11では、ユーザから印刷要求
の指示された印刷データを印刷データキュー23に格納
する。印刷データキュー23の最後尾に登録した印刷デ
ータについての情報を図5に示すキュー管理テーブル2
1に設定する。すなわち、印刷データキュー23におけ
る順位に相当するキュー順位の位置にページ総数を設定
すると共に登録済みを設定する。ユーザから印刷要求が
指示される度にこの処理を繰り返す。 コントロール部
10は、キュー管理テーブル21の「処理状況」から登
録済が無くなるまで、図4に示すイメージ展開起動処理
を繰り返す。キュー管理テーブル21の「処理状況」を
キュー順位の上位から検索し、未だイメージ展開が起動
されていない登録済のステータスが設定されている印刷
データを取り出す。この印刷データに対して印刷イメー
ジへの展開処理を割り付けてイメージ展開処理を起動す
る。図3に示すように、印刷データキュー23にキュー
イングされた印刷データは順次起動を掛けることにより
平行してイメージ展開処理が実行されることになる。印
刷データキュー23からイメージ展開処理が実行された
印刷データについてはキュー管理テーブル21の「処理
状況」を登録済からイメージ展開に変更する。
A description will be given of the contents of the printing process in the embodiment configured as described above. FIG. 3 is a diagram conceptually showing the overall flow of print processing in this embodiment. As shown in FIG. 2, when a user issues a print request for print data created on the computer 1 or read from an external storage device, the control unit 10 starts a print queue registration process 11. . In the print queue registration process 11, the print data instructed by the user to print is stored in the print data queue 23. The information about the print data registered at the end of the print data queue 23 is stored in the queue management table 2 shown in FIG.
Set to 1. That is, the number of pages is set at the position of the queue rank corresponding to the rank in the print data queue 23, and "registered" is set. This process is repeated each time a print request is instructed by the user. The control unit 10 repeats the image development start processing shown in FIG. 4 until the registered state disappears from the “processing state” in the queue management table 21. The “processing status” in the queue management table 21 is searched from the top in the queue order, and print data with a registered status for which image development has not been started yet is set. The image data is allocated to the print data, and the image data is expanded. As shown in FIG. 3, the print data queued in the print data queue 23 is sequentially activated, so that the image development processing is executed in parallel. For the print data on which image development processing has been executed from the print data queue 23, the "processing status" of the queue management table 21 is changed from registered to image development.

【0024】イメージ展開処理12により平行してイメ
ージ展開している各印刷データについて1ページ分のイ
メージ展開が終了する度に、図6に示すようにイメージ
バッファ管理テーブル22における該当キュー順位の処
理ページを変更する。したがって、イメージバッファ管
理テーブル22において現在キューイングされている全
印刷データについてのイメージ展開された処理ページ枚
数が管理されている。
Each time one page of image development is completed for each print data image developed in parallel by the image development process 12, as shown in FIG. To change. Therefore, the image buffer management table 22 manages the number of processed pages to which images are developed for all currently queued print data.

【0025】このように、複数の印刷データを平行して
イメージ展開することにより、CPU、ディスク等の資
源を効率的に使用でき、複数の印刷要求がある場合、高
速にイメージ展開を行うことができる。印刷データキュ
ー23に蓄えられた印刷データは、それぞれイメージ展
開処理を完了するまでの時間が異なる。従来は、印刷総
ページ数が1ページだけのため印刷に数秒しか掛からな
いデータでも、前のジョブが数十分かかる場合には、そ
の間待たなければならなかった。この実施の形態のよう
に平行に処理することにより、先にイメージ展開が終了
するショブを優先して印刷することができ、または前の
ショッブに割り込んで印刷することができる。
As described above, by developing a plurality of print data in parallel, resources such as a CPU and a disk can be used efficiently, and when there are a plurality of print requests, the image can be developed at high speed. it can. The print data stored in the print data queue 23 has different times until the image development processing is completed. Conventionally, even if data takes only a few seconds to print because the total number of printed pages is only one, if the previous job takes several tens of minutes, the user has to wait during that time. By performing processing in parallel as in this embodiment, it is possible to prioritize and print a job in which image development ends first, or to print by interrupting a previous job.

【0026】図3に示すように、印刷データからイメー
ジ展開された印刷イメージデータはイメージバッファ2
4に保存される。なお、図3ではイメージ展開された印
刷イメージデータはイメージバッファ24に保存する前
にイメージ圧縮処理をしているがこの部分の処理につい
ては後述する。
As shown in FIG. 3, print image data developed from print data is stored in an image buffer 2.
4 is stored. In FIG. 3, the print image data in which the image has been expanded is subjected to the image compression processing before being stored in the image buffer 24, but the processing of this part will be described later.

【0027】スケジューリング処理14では、図7に示
すフローチャートにしたがってイメージバッファ管理テ
ーブル22の情報を参照しプリンタ3へ送るべき印刷イ
メージデータの順位を決定している。まず、イメージバ
ッファ管理テーブル22から各印刷イメージデータのペ
ージ総数と処理ページとをキュー順位の上位から順にチ
ェックして、処理ページ<総ページ数の関係になってい
るジョブを検索する。そして、検索されたジョブのカレ
ントページ(処理ページ)が印刷開始指定ページに達し
ているか否か判断する。
In the scheduling process 14, the order of the print image data to be sent to the printer 3 is determined by referring to the information in the image buffer management table 22 according to the flowchart shown in FIG. First, the total number of pages of each print image data and the processing pages are checked from the image buffer management table 22 in order from the top in the queue order, and a job having a relationship of processing pages <total number of pages is searched. Then, it is determined whether or not the current page (process page) of the searched job has reached the print start designation page.

【0028】処理ページ≧印刷開始指定ページの関係を
満たすジョブがあれば、図8に示すようにそのジョブに
ついてのキュー管理テーブル21上の処理状況を印刷中
に変更する。そして、そのジョブに対応する印刷イメー
ジデータをイメージバッファ24から取り出してプリン
タ3へ転送する。なお、図3ではイメージバッファ24
から取り出した印刷イメージデータをプリンタ3へ転送
する前にイメージ伸長処理をしているが、この部分の処
理についてはイメージ圧縮処理と共に後述する。
If there is a job that satisfies the relationship of processing page ≧ print start designation page, the processing status of the job in the queue management table 21 is changed to “printing” as shown in FIG. Then, the print image data corresponding to the job is taken out from the image buffer 24 and transferred to the printer 3. Note that in FIG.
The image decompression processing is performed before the print image data extracted from the printer 3 is transferred to the printer 3. This processing will be described later together with the image compression processing.

【0029】このように、処理ページ≧印刷開始指定ペ
ージの関係を満たすジョブから優先してプリンタ3へ印
刷イメージデータを転送するようにしたので、平行して
イメージ展開したジョブのうち先にイメージ展開が終了
するジョブから順次印刷することができる。また、印刷
開始指定ページを総ページ数または任意のページ数に設
定すれば、印刷順序の変更が可能になる。例えば、印刷
開始指定ページを小さい値に設定すれば印刷順序を早く
することができる。
As described above, the print image data is transferred to the printer 3 with priority given to the job that satisfies the relationship of processing page ≧ print start designation page. Can be sequentially printed from the jobs for which. Further, if the number of pages designated to start printing is set to the total number of pages or an arbitrary number of pages, the printing order can be changed. For example, by setting the print start designation page to a small value, the print order can be made earlier.

【0030】図9は、印刷イメージデータをイメージバ
ッファ24へ格納する際にイメージ圧縮処理の必要性を
判断し、またイメージバッファ24からプリンタ3へ転
送する際にイメージ伸長処理の要否を判断する処理を追
加したフローチャートを示している。
FIG. 9 shows the necessity of image compression processing when storing print image data in the image buffer 24 and the necessity of image decompression processing when transferring print image data from the image buffer 24 to the printer 3. 9 shows a flowchart to which processing has been added.

【0031】すなわち、キュー管理テーブル21から該
当キューを検索してイメージ展開するところまでは、図
4に示す場合と同じであるが、このフローチャートでは
保存条件を確認して圧縮処理を行うか否か判断してい
る。保存条件は、予め登録されていてページ数やディス
ク容量などを使用することができる。ページ数が所定枚
数を越える場合、またはディスク容量が所定値以下にな
った場合に、圧縮処理を行うようにする。
That is, the process up to the point where the corresponding queue is searched from the queue management table 21 and the image is developed is the same as that shown in FIG. 4, but in this flowchart, the storage conditions are confirmed and whether or not to perform the compression process is determined. Deciding. The storage conditions are registered in advance, and the number of pages, the disk capacity, and the like can be used. The compression process is performed when the number of pages exceeds a predetermined number or when the disk capacity falls below a predetermined value.

【0032】圧縮処理を行う場合は、イメージ圧縮処理
12が起動される。イメージ圧縮処理12はイメージ展
開された印刷イメージデータを所定の方式で圧縮してか
らイメージバッファ24へ格納する。図10に示すよう
にキュー管理テーブル21に圧縮情報を登録する項目を
設けておき、印刷イメージデータを圧縮して又は非圧縮
でイメージバッファ24へ格納した場合に、キュー管理
テーブル21に圧縮情報を登録する。
When performing a compression process, an image compression process 12 is started. The image compression process 12 compresses the print image data into which the image has been expanded by a predetermined method, and then stores the compressed image data in the image buffer 24. As shown in FIG. 10, an item for registering compression information is provided in the queue management table 21. When print image data is stored in the image buffer 24 in a compressed or uncompressed state, the compressed information is stored in the queue management table 21. register.

【0033】一方、イメージ展開されたページ数が印刷
開始指定ページに達してイメージバッファ24からプリ
ンタ3へ転送する際に、キュー管理テーブル21の圧縮
情報をチェックする。その結果、圧縮処理して格納した
印刷イメージデータであればイメージ伸長処理15を起
動してイメージ伸長してからプリンタ3へ転送する。
On the other hand, when the number of expanded pages reaches the designated print start page and the image is transferred from the image buffer 24 to the printer 3, the compression information in the queue management table 21 is checked. As a result, if the print image data is compressed and stored, the image decompression process 15 is started to decompress the image and then transferred to the printer 3.

【0034】このように、印刷データから印刷イメージ
へイメージ展開したデータをイメージバッファ24へ格
納する際に保存条件に合った印刷イメージデータだけを
圧縮して格納し、また圧縮処理した印刷イメージデータ
をイメージ伸長してからプリンタ3へ転送するので、保
存条件に定めた必要な場合にだけ圧縮処理及び伸長処理
を掛けるようにすることができ、不要な圧縮処理及び伸
長処理を削減することができる。
As described above, when the data obtained by developing the print data into the print image is stored in the image buffer 24, only the print image data meeting the storage conditions is compressed and stored, and the compressed print image data is stored. Since the image is decompressed and then transferred to the printer 3, the compression and decompression processes can be performed only when necessary, as determined in the storage conditions, and unnecessary compression and decompression processes can be reduced.

【0035】次に、あらかじめイメージ展開完了までの
概算時間を計算し、プリンタ3のハードウエアの制約時
間である印刷処理時間内にイメージ展開可能かどうか判
断して、印刷イメージデータをイメージバッファ24へ
一旦格納する印刷方式と1ページのイメージデータが展
開された段階でプリンタ3へ転送する印刷方式とを選択
する。
Next, an approximate time until the completion of the image development is calculated in advance, and it is determined whether or not the image can be developed within the print processing time, which is the time limit of the hardware of the printer 3, and the print image data is transferred to the image buffer 24. A printing method to be temporarily stored and a printing method to be transferred to the printer 3 when one page of image data is developed are selected.

【0036】図11にイメージ展開完了までの処理時間
を求めるためのフローチャートが示されている。ユーザ
印刷要求データのファイルからユーザから印刷要求のあ
った印刷データに含まれている、イメージ、直線、曲
線、塗り潰しなどを行う命令を取り出す。図13に示す
ように、データ量/処理時間換算テーブル25に個々の
処理命令を時間換算するための指数を登録しておき、デ
ータ量/処理時間換算テーブル25から印刷データに含
まれていた命令についての時間換算指数を取り出す。
FIG. 11 shows a flowchart for obtaining the processing time until the completion of image development. From the file of the user print request data, a command for performing an image, a straight line, a curve, a fill, and the like included in the print data requested to be printed by the user is extracted. As shown in FIG. 13, an index for converting each processing instruction into time is registered in the data amount / processing time conversion table 25, and the instruction included in the print data from the data amount / processing time conversion table 25 is registered. Extract the time conversion index for.

【0037】次に、命令に従う処理から印刷イメージと
して書き込みを行う面積を算出し、文字、イメージ、直
線、曲線、塗り潰し等の要素毎に積算する。この処理を
1ページ分が終了するまで繰り返し、1ページ分の要素
毎の積算データと各要素に対応した時間換算指数との積
を取る。全要素の積の加算値からその1ページについて
の処理時間を求める。この様にして求められた1ページ
分の処理時間は図12に示すようにキュー管理テーブル
21の該当位置に設定する。ユーザから印刷要求のあっ
たジョブ毎に以上の処理を繰り返す。
Next, the area to be written as a print image is calculated from the processing according to the command, and integrated for each element such as a character, an image, a straight line, a curve, and a fill. This process is repeated until one page is completed, and the product of the integrated data for each element of one page and the time conversion index corresponding to each element is obtained. The processing time for one page is obtained from the sum of the products of all the elements. The processing time for one page obtained in this manner is set at a corresponding position in the queue management table 21 as shown in FIG. The above process is repeated for each job for which a print request has been made by the user.

【0038】1ページの処理時間をキュー管理テーブル
21で確認し、プリンタ3のハードウエアの印刷処理時
間内にイメージ展開可能であれば、印刷イメージデータ
をイメージバッファ24へ格納せずに直接にプリンタ3
へ転送する。また、1ページの処理時間からプリンタ3
のハードウエアの印刷処理時間内にイメージ展開できな
ければ一旦イメージバッファ24に格納する。
The processing time of one page is checked in the queue management table 21. If the image can be developed within the print processing time of the hardware of the printer 3, the print image data is not directly stored in the image buffer 24 but directly stored in the printer. 3
Transfer to In addition, the processing time of one page is
If the image cannot be developed within the hardware print processing time, the image is temporarily stored in the image buffer 24.

【0039】このように、あらかじめイメージ展開完了
までの概算時間を計算し、プリンタ3の印刷処理時間内
にイメージ展開可能かどうかによりイメージバッファ2
4へ一旦格納するかプリンタ3へ直接に転送するか選択
できるようにしたので、より高速な印刷方式を選択する
ことができる。本発明は上記実施形態に限定されるもの
ではなく、本発明の要旨を逸脱しない範囲内で種々変形
実施可能である。
As described above, the approximate time until the completion of the image development is calculated in advance, and the image buffer 2 is determined based on whether the image can be developed within the print processing time of the printer 3.
4 or can be directly transferred to the printer 3, so that a faster printing method can be selected. The present invention is not limited to the above embodiment, and various modifications can be made without departing from the spirit of the present invention.

【0040】[0040]

【発明の効果】以上詳記したように本発明によれば、連
続した印刷要求に対してプリンタのハードウエアを効率
よく運用することができる印刷処理装置を提供できる。
As described above, according to the present invention, it is possible to provide a print processing apparatus capable of efficiently operating the hardware of a printer in response to a continuous print request.

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

【図1】本発明の実施の形態に係る印刷処理装置のソフ
トウエア構成を示す図である。
FIG. 1 is a diagram illustrating a software configuration of a print processing apparatus according to an embodiment of the present invention.

【図2】上記実施形態に係る印刷処理装置を適用した印
刷システムのハードウエア構成を示す図である。
FIG. 2 is a diagram illustrating a hardware configuration of a printing system to which the print processing apparatus according to the embodiment is applied.

【図3】上記実施形態に係る印刷処理装置における全体
の処理の流れを示す概念図である。
FIG. 3 is a conceptual diagram showing an overall processing flow in the print processing apparatus according to the embodiment.

【図4】上記実施形態に係る印刷処理装置におけるイメ
ージ展開起動処理のフローチャートである。
FIG. 4 is a flowchart of an image development activation process in the print processing apparatus according to the embodiment.

【図5】キュー管理テーブルの構成図である。FIG. 5 is a configuration diagram of a queue management table.

【図6】イメージバッファ管理テーブルの構成図であ
る。
FIG. 6 is a configuration diagram of an image buffer management table.

【図7】上記実施形態に係る印刷処理装置におけるスケ
ジューリング処理のフローチャートである。
FIG. 7 is a flowchart of a scheduling process in the print processing apparatus according to the embodiment.

【図8】処理状況を変更後のキュー管理テーブルを示す
図である。
FIG. 8 is a diagram showing a queue management table after a processing status is changed.

【図9】圧縮処理及び伸長処理を含んだ印刷処理のフロ
ーチャートを示す図である。
FIG. 9 is a diagram illustrating a flowchart of a printing process including a compression process and a decompression process.

【図10】圧縮状況を登録したキュー管理テーブルを示
す図である。
FIG. 10 is a diagram showing a queue management table in which compression statuses are registered.

【図11】上記実施形態に係る印刷処理装置における処
理時間算出処理のフローチャートである。
FIG. 11 is a flowchart of processing time calculation processing in the print processing apparatus according to the embodiment.

【図12】処理時間が登録されたキュー管理テーブルを
示す図である。
FIG. 12 is a diagram showing a queue management table in which processing times are registered.

【図13】データ量/処理時間換算テーブルを示す図で
ある。
FIG. 13 is a diagram showing a data amount / processing time conversion table.

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

1…計算機 2…ディスク 3…プリンタ 10…コントロール部 11…印刷キュー登録処理 12…イメージ展開処理 13…イメージ圧縮処理 14…スケジューリング処理 15…イメージ伸長処理 16…イメージバッファ管理処理 17…プリンタコントロール処理 21…キュー管理テーブル 22…イメージバッファ管理テーブル 23…印刷データキュー 24…イメージバッファ 25…データ量/処理時間換算テーブル DESCRIPTION OF SYMBOLS 1 ... Computer 2 ... Disk 3 ... Printer 10 ... Control part 11 ... Print queue registration processing 12 ... Image expansion processing 13 ... Image compression processing 14 ... Scheduling processing 15 ... Image decompression processing 16 ... Image buffer management processing 17 ... Printer control processing 21 ... Queue management table 22 ... Image buffer management table 23 ... Print data queue 24 ... Image buffer 25 ... Data amount / processing time conversion table

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 印刷要求の出された印刷データを印刷キ
ューに順次登録し、この印刷キューに登録された印刷デ
ータを印刷イメージへ展開してからプリンタへ転送する
印刷処理装置において、 連続した複数の印刷要求に対しては印刷データを印刷イ
メージへ展開するイメージ展開処理を並列に実行するこ
とを特徴とする印刷処理装置。
A print processing apparatus for sequentially registering print data for which a print request has been issued in a print queue, expanding the print data registered in the print queue into a print image, and transferring the print image to a printer. A print processing apparatus for executing image development processing for developing print data into a print image in response to the print request.
【請求項2】 請求項1記載の印刷処理装置において、 印刷データから印刷イメージへ展開しているデータを印
刷要求毎にイメージバッファに保存し、予め定めた印刷
条件を満足した印刷要求からプリンタへ転送するように
したことを特徴とする印刷処理装置。
2. A print processing apparatus according to claim 1, wherein data developed from print data to a print image is stored in an image buffer for each print request, and a print request satisfying a predetermined print condition is sent to a printer. A print processing apparatus, wherein the print processing apparatus transfers the print data.
【請求項3】 印刷要求の出された印刷データを印刷キ
ューに順次登録し、この印刷キューに登録された印刷デ
ータを印刷イメージへ展開してイメージバッファに保存
し、このイメージバッファから印刷イメージデータをプ
リンタへ転送する印刷処理装置において、 印刷イメージデータをイメージバッファへ保存するとき
に、当該印刷イメージデータ又はシステム環境が予め定
めた保存条件を満足していればその印刷イメージデータ
を圧縮処理してからイメージバッファへ保存し、また保
存条件を満足していなければその印刷イメージデータを
非圧縮でイメージバッファへ保存することを特徴とする
印刷処理装置。
3. The print data for which a print request has been issued is sequentially registered in a print queue, the print data registered in the print queue is developed into a print image and stored in an image buffer. When the print image data is stored in the image buffer, if the print image data or the system environment satisfies a predetermined storage condition, the print image data is compressed. A print processing apparatus for storing the print image data in the image buffer without compression if the storage conditions are not satisfied.
【請求項4】 請求項1〜請求項3のいずれか1項記載
の印刷処理装置において、 印刷キューに登録された印刷データを印刷イメージへ展
開するのに要する時間を算出する手段と、 その算出した展開時間からプリンタのハードウエアの制
約時間である印刷処理時間内にイメージ展開可能かどう
か判断し、その判断結果に応じて印刷イメージデータを
イメージバッファへ一旦格納するか1ページの印刷イメ
ージデータが展開された段階でプリンタへ転送するかを
指示する手段とを具備したことを特徴とする印刷処理装
置。
4. A print processing apparatus according to claim 1, wherein said print processing apparatus calculates a time required to develop print data registered in a print queue into a print image. It is determined whether or not the image can be developed within the print processing time, which is the restriction time of the hardware of the printer, based on the developed time, and according to the determination result, the print image data is temporarily stored in the image buffer or the print image data of one page is stored. Means for instructing whether to transfer the data to a printer at the stage of development.
JP8241898A 1996-09-12 1996-09-12 Print processor Pending JPH1091366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8241898A JPH1091366A (en) 1996-09-12 1996-09-12 Print processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8241898A JPH1091366A (en) 1996-09-12 1996-09-12 Print processor

Publications (1)

Publication Number Publication Date
JPH1091366A true JPH1091366A (en) 1998-04-10

Family

ID=17081201

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8241898A Pending JPH1091366A (en) 1996-09-12 1996-09-12 Print processor

Country Status (1)

Country Link
JP (1) JPH1091366A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002307794A (en) * 2001-04-11 2002-10-23 Canon Inc Printer and method for managing printing job
US8705095B2 (en) 2010-09-10 2014-04-22 Fuji Xerox Co., Ltd. Print control apparatus, printing system, and computer readable medium storing program for utilizing plural interpreters for parallel processing of print jobs
JP2016179618A (en) * 2015-03-24 2016-10-13 富士ゼロックス株式会社 Information processing device, information processing program, and image formation apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002307794A (en) * 2001-04-11 2002-10-23 Canon Inc Printer and method for managing printing job
US8705095B2 (en) 2010-09-10 2014-04-22 Fuji Xerox Co., Ltd. Print control apparatus, printing system, and computer readable medium storing program for utilizing plural interpreters for parallel processing of print jobs
JP2016179618A (en) * 2015-03-24 2016-10-13 富士ゼロックス株式会社 Information processing device, information processing program, and image formation apparatus

Similar Documents

Publication Publication Date Title
US8325372B2 (en) Parallel printing system
US7869072B2 (en) Printer device
JP3634447B2 (en) Image processing apparatus and method
JPH11198462A (en) Printer and method for image processing
JPH11203061A (en) Image processor, output device, image processing system and method
JPH1091366A (en) Print processor
US20040012797A1 (en) Load balancing in image generation
JP3134539B2 (en) Printer control device
JP2007152898A (en) Printing processing apparatus
JPH10198529A (en) Picture processor
JP3347520B2 (en) Information processing apparatus, printer system, and print job processing method
JPH0584987A (en) Printer
JP3495855B2 (en) Information processing apparatus and information processing method
JPH10307695A (en) Printer device and printer control method
JPH10240471A (en) Print system
JPH07172003A (en) Printer control circuit
JP4955582B2 (en) Image processing apparatus and image processing program
JP2001243028A (en) Medium with printing control program recorded and printing controller and printing control method
JPH11191040A (en) Band memory size decision system and recording medium
JPH09292875A (en) Image processor
JP2002120418A (en) Printer device and image processing device comprising the printer device
JPH10293669A (en) Print system and print control method
JPH10240477A (en) Information processor, information processing method and storage medium storing computer readable program
JPH0467224A (en) Information processor
JP2002287921A (en) Image output system