JP3363822B2 - Information processing apparatus, information processing method, and printer driver - Google Patents

Information processing apparatus, information processing method, and printer driver

Info

Publication number
JP3363822B2
JP3363822B2 JP07870999A JP7870999A JP3363822B2 JP 3363822 B2 JP3363822 B2 JP 3363822B2 JP 07870999 A JP07870999 A JP 07870999A JP 7870999 A JP7870999 A JP 7870999A JP 3363822 B2 JP3363822 B2 JP 3363822B2
Authority
JP
Japan
Prior art keywords
printer
data
print
basic
information 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.)
Expired - Fee Related
Application number
JP07870999A
Other languages
Japanese (ja)
Other versions
JPH11316664A (en
Inventor
宮本  剛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP07870999A priority Critical patent/JP3363822B2/en
Publication of JPH11316664A publication Critical patent/JPH11316664A/en
Application granted granted Critical
Publication of JP3363822B2 publication Critical patent/JP3363822B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プリンタへ印刷データ
を送信する情報処理装置、情報処理方法およびプリンタ
ドライバに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus, an information processing method and a printer driver for transmitting print data to a printer.

【0002】[0002]

【従来の技術】プリンタ装置に関する仕事はバッチ的な
要素が強く、印刷ジョブがいつ終了するかはユーザにと
っては特に問題にならなかったので、従来のプリンタ装
置にはホストコンピュータから受け取った印刷ジョブを
完了する時点や印刷所要時間をある程度予測する機能お
よび、それをユーザに通知する機能が欠けていた。プリ
ンタ側で印刷の完了時点の予測が困難な技術的な理由は
プリンタに搭載されているソフトウェアが異なると、そ
の性能や描画データのメモリ展開方法の違いによって、
印刷完了時間も異なってしまうのが主な原因である。
2. Description of the Related Art Since a job related to a printer device has a strong batch-like factor and it does not matter to the user when the print job is completed, the conventional printer device cannot receive a print job received from a host computer. There was a lack of a function to predict the completion time and required printing time to some extent, and a function to notify the user. The technical reason why it is difficult for the printer to predict when printing will be complete depends on the software installed in the printer and the differences in performance and drawing data memory expansion method.
The main reason is that the printing completion time also differs.

【0003】さらに従来の印刷システムにおいては、文
章データから作成される印刷データを情報処理装置から
プリンタ装置へ送信し、プリンタ装置は受け取った印刷
データに基づいて記録媒体に印刷を行うにとどまってい
た。
Further, in the conventional printing system, the print data created from the text data is transmitted from the information processing device to the printer device, and the printer device prints on the recording medium based on the received print data. .

【0004】しかしながら、オフィスのネットワーク化
などが普及してきたことにより、オフィス内に存在する
様々な機能を持った複数のプリンタ装置に対し、ネット
ワークに接続しているユーザのパーソナルコンピュータ
やワークステーションから印刷要求を行えるようになる
と、ユーザが印刷完了時間に関する予想を知ることがで
きるとユーザにとって大変便利である。
However, due to the widespread use of office networks, a plurality of printer devices having various functions in the office are printed from a personal computer or workstation of a user connected to the network. Once the request can be made, it is very convenient for the user to be able to know the expected print completion time.

【0005】[0005]

【発明が解決しようとする課題】また、印刷システムは
プリンタ装置による様々な機能・サービスをユーザに提
供できるようになるが、そのためには文書データから作
成される印刷データ以外のデータが必要になってくる。
Further, the printing system can provide various functions and services provided by the printer device to the user, but in order to do so, data other than the print data created from the document data is required. Come on.

【0006】そこで、本発明の目的は、文書データから
作成される印刷データ以外のデータを作成することが可
能な情報処理装置、情報処理方法およびプリンタドライ
バを提供することにある。
Therefore, an object of the present invention is to provide an information processing apparatus, an information processing method, and a printer driver capable of creating data other than print data created from document data.

【0007】[0007]

【課題を解決するための手段】このような目的を達成す
るために、請求項1の発明は、アプリケーションプログ
ラムから生成したドキュメントデータからプリンタへ送
信する印刷データをプリンタドライバを用いて生成する
情報処理装置であって、前記プリンタドライバに、前記
ドキュメントデータから前記印刷データを生成させる第
1制御手段と、前記プリンタドライバに、前記印刷デー
タに含まれる基本プリミティブの種類ごとの出現回数を
示す出現回数情報を生成させる第2制御手段と、前記出
力回数情報を前記プリンタに送信する送信手段と、前記
プリンタが前記出力回数情報に基づいて印刷完了時間を
計算し、当該計算された印刷完了時間を受信する受信手
段とを具えたことを特徴とする。
In order to achieve such an object, the invention of claim 1 is an information processing for generating print data to be transmitted from a document data generated from an application program to a printer by using a printer driver. A device, first control means for causing the printer driver to generate the print data from the document data, and appearance frequency information indicating the appearance frequency for each type of basic primitives included in the print data in the printer driver. a second control means for generating the said output
Transmitting means for transmitting power frequency information to the printer;
The printer determines the print completion time based on the output count information.
Receiver who calculates and receives the calculated print completion time
It is characterized by having steps .

【0008】請求項2の発明は、請求項1に記載の情報
処理装置において、前記送信手段は、複数のプリンタに
前記出力回数情報を送信し、前記受信手段は、前記複数
のプリンタから印刷完了時間を受信することを特徴とす
る。
The invention according to claim 2 is the information according to claim 1.
In the processing device, the transmitting means is connected to a plurality of printers.
The output frequency information is transmitted, and the receiving means is configured to transmit the plurality of output
Of printing completion time is received from another printer.
It

【0009】請求項3の発明は、請求項2に記載の情報
処理装置において、前記複数のプリンタのうち、前記印
刷完了時間が最も小さいプリンタに、生成した印刷デー
タを送信する印刷データ送信手段を有することを特徴と
する。
The invention according to claim 3 is the information according to claim 2.
In the processing device, among the plurality of printers, the printer
Generate the print data on the printer with the shortest printing completion time.
And a print data transmitting unit for transmitting the data.
To do.

【0010】請求項4の発明は、アプリケーションプロ
グラムから生成したドキュメントデータからプリンタへ
送信する印刷データをプリンタドライバを用いて生成す
る情報処理方法であって、前記プリンタドライバに、前
記ドキュメントデータから前記印刷データを生成させる
第1制御ステップと、前記プリンタドライバに、前記印
刷データに含まれる基本プリミティブの種類ごとの出現
回数を示す出現回数情報を生成させる第2制御ステップ
と、前記出力回数情報を前記プリンタに送信する送信ス
テップと、前記プリンタが前記出力回数情報に基づいて
印刷完了時間を計算し、当該計算された印刷完了時間を
受信する受信ステップとを具えたことを特徴とする。
The invention of claim 4 is an application program.
Document data generated from gram to printer
Generate print data to be sent using the printer driver
The information processing method according to claim 1,
Generate the print data from the document data
In the first control step and the printer driver,
Appearance for each type of basic primitives included in printing data
Second control step for generating appearance frequency information indicating the frequency
And a transmission switch that transmits the output count information to the printer.
And the printer based on the output count information
Calculate the print completion time, and calculate the calculated print completion time.
And a receiving step of receiving.

【0011】請求項5の発明は、アプリケーションプロ
グラムからドキュメントデータを入力する入力手段と、
前記入力手段から入力された前記ドキュメントデータを
印刷データに翻訳する翻訳手段と、前記印刷データに含
まれる基本プリミティブの種類ごとの出現回数を示す出
現回数情報を生成する生成手段と、前記出力回数情報が
プリンタに送信され、前記プリンタが前記出力回数情報
に基づいて印刷完了時間を計算し、当該計算された印刷
完了時間を受信する受信手段とを具えたことを特徴とす
る。
According to a fifth aspect of the present invention, input means for inputting document data from an application program,
A translation unit that translates the document data input from the input unit into print data, a generation unit that generates appearance frequency information indicating the appearance frequency for each type of basic primitives included in the print data, and the output frequency information. But
Sent to the printer, and the printer outputs the output count information
Calculate the print completion time based on the
And a receiving means for receiving the completion time.
It

【0012】[0012]

【0013】[0013]

【0014】[0014]

【0015】[0015]

【0016】[0016]

【0017】[0017]

【0018】[0018]

【0019】[0019]

【0020】[0020]

【0021】[0021]

【0022】[0022]

【0023】[0023]

【0024】[0024]

【0025】[0025]

【作用】本発明によれば、基本プリミティブの種類ごと
の出現回数を示す出現回数情報に基づいてプリンタ装置
が印刷予想時間を算出することができる。これにより,
情報処理装置に性能の異なる複数のプリンタ装置が接続
されていても、各プリンタ装置の性能に合致した印刷予
想時間が得られる。また、プリンタ装置が基本プリミテ
ィブの計数を行わなくてもよいので、プリンタ装置側の
処理負担が増えることはない。
According to the present invention, the printer device can calculate the expected print time based on the appearance count information indicating the appearance count for each type of basic primitive. By this,
Even if a plurality of printers having different performances are connected to the information processing apparatus, the expected print time that matches the performance of each printer can be obtained. Moreover, since the printer device does not have to count the basic primitives, the processing load on the printer device side does not increase.

【0026】[0026]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0027】図1は本発明の基本構成を示すブロック図
である。同図において、1は印刷対象の情報を発生する
ホストコンピュータである。2はホストコンピュータに
接続されている2次記憶装置であり、その中にプリンタ
装置毎に用意するプリンタの基本プリミティブのための
入力基礎データが格納されている。入力基礎データはプ
リンタ内の基本性能データベースを作成するためだけに
使用され、プリンタが製品として出荷される時には使用
されない。
FIG. 1 is a block diagram showing the basic configuration of the present invention. In the figure, reference numeral 1 is a host computer that generates information to be printed. Reference numeral 2 denotes a secondary storage device connected to the host computer, in which input basic data for basic primitives of the printer prepared for each printer device are stored. The input basic data is used only for creating the basic performance database in the printer, and is not used when the printer is shipped as a product.

【0028】3はプリンタ装置全体を示す。プリンタ装
置3内には、様々な通信媒体をサポートするホストコン
ピュータとの通信手段(通信インタフェースとCPUに
より実現)31、プリンタの基本プリミティブだけを通
信手段31から受け取る基本プリミティブ入力手段(通
信インタフェースを使用)32、32から入力されたプ
リンタ基本プリミティブを解析する基本プリミティブ解
析手段(CPUにより実現)33、プリンタ基本性能を
計測し、自動的にプリンタ内の基本性能データベース中
に保持する基本性能データベース管理手段(CPUによ
り実現)35、データベース36、さらに本発明の中心
を為す印刷完了予測手段(CPUにより実現)34、プ
リンタ基本プリミティブをプリンタ内のラスタメモリな
どに展開する基本プリミティブメモリ展開手段(CPU
により実現)37、実際の紙への印字を意味する印字手
段(プリンタ)38が存在する。
Reference numeral 3 denotes the entire printer device. In the printer device 3, a communication means (implemented by a communication interface and a CPU) 31 with a host computer that supports various communication media, a basic primitive input means for receiving only the basic primitives of the printer from the communication means 31 (using the communication interface) ) 32, basic primitive analysis means (realized by CPU) 33 for analyzing printer basic primitives input from 32, basic performance database management means for measuring printer basic performance and automatically holding it in the basic performance database in the printer (Realized by CPU) 35, database 36, print completion predicting means (realized by CPU) 34, which is the core of the present invention, basic primitive memory expansion means (CPU) for expanding the printer basic primitives into a raster memory or the like in the printer.
37) and a printing means (printer) 38 that means actual printing on paper.

【0029】4はプリンタ装置とホストコンピュータと
の論理的通信路であり、双方向の通信さえできれば、こ
れはネットワークのような高速な通信路であっても、シ
リアル回線のような低速な通信路であっても良い。
Reference numeral 4 denotes a logical communication path between the printer device and the host computer. As long as bidirectional communication is possible, this is a high speed communication path such as a network, but a low speed communication path such as a serial line. May be

【0030】図1の2次記憶装置2内に存在するプリン
タに関する基礎データファイルは、プリンタの性能にも
っとも影響する基本描画プリミティブに関するものをそ
の代表的なパラメータと共に用意する必要がある。この
データは、原則的にプリンタの種類とプリンタ処理言語
(LIPS,PCLなど)毎に別々に用意する。1台の
プリンタ装置が複数のプリンタ処理言語をサポートする
場合などは、プリンタ処理言語毎に用意する必要がある
が、1台のプリンタ装置で1種類のプリンタ処理言語し
かサポートしない場合は1つ用意すれば良いことにな
る。
The basic data file relating to the printer existing in the secondary storage device 2 of FIG. 1 needs to be prepared with the typical parameters relating to the basic drawing primitive which most affects the printer performance. In principle, this data is prepared separately for each printer type and each printer processing language (LIPS, PCL, etc.). If one printer device supports multiple printer processing languages, it is necessary to prepare for each printer processing language, but if one printer device supports only one type of printer processing language, prepare one. It will be good if you do.

【0031】これらの基礎データの一例を図2に示す。
図2の例において、プリンタの基本プリミティブはn個
あり、各基本プリミティブにおいて取り得る最大のパラ
メータ個数は3個であると仮定しているが、特にパラメ
ータ個数の制限はない。基礎データはプリミティブ毎
に、プリミティブの識別子、そのプリミティブに必要な
パラメータの個数、実際のパラメータの値が個数分続く
という形を取る。また基礎データとして与える各基本プ
リミティブ毎のパラメータリストの個数はプリンタ内の
記憶装置部分の容量や時間計測の精度に応じて、増減す
るように設定されるべきであろう。通信手段31は、ホ
ストコンピュータ1との通信を司り、ホストコンピュー
タ1から印字データ(プリンタ処理言語など)を受け取
ったり、ホストコンピュータ1から要請があった場合
は、本発明の目的である印字終了時間の予測結果がわか
り次第、ホストコンピュータ1に送信する機能を持って
いる。勿論、この機能以外にも、ホストコンピュータ1
にプリンタ装置3から送信するデータが存在する場合
は、その処理も行うことができることはいうまでもな
い。また、本発明においては、既に説明した通り、通信
手段31はホストコンピュータ1との間の通信の物理媒
体には依存しない。
An example of these basic data is shown in FIG.
In the example of FIG. 2, it is assumed that there are n basic primitives of the printer and the maximum number of parameters that can be taken in each basic primitive is 3, but there is no particular limitation on the number of parameters. The basic data has a form in which for each primitive, the identifier of the primitive, the number of parameters necessary for the primitive, and the number of actual parameter values are continued. Further, the number of parameter lists given as basic data for each basic primitive should be set to increase or decrease according to the capacity of the storage device in the printer and the accuracy of time measurement. The communication means 31 controls communication with the host computer 1, receives print data (printer processing language, etc.) from the host computer 1, and, when requested by the host computer 1, print end time which is the object of the present invention. It has a function of transmitting to the host computer 1 as soon as the prediction result of is understood. Of course, in addition to this function, the host computer 1
Needless to say, if there is data to be transmitted from the printer device 3, that process can also be performed. Further, in the present invention, as described above, the communication means 31 does not depend on the physical medium of communication with the host computer 1.

【0032】基本プリミティブ入力手段32はホストコ
ンピュータ1との通信手段31から、プリンタの基本プ
リミティブだけを受け取る手段(CPUにより実現)で
ある。基本プリミティブ解析手段33は基本プリミティ
ブ入力手段32から送られてくるプリンタ処理言語の基
本プリミティブを解析し、次の処理である基本プリミテ
ィブメモリ展開手段37に渡すための前処理を行う。基
本プリミティブメモリ展開(CPUにより実現)37は
基本プリミティブ解析手段33で分解された各描画基本
機能をプリンタのメモリに展開するまでを担当し、実際
の紙への印字は印字手段38に任せる。メモリへの展開
は部分的展開でも良いし、すべて展開する方式でも良
い。
The basic primitive input means 32 is a means (implemented by the CPU) that receives only the basic primitives of the printer from the communication means 31 with the host computer 1. The basic primitive analysis means 33 analyzes the basic primitives of the printer processing language sent from the basic primitive input means 32, and performs preprocessing for passing to the basic primitive memory expansion means 37 which is the next processing. The basic primitive memory expansion (implemented by the CPU) 37 is in charge of expanding each drawing basic function decomposed by the basic primitive analysis means 33 into the memory of the printer, and leaves the actual printing on the paper to the printing means 38. The expansion to the memory may be partial expansion or full expansion.

【0033】次に、本発明の要点である印字時間予測手
段(CPUにより実現)34および基本性能データベー
ス管理手段(CPUにより実現)35を説明する。ま
ず、プリンタ装置を製品として、出荷する前に行う必要
のある基本性能データベースへの登録手段を説明する。
プリンタ装置がほぼ完成し、プリンタ装置内のソフトウ
ェア開発が完了した時点において、まず当該プリンタ装
置に関する基礎データをホストコンピュータ1からプリ
ンタ装置3に一つずつ送信する。通信手段31から入力
されるデータは基本プリミティブ毎に基本プリミティブ
手段33で解析され、基本プリミティブメモリ展開手段
37でメモリに展開される。これに要する時間を印字予
測手段34内の時間計測手段(内部タイマ)を使用して
計測し、基本性能データベース管理手段35の登録機能
を使用し、基礎データと計測時間の組をプリンタ内の基
本性能データベース(メモリ内に設置)36に登録す
る。この時間計測手段は十分細かい精度のタイマを使用
する必要がある。また、データベース36を格納するメ
モリはプリンタの電源が切られても、記憶内容が保持さ
れることが保証されなければならない。このとき、登録
されたデータベースの各々エントリの例を図3に示す。
図3は図2の基礎データを与えた場合の、プリンタ内の
基本性能データベースの例を表している。勿論、上記管
理機能にはこのデータベースのエントリの更新機能や消
去機能も持っていることはいうまでもない。
Next, the printing time predicting means (implemented by CPU) 34 and the basic performance database management means (implemented by CPU) 35, which are the main points of the present invention, will be described. First, a description will be given of a registration means in the basic performance database, which is required to be performed before shipping the printer device as a product.
When the printer device is almost completed and the software development in the printer device is completed, the basic data concerning the printer device is first transmitted from the host computer 1 to the printer device 3 one by one. The data input from the communication means 31 is analyzed by the basic primitive means 33 for each basic primitive, and is expanded in the memory by the basic primitive memory expansion means 37. The time required for this is measured using the time measuring means (internal timer) in the print predicting means 34, the registration function of the basic performance database managing means 35 is used, and a set of basic data and measured time is used as the basic data in the printer. It is registered in the performance database (installed in the memory) 36. This time measuring means needs to use a timer with a sufficiently fine accuracy. In addition, the memory that stores the database 36 must be guaranteed to retain the stored contents even when the printer is powered off. At this time, an example of each entry in the registered database is shown in FIG.
FIG. 3 shows an example of the basic performance database in the printer when the basic data of FIG. 2 is given. Of course, it goes without saying that the management function also has an update function and an erase function for this database entry.

【0034】図1の基本構成を具体的に実現するための
システム構成を図4に示す。図4において、101は基
礎データファイル2を記憶するための記憶装置である。
102は情報発生源としてのホストコンピュータであ
り、詳細な説明を要しないであろう。200はプリンタ
装置である。202はインタフェースであり、RS42
2,SCSI等の各種のインタフェースを用いればよ
い。201はCPU201であり、システムメモリ20
3に格納された各種プログラムを実行することにより図
1で述べた回路としての機能を果たす。
FIG. 4 shows a system configuration for specifically realizing the basic configuration of FIG. In FIG. 4, 101 is a storage device for storing the basic data file 2.
Reference numeral 102 is a host computer as an information generation source, and will not be described in detail. Reference numeral 200 is a printer device. 202 is an interface, RS42
2. Various interfaces such as SCSI may be used. 201 is the CPU 201, and the system memory 20
By executing the various programs stored in 3, the circuit functions as the circuit described in FIG.

【0035】204は印刷用メモリであり、印刷のため
にイメージをドット形態で記憶する。このドットイメー
ジはプリンタ機構205により順次読出されて印字され
る。
A printing memory 204 stores an image in a dot form for printing. The dot image is sequentially read and printed by the printer mechanism 205.

【0036】次に、この基本性能データベースを利用し
て、実際の印字時間予測の方法を説明する。先ほど述べ
たと同様に、通信手段31から入力されたプリンタ処理
言語(プリンタ基本プリミティブの列)は、基本プリミ
ティブ入力手段32を通じ基本プリミティブ解析手段3
3で解析され、基本描画機能に分解される。一つの基本
プリミティブの解析が完了した時点において、印字時間
予測手段34内のパターンマッチング機能を使用し、送
られてきたプリンタ処理言語列内に各基本プリミティブ
が何度出現するかを印字時間予測手段34の計数手段で
各基本プリミティブ毎に計数していく。
Next, an actual printing time prediction method using this basic performance database will be described. In the same manner as described above, the printer processing language (printer basic primitive sequence) input from the communication means 31 is passed through the basic primitive input means 32 to the basic primitive analysis means 3
It is analyzed in 3 and decomposed into basic drawing functions. When the analysis of one basic primitive is completed, the pattern matching function in the printing time predicting means 34 is used to determine how many times each basic primitive appears in the sent printer processing language string. The counting means 34 counts each basic primitive.

【0037】このパターンマッチング機能は基本プリミ
ティブに通常必要とされるパラメータに関するもので、
基本性能データベーズ36内に保持されている基礎デー
タに最も類似したものを選択したり、必要ならば図形の
大きさや線分の長さに関するの縮尺を動的に判断し、デ
ータベースに登録されている時間を実際の縮尺に合わせ
て計算しなおす機能も持っても良い。このパターンマッ
チング機能には人工知能的な手法を採り入れてもよい。
This pattern matching function is concerned with the parameters normally required for basic primitives,
The most similar to the basic data stored in the basic performance data base 36 is selected, and if necessary, the scale of the size of the figure and the length of the line segment is dynamically determined and registered in the database. You may also have the function to recalculate the remaining time according to the actual scale. An artificial intelligence method may be adopted for this pattern matching function.

【0038】また、基本プリミティブ解析手段33で分
解された基本描画機能はこの時間予測処理に関係なく、
基本プリミティブメモリ展開手段37に送られ、通常の
印字処理が行われる(つまり、この時間予測機能は実際
にプリンタの印字処理に最低限のオーバヘッドしかもた
らさないことになる)。
The basic drawing function decomposed by the basic primitive analyzing means 33 is irrelevant to this time prediction processing.
The data is sent to the basic primitive memory expansion means 37, and the normal print processing is performed (that is, this time prediction function actually causes a minimum overhead to the print processing of the printer).

【0039】すべてのプリンタ処理言語の解析が終了し
た時点で、各プリミティブ毎に計数された数を前もって
登録された時間(種類毎の印字所要時間)を掛け合わせ
た印字予測時間の総計を求め、通信手段31を通じて、
必要ならば印字要求ホストに通知する。なおホストコン
ピュータとプリンタ装置の通信に要する時間は、通常す
べての印字データが一度にプリンタ装置に送ることがで
きないので、本実施例では上述のようにパイプライン的
に処理することを仮定すれば、無視できる時間であると
想定している。この時点で、実際の紙への印字は終了し
ていないにも関わらず、ホストコンピュータ上のユーザ
は実際の印字が終了する以前に、ユーザが送った印字ジ
ョブの完了時間に関する精度の良い情報を得ることが可
能になる。
At the time when all the printer processing languages have been analyzed, the total number of predicted print times obtained by multiplying the number counted for each primitive by the previously registered time (print required time for each type) is obtained, Through the communication means 31,
Notify the print request host if necessary. Note that the time required for communication between the host computer and the printer device is normally that all print data cannot be sent to the printer device at a time, so in this embodiment, assuming that processing is performed in a pipeline manner as described above, We assume it is a negligible time. At this point, the user on the host computer can obtain accurate information about the completion time of the print job sent by the user before the actual printing ends, even though the actual printing on the paper has not finished. It will be possible to obtain.

【0040】以上の処理をCPU201が実行するため
の手順を図5,図6に示しておく。図5は前処理のため
の処理手順を示す。
The procedure for the CPU 201 to execute the above processing is shown in FIGS. FIG. 5 shows a processing procedure for preprocessing.

【0041】図5において、基礎データを入力するS1
00の処理を実行するときのCPU201が図1の基本
プリミティブ入力手段32として機能する。S110の
基本プリミティブ解析処理を実行するとこのCPU20
1が図1の基本プリミティブ解析手段として動作する。
In FIG. 5, S1 for inputting basic data
The CPU 201 when executing the processing of 00 functions as the basic primitive input means 32 of FIG. When the basic primitive analysis process of S110 is executed, the CPU 20
1 operates as the basic primitive analysis means of FIG.

【0042】S120のメモリ展開するときのCPU2
01が印刷用メモリ204と共に図1の基本プリミティ
ブメモリ展開手段37を構成する。タイマの計測を行う
S130の処理を実行するときのCPU201がタイマ
と共に時間計測手段を構成する。
CPU2 when expanding the memory in S120
01 constitutes the basic primitive memory expansion means 37 of FIG. 1 together with the printing memory 204. The CPU 201 when executing the process of S130 for measuring the timer constitutes a time measuring unit together with the timer.

【0043】データ登録を行う図1の基本性能データベ
ース36はシステムメモリ203が不図示のハードディ
スク上に構築し、基本性能データベース管理手段35は
データベースにアクセスするためのソフトを実行するC
PU201が担当する。
The basic performance database 36 shown in FIG. 1 for data registration is constructed on a hard disk (not shown) of the system memory 203, and the basic performance database management means 35 executes software for accessing the database C.
PU201 is in charge.

【0044】図6は、印字予測時間を取得するための処
理手順を示す。
FIG. 6 shows a processing procedure for acquiring the estimated print time.

【0045】S200の基本プリミティブ入力処理、S
210の基本プリミティブ解析処理を実行するときのC
PU201が図1の基本プリミティブ入力手段32、基
本プリミティブ解析手段33に対応する。この解析にお
いて、パターンマッチング処理を行うときのCPU20
1が図1のパターンマッチング手段として動作する。
Basic primitive input processing of S200, S
C when executing 210 basic primitive analysis processing
The PU 201 corresponds to the basic primitive input means 32 and the basic primitive analysis means 33 of FIG. In this analysis, the CPU 20 when performing pattern matching processing
1 operates as the pattern matching means in FIG.

【0046】さらに、S220で解析処理後に基本プリ
ミティブの個数を計数するときのCPU201が図1の
計数手段として動作する。また、計数値と登録値(時
間)から印字予測時間を算出する(S240)ときのC
PU201が図1の印刷完了予測手段34として動作す
る。<他の実施例>上述の本発明の他の実施形態を図7
に示す。図7において、5はホストコンピュータ、6は
ホストコンピュータ5に接続されている2次記憶装置で
あり、本実施例においては、プリンタ装置7のスプーリ
ングシステムに使用するスプールファイルなどを作成す
るために使用される。7はネットワークに直接継る本発
明に必要な機能を実現した各種プリンタ装置であり、ネ
ットワーク上に複数台接続されていると仮定している。
Further, the CPU 201 when counting the number of basic primitives after the analysis processing in S220 operates as the counting means of FIG. In addition, C when the predicted printing time is calculated from the count value and the registered value (time) (S240)
The PU 201 operates as the print completion prediction unit 34 of FIG. <Other Embodiments> FIG. 7 shows another embodiment of the present invention described above.
Shown in. In FIG. 7, reference numeral 5 is a host computer, and 6 is a secondary storage device connected to the host computer 5. In this embodiment, in order to create a spool file or the like used in the spooling system of the printer device 7. used. Reference numeral 7 denotes various printer devices that realize the functions required for the present invention that directly connect to the network, and it is assumed that a plurality of printer devices are connected to the network.

【0047】ホストコンピュータ5内の51はプリンタ
7に印刷要求を行うDTPソフトウェアなどのアプリケ
ーションプログラム、53はアプリケーションからの文
書データをプリンタ言語に翻訳するためのプリンタドラ
イバであり、普通はOS(オペレーティングシステム)
の機能の一部として組み込まれる。54はプリンタへ印
字要求をスプールするプリンタスプーラプログラムであ
り、通常はセントロニクスインタフェースやシリアルイ
ンタフェースなどを介して、プリンタ装置に印字データ
を送信するが、本実施例ではスプーラから送信される印
字データはネットワークドライバに横取りされ、ネット
ワークを介して、ネットワーク上のプリンタ装置7に送
られる。55はネットワークを介してデータを送受信す
る機能を実現するための通信手段を表わしている。基本
プリミティブ出現回数計測手段52は本実施例におい
て、最も重要なポイントであり、図1の印字完了予測手
段34とほぼ同じような以下のような機能を持ってい
る。
In the host computer 5, 51 is an application program such as DTP software for making a print request to the printer 7, 53 is a printer driver for translating the document data from the application into the printer language, usually an OS (operating system). )
Incorporated as part of the functionality of. Reference numeral 54 is a printer spooler program for spooling a print request to a printer. Normally, print data is sent to a printer device via a Centronics interface or serial interface. In this embodiment, the print data sent from the spooler is a network. It is intercepted by the driver and sent to the printer device 7 on the network via the network. Reference numeral 55 represents a communication means for realizing the function of transmitting and receiving data via the network. The basic primitive appearance frequency measuring means 52 is the most important point in this embodiment, and has the following functions, which are almost the same as the print completion predicting means 34 of FIG.

【0048】(a)プリンタドライバから、パラメータ
付きで、各プリンタ基本プリミティブの出現回数情報を
獲得する(パラメータは近似する)。
(A) Acquire information on the number of appearances of each printer basic primitive with parameters from the printer driver (the parameters are similar).

【0049】(b)プリンタスプーラプログラムと通信
し、この出現回数データをスプーラプログラムに渡す。
(B) Communicate with the printer spooler program, and pass this appearance count data to the spooler program.

【0050】なお、この機能はプリンタドライバに組み
込んでも良いが、この例では分離している。本実施例に
おける、プリンタスプーラプログラムを次に説明する。
プリンタスプーラプログラムは印刷データをネットワー
ク上のプリンタ装置に送信する前に、まずプリンタ処理
言語(LIPS,PCLなど)に関する情報と本実施例
における基本プリミティブ出現計測手段52から得られ
た情報をネットワークに対しマルチキャスト型通信を行
う。ネットワーク上の複数のプリンタ装置はこのマルチ
キャスト通信パケットを受信し、要求された印刷ジョブ
が実行可能なら、この要求を受け付け、実際に印字する
ことなく、指定印刷ジョブに関する理論的な印刷完了時
間を計算して、ホストコンピュータ5に返答する。プリ
ンタスプーラプログラムは通信手段55を通じて、この
データを受け取り、返答された結果の内、最も小さい印
刷完了時間を返したプリンタ装置に実際の印字データを
送信する。この機能によって、ネットワークに接続され
ているプリンタ装置に対する印刷要求の柔軟なスケジュ
ーリング機能を提供することが可能である。なお、本発
明はその主旨を逸脱しない範囲で種々に変形して実施す
ることが可能であることは言うまでもないであろう。
Although this function may be incorporated in the printer driver, it is separated in this example. The printer spooler program in this embodiment will be described below.
Before sending the print data to the printer device on the network, the printer spooler program first sends information about the printer processing language (LIPS, PCL, etc.) and the information obtained from the basic primitive appearance measuring means 52 in this embodiment to the network. Performs multicast type communication. Multiple printer devices on the network receive this multicast communication packet, and if the requested print job can be executed, accept this request and calculate the theoretical print completion time for the specified print job without actually printing. Then, it responds to the host computer 5. The printer spooler program receives this data through the communication means 55, and transmits the actual print data to the printer device which returned the smallest print completion time among the returned results. With this function, it is possible to provide a flexible scheduling function for print requests to the printer devices connected to the network. Needless to say, the present invention can be variously modified and implemented without departing from the spirit of the invention.

【0051】以上の説明から明らかなように、本発明に
よれば、印字予測時間の予測精度が向上し、従来のプリ
ンタ装置のバッチ処理的な使用法を越え、プリンタ装置
に対し印刷を要求するユーザに対し、プリンタ装置種類
毎に異なる印刷ジョブの終了時間をかなりの精度で予測
し、かつユーザに通知するという優れた効果を得ること
ができる。
As is clear from the above description, according to the present invention, the prediction accuracy of the predicted printing time is improved, and the printer apparatus is requested to perform printing beyond the batch processing usage of the conventional printer apparatus. It is possible to obtain an excellent effect of predicting the end time of a print job, which is different for each printer device type, with considerable accuracy and notifying the user to the user.

【0052】[0052]

【発明の効果】以上、説明したように、本発明によれ
ば、ドキュメント生成データから生成される印刷データ
以外のデータを生成することができる。たとえば、プリ
ンタドライバが印刷データを生成すると共に、印刷デー
タにおける基本プリミティブの出現回数情報のような印
刷データ以外のデータが生成されることにより各プリン
タ装置における印刷完了時間をプリンタ装置に計算させ
てホストコンピュータのような情報処理装置に返答させ
ることができるという効果も奏する。
As described above, according to the present invention, data other than print data generated from document generation data can be generated. For example, the printer driver generates print data, and data other than print data such as information on the number of appearances of basic primitives in the print data is generated to cause the printer device to calculate the print completion time in each printer device. There is also an effect that an information processing device such as a computer can be answered.

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

【図1】本発明実施例の基本構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a basic configuration of an embodiment of the present invention.

【図2】本発明実施例の基本プリミティブを示す説明図
である。
FIG. 2 is an explanatory diagram showing basic primitives according to the embodiment of this invention.

【図3】本発明実施例の基本プリミティブを示す説明図
である。
FIG. 3 is an explanatory diagram showing basic primitives according to the embodiment of this invention.

【図4】本発明の具体的なシステム構成を示すブロック
図である。
FIG. 4 is a block diagram showing a specific system configuration of the present invention.

【図5】図4のCPU201が実行する処理手順を示す
フローチャートである。
5 is a flowchart showing a processing procedure executed by a CPU 201 of FIG.

【図6】図4のCPU201が実行する処理手順を示す
フローチャートである。
6 is a flowchart showing a processing procedure executed by a CPU 201 of FIG.

【図7】第2実施例の基本システムを示すブロック図で
ある。
FIG. 7 is a block diagram showing a basic system of a second embodiment.

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

