JP2004001581A - Printing processing apparatus, information processing apparatus communicable with the apparatus, printing processing method, processing method and storage medium - Google Patents
Printing processing apparatus, information processing apparatus communicable with the apparatus, printing processing method, processing method and storage medium Download PDFInfo
- Publication number
- JP2004001581A JP2004001581A JP2003323105A JP2003323105A JP2004001581A JP 2004001581 A JP2004001581 A JP 2004001581A JP 2003323105 A JP2003323105 A JP 2003323105A JP 2003323105 A JP2003323105 A JP 2003323105A JP 2004001581 A JP2004001581 A JP 2004001581A
- Authority
- JP
- Japan
- Prior art keywords
- job
- data
- unit
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
Abstract
Description
本発明は、ホストコンピュータから送信された印刷ジョブを印刷出力するよう制御する印刷処理装置及び該印刷処理装置と通信可能な情報処理装置並びに印刷処理方法及び処理方法及び記憶媒体に関する。 The present invention relates to a print processing apparatus that controls a print job transmitted from a host computer to print out, an information processing apparatus capable of communicating with the print processing apparatus, a print processing method, a processing method, and a storage medium.
従来例を図5、図6を使って説明する。図5は印刷装置の構成を表す図であり、図6は従来例においてホストコンピュータからデータを受信した時の動作を表すフローチャートである。 A conventional example will be described with reference to FIGS. FIG. 5 is a diagram showing a configuration of a printing apparatus, and FIG. 6 is a flowchart showing an operation when data is received from a host computer in a conventional example.
図5において、501は印刷装置本体、502は印刷装置501にデータを送るホストコンピュータ(ホスト)、503はホスト502から送られてきたデータを受信する入力部、504は印刷ジョブのデータを解析して各印刷ぺ一ジのビデオ信号を作成する印刷処理部、505は印刷装置501全体の制御を行なう中央制御部、506は印刷処理部504から送られてきた各ページのビデオ信号を印刷用紙に転写して出力する出力部、507は印刷用紙を蓄積、供給する用紙カセットである。508はユーザによる印刷モードの設定等を行うための操作部である。
In FIG. 5,
従来は、図5に示す印刷装置501に対して、ホスト502から印刷開始命令で始まり印刷終了命令で終るプリンタ言語で記述された印刷を行なうためのデータが送られてくる(図8)。
Conventionally, data for performing printing described in a printer language which starts with a print start command and ends with a print end command is sent from the
プリンタ等の周辺機器において、ホストコンピュータから受信したデータには、実際に印刷するページ記述言語等で表現された印刷データ(以下PDL)を、ジョブランゲージ(以下JL)と呼ばれるコマンド情報で括り、印刷ジョブの制御等を行っていた。JLはPDLとは独立しているが、PDLと同じテキスト列で表現されている。 In a peripheral device such as a printer, data received from a host computer includes print data (hereinafter referred to as PDL) expressed in a page description language or the like to be actually printed by command information called a job language (hereinafter referred to as JL), and printed. Job control was performed. JL is independent of PDL, but is represented by the same text string as PDL.
ホスト502から送られてきたデータは入力部503で受信される(S601:図6)。入力部503は印刷開始命令で始まるデータは印刷ジョブであると判断し、以後印刷終了命令を検出するするまでのデータを1つの印刷ジョブとして扱う。
Data received from the
入力部503は印刷開始命令(JL)を検出すると中央制御部505にジョブ開始通知を行なう。中央制御部505はジョブ開始通知を受けると、印刷処理手段504に対して現在受信中の印刷ジョブの印刷処理の開始を指示する。
(4) Upon detecting the print start command (JL), the
印刷処理手段504はその指示を受けると入力部503からデータを取り込み、現在受信中の印刷ジョブの印刷処理を行なう(S602)。
(4) Upon receiving the instruction, the
印刷処理手段504は印刷ジョブのデータを解析し、1ぺ一ジ分のビデオ信号が完成すると、そのビデオ信号を出力部506に送り、また次のぺ一ジのビデオ信号を作成する。出力部506はビデオ信号が送られてくると用紙カセット507から用紙を取り込み、その用紙にビデオ信号を描画出力して排紙する。印刷処理手段504は、そのようにしてその印刷ジョブの印刷終了命令までの処理を行なうと(S603−YES)、中央制御部505に対して印刷終了の通知を行なう。
The
印刷処理手段504は印刷終了命令(JL)を受信するまで、受信した印刷ジョブの処理を継続する(S603−No)。
(4) The
次に、また、ホスト502から別な印刷ジョブのデータが送られてくると同様の処理を行なう。例えば図8に示すように、印刷ジョブAと印刷ジョブBのような場合である。
Next, the same processing is performed when data of another print job is sent from the
ホスト502から連続で印刷ジョブが送られてくるような場合は、中央制御部505は、印刷処理手段504から前の印刷ジョブの印刷終了通知を受けるよりも前に入力部503から次の印刷ジョブの印刷開始通知を受けることがある。その場合中央制御部505は印刷処理手段504から前の印刷ジョブの印刷終了通知を受けてから、次の印刷ジョブの印刷開始を印刷処理手段504に指示することになる。
When a print job is continuously sent from the
印刷ジョブA801(図8)の完了を受けて印刷ジョブB802の印刷処理が開始される。
(4) Upon completion of print job A 801 (FIG. 8), print processing of
従って、印刷処理部504で、印刷ジョブの解析に長時間を要すると後続の別の印刷ジョブの実行管理において、迅速な処理ができなくなる。
Therefore, if it takes a long time for the
このような従来の印刷システムにおける情報獲得、環境設定を行う仕組みを具現化した印刷システムの模式的構成を示すブロック図を図14に示す。 FIG. 14 is a block diagram showing a schematic configuration of a printing system embodying a mechanism for performing information acquisition and environment setting in such a conventional printing system.
従来の印刷システムは、ホストコンピュータ109と、印刷装置110とを所定の通信媒体1413を介して接続した構成となっている。
The conventional printing system has a configuration in which the
ホストコンピュータ109は、アプリケーション部1401と、プリンタドライバ部1402と、送信バッファ1403と、I/F(インタフェース)ドライバ部1404と、ユーティリティ部1405とを備えている。
The
アプリケーション部1401は、ユーザにグラフィックユーザインタフェイスを提供し、ユーザの目的に適った画像データを生成する。プリンタドライバ部1402は、アプリケーション部1401が生成した画像データを印刷装置110で印刷可能なページ記述言語(PDL)データに変換する。
The
送信バッファ1403は、プリンタドライバ部1402が生成したPDLデータを一時的に格納しておく。I/Fドライバ部1404は、送信バッファ1403に蓄えられたPDLデータを印刷装置110に送信、及び印刷装置110の情報の送受信を行う。ユーティリティ部1405は、印刷装置110の情報を獲得してグラフィックユーザインタフェイスに提供したり、ユーザの要望に従って印刷装置110の環境設定を変更する。
The
また、印刷装置110は、I/Fドライバ部1406と、受信バッファ1407と、JL(ジョブ制御言語)パーサ部1408と、PDLトランスレータ部1409と、描画バッファ1410と、描画部1411と、プリンタエンジン部1412と、機器データベース部1413とを備えている。I/Fドライバ部1406は、ホストコンピュータ109から送信されたPDLデータの受信、印刷装置110の情報の送信、環境設定の受信を行う。受信バッファ1407は、I/Fドライバ部1406で受信した全データを一時的に確保し、後段の処理の遅延の緩衝材となる。
Further, the
JLパーサ部1408は、受信データを解析し、印刷装置110の情報獲得かPDLデータの受信かの処理の振り分けを、所定のJLによって判断して処理を振り分ける。PDLトランスレータ部1409は、JLパーサ部1408によってPDLデータを振り分けられたPDLの翻訳処理を行い、描画に適した描画オブジェクトである中間データに変換を行う。機器データベース部1413は、JLにより設定された印刷装置110の情報を格納し、JLにより獲得或いは後段のPDLトランスレータ部1409に情報を提供する。ここでいう環境情報とは、例えば印刷枚数のことである。
The LJL
描画バッファ1410は、PDLトランスレータ部1409によって生成された描画オブジェクトの中間データを実際に印刷を行うまで一時的に格納しておく。描画部1411は、描画バッファ1410に一時格納された描画オブジェクトを実際に描画を行ってビットマップ画像であるイメージデータを生成する。プリンタエンジン部1412は、描画部1411が生成したビットマップ画像を受取り、既知の印刷技術により用紙等のメディアに印刷を行う。
The
次に、ジョブ制御言語(JL)について説明する。先ず、JLを用いた印刷データ送信の手段を説明する。 Next, the job control language (JL) will be described. First, a means for transmitting print data using JL will be described.
JL(Job Language)は、PDLと共にホストコンピュータ109のプリンタドライバ部1402において生成され送信されるデータで、テキスト形式の構造をとっている。JLは、<ESC>で表されるエスケープ文字を含んでいる。例えば、それまで動作していたPDLトランスレータ部1409の処理を終了してJLパーサ部1408に制御を渡し、パーサ処理を開始させることや、“LIPS”(LIPS:キヤノン(株)の登録商標)という名称のPDLトランスレータ部1409に処理を移行し、PDLの翻訳及び描画処理を行うことを示している。上記のJLの働きにより、印刷装置110は複数の異なるPDLから構成される印刷データを適切に切り替え、印刷が可能となる。
@JL (Job Language) is data generated and transmitted by the
次に、JLによる印刷装置110の情報獲得、環境設定の手段を説明する。例えば、JLには、ホストコンピュータ900のユーティリティ部905から生成される命令があり、印刷装置110のページの印刷枚数(COPIES)の初期値を印刷装置110から獲得する命令が存在する。尚、COPIESは一例であり、その他の印刷装置110の環境情報は対応した文字列により獲得可能である。また、JLには、ホストコンピュータ109のユーティリティ部1405から生成される命令があり、印刷装置110のページの印刷枚数の初期値を「X枚」に設定する命令がある。上記のJLの働きにより、ホストコンピュータ109は印刷装置110の情報の獲得及び設定が可能となっている。
しかしながら、従来例のように、JLを使用した印刷ジョブ単位の印刷処理においては以下の3点のような不具合があった。(1)ホストコンピュータから受信したデータで、実際に印刷するデータ(PDL)を最後まで解釈しないとジョブの全体的な負荷量が検知できない。(2)PDLを解釈するまでジョブが認識できない。(3)PDLを解釈する以前の段階でジョブ管理ができない。 However, as in the conventional example, there are the following three problems in the print processing in units of print jobs using JL. (1) The entire load of a job cannot be detected unless the data (PDL) to be actually printed in the data received from the host computer is interpreted to the end. (2) The job cannot be recognized until the PDL is interpreted. (3) Job management cannot be performed before the PDL is interpreted.
図2は本発明の実施形態において、印刷処理部504における印刷ジョブの処理を簡単にブロック図化したものであるが、従来では図2のキュー204以降においてのみジョブの管理が可能であった。
FIG. 2 is a simplified block diagram of print job processing in the
印刷ジョブを一体としてシリアルな情報として処理がなされていたために、複数の印刷ジョブが連続的に投入された場合、先行する印刷ジョブの印刷処理が完全に終了するまで、後続の印刷ジョブは処理待ちとなる。具体的には、従来例によると、上記図14の印刷装置110の構造を見ればわかるように、印刷ジョブの認識を行うJLパーサ部1408が解釈する前に一度受信バッファ1407に格納されるため、受信バッファ1407に入った印刷データは印刷ジョブとして認識されず、印刷装置110に入ったすべての印刷ジョブの情報取得、設定という点に介して不完全なものになるという問題がある。
When multiple print jobs are submitted consecutively because the print job was processed as serial information as a unit, subsequent print jobs wait until the print processing of the preceding print job is completely completed. It becomes. More specifically, according to the conventional example, as can be seen from the structure of the
また、ホストコンピュータ109のアプリケーション部1401によって生成された印刷データは、プリンタドライバ部1402によってPDLデータに変換され、送信バッファ1403、I/Fドライバ部1404を経由して印刷装置110に送信されるが、データ送信中にユーティリティ部1405から印刷装置110の情報取得、設定やジョブ制御を行おうとしても、I/Fドライバ部1404によって排他制御され、上記PDLデータの送信がすべて完了するまでユーティリティ部1405の要求を満たすことができないため、リアルタイム性を損なうことになっている。
The print data generated by the
さらに、付帯した課題として、印刷処理の実行は先行する印刷処理の状況に依存するために、後続の印刷ジョブの出力は、いつ出力されるか等不確定であり、余分な待ち時間が強いられることになる。印刷ジョブのうち、優先順位の高いジョブでも低いジョブでも一律に扱われるために、優先順位の高い重要な書類を印刷する場合でも先行する印刷ジョブが終了するまで待たなければならない。 Further, as an additional problem, since the execution of the print process depends on the status of the preceding print process, the output of the subsequent print job is uncertain, such as when it is output, and extra waiting time is imposed. Will be. Among print jobs, high-priority jobs and low-priority jobs are treated uniformly, so even when printing important documents with high priority, it is necessary to wait until the preceding print job is completed.
本発明は、上述した点に鑑みなされたものであり、印刷装置等の周辺機器が受信したデータは従来技術同様にコマンド情報で括りながらも、前記コマンド情報自身、或いは前記コマンド情報に続くデータサイズをコマンド情報内に収めることにより、出力しようとするJBLデータ全体を解釈することなく、コマンド情報を解析するだけでジョブが認識できるようにし、更にデータ受信時に、前記コマンド情報を解析するコマンド印刷処理部と、前記コマンド印刷処理部で解析したジョブ情報を保持する手段とを備え、データ受信直後、或いはデータ受信に続く一連のシーケンス上においてジョブの管理・制御が可能となる印刷制御装置及び印刷制御方法及び印刷制御プログラムを記憶した記憶媒体及び印刷制御システムを提供することを目的とする。 The present invention has been made in view of the above points, and data received by a peripheral device such as a printing apparatus is bundled with command information as in the related art, but the command information itself, or a data size following the command information Is included in the command information so that the job can be recognized only by analyzing the command information without interpreting the entire JBL data to be output, and furthermore, a command printing process for analyzing the command information when data is received. And a print control device and a print control device, comprising: means for holding job information analyzed by the command print processing unit, and capable of managing and controlling jobs immediately after data reception or in a series of sequences following data reception. Provided is a storage medium storing a method and a print control program, and a print control system. The target.
上記目的を達成するために本発明は以下の構成からなる仕組みを提供する。 た め In order to achieve the above object, the present invention provides a mechanism having the following configuration.
すなわち、情報処理装置から所定のデータ通信で送信されてくる、パケットのデータの内容を識別するためのヘッダを含む複数のパケットにパケット化されたジョブデータを受信し入力する入力手段と、前記入力手段により入力したジョブデータの各々のパケットのヘッダを解析する第1解析手段と、前記第1解析手段によるヘッダの解析に基づき、入力されたジョブデータを種別を切り分けて格納部に格納するようにする処理手段と、前記第1解析手段の解析に基づき前記処理手段により切り分けて格納されたジョブデータに基づくジョブの管理を行う管理手段と、を有することを特徴とする仕組みを提供する。 Input means for receiving and inputting job data packetized into a plurality of packets including a header for identifying the contents of the packet data transmitted from the information processing apparatus through predetermined data communication; First analyzing means for analyzing the header of each packet of the job data input by the means, and storing the input job data in a storage section by separating the type of the input job data based on the analysis of the header by the first analyzing means. And a management unit for managing a job based on job data separated and stored by the processing unit based on the analysis of the first analysis unit.
或いは、アプリケーションデータに基づき作成される印刷データをパケット化するパケット生成手段と、前記パケット生成手段によりパケット化されたデータを所定のデータ通信で前記印刷処理装置に送信するようにする送信制御手段と、を有することを特徴とする仕組みを提供する。 Alternatively, packet generation means for packetizing print data created based on application data, and transmission control means for transmitting data packetized by the packet generation means to the print processing apparatus by predetermined data communication. , Is provided.
本発明により、本印刷制御装置では、印刷ジョブ内の印刷データとジョブ管理情報とを分けているので、印刷データの解析をせずともジョブの管理情報の取得が可能となる。 According to the present invention, the print control apparatus separates print data in a print job from job management information, so that job management information can be obtained without analyzing print data.
また、印刷データを解析せずとも、ジョブの認識が可能となり、ジョブの全体的な負荷量が検知でき、ジョブの管理ができるようになる。 Also, the job can be recognized without analyzing the print data, the overall load of the job can be detected, and the job can be managed.
また、このジョブ管理情報により印刷制御装置内の印刷ジョブを管理できるので、外部装置から受信したジョブ制御コマンドによって印刷制御装置内の印刷ジョブの制御がリアルタイムで可能になる。 Since the print job in the print control device can be managed by the job management information, the print job in the print control device can be controlled in real time by the job control command received from the external device.
(第1の実施形態)
<印刷装置・システムの構成>
以下に本発明を図を用いて詳細に説明する。
(1st Embodiment)
<Configuration of printing device / system>
Hereinafter, the present invention will be described in detail with reference to the drawings.
図1は、本発明の印刷制御装置を含む印刷装置110のブロック図である。
FIG. 1 is a block diagram of a
入力部101は、本印刷装置とホストコンピュータ520等のクライアント間の通信を司る。入力部101は、図3に示す印刷ジョブデータの受信が可能である。すなわち、印刷ジョブの管理のためのデータ、印刷実行にかかる文書データ、さらに印刷制御のためのデータ等と、それぞれに対応したヘッダ部分が付加されたデータ構造を有する情報の受信が可能である。図3の場合、ヘッダ情報はデータ容量であるが、データの種類はこれに限定されず、たとえば、データの内容を識別するための情報であってもよい。
The
中央制御部(CPU)102は、本印刷装置110の全体的な制御を司るものである。
The central control unit (CPU) 102 controls the overall control of the
操作部103は、本印刷装置に直接ユーザがふれる際のI/Fを提供するものである。
The
印刷処理部104は、入力部101で受信したコマンドの解析、及び印刷データ(PDL)の解析等を行うものである。
The
記憶部105は、本装置を動作させるためのROM(読み出し専用メモリ)、RAM(ランダムアクセスメモリ)、2次記憶装置等からなる。RAMは使用制限のないデータ記憶領域であり、入力部101の受信バッファ、或いは印刷処理部104でのデータ展開等に使用される領域である。
The
出力部106は、入力部101を解して受信した印刷データを、印刷処理部104で印刷可能なイメージ情報に展開されたものを紙に転写するものである。用紙カセット108は出力部106の処理に合わせて適切な用紙を供給する。
The
図2は、本発明において、印刷ジョブの処理をブロック図を用いて表現したものである。 FIG. 2 illustrates a print job process using a block diagram in the present invention.
コマンド解析部201は、入力部101で受信したデータ、即ち後述の図3で示される印刷ジョブの各コマンドを順次解析する。解析された情報のうち、ジョブとして管理すべき情報は、記憶部105内に生成される後述の図4のジョブテーブルに格納される。
The
管理すべき情報とは受信した順番(ジョブ番号等)、ユーザ名、ファイル名、処理状態等である。 The information to be managed is the order of reception (job number, etc.), user name, file name, processing status, etc.
受信バッファ202は、コマンド解析部201で解析された情報のうち、実際の出力データを、記憶部105内に一時的に保存処理する。
The
PDL印刷処理部203は、受信バッファ202に蓄積された実際に出力されるべき印刷情報(PDL)を印刷可能なイメージデータに展開処理する。
The PDL
キュー204は、後述の出力部205に渡される情報を記憶部105に順次蓄積処理する。
The
出力部(エンジン)205は、実際の印刷処理、即ち、記憶部105に順次蓄積された印刷ジョブを印刷用紙への転写処理を行う。
The output unit (engine) 205 performs an actual print process, that is, a process of transferring print jobs sequentially stored in the
<印刷データの生成>
印刷ジョブデータの生成はホストコンピュータ109で行われる。ホストコンピュータ109は本実施形態においては、データ生成手段として機能する。
<Generation of print data>
The generation of the print job data is performed by the
印刷ジョブデータは主に(1)印刷ジョブを管理するためのデータ、(2)印刷処理されるための文書データ、(3)印刷制御のためのデータ、という3種類の属性に分類でき、それぞれはコマンド情報により記述される。夫々のコマンド情報には、個々に対応したヘッダ情報が付加され、ヘッダ情報と、コマンド情報とが一対となる。印刷ジョブデータはヘッダ情報と、コマンド情報の一対が一つあるいは複数の組合わせにより記述されるデータである。 Print job data can be classified into three main attributes: (1) data for managing print jobs, (2) document data for print processing, and (3) data for print control. Is described by command information. Header information corresponding to each command information is added to each command information, and the header information and the command information form a pair. The print job data is data in which a pair of header information and command information is described by one or a plurality of combinations.
図3は、ホストコンピュータ109から受信された印刷データの構成図である。
301は、1つの印刷処理にかかる一連のコマンド、即ち、ジョブコマンドを表したものである。
302は、後述のコマンド303のパケットヘッダーであり、本ヘッダーにはコマンド303のデータサイズが格納されている。
303はジョブの開始を示すコマンドであり、本コマンドから後述のジョブの終了コマンド309までが1つのジョブとして管理されるべきデータある。
304は後述のコマンド305のパケットヘッダーであり、本ヘッダーにはコマンド305のデータサイズが格納されている。
305はパラメータの設定コマンド、及び設定データである。
306は後述のコマンド307のパケットヘッダーであり、本ヘッダーにはデータ307のデータサイズが格納されている。
307は実際に印刷されるべき印刷データ(PDL情報)である。
308は後述のコマンド309のパケットヘッダーであり、本ヘッダーにはコマンド309のデータサイズが格納されている。
309はジョブの終了コマンドであり、ジョブ開始コマンド303と対になりジョブの情報を識別するものである。
なお、前記302,304,306,308の各パケットヘッダーには続くコマンドのサイズ以外の情報即ち、パケット識別データが格納されていても良く、続くコマンドのデータサイズ以外の情報に関しては特に制限するものではない。
FIG. 3 is a configuration diagram of print data received from the
Reference numeral 301 denotes a series of commands related to one print process, that is, a job command.
Reference numeral 303 denotes a command indicating the start of a job. Data from this command to a
A
A
Each of the
パケットヘッダ情報は単一の情報に限定されず、複数種の情報を並記することも可能である。例えば、データ容量と、そのデータが制御データであるか、印刷される文書データのいずれかであるかの識別データとの並記である。パケットヘッダ情報の詳細な説明は図16で後述する。 The packet header information is not limited to a single piece of information, and a plurality of types of information can be described side by side. For example, it is a parallel description of data capacity and identification data indicating whether the data is control data or document data to be printed. The detailed description of the packet header information will be described later with reference to FIG.
印刷ジョブ301は、パケットヘッダとパラメータとを1つのデータの塊としてパケット単位で送受信が行われる。ここでいうパケットとは、ネットワークにおけるデータ通信でのパケットという下層のパケットではなく、データの塊という上位概念である。 The print job 301 is transmitted and received in packet units with the packet header and the parameter as one data block. The packet here is not a lower layer packet called a packet in data communication in a network, but a general concept of a data lump.
印刷開始命令303と印刷終了命令309で囲まれている情報は、一印刷ジョブ単位として扱われる。
The information surrounded by the print start command 303 and the
図16はパケットヘッダ情報の構造を示す説明図である。縦軸はバイトを示し、横軸は各バイトのビットを示している。図中において0〜1バイト目のオペレーションコードは、パケットの機能を示す長さ2バイトのIDを示すものである。オペレーションコードは、以下の値を取ることができる。 FIG. 16 is an explanatory diagram showing the structure of packet header information. The vertical axis indicates bytes, and the horizontal axis indicates bits of each byte. In the drawing, the operation code in the 0th to 1st bytes indicates an ID having a length of 2 bytes indicating the function of the packet. The operation code can take the following values.
0x0201 ジョブ開始オペレーション 0x0202 ジョブ属性設定オペレーション 0x0204 PDLデータ送信オペレーション 0x0205 ジョブ終了オペレーション 0x0301 ジョブ制御オペレーション ここで「0x」とは、16進数という意味である。パケットヘッダ302では、オペレーションコードはジョブ開始オペレーション「0201」の値をとる。パケットヘッダ304では、オペレーションコードはジョブ属性設定オペレーション「0202」の値をとる。パケットヘッダ306では、オペレーションコードはPDLデータ送信オペレーション「0204」の値をとる。パケットヘッダ308では、オペレーションコードはジョブ終了オペレーション「0205」の値をとる。ジョブ制御オペレーションは、ジョブ制御でホストコンピュータ109から印刷装置110に送信されるジョブ制御コマンドのパケットヘッダに付加されるものであり、オペレーションコードはジョブ制御オペレーション「0301」の値をとる。ジョブ制御オペレーションは、図19で後述する処理に使用される。
{0x0201} Job start operation 0x0202 Job attribute setting operation 0x0204 PDL data transmission operation 0x0205 Job end operation 0x0301 Job control operation Here, "0x" means a hexadecimal number. In the
2〜3バイト目のブロック番号は、ジョブパケットを送信した側が返答を要求する場合に、要求と返答の対応を取るために使用する番号である。例えばそれぞれブロック番号=1、2、3というジョブパケットをホストコンピュータ109が立て続けに送信した時にブロック番号=2というエラーパケットが印刷装置110から返ってきた場合、送信側は2番目に送ったジョブパケットにエラーが発生したことを特定することが可能である。
The block number in the second and third bytes is a number used for associating a request with a reply when the side that transmitted the job packet requests a reply. For example, if the
4〜5バイト目のパラメータ長は、12バイト目以降のデータ部のバイト長さを示す領域で、0〜64Kバイトまでを示すことが可能である。パラメータ長は、パケットヘッダが示す属性により異なる。 $ The parameter length of the 4th to 5th bytes is an area indicating the byte length of the data portion after the 12th byte, and can indicate up to 0 to 64K bytes. The parameter length differs depending on the attribute indicated by the packet header.
6〜7バイト目はジョブパケットの各種フラグを示す領域で、それぞれ以下の値を示す。
エラーフラグ:この値が1の場合、印刷装置110で何らかのエラーが発生したことを示す。このフラグは印刷装置110からホストコンピュータ109に送られる返信パケットに付加される。
通知フラグ:この値が1の時は、ホストコンピュータ109からの要求パケットに対する返答ではなく、印刷装置110が何らかの通知事項があることをホストコンピュータ109に通知することを示している。
継続フラグ:この値が1の場合、データ部に全てのデータが入らなかったため、次のジョブパケットで残りのデータが送られることを示す。次のジョブパケットは前のパケットと同じオペレーションコードを設定しなくてはならない。
返答要求:ホストコンピュータ109から印刷装置110に対して返答パケットが必要な場合に1をセットする。0のときは要求パケットは正常に処理された場合には返答は返さない。印刷装置110でエラーが発生した場合には返答要求の0/1に関わらず、常にエラーフラグを1にした返答パケットを送出する。
The sixth and seventh bytes are areas indicating various flags of the job packet, and indicate the following values, respectively.
Error flag: When this value is 1, it indicates that some error has occurred in the
Notification flag: When this value is 1, it indicates that the
Continuation flag: If this value is 1, it indicates that all data has not been entered in the data portion, and that the remaining data is sent in the next job packet. The next job packet must set the same operation code as the previous packet.
Reply request: 1 is set when a reply packet is required from the
8〜9バイト目のユーザID及び10〜11バイト目のパスワードは、要求パケットでできる操作にセキュリティ的制限を設ける際に認証に使われる領域である。 The user ID in the 8th to 9th bytes and the password in the 10th to 11th bytes are areas used for authentication when setting security restrictions on the operations that can be performed with the request packet.
12バイト目以降はオペレーションコードに対応したデータ(パラメータやPDL)が格納される。ジョブ開始オペレーション及びジョブ終了オペレーションの場合は、データは存在しない。 # Data (parameters and PDL) corresponding to the operation code is stored in the twelfth and subsequent bytes. In the case of a job start operation and a job end operation, no data exists.
ジョブ属性設定オペレーションの場合、設定したいジョブ属性IDとジョブ属性値を設定する。ジョブ属性IDとは、ジョブに関する属性或いは環境に対応した識別子を示すもので、ISO−10175(DPA)(ISO:国際標準化機構)で規定されるジョブの属性に相当するIDが予め割り振られている。 (4) In the case of a job attribute setting operation, set a job attribute ID and a job attribute value to be set. The job attribute ID indicates an attribute relating to a job or an identifier corresponding to an environment, and an ID corresponding to a job attribute defined by ISO-10175 (DPA) (ISO: International Organization for Standardization) is assigned in advance. .
以下にジョブ属性の代表的なものを挙げる。 ジ ョ ブ Typical job attributes are listed below.
ジョブ属性ID 0x0101 ジョブ名称 0x0103 ジョブオーナ名 0x016a ジョブサイズ
PDLデータ送信オペレーションの場合は、データ部にはPDLデータが入る。1つのジョブパケットのデータは上記パラメータ長に格納できる最大サイズまでなので、64KBまで格納可能であり、その以上のデータは複数のPDLデータ送信オペレーションに分割して送信する。この場合は上記継続フラグに1を立てる。
Job attribute ID 0x0101 Job name 0x0103 Job owner name 0x016a Job size In the case of a PDL data transmission operation, PDL data is entered in the data portion. Since the data of one job packet is up to the maximum size that can be stored in the above parameter length, it can be stored up to 64 KB, and the data beyond that is divided into a plurality of PDL data transmission operations and transmitted. In this case, the continuation flag is set to 1.
図15は、本発明の第1の実施の形態に係る印刷システムの模式的構成を示すブロック図である。本発明の第1の実施の形態に係る印刷システムは、ホストコンピュータ109と、印刷装置110とを双方向通信可能な所定の通信媒体1518を介して接続した構成となっている。本発明の第1の実施の形態では、通信媒体1518として例えばIEEE(Institute of Electrical and Electronics Engineers:米国電気電子技術者協会)1284で規定されたローカルインタフェイスを使用した場合を例に上げ説明する。
FIG. 15 is a block diagram showing a schematic configuration of the printing system according to the first embodiment of the present invention. The printing system according to the first embodiment of the present invention has a configuration in which a
本発明の第1の実施の形態に係る印刷システムを構成するホストコンピュータ109は、アプリケーション部1501と、プリンタドライバ部1502と、送信バッファ1503と、I/Fドライバ部1504と、ユーティリティ部1505と、論理チャネル制御部1506と、ジョブパケット生成部1507とを備える構成となっている。
The
上記各部の機能を詳述すると、アプリケーション部1501は、ユーザにグラフィックユーザインタフェイスを提供し、ユーザの目的に適った画像データを生成する。プリンタドライバ部1502は、アプリケーション部1501が生成した画像データを印刷装置110で印刷可能なページ記述言語(PDL)データに変換する。送信バッファ1503は、プリンタドライバ部1502が生成したPDLデータを一時的に格納しておく。ジョブパケット生成部1507は、送信バッファ1503に蓄えられたPDLデータからジョブパケットデータを生成する。
機能 Explaining the functions of the above components in detail, the
ユーティリティ部1505は、印刷装置110の情報を獲得してグラフィックユーザインタフェイスに提供したり、ユーザの要望に従って印刷装置110の環境設定を変更する。論理チャネル制御部1506は、ジョブパケット生成部1507から送られるジョブパケットデータをデータチャネルとし、ユーティリティ部1505から送受信される状態取得、環境設定を管理チャネルとして、2つの論理チャネルから送られるデータをパケット化して1つの物理チャネルに変換する。つまり、通信媒体1518は、物理的には1つの双方向インタフェース(本実施例ではIEEE1284インタフェース)であるため、2つの異なる種類のデータを1つのインタフェースで送受信するため、論理チャネル制御部1506が存在する。
The
ここで、本実施例の論理チャネル制御部1506は、IEEE1284.4の通信方式を用いて、マルチチャネル通信を行うよう制御している。IEEE1284.4は、データをクレジットという単位で送受信し、送受信ためにまずクレジット要求を出し、その要求に対応したクレジットをもらうことにより通信を行う。ここで、データ送受信用とは別に、常に管理用のクレジットを2つ用意しているので、例えば印刷装置において印刷データを受信中にも、管理チャネル(管理用クレジット)から制御コマンドを受信できるようになっている。 Here, the logical channel control unit 1506 of the present embodiment controls to perform multi-channel communication by using the communication system of IEEE1284.4. The IEEE 1284.4 transmits and receives data in units of credit, issues a credit request for transmission and reception, and performs communication by receiving a credit corresponding to the request. Here, two credits for management are always prepared separately from those for data transmission / reception, so that a control command can be received from a management channel (management credit) even while print data is being received in the printing apparatus, for example. It has become.
I/Fドライバ部1504は、送信バッファ1503に蓄えられたPDLデータを印刷装置110に送信、及び印刷装置110の情報の送受信を行う。
The I /
他方、本発明の第1の実施の形態に係る印刷システムを構成する印刷装置110は、論理チャネル制御部1508と、機器データベース部1509と、ジョブプリプロセッサ部1510と、受信バッファ1511と、PDLトランスレータ部1512と、描画バッファ1513と、描画部1514と、プリンタエンジン部1515と、I/Fドライバ部1516と、情報管理部1517とを備える構成となっている。
On the other hand, the
上記各部の機能を詳述すると、I/Fドライバ部1516は、ホストコンピュータ109から送信されたPDLデータの受信、印刷装置110の情報の送信、環境設定の受信を行う。
The functions of the above-described units will be described in detail. The I /
論理チャネル制御部1508は、I/Fドライバ部1516で受信したパケットデータをデータチャネル、管理チャネルの2つの論理チャネルに変換して後段に渡す。これは、ホストコンピュータ109から受信したパケットデータが印刷ジョブであればジョブプリプロセッサ部1510に渡し、ジョブの制御に使用するジョブ管理コマンドのパケットデータであれば情報管理部1517に渡すのである。
(4) The logical
本発明の付加情報解析手段に対応するジョブプリプロセッサ部1510は、論理チャネル制御部1508からデータチャネルのデータを受取り、ジョブパケットのパケットヘッダ情報(図16)に書かれているオペレーションコードによって受信バッファ1511にPDLデータを転送、或いは機器データベース部1509に情報を設定する。図7で後述するが、ジョブパケットがジョブ開始コマンドであれば、ジョブ番号を割り付けて機器データベース部1509のジョブ管理テーブルにジョブ番号を設定し、そのジョブ番号に対応するジョブ状態情報406を「受信中」に設定する。また、ジョブパケットがPDLのデータコマンドであれば、受信バッファ1511にPDLデータとジョブ番号を転送する。また、ジョブ属性パケットであれば、パラメータの内容を機器データベース部1509のジョブ管理テーブルに設定する。ジョブプリプロセッサ部1510は、あるジョブ番号のすべてのPDLデータを受信バッファ1511に格納すると、機器データベース部1509のジョブ管理テーブルのジョブ状態情報406を「印刷待ち」に更新する。
The
受信バッファ1511は、ジョブ番号が割り付けられたPDLデータを一時的に保有し、後段の処理の遅延の緩衝材となる。機器データベース部1509は、印刷装置110の機器のデータベース、及び印刷ジョブを描画するためのジョブ情報を格納しておく。機器データベース部1509のジョブ管理テーブルは図4で後述する。
(4) The reception buffer 1511 temporarily holds PDL data to which a job number is assigned, and serves as a buffer for delays in subsequent processing. The
情報管理部1517は、管理チャネルに送られた管理パケットを受取り、管理パケットに書かれているオペレーションコードとデータに応じて機器データベース部1509の情報の書き換えや、管理パケットのデータに応じてジョブを制御する。ジョブ制御については、図19で後述する。
The
PDLトランスレータ部1512は、PDLデータの翻訳処理を行い、描画に適した描画オブジェクトの中間データに変換を行い、描画バッファ1513に格納する。なお、PDLトランスレータ部1512は、受信バッファ1511から新たなジョブ番号が割り付けられたジョブの解析が始まることを認識すると、機器データベース部1509のジョブ管理テーブルのジョブ状態情報406を「解析中」に更新する。
The
描画バッファ1513は、描画オブジェクトを実際に印刷を行うまで一時的に格納しておくものであり、1ページ分の中間データが格納されると描画部1514により印刷処理が開始される。
The
描画部1514は、描画バッファ1513に一時格納された描画オブジェクトを実際に描画を行ってビットマップ画像を生成し、ビットマップ画像をプリンタエンジン部1515に送信する。描画部1514は、新しいジョブ番号のビットマップ画像の生成が始まると、機器データベース部1509のジョブ管理テーブルのジョブ状態情報406を「印刷中」に更新する。
The
プリンタエンジン部1515は、描画部1514が生成したビットマップ画像を受取り、既知の印刷技術により用紙等のメディアに印刷を行う。
(4) The
図17を用いて、ホストコンピュータ109のジョブパケット生成部1507におけるジョブパケット作成処理の制御の一例を説明する。
With reference to FIG. 17, an example of control of a job packet creation process in the job
ホストコンピュータ109によって送信するジョブパケットからなる印刷データの基になるデータを、ユーザがホストコンピュータ109上のアプリケーション1501を用いて作成するまでの処理はここでは省略する。
The processing up to the point where the user creates the data based on the print data including the job packet transmitted by the
アプリケーションから吐き出されたデータがGDI(Graphical Device Interface)等を通じてプリンタドライバ1502に送信されると、プリンタドライバ1502は、GDIから入力されたデータに基づいてPDLデータを生成し、送信バッファ1503に格納する。送信バッファ1503にPDLデータが順次生成されると、ジョブパケット生成部1507がジョブパケットの生成処理を開始する。
When data discharged from the application is transmitted to the
ステップS1701において、ジョブパケット生成部1507は、ジョブ開始パケットを生成し、論理チャネル制御部1506に送信する。ジョブ開始パケットは、図3におけるパケットヘッダ302と印刷開始命令303からなる。ここでパケットヘッダ(図16)のオペレーションコードは、前述したように「0201」の値をとる。印刷開始命令303に対応する図16のデータ部には、ジョブパケット生成部1507が生成するジョブの識別子が入る。
In step S1701, the job
ステップS1702において、ジョブパケット生成部1507は、ジョブ属性パケットを生成し、論理チャネル制御部1507に送信する。ジョブ属性パケットは、図3におけるパケットヘッダ304とパラメータ情報305からなる。ここでパケットヘッダ(図16)のオペレーションコードは、前述したように「0202」の値をとる。パラメータ情報305に対応する図16のデータ部には、ジョブパケット生成部1507が生成する属性IDと属性値が入る。ジョブ属性には、前述したように、ジョブ名、ジョブオーナ名、ジョブサイズがある。また、ジョブ依頼時刻やジョブページ数やカラーモードなどの属性が入ってもよい。ジョブ名は、GDIからプリンタドライバ部1502が取得でき、またジョブオーナ名は、OSに付属されている関数からユーザのログオン時のユーザ名を取得でき、ジョブサイズは、プリンタドライバ1502が生成するPDLを内部計算により求めることができる。
In step S1702, the job
ステップS1703において、ジョブパケット生成部1507は、送信可能なデータの最大サイズNを取得する。上記説明したように、本システムでのジョブパケットの最大サイズは、64Kbyteである。
In step S1703, the job
次にステップS1704において、ジョブパケット生成部1507は、送信すべきデータのサイズを取得する。これは送信バッファ1503に格納されているPDLデータのサイズを取得するのである。ステップS1705では、ステップS1704で取得した送信データ(PDLデータ)のサイズが最大サイズNよりも大きいか否かをジョブパケット生成部1507が判別する。もし送信データのサイズが最大サイズNよりも大きいと判断された場合は、ステップS1706に処理が進み、ジョブパケット生成部1507は、送信データであるPDLをサイズN(ここでは64Kbyte)の部分とそれ以外の部分(残りの部分)に分割する。
Next, in step S1704, the job
ステップS1707において、ジョブパケット生成部1507は、分割されたデータのうちサイズがNの部分のパケットヘッダ情報(図16)を作成する。この送信データパケットのパケットヘッダ情報のオペレーションコードは、前述しように「0204」の値をとる。また、このときパケットヘッダの継続フラグを「1」に立てる。
In step S1707, the job
そしてステップS1708で、ジョブパケット生成部1507は、パケットヘッダ情報と送信データ(PDL)とをつなげて、送信データパケットであるジョブパケットを作成する。ジョブパケットのデータ部には、PDLデータがそのまま入る。
In step S1708, the job
ステップS1709では、ジョブパケット生成部1507は、作成したジョブパケットを論理チャネル制御部1506に送信する。
In step S1709, the
続いてステップS1710において、ジョブパケット生成部1507は、送信していない部分(分割された残りの部分)のPDLデータのサイズを取得し、ステップ1705の処理に戻る。
Subsequently, in step S1710, the job
また、ステップS1705において、送信データのサイズが最大サイズN未満であると判断された場合は、ステップS1711に処理が進み、ジョブパケット生成部1507は、送信データに対するパケットヘッダ情報(図16)を作成する。この送信データパケットのパケットヘッダ情報のオペレーションコードは、前述したように「0204」の値をとる。また、このときパケットヘッダの継続フラグは「0」にしておく。
If it is determined in step S1705 that the size of the transmission data is smaller than the maximum size N, the process proceeds to step S1711, where the job
そしてステップS1712で、ジョブパケット生成部1507は、パケットヘッダ情報と送信データ(PDL)とをつなげて、送信パケットであるジョブパケットを作成する。
In step S1712, the job
ステップS1713では、ジョブパケット生成部1507は、作成したパケットを論理チャネル制御部1506に送信し、処理を終了する。
In step S1713, the job
ステップS1714では、ジョブパケット生成部1507は、ジョブ終了パケットを生成し、論理チャネル制御部1506に送信する。ジョブ終了パケットは、図3におけるパケットヘッダ308と印刷終了命令309からなる。ここでパケットヘッダ(図16)のオペレーションコードは、前述したように「0205」の値をとる。印刷終了命令309に対応する図16のデータ部には、実際はパラメータやデータは存在しない。
In step S1714, the job
このようにして、ジョブパケットが生成され、論理チャネル制御部1506を介してホストコンピュータ109から印刷装置110に送信される。
ジ ョ ブ In this way, a job packet is generated and transmitted from the
<印刷ジョブの管理>
図4は、本発明のジョブ情報が記憶されているジョブ管理テーブルの概略図である。解析された情報のうち、ジョブとして管理すべき情報は、記憶部105内に生成されるジョブ管理テーブルで管理される。ジョブ管理テーブルは機器データベース部1509に保管される。
<Manage print jobs>
FIG. 4 is a schematic diagram of a job management table in which job information of the present invention is stored. Of the analyzed information, information to be managed as a job is managed in a job management table generated in the
ジョブ番号401は、本実施形態では印刷装置等がジョブを受け取った順番にナンバリングされる。詳細には、印刷装置110のジョブプリプロセッサ部1510が、受け取った印刷ジョブそれぞれに対して、印刷装置110内でユニークになるようにジョブ識別情報であるジョブ番号を割り付け、機器データベース部1509に格納する。
In the present embodiment, the
キュー番号402は、キュー204(受信バッファ1511)内で処理される順番が昇順で示される。
The
ユーザ名403は、ジョブ番号401で示されるジョブを投入したユーザ名が格納される。これは、I/Fドライバ部1516から印刷ジョブを受け取った論理チャネル制御部1508が、印刷ジョブのジョブ属性パケットからジョブオーナ名を取得して、情報管理部1517に送信し、情報管理部1517は受け取ったジョブオーナ名をユーザ名として、機器データベース部1509に格納する。
The
ファイル名404は、キュー204に格納されたファイル名が格納される。これは、I/Fドライバ部1516から印刷ジョブを受け取った論理チャネル制御部1508が、印刷ジョブのジョブ属性パケットからジョブ名を取得して、情報管理部1517に送信し、情報管理部1517は受け取ったジョブ名を機器データベース部1509に格納する。
The
パラメータリストハンドル405は、ジョブに設定されるさまざまなパラメータが格納されている図外の情報テーブルを示すものである。これは、I/Fドライバ部1516から印刷ジョブを受け取った論理チャネル制御部1508が、印刷ジョブのジョブ属性パケットからジョブ属性(ページ数、カラーモード等)を取得して、情報管理部1517に送信し、情報管理部1517は受け取ったジョブ属性をパラメータとして機器データベース部1509に格納する。
The parameter list handle 405 indicates an information table (not shown) in which various parameters set for the job are stored. This is because the logical
ジョブ状態情報406は、ジョブ番号401で示されるジョブの現在の状態を示す。これは情報管理部1517が、ジョブプリプロセッサ1510(受信中)、受信バッファ1511(印刷待ち状態)、PDLトランスレータ部1512(処理中:展開中)、描画部1514(印刷中)のそれぞれが処理しているジョブ番号401を認識し、プリンタエンジン部1515に近い方の処理部を優先させてジョブ状態を機器データベース部1509に格納する。つまり、ジョブ番号2のジョブがPDLトランスレータ部1512と描画部1514にある場合は、描画部1514の方がプリンタエンジン部1515に近いのでジョブ状態情報406は「印刷中」となる。
The
なお、本ジョブ管理テーブルが示す情報はジョブを管理できるものであれば、特に内容を上記に限定するものではなく、また、本実施形態のキュー番号402のようにデータの意味も特に限定するものではない。
The information shown in the job management table is not particularly limited to the above as long as it can manage the job, and the meaning of the data is also particularly limited as in the
<印刷ジョブデータの処理・実行>
図7のフローチャートは、印刷装置110における入力データの処理を示すものである。入力データは主に(1)印刷ジョブを管理するためのデータ、(2)印刷処理されるための文書データ、(3)印刷制御のためのデータ、という3種類の属性に分類できる。コマンド解析部201はこの観点から入力されたデータを解析する。
<Process and execute print job data>
The flowchart of FIG. 7 illustrates processing of input data in the
ホストコンピュータ502からなにかしらのデータを入力部101であるI/Fドライバ部1516が受信すると(S701)、ステップS702において、論理チャネル制御部1508とジョブプリプロセッサ部1510は、I/Fドライバ部1516で受信したコマンドを順次解析する。
When the I /
ステップS703では、論理チャネル制御部1508は、解析されたコマンドがジョブ終了パケットかチェックし、ジョブ終了パケットである場合はステップS708に遷移する。
In step S703, the logical
ジョブ終了パケットでない場合は、ステップS704において、論理チャネル制御部1508は、解析されたコマンドがジョブ開始パケットかチェックし、ジョブの開始コマンドである場合はステップS711に遷移する。
If it is not a job end packet, in step S704, the logical
ジョブ開始パケットでない場合は、ステップS705において、論理チャネル制御部1508は、解析されたコマンドがパラメータの設定コマンドであるジョブ属性パケットかチェックし、ジョブ属性パケットである場合はステップS712に遷移する。
If it is not a job start packet, in step S705, the logical
ジョブ属性パケットでない場合は、ステップS706において、論理チャネル制御部1508は、解析されたコマンドがデータコマンドである送信データパケットかチェックし、送信データパケットである場合はステップS713に遷移する。
If it is not a job attribute packet, in step S706, the logical
送信データパケットであい場合は、ステップS707において、論理チャネル制御部1508は、解析されたコマンドがジョブの制御コマンドかチェックし、ジョブの制御コマンドである場合はステップS714に遷移する。ジョブの制御コマンドでない場合は、予想されないデータが入力されたことになるので処理をステップS701に戻す。
If it is not a transmission data packet, in step S707, the logical
ステップS708では、論理チャネル制御部1508は、ジョブ終了コマンドを受け、すでに受信している一連の印刷ジョブデータをジョブプリプロセッサ部1510に転送する。なお、論理チャネル制御部1508からジョブプリプロセッサ部1510にデータ転送するタイミングは、本実施例のごとく全てのデータが揃ってから行われる必要はなく、特定のサイズ毎に順次転送されても良く、特に限定するものではない。例えば、後述するステップS711の次に続く処理であってもよい。
In step S708, the logical
続いてステップS709では、ジョブプリプロセッサ部1510で解析されたデータを受信バッファ1511に蓄積するステップである。なお、ジョブプリプロセッサ部1510から受信バッファ1511にデータ転送するタイミングも特に限定するものではない。
Next, in step S709, the data analyzed by the
ステップS710では、ジョブプリプロセッサ部1510は、受信バッファ1511にデータを蓄積終了後、図4のキュー番号402に適当な番号を機器データベース部1509内のジョブ管理テーブルに書き込む。
In step S710, the
ステップS711では、ジョブプリプロセッサ部1510は、論理チャネル制御部1508からジョブ開始パケットを受け、図4のジョブ管理テーブルにジョブ番号401を機器データベース部1509内のジョブ管理テーブルに書き込み、続く一連のコマンド受信の準備を行う。
In step S711, the
ステップS712では、ジョブプリプロセッサ部1510は、論理チャネル制御部1508からジョブ属性パケットを受け、図4の403〜405に所望のデータを機器データベース部1509内のジョブ管理テーブルに追加するステップである。
In step S712, the
ステップS713では、ジョブプリプロセッサ部1510は、論理チャネル制御部1508から送信データパケットを受け、送信データパケット内のPDLデータを受信バッファ1511に蓄積する。ここでは、送信データパケットのパケットヘッダ情報に含まれるパラメータ長の分だけ、解析せずにそのまま受信バッファ1511に蓄積する。よって、従来のようにPDLデータの終わりを探すために、常に印刷ジョブデータを解析する必要がなくなり、処理が早くなるという効果がある。
In step S713, the
ステップS714では、論理チャネル制御部1580は、ジョブ制御コマンドを情報管理部1517に渡し、情報管理部1517は、受信したジョブ制御コマンドに対応する各種ジョブを機器データベース部1509のジョブ管理テーブルから検索し、所望のジョブ制御を行う。このジョブ制御については図19で後述する。
In step S714, the logical channel control unit 1580 passes the job control command to the
このようにして印刷装置110は入力データの処理を行う。また、通新媒体1518は前述したようにマルチチャネルの通信が行えるため、印刷データのジョブパケットを受信中にも、ジョブ制御コマンドのジョブパケットを受信することが可能であり、例えば図19で後述するようなキャンセル制御を受信中のジョブに対して行うことができるという効果が得られる。
印刷 The
図18は、本発明の印刷制御装置の一例である印刷装置の印刷時の概略フローである。 FIG. 18 is a schematic flow chart at the time of printing of a printing apparatus which is an example of the print control apparatus of the present invention.
ステップS1801において、情報管理部1517は、機器データベース部1509内のジョブ管理テーブルのキュー番号402に有効なデータがあるかチェックし、有効なデータが存在する場合は、印刷に必要なデータが図4ジョブ管理テーブル内に揃っていると認識しステップS1802に遷移する。キュー番号がついているジョブは、前述したようにジョブの認識が終わっているものであり、印刷処理が始めることが可能であることを示している。
In step S1801, the
ステップS1802では、印刷処理を開始する。具体的には、情報管理部1517がPDLトランスレータ部1512に対して、印刷すべきジョブのジョブ番号と開始命令を送信する。PDLトランスレータ部1512は、指示されたジョブ番号のPDLデータを受信バッファ1511から取得し、PDL解析を行い中間データに変換し描画バッファ1513に格納する。これに伴い、情報管理部1517もしくはPDLトランスレータ部1512は、機器データベース部1509のジョブ管理テーブルの該当するジョブ番号に対応するジョブ状態情報406を「印刷待ち」から「解析中」に更新する。
In step S1802, the printing process starts. Specifically, the
続いてステップS1803では、描画バッファ1513に1ページ分の中間データが溜まった後、描画部1514は一連の印刷処理を開始する。つまり、描画バッファ1513に格納された中間データを取得し、ラスタライズ処理を行いビットマップデータを生成し、プリンタエンジン部1515に出力する。一連の印刷処理の開始時に、情報管理部1517もしくは描画部1514は、機器データベース部1509のジョブ管理テーブルの該当するジョブ番号に対応するジョブ状態情報406を「解析中」から「印刷中」に更新する。また、1ページの印刷が終了したときに、情報管理部1517もしくは描画部1514は、機器データベース部1509のジョブ管理テーブルの該当するジョブ番号に対応する残りページ数情報(図示省略)を1つ少なくする。このようにして1ページ分の印刷処理が行われる。
Subsequently, in step S1803, after one page of intermediate data has accumulated in the
なお、印刷に必要なデータが揃ったことを識別する手段は、特に本実施例の手段に限定されるものではない。 The means for identifying that the data necessary for printing has been prepared is not particularly limited to the means of the present embodiment.
次にステップS1804では、情報管理部1517は、印刷ジョブの全ページの印刷が終了したかチェックする。終了していない場合はステップS1802に遷移し、続くページの印刷処理を継続して行う。
Next, in step S1804, the
なお、ステップS1802からステップS1804のごとく、印刷に必要なデータの転送手段は特に1ページ単位であることに限定するものではない。 Note that, as in steps S1802 to S1804, the means for transferring data necessary for printing is not particularly limited to one page unit.
ステップS1805では、情報管理部1517は、印刷処理を行った印刷ジョブのジョブ情報を機器データベース部1509内のジョブ管理テーブルから削除する。なお、本ステップで削除したジョブ情報は一時的に別の領域に記憶されているものとする。
In step S1805, the
ステップS1806では、ステップS1805において一時的に記憶されたジョブ情報を元に、ステップS1802で得たデータ領域の解放を行う。ここでいうデータ領域とは、受信バッファ1511、描画バッファ1513における該当印刷ジョブのデータ(PDLデータと中間データ)の占める領域である。
In step S1806, the data area obtained in step S1802 is released based on the job information temporarily stored in step S1805. The data area here is an area occupied by the data (PDL data and intermediate data) of the print job in the reception buffer 1511 and the
図19は、本発明の印刷制御装置の一例である印刷装置におけるジョブ制御を示すフローチャートである。図7のステップS714の処理を詳細に説明したものである。この処理は、ステップS707において論理チャネル制御部1508がジョブ制御コマンドを受信した際に、ジョブ制御コマンドを情報管理部1517に渡すことにより行われる。
FIG. 19 is a flowchart showing job control in a printing apparatus which is an example of the print control apparatus of the present invention. FIG. 9 illustrates the process of step S714 in FIG. 7 in detail. This processing is performed by passing the job control command to the
ジョブ制御コマンドは、ホストコンピュータ109のユーティリティ部1505において生成される。ジョブ制御コマンドには、印刷装置内のジョブリストを要求するステータス取得要求コマンド、印刷ジョブの中止を要求するジョブキャンセルコマンド、印刷ジョブの一時中断を要求するジョブ中断コマンド、中断されている印刷ジョブの再開を要求するジョブ再開コマンド、印刷ジョブのパラメータの変更を要求するパラメータ設定変更コマンド等がある。それぞれのジョブ制御コマンドもまた、図16で前述したようにジョブパケット形式になっており、種類により属性が異なっている。
The job control command is generated in the
ステップS1901において、情報管理部1517は、受信したジョブ制御コマンドがステータス取得要求コマンドであるかをジョブパケット内の属性により判断する。ステータス取得要求であると判断された場合は、ステップS1902に処理を進める。
In step S1901, the
ステップS1902では、情報管理部1517は、機器データベース部1509に格納されているジョブ管理テーブルを取得する。続いてステップS1903では、取得したジョブ管理テーブルのそれぞれのジョブの情報を論理チャネル制御部1508経由でI/Fドライバ部1516に渡す。I/Fドライバ部1516は、受け取った情報をパケット方式に変換し、IEEE1284からなる通信媒体1518を介してホストコンピュータ109に返送する。この返送により、ホストコンピュータ109は、印刷装置110内でユニークに割り付けられたジョブ番号を認識することができる。
In step S1902, the
図20にホストコンピュータ109の図示省略した表示部に表示される印刷装置110のステータスモニタの一例を示す。「プリンタJOB内リスト」で示されるジョブが、現在印刷装置110内で処理されているジョブである。従来は、PDL解析が終了したジョブしか見ることができなかったが、本発明により受信中のジョブのステータスモニタも認識することが可能となる。
FIG. 20 shows an example of a status monitor of the
図20のユーティリティー画面において、ユーザがあるジョブに対しジョブ制御(キャンセル、中断、再開、設定変更等)を行う場合は、図21に示すように、ユーティリティー画面上で図示省略したマウスなどのポインティングデバイスでドキュメントを選択することにより、ジョブ制御ウィンドウ2101が新たに表示され、所望のジョブ制御を選択することができる。ここで選択されたジョブ制御に対応するジョブ制御コマンドがユーティリティ部1505により生成され、指定されたジョブ番号とともに論理チャネル制御部1506でジョブパケット化されて印刷装置110に送信されるのである。印刷装置110内でユニークに割り付けられたジョブ番号は、ステータス要求の返送により取得できるので、ジョブ制御が可能となるのである。
When the user performs job control (cancel, suspend, resume, change settings, etc.) for a certain job on the utility screen in FIG. 20, as shown in FIG. 21, a pointing device such as a mouse not shown on the utility screen is used. By selecting a document, a
ステップS1901で、ステータス取得要求でないと判断された場合は、ステップS1904に処理を進める。ステップS1904では、情報管理部1517は、ジョブ制御コマンドがジョブキャンセルコマンドであるかをジョブパケット内の属性により判断する。ジョブキャンセルコマンドであると判断された場合は、ステップS1905に処理を進める。
If it is determined in step S1901 that the request is not a status acquisition request, the process advances to step S1904. In step S1904, the
ステップS1905では、情報管理部1517は、ジョブのキャンセル権限があるかを判断し、その後ジョブのキャンセルを行う。まず情報管理部1517は、ホストコンピュータ109から送信されたジョブキャンセル要求であるジョブパケット内のジョブ番号を取得し、そのジョブ番号のユーザ名と、ジョブキャンセルコマンドを送信したユーザ名をジョブパケットの属性IDからして同一であるか判断する。同一でない場合は、キャンセル権限がないので、キャンセルせずにステップS1902〜1903の処理を飛ばす。同一である場合は、キャンセル権限があるので、そのジョブに対応する機器データベース部1509内のジョブ管理テーブルにおけるジョブ状態情報を取得する。情報管理部1517は、ジョブ状態情報に基づいてジョブキャンセルを制御する。つまり、ジョブ状態情報406が「印刷中」である場合は、ジョブプリプロセッサ4個所のジョブキャンセルを行う。
In step S1905, the
まず、ジョブプリプロセッサ部1510に対し、ジョブ番号とジョブキャンセル指示を出す。ジョブプリプロセッサ部1510は、指示されたジョブ番号のジョブパケットを以後は受信しても受信バッファ1511には送信せずに破棄する。次に、情報管理部1517は、受信バッファ1511内の該当する印刷ジョブを無効にするよう制御する。受信バッファ1511では、それぞれのPDLデータとともにジョブプリプロセッサ1510で割り付けられたジョブ番号を管理しており、どのPDLデータがどのジョブ番号なのか常に把握できるようになっており、情報管理部1517が容易にキャンセルが必要なジョブがどれであるは認識できるようになっている。次に、情報管理部1517は、PDLトランスレータ部1512にジョブ番号とキャンセル命令とを送信する。PDLトランスレータ部1512は、受け取ったジョブ番号に対応するジョブを解析中であれば、キャンセル命令に従ってPDL解析を中止する。受け取ったジョブ番号と異なるジョブを解析しているのであれば命令を無視する。次に、情報管理部1517は、描画部1514にジョブ番号とキャンセル命令とを送信する。描画部1514は、受け取ったジョブ番号に対応するジョブを描画中であれば、キャンセル命令に従って中間データの展開処理を中止する。受け取ったジョブ番号と異なる中間データを展開中は、指定されたジョブ番号の中間データを受け取るまで処理を続ける。
First, a job number and a job cancel instruction are issued to the
ジョブ状態情報が「処理中」であれば、情報管理部1517は、ジョブキャンセル命令をPDLトランスレータ部1512に送った後はステップS1906に移る。ジョブ状態情報が「印刷待ち」であれば、情報管理部1517は、受信バッファ1511におけるジョブキャンセル処理を終えた後はステップS1906に移る。
If the job status information is “under processing”, the
このようにして、ジョブの状態に応じて印刷装置110内のジョブキャンセル制御が行われる。また、ジョブのキャンセルは、ジョブが入力されるI/Fドライバ部1516に近い方、つまりデータの流れとして上流の方から止めていく。これは、プリンタエンジン部に近い方からキャンセルすると、キャンセルが移る時にデータが流れてしまい削除しきれないデータができてしまうからである。上流から削除することにより完全な制御が可能となる。
In this way, the job cancellation control in the
続いて、ステップS1906では、情報管理部1517は、機器データベース部1509内のジョブ管理テーブルにおけるキャンセルした印刷ジョブの情報すべてを削除する。
Subsequently, in step S1906, the
ステップS1904で、ジョブキャンセルでないと判断された場合は、ステップS1907に処理を進める。ステップS1907では、情報管理部1517は、ジョブ制御コマンドがジョブ中断コマンドであるかをジョブパケット内の属性により判断する。ジョブ中断コマンドであると判断された場合は、ステップS1908に処理を進める。
If it is determined in step S1904 that the job is not canceled, the process advances to step S1907. In step S1907, the
ステップS1908では、情報管理部1517は、ジョブ中断制御を行う。ジョブの中断制御と権限判断は、前述したジョブキャンセル制御と流れは同じであり、キャンセル(削除)の替わりに一時待避を行う。このとき待避するデータは、受信バッファ1511に存在するPDLデータだけであり、中間データは削除する。
In step S1908, the
続いて、ステップS1909では、情報管理部1517は、機器データベース部1509内のジョブ管理テーブルにおける中断した印刷ジョブの状態情報406を「中断」に更新する。
Subsequently, in step S1909, the
ステップS1907で、ジョブ中断でないと判断された場合は、ステップS19010に処理を進める。ステップS1910では、情報管理部1517は、ジョブ制御コマンドがジョブ再開コマンドであるかをジョブパケット内の属性により判断する。ジョブ再開コマンドであると判断された場合は、ステップS1911に処理を進める。
If it is determined in step S1907 that the job is not interrupted, the process advances to step S19010. In step S1910, the
ステップS1911では、情報管理部1517は、ジョブ再開の権限判断とジョブ再開制御を行う。ジョブ再開の権限判断は、前述したジョブキャンセル判断と同じようにジョブ番号に対応したジョブ管理テーブルのユーザ名とジョブ再開のジョブパケットの属性IDにより示されるユーザ名とを比較することにより判断する。ジョブの再開制御は、前述したジョブ中断制御により中断されているジョブを通常の印刷ルーチンに戻すことにより行う。つまりハードディスク等の不揮発性記憶媒体に一時待避された印刷ジョブのPDLデータを受信バッファ1511にジョブ番号とともに戻すだけである。これにより印刷ジョブの再開を行うことができる。
In step S1911, the
続いて、ステップS1912では、情報管理部1517は、機器データベース部1509内のジョブ管理テーブルにおける再開した印刷ジョブの状態情報406を「印刷待ち」に更新する。
Next, in step S1912, the
ステップS1910で、ジョブ再開でないと判断された場合は、ステップS1913に処理を進める。ステップS1913では、情報管理部1517は、ジョブ制御コマンドがパラメータ設定変更コマンドであるかをジョブパケット内の属性により判断する。パラメータ設定変更コマンドであると判断された場合は、ステップS1914に処理を進める。
If it is determined in step S1910 that the job is not to be resumed, the process proceeds to step S1913. In step S1913, the
ステップS1914では、情報管理部1517は、パラメータ設定変更の権限確認とパラメータ設定変更制御を行う。パラメータ設定変更の権限確認もジョブ再開時の権限確認と同様に行う。情報管理部1517は、取得したパラメータ設定変更コマンドに基づいて、機器データベース部1509内のジョブ管理テーブルのパラメータリストハンドル405を変更する。パラメータリストハンドル405は、印刷部数、カラーモードなどである。この値を変更することにより、実際の印刷形態や枚数が変更される。
In step S1914, the
ここで本発明の印刷制御装置の特徴的構成について説明する。 Here, the characteristic configuration of the print control device of the present invention will be described.
印刷ジョブを解析して印刷する印刷制御装置(印刷装置110に相当)は、印刷管理データと印刷データとが分けられている印刷ジョブ(図3)を入力する入力手段(I/Dドライバ部1516に相当)と、前記入力手段により入力された印刷ジョブから、前記印刷管理データを解析する解析手段(ジョブプリプロセッサ部1510に相当)と、前記解析手段の解析結果に基づき、前記印刷ジョブを管理するための印刷管理データを格納する管理情報記憶手段(機器データベース部1509に相当)とを備え、前記解析手段により前記印刷ジョブの印刷データが解析せずとも、前記印刷管理データは前記管理情報記憶手段に格納可能(図7のステップS713の説明に相当)である。 A print control device (corresponding to the printing device 110) that analyzes and prints a print job is an input unit (I / D driver unit 1516) that inputs a print job (FIG. 3) in which print management data and print data are separated. ), An analysis unit (corresponding to a job preprocessor unit 1510) that analyzes the print management data from the print job input by the input unit, and manages the print job based on the analysis result of the analysis unit. Management information storage means (corresponding to the device database unit 1509) for storing print management data for the print job. Even if the analysis means does not analyze the print data of the print job, the print management data is stored in the management information storage means. (Corresponding to the description of step S713 in FIG. 7).
また、前記解析手段は、新しい印刷ジョブの解析が始まると、該印刷ジョブにジョブ識別情報を割り付け、前記管理情報記憶手段に作成されるジョブ管理テーブルにジョブ識別情報を設定し、前記印刷管理データを格納する(図7のステップS711に相当)。 When the analysis of a new print job starts, the analysis means assigns job identification information to the print job, sets job identification information in a job management table created in the management information storage means, and sets the print management data. (Corresponding to step S711 in FIG. 7).
また、前記印刷ジョブのうち印刷実行にかかる印刷データ(PDLデータに相当)を中間データ(描画コマンドに相当)に変換するためのデータ変換手段(PDLトランスレータ部1512に相当)と、前記データ変換手段により変換された中間データを格納する中間データ記憶手段(描画バッファ1513に相当)と、前記中間データ記憶手段に格納されている中間データから印刷すべきイメージデータを生成し、該イメージデータを印刷部(プリンタエンジン部1515に相当)に出力する描画手段(描画部1514に相当)を更に備えている。 A data conversion unit (corresponding to the PDL translator unit 1512) for converting print data (corresponding to PDL data) related to printing execution of the print job into intermediate data (corresponding to a drawing command); An intermediate data storage unit (corresponding to the drawing buffer 1513) for storing intermediate data converted by the image processing unit, and image data to be printed from the intermediate data stored in the intermediate data storage unit. (Corresponding to a printer engine 1515).
また、前記印刷制御装置は、記録媒体にイメージデータを印刷する印刷手段(プリンタエンジン部1515)を含む印刷部を備えている。 The print control device includes a printing unit including a printing unit (printer engine unit 1515) for printing image data on a recording medium.
また、前記入力手段によりジョブ制御データを入力した場合に、該ジョブ制御データにより指定される印刷ジョブと制御命令に基づいて、前記管理情報記憶手段に格納されている印刷管理データにより特定される印刷ジョブに、該制御内容に応じた制御を行うジョブ制御手段(情報管理部1517もしくはCPU102に相当)を更に備える。
Further, when the job control data is input by the input unit, the print job specified by the print management data stored in the management information storage unit based on the print job and the control command specified by the job control data. The job further includes a job control unit (corresponding to the
また、前記印刷ジョブは、前記印刷管理データを識別するための識別情報(パケットヘッダ304に相当、詳細は図16)と前記印刷管理情報(ジョブ属性パケットのパラメータ情報305に相当)とを含むジョブパケット(図16)と、前記印刷データを識別するための識別情報(パケットヘッダ306に相当)と前記印刷データ(印刷データ307、PDLデータに相当)とを含むジョブパケット(図16)とを含んでおり、前記ジョブ制御データは、前記制御命令を識別するための識別情報と前記制御命令とを含むジョブパケットを含んでいる(図19の説明に相当)。
The print job includes identification information for identifying the print management data (corresponding to the
また、前記入力手段により入力された入力データに含まれる識別情報を認識し、印刷ジョブと認識された入力データは前記解析手段に送信し、ジョブ制御データと認識された入力データは前記ジョブ制御手段に送信するデータ属性認識手段(論理チャネル制御部1508に相当)を更に有する。 Also, the input data recognized by the input unit is recognized, the input data recognized as a print job is transmitted to the analysis unit, and the input data recognized as the job control data is recognized by the job control unit. And a data attribute recognizing unit (corresponding to the logical channel control unit 1508) for transmitting the data attribute to the user.
また、前記入力手段は双方向通信可能(本実施例におけるIEEE1284に相当)であり、入力されたジョブ制御データが前記印刷制御装置内の印刷ジョブのリストを要求している場合(図19のステップS1901のYESに相当)は、前記ジョブ制御手段は、前記管理情報記憶手段に格納されている印刷ジョブのジョブ管理データにより設定されるジョブ管理テーブルのジョブ情報を返送するよう制御する(ステップS1902〜1903の処理に相当)。 The input unit is capable of bidirectional communication (corresponding to IEEE1284 in the present embodiment), and the input job control data requests a list of print jobs in the print control device (step in FIG. 19). In step S1902, the job control unit controls to return the job information of the job management table set by the job management data of the print job stored in the management information storage unit (step S1902). 1903).
また、前記識別情報は、前記識別情報に続くデータのデータサイズを示すサイズ情報を含んでいる(図16のパラメータ長に相当)。 The identification information includes size information indicating the data size of data following the identification information (corresponding to the parameter length in FIG. 16).
また、前記解析手段は、印刷ジョブに含まれるジョブパケットの識別データを解析し、解析中のジョブパケットが印刷データであると判断された場合は、該ジョブパケットに含まれるサイズ情報で示されるサイズ分だけデータを読み飛ばす(図7のステップS713の説明に相当)。 The analysis unit analyzes the identification data of the job packet included in the print job, and when it is determined that the job packet being analyzed is the print data, the size indicated by the size information included in the job packet. The data is skipped by the amount (corresponding to the description of step S713 in FIG. 7).
また、前記入力されたジョブ制御データが印刷中止を示している場合(ステップS1904のYESに相当)は、前記ジョブ制御手段は、ジョブ制御データに含まれるジョブ識別番号で特定される印刷ジョブの印刷処理を中止するよう制御する(ステップS1905の処理に相当)。 If the input job control data indicates that printing is stopped (equivalent to YES in step S1904), the job control unit prints the print job specified by the job identification number included in the job control data. Control is performed to stop the processing (corresponding to the processing in step S1905).
また、前記入力されたジョブ制御データが印刷中断もしくは再開を示している場合(ステップS1907のYESに相当)は、前記ジョブ制御手段は、ジョブ制御データに含まれるジョブ識別番号で特定される印刷ジョブの印刷処理を中断もしくは再開するよう制御する(ステップS1908の処理に相当)。 If the input job control data indicates that printing has been interrupted or resumed (equivalent to YES in step S1907), the job control unit determines whether the print job specified by the job identification number included in the job control data Is controlled so as to interrupt or restart the printing process (corresponding to the process of step S1908).
また、前記ジョブ制御手段は、ジョブの制御を前記解析手段、データ変換手段、描画手段の順で行う(ステップS1905、S1908の説明に相当)。 The job control means controls the job in the order of the analysis means, the data conversion means, and the drawing means (corresponding to the description of steps S1905 and S1908).
<第1の実施形態の効果>
本発明により、印刷装置の受信データに付加情報を付加し、付加情報内に付加情報に続くパラメータやデータのデータサイズを収めているので、付加情報の解析により印刷ジョブが認識可能となり、更には印刷ジョブの全体的な負荷ボリュームの把握がきるようになった。
<Effects of First Embodiment>
According to the present invention, the additional information is added to the received data of the printing apparatus, and the parameter and the data size of the data following the additional information are included in the additional information, so that the print job can be recognized by analyzing the additional information, You can now see the overall load volume of a print job.
更にデータ受信時に、前記付加情報を解析する付加情報解析部と、前記付加情報解析部で解析したジョブ情報を保持するための格納手段とを備えることにより、データ受信直後、或いはデータ受信に続く一連のシーケンス上においても、コマンド情報別のジョブの管理と、データ変換等の実行管理とを分離して行うことが可能となった。 Further, at the time of data reception, an additional information analysis unit for analyzing the additional information and a storage unit for holding job information analyzed by the additional information analysis unit are provided. In this sequence, job management for each command information and execution management such as data conversion can be performed separately.
また、本発明の付加情報解析部の処理は、従来技術に示したPDL等の出力データそのものの解析処理と比較し格段にシンプルで処理自身の負担が少ないものになる。 The processing of the additional information analysis unit of the present invention is much simpler and less burdensome on the processing itself than the analysis processing of output data itself such as PDL shown in the prior art.
(第2の実施形態)
本発明の第2の実施の形態では、前述した第1の実施の形態のシステムを用いて更にキューに蓄積されているデータの処理順序をユーザに意図に応じて変更可能にするための制御を説明する。
(Second embodiment)
In the second embodiment of the present invention, control for enabling the user to change the processing order of the data stored in the queue according to the intention using the system of the first embodiment described above is further performed. explain.
<優先順位付け>
ホストコンピュータ109のプリンタドライバ部1502でユーザの設定した優先度情報をPDLデータとともに送信バッファ1503に格納されている場合は、ジョブパケット生成部1507は、ジョブパケット内のパラメータ情報にジョブの優先順位を示す優先順位情報を付加し、印刷装置110に送信する。印刷装置110では、受信した印刷ジョブをキュー204に転送する際、キュー番号402の再割り当てを行い、指定された優先順位にしたがった順に処理する。優先順位は、ホストコンピュータ109から送信された優先度情報「1、2、3、…」や「A,B,C」等によりランク付けされている。
<Prioritization>
If the priority information set by the user in the
また、印刷装置110内で付ける場合は、印刷時刻の指定により前後関係を取り決める場合等がある。
In addition, when the print time is attached in the
新しい印刷ジョブが受信されると、受信された印刷ジョブは、ジョブプリプロセッサ部1510により機器データベース部1509のジョブ管理テーブルに一旦一番優先順位の低いランクに登録された後、ジョブプリプロセッサ部1510が優先順位を示すコマンド情報を参照して、キュー番号を並び替える。同一の優先順位のジョブが投入された場合は、投入された順にキュー番号402を割り当て処理し、時間で判断する場合は印刷指定時刻の早い方が優先順が高いことになる。同じ時刻が指定された場合は同様にジョブ投入の早い方が優先順位は高い。
When a new print job is received, the received print job is temporarily registered in the job management table of the
図9に優先順位として、印刷時刻がパラメータ情報として設定された印刷ジョブデータの例を示す。時刻情報を時(H):分(M):秒(S)の形式で表示する。本例において先に入力された印刷ジョブCの印刷指定時刻は12:00:00であり、後に入力された印刷ジョブDの印刷指定時刻は11:55:00であるので、優先順位は印刷ジョブDの方が印刷ジョブCより高い(印刷は先に実行される)ことになる。 FIG. 9 shows an example of print job data in which a print time is set as parameter information as a priority. The time information is displayed in the format of hour (H): minute (M): second (S). In this example, the print designation time of the first input print job C is 12:00: 00, and the print designation time of the later input print job D is 11: 55:00. D is higher than print job C (printing is performed first).
ジョブ管理テーブルに登録された夫々の印刷ジョブは、優先順位の情報に基づき中央制御部102の管理下で並び替えられる。
The print jobs registered in the job management table are rearranged under the control of the
優先順位が付加されたジョブ管理テーブルを図22に示す。図4で説明したものは同じ符号を付けてある。ここで、優先順位2201は、ホストコンピュータ109で割り付けられたものである。この優先順位は、第1の実施の形態の図19で説明したように、ジョブ制御コマンドにより変更することが可能である。優先順位が変更されると、情報管理部1517によりキュー番号が再び並び直される。
FIG. 22 shows the job management table to which the priority order is added. The components described in FIG. 4 are denoted by the same reference numerals. Here, the
<中断、再開>
第1の実施の形態で説明したように、ホストコンピュータ109もしくは操作部103からの入力に従い、中央制御部102が中断指示を受け付けると、その指示は印刷処理部104に送られ、印刷処理部104は印刷の再開に必要な全てのデータを記憶部105に保存する。
<Pause, resume>
As described in the first embodiment, when the
それから、印刷処理部104は中断指示された印刷ジョブをジョブ管理テーブルから削除する。その後、ジョブ管理テーブルの優先順位を並び替える。印刷処理は並び替えられた後の印刷ジョブの優先順位に基づいて行われる。
Then, the
印刷再開の指示を受けると、記憶部105に保存されている中断印刷ジョブの再開に必要な情報を再度、ジョブ管理テーブルに復帰させ、中断指示のかけられた印刷ジョブの印刷処理を再開する。
When receiving the print restart instruction, the information necessary for restarting the interrupted print job stored in the
印刷ジョブの中断、再開における印刷ジョブの実行順位は、ジョブ管理テーブルに登録されたジョブの優先順位を基礎として、削除若しくは割り込みによるリナンバリングが行われる。リナンバリングは、中央制御部102の管理下で並び替えられる。
(4) The execution order of the print job when the print job is interrupted or resumed is deleted or renumbered by interruption based on the priority of the job registered in the job management table. The renumbering is rearranged under the control of the
<ホストコンピュータ/ユーザによる限定>
第1の実施の形態で説明したように、ジョブパケットと属性IDを用いることにより、ホストコンピュータ(クライアント)の識別情報は印刷情報のジョブ属性パケットに付加され、機器データベース部1509内のジョブ管理テーブルでクライアント情報は管理される。
<Limited by host computer / user>
As described in the first embodiment, the identification information of the host computer (client) is added to the job attribute packet of the print information by using the job packet and the attribute ID, and the job management table in the
本第2の実施の形態では、特定のPCから受信されPDL解析されるジョブを別のPCから削除、中断、再開する制御について説明する。 In the second embodiment, control for deleting, suspending, and resuming a job received from a specific PC and subjected to PDL analysis from another PC will be described.
また、ジョブ管理テーブルで管理されるクライアント情報に基づき、受信中、或いはPDL解析中を含む処理中のジョブの削除、中断、再開を制限することも可能なシステムを説明する。 A description will be given of a system capable of restricting deletion, suspension, and resumption of a job being received or being processed, including PDL analysis, based on client information managed in the job management table.
さらに、ユーザ識別情報は印刷情報に付加され、ジョブ管理テーブルでユーザ識別情報は管理される。 (4) Further, the user identification information is added to the print information, and the user identification information is managed in the job management table.
ここで、特定のユーザから受信、或いはPDL解析中を含む処理中のジョブは別のPCから削除、中断、再開等が可能なシステムを説明する。 Here, a system will be described in which a job being received from a specific user or being processed, including during PDL analysis, can be deleted, suspended, resumed, etc. from another PC.
また、ジョブ管理テーブルで管理されるユーザ情報に基づき、受信中、或いはPDL解析中を含む処理中のジョブの削除、中断、再開を制限することも可能なシステムを説明する。 A description will be given of a system capable of restricting deletion, interruption, and restart of a job being received or being processed including PDL analysis, based on user information managed in the job management table.
上記のようなシステムを実現するためには、以下の仕組みが必要となる。 以下 The following mechanism is required to realize the above system.
まず、ホストコンピュータ109のジョブパケット生成部1507において(図17のステップS1702)ジョブ属性パケットを生成する際に、第1の実施の形態で説明したユーザ名(ユーザ情報)だけでなく、ホストコンピュータ109の機器を特定するクライアント情報を付加することになる。クライアント情報は、OSに設定されているコンピュータ名を使用する。
First, when the job
次に、印刷装置110のジョブプリプロセッサ部1510がジョブ属性パケットのパラメータを機器データベース部1509に設定するときに、上述したクライアント情報を一緒に設定するのである。
Next, when the
更に、印刷装置110の機器データベース部1509に予め下記のような権限リストを管理者などにより図示省略した印刷装置の操作部から入力作成することにより用意しておく。権限リストとは、ユーザ情報「A」からの印刷ジョブは、ユーザ情報「A」のユーザがキャンセル可能であり、ユーザ情報「A,B,C」のユーザが中断、再開の制御が可能であり、ユーザ情報「A、B」のユーザがパラメータ設定変更可能であるというテーブルである。また、権限リストには、ユーザ情報と同様にクライアント情報についても設定されていればよい。本第2の実施の形態では、権限リストが操作部から設定入力されるとしたが、これに限られるものではなく、管理者などの特定のユーザが設定した権限リストを外部から受信し、機器データベース部1509に格納しておいてもよい。
(4) Further, the following authority list is prepared in advance in the
図19のステップS1905、S1908、S1911、S1914における権限判断の際に、情報管理部1517が上記権限リストを参照することにより判断し、一致していた場合にのみジョブ制御を実行する。
情報 When determining the authority in steps S1905, S1908, S1911, and S1914 in FIG. 19, the
このように、権限リストを設けることにより、自分のジョブ以外でもジョブ制御が可能となり、かつ無秩序なジョブ制御が行われないようにすることができる。 (4) By providing the authority list in this way, job control can be performed for jobs other than the user's own job, and disorderly job control can be prevented.
また、権限リストで、ユーザ情報やクライアント情報に対して、ランクを設けることも考えられる。例えばキャンセルが「A」中断、再開が「C」、パラメータ設定変更が「B」とすると、ランクが「A」に設定されているユーザもしくはクライアントは、すべてのジョブに対して、キャンセル、中断、再開、設定変更すべてのジョブ制御が可能となり、ランクが「B」のユーザは、中断、再開、設定変更のジョブ制御が可能となり、ランクが「C」のユーザは、中断、再開のジョブ制御が可能となり、ランクが「D」のユーザは、自分のジョブ以外はジョブ制御はできなくなる。 It is also conceivable to set ranks for user information and client information in the authority list. For example, if cancel is “A” interrupted, resume is “C”, and parameter setting change is “B”, the user or client whose rank is set to “A” will cancel, interrupt, Job control of all resumes and setting changes becomes possible. Users of rank "B" can perform job control of suspending, resuming, and setting changes. Users of rank "C" can perform job control of suspending and resuming. It becomes possible, and the user of rank "D" cannot control jobs other than his / her own job.
このように権限にランクを設けることにより、より詳細なジョブ制御の権限割り当てが可能となる。 権 限 By assigning the rank to the authority in this way, it is possible to perform more detailed job control authority assignment.
また、ホストコンピュータ109でジョブを送信する際に、予めそのジョブに対してジョブ制御を行うことができるユーザもしくはクライアントを設定することも考えられる。
{Circle around (4)} When a job is transmitted by the
つまり、プリンタドライバ部1502において、ユーザがジョブ制御を許可するクライアント情報もしくはユーザ情報を設定し、その情報をパケットヘッダ生成部1507がジョブパケットに設定する。それに応じて、データを受信する印刷装置110では、ジョブプリプロセッサ部1510がジョブ制御を許可するクライアント情報とユーザ情報を機器データベース部1509に格納しておき、情報管理部1517がジョブ制御の権限判断をするときにジョブ制御依頼をしたクライアントもしくはユーザと、機器データベース部1510に設定されているクライアント情報もしくはユーザ情報と一致するかを判断して制御すればよい。
That is, in the
このように、ジョブ依頼者が該ジョブに対しジョブ制御権限対象者を設定できるので、制御対象となるジョブを送信したユーザの意志を反映することが可能となり、より詳細な設定を行ったジョブ制御を実行することができる。 As described above, since the job requester can set the job control authority target for the job, it is possible to reflect the intention of the user who transmitted the job to be controlled, and to perform the job control with more detailed settings. Can be performed.
ここで本発明の印刷制御装置の特徴的構成について説明する。 Here, the characteristic configuration of the print control device of the present invention will be described.
本第1の実施の形態で説明した印刷制御装置において、前記管理情報記憶手段は、更にジョブ制御を行う権限を示す権限情報(権限リストに相当)を格納しており、前記ジョブ制御手段は、ジョブの制御を前記権限情報に基づいて制御する。 In the print control apparatus described in the first embodiment, the management information storage unit further stores authority information (equivalent to an authority list) indicating authority to perform job control. The control of the job is controlled based on the authority information.
また、前記権限情報は、前記印刷制御装置の操作部(操作部103)から設定される。 (4) The authority information is set from an operation unit (operation unit 103) of the print control apparatus.
また、前記権限情報は、前記入力手段を介して外部(ホストコンピュータ109)から入力される。 (4) The authority information is input from the outside (host computer 109) via the input means.
また、前記印刷管理データは優先度情報を含んでおり、該優先度情報に基づいて印刷処理される順序が並び替えられる。 The print management data includes priority information, and the order of print processing is rearranged based on the priority information.
また、上記の仕組みからなる、印刷制御方法もしくは印刷制御プログラムが格納された記憶媒体である。 (4) A storage medium storing the print control method or the print control program having the above-described mechanism.
また、ホストコンピュータは、印刷データを生成する生成手段と、印刷管理データと該印刷管理データを識別するための識別情報とを含むジョブパケットと、印刷データと該印刷データを識別するための識別情報とを含むジョブパケットとから印刷ジョブを生成するジョブパケット生成部とを有している。 The host computer may further include a generation unit configured to generate the print data, a job packet including the print management data and identification information for identifying the print management data, and identification information for identifying the print data and the print data. And a job packet generation unit that generates a print job from a job packet including the following.
<第2の実施形態の効果>
コマンド情報として、印刷ジョブの優先順位を付加することにより、個々の印刷ジョブに設定された優先順位がコマンド解析部により解析され、ジョブ管理テーブルで優先順位は管理されることが可能となる。従って、印刷ジョブのうち、優先順位の高いジョブは、優先順位の低いジョブを追い抜き、先行した印刷処理が進められる。印刷ジョブの中断、再開における印刷ジョブの実行順位は、ジョブ管理テーブルに登録されたジョブの優先順位を基礎として、削除若しくは割り込みによるリナンバリングが行われる。
<Effect of Second Embodiment>
By adding the priority of the print job as the command information, the priority set for each print job is analyzed by the command analysis unit, and the priority can be managed in the job management table. Accordingly, among the print jobs, the job with the higher priority overtakes the job with the lower priority, and the preceding print processing proceeds. The execution order of the print job when the print job is interrupted or restarted is deleted or renumbered by interruption based on the priority of the job registered in the job management table.
優先順位の高い重要な書類を印刷する場合でも先行する印刷ジョブが終了するまで待たなければならないということは解消する。 。Eliminates the need to wait until the preceding print job is completed even when printing important documents with high priority.
また、ジョブ制御を実行できるクライアントやユーザを制限することで、混乱した事態を防ぎ、より秩序あるジョブ制御を本印刷制御装置で行うことができる。 (5) By restricting the clients and users who can execute job control, confusion can be prevented, and more orderly job control can be performed by the print control apparatus.
(他の実施形態)
なお、本発明は、複数の機器(例えばホストコンピュータ,インタフェイス機器,リーダ,プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機,ファクシミリ装置など)に適用してもよい。
(Other embodiments)
The present invention can be applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), but it can be applied to a device including one device (for example, a copier, a facsimile device, etc.). May be applied.
また、複数の機能(コピー、プリント、FAX)を持っている複合機に適用してもよい。 Also, the present invention may be applied to a multifunction device having a plurality of functions (copy, print, fax).
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、図23に示すようにシステムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、達成されることは言うまでもない。 Further, an object of the present invention is to supply a storage medium storing program codes of software for realizing the functions of the above-described embodiments to a system or an apparatus as shown in FIG. And MPU) by reading and executing the program code stored in the storage medium.
プログラムとは、本実施例で説明した、図7、図17〜19のフローチャートの制御をプログラムコード化したものである。 The program is a program code of the control of the flowcharts of FIGS. 7 and 17 to 19 described in the present embodiment.
この場合、記憶媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
図24は、本発明の制御プログラムが記憶部105に含まれるRAMにロードされ実行可能となった状態のメモリマップを示す。
FIG. 24 shows a memory map in a state where the control program of the present invention is loaded into the RAM included in the
本実施例では、記憶媒体から本制御プログラム及び関連データを直接RAMにロードして実行させる例を示したが、この他にFD等の外部記憶媒体から本制御プログラム及び関連データを一旦記憶部105内の不揮発性記憶媒体であるハードディスクに格納(インストール)しておき、本データ作成・送信処理制御プログラムを動作させる際にハードディスクからRAMにロードするようにしても良い。
In this embodiment, an example has been described in which the control program and related data are directly loaded from the storage medium to the RAM and executed. However, the control program and the related data are temporarily stored in the
プログラムコードを供給するための記憶媒体としては、例えば、フロッピディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,磁気テープ,不揮発性のメモリカード,ROMなどを用いることができる。 (4) As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, etc. can be used.
また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also an OS (Operating System) running on the computer based on the instruction of the program code. It goes without saying that a part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.
さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that a CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明したフローチャートに対応するプログラムコードを格納することになるが、簡単に説明すると、図10のメモリマップ例に示す各モジュールを記憶媒体に格納することになる。 When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the above-described flowcharts. However, in brief, each module shown in the memory map example of FIG. Is stored in the storage medium.
すなわち、少なくとも「コマンド解析モジュール1001」、「イメージデータ変換モジュール1002」および「印刷処理モジュール1003」、「データ入力モジュール1004」の各モジュールのプログラムコードを記憶媒体に格納すればよい。
That is, the program codes of at least the “
本実施形態において、コマンド解析モジュール1001は、実施例でいうジョブプリプロセッサ部であるコマンド解析手段として機能し、記憶部105内の機器データベース部に生成されるジョブ管理テーブル(図4)は、第一のデータ格納手段として機能する。さらに、印刷実行にかかるデータを記憶するための記憶部105に生成された受信バッファ202は第二のデータ格納手段として機能する。
In the present embodiment, the
イメージデータ変換モジュール1002は、印刷ジョブデータのうち、印刷実行にかかるデータをイメージデータに変換するためのPDLトランスレータ部であるデータ変換手段として機能する。
The image
印刷処理モジュール1003は、印刷制御コマンドに基づき、印刷ジョブの実行処理を行う描画部として機能する。
The
さらに、データ入力モジュール1004は、前記印刷ジョブを管理するためのデータと、前記印刷ジョブを管理するためのデータを識別するためのコマンド情報と、前記印刷実行にかかるデータと、前記印刷実行にかかるデータを識別するためのコマンド情報と、前記印刷の制御指示のためのデータと、前記制御指示にためのデータを識別するためのコマンド情報と、から構成される印刷ジョブデータ等を受信する入力手段(I/Fドライバ部)として機能する。
Further, the
印刷装置としてレーザビームプリンタを用いても良い。図11はこの場合のレーザビームプリンタ(以下、LBPと略す)の内部構造を示す断面図で、このLBPは、文字パターンデータ等を入力して記録紙に印刷することができる。 レ ー ザ A laser beam printer may be used as the printing device. FIG. 11 is a cross-sectional view showing the internal structure of a laser beam printer (hereinafter abbreviated as LBP) in this case. The LBP can input character pattern data or the like and print it on recording paper.
図11において、1140はLBP本体であり、供給される文字パターン等を基に、記録媒体である記録紙上に像を形成する。1100は操作のためのスイツチ及びLED表示器などが配されている操作パネル、1101はLBP1140全体の制御及び文字パターン情報等を解析するプリンタ制御ユニツトである。このプリンタ制御ユニツト1101は主に文字パターン情報をビデオ信号に変換してレーザドライバ1102に出力する。
In FIG. 11,
レーザドライバ1102は半導体レーザ1103を駆動するための回路であり、入力されたビデオ信号に応じて半導体レーザ1103から発射されるレーザ光1104をオン・オフ切替えする。レーザ光1104は回転多面鏡1005で左右方向に振られて静電ドラム1106上を走査する。これにより、静電ドラム1106上には文字パターンの静電潜像が形成される。この潜像は静電ドラム1106周囲の現像ユニツト1007により現像された後、記録紙に転写される。この記録紙にはカットシートを用い、カットシート記録紙はLBP1140に装着した複数種の用紙に対応した複数の用紙カセツト1008に収納され、給紙ローラ1109及び搬送ローラ1110と1111とにより装置内に取込まれて、静電ドラム1106に供給される。
The
尚、本実施形態の印刷装置として、レーザビームプリンタを例にして説明したが、これに限定されるものでなく、以下で説明するインクジェットプリンタ等にも適応可能である。 The printing apparatus according to the present embodiment has been described using a laser beam printer as an example. However, the present invention is not limited to this, and may be applied to an inkjet printer described below.
図11は、不図示であるが複数種の用紙を印刷ジョブに対応して給紙可能であるインクジェット記録装置IJRAの概観図である。同図において、駆動モータ5013の正逆回転に連動して駆動力伝達ギア5011,5009を介して回転するリードスクリュー5005の螺旋溝5004に対して係合するキャリッジHCはピン(不図示)を有し、矢印a,b方向に往復移動される。このキャリッジHCには、インクジェットカートリッジIJCが搭載されている。5002は紙押え板であり、キャリッジの移動方向に亙って紙をプラテン5000に対して押圧する。5007,5008はフォトカプラで、キャリッジのレバー5006のこの域での存在を確認して、モータ5013の回転方向切り換え等を行うためのホームポジション検知手段である。5016は記録ヘッドの前面をキャップするキャップ部材5022を支持する部材で、5015はこのキャップ内を吸引する吸引手段で、キャップ内開口5023を介して記録ヘッドの吸引回復を行う。5017はクリーニングブレードで、5019はこのブレードを前後方向に移動可能にする部材であり、本体支持板5018にこれらが支持されている。ブレードは、この形態でなく周知のクリーニングブレードが本例に適用できることは言うまでもない。又、5021は、吸引回復の吸引を開始するためのレバーで、キャリッジと係合するカム5020の移動に伴って移動し、駆動モータからの駆動力がクラッチ切り換え等の公知の伝達手段で移動制御される。これらのキャッピング、クリーニング、吸引回復は、キャリッジがホームポジション側の領域に来た時にリードスクリュー5005の作用によってそれらの対応位置で所望の処理が行えるように構成されているが、周知のタイミングで所望の作動を行うようにすれば、本例にはいずれも適用できる。
FIG. 11 is a schematic view of an ink jet recording apparatus IJRA (not shown) that can feed a plurality of types of sheets corresponding to a print job. In the figure, the carriage HC that engages with the
次に、上述した装置の記録制御を実行するための制御構成について、図13に示すブロック図を参照して説明する。制御回路を示す同図において、1700は記録信号を入力するインターフェース、1701はMPU、1702はMPU1701が実行する制御プログラムを格納するプログラムROM、1703は各種データ(上記記録信号やヘッドに供給される記録データ等)を保存しておくダイナミック型のROMである。1704は記録ヘッド1708に対する記録データの供給制御を行うゲートアレイであり、インターフェース1700、MPU1701、RAM1703間のデータ転送制御も行う。1710は記録ヘッド1708を搬送するためのキャリアモータ、1709は記録紙搬送のための搬送モータである。1705はヘッドを駆動するヘッドドライバ、1706、1707はそれぞれ搬送モータ1709、キャリアモータ1710を駆動するためのモータドライバである。
Next, a control configuration for executing the recording control of the above-described apparatus will be described with reference to a block diagram shown in FIG. In the figure showing a control circuit, 1700 is an interface for inputting a recording signal, 1701 is an MPU, 1702 is a program ROM for storing a control program executed by the
上記制御構成の動作を説明すると、インターフェース1700に記録信号が入るとゲートアレイ1704とMPU1701との間で記録信号がプリント用の記録データに変換される。そして、モータドライバ1706、1707が駆動されると共に、ヘッドドライバ1705に送られた記録データに従って記録ヘッドが駆動され、印刷が行われる。
The operation of the above control configuration will be described. When a recording signal enters the
以上のようなインクジェットプリンタの制御構成に、本発明の構成要素を組み込むことも可能であり、本発明はレーザビームプリンタに限らず、上記インクジェットプリンタ等にも適用できることは明らかである。 (4) The components of the present invention can be incorporated in the control configuration of the ink jet printer as described above, and it is apparent that the present invention can be applied not only to the laser beam printer but also to the above ink jet printer and the like.
本発明により、印刷ジョブデータは、コマンド情報と、前記コマンド情報に対応した、コマンド情報の属性を記述するヘッダ情報との一対を基本単位として生成される。 According to the present invention, print job data is generated with a pair of command information and header information describing attributes of the command information corresponding to the command information as a basic unit.
コマンド情報は、印刷ジョブを管理するための情報、印刷実行にかかる情報と、印刷の制御指示のための情報の3種類がある。かかる印刷ジョブデータはデータ生成手段で生成され、印刷実行手段に送信される。 The command information includes three types: information for managing a print job, information for executing printing, and information for giving a print control instruction. Such print job data is generated by the data generation unit and transmitted to the print execution unit.
入力手段で受信された印刷ジョブデータは、コマンド解析手段により、それぞれ印刷ジョブデータを構成するコマンド情報単位に解析される。 The print job data received by the input unit is analyzed by the command analysis unit in units of command information constituting the print job data.
印刷ジョブを管理するためのデータは、印刷実行順位により分類される一の格納手段に格納され、印刷実行にかかるデータは、データ変換手段によりイメージデータに変換された後他の格納手段に格納される。コマンド情報別に解析され、格納されたそれぞれのデータは、制御指示コマンドに従い読み出され印刷処理される。 The data for managing the print job is stored in one storage unit classified according to the print execution order, and the data related to the print execution is stored in another storage unit after being converted into image data by the data conversion unit. You. Each piece of data analyzed and stored for each command information is read and printed according to the control instruction command.
印刷ジョブ単位で受信された印刷ジョブデータは、コマンド情報単位に並列処理されるために直列的な処理に比べ、待ち時間が削減され高速な処理が可能となる。 (4) Since print job data received in print job units is processed in parallel in command information units, waiting time is reduced and high-speed processing is possible as compared with serial processing.
印刷ジョブの全体的な処理の完了を待たずに、コマンド情報単位に連続的に処理することが可能となり、印刷ジョブデータの受信に続く一連の処理においてジョブの管理・制御が容易となる。 (4) Processing can be continuously performed in units of command information without waiting for the entire processing of a print job to be completed, and job management and control in a series of processing subsequent to reception of print job data can be facilitated.
さらに、コマンド情報として、印刷ジョブの優先順位を付加することにより、個々の印刷ジョブに設定された優先順位がコマンド解析部により解析され、ジョブ管理テーブルで優先順位は管理されることが可能となる。従って、印刷ジョブのうち、優先順位の高いジョブは、優先順位の低いジョブを追い抜き、先行した印刷処理が進められる。本発明により、本印刷制御装置では、印刷ジョブ内の印刷データとジョブ管理情報とを分けているので、印刷データの解析をせずともジョブの管理情報の取得が可能となる。 Furthermore, by adding the priority of the print job as the command information, the priority set for each print job is analyzed by the command analysis unit, and the priority can be managed in the job management table. . Accordingly, among the print jobs, the job with the higher priority overtakes the job with the lower priority, and the preceding print processing proceeds. According to the present invention, the print control apparatus separates print data in a print job from job management information, so that it is possible to acquire job management information without analyzing print data.
また、印刷データを解析せずとも、ジョブの認識が可能となり、ジョブの全体的な負荷量が検知でき、ジョブの管理ができるようになる。 Also, the job can be recognized without analyzing the print data, the overall load of the job can be detected, and the job can be managed.
また、このジョブ管理情報により印刷制御装置内の印刷ジョブを管理できるので、外部装置から受信したジョブ制御コマンドによって印刷制御装置内の印刷ジョブの制御がリアルタイムで可能になる。 Since the print job in the print control device can be managed by the job management information, the print job in the print control device can be controlled in real time by the job control command received from the external device.
101 入力部
102 中央制御部
103 操作部
104 印刷処理部
105 記憶部
106 出力部
201 コマンド解析部
202 受信バッファ
203 PDL印刷処理部
204 キュー
205 出力部
301 1つの印刷処理にかかる一連のコマンド即ちジョブコマンド
302 後述のコマンド303のパケットヘッダー
303 ジョブの開始を示すコマンド
304 後述のコマンド305のパケットヘッダー
305 パラメータの設定コマンド、及び設定データ
306 後述のコマンド307のパケットヘッダー
307 実際に印刷されるPDL情報
308 後述のコマンド309のパケットヘッダー
309 ジョブの終了コマンド
401 ジョブ番号
402 キュー番号
403 ユーザ名
404 ファイル名
405 パラメータリストハンドル
Claims (6)
前記情報処理装置から所定のデータ通信で送信されてくる、パケットのデータの内容を識別するためのヘッダを含む複数のパケットにパケット化されたジョブデータを受信し入力する入力手段と、
前記入力手段により入力したジョブデータの各々のパケットのヘッダを解析する第1解析手段と、
前記第1解析手段によるヘッダの解析に基づき、入力されたジョブデータを種別を切り分けて格納部に格納するようにする処理手段と、
前記第1解析手段の解析に基づき前記処理手段により切り分けて格納されたジョブデータに基づくジョブの管理を行う管理手段と、を有することを特徴とする印刷処理装置。 A print processing device capable of communicating with an information processing device,
Input means for receiving and inputting job data packetized into a plurality of packets including a header for identifying the content of the data of the packet transmitted from the information processing apparatus by predetermined data communication,
First analysis means for analyzing the header of each packet of the job data input by the input means;
Processing means for dividing the type of the input job data based on the analysis of the header by the first analysis means and storing the job data in a storage unit;
A print processing apparatus comprising: a management unit that manages a job based on job data separated and stored by the processing unit based on the analysis of the first analysis unit.
アプリケーションデータに基づき作成される印刷データをパケット化するパケット生成手段と、
前記パケット生成手段によりパケット化されたデータを所定のデータ通信で前記印刷処理装置に送信するようにする送信制御手段と、を有することを特徴とする情報処理装置。 An information processing device capable of communicating with a print processing device,
Packet generation means for packetizing print data created based on application data;
An information processing apparatus, comprising: a transmission control unit configured to transmit data packetized by the packet generation unit to the print processing device by predetermined data communication.
前記情報処理装置から所定のデータ通信で送信されてくる、パケットのデータの内容を識別するためのヘッダを含む複数のパケットにパケット化されたジョブデータを受信し入力する入力ステップと、
前記入力ステップにおいて入力されたジョブデータの各々のパケットのヘッダを解析する第1解析ステップと、
前記第1解析ステップにおけるヘッダの解析に基づき入力されたジョブデータを種別を切り分けて格納部に格納するようにする処理ステップと、
前記第1解析ステップの解析に基づき前記処理ステップにおいて切り分けて格納されたジョブデータに基づくジョブの管理を行う管理ステップと、を有することを特徴とする印刷処理方法。 A print control method in a print processing device capable of communicating with an information processing device,
An inputting step of receiving and inputting job data packetized into a plurality of packets including a header for identifying the content of the data of the packet transmitted from the information processing apparatus by predetermined data communication,
A first analysis step of analyzing a header of each packet of the job data input in the input step;
A processing step of classifying job data input based on the analysis of the header in the first analysis step and storing the job data in a storage unit;
A management step of managing a job based on the job data separated and stored in the processing step based on the analysis of the first analysis step.
アプリケーションデータに基づき作成される印刷データをパケット化するパケット生成ステップと、
前記パケット生成ステップにおいてパケット化されたデータを所定のデータ通信で前記印刷処理装置に送信するようにする送信制御ステップと、を有することを特徴とする処理方法。 A processing method by an information processing device capable of communicating with a print processing device,
A packet generation step of packetizing print data created based on the application data;
A transmission control step of transmitting the packetized data in the packet generation step to the print processing apparatus by predetermined data communication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003323105A JP4194455B2 (en) | 1997-10-27 | 2003-09-16 | Information processing apparatus, print job processing method, and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29466597 | 1997-10-27 | ||
JP2003323105A JP4194455B2 (en) | 1997-10-27 | 2003-09-16 | Information processing apparatus, print job processing method, and storage medium |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP24175198A Division JP3559713B2 (en) | 1997-10-27 | 1998-08-27 | Print processing apparatus, print processing method, and storage medium storing processing program |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2004001581A true JP2004001581A (en) | 2004-01-08 |
JP2004001581A5 JP2004001581A5 (en) | 2005-08-11 |
JP4194455B2 JP4194455B2 (en) | 2008-12-10 |
Family
ID=30445519
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003323105A Expired - Fee Related JP4194455B2 (en) | 1997-10-27 | 2003-09-16 | Information processing apparatus, print job processing method, and storage medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4194455B2 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006285611A (en) * | 2005-03-31 | 2006-10-19 | Canon Inc | Image formation system |
JP2007076316A (en) * | 2005-09-16 | 2007-03-29 | Konica Minolta Business Technologies Inc | Device and system for processing image |
JP2007216450A (en) * | 2006-02-15 | 2007-08-30 | Ricoh Co Ltd | Printing apparatus |
JP2007283664A (en) * | 2006-04-18 | 2007-11-01 | Seiko Epson Corp | Printer, print system, and printer control method |
JP2009105754A (en) * | 2007-10-24 | 2009-05-14 | Ricoh Co Ltd | Image processor and precedence determining method |
JP2017060006A (en) * | 2015-09-16 | 2017-03-23 | コニカミノルタ株式会社 | Image formation apparatus and program |
JP2020147031A (en) * | 2019-03-06 | 2020-09-17 | キヤノン株式会社 | Image processing device, information processing method and program |
-
2003
- 2003-09-16 JP JP2003323105A patent/JP4194455B2/en not_active Expired - Fee Related
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006285611A (en) * | 2005-03-31 | 2006-10-19 | Canon Inc | Image formation system |
US7706013B2 (en) | 2005-03-31 | 2010-04-27 | Canon Kabushiki Kaisha | Image forming system |
JP4533213B2 (en) * | 2005-03-31 | 2010-09-01 | キヤノン株式会社 | Printing system, control method therefor, and computer program |
JP2007076316A (en) * | 2005-09-16 | 2007-03-29 | Konica Minolta Business Technologies Inc | Device and system for processing image |
JP2007216450A (en) * | 2006-02-15 | 2007-08-30 | Ricoh Co Ltd | Printing apparatus |
JP2007283664A (en) * | 2006-04-18 | 2007-11-01 | Seiko Epson Corp | Printer, print system, and printer control method |
JP2009105754A (en) * | 2007-10-24 | 2009-05-14 | Ricoh Co Ltd | Image processor and precedence determining method |
JP2017060006A (en) * | 2015-09-16 | 2017-03-23 | コニカミノルタ株式会社 | Image formation apparatus and program |
JP2020147031A (en) * | 2019-03-06 | 2020-09-17 | キヤノン株式会社 | Image processing device, information processing method and program |
JP7401336B2 (en) | 2019-03-06 | 2023-12-19 | キヤノン株式会社 | Image processing device, information processing method and program |
Also Published As
Publication number | Publication date |
---|---|
JP4194455B2 (en) | 2008-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3559713B2 (en) | Print processing apparatus, print processing method, and storage medium storing processing program | |
US6785727B1 (en) | Image processor for processing reservation and information processor for requesting reservation | |
US6633395B1 (en) | Printer, printing system, print control method, storage medium used to store print control program for controlling a printer, and transmission device for transmitting print control program for controlling a printer | |
US6894800B2 (en) | Information processing apparatus and information display method for displaying job information relating to an output job | |
US8107111B2 (en) | Print processing system, information processing apparatus, image forming apparatus, control method therefor, and program | |
JP2001154819A (en) | Device and method for controlling print and recording medium for storing print control program and print control program product | |
US8189221B2 (en) | Image forming device for executing a designated process with priority without canceling a previously accepted process | |
US7068388B2 (en) | Printing a plurality of print jobs of a group in a designated order | |
JP4401662B2 (en) | Print control apparatus and print control method | |
JPH11191043A (en) | Print system and data processing method thereof, and storage medium stored with computer-readable program | |
JP4194455B2 (en) | Information processing apparatus, print job processing method, and storage medium | |
JP2000001029A (en) | Printer, print control method and recording medium | |
JP3817387B2 (en) | Information processing apparatus, printing apparatus, information processing method, and storage medium capable of instructing cancellation of print job | |
US7764394B2 (en) | Data processing apparatus, data processing method, and data processing program | |
JP3102836B2 (en) | Printer system and print job processing method for printer system | |
JP2005349768A (en) | Printing device and printing method | |
JP2006168069A (en) | Printing apparatus and printing system | |
JP2001282492A (en) | Data processor, method for selecting printer for data processor and storage medium | |
JPH08267877A (en) | Printer and controlling method therefor | |
JPH07104949A (en) | Printing system | |
JP2004017595A (en) | Printer and controlling method therefor | |
JP2004126943A (en) | Printing processor, printing processing method, and printing processing program | |
JP2019136952A (en) | Image formation apparatus, control method and program of image formation apparatus | |
JP2001147789A (en) | Information processor, printing controller, job processing method and storage medium | |
JPH10187392A (en) | Output controller, outputting method and recording medium storing program that can be read by computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040608 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050316 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A132 Effective date: 20080422 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080623 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20080916 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080922 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111003 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111003 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121003 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131003 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |