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 PDF

Info

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
print
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
Application number
JP2003323105A
Other languages
Japanese (ja)
Other versions
JP4194455B2 (en
JP2004001581A5 (en
Inventor
Mamoru Osada
長田 守
Masako Shimodaira
下平 真子
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 JP2003323105A priority Critical patent/JP4194455B2/en
Publication of JP2004001581A publication Critical patent/JP2004001581A/en
Publication of JP2004001581A5 publication Critical patent/JP2004001581A5/ja
Application granted granted Critical
Publication of JP4194455B2 publication Critical patent/JP4194455B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem that printing data is processed as a batch conventionally, making continuously inputted printing jobs kept waiting until a precedent printing job is completely processed, and that a total load amount cannot be detected before printing data is interpreted to the last, thus hindering a substantial management state of printing jobs from being grasped before a final stage of the process. <P>SOLUTION: A header of job data formed in a packet is analyzed. It is detected on the basis of the analysis of which kind the job data of the packet is. The job data is stored on the basis of the detection into a storage part and managed on the basis of the storage. <P>COPYRIGHT: (C)2004,JPO

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, reference numeral 501 denotes a printing apparatus main body; 502, a host computer (host) for sending data to the printing apparatus 501; 503, an input unit for receiving data sent from the host 502; 505 is a central control unit that controls the entire printing apparatus 501, and 506 is a print processing unit that converts the video signal of each page sent from the print processing unit 504 to print paper. An output unit 507 for transferring and outputting the print paper is a paper cassette for storing and supplying print paper. An operation unit 508 is used by the user to set a print mode and the like.

 従来は、図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 host 502 to the printing apparatus 501 shown in FIG. 5 (FIG. 8).

 プリンタ等の周辺機器において、ホストコンピュータから受信したデータには、実際に印刷するページ記述言語等で表現された印刷データ(以下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 host 502 is received by the input unit 503 (S601: FIG. 6). The input unit 503 determines that data starting with the print start command is a print job, and treats data until a print end command is detected as one print job.

 入力部503は印刷開始命令(JL)を検出すると中央制御部505にジョブ開始通知を行なう。中央制御部505はジョブ開始通知を受けると、印刷処理手段504に対して現在受信中の印刷ジョブの印刷処理の開始を指示する。 (4) Upon detecting the print start command (JL), the input unit 503 notifies the central control unit 505 of a job start. Upon receiving the job start notification, the central control unit 505 instructs the print processing unit 504 to start print processing of the print job that is currently being received.

 印刷処理手段504はその指示を受けると入力部503からデータを取り込み、現在受信中の印刷ジョブの印刷処理を行なう(S602)。 (4) Upon receiving the instruction, the print processing unit 504 fetches data from the input unit 503 and performs print processing of the print job currently being received (S602).

 印刷処理手段504は印刷ジョブのデータを解析し、1ぺ一ジ分のビデオ信号が完成すると、そのビデオ信号を出力部506に送り、また次のぺ一ジのビデオ信号を作成する。出力部506はビデオ信号が送られてくると用紙カセット507から用紙を取り込み、その用紙にビデオ信号を描画出力して排紙する。印刷処理手段504は、そのようにしてその印刷ジョブの印刷終了命令までの処理を行なうと(S603−YES)、中央制御部505に対して印刷終了の通知を行なう。 The print processing unit 504 analyzes the data of the print job and, when a video signal for one page is completed, sends the video signal to the output unit 506 and creates a video signal for the next page. When the video signal is sent, the output unit 506 takes in the paper from the paper cassette 507, draws and outputs the video signal on the paper, and discharges the paper. When the print processing unit 504 performs the processing up to the print end instruction of the print job in this manner (S603-YES), it notifies the central control unit 505 of the print end.

 印刷処理手段504は印刷終了命令(JL)を受信するまで、受信した印刷ジョブの処理を継続する(S603−No)。 (4) The print processing unit 504 continues to process the received print job until it receives the print end command (JL) (S603-No).

 次に、また、ホスト502から別な印刷ジョブのデータが送られてくると同様の処理を行なう。例えば図8に示すように、印刷ジョブAと印刷ジョブBのような場合である。 Next, the same processing is performed when data of another print job is sent from the host 502. For example, as shown in FIG. 8, this is the case of print job A and print job B.

 ホスト502から連続で印刷ジョブが送られてくるような場合は、中央制御部505は、印刷処理手段504から前の印刷ジョブの印刷終了通知を受けるよりも前に入力部503から次の印刷ジョブの印刷開始通知を受けることがある。その場合中央制御部505は印刷処理手段504から前の印刷ジョブの印刷終了通知を受けてから、次の印刷ジョブの印刷開始を印刷処理手段504に指示することになる。 When a print job is continuously sent from the host 502, the central control unit 505 sends the next print job from the input unit 503 before receiving the print end notification of the previous print job from the print processing unit 504. Print start notification. In this case, the central control unit 505 instructs the print processing unit 504 to start printing the next print job after receiving the print end notification of the previous print job from the print processing unit 504.

 印刷ジョブA801(図8)の完了を受けて印刷ジョブB802の印刷処理が開始される。 (4) Upon completion of print job A 801 (FIG. 8), print processing of print job B 802 is started.

 従って、印刷処理部504で、印刷ジョブの解析に長時間を要すると後続の別の印刷ジョブの実行管理において、迅速な処理ができなくなる。 Therefore, if it takes a long time for the print processing unit 504 to analyze a print job, rapid processing cannot be performed in the execution management of another print job that follows.

 このような従来の印刷システムにおける情報獲得、環境設定を行う仕組みを具現化した印刷システムの模式的構成を示すブロック図を図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 host computer 109 and the printing apparatus 110 are connected via a predetermined communication medium 1413.

 ホストコンピュータ109は、アプリケーション部1401と、プリンタドライバ部1402と、送信バッファ1403と、I/F(インタフェース)ドライバ部1404と、ユーティリティ部1405とを備えている。 The host computer 109 includes an application unit 1401, a printer driver unit 1402, a transmission buffer 1403, an I / F (interface) driver unit 1404, and a utility unit 1405.

 アプリケーション部1401は、ユーザにグラフィックユーザインタフェイスを提供し、ユーザの目的に適った画像データを生成する。プリンタドライバ部1402は、アプリケーション部1401が生成した画像データを印刷装置110で印刷可能なページ記述言語(PDL)データに変換する。 The application unit 1401 provides a graphic user interface to a user and generates image data suitable for the purpose of the user. The printer driver unit 1402 converts the image data generated by the application unit 1401 into page description language (PDL) data that can be printed by the printing apparatus 110.

 送信バッファ1403は、プリンタドライバ部1402が生成したPDLデータを一時的に格納しておく。I/Fドライバ部1404は、送信バッファ1403に蓄えられたPDLデータを印刷装置110に送信、及び印刷装置110の情報の送受信を行う。ユーティリティ部1405は、印刷装置110の情報を獲得してグラフィックユーザインタフェイスに提供したり、ユーザの要望に従って印刷装置110の環境設定を変更する。 The transmission buffer 1403 temporarily stores PDL data generated by the printer driver unit 1402. The I / F driver unit 1404 transmits the PDL data stored in the transmission buffer 1403 to the printing device 110, and transmits and receives information of the printing device 110. The utility unit 1405 acquires information of the printing apparatus 110 and provides the information to the graphic user interface, and changes the environment setting of the printing apparatus 110 according to a user's request.

 また、印刷装置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 printing apparatus 110 includes an I / F driver unit 1406, a reception buffer 1407, a JL (job control language) parser unit 1408, a PDL translator unit 1409, a drawing buffer 1410, a drawing unit 1411, and a printer engine unit. 1412 and a device database unit 1413. The I / F driver unit 1406 receives PDL data transmitted from the host computer 109, transmits information on the printing apparatus 110, and receives environment settings. The reception buffer 1407 temporarily secures all data received by the I / F driver unit 1406, and serves as a buffer for delays in subsequent processing.

 JLパーサ部1408は、受信データを解析し、印刷装置110の情報獲得かPDLデータの受信かの処理の振り分けを、所定のJLによって判断して処理を振り分ける。PDLトランスレータ部1409は、JLパーサ部1408によってPDLデータを振り分けられたPDLの翻訳処理を行い、描画に適した描画オブジェクトである中間データに変換を行う。機器データベース部1413は、JLにより設定された印刷装置110の情報を格納し、JLにより獲得或いは後段のPDLトランスレータ部1409に情報を提供する。ここでいう環境情報とは、例えば印刷枚数のことである。 The LJL parser unit 1408 analyzes the received data, and determines the distribution of the process of acquiring the information of the printing apparatus 110 or receiving the PDL data by a predetermined JL and distributes the process. The PDL translator unit 1409 performs a translation process on the PDL to which the PDL data has been sorted by the JL parser unit 1408, and converts the PDL data into intermediate data that is a drawing object suitable for drawing. The device database unit 1413 stores the information of the printing apparatus 110 set by the JL, and acquires the information by the JL or provides the information to the PDL translator unit 1409 in the subsequent stage. The environment information referred to here is, for example, the number of prints.

 描画バッファ1410は、PDLトランスレータ部1409によって生成された描画オブジェクトの中間データを実際に印刷を行うまで一時的に格納しておく。描画部1411は、描画バッファ1410に一時格納された描画オブジェクトを実際に描画を行ってビットマップ画像であるイメージデータを生成する。プリンタエンジン部1412は、描画部1411が生成したビットマップ画像を受取り、既知の印刷技術により用紙等のメディアに印刷を行う。 The drawing buffer 1410 temporarily stores the intermediate data of the drawing object generated by the PDL translator unit 1409 until the printing is actually performed. The drawing unit 1411 actually draws the drawing object temporarily stored in the drawing buffer 1410 to generate image data that is a bitmap image. The printer engine unit 1412 receives the bitmap image generated by the drawing unit 1411 and prints it on a medium such as paper by a known printing technique.

 次に、ジョブ制御言語(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 printer driver unit 1402 of the host computer 109 together with PDL, and has a text format structure. JL includes an escape character represented by <ESC>. For example, the processing of the PDL translator unit 1409 which has been operating up to that point is terminated and control is passed to the JL parser unit 1408 to start parser processing, or "LIPS" (LIPS: registered trademark of Canon Inc.) The processing shifts to the PDL translator unit 1409 having the name, and the PDL translating and drawing processing is performed. By the function of JL described above, the printing apparatus 110 can appropriately switch print data composed of a plurality of different PDLs and perform printing.

 次に、JLによる印刷装置110の情報獲得、環境設定の手段を説明する。例えば、JLには、ホストコンピュータ900のユーティリティ部905から生成される命令があり、印刷装置110のページの印刷枚数(COPIES)の初期値を印刷装置110から獲得する命令が存在する。尚、COPIESは一例であり、その他の印刷装置110の環境情報は対応した文字列により獲得可能である。また、JLには、ホストコンピュータ109のユーティリティ部1405から生成される命令があり、印刷装置110のページの印刷枚数の初期値を「X枚」に設定する命令がある。上記のJLの働きにより、ホストコンピュータ109は印刷装置110の情報の獲得及び設定が可能となっている。
特開平07−141132号公報
Next, a description will be given of means for acquiring information of the printing apparatus 110 by JL and setting an environment. For example, in the JL, there is a command generated from the utility unit 905 of the host computer 900, and a command to obtain an initial value of the number of printed pages (COPIES) of the printing apparatus 110 from the printing apparatus 110. Note that COPIES is an example, and other environment information of the printing apparatus 110 can be obtained by corresponding character strings. The JL includes a command generated from the utility unit 1405 of the host computer 109, and includes a command to set the initial value of the number of pages printed by the printing apparatus 110 to “X pages”. By the function of the JL, the host computer 109 can acquire and set information of the printing apparatus 110.
JP-A-07-141132

 しかしながら、従来例のように、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 print processing unit 504 in the embodiment of the present invention. Conventionally, job management was possible only in the queue 204 and subsequent steps in FIG.

 印刷ジョブを一体としてシリアルな情報として処理がなされていたために、複数の印刷ジョブが連続的に投入された場合、先行する印刷ジョブの印刷処理が完全に終了するまで、後続の印刷ジョブは処理待ちとなる。具体的には、従来例によると、上記図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 printing apparatus 110 in FIG. 14, the print job is once stored in the reception buffer 1407 before being interpreted by the JL parser unit 1408 for recognizing the print job. However, there is a problem that the print data entered into the reception buffer 1407 is not recognized as a print job, and becomes incomplete due to information acquisition and setting of all print jobs entered into the printing apparatus 110.

 また、ホストコンピュータ109のアプリケーション部1401によって生成された印刷データは、プリンタドライバ部1402によってPDLデータに変換され、送信バッファ1403、I/Fドライバ部1404を経由して印刷装置110に送信されるが、データ送信中にユーティリティ部1405から印刷装置110の情報取得、設定やジョブ制御を行おうとしても、I/Fドライバ部1404によって排他制御され、上記PDLデータの送信がすべて完了するまでユーティリティ部1405の要求を満たすことができないため、リアルタイム性を損なうことになっている。 The print data generated by the application unit 1401 of the host computer 109 is converted into PDL data by the printer driver unit 1402 and transmitted to the printing device 110 via the transmission buffer 1403 and the I / F driver unit 1404. Even if an attempt is made to acquire, set, or control the job of the printing apparatus 110 from the utility unit 1405 during data transmission, the utility unit 1405 is exclusively controlled by the I / F driver unit 1404 until the transmission of all the PDL data is completed. Cannot satisfy the demands of real-time, so the real-time property is impaired.

 さらに、付帯した課題として、印刷処理の実行は先行する印刷処理の状況に依存するために、後続の印刷ジョブの出力は、いつ出力されるか等不確定であり、余分な待ち時間が強いられることになる。印刷ジョブのうち、優先順位の高いジョブでも低いジョブでも一律に扱われるために、優先順位の高い重要な書類を印刷する場合でも先行する印刷ジョブが終了するまで待たなければならない。 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 printing apparatus 110 including a print control apparatus according to the present invention.

 入力部101は、本印刷装置とホストコンピュータ520等のクライアント間の通信を司る。入力部101は、図3に示す印刷ジョブデータの受信が可能である。すなわち、印刷ジョブの管理のためのデータ、印刷実行にかかる文書データ、さらに印刷制御のためのデータ等と、それぞれに対応したヘッダ部分が付加されたデータ構造を有する情報の受信が可能である。図3の場合、ヘッダ情報はデータ容量であるが、データの種類はこれに限定されず、たとえば、データの内容を識別するための情報であってもよい。 The input unit 101 controls communication between the printing apparatus and a client such as the host computer 520. The input unit 101 can receive the print job data shown in FIG. That is, it is possible to receive information having a data structure to which a header portion corresponding to data for managing a print job, document data for performing printing, data for print control, and the like are added. In the case of FIG. 3, the header information is the data capacity, but the type of data is not limited to this. For example, the information may be information for identifying the contents of the data.

 中央制御部(CPU)102は、本印刷装置110の全体的な制御を司るものである。 The central control unit (CPU) 102 controls the overall control of the printing apparatus 110.

 操作部103は、本印刷装置に直接ユーザがふれる際のI/Fを提供するものである。 The operation unit 103 provides an I / F when a user directly touches the printing apparatus.

 印刷処理部104は、入力部101で受信したコマンドの解析、及び印刷データ(PDL)の解析等を行うものである。 The print processing unit 104 analyzes a command received by the input unit 101, analyzes print data (PDL), and the like.

 記憶部105は、本装置を動作させるためのROM(読み出し専用メモリ)、RAM(ランダムアクセスメモリ)、2次記憶装置等からなる。RAMは使用制限のないデータ記憶領域であり、入力部101の受信バッファ、或いは印刷処理部104でのデータ展開等に使用される領域である。 The storage unit 105 includes a ROM (read only memory), a RAM (random access memory), a secondary storage device, and the like for operating the present apparatus. The RAM is a data storage area with no restrictions on use, and is an area used for a reception buffer of the input unit 101 or data development in the print processing unit 104.

 出力部106は、入力部101を解して受信した印刷データを、印刷処理部104で印刷可能なイメージ情報に展開されたものを紙に転写するものである。用紙カセット108は出力部106の処理に合わせて適切な用紙を供給する。 The output unit 106 transfers the print data received through the input unit 101 into image information printable by the print processing unit 104 onto paper. The paper cassette 108 supplies appropriate paper according to the processing of the output unit 106.

 図2は、本発明において、印刷ジョブの処理をブロック図を用いて表現したものである。 FIG. 2 illustrates a print job process using a block diagram in the present invention.

 コマンド解析部201は、入力部101で受信したデータ、即ち後述の図3で示される印刷ジョブの各コマンドを順次解析する。解析された情報のうち、ジョブとして管理すべき情報は、記憶部105内に生成される後述の図4のジョブテーブルに格納される。 The command analysis unit 201 sequentially analyzes the data received by the input unit 101, that is, each command of the print job shown in FIG. Of the analyzed information, information to be managed as a job is stored in a job table generated in the storage unit 105 and described later in FIG.

 管理すべき情報とは受信した順番(ジョブ番号等)、ユーザ名、ファイル名、処理状態等である。 The information to be managed is the order of reception (job number, etc.), user name, file name, processing status, etc.

 受信バッファ202は、コマンド解析部201で解析された情報のうち、実際の出力データを、記憶部105内に一時的に保存処理する。 The reception buffer 202 temporarily stores the actual output data in the information analyzed by the command analysis unit 201 in the storage unit 105.

 PDL印刷処理部203は、受信バッファ202に蓄積された実際に出力されるべき印刷情報(PDL)を印刷可能なイメージデータに展開処理する。 The PDL print processing unit 203 expands the print information (PDL) to be actually output stored in the reception buffer 202 into printable image data.

 キュー204は、後述の出力部205に渡される情報を記憶部105に順次蓄積処理する。 The queue 204 sequentially stores information passed to the output unit 205 described later in the storage unit 105.

 出力部(エンジン)205は、実際の印刷処理、即ち、記憶部105に順次蓄積された印刷ジョブを印刷用紙への転写処理を行う。 The output unit (engine) 205 performs an actual print process, that is, a process of transferring print jobs sequentially stored in the storage unit 105 to print paper.

 <印刷データの生成>
 印刷ジョブデータの生成はホストコンピュータ109で行われる。ホストコンピュータ109は本実施形態においては、データ生成手段として機能する。
<Generation of print data>
The generation of the print job data is performed by the host computer 109. In the present embodiment, the host computer 109 functions as a data generation unit.

 印刷ジョブデータは主に(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 host computer 109.
Reference numeral 301 denotes a series of commands related to one print process, that is, a job command.
Reference numeral 302 denotes a packet header of a command 303 described later, and the header stores the data size of the command 303.
Reference numeral 303 denotes a command indicating the start of a job. Data from this command to a job end command 309 described below is data to be managed as one job.
Reference numeral 304 denotes a packet header of a command 305 described later, and the header stores the data size of the command 305.
Reference numeral 305 denotes a parameter setting command and setting data.
Reference numeral 306 denotes a packet header of a command 307 described later, and the data size of the data 307 is stored in this header.
Reference numeral 307 denotes print data (PDL information) to be actually printed.
A packet header 308 of a command 309 described later stores the data size of the command 309 in this header.
A job end command 309 is paired with the job start command 303 and identifies job information.
Each of the packet headers 302, 304, 306, and 308 may store information other than the size of the following command, that is, packet identification data. Information other than the data size of the following command is particularly limited. is not.

 パケットヘッダ情報は単一の情報に限定されず、複数種の情報を並記することも可能である。例えば、データ容量と、そのデータが制御データであるか、印刷される文書データのいずれかであるかの識別データとの並記である。パケットヘッダ情報の詳細な説明は図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 print end command 309 is handled as one print job unit.

 図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 packet header 302, the operation code takes the value of the job start operation “0201”. In the packet header 304, the operation code takes the value of the job attribute setting operation “0202”. In the packet header 306, the operation code takes the value of the PDL data transmission operation “0204”. In the packet header 308, the operation code takes the value of the job end operation “0205”. The job control operation is added to the packet header of a job control command transmitted from the host computer 109 to the printing apparatus 110 in job control, and the operation code takes the value of the job control operation “0301”. The job control operation is used for processing described later with reference to FIG.

 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 host computer 109 transmits the job packets with the block numbers = 1, 2, and 3 in succession, and the error packet with the block number = 2 is returned from the printing apparatus 110, the transmission side transmits the second job packet. It is possible to specify that an error has occurred.

 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 printing apparatus 110. This flag is added to a reply packet sent from the printing apparatus 110 to the host computer 109.
Notification flag: When this value is 1, it indicates that the printing apparatus 110 notifies the host computer 109 that there is some notification item, not a response to the request packet from the host computer 109.
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 host computer 109 to the printing apparatus 110. If it is 0, no reply is returned if the request packet is processed normally. When an error occurs in the printing apparatus 110, a reply packet in which the error flag is set to 1 is always transmitted regardless of the reply request of 0/1.

 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 host computer 109 and a printing apparatus 110 are connected via a predetermined communication medium 1518 capable of two-way communication. In the first embodiment of the present invention, a case where a local interface defined by, for example, IEEE (Institute of Electrical and Electronics Engineers) 1284 is used as the communication medium 1518 will be described as an example. .

 本発明の第1の実施の形態に係る印刷システムを構成するホストコンピュータ109は、アプリケーション部1501と、プリンタドライバ部1502と、送信バッファ1503と、I/Fドライバ部1504と、ユーティリティ部1505と、論理チャネル制御部1506と、ジョブパケット生成部1507とを備える構成となっている。 The host computer 109 constituting the printing system according to the first embodiment of the present invention includes an application unit 1501, a printer driver unit 1502, a transmission buffer 1503, an I / F driver unit 1504, a utility unit 1505, The configuration includes a logical channel control unit 1506 and a job packet generation unit 1507.

 上記各部の機能を詳述すると、アプリケーション部1501は、ユーザにグラフィックユーザインタフェイスを提供し、ユーザの目的に適った画像データを生成する。プリンタドライバ部1502は、アプリケーション部1501が生成した画像データを印刷装置110で印刷可能なページ記述言語(PDL)データに変換する。送信バッファ1503は、プリンタドライバ部1502が生成したPDLデータを一時的に格納しておく。ジョブパケット生成部1507は、送信バッファ1503に蓄えられたPDLデータからジョブパケットデータを生成する。 機能 Explaining the functions of the above components in detail, the application unit 1501 provides a user with a graphic user interface and generates image data suitable for the purpose of the user. The printer driver unit 1502 converts the image data generated by the application unit 1501 into page description language (PDL) data that can be printed by the printing apparatus 110. The transmission buffer 1503 temporarily stores the PDL data generated by the printer driver 1502. The job packet generation unit 1507 generates job packet data from the PDL data stored in the transmission buffer 1503.

 ユーティリティ部1505は、印刷装置110の情報を獲得してグラフィックユーザインタフェイスに提供したり、ユーザの要望に従って印刷装置110の環境設定を変更する。論理チャネル制御部1506は、ジョブパケット生成部1507から送られるジョブパケットデータをデータチャネルとし、ユーティリティ部1505から送受信される状態取得、環境設定を管理チャネルとして、2つの論理チャネルから送られるデータをパケット化して1つの物理チャネルに変換する。つまり、通信媒体1518は、物理的には1つの双方向インタフェース(本実施例ではIEEE1284インタフェース)であるため、2つの異なる種類のデータを1つのインタフェースで送受信するため、論理チャネル制御部1506が存在する。 The utility unit 1505 acquires the information of the printing apparatus 110 and provides the information to the graphic user interface, or changes the environment setting of the printing apparatus 110 according to the user's request. The logical channel control unit 1506 uses the job packet data sent from the job packet generation unit 1507 as a data channel, obtains the status transmitted and received from the utility unit 1505, and uses the environment setting as a management channel to packetize the data sent from the two logical channels. And convert it into one physical channel. That is, since the communication medium 1518 is physically one bidirectional interface (IEEE1284 interface in the present embodiment), two different types of data are transmitted and received by one interface. I do.

 ここで、本実施例の論理チャネル制御部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 / F driver unit 1504 transmits the PDL data stored in the transmission buffer 1503 to the printing device 110, and transmits and receives information of the printing device 110.

 他方、本発明の第1の実施の形態に係る印刷システムを構成する印刷装置110は、論理チャネル制御部1508と、機器データベース部1509と、ジョブプリプロセッサ部1510と、受信バッファ1511と、PDLトランスレータ部1512と、描画バッファ1513と、描画部1514と、プリンタエンジン部1515と、I/Fドライバ部1516と、情報管理部1517とを備える構成となっている。 On the other hand, the printing apparatus 110 constituting the printing system according to the first embodiment of the present invention includes a logical channel control unit 1508, a device database unit 1509, a job preprocessor unit 1510, a reception buffer 1511, and a PDL translator unit. 1512, a drawing buffer 1513, a drawing unit 1514, a printer engine unit 1515, an I / F driver unit 1516, and an information management unit 1517.

 上記各部の機能を詳述すると、I/Fドライバ部1516は、ホストコンピュータ109から送信されたPDLデータの受信、印刷装置110の情報の送信、環境設定の受信を行う。 The functions of the above-described units will be described in detail. The I / F driver unit 1516 receives PDL data transmitted from the host computer 109, transmits information on the printing apparatus 110, and receives environment settings.

 論理チャネル制御部1508は、I/Fドライバ部1516で受信したパケットデータをデータチャネル、管理チャネルの2つの論理チャネルに変換して後段に渡す。これは、ホストコンピュータ109から受信したパケットデータが印刷ジョブであればジョブプリプロセッサ部1510に渡し、ジョブの制御に使用するジョブ管理コマンドのパケットデータであれば情報管理部1517に渡すのである。 (4) The logical channel control unit 1508 converts the packet data received by the I / F driver unit 1516 into two logical channels, a data channel and a management channel, and passes the logical channel to the subsequent stage. If the packet data received from the host computer 109 is a print job, the packet data is transferred to the job preprocessor unit 1510, and if the packet data is a job management command used for job control, the packet data is transferred to the information management unit 1517.

 本発明の付加情報解析手段に対応するジョブプリプロセッサ部1510は、論理チャネル制御部1508からデータチャネルのデータを受取り、ジョブパケットのパケットヘッダ情報(図16)に書かれているオペレーションコードによって受信バッファ1511にPDLデータを転送、或いは機器データベース部1509に情報を設定する。図7で後述するが、ジョブパケットがジョブ開始コマンドであれば、ジョブ番号を割り付けて機器データベース部1509のジョブ管理テーブルにジョブ番号を設定し、そのジョブ番号に対応するジョブ状態情報406を「受信中」に設定する。また、ジョブパケットがPDLのデータコマンドであれば、受信バッファ1511にPDLデータとジョブ番号を転送する。また、ジョブ属性パケットであれば、パラメータの内容を機器データベース部1509のジョブ管理テーブルに設定する。ジョブプリプロセッサ部1510は、あるジョブ番号のすべてのPDLデータを受信バッファ1511に格納すると、機器データベース部1509のジョブ管理テーブルのジョブ状態情報406を「印刷待ち」に更新する。 The job preprocessor unit 1510 corresponding to the additional information analysis unit of the present invention receives the data of the data channel from the logical channel control unit 1508, and receives the data in the reception buffer 1511 according to the operation code written in the packet header information (FIG. 16) of the job packet. , Or sets information in the device database unit 1509. As will be described later with reference to FIG. 7, if the job packet is a job start command, a job number is assigned, a job number is set in the job management table of the device database unit 1509, and the job status information 406 corresponding to the job number is received. Set to Medium. If the job packet is a PDL data command, the PDL data and the job number are transferred to the reception buffer 1511. If the packet is a job attribute packet, the contents of the parameter are set in the job management table of the device database unit 1509. When all the PDL data of a certain job number is stored in the reception buffer 1511, the job preprocessor unit 1510 updates the job status information 406 of the job management table of the device database unit 1509 to “waiting for printing”.

 受信バッファ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 device database unit 1509 stores a device database of the printing apparatus 110 and job information for drawing a print job. The job management table of the device database unit 1509 will be described later with reference to FIG.

 情報管理部1517は、管理チャネルに送られた管理パケットを受取り、管理パケットに書かれているオペレーションコードとデータに応じて機器データベース部1509の情報の書き換えや、管理パケットのデータに応じてジョブを制御する。ジョブ制御については、図19で後述する。 The information management unit 1517 receives the management packet sent to the management channel, rewrites information in the device database unit 1509 according to the operation code and data written in the management packet, and executes a job according to the data of the management packet. Control. The job control will be described later with reference to FIG.

 PDLトランスレータ部1512は、PDLデータの翻訳処理を行い、描画に適した描画オブジェクトの中間データに変換を行い、描画バッファ1513に格納する。なお、PDLトランスレータ部1512は、受信バッファ1511から新たなジョブ番号が割り付けられたジョブの解析が始まることを認識すると、機器データベース部1509のジョブ管理テーブルのジョブ状態情報406を「解析中」に更新する。 The PDL translator unit 1512 translates PDL data, converts it into intermediate data of a drawing object suitable for drawing, and stores it in the drawing buffer 1513. When the PDL translator unit 1512 recognizes that the analysis of the job to which a new job number has been allocated from the reception buffer 1511 starts, the PDL translator unit 1512 updates the job status information 406 of the job management table of the device database unit 1509 to “analyzing”. I do.

 描画バッファ1513は、描画オブジェクトを実際に印刷を行うまで一時的に格納しておくものであり、1ページ分の中間データが格納されると描画部1514により印刷処理が開始される。 The drawing buffer 1513 temporarily stores drawing objects until they are actually printed. When one page of intermediate data is stored, the drawing unit 1514 starts printing processing.

 描画部1514は、描画バッファ1513に一時格納された描画オブジェクトを実際に描画を行ってビットマップ画像を生成し、ビットマップ画像をプリンタエンジン部1515に送信する。描画部1514は、新しいジョブ番号のビットマップ画像の生成が始まると、機器データベース部1509のジョブ管理テーブルのジョブ状態情報406を「印刷中」に更新する。 The drawing unit 1514 actually draws the drawing object temporarily stored in the drawing buffer 1513 to generate a bitmap image, and transmits the bitmap image to the printer engine unit 1515. When the generation of a bitmap image with a new job number starts, the drawing unit 1514 updates the job status information 406 in the job management table of the device database unit 1509 to “printing”.

 プリンタエンジン部1515は、描画部1514が生成したビットマップ画像を受取り、既知の印刷技術により用紙等のメディアに印刷を行う。 (4) The printer engine unit 1515 receives the bitmap image generated by the drawing unit 1514, and prints it on a medium such as paper by a known printing technique.

 図17を用いて、ホストコンピュータ109のジョブパケット生成部1507におけるジョブパケット作成処理の制御の一例を説明する。 With reference to FIG. 17, an example of control of a job packet creation process in the job packet generation unit 1507 of the host computer 109 will be described.

 ホストコンピュータ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 host computer 109 using the application 1501 on the host computer 109 is omitted here.

 アプリケーションから吐き出されたデータがGDI(Graphical Device Interface)等を通じてプリンタドライバ1502に送信されると、プリンタドライバ1502は、GDIから入力されたデータに基づいてPDLデータを生成し、送信バッファ1503に格納する。送信バッファ1503にPDLデータが順次生成されると、ジョブパケット生成部1507がジョブパケットの生成処理を開始する。 When data discharged from the application is transmitted to the printer driver 1502 through a GDI (Graphical Device Interface) or the like, the printer driver 1502 generates PDL data based on the data input from the GDI and stores the PDL data in the transmission buffer 1503. . When PDL data is sequentially generated in the transmission buffer 1503, the job packet generation unit 1507 starts a job packet generation process.

 ステップS1701において、ジョブパケット生成部1507は、ジョブ開始パケットを生成し、論理チャネル制御部1506に送信する。ジョブ開始パケットは、図3におけるパケットヘッダ302と印刷開始命令303からなる。ここでパケットヘッダ(図16)のオペレーションコードは、前述したように「0201」の値をとる。印刷開始命令303に対応する図16のデータ部には、ジョブパケット生成部1507が生成するジョブの識別子が入る。 In step S1701, the job packet generation unit 1507 generates a job start packet and transmits it to the logical channel control unit 1506. The job start packet includes a packet header 302 and a print start instruction 303 in FIG. Here, the operation code of the packet header (FIG. 16) takes a value of “0201” as described above. The data part of FIG. 16 corresponding to the print start instruction 303 contains a job identifier generated by the job packet generation unit 1507.

 ステップS1702において、ジョブパケット生成部1507は、ジョブ属性パケットを生成し、論理チャネル制御部1507に送信する。ジョブ属性パケットは、図3におけるパケットヘッダ304とパラメータ情報305からなる。ここでパケットヘッダ(図16)のオペレーションコードは、前述したように「0202」の値をとる。パラメータ情報305に対応する図16のデータ部には、ジョブパケット生成部1507が生成する属性IDと属性値が入る。ジョブ属性には、前述したように、ジョブ名、ジョブオーナ名、ジョブサイズがある。また、ジョブ依頼時刻やジョブページ数やカラーモードなどの属性が入ってもよい。ジョブ名は、GDIからプリンタドライバ部1502が取得でき、またジョブオーナ名は、OSに付属されている関数からユーザのログオン時のユーザ名を取得でき、ジョブサイズは、プリンタドライバ1502が生成するPDLを内部計算により求めることができる。 In step S1702, the job packet generation unit 1507 generates a job attribute packet and sends it to the logical channel control unit 1507. The job attribute packet includes the packet header 304 and the parameter information 305 in FIG. Here, the operation code of the packet header (FIG. 16) takes a value of “0202” as described above. In the data part of FIG. 16 corresponding to the parameter information 305, the attribute ID and the attribute value generated by the job packet generation unit 1507 are entered. As described above, the job attributes include a job name, a job owner name, and a job size. Further, attributes such as a job request time, the number of job pages, and a color mode may be entered. The job name can be obtained from the GDI by the printer driver unit 1502, the job owner name can be obtained from the function attached to the OS when the user logs on, and the job size is the PDL generated by the printer driver 1502. Can be obtained by internal calculation.

 ステップS1703において、ジョブパケット生成部1507は、送信可能なデータの最大サイズNを取得する。上記説明したように、本システムでのジョブパケットの最大サイズは、64Kbyteである。 In step S1703, the job packet generation unit 1507 acquires the maximum size N of data that can be transmitted. As described above, the maximum size of a job packet in this system is 64 Kbytes.

 次にステップS1704において、ジョブパケット生成部1507は、送信すべきデータのサイズを取得する。これは送信バッファ1503に格納されているPDLデータのサイズを取得するのである。ステップS1705では、ステップS1704で取得した送信データ(PDLデータ)のサイズが最大サイズNよりも大きいか否かをジョブパケット生成部1507が判別する。もし送信データのサイズが最大サイズNよりも大きいと判断された場合は、ステップS1706に処理が進み、ジョブパケット生成部1507は、送信データであるPDLをサイズN(ここでは64Kbyte)の部分とそれ以外の部分(残りの部分)に分割する。 Next, in step S1704, the job packet generation unit 1507 acquires the size of the data to be transmitted. This obtains the size of the PDL data stored in the transmission buffer 1503. In step S1705, the job packet generation unit 1507 determines whether the size of the transmission data (PDL data) acquired in step S1704 is larger than the maximum size N. If it is determined that the size of the transmission data is larger than the maximum size N, the process proceeds to step S1706, and the job packet generation unit 1507 determines that the PDL, which is the transmission data, has a size N (here, 64 Kbytes) part and Is divided into other parts (remaining parts).

 ステップS1707において、ジョブパケット生成部1507は、分割されたデータのうちサイズがNの部分のパケットヘッダ情報(図16)を作成する。この送信データパケットのパケットヘッダ情報のオペレーションコードは、前述しように「0204」の値をとる。また、このときパケットヘッダの継続フラグを「1」に立てる。 In step S1707, the job packet generation unit 1507 creates packet header information (FIG. 16) of a portion having a size of N among the divided data. The operation code of the packet header information of the transmission data packet takes a value of “0204” as described above. At this time, the continuation flag of the packet header is set to “1”.

 そしてステップS1708で、ジョブパケット生成部1507は、パケットヘッダ情報と送信データ(PDL)とをつなげて、送信データパケットであるジョブパケットを作成する。ジョブパケットのデータ部には、PDLデータがそのまま入る。 In step S1708, the job packet generation unit 1507 connects the packet header information and the transmission data (PDL) to create a job packet that is a transmission data packet. The data portion of the job packet contains the PDL data as it is.

 ステップS1709では、ジョブパケット生成部1507は、作成したジョブパケットを論理チャネル制御部1506に送信する。 In step S1709, the job packet generator 1507 sends the created job packet to the logical channel controller 1506.

 続いてステップS1710において、ジョブパケット生成部1507は、送信していない部分(分割された残りの部分)のPDLデータのサイズを取得し、ステップ1705の処理に戻る。 Subsequently, in step S1710, the job packet generating unit 1507 obtains the size of the PDL data of the part that has not been transmitted (the remaining divided part), and returns to the processing of step 1705.

 また、ステップ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 packet generation unit 1507 creates packet header information (FIG. 16) for the transmission data. I do. The operation code of the packet header information of the transmission data packet takes a value of “0204” as described above. At this time, the continuation flag of the packet header is set to “0”.

 そしてステップS1712で、ジョブパケット生成部1507は、パケットヘッダ情報と送信データ(PDL)とをつなげて、送信パケットであるジョブパケットを作成する。 In step S1712, the job packet generation unit 1507 connects the packet header information and the transmission data (PDL) to create a job packet that is a transmission packet.

 ステップS1713では、ジョブパケット生成部1507は、作成したパケットを論理チャネル制御部1506に送信し、処理を終了する。 In step S1713, the job packet generation unit 1507 transmits the created packet to the logical channel control unit 1506, and ends the processing.

 ステップS1714では、ジョブパケット生成部1507は、ジョブ終了パケットを生成し、論理チャネル制御部1506に送信する。ジョブ終了パケットは、図3におけるパケットヘッダ308と印刷終了命令309からなる。ここでパケットヘッダ(図16)のオペレーションコードは、前述したように「0205」の値をとる。印刷終了命令309に対応する図16のデータ部には、実際はパラメータやデータは存在しない。 In step S1714, the job packet generation unit 1507 generates a job end packet and transmits it to the logical channel control unit 1506. The job end packet includes the packet header 308 and the print end instruction 309 in FIG. Here, the operation code of the packet header (FIG. 16) takes a value of “0205” as described above. In the data portion of FIG. 16 corresponding to the print end command 309, there are actually no parameters or data.

 このようにして、ジョブパケットが生成され、論理チャネル制御部1506を介してホストコンピュータ109から印刷装置110に送信される。 ジ ョ ブ In this way, a job packet is generated and transmitted from the host computer 109 to the printing apparatus 110 via the logical channel control unit 1506.

 <印刷ジョブの管理>
 図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 storage unit 105. The job management table is stored in the device database unit 1509.

 ジョブ番号401は、本実施形態では印刷装置等がジョブを受け取った順番にナンバリングされる。詳細には、印刷装置110のジョブプリプロセッサ部1510が、受け取った印刷ジョブそれぞれに対して、印刷装置110内でユニークになるようにジョブ識別情報であるジョブ番号を割り付け、機器データベース部1509に格納する。 In the present embodiment, the job numbers 401 are numbered in the order in which the printing apparatuses and the like receive the jobs. More specifically, the job preprocessor unit 1510 of the printing apparatus 110 assigns a job number, which is job identification information, to each received print job so as to be unique within the printing apparatus 110, and stores the job number in the device database unit 1509. .

 キュー番号402は、キュー204(受信バッファ1511)内で処理される順番が昇順で示される。 The queue number 402 indicates the order of processing in the queue 204 (reception buffer 1511) in ascending order.

 ユーザ名403は、ジョブ番号401で示されるジョブを投入したユーザ名が格納される。これは、I/Fドライバ部1516から印刷ジョブを受け取った論理チャネル制御部1508が、印刷ジョブのジョブ属性パケットからジョブオーナ名を取得して、情報管理部1517に送信し、情報管理部1517は受け取ったジョブオーナ名をユーザ名として、機器データベース部1509に格納する。 The user name 403 stores the name of the user who has submitted the job indicated by the job number 401. This is because the logical channel control unit 1508, which has received the print job from the I / F driver unit 1516, acquires the job owner name from the job attribute packet of the print job and transmits it to the information management unit 1517. The received job owner name is stored in the device database unit 1509 as a user name.

 ファイル名404は、キュー204に格納されたファイル名が格納される。これは、I/Fドライバ部1516から印刷ジョブを受け取った論理チャネル制御部1508が、印刷ジョブのジョブ属性パケットからジョブ名を取得して、情報管理部1517に送信し、情報管理部1517は受け取ったジョブ名を機器データベース部1509に格納する。 The file name 404 stores the name of the file stored in the queue 204. This is because the logical channel control unit 1508, which has received the print job from the I / F driver unit 1516, acquires the job name from the job attribute packet of the print job, transmits the job name to the information management unit 1517, and the information management unit 1517 receives the job name. The stored job name is stored in the device database unit 1509.

 パラメータリストハンドル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 channel control unit 1508, which has received the print job from the I / F driver unit 1516, acquires the job attributes (number of pages, color mode, etc.) from the job attribute packet of the print job and transmits it to the information management unit 1517. Then, the information management unit 1517 stores the received job attribute as a parameter in the device database unit 1509.

 ジョブ状態情報406は、ジョブ番号401で示されるジョブの現在の状態を示す。これは情報管理部1517が、ジョブプリプロセッサ1510(受信中)、受信バッファ1511(印刷待ち状態)、PDLトランスレータ部1512(処理中:展開中)、描画部1514(印刷中)のそれぞれが処理しているジョブ番号401を認識し、プリンタエンジン部1515に近い方の処理部を優先させてジョブ状態を機器データベース部1509に格納する。つまり、ジョブ番号2のジョブがPDLトランスレータ部1512と描画部1514にある場合は、描画部1514の方がプリンタエンジン部1515に近いのでジョブ状態情報406は「印刷中」となる。 The job status information 406 indicates the current status of the job indicated by the job number 401. The information management unit 1517 processes each of the job preprocessor 1510 (receiving), the reception buffer 1511 (printing waiting state), the PDL translator unit 1512 (processing: developing), and the drawing unit 1514 (printing). The job number 401 is recognized, and the job status is stored in the device database unit 1509 by giving priority to the processing unit closer to the printer engine unit 1515. That is, when the job of job number 2 is present in the PDL translator unit 1512 and the drawing unit 1514, the job status information 406 is “printing” because the drawing unit 1514 is closer to the printer engine unit 1515.

 なお、本ジョブ管理テーブルが示す情報はジョブを管理できるものであれば、特に内容を上記に限定するものではなく、また、本実施形態のキュー番号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 queue number 402 of the present embodiment. is not.

 <印刷ジョブデータの処理・実行>
 図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 printing apparatus 110. The input data can be mainly classified into three types of attributes: (1) data for managing a print job, (2) document data for print processing, and (3) data for print control. The command analysis unit 201 analyzes the input data from this viewpoint.

 ホストコンピュータ502からなにかしらのデータを入力部101であるI/Fドライバ部1516が受信すると(S701)、ステップS702において、論理チャネル制御部1508とジョブプリプロセッサ部1510は、I/Fドライバ部1516で受信したコマンドを順次解析する。 When the I / F driver unit 1516, which is the input unit 101, receives some data from the host computer 502 (S701), in step S702, the logical channel control unit 1508 and the job preprocessor unit 1510 send the I / F driver unit 1516 The commands received in step 1 are sequentially analyzed.

 ステップS703では、論理チャネル制御部1508は、解析されたコマンドがジョブ終了パケットかチェックし、ジョブ終了パケットである場合はステップS708に遷移する。 In step S703, the logical channel control unit 1508 checks whether the analyzed command is a job end packet, and shifts to step S708 if the analyzed command is a job end packet.

 ジョブ終了パケットでない場合は、ステップS704において、論理チャネル制御部1508は、解析されたコマンドがジョブ開始パケットかチェックし、ジョブの開始コマンドである場合はステップS711に遷移する。 If it is not a job end packet, in step S704, the logical channel control unit 1508 checks whether the analyzed command is a job start packet, and if it is a job start command, shifts to step S711.

 ジョブ開始パケットでない場合は、ステップS705において、論理チャネル制御部1508は、解析されたコマンドがパラメータの設定コマンドであるジョブ属性パケットかチェックし、ジョブ属性パケットである場合はステップS712に遷移する。 If it is not a job start packet, in step S705, the logical channel control unit 1508 checks whether the analyzed command is a job attribute packet which is a parameter setting command, and if it is a job attribute packet, the process proceeds to step S712.

 ジョブ属性パケットでない場合は、ステップS706において、論理チャネル制御部1508は、解析されたコマンドがデータコマンドである送信データパケットかチェックし、送信データパケットである場合はステップS713に遷移する。 If it is not a job attribute packet, in step S706, the logical channel control unit 1508 checks whether the analyzed command is a transmission data packet that is a data command. If it is a transmission data packet, the logical channel control unit 1508 proceeds to step S713.

 送信データパケットであい場合は、ステップS707において、論理チャネル制御部1508は、解析されたコマンドがジョブの制御コマンドかチェックし、ジョブの制御コマンドである場合はステップS714に遷移する。ジョブの制御コマンドでない場合は、予想されないデータが入力されたことになるので処理をステップS701に戻す。 If it is not a transmission data packet, in step S707, the logical channel control unit 1508 checks whether the analyzed command is a job control command. If the analyzed command is a job control command, the logical channel control unit 1508 transitions to step S714. If the command is not a job control command, unexpected data has been input, and the process returns to step S701.

 ステップS708では、論理チャネル制御部1508は、ジョブ終了コマンドを受け、すでに受信している一連の印刷ジョブデータをジョブプリプロセッサ部1510に転送する。なお、論理チャネル制御部1508からジョブプリプロセッサ部1510にデータ転送するタイミングは、本実施例のごとく全てのデータが揃ってから行われる必要はなく、特定のサイズ毎に順次転送されても良く、特に限定するものではない。例えば、後述するステップS711の次に続く処理であってもよい。 In step S708, the logical channel control unit 1508 receives the job end command and transfers a series of print job data already received to the job preprocessor unit 1510. Note that the data transfer timing from the logical channel control unit 1508 to the job preprocessor unit 1510 does not need to be performed after all the data is collected as in the present embodiment, and may be sequentially transferred for each specific size. There is no limitation. For example, it may be processing subsequent to step S711 described below.

 続いてステップS709では、ジョブプリプロセッサ部1510で解析されたデータを受信バッファ1511に蓄積するステップである。なお、ジョブプリプロセッサ部1510から受信バッファ1511にデータ転送するタイミングも特に限定するものではない。 Next, in step S709, the data analyzed by the job preprocessor 1510 is accumulated in the reception buffer 1511. The timing at which data is transferred from the job preprocessor 1510 to the reception buffer 1511 is not particularly limited.

 ステップS710では、ジョブプリプロセッサ部1510は、受信バッファ1511にデータを蓄積終了後、図4のキュー番号402に適当な番号を機器データベース部1509内のジョブ管理テーブルに書き込む。 In step S710, the job preprocessor unit 1510 writes the appropriate number to the queue number 402 in FIG. 4 in the job management table in the device database unit 1509 after the data has been stored in the reception buffer 1511.

 ステップS711では、ジョブプリプロセッサ部1510は、論理チャネル制御部1508からジョブ開始パケットを受け、図4のジョブ管理テーブルにジョブ番号401を機器データベース部1509内のジョブ管理テーブルに書き込み、続く一連のコマンド受信の準備を行う。 In step S711, the job preprocessor unit 1510 receives the job start packet from the logical channel control unit 1508, writes the job number 401 in the job management table of FIG. 4 into the job management table in the device database unit 1509, and receives a series of subsequent commands. Prepare for.

 ステップS712では、ジョブプリプロセッサ部1510は、論理チャネル制御部1508からジョブ属性パケットを受け、図4の403〜405に所望のデータを機器データベース部1509内のジョブ管理テーブルに追加するステップである。 In step S712, the job preprocessor unit 1510 receives the job attribute packet from the logical channel control unit 1508 and adds desired data to the job management table in the device database unit 1509 in 403 to 405 in FIG.

 ステップS713では、ジョブプリプロセッサ部1510は、論理チャネル制御部1508から送信データパケットを受け、送信データパケット内のPDLデータを受信バッファ1511に蓄積する。ここでは、送信データパケットのパケットヘッダ情報に含まれるパラメータ長の分だけ、解析せずにそのまま受信バッファ1511に蓄積する。よって、従来のようにPDLデータの終わりを探すために、常に印刷ジョブデータを解析する必要がなくなり、処理が早くなるという効果がある。 In step S713, the job preprocessor unit 1510 receives the transmission data packet from the logical channel control unit 1508, and stores the PDL data in the transmission data packet in the reception buffer 1511. Here, only the parameter length included in the packet header information of the transmission data packet is stored in the reception buffer 1511 without being analyzed. Therefore, it is not necessary to always analyze the print job data in order to search for the end of the PDL data as in the related art, which has the effect of speeding up the processing.

 ステップS714では、論理チャネル制御部1580は、ジョブ制御コマンドを情報管理部1517に渡し、情報管理部1517は、受信したジョブ制御コマンドに対応する各種ジョブを機器データベース部1509のジョブ管理テーブルから検索し、所望のジョブ制御を行う。このジョブ制御については図19で後述する。 In step S714, the logical channel control unit 1580 passes the job control command to the information management unit 1517, and the information management unit 1517 searches the job management table of the device database unit 1509 for various jobs corresponding to the received job control command. Perform desired job control. This job control will be described later with reference to FIG.

 このようにして印刷装置110は入力データの処理を行う。また、通新媒体1518は前述したようにマルチチャネルの通信が行えるため、印刷データのジョブパケットを受信中にも、ジョブ制御コマンドのジョブパケットを受信することが可能であり、例えば図19で後述するようなキャンセル制御を受信中のジョブに対して行うことができるという効果が得られる。 印刷 The printing device 110 processes the input data in this way. Since the new communication medium 1518 can perform multi-channel communication as described above, it is possible to receive a job packet of a job control command even while receiving a job packet of print data. Thus, an effect is obtained that such cancel control can be performed on the job being received.

 図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 information management unit 1517 checks whether there is valid data in the queue number 402 of the job management table in the device database unit 1509. If valid data exists, the data necessary for printing is Upon recognizing that it is included in the job management table, the flow shifts to step S1802. The job with the queue number has already been recognized as described above, indicating that the printing process can be started.

 ステップS1802では、印刷処理を開始する。具体的には、情報管理部1517がPDLトランスレータ部1512に対して、印刷すべきジョブのジョブ番号と開始命令を送信する。PDLトランスレータ部1512は、指示されたジョブ番号のPDLデータを受信バッファ1511から取得し、PDL解析を行い中間データに変換し描画バッファ1513に格納する。これに伴い、情報管理部1517もしくはPDLトランスレータ部1512は、機器データベース部1509のジョブ管理テーブルの該当するジョブ番号に対応するジョブ状態情報406を「印刷待ち」から「解析中」に更新する。 In step S1802, the printing process starts. Specifically, the information management unit 1517 sends the PDL translator unit 1512 the job number of the job to be printed and a start command. The PDL translator unit 1512 acquires the PDL data of the designated job number from the reception buffer 1511, performs PDL analysis, converts the data into intermediate data, and stores the intermediate data in the drawing buffer 1513. Accordingly, the information management unit 1517 or the PDL translator unit 1512 updates the job status information 406 corresponding to the corresponding job number in the job management table of the device database unit 1509 from “waiting for printing” to “analyzing”.

 続いてステップ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 drawing buffer 1513, the drawing unit 1514 starts a series of printing processes. In other words, it acquires the intermediate data stored in the drawing buffer 1513, performs rasterization processing, generates bitmap data, and outputs it to the printer engine unit 1515. At the start of a series of printing processes, the information management unit 1517 or the drawing unit 1514 updates the job status information 406 corresponding to the corresponding job number in the job management table of the device database unit 1509 from “analyzing” to “printing”. I do. When printing of one page is completed, the information management unit 1517 or the drawing unit 1514 reduces the remaining page number information (not shown) corresponding to the corresponding job number in the job management table of the device database unit 1509 by one. I do. In this manner, the printing process for one page is performed.

 なお、印刷に必要なデータが揃ったことを識別する手段は、特に本実施例の手段に限定されるものではない。 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 information management unit 1517 checks whether printing of all pages of the print job has been completed. If the printing has not been completed, the process proceeds to step S1802, and the printing process of the subsequent page is continuously performed.

 なお、ステップ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 information management unit 1517 deletes the job information of the print job that has performed the printing process from the job management table in the device database unit 1509. It is assumed that the job information deleted in this step is temporarily stored in another area.

 ステップ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 drawing buffer 1513.

 図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 information management unit 1517 when the logical channel control unit 1508 receives the job control command in step S707.

 ジョブ制御コマンドは、ホストコンピュータ109のユーティリティ部1505において生成される。ジョブ制御コマンドには、印刷装置内のジョブリストを要求するステータス取得要求コマンド、印刷ジョブの中止を要求するジョブキャンセルコマンド、印刷ジョブの一時中断を要求するジョブ中断コマンド、中断されている印刷ジョブの再開を要求するジョブ再開コマンド、印刷ジョブのパラメータの変更を要求するパラメータ設定変更コマンド等がある。それぞれのジョブ制御コマンドもまた、図16で前述したようにジョブパケット形式になっており、種類により属性が異なっている。 The job control command is generated in the utility unit 1505 of the host computer 109. The job control commands include a status acquisition request command for requesting a job list in the printing apparatus, a job cancel command for requesting to cancel a print job, a job suspend command for requesting to temporarily suspend a print job, and a There are a job restart command for requesting restart, a parameter setting change command for requesting change of parameters of a print job, and the like. Each job control command is also in the job packet format as described above with reference to FIG. 16, and has different attributes depending on the type.

 ステップS1901において、情報管理部1517は、受信したジョブ制御コマンドがステータス取得要求コマンドであるかをジョブパケット内の属性により判断する。ステータス取得要求であると判断された場合は、ステップS1902に処理を進める。 In step S1901, the information management unit 1517 determines whether the received job control command is a status acquisition request command based on an attribute in the job packet. If it is determined that the request is a status acquisition request, the process advances to step S1902.

 ステップS1902では、情報管理部1517は、機器データベース部1509に格納されているジョブ管理テーブルを取得する。続いてステップS1903では、取得したジョブ管理テーブルのそれぞれのジョブの情報を論理チャネル制御部1508経由でI/Fドライバ部1516に渡す。I/Fドライバ部1516は、受け取った情報をパケット方式に変換し、IEEE1284からなる通信媒体1518を介してホストコンピュータ109に返送する。この返送により、ホストコンピュータ109は、印刷装置110内でユニークに割り付けられたジョブ番号を認識することができる。 In step S1902, the information management unit 1517 acquires a job management table stored in the device database unit 1509. Subsequently, in step S1903, the information of each job in the acquired job management table is passed to the I / F driver unit 1516 via the logical channel control unit 1508. The I / F driver unit 1516 converts the received information into a packet format and returns it to the host computer 109 via a communication medium 1518 composed of IEEE1284. By this return, the host computer 109 can recognize the job number uniquely assigned in the printing apparatus 110.

 図20にホストコンピュータ109の図示省略した表示部に表示される印刷装置110のステータスモニタの一例を示す。「プリンタJOB内リスト」で示されるジョブが、現在印刷装置110内で処理されているジョブである。従来は、PDL解析が終了したジョブしか見ることができなかったが、本発明により受信中のジョブのステータスモニタも認識することが可能となる。 FIG. 20 shows an example of a status monitor of the printing apparatus 110 displayed on a display unit (not shown) of the host computer 109. The job indicated by the “printer JOB list” is a job currently being processed in the printing apparatus 110. Conventionally, only a job for which PDL analysis has been completed can be viewed. However, according to the present invention, a status monitor of a job being received can be recognized.

 図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 job control window 2101 is newly displayed, and a desired job control can be selected. A job control command corresponding to the job control selected here is generated by the utility unit 1505, is converted into a job packet by the logical channel control unit 1506 along with the specified job number, and is transmitted to the printing apparatus 110. The job number uniquely assigned in the printing apparatus 110 can be obtained by returning the status request, so that the job can be controlled.

 ステップ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 information management unit 1517 determines whether the job control command is a job cancel command based on an attribute in the job packet. If it is determined that the command is a job cancel command, the process advances to step S1905.

 ステップS1905では、情報管理部1517は、ジョブのキャンセル権限があるかを判断し、その後ジョブのキャンセルを行う。まず情報管理部1517は、ホストコンピュータ109から送信されたジョブキャンセル要求であるジョブパケット内のジョブ番号を取得し、そのジョブ番号のユーザ名と、ジョブキャンセルコマンドを送信したユーザ名をジョブパケットの属性IDからして同一であるか判断する。同一でない場合は、キャンセル権限がないので、キャンセルせずにステップS1902〜1903の処理を飛ばす。同一である場合は、キャンセル権限があるので、そのジョブに対応する機器データベース部1509内のジョブ管理テーブルにおけるジョブ状態情報を取得する。情報管理部1517は、ジョブ状態情報に基づいてジョブキャンセルを制御する。つまり、ジョブ状態情報406が「印刷中」である場合は、ジョブプリプロセッサ4個所のジョブキャンセルを行う。 In step S1905, the information management unit 1517 determines whether the user has authority to cancel the job, and then cancels the job. First, the information management unit 1517 obtains the job number in the job packet, which is the job cancellation request transmitted from the host computer 109, and assigns the user name of the job number and the user name of the user who transmitted the job cancellation command to the attribute of the job packet. It is determined whether or not the IDs are the same. If they are not the same, there is no cancellation authority, and the processing in steps S1902 to S903 is skipped without canceling. If they are the same, the user has the cancellation right, so the job status information in the job management table in the device database unit 1509 corresponding to the job is acquired. The information management unit 1517 controls job cancellation based on the job status information. That is, when the job status information 406 is “printing”, the job cancellation of four job preprocessors is performed.

 まず、ジョブプリプロセッサ部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 job preprocessor unit 1510. The job preprocessor unit 1510 discards the job packet of the designated job number without transmitting it to the reception buffer 1511 even after receiving the job packet. Next, the information management unit 1517 controls to invalidate the corresponding print job in the reception buffer 1511. The reception buffer 1511 manages the job numbers assigned by the job preprocessor 1510 together with the respective PDL data, so that it is always possible to know which PDL data is which job number. It is now possible to recognize which jobs need to be canceled. Next, the information management unit 1517 transmits the job number and the cancel command to the PDL translator unit 1512. If the job corresponding to the received job number is being analyzed, the PDL translator unit 1512 stops the PDL analysis according to the cancel command. If a job different from the received job number is analyzed, the command is ignored. Next, the information management unit 1517 transmits the job number and the cancel command to the drawing unit 1514. If the drawing unit 1514 is drawing a job corresponding to the received job number, the rendering unit 1514 stops the intermediate data development process according to the cancel command. While the intermediate data different from the received job number is being developed, the processing is continued until the intermediate data of the designated job number is received.

 ジョブ状態情報が「処理中」であれば、情報管理部1517は、ジョブキャンセル命令をPDLトランスレータ部1512に送った後はステップS1906に移る。ジョブ状態情報が「印刷待ち」であれば、情報管理部1517は、受信バッファ1511におけるジョブキャンセル処理を終えた後はステップS1906に移る。 If the job status information is “under processing”, the information management unit 1517 sends a job cancel command to the PDL translator unit 1512, and then proceeds to step S1906. If the job status information is “waiting for printing”, the information management unit 1517 proceeds to step S1906 after finishing the job cancel processing in the reception buffer 1511.

 このようにして、ジョブの状態に応じて印刷装置110内のジョブキャンセル制御が行われる。また、ジョブのキャンセルは、ジョブが入力されるI/Fドライバ部1516に近い方、つまりデータの流れとして上流の方から止めていく。これは、プリンタエンジン部に近い方からキャンセルすると、キャンセルが移る時にデータが流れてしまい削除しきれないデータができてしまうからである。上流から削除することにより完全な制御が可能となる。 In this way, the job cancellation control in the printing apparatus 110 is performed according to the status of the job. Further, the cancellation of the job is stopped from the side closer to the I / F driver unit 1516 to which the job is input, that is, from the upstream side as the data flow. This is because, when canceling from the side closer to the printer engine unit, data flows when the cancel shifts, resulting in data that cannot be completely deleted. Complete control is possible by deleting from upstream.

 続いて、ステップS1906では、情報管理部1517は、機器データベース部1509内のジョブ管理テーブルにおけるキャンセルした印刷ジョブの情報すべてを削除する。 Subsequently, in step S1906, the information management unit 1517 deletes all information of the canceled print job in the job management table in the device database unit 1509.

 ステップ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 information management unit 1517 determines whether the job control command is a job interruption command based on an attribute in the job packet. If it is determined that the command is a job suspension command, the process advances to step S1908.

 ステップS1908では、情報管理部1517は、ジョブ中断制御を行う。ジョブの中断制御と権限判断は、前述したジョブキャンセル制御と流れは同じであり、キャンセル(削除)の替わりに一時待避を行う。このとき待避するデータは、受信バッファ1511に存在するPDLデータだけであり、中間データは削除する。 In step S1908, the information management unit 1517 performs job interruption control. The flow of job interruption control and authority determination is the same as that of the above-described job cancellation control, and temporary save is performed instead of cancellation (deletion). The only data saved at this time is the PDL data existing in the reception buffer 1511, and the intermediate data is deleted.

 続いて、ステップS1909では、情報管理部1517は、機器データベース部1509内のジョブ管理テーブルにおける中断した印刷ジョブの状態情報406を「中断」に更新する。 Subsequently, in step S1909, the information management unit 1517 updates the status information 406 of the interrupted print job in the job management table in the device database unit 1509 to “interrupted”.

 ステップ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 information management unit 1517 determines whether the job control command is a job restart command based on an attribute in the job packet. If it is determined that the command is a job restart command, the process advances to step S1911.

 ステップS1911では、情報管理部1517は、ジョブ再開の権限判断とジョブ再開制御を行う。ジョブ再開の権限判断は、前述したジョブキャンセル判断と同じようにジョブ番号に対応したジョブ管理テーブルのユーザ名とジョブ再開のジョブパケットの属性IDにより示されるユーザ名とを比較することにより判断する。ジョブの再開制御は、前述したジョブ中断制御により中断されているジョブを通常の印刷ルーチンに戻すことにより行う。つまりハードディスク等の不揮発性記憶媒体に一時待避された印刷ジョブのPDLデータを受信バッファ1511にジョブ番号とともに戻すだけである。これにより印刷ジョブの再開を行うことができる。 In step S1911, the information management unit 1517 performs authority determination for job restart and job restart control. The job restart authority determination is made by comparing the user name in the job management table corresponding to the job number with the user name indicated by the attribute ID of the job restart job packet, similarly to the above-described job cancellation determination. The job resumption control is performed by returning the job interrupted by the job interruption control described above to the normal printing routine. That is, the PDL data of the print job temporarily saved in the nonvolatile storage medium such as the hard disk is simply returned to the reception buffer 1511 together with the job number. As a result, the print job can be restarted.

 続いて、ステップS1912では、情報管理部1517は、機器データベース部1509内のジョブ管理テーブルにおける再開した印刷ジョブの状態情報406を「印刷待ち」に更新する。 Next, in step S1912, the information management unit 1517 updates the status information 406 of the resumed print job in the job management table in the device database unit 1509 to “waiting for printing”.

 ステップ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 information management unit 1517 determines whether the job control command is a parameter setting change command based on an attribute in the job packet. If it is determined that the command is a parameter setting change command, the process proceeds to step S1914.

 ステップS1914では、情報管理部1517は、パラメータ設定変更の権限確認とパラメータ設定変更制御を行う。パラメータ設定変更の権限確認もジョブ再開時の権限確認と同様に行う。情報管理部1517は、取得したパラメータ設定変更コマンドに基づいて、機器データベース部1509内のジョブ管理テーブルのパラメータリストハンドル405を変更する。パラメータリストハンドル405は、印刷部数、カラーモードなどである。この値を変更することにより、実際の印刷形態や枚数が変更される。 In step S1914, the information management unit 1517 checks the authority for changing the parameter setting and controls the parameter setting change. The authority check for changing the parameter setting is performed in the same manner as the authority check when resuming the job. The information management unit 1517 changes the parameter list handle 405 of the job management table in the device database unit 1509 based on the acquired parameter setting change command. The parameter list handle 405 indicates the number of copies, the color mode, and the like. By changing this value, the actual printing form and the number of sheets are changed.

 ここで本発明の印刷制御装置の特徴的構成について説明する。 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 information management unit 1517 or the CPU 102) that performs control according to the control content.

 また、前記印刷ジョブは、前記印刷管理データを識別するための識別情報(パケットヘッダ304に相当、詳細は図16)と前記印刷管理情報(ジョブ属性パケットのパラメータ情報305に相当)とを含むジョブパケット(図16)と、前記印刷データを識別するための識別情報(パケットヘッダ306に相当)と前記印刷データ(印刷データ307、PDLデータに相当)とを含むジョブパケット(図16)とを含んでおり、前記ジョブ制御データは、前記制御命令を識別するための識別情報と前記制御命令とを含むジョブパケットを含んでいる(図19の説明に相当)。 The print job includes identification information for identifying the print management data (corresponding to the packet header 304, details shown in FIG. 16) and the print management information (corresponding to the job attribute packet parameter information 305). A packet (FIG. 16) and a job packet (FIG. 16) including identification information for identifying the print data (corresponding to the packet header 306) and the print data (corresponding to the print data 307 and PDL data). The job control data includes a job packet including identification information for identifying the control command and the control command (corresponding to the description of FIG. 19).

 また、前記入力手段により入力された入力データに含まれる識別情報を認識し、印刷ジョブと認識された入力データは前記解析手段に送信し、ジョブ制御データと認識された入力データは前記ジョブ制御手段に送信するデータ属性認識手段(論理チャネル制御部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 printer driver unit 1502 of the host computer 109 is stored in the transmission buffer 1503 together with the PDL data, the job packet generation unit 1507 assigns the priority of the job to the parameter information in the job packet. The priority information shown in FIG. When transferring the received print job to the queue 204, the printing apparatus 110 reassigns the queue number 402 and processes the queue in the order according to the specified priority. The priorities are ranked based on the priority information “1, 2, 3,...” Or “A, B, C” transmitted from the host computer 109.

 また、印刷装置110内で付ける場合は、印刷時刻の指定により前後関係を取り決める場合等がある。 In addition, when the print time is attached in the printing apparatus 110, the context may be determined by designating the print time.

 新しい印刷ジョブが受信されると、受信された印刷ジョブは、ジョブプリプロセッサ部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 device database unit 1509 by the job preprocessor unit 1510 at the lowest priority, and then the job preprocessor unit 1510 The queue numbers are rearranged with reference to the command information indicating the order. When jobs with the same priority are submitted, the queue numbers 402 are assigned in the order in which they were submitted, and when determining based on time, the earlier the designated printing time is, the higher the priority is. Similarly, when the same time is designated, the earlier the job is input, the higher the priority.

 図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 central control unit 102 based on the priority information.

 優先順位が付加されたジョブ管理テーブルを図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 priority order 2201 is assigned by the host computer 109. This priority can be changed by a job control command as described with reference to FIG. 19 of the first embodiment. When the priority is changed, the queue numbers are rearranged by the information management unit 1517 again.

 <中断、再開>
 第1の実施の形態で説明したように、ホストコンピュータ109もしくは操作部103からの入力に従い、中央制御部102が中断指示を受け付けると、その指示は印刷処理部104に送られ、印刷処理部104は印刷の再開に必要な全てのデータを記憶部105に保存する。
<Pause, resume>
As described in the first embodiment, when the central control unit 102 receives an interruption instruction according to an input from the host computer 109 or the operation unit 103, the instruction is sent to the print processing unit 104, and the print processing unit 104 Saves all data necessary for resuming printing in the storage unit 105.

 それから、印刷処理部104は中断指示された印刷ジョブをジョブ管理テーブルから削除する。その後、ジョブ管理テーブルの優先順位を並び替える。印刷処理は並び替えられた後の印刷ジョブの優先順位に基づいて行われる。 Then, the print processing unit 104 deletes the interrupted print job from the job management table. After that, the priority of the job management table is rearranged. The printing process is performed based on the priority of the sorted print jobs.

 印刷再開の指示を受けると、記憶部105に保存されている中断印刷ジョブの再開に必要な情報を再度、ジョブ管理テーブルに復帰させ、中断指示のかけられた印刷ジョブの印刷処理を再開する。 When receiving the print restart instruction, the information necessary for restarting the interrupted print job stored in the storage unit 105 is returned to the job management table again, and the print processing of the print job to which the interrupt instruction has been issued is restarted.

 印刷ジョブの中断、再開における印刷ジョブの実行順位は、ジョブ管理テーブルに登録されたジョブの優先順位を基礎として、削除若しくは割り込みによるリナンバリングが行われる。リナンバリングは、中央制御部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 central control unit 102.

 <ホストコンピュータ/ユーザによる限定>
 第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 device database unit 1509 is added. Manages client information.

 本第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 packet generation unit 1507 of the host computer 109 generates a job attribute packet (step S1702 in FIG. 17), not only the user name (user information) described in the first embodiment but also the host computer 109 Will be added to the client information specifying the device. As the client information, a computer name set in the OS is used.

 次に、印刷装置110のジョブプリプロセッサ部1510がジョブ属性パケットのパラメータを機器データベース部1509に設定するときに、上述したクライアント情報を一緒に設定するのである。 Next, when the job preprocessor unit 1510 of the printing apparatus 110 sets the parameters of the job attribute packet in the device database unit 1509, the above-described client information is also set together.

 更に、印刷装置110の機器データベース部1509に予め下記のような権限リストを管理者などにより図示省略した印刷装置の操作部から入力作成することにより用意しておく。権限リストとは、ユーザ情報「A」からの印刷ジョブは、ユーザ情報「A」のユーザがキャンセル可能であり、ユーザ情報「A,B,C」のユーザが中断、再開の制御が可能であり、ユーザ情報「A、B」のユーザがパラメータ設定変更可能であるというテーブルである。また、権限リストには、ユーザ情報と同様にクライアント情報についても設定されていればよい。本第2の実施の形態では、権限リストが操作部から設定入力されるとしたが、これに限られるものではなく、管理者などの特定のユーザが設定した権限リストを外部から受信し、機器データベース部1509に格納しておいてもよい。 (4) Further, the following authority list is prepared in advance in the device database unit 1509 of the printing apparatus 110 by inputting and creating the following authority list from the operation unit of the printing apparatus (not shown) by the administrator or the like. The authority list means that the print job from the user information “A” can be canceled by the user of the user information “A”, and the user of the user information “A, B, C” can control the suspension and the resumption. Is a table in which the user of the user information “A, B” can change the parameter setting. Also, the client information may be set in the authority list as well as the user information. In the second embodiment, the authority list is set and input from the operation unit. However, the present invention is not limited to this. An authority list set by a specific user such as an administrator is It may be stored in the database unit 1509.

 図19のステップS1905、S1908、S1911、S1914における権限判断の際に、情報管理部1517が上記権限リストを参照することにより判断し、一致していた場合にのみジョブ制御を実行する。 情報 When determining the authority in steps S1905, S1908, S1911, and S1914 in FIG. 19, the information management unit 1517 determines by referring to the authority list, and executes the job control only when they match.

 このように、権限リストを設けることにより、自分のジョブ以外でもジョブ制御が可能となり、かつ無秩序なジョブ制御が行われないようにすることができる。 (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 host computer 109, a user or a client who can perform job control on the job may be set in advance.

 つまり、プリンタドライバ部1502において、ユーザがジョブ制御を許可するクライアント情報もしくはユーザ情報を設定し、その情報をパケットヘッダ生成部1507がジョブパケットに設定する。それに応じて、データを受信する印刷装置110では、ジョブプリプロセッサ部1510がジョブ制御を許可するクライアント情報とユーザ情報を機器データベース部1509に格納しておき、情報管理部1517がジョブ制御の権限判断をするときにジョブ制御依頼をしたクライアントもしくはユーザと、機器データベース部1510に設定されているクライアント情報もしくはユーザ情報と一致するかを判断して制御すればよい。 That is, in the printer driver unit 1502, the user sets client information or user information that permits job control, and the packet header generation unit 1507 sets the information in the job packet. In response to this, in the printing apparatus 110 that receives the data, the job preprocessor unit 1510 stores the client information and the user information that permit the job control in the device database unit 1509, and the information management unit 1517 determines the authority of the job control. It is only necessary to judge whether the client or the user who made the job control request matches the client information or the user information set in the device database unit 1510 when performing the control.

 このように、ジョブ依頼者が該ジョブに対しジョブ制御権限対象者を設定できるので、制御対象となるジョブを送信したユーザの意志を反映することが可能となり、より詳細な設定を行ったジョブ制御を実行することができる。 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 storage unit 105 and is executable.

 本実施例では、記憶媒体から本制御プログラム及び関連データを直接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 storage unit 105 from an external storage medium such as an FD. May be stored (installed) in a hard disk, which is a non-volatile storage medium, and loaded from the hard disk to the RAM when the data creation / transmission processing control program is operated.

 プログラムコードを供給するための記憶媒体としては、例えば、フロッピディスク,ハードディスク,光ディスク,光磁気ディスク,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 “command analysis module 1001”, “image data conversion module 1002”, “print processing module 1003”, and “data input module 1004” may be stored in the storage medium.

 本実施形態において、コマンド解析モジュール1001は、実施例でいうジョブプリプロセッサ部であるコマンド解析手段として機能し、記憶部105内の機器データベース部に生成されるジョブ管理テーブル(図4)は、第一のデータ格納手段として機能する。さらに、印刷実行にかかるデータを記憶するための記憶部105に生成された受信バッファ202は第二のデータ格納手段として機能する。 In the present embodiment, the command analysis module 1001 functions as a command analysis unit which is a job preprocessor unit in the embodiment, and a job management table (FIG. 4) generated in the device database unit in the storage unit 105 stores Function as data storage means. Further, the reception buffer 202 generated in the storage unit 105 for storing data relating to printing execution functions as a second data storage unit.

 イメージデータ変換モジュール1002は、印刷ジョブデータのうち、印刷実行にかかるデータをイメージデータに変換するためのPDLトランスレータ部であるデータ変換手段として機能する。 The image data conversion module 1002 functions as a data conversion unit that is a PDL translator unit for converting data required for print execution among print job data into image data.

 印刷処理モジュール1003は、印刷制御コマンドに基づき、印刷ジョブの実行処理を行う描画部として機能する。 The print processing module 1003 functions as a drawing unit that performs print job execution processing based on a print control command.

 さらに、データ入力モジュール1004は、前記印刷ジョブを管理するためのデータと、前記印刷ジョブを管理するためのデータを識別するためのコマンド情報と、前記印刷実行にかかるデータと、前記印刷実行にかかるデータを識別するためのコマンド情報と、前記印刷の制御指示のためのデータと、前記制御指示にためのデータを識別するためのコマンド情報と、から構成される印刷ジョブデータ等を受信する入力手段(I/Fドライバ部)として機能する。 Further, the data input module 1004 includes data for managing the print job, command information for identifying data for managing the print job, data for the print execution, and data for the print execution. Input means for receiving print job data and the like comprising command information for identifying data, data for the print control instruction, and command information for identifying data for the control instruction (I / F driver unit).

 印刷装置としてレーザビームプリンタを用いても良い。図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, reference numeral 1140 denotes an LBP main body, which forms an image on recording paper as a recording medium based on a supplied character pattern or the like. Reference numeral 1100 denotes an operation panel on which switches for operation and an LED display are arranged, and 1101 denotes a printer control unit for controlling the entire LBP 1140 and analyzing character pattern information and the like. The printer control unit 1101 mainly converts character pattern information into a video signal and outputs the video signal to the laser driver 1102.

 レーザドライバ1102は半導体レーザ1103を駆動するための回路であり、入力されたビデオ信号に応じて半導体レーザ1103から発射されるレーザ光1104をオン・オフ切替えする。レーザ光1104は回転多面鏡1005で左右方向に振られて静電ドラム1106上を走査する。これにより、静電ドラム1106上には文字パターンの静電潜像が形成される。この潜像は静電ドラム1106周囲の現像ユニツト1007により現像された後、記録紙に転写される。この記録紙にはカットシートを用い、カットシート記録紙はLBP1140に装着した複数種の用紙に対応した複数の用紙カセツト1008に収納され、給紙ローラ1109及び搬送ローラ1110と1111とにより装置内に取込まれて、静電ドラム1106に供給される。 The laser driver 1102 is a circuit for driving the semiconductor laser 1103, and switches on / off a laser beam 1104 emitted from the semiconductor laser 1103 according to an input video signal. The laser beam 1104 is swung right and left by the rotary polygon mirror 1005 to scan on the electrostatic drum 1106. Thus, an electrostatic latent image of a character pattern is formed on the electrostatic drum 1106. This latent image is developed by a developing unit 1007 around the electrostatic drum 1106 and then transferred to a recording sheet. A cut sheet is used as the recording paper, and the cut sheet recording paper is stored in a plurality of paper cassettes 1008 corresponding to a plurality of types of paper mounted on the LBP 1140, and is fed into the apparatus by a paper feed roller 1109 and transport rollers 1110 and 1111. It is taken in and supplied to the electrostatic drum 1106.

 尚、本実施形態の印刷装置として、レーザビームプリンタを例にして説明したが、これに限定されるものでなく、以下で説明するインクジェットプリンタ等にも適応可能である。 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 spiral groove 5004 of the lead screw 5005 that rotates via the driving force transmission gears 5011 and 5009 in conjunction with the forward and reverse rotation of the drive motor 5013 has a pin (not shown). Then, it is reciprocated in the directions of arrows a and b. An ink jet cartridge IJC is mounted on the carriage HC. Reference numeral 5002 denotes a paper pressing plate, which presses the paper against the platen 5000 in the moving direction of the carriage. Reference numerals 5007 and 5008 denote home position detecting means for confirming the presence of the lever 5006 of the carriage in this area and switching the rotation direction of the motor 5013. Reference numeral 5016 denotes a member that supports a cap member 5022 that caps the front surface of the recording head. Reference numeral 5015 denotes a suction unit that suctions the inside of the cap, and performs suction recovery of the recording head through an opening 5023 in the cap. Reference numeral 5017 denotes a cleaning blade. Reference numeral 5019 denotes a member that allows the blade to move in the front-rear direction. These members are supported by a main body support plate 5018. It goes without saying that the blade is not limited to this form and a known cleaning blade can be applied to the present embodiment. Reference numeral 5021 denotes a lever for starting suction for recovery of suction, which moves in accordance with the movement of the cam 5020 engaging with the carriage, and the driving force from the driving motor is controlled by a known transmission means such as clutch switching. Is done. These capping, cleaning, and suction recovery are configured so that desired operations can be performed at the corresponding positions by the action of the lead screw 5005 when the carriage comes to the area on the home position side. If this operation is performed, any of the present embodiments can be applied.

 次に、上述した装置の記録制御を実行するための制御構成について、図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 MPU 1701, and 1703 is various data (the recording signal and the recording supplied to the head). Data, etc.). A gate array 1704 controls supply of print data to the print head 1708, and also controls data transfer between the interface 1700, the MPU 1701, and the RAM 1703. Reference numeral 1710 denotes a carrier motor for transporting the recording head 1708, and reference numeral 1709 denotes a transport motor for transporting the recording paper. Reference numeral 1705 denotes a head driver for driving the head, and reference numerals 1706 and 1707 denote motor drivers for driving the transport motor 1709 and the carrier motor 1710, respectively.

 上記制御構成の動作を説明すると、インターフェース1700に記録信号が入るとゲートアレイ1704とMPU1701との間で記録信号がプリント用の記録データに変換される。そして、モータドライバ1706、1707が駆動されると共に、ヘッドドライバ1705に送られた記録データに従って記録ヘッドが駆動され、印刷が行われる。 The operation of the above control configuration will be described. When a recording signal enters the interface 1700, the recording signal is converted between the gate array 1704 and the MPU 1701 into recording data for printing. Then, the motor drivers 1706 and 1707 are driven, and the recording head is driven according to the recording data sent to the head driver 1705 to perform printing.

 以上のようなインクジェットプリンタの制御構成に、本発明の構成要素を組み込むことも可能であり、本発明はレーザビームプリンタに限らず、上記インクジェットプリンタ等にも適用できることは明らかである。 (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.

本発明の第1の実施形態の印刷制御装置のブロック図である。FIG. 1 is a block diagram of a print control device according to a first embodiment of the present invention. 本発明の第1の実施形態の処理をブロック図を用いて表現したものである。FIG. 3 illustrates processing of the first exemplary embodiment of the present invention using a block diagram. 本発明の第1の実施形態の通信データの構成図である。FIG. 2 is a configuration diagram of communication data according to the first embodiment of the present invention. 本発明の第1の実施形態のジョブ管理テーブルの概略図である。FIG. 3 is a schematic diagram of a job management table according to the first embodiment of this invention. 従来例の印刷制御装置のブロック図である。FIG. 9 is a block diagram of a conventional print control device. 従来例における印刷ジョブの処理を示すフローチャートである。9 is a flowchart illustrating processing of a print job in a conventional example. 本実施形態における印刷制御装置の受信データの処理を示すフローチャートである。5 is a flowchart illustrating processing of received data by the print control apparatus according to the embodiment. 印刷ジョブデータを示す図である。FIG. 4 is a diagram illustrating print job data. 印刷指定時刻が設定された印刷ジョブデータを示す図である。FIG. 7 is a diagram illustrating print job data in which a designated print time is set. 実施形態における記録媒体のメモリマップを示す図である。FIG. 3 is a diagram illustrating a memory map of a recording medium according to the embodiment. レーザープリンタの構成を表す図。FIG. 2 illustrates a configuration of a laser printer. インクジェットプリンタの構成を表す図。FIG. 2 is a diagram illustrating a configuration of an inkjet printer. プリンタの動作を説明するブロック線図。FIG. 2 is a block diagram illustrating the operation of the printer. 従来例の印刷制御装置の機能ブロック図である。FIG. 10 is a functional block diagram of a conventional print control device. 本発明の実施形態における印刷制御装置の機能ブロック図である。FIG. 2 is a functional block diagram of the print control device according to the embodiment of the present invention. パケットヘッダ情報の構造を説明する図である。FIG. 4 is a diagram illustrating the structure of packet header information. 本発明のホストコンピュータにおけるジョブパケット作成処理の制御を示すフローチャートである。9 is a flowchart illustrating control of a job packet creation process in the host computer of the present invention. 本発明の実施形態における印刷制御装置の印刷処理の制御を示すフローチャートである。5 is a flowchart illustrating control of print processing of the print control apparatus according to the embodiment of the present invention. 本発明の実施形態における印刷制御装置のジョブ制御を示すフローチャートである。6 is a flowchart illustrating job control of the print control apparatus according to the embodiment of the present invention. 本発明のホストコンピュータにおけるユーティリティ画面におけるGUIを示す図である。FIG. 11 is a diagram showing a GUI on a utility screen in the host computer of the present invention. 本発明のホストコンピュータにおけるユーティリティ画面においてジョブ制御を指定するGUIを示す図である。FIG. 11 is a view showing a GUI for designating job control on a utility screen in the host computer of the present invention. 本発明の第2の実施形態のジョブ管理テーブルの概略図である。FIG. 14 is a schematic diagram of a job management table according to the second embodiment of this invention. 本発明の印刷制御プログラムが記憶媒体からコンピュータシステムに供給されることを示す図である。FIG. 4 is a diagram showing that a print control program of the present invention is supplied from a storage medium to a computer system. 本発明の印刷制御プログラムが動作するときのメモリマップ図の一例である。FIG. 4 is an example of a memory map diagram when a print control program of the present invention operates.

符号の説明Explanation of reference numerals

 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 パラメータリストハンドル
Reference Signs List 101 input unit 102 central control unit 103 operation unit 104 print processing unit 105 storage unit 106 output unit 201 command analysis unit 202 reception buffer 203 PDL print processing unit 204 queue 205 output unit 301 A series of commands related to one print process, that is, job commands 302 Packet header of a command 303 described later 303 Command indicating the start of a job 304 Packet header of a command 305 described later 305 Parameter setting command and setting data 306 Packet header of a command 307 described later 307 PDL information actually printed 308 Packet header of command 309 309 job end command 401 job number 402 queue number 403 user name 404 file name 405 parameter list handle

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.
 請求項3に記載の印刷処理方法をコンピュータに実行させるためのプログラムをコンピュータ読み取り可能な形態で記憶した記憶媒体。 A storage medium storing a program for causing a computer to execute the print processing method according to claim 3 in a computer-readable form.  請求項4に記載の処理方法をコンピュータに実行させるためのプログラムをコンピュータ読み取り可能な形態で記憶した記憶媒体。 A storage medium storing a program for causing a computer to execute the processing method according to claim 4 in a computer-readable form.
JP2003323105A 1997-10-27 2003-09-16 Information processing apparatus, print job processing method, and storage medium Expired - Fee Related JP4194455B2 (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (10)

* Cited by examiner, † Cited by third party
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