1 ホストコンピュータ 2 基礎データファイル 3 プリンタ装置 31 通信手段 32 基本プリミティブ入力手段 33 基本プリミティブ解析手段 34 印刷完了予測手段 37 基本プリミティブメモリ展開手段 1 Host computer 2 Basic data file 3 Printer 31 Communication means 32 basic primitive input means 33 basic primitive analysis means 34 Printing completion prediction means 37 Basic Primitive Memory Expansion Means

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 3/12 B41J 5/30 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 3/12 B41J 5/30

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 アプリケーションプログラムから生成し
たドキュメントデータからプリンタへ送信する印刷デー
タをプリンタドライバを用いて生成する情報処理装置で
あって、 前記プリンタドライバに、前記ドキュメントデータから
前記印刷データを生成させる第1制御手段と、 前記プリンタドライバに、前記印刷データに含まれる基
本プリミティブの種類ごとの出現回数を示す出現回数情
報を生成させる第2制御手段と 前記出力回数情報を前記プリンタに送信する送信手段
と、 前記プリンタが前記出力回数情報に基づいて印刷完了時
間を計算し、当該計算された印刷完了時間を受信する受
信手段と を具えたことを特徴とする情報処理装置。
1. An information processing apparatus for generating, using a printer driver, print data to be transmitted to a printer from document data generated from an application program, the printer driver causing the printer driver to generate the print data from the document data. a first control unit, the printer driver, and second control means for generating the number of occurrences information indicating the number of occurrences of each type of basic primitives included in the print data, transmitting means for transmitting the output count information to the printer
And when the printer completes printing based on the output count information.
Calculate the interval and receive the calculated print completion time.
An information processing device characterized by comprising a communication means .
【請求項2】 請求項1に記載の情報処理装置におい
て、前記送信手段は、複数のプリンタに前記出力回数情
報を送信し、前記受信手段は、前記複数のプリンタから
印刷完了時間を受信することを特徴とする情報処理装
置。
2. The information processing apparatus according to claim 1,
The transmitting means outputs the information about the number of outputs to a plurality of printers.
And sending the information to the receiving means from the plurality of printers.
Information processing device characterized by receiving print completion time
Place
【請求項3】 請求項2に記載の情報処理装置におい
て、前記複数のプリンタのうち、前記印刷完了時間が最
も小さいプリンタに、生成した印刷データを送信する印
刷データ送信手段を有することを特徴とする情報処理装
置。
3. The information processing apparatus according to claim 2,
Of the plurality of printers, the print completion time is the longest.
Printer that sends the generated print data to a small printer.
Information processing apparatus characterized by having a printing data transmission means
Place
【請求項4】 アプリケーションプログラムから生成し
たドキュメントデータからプリンタへ送信する印刷デー
タをプリンタドライバを用いて生成する情報処理方法で
あって、 前記プリンタドライバに、前記ドキュメントデータから
前記印刷データを生成させる第1制御ステップと、 前記プリンタドライバに、前記印刷データに含まれる基
本プリミティブの種類ごとの出現回数を示す出現回数情
報を生成させる第2制御ステップと、 前記出力回数情報を前記プリンタに送信する送信ステッ
プと、 前記プリンタが前記出力回数情報に基づいて印刷完了時
間を計算し、当該計算された印刷完了時間を受信する受
信ステップとを具えたことを特徴とする情報処理方法。
4. Generated from an application program
Print data to be sent from the saved document data to the printer.
Data generation method using a printer driver
There, in the printer driver, from the document data
A first control step of generating the print data, and a printer driver including a group included in the print data.
Appearance count information indicating the number of appearances for each type of this primitive
Second control step for generating a report and a transmission step for transmitting the output count information to the printer.
And when the printer completes printing based on the output count information.
Calculate the interval and receive the calculated print completion time.
An information processing method comprising a communication step.
【請求項5】 アプリケーションプログラムからドキュ
メントデータを入力する入力手段と、 前記入力手段から入力された前記ドキュメントデータを
印刷データに翻訳する翻訳手段と、 前記印刷データに含まれる基本プリミティブの種類ごと
の出現回数を示す出現回数情報を生成する生成手段と 前記出力回数情報がプリンタに送信され、前記プリンタ
が前記出力回数情報に基づいて印刷完了時間を計算し、
当該計算された印刷完了時間を受信する受信手段とを具
えたことを特徴とするドライバ。
5. An input unit for inputting document data from an application program, a translation unit for translating the document data input from the input unit into print data, and an appearance for each type of basic primitives included in the print data. Generating means for generating appearance frequency information indicating the frequency, and the output frequency information transmitted to the printer,
Calculates the print completion time based on the output count information,
Receiving means for receiving the calculated print completion time.
A driver characterized by what you got.
JP07870999A 1999-03-23 1999-03-23 Information processing apparatus, information processing method, and printer driver Expired - Fee Related JP3363822B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07870999A JP3363822B2 (en) 1999-03-23 1999-03-23 Information processing apparatus, information processing method, and printer driver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07870999A JP3363822B2 (en) 1999-03-23 1999-03-23 Information processing apparatus, information processing method, and printer driver

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP5298296A Division JPH07152522A (en) 1993-11-29 1993-11-29 Method for predicting printing time of information output device

Publications (2)

Publication Number Publication Date
JPH11316664A JPH11316664A (en) 1999-11-16
JP3363822B2 true JP3363822B2 (en) 2003-01-08

Family

ID=13669403

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07870999A Expired - Fee Related JP3363822B2 (en) 1999-03-23 1999-03-23 Information processing apparatus, information processing method, and printer driver

Country Status (1)

Country Link
JP (1) JP3363822B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001061463A1 (en) 2000-02-21 2001-08-23 Seiko Epson Corporation System for mediating printing on network
WO2001061460A1 (en) 2000-02-21 2001-08-23 Seiko Epson Corporation System for mediating printing on network
JP4189118B2 (en) * 2000-08-10 2008-12-03 セイコーエプソン株式会社 System that mediates printing on the network

Also Published As

Publication number Publication date
JPH11316664A (en) 1999-11-16

Similar Documents

Publication Publication Date Title
US5579447A (en) System for developing and displaying a representation of a total estimated time to print a job
US8233185B2 (en) Page parallel RIP and cache tuning in print/copy job environment utilizing page description languages
US6208428B1 (en) Printing system and charging method thereof
JP4164280B2 (en) Peripheral device, job management method, computer-readable storage medium and program
JPH10333846A (en) Output control method and device therefor
JP4401662B2 (en) Print control apparatus and print control method
US7952742B2 (en) Information processing apparatus for processing print data, method thereof and media in storage of control program of executing such method
JP3363822B2 (en) Information processing apparatus, information processing method, and printer driver
JP2004341728A (en) Printer, printing system and cancellation method
JPH1011043A (en) License server and picture processing device
JPH07152522A (en) Method for predicting printing time of information output device
JPH11191041A (en) Print controller and data processing method thereof, and storage medium stored with computer-readable program
JP3726690B2 (en) Print management system, print management method and computer program for managing print logs
JP3610194B2 (en) Print control apparatus, print control method, and storage medium storing computer-readable program
JP4652503B2 (en) Status management method, apparatus, and storage medium
JP2001243026A (en) Image forming device, system and method for transferring image data and storage medium
US7079268B1 (en) Printing system and method of controlling same
JP4164279B2 (en) Peripheral device, job management method, computer-readable storage medium and program
JP2004038659A (en) Information display controller, method for controlling information display, program, and storage medium
JP3897083B2 (en) Print processing apparatus and print processing method
JP2003011445A (en) Printer controller, printer, printing control method, printing control program and storage medium
JP2003308191A (en) Print system, information processor, information processing method, and control program
KR20060132405A (en) Method and apparatus for providing printing time in network printing device
KR100529327B1 (en) Printing state display apparatus and method thereof
JP2002366331A (en) Storage type printer

Legal Events

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

Free format text: PAYMENT UNTIL: 20071025

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081025

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091025

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees