JP2007152898A - Printing processing apparatus - Google Patents

Printing processing apparatus Download PDF

Info

Publication number
JP2007152898A
JP2007152898A JP2005355058A JP2005355058A JP2007152898A JP 2007152898 A JP2007152898 A JP 2007152898A JP 2005355058 A JP2005355058 A JP 2005355058A JP 2005355058 A JP2005355058 A JP 2005355058A JP 2007152898 A JP2007152898 A JP 2007152898A
Authority
JP
Japan
Prior art keywords
print
printer
data
pdl
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.)
Withdrawn
Application number
JP2005355058A
Other languages
Japanese (ja)
Inventor
Yuki Ishida
祐樹 石田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2005355058A priority Critical patent/JP2007152898A/en
Publication of JP2007152898A publication Critical patent/JP2007152898A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To normally execute printing processing by automatically changing a printing mode with respect to unauthorized drawing not intended by a user, drawing incapability, and drawing delay. <P>SOLUTION: In a display list generation unit 24 in a printer 2, the printing mode is determined by acquiring unauthorized drawing, drawing incapability, and drawing processing time, and then the printing mode is changed in accordance with a specified printing mode. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、印刷処理システムにおける描画コマンドからの印刷を行う為の、印刷処理装置、印刷データの制御方法に関するものである。   The present invention relates to a print processing apparatus and a print data control method for performing printing from a drawing command in a print processing system.

従来、印刷処理システムにおける印刷処理方法においては、プリンタに複数の印刷モード、例えばPDLモード(その中でも各種エミュレーションPDL)やイメージモードを備えている場合においても、印刷時に使用される印刷モードの選択は、利用者がプリント設定画面上で選択した印刷モードを使用するのみであった。   Conventionally, in a print processing method in a print processing system, even when a printer has a plurality of print modes, for example, a PDL mode (among others, various emulation PDLs) and an image mode, the print mode used at the time of printing is selected. The user only used the print mode selected on the print setting screen.

PDLモードはホスト装置で生成された印刷データをPDL変換して、プリンタに転送し、プリンタ側では受けたPDLを解釈して印字データを作成し、印刷出力するという動作を行う処理である。PDLモードの長所としては負荷の軽い印刷処理、例えば文字印字処理、簡単なグラフィック印字処理は高速に印字する事が出来る。転送するデータサイズを後述のイメージモードに比べて相対的に抑える事が出来る。階調を変更しても極端なデータサイズの変化は無い。PDLモードの短所としては複雑なグラフィック処理やクリップ処理等を行う事により、また大量の描画オブジェクトを受信する事によりメモリを多量に消費し処理速度が低下しプリンタのスループットが遅くなる問題がある。   In the PDL mode, print data generated by the host device is PDL converted and transferred to the printer, and the printer side interprets the received PDL to create print data and prints it out. The advantage of the PDL mode is that it can print at a high speed with a light load printing process, such as a character printing process and a simple graphic printing process. The data size to be transferred can be relatively suppressed compared to the image mode described later. Even if the gradation is changed, there is no extreme change in the data size. Disadvantages of the PDL mode include the problem of performing complicated graphic processing, clip processing, etc., and receiving a large amount of drawing objects, consuming a large amount of memory, reducing the processing speed, and slowing down the printer throughput.

イメージモードはホスト装置で印刷データを2値化処理しラスタデータを送り、プリンタは受け取ったラスタデータをフレームバッファに展開し印刷出力するという動作を行う処理である。イメージモードの長所はラスタデータを転送する為、プリンタ側でページを生成する際に発生する可能性のある描画不可、描画不正が無い。ページ単位でデータサイズに上限があるために、大量の描画オブジェクトを処理するような予測できない速度低下は無い。イメージモードの短所は転送するデータサイズが大きい為にネットワークに負荷をかける。PDLモードでは文字やグラフィックで表現する事が出来るデータもイメージで処理する事により処理時間がかかる。しかしながら近年のPCの性能の向上や転送速度の向上によりホスト装置で高速に処理する事、高速に転送する事が出来る為、スループットは速くなってきている。   In the image mode, print data is binarized by the host device and raster data is sent, and the printer expands the received raster data in a frame buffer and prints it out. The advantage of the image mode is that raster data is transferred, so that there is no drawing improper or illegal drawing that may occur when a page is generated on the printer side. Since there is an upper limit on the data size in units of pages, there is no unpredictable speed reduction that is caused by processing a large number of drawing objects. The disadvantage of the image mode is that it places a load on the network due to the large data size to be transferred. In PDL mode, it takes time to process data that can be expressed in characters and graphics. However, throughput has become faster because host computers can perform high-speed processing and transfer at high speed due to recent improvements in PC performance and transfer speed.

このような技術に対し印刷条件を自動で設定する処理装置がある。(特許文献1、特許文献2参照)
以下従来の技術である印刷条件を自動で設定する処理装置について説明する。
There is a processing apparatus that automatically sets printing conditions for such a technique. (See Patent Document 1 and Patent Document 2)
A processing apparatus for automatically setting printing conditions, which is a conventional technique, will be described below.

この技術ではプリンタドライバ上で生成したプリンタ制御コマンド(PDLコマンド)に従って、そのコマンドを受け取ったプリンタの印刷モードを決定する。具体的には利用者が選択したモードではプリンタでの印刷スループット、印刷データに適した印刷モードが選択されていないことによる印刷スループットが遅くなる問題に対し、ホスト装置のプリンタドライバで各ページの描画処理に要する処理時間を指定可能な印刷モード毎に演算して、より印刷処理時間の短い印刷モードを指定する事により、利用者により設定された印刷モードに左右されずに、最適な印刷モードを各ページ毎に自動で指定して印刷スループットを向上させるものである。
特開平11−129583号公報 特開2002−55791号公報
In this technique, the print mode of a printer that has received the command is determined according to a printer control command (PDL command) generated on the printer driver. Specifically, in the mode selected by the user, the printing throughput of the printer and the printing throughput suitable for the print data are not selected, so that the printing throughput of each page is drawn by the printer driver of the host device. By calculating the processing time required for processing for each print mode that can be specified and specifying a print mode with a shorter print processing time, the optimal print mode can be selected regardless of the print mode set by the user. The print throughput is improved by automatically specifying each page.
Japanese Patent Laid-Open No. 11-129583 JP 2002-55791 A

前述したような印刷処理装置ではホスト側ドライバでページ単位の処理演算および印刷モードの判定を行う為、PDLモードを選択した際にプリンタの機器構成(CPU、メモリ等)によっては、ホスト側ドライバからプリンタ側がPDLデータを受け取り処理を行う際に、メモリ容量が足りない為に、あるいはPDLデータを円滑に処理するハードウェアアクセラレータを搭載していない為に、プリンタドライバでは予測できない描画不可や描画不正、描画遅延(プリンタ側の描画処理に要する時間が遅い事)を起こす問題があった。   In the print processing apparatus as described above, the host-side driver performs processing processing for each page and determines the print mode. When the PDL mode is selected, depending on the printer device configuration (CPU, memory, etc.), the host-side driver When the printer receives and processes PDL data, it does not have enough memory capacity or does not have a hardware accelerator that smoothly processes PDL data. There was a problem of causing drawing delay (the time required for drawing processing on the printer side was slow).

本発明の印刷処理装置ではホスト装置より入出力インターフェイスを介して印刷データを受け取り印刷処理を行う印刷処理装置において、前記印刷処理装置がPDLデータを中間言語に変換する変換手段と、前記変換手段において使用し得るメモリ使用量を管理する管理手段、前記管理手段によりメモリ使用量が所定の容量を越えたときにエラーを出力する出力手段と、PDLデータの描画処理にかかる描画処理時間を予測演算する演算手段と、前記描画処理時間と他の印刷モードによる描画処理時間とを比較する比較手段と、前記出力手段及び前記比較手段の結果の情報より印刷モードを決定する判定手段と、前記判定手段により決定した印刷モードをプリンタドライバを備えたホスト装置に通知する通知手段と、を備える。   In the print processing apparatus of the present invention, in a print processing apparatus that receives print data from a host device via an input / output interface and performs print processing, the print processing apparatus converts the PDL data into an intermediate language, and the conversion means Management means for managing usable memory usage, output means for outputting an error when the memory usage exceeds a predetermined capacity by the management means, and predictive calculation of drawing processing time for drawing processing of PDL data A calculating means; a comparing means for comparing the drawing processing time with a drawing processing time in another printing mode; a determining means for determining a printing mode from information on results of the output means and the comparing means; and the determining means. Notification means for notifying the determined print mode to a host device having a printer driver.

本発明を適用する事によりプリンタの機器構成の能力が弱い(メモリ容量が少ない、最適なハードウェアアクセラレータを搭載していない)プリンタにおいて、使用者が予測できない描画不可、描画不正及び描画遅延を自動で回避する効果がある。   By applying the present invention, a printer with a weak device configuration capability (low memory capacity and not equipped with an optimal hardware accelerator) automatically renders rendering impossible, rendering fraud, and rendering delay unpredictable by the user. There is an effect to avoid.

本発明を添付する図面と共に以下に説明する。図1は、本発明に係わるプリンタシステムの構成図である。図1に示すようにシステムの基本構成はホストコンピュータ(ホスト装置、又はホストと記す)1とプリンタ2が通信回線を通して接続されていて、通信回線を介してホスト装置1とプリンタ2が印刷データや指令などの情報を授受する。ホスト装置1はワープロや表計算などの印刷データを作成するアプリケーション11とプリンタドライバをロードするグラフィックエンジン12と機種毎に用意されているプリンタドライバ13と入出力インターフェイス17から構成されている。プリンタドライバ13はPDLデータを生成するPDLデータ生成部14とPDLデータを保存するスプールファイル16とPDLデータをラスタライズする描画処理部15を有する。プリンタ2はコントローラ21とエンジン30から構成されている。コントローラ21は入出力インターフェイス22とホスト装置1のPDLデータ生成部14で生成されたPDLデータを解釈するPDL解釈部23と解釈されたPDLデータを中間言語にしてディスプレイリスト28に保存するディスプレイリスト生成部24とディスプレイリスト28に保存された中間言語(ディスプレイリスト)をレンダリングする描画処理部29から構成される。ディスプレイリスト生成部24はディスプレイリスト生成中のエラーを検知するPDLエラー解釈部25とオブジェクト数や機器構成から描画処理部29での処理時間を予測演算する描画処理時間予測部26とPDLエラー解釈部25で解釈されたエラーや描画処理時間予測部26での演算結果より印刷モードを判定する印刷モード判定部27を有している。   The present invention will be described below with reference to the accompanying drawings. FIG. 1 is a configuration diagram of a printer system according to the present invention. As shown in FIG. 1, the basic configuration of the system is that a host computer (host device or host) 1 and a printer 2 are connected through a communication line, and the host device 1 and the printer 2 are connected via a communication line. Send and receive information such as orders. The host device 1 includes an application 11 for creating print data such as a word processor or spreadsheet, a graphic engine 12 for loading a printer driver, a printer driver 13 prepared for each model, and an input / output interface 17. The printer driver 13 includes a PDL data generation unit 14 that generates PDL data, a spool file 16 that stores PDL data, and a drawing processing unit 15 that rasterizes PDL data. The printer 2 includes a controller 21 and an engine 30. The controller 21 generates a display list that stores the PDL data in an intermediate language as a PDL interpretation unit 23 that interprets the PDL data generated by the input / output interface 22 and the PDL data generation unit 14 of the host device 1 and stores it in the display list 28. A drawing processing unit 29 that renders an intermediate language (display list) stored in the unit 24 and the display list 28. The display list generation unit 24 includes a PDL error interpretation unit 25 that detects an error during display list generation, a drawing processing time prediction unit 26 that predicts a processing time in the drawing processing unit 29 based on the number of objects and the device configuration, and a PDL error interpretation unit. A print mode determination unit 27 that determines the print mode from the error interpreted in 25 and the calculation result in the drawing processing time prediction unit 26.

本システムの印刷データの流れを概略的に説明するとアプリケーション10で生成された印刷データはプリンタドライバ13のPDLデータ生成部14においてPDLデータに変換される。変換されたPDLデータは一旦スプールファイル16に保存され、入出力インターフェイス17,22を介してプリンタ2のPDL解釈部23へと渡される。解釈されたPDLデータに基づいてディスプレイリスト生成部25でディスプレイリストが生成され、印刷モード判定部27の判定結果が問題なしの場合はディスプレイリスト28にディスプレイリストが保存され、ディスプレイリストを使用して描画処理部29にてラスタライズされ、エンジン30に渡される。印刷モード判定部27が問題ありの場合、入出力インターフェイス22,17を介して描画処理部15にてスプールファイル16よりPDLデータを取得し描画処理部15にてラスタライズして、入出力インターフェイス17,22を介してエンジン30へ渡される。   The flow of print data in this system will be schematically described. Print data generated by the application 10 is converted into PDL data by the PDL data generation unit 14 of the printer driver 13. The converted PDL data is temporarily stored in the spool file 16 and passed to the PDL interpretation unit 23 of the printer 2 via the input / output interfaces 17 and 22. A display list is generated by the display list generation unit 25 based on the interpreted PDL data. If the determination result of the print mode determination unit 27 is satisfactory, the display list is stored in the display list 28, and the display list is used. The data is rasterized by the drawing processing unit 29 and transferred to the engine 30. If the print mode determination unit 27 has a problem, the drawing processing unit 15 acquires PDL data from the spool file 16 via the input / output interfaces 22 and 17, and rasterizes the drawing processing unit 15 to obtain the input / output interfaces 17 and 17. 22 to the engine 30.

上記印刷モード判定部27について詳しく説明すると、上記説明のようにPDLエラー解釈部25および描画処理時間予測部26の結果より判定される。PDLエラー解釈部25のエラーとしてはPDLデータを主に構成するグラフィック、文字、イメージのうちグラフィックの複雑なパスデータやそのクリップデータの処理によるエラー、文字やイメージのメモリオーバーフローによるエラー等がある。前記エラーが発生した場合は印刷モード判定部27では問題ありとなる。描画処理時間予測部26においては描画処理部29の処理時間をプリンタ毎の機器構成(CPUやメモリ、ハードウェアアクセラレータ)の情報を取得し予測演算処理を行う。描画処理部15でラスタライズされたラスターデータの処理時間はデータ量に依存する為、その係数と予測演算処理結果を比較し問題ありの場合は印刷モード判定部27にて問題ありと処理される。   The print mode determination unit 27 will be described in detail based on the results of the PDL error interpretation unit 25 and the drawing processing time prediction unit 26 as described above. Errors of the PDL error interpretation unit 25 include errors due to processing of complicated graphic path data and its clip data among graphics, characters, and images mainly constituting PDL data, errors due to memory overflow of characters and images, and the like. When the error occurs, there is a problem in the print mode determination unit 27. In the drawing processing time prediction unit 26, the processing time of the drawing processing unit 29 is obtained by obtaining information on the device configuration (CPU, memory, hardware accelerator) for each printer and performing prediction calculation processing. Since the processing time of the raster data rasterized by the drawing processing unit 15 depends on the data amount, the coefficient is compared with the prediction calculation processing result, and if there is a problem, the print mode determination unit 27 processes that there is a problem.

本発明を適用する事によりプリンタの機器構成の能力が弱い(メモリ容量が少ない、最適なハードウェアアクセラレータを搭載していない)プリンタにおいて、使用者が予測できない描画不可、描画不正及び描画遅延を自動で回避することが可能である。   By applying the present invention, a printer with a weak device configuration capability (low memory capacity and not equipped with an optimal hardware accelerator) automatically renders rendering impossible, rendering fraud, and rendering delay unpredictable by the user. Can be avoided.

なお、図2は、印刷モード判定を含む印刷処理装置の全体の動作手順を示すフロー図、図3は、ホスト装置のフロー図1、図4は、ホスト装置のフロー図2、図5は、プリンタの印刷モード判定1、図6は、プリンタの印刷モード判定2である。   2 is a flowchart showing an overall operation procedure of the print processing apparatus including the print mode determination, FIG. 3 is a flowchart of the host apparatus, FIG. 4 is a flowchart of the host apparatus, and FIG. Printer printing mode determination 1 and FIG. 6 are printer printing mode determination 2.

本発明に係わる印刷処理装置の実施例を示すブロック図である。1 is a block diagram illustrating an embodiment of a print processing apparatus according to the present invention. 印刷モード判定を含む印刷処理装置の全体の動作手順を示すフロー図。The flowchart which shows the operation | movement procedure of the whole print processing apparatus containing printing mode determination. ホスト装置のフロー図1。FIG. 1 is a flowchart of the host device. ホスト装置のフロー図2。FIG. 2 is a flowchart of the host device. プリンタの印刷モード判定1。Printer print mode determination 1. プリンタの印刷モード判定2。Printer print mode determination 2.

符号の説明Explanation of symbols

1 ホストコンピュータ
2 プリンタ
11 アプリケーション
12 グラフィック・エンジン
13 プリンタドライバ
14 PDLデータ生成部
15 描画処理部
16 スプールファイル
17 入出力インターフェイス
21 コントローラ
22 入出力インターフェイス
23 PDL解釈部
24 ディスプレイリスト生成部
25 PDLエラー解釈部
26 描画処理時間予測部
27 印刷モード判定部
28 ディスプレイリスト
29 描画処理部
30 エンジン
DESCRIPTION OF SYMBOLS 1 Host computer 2 Printer 11 Application 12 Graphic engine 13 Printer driver 14 PDL data generation part 15 Drawing process part 16 Spool file 17 Input / output interface 21 Controller 22 Input / output interface 23 PDL interpretation part 24 Display list generation part 25 PDL error interpretation part 26 Drawing processing time prediction unit 27 Print mode determination unit 28 Display list 29 Drawing processing unit 30 Engine

Claims (1)

ホスト装置より入出力インターフェイスを介して印刷データを受け取り印刷処理を行う印刷処理装置において、前記印刷処理装置がPDLデータを中間言語に変換する変換手段と、前記変換手段において使用し得るメモリ使用量を管理する管理手段と、前記管理手段によりメモリ使用量が所定の容量を越えたときにエラーを出力する出力手段と、PDLデータの描画処理にかかる描画処理時間を予測演算する演算手段と、前記描画処理時間と他の印刷モードによる描画処理時間とを比較する比較手段と、前記出力手段及び前記比較手段の情報より印刷モードを決定する判定手段と、前記判定手段により決定した印刷モードをプリンタドライバを備えたホスト装置に通知する通知手段と、を備える事を特徴とする印刷処理装置。   In a print processing device that receives print data from a host device via an input / output interface and performs print processing, the print processing device converts PDL data into an intermediate language, and memory usage that can be used in the conversion device. Management means for managing, output means for outputting an error when the memory usage exceeds a predetermined capacity by the management means, calculation means for predicting and calculating a drawing processing time for drawing processing of PDL data, and the drawing Comparing means for comparing processing time with drawing processing time in another printing mode, determining means for determining a printing mode based on information of the output means and the comparing means, and a printing mode determined by the determining means for the printer driver And a notifying means for notifying the host device.
JP2005355058A 2005-12-08 2005-12-08 Printing processing apparatus Withdrawn JP2007152898A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005355058A JP2007152898A (en) 2005-12-08 2005-12-08 Printing processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005355058A JP2007152898A (en) 2005-12-08 2005-12-08 Printing processing apparatus

Publications (1)

Publication Number Publication Date
JP2007152898A true JP2007152898A (en) 2007-06-21

Family

ID=38237837

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005355058A Withdrawn JP2007152898A (en) 2005-12-08 2005-12-08 Printing processing apparatus

Country Status (1)

Country Link
JP (1) JP2007152898A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009113279A (en) * 2007-11-05 2009-05-28 Seiko Epson Corp Image processor, image processing method and program thereof
JP2011183597A (en) * 2010-03-05 2011-09-22 Konica Minolta Business Technologies Inc Image forming device, image forming program, and image forming method
JP2020107117A (en) * 2018-12-27 2020-07-09 ブラザー工業株式会社 Printing system and printer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009113279A (en) * 2007-11-05 2009-05-28 Seiko Epson Corp Image processor, image processing method and program thereof
JP2011183597A (en) * 2010-03-05 2011-09-22 Konica Minolta Business Technologies Inc Image forming device, image forming program, and image forming method
JP2020107117A (en) * 2018-12-27 2020-07-09 ブラザー工業株式会社 Printing system and printer
JP7238397B2 (en) 2018-12-27 2023-03-14 ブラザー工業株式会社 printing system and printer

Similar Documents

Publication Publication Date Title
US8743389B2 (en) Methods and systems rendering a print job
JP4736761B2 (en) Printing device
US8625133B2 (en) Print data processing apparatus, print data processing method, and storage medium
JP2009146251A (en) Image processing device, and image forming system and program
JP4371128B2 (en) Image forming apparatus, image forming method, and program
JP4174476B2 (en) Data processing apparatus, data processing method, printer driver program, print control apparatus, print control method, and printing system
US8786908B2 (en) Image forming apparatus, method of controlling drawing processing, and recording medium storing drawing processing control program
JP2007152898A (en) Printing processing apparatus
US20040012797A1 (en) Load balancing in image generation
JP2016137664A (en) Image processing device, image processing method and program thereof for calculating prediction value of time required for printing
JP3754975B2 (en) Information processing apparatus and information processing method
US9165225B2 (en) Program and information processing apparatus
JP2010277590A (en) Cache optimization mechanism
US20170300789A1 (en) Image processing apparatus, image processing method, and non-transitory computer-readable medium
US8914591B2 (en) Information processing apparatus, method for controlling same
KR100571960B1 (en) Apparatus and method for controlling image forming apparatus
JP4955582B2 (en) Image processing apparatus and image processing program
JP2013103458A (en) Apparatus, method and program for image forming
JP2006172043A (en) Direct print system
JP2008052466A (en) Printer
JP2005165741A (en) Information processor, printing system, method for generating processing data of information processor, and control program
JPH10305639A (en) Print processor and processing method
JP2007105914A (en) Printing processor and printing processing system
JP2006031086A (en) Print processing method
JP2005149316A (en) Information processor, information processing method, program, storage medium, and printer

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20090303