JP2011253568A - Printing system, server device and job control method - Google Patents

Printing system, server device and job control method Download PDF

Info

Publication number
JP2011253568A
JP2011253568A JP2011196490A JP2011196490A JP2011253568A JP 2011253568 A JP2011253568 A JP 2011253568A JP 2011196490 A JP2011196490 A JP 2011196490A JP 2011196490 A JP2011196490 A JP 2011196490A JP 2011253568 A JP2011253568 A JP 2011253568A
Authority
JP
Japan
Prior art keywords
job
printing
print
identification information
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.)
Pending
Application number
JP2011196490A
Other languages
Japanese (ja)
Inventor
Kei Kitakata
圭 北形
Susumu Muto
晋 武藤
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 JP2011196490A priority Critical patent/JP2011253568A/en
Publication of JP2011253568A publication Critical patent/JP2011253568A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a pull print system capable of easily appointing print object data.SOLUTION: In a printing system capable of communicating between an information processor and a printer, the information processor holds a print job transmitted from the printer in readable form based on specific identification information. When the printer issues a request including the identification information to the information processor, the information processor receives the issued request and reads the print job based on the identification information included in the received request. Then, the information processor outputs the read print job to the printer. When the information processor receives a new piece of information including a piece of identification information from the printer after receiving the request and when the identification information included in the new information is a piece of specific identification information, the information processor changes the processing for the print job.

Description

本発明は、印刷システム、サーバ装置及びジョブ制御方法に関し、特に、印刷装置側からの要求に従って印刷ジョブの出力を行う仕組みに関する。 The present invention relates to a printing system, a server apparatus, and a job control method, and more particularly to a mechanism for outputting a print job in accordance with a request from the printing apparatus side.

印刷装置側から印刷対象データの指定を行い、該指定に基づく印刷対象データ或は該印刷対象データに基づく印刷ジョブを、通信回線を介して、当該印刷装置側に取り込み、該取り込んだデータに基づく印刷出力を行うシステムが提案されている。これは、所謂プルプリントシステムとして知られている。例えば、特開平08−263414号公報(特許文献1)に該技術が開示されている。   The print target data is designated from the printing apparatus side, the print target data based on the designation or the print job based on the print target data is fetched to the printing apparatus side via the communication line, and based on the fetched data Systems that perform printout have been proposed. This is known as a so-called pull print system. For example, Japanese Patent Laid-Open No. 08-263414 (Patent Document 1) discloses the technique.

特開平08−263414号公報Japanese Patent Laid-Open No. 08-263414

しかしながら、プルプリントシステムでは、ユーザがプリントサーバ側から取り込むべき印刷ジョブのジョブ名を印刷装置の操作部から指定する必要があり、ユーザは煩雑な作業が強いられてしまう。一方、印刷ジョブのジョブ名ではなく、印刷対象とするデータの場所(所謂URL)を印刷装置の操作部から指定し、プルプリントを行うという技術も知られているが、やはり、ユーザに煩雑な作業を強いるという点では、共通の課題を抱えていた。   However, in the pull print system, it is necessary for the user to specify the job name of the print job to be loaded from the print server side from the operation unit of the printing apparatus, and the user is forced to perform complicated work. On the other hand, there is also known a technique in which pull printing is performed by designating the location (so-called URL) of data to be printed from the operation unit of the printing apparatus instead of the job name of the print job. In terms of forcing work, we had a common problem.

本発明は上記の課題に鑑みてなされたものであり、プルプリントシステムにおける印刷対象データの指定を容易に行えるようにすることを目的とする。
また、更に、印刷ジョブに対する制御も容易に行えるようにすることを目的とする。
The present invention has been made in view of the above problems, and an object of the present invention is to make it easy to specify print target data in a pull print system.
It is another object of the present invention to easily control a print job.

上記の目的を達成するための本発明の一態様によるサーバシステムは以下の構成を備える。即ち、
印刷装置と通信可能なサーバ装置であって、
印刷指示に応じて印刷ジョブを生成するジョブ生成手段と、
前記ジョブ生成手段で生成された印刷ジョブを特定の識別情報に関連付けて保持する保持手段と、
印刷装置から識別情報を含む要求を受信する第1受信手段と、
前記第1受信手段により受信した要求に含まれる識別情報が前記特定の識別情報であった場合に、前記特定の識別情報に関連付けられている前記印刷ジョブを前記保持手段から読み出し、読み出された前記印刷ジョブを前記印刷装置へ出力する出力手段と
前記第1受信手段により前記要求を受信した後に、識別情報を含む更なる情報を印刷装置から受信した場合であって、前記更なる情報に含まれる識別情報が前記特定の識別情報であった場合には、前記印刷ジョブに対する処理を変更するジョブ制御手段と、を備える。
In order to achieve the above object, a server system according to an aspect of the present invention comprises the following arrangement. That is,
A server device capable of communicating with a printing device,
Job generation means for generating a print job in response to a print instruction;
Holding means for holding in association with print job generated by the job generating means to a specific identification information,
First receiving means for receiving a request including identification information from the printing apparatus;
If the identification information included in the request received by said first receiving means is a said specific identification information, reading the Kishirushi printing job before associated with the specific identification information from said holding means, read out and output means for outputting the Kishirushi printing job before being to the printing device,
When further information including identification information is received from the printing apparatus after receiving the request by the first receiving means, and when the identification information included in the further information is the specific identification information Includes job control means for changing processing for the print job .

本願発明によれば、従来のプルプリントシステムに比較し、ユーザに煩雑な作業を強いることなく、容易にユーザが印刷出力すべき出力物を得ることができるようになる。   According to the present invention, it is possible to easily obtain an output to be printed out by the user without forcing the user to perform complicated operations as compared with the conventional pull printing system.

また、さらに、印刷ジョブに対する制御も容易に行える。   Furthermore, it is possible to easily control a print job.

実施形態によるプリントシステムの全体構成例を示すブロック図である。1 is a block diagram illustrating an example of the overall configuration of a print system according to an embodiment. 実施形態のネットワークプリンタ(プリントデバイスとも言う)のハードウェア構成例を説明するブロック図である。2 is a block diagram illustrating an example of a hardware configuration of a network printer (also referred to as a print device) according to an embodiment. FIG. クライアントPCにおける、プルプリントサーバ及びその周辺のソフトウェア構成例を示す図である。It is a figure which shows the example of a software structure of the pull print server and its periphery in a client PC. プルプリントサーバ及びその周辺のソフトウエアにおける、印刷時の印刷ジョブの流れの一例を示す図である。FIG. 7 is a diagram illustrating an example of a flow of a print job at the time of printing in the pull print server and its peripheral software. ネットワークプリンタのソフトウェア構成の例を示す図である。It is a figure which shows the example of a software configuration of a network printer. ネットワークプリンタのユーザアプリケーションのソフトウェア構成の例を示す図である。It is a figure which shows the example of a software configuration of the user application of a network printer. プルプリントサーバとデバイススケジューラ、LPD/RAW、プリンタコントローラ間の印刷シーケンス例を示す図である。FIG. 6 is a diagram illustrating an example of a print sequence between a pull print server, a device scheduler, LPD / RAW, and a printer controller. 実施形態の動作概略を説明する図である。It is a figure explaining the operation | movement outline of embodiment. プルプリントサーバにジョブを登録する処理の一例を示すフローチャートである。10 is a flowchart illustrating an example of processing for registering a job in a pull print server. プルプリントサーバが管理する印刷ジョブの情報とジョブ管理キューの一例を表す図である。FIG. 6 is a diagram illustrating an example of print job information and a job management queue managed by a pull print server. プルプリントサーバが管理するプリントキュー、出力ポートの情報の一例を表す図である。FIG. 6 is a diagram illustrating an example of print queue and output port information managed by a pull print server. プルプリントエージェントでユーザ識別情報を取得し、その情報をプルプリントサーバに通知する処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process which acquires user identification information with a pull print agent, and notifies the information to a pull print server. プルプリントエージェントがプルプリントサーバに通知する情報の一例を示す図である。It is a figure which shows an example of the information which a pull print agent notifies to a pull print server. プルプリントサーバが印刷データを特定してから、印刷データの転送までの流れの一例を示すフローチャートである。10 is a flowchart illustrating an example of a flow from when the pull print server specifies print data to when the print data is transferred. デバイススケジューラで管理するクライアント情報とクライアント管理キューの一例を示す図である。It is a figure which shows an example of the client information managed by a device scheduler, and a client management queue. デバイススケジューラで管理するジョブ情報とジョブ管理キューの一例を示す図である。It is a figure which shows an example of the job information and job management queue which are managed by a device scheduler. プルプリントサーバからの要求や通知、デバイス管理部からの通知、ジョブ管理部への要求や通知を処理する通信接続管理部の処理の一例を示すフローチャートである。10 is a flowchart illustrating an example of processing of a communication connection management unit that processes requests and notifications from a pull print server, notifications from a device management unit, and requests and notifications to a job management unit. プルプリントサーバのスケジュール要求の受け付けから、スケジュールUPを発行するまでのデバイススケジュラ−のスケジュール管理部の処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of a process of the schedule management part of a device scheduler from acceptance of the schedule request of a pull print server to issuing a schedule UP. ジョブ管理部のジョブ状態通知イベントの受け付けからジョブリスト要求の受け付けに対する処理の一例を示すフローチャートである。6 is a flowchart illustrating an example of processing from reception of a job status notification event to reception of a job list request of a job management unit. プリンタコントローラからのデバイス状態、ジョブ状態通知を受け付けた時のデバイス管理部の処理の一例を示すフローチャートである。6 is a flowchart illustrating an example of processing of a device management unit when a device status and job status notification is received from a printer controller. デバイススケジューラからの通知やコマンドを受け付けた場合のプルプリントサーバの処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the process flow of a pull print server when the notification and command from a device scheduler are received. ジョブキャンセル・保持命令を受信したときのプルプリントサーバの処理の一例を説明するフローチャートである。10 is a flowchart illustrating an example of processing of the pull print server when a job cancel / hold instruction is received. 第2実施形態によるプルプリントサーバとデバイススケジューラ、LPD/RAW、プリンタコントローラ間の印刷シーケンスの一例を示す図である。It is a figure which shows an example of the printing sequence between the pull print server by 2nd Embodiment, a device scheduler, LPD / RAW, and a printer controller. プルプリントサーバからスケジュール要求を受信し、スケジュールUPから印刷処理を完了するまでのデバイススケジューラの処理の一例を示すフローチャートである。FIG. 10 is a flowchart illustrating an example of device scheduler processing from receiving a schedule request from a pull print server to completing print processing from schedule UP. FIG. プルプリントサーバによるジョブ制御の処理の一例を説明するフローチャートである。10 is a flowchart illustrating an example of job control processing by a pull print server. プルプリントサーバによるジョブ制御の処理の一例を説明するフローチャートである。10 is a flowchart illustrating an example of job control processing by a pull print server. プルプリントサーバがジョブ管理キューによって管理するジョブ情報の一例を表す図である。FIG. 6 is a diagram illustrating an example of job information managed by a pull print server using a job management queue. 印刷ジョブの保持機構の一例を示す図である。FIG. 6 illustrates an example of a print job holding mechanism.

以下、添付の図面を参照して本発明の好適な実施形態を説明する。
[第1実施形態]
<システム構成>
図1は、本実施形態に係るプリントシステムの全体構成を示すブロック図である。本プリントシステムは、情報処理装置としてのクライアントPC(コンピュータ)101〜103と、印刷装置(プリントデバイス)としてのネットワークプリンタ104〜105とを含む。これら装置が互いに接続されていることにより、全体としてネットワークを構成している。
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.
[First Embodiment]
<System configuration>
FIG. 1 is a block diagram showing the overall configuration of the printing system according to the present embodiment. The print system includes client PCs (computers) 101 to 103 as information processing apparatuses and network printers 104 to 105 as printing apparatuses (print devices). These devices are connected to each other to constitute a network as a whole.

クライアントPC101〜103には、印刷制御プログラムが実行可能に格納されている。クライアントPC101〜103は、本プリントシステムに含まれるネットワークプリンタ104〜105を管理する機能のほか、ネットワークで使用されるファイルを蓄積したり、ネットワークの使用状態を監視したりする機能を有する。具体的には、クライアントPC101〜103は、自身により印刷ジョブを作成し、ネットワークプリンタ104〜105のスケジューラにスケジュール要求を発行する機能を有する。また、クライアントPC101〜103は、ネットワークプリンタ104〜105のスケジューラからの指示により、印刷データの転送を開始する機能を有する。   The client PCs 101 to 103 store a print control program so as to be executable. Each of the client PCs 101 to 103 has a function of accumulating files used in the network and monitoring a use state of the network in addition to a function of managing the network printers 104 to 105 included in the print system. Specifically, the client PCs 101 to 103 have a function of creating a print job by themselves and issuing a schedule request to the scheduler of the network printers 104 to 105. Further, the client PCs 101 to 103 have a function of starting transfer of print data according to an instruction from the scheduler of the network printers 104 to 105.

ネットワークプリンタ104〜105は、クライアントPC101〜103から、印刷データを含む印刷ジョブを受信し、受信した印刷ジョブを解析して印刷する物理的な装置としてのプリントデバイスである。なお、ネットワークプリンタ104〜105としては、電子写真方式を採用したレーザービームプリンタやインクジェット方式を採用したインクジェットプリンタや熱転写方式を利用したプリンタ等、あらゆる方式の印刷装置を採用することができる。   The network printers 104 to 105 are print devices as physical devices that receive print jobs including print data from the client PCs 101 to 103 and analyze and print the received print jobs. As the network printers 104 to 105, any type of printing apparatus such as a laser beam printer using an electrophotographic method, an ink jet printer using an ink jet method, or a printer using a thermal transfer method can be used.

また、ネットワークプリンタ104〜105は、
・複数のクライアントPC101〜103からの印刷要求を受け付け、受け付けた印刷要求の順序を決定し、印刷指示を発行する機能や、
・ネットワークプリンタ104〜105に転送された印刷ジョブ、ネットワークプリンタ104〜105の状態を監視し、印刷の終了やプリンタ状態をクライアントPC101〜103に通知する機能を有する。
The network printers 104 to 105 are
A function of accepting print requests from a plurality of client PCs 101 to 103, determining the order of the accepted print requests, and issuing a print instruction;
A function of monitoring the print job transferred to the network printers 104 to 105 and the status of the network printers 104 to 105 and notifying the client PCs 101 to 103 of the end of printing and the printer status.

なお、本プリントシステムに含まれる装置間の通信は、イーサネット(登録商標)ケーブルなどを利用した有線通信でもよいし、電波や光などを利用した無線通信でもよい。   Note that communication between apparatuses included in the print system may be wired communication using an Ethernet (registered trademark) cable or the like, or wireless communication using radio waves or light.

図2は、本実施形態に関わる印刷システムのハードウェア構成を説明するブロック図である。ネットワークプリンタ104,105(以下、ネットワークプリンタ)は、大きく分けてネットワークプリントサーバ220とプリンタコントローラ219という、異なる制御系を司る2つのデバイスで構成されている。ネットワークプリントサーバ220において、ネットワークプリントサーバ用CPU201(以下、CPU201)は、書き換え可能なフラッシュROM203に記憶された制御プログラムに基づいて各種制御を実現する。例えば、CPU201は、システムバス204に接続されるネットワークコントローラ(LANC205)を用いて、ローカルエリアネットワーク(LAN212)に接続されたホストコンピュータ等の複数の外部装置(不図示)との通信を制御する。CPU201は、この通信において所定のネットワーク通信プロトコルを用い、外部装置から送られる印刷データやプリンタ制御命令等の各種データ送受信要求を統括的に制御する。そして、拡張インターフェースコントローラ(EXPC207)を介して接続されるプリンタコントローラ219に対して適切なデータ転送制御が行なわれる。   FIG. 2 is a block diagram illustrating the hardware configuration of the printing system according to the present embodiment. The network printers 104 and 105 (hereinafter referred to as network printers) are roughly composed of two devices that control different control systems, a network print server 220 and a printer controller 219. In the network print server 220, a network print server CPU 201 (hereinafter, CPU 201) implements various controls based on a control program stored in a rewritable flash ROM 203. For example, the CPU 201 uses a network controller (LANC 205) connected to the system bus 204 to control communication with a plurality of external devices (not shown) such as a host computer connected to the local area network (LAN 212). The CPU 201 uses a predetermined network communication protocol in this communication, and comprehensively controls various data transmission / reception requests such as print data and printer control commands sent from an external device. Then, appropriate data transfer control is performed for the printer controller 219 connected via the expansion interface controller (EXPC 207).

RAM202はCPU201の主メモリ、ワークエリア等の一時記憶領域として用いられる。LED206はネットワークプリントサーバの各種動作状態をLEDの点滅パターンや色で示す表示部である。表示される動作状態としては、ネットワークコントローラ(LANC205)とローカルエリアネットワーク(LAN212)の電気的な接続状態(LINK)やネットワーク通信モード(10Baseや100Base、全二重、半二重)等が挙げられる。   A RAM 202 is used as a temporary storage area such as a main memory and a work area of the CPU 201. An LED 206 is a display unit that indicates various operation states of the network print server by blinking patterns and colors of the LEDs. Examples of the displayed operation state include an electrical connection state (LINK) between the network controller (LANC 205) and the local area network (LAN 212), a network communication mode (10Base or 100Base, full duplex, half duplex), and the like. .

さらにネットワークプリントサーバ220とプリンタコントローラ219を繋ぐ拡張インターフェース217は、図示しないコネクタで構成されている。ネットワークプリントサーバ220は着脱可能であり、例えばプリント基板によって構成され、同様の構成を持つ別のプリンタにこのネットワークプリントサーバ220を装着することも可能となっている。   Furthermore, the expansion interface 217 that connects the network print server 220 and the printer controller 219 is configured by a connector (not shown). The network print server 220 is detachable. For example, the network print server 220 is configured by a printed circuit board, and the network print server 220 can be mounted on another printer having the same configuration.

プリンタコントローラ219において、プリンタコントローラ用CPU208は、システムバス211に接続される各種デバイスとのアクセスを統括的に制御する。CPU208は、ROM209に記憶された制御プログラム等あるいはディスクコントローラ(DKC215)を介して接続された外部メモリ210に記憶された制御プログラムやリソースデータ(資源情報)等に基づいて上記制御を実現する。例えば、CPU208は、拡張インターフェースコントローラ(EXPC213)を介して接続されるネットワークプリントサーバ220から受信される印刷データに基づいてラスタコントローラ223に出力画像情報を生成させる。そして、プリンタエンジン216に対して、生成した画像信号を出力させる。なお、プリンタエンジン216は既知の印刷技術を利用するものである。好適な実施例としては、例えば電子写真方式(レーザービーム方式)やインクジェット方式、昇華方式、熱転写方式等が挙げられる。   In the printer controller 219, the printer controller CPU 208 comprehensively controls access to various devices connected to the system bus 211. The CPU 208 implements the above control based on a control program stored in the ROM 209 or the like, a control program stored in the external memory 210 connected via the disk controller (DKC 215), resource data (resource information), or the like. For example, the CPU 208 causes the raster controller 223 to generate output image information based on print data received from the network print server 220 connected via the extended interface controller (EXPC 213). Then, the printer engine 216 outputs the generated image signal. The printer engine 216 uses a known printing technique. Suitable examples include, for example, an electrophotographic method (laser beam method), an ink jet method, a sublimation method, and a thermal transfer method.

RAM214はCPU208の主メモリ、ワークエリア等として機能するRAMであり、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。操作パネル(操作部)218は、ネットワークプリンタ104の動作モード等の設定や印刷データの取り消し等の操作をユーザに行うためのボタンを有する。また、ネットワークプリンタ104の動作状態を示す液晶パネルやLED等の表示部も操作パネル218に配されている。なお、外部I/Oインターフェース222は外部装置221と情報のやり取りを行う。   A RAM 214 functions as a main memory, a work area, and the like for the CPU 208, and is configured such that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown). The operation panel (operation unit) 218 includes buttons for performing operations such as setting of the operation mode of the network printer 104 and cancellation of print data. In addition, a display unit such as a liquid crystal panel and LEDs indicating the operation state of the network printer 104 is also arranged on the operation panel 218. The external I / O interface 222 exchanges information with the external device 221.

次に、本プリントシステムのクライアントPC101〜103内に存在するプルプリントサーバ305のソフトウェア構成について説明する。なお、プルプリントサーバのことを複数のソフトウェア機能から構成されるという意味で、サーバシステムと呼ぶこともある。以下では、プルプリントサーバという用語を用いて説明を行う。図3は、プルプリントサーバ305におけるソフトウェア構成の一例を示す図である。それぞれの構成間の矢印は、アプリケーションから発行された描画コマンドを含む印刷ジョブが、どのように処理されるかを示したものである。また、各ブロックで示されたソフトウェア構成は、クライアントPC内のCPU(不図示)が所定の制御プログラムを実行することにより実現される。なお、図3では、ネットワークプリンタ104,105をプリントデバイス306で示している。   Next, a software configuration of the pull print server 305 existing in the client PCs 101 to 103 of the print system will be described. The pull print server is sometimes called a server system in the sense that it is composed of a plurality of software functions. Hereinafter, description will be made using the term pull-print server. FIG. 3 is a diagram illustrating an example of a software configuration in the pull print server 305. The arrows between the components indicate how a print job including a drawing command issued from an application is processed. The software configuration shown in each block is realized by a CPU (not shown) in the client PC executing a predetermined control program. In FIG. 3, the network printers 104 and 105 are indicated by a print device 306.

通常、Microsoft Word(登録商標)などの一般的なアプリケーションプログラム301は印刷の指示を受け付けると、一連の描画コマンドをOSを介して生成する。この上位からの描画コマンドをOSを介して受け取ったPDL(ページ記述言語)ドライバ302は、一連の描画コマンドに基づいてネットワークプリンタ104〜105で解釈可能なPDLファイルを含む印刷ジョブを生成する。   In general, when a general application program 301 such as Microsoft Word (registered trademark) receives a print instruction, it generates a series of drawing commands via the OS. A PDL (page description language) driver 302 that has received a drawing command from the upper level via the OS generates a print job including a PDL file that can be interpreted by the network printers 104 to 105 based on a series of drawing commands.

PDLドライバ302は、プリントデバイス306へ印刷ジョブを送信するために、生成した印刷ジョブをスプーラ303に渡す。ここではOSをWindows(登録商標)と仮定しているのでスプーラ303はウィンドウズ(登録商標)スプーラである。ただし、本発明を適用するコンピュータのOSはWindows(登録商標)に限定されるものではなく、描画命令を備えるものであれば他のOSも適用可能であることは言うまでもない。   The PDL driver 302 passes the generated print job to the spooler 303 in order to transmit the print job to the print device 306. Here, since the OS is assumed to be Windows (registered trademark), the spooler 303 is a Windows (registered trademark) spooler. However, it goes without saying that the OS of the computer to which the present invention is applied is not limited to Windows (registered trademark), and other OSs can be applied as long as they have drawing commands.

スプーラ303は、ユーザがユーザインターフェースを介して選択し指示したポートモニタ304に印刷ジョブを渡して、ネットワークプリンタ104〜105等のプリントデバイス306に送信させる手順をとる(矢印a)。ここでは、ユーザはあらかじめプルプリントサーバ305に印刷データを転送するためのポートモニタ304(以降、ジョブ制御ポートモニタと略記)を指定して印刷を指示したものとして説明を進める。   The spooler 303 passes the print job to the port monitor 304 selected and instructed by the user via the user interface and transmits it to the print device 306 such as the network printers 104 to 105 (arrow a). Here, the description will proceed assuming that the user has designated a port monitor 304 (hereinafter abbreviated as job control port monitor) for transferring print data to the pull print server 305 and instructed printing in advance.

プリンタドライバインターフェースを介して設定された用紙サイズ、ステープル指示等の印刷設定情報も、ジョブ制御ポートモニタ304に送信される。ジョブ制御ポートモニタ304はプリントサービスを行うプルプリントサーバ305に印刷ジョブと印刷設定情報を送信する(矢印b)。また、クライアントPC101〜103においてプルプリントサーバ305と別のプルプリントサーバ308のジョブ登録アプリケーション309はAPI310を介し、プルプリントサーバ305に印刷データを投入する(矢印g)。このように上位のアプリケーションが様々な場所に存在する場合に本実施形態を適用することができる。   Print setting information such as a paper size and a staple instruction set via the printer driver interface is also transmitted to the job control port monitor 304. The job control port monitor 304 transmits the print job and print setting information to the pull print server 305 that performs the print service (arrow b). In the client PCs 101 to 103, the job registration application 309 of the pull print server 308 different from the pull print server 305 inputs print data to the pull print server 305 via the API 310 (arrow g). In this way, the present embodiment can be applied when higher-level applications exist in various places.

プルプリントサーバ305は、転送された印刷ジョブ及びデバイスの状態を管理する機能を備える。また、プルプリントサーバ305は、プリントデバイス306から通知されるデバイス状態やジョブの状態などの情報を管理したり、プリントデバイス306に対して所定の命令をする機能も備える。これは、複数のプリントデバイス(本例では、ネットワークプリンタ104,105)のデバイス情報やジョブ情報を管理する機能に相当する。プルプリントサーバ305は、印刷データをプリントデバイス306に送信する前に、プリントデバイス306が持つ印刷ジョブの順序管理機能に印刷の要求を発行する。そして、順序管理機能に基づき印刷実行の順番が到来した場合には、プリントデバイス306からの印刷指示により、プリントデバイス306に印刷データを送信する(矢印c、d、e)。また、プルプリントサーバ305は、印刷中にプルプリントエージェント606(図6)で認証情報記録媒体521の存在が検知できなくなるとプリントデバイス306に対して印刷のキャンセル(停止・中断)を指示する(S2203)。なお、プルプリントサーバ305の動作については、後述の図6や図22で詳しく説明する。   The pull print server 305 has a function of managing the transferred print job and device status. The pull print server 305 also has a function of managing information such as a device state and a job state notified from the print device 306 and giving a predetermined command to the print device 306. This corresponds to a function for managing device information and job information of a plurality of print devices (in this example, the network printers 104 and 105). The pull print server 305 issues a print request to the print job order management function of the print device 306 before transmitting the print data to the print device 306. When the print execution order arrives based on the order management function, print data is transmitted to the print device 306 in accordance with a print instruction from the print device 306 (arrows c, d, e). Further, when the pull print agent 606 (FIG. 6) cannot detect the presence of the authentication information recording medium 521 during printing, the pull print server 305 instructs the print device 306 to cancel (stop / suspend) printing (stop). S2203). The operation of the pull print server 305 will be described in detail with reference to FIGS.

プリントデバイス306は、自身の状態をプルプリントサーバ305に通知する(矢印f)。例えば、プリントデバイス306は、印刷データの完了を確認すると、印刷完了の通知をプルプリントサーバ305に対して行う。   The print device 306 notifies the pull print server 305 of its own state (arrow f). For example, when the print device 306 confirms the completion of the print data, the print device 306 notifies the pull print server 305 of the print completion.

プリントマネージャ307は、ユーザが、プルプリントサーバ305内部で印刷ジョブがどのような状態にあるかを調べたり、印刷ジョブを表示・操作する為のユーザインターフェースを提供したりするプログラムである。プリントマネージャ307は、プルプリントサーバ305のソフトウェアのインターフェース(API:Application Program Interface)を介して、プルプリントサーバ305と情報・指示をやり取りしている。そして、プリントマネージャ307は、やり取りした情報に基づく表示を行う。そして、主に、プルプリントサーバ305が管理するプリントデバイス306の状態情報をイベントとして取得する機能を備える。イベントの通知の種別としては、トナー残量が少なくなった警告、プルプリントサーバとデバイスとの通信障害、メモリ不足、排紙トレイ満載などのエラー/警告情報の通知や、エラー状態から正常状態に復帰した正常情報の通知などが想定される。またイベントの通知の種別として印刷排紙完了面数、印刷ジョブ終了ステータス等のジョブの進行状況も挙げることもできる。ここでのプルプリントサーバ305はネットワークを介して通信可能な各デバイス(印刷装置)の印刷実行中、電力制御状態、障害情報(紙ジャム)等のステータスの通知を受け付ける機能を備える。   The print manager 307 is a program that allows the user to check the state of the print job in the pull print server 305 and to provide a user interface for displaying and operating the print job. The print manager 307 exchanges information and instructions with the pull print server 305 via a software interface (API: Application Program Interface) of the pull print server 305. Then, the print manager 307 performs display based on the exchanged information. A function of acquiring, as an event, status information of the print device 306 managed by the pull print server 305 is mainly provided. The types of event notifications include error / warning information notifications such as warning that the toner level is low, communication failure between the pull print server and the device, memory shortage, and full output tray, and error status to normal status. Notification of restored normal information is assumed. Further, as the type of event notification, the progress status of a job such as the number of completed printing paper discharges and the print job end status can also be mentioned. The pull print server 305 has a function of receiving notification of statuses such as a power control state and failure information (paper jam) during printing of each device (printing apparatus) that can communicate via the network.

更に詳細な処理として、プリントマネージャ307はプルプリントサーバ305に対してデバイスを指定したイベントを発行する。プルプリントサーバ305は発行されたイベントが指定するデバイスのステータスを認識し、監視に基づく結果をプリントマネージャ307に通知する。   As more detailed processing, the print manager 307 issues an event designating a device to the pull print server 305. The pull print server 305 recognizes the status of the device specified by the issued event, and notifies the print manager 307 of the result based on the monitoring.

<印刷ジョブの流れ>
次に、図4を用いてアプリケーション301からプリントデバイス306までの印刷ジョブの流れについて説明する。ここで、図3と同じソフトウェア構成について同じ参照番号を付与している。
<Print job flow>
Next, the flow of a print job from the application 301 to the print device 306 will be described with reference to FIG. Here, the same reference numerals are assigned to the same software configurations as those in FIG.

図4に示すように、概念的には、PDLドライバ302、スプーラ303、ジョブ制御ポートモニタ304は、プリントデバイス毎(306,306A)に用意されている。OSがWindows(登録商標)の場合には、これらをまとめてウィンドウズ(登録商標)プリントシステム400と称する場合もある。なお、プリントデバイス306,306Aはネットワークプリンタ105,106に対応する。   As shown in FIG. 4, conceptually, a PDL driver 302, a spooler 303, and a job control port monitor 304 are prepared for each print device (306, 306A). When the OS is Windows (registered trademark), these may be collectively referred to as a Windows (registered trademark) print system 400. The print devices 306 and 306A correspond to the network printers 105 and 106.

プルプリントサーバ305には、プリントデバイス(306,306A)に対応する数のプリントキュー401、401A及び出力ポート402、402Aが含まれている。これらのプリントキュー401、401Aや出力ポート402、402Aは、それぞれ図10や図11で示されるような情報によりプルプリントサーバ305が管理している。   The pull print server 305 includes a number of print queues 401 and 401A and output ports 402 and 402A corresponding to the print devices (306 and 306A). These print queues 401 and 401A and output ports 402 and 402A are managed by the pull print server 305 according to information shown in FIGS. 10 and 11, respectively.

この出力ポート402,402Aには対応する印刷装置のIPアドレス又は名前解決(DNS:Domain Name System)で使用されるネームが関連付けられている。そして、このIPアドレス又はネームに基づき、ジョブのスケジュール要求先やジョブの送信先が特定され、ジョブの送信(出力)が行なわれる。   The output port 402, 402A is associated with an IP address of a corresponding printing apparatus or a name used in name resolution (DNS: Domain Name System). Then, based on the IP address or name, a job schedule request destination and a job transmission destination are specified, and the job is transmitted (output).

印刷を行う場合、アプリケーション301はプリンタを指定して印刷指示を発行する。この印刷指示に基づいてPDLドライバ302によって生成された印刷ジョブがジョブ制御ポートモニタ304からプルプリントサーバ305に渡される。その印刷ジョブがプルプリントの場合、プルプリントサーバ305は当該印刷ジョブをプリントキュー401(プルプリント用)に保持する。また、通常プリントの印刷ジョブであった場合、プルプリントサーバ305は、当該印刷ジョブをプリントキュー401A(通常プリント用)に保持し、出力ポート402に印刷ジョブの受け付け指示を出す。つまり、キューへの印刷ジョブ登録で、即時に、スケジュール要求を発行する(図7の701)。出力ポート402は、印刷するジョブを受け付ける。なお、印刷ジョブがプルプリントか通常プリントかは、PDLドライバによって提供されるユーザインターフェースによってユーザが設定することができる。   When printing, the application 301 designates a printer and issues a print instruction. A print job generated by the PDL driver 302 based on this print instruction is transferred from the job control port monitor 304 to the pull print server 305. When the print job is pull print, the pull print server 305 holds the print job in the print queue 401 (for pull print). If the print job is a normal print job, the pull print server 305 holds the print job in the print queue 401 </ b> A (for normal print) and issues a print job acceptance instruction to the output port 402. That is, the schedule request is issued immediately upon registration of the print job in the queue (701 in FIG. 7). The output port 402 receives a job to be printed. Note that the user can set whether the print job is pull print or normal print by a user interface provided by the PDL driver.

後に詳述するが、プルプリントエージェント606(図6)は、認証情報記録媒体521(図5)から読み取られる所定の情報を検知する。そして該検知に応じて、ユーザ識別情報とデバイスアドレスを含む情報1301(図13)をプルプリントサーバ305に送る。ここでユーザ識別情報とは、ある特定の個人を識別する情報、又は、部門を識別する為の情報を指す。この情報としては、例えば、文字データやビットデータなどを適用できる。プルプリントサーバ305は、このユーザ識別情報を含む又は関連付けられた印刷ジョブが1つ又は複数存在する場合に、デバイスアドレスに該当するプリントデバイス306にスケジュールの要求を発行する。より詳細には、該当するプリントデバイスのデバイススケジューラに対してスケジュール要求を発行する(図7)。プリントデバイス306のデバイススケジューラは、自身が持つスケジューリング機能に基づいて、複数のプルプリントサーバ305から受け付けたジョブのスケジューリング処理を行い、プルプリントサーバ305に対して印刷指示を発行する。印刷指示を受け付けたプルプリントサーバ305は、出力ポート402を介してプリントデバイス306に印刷データを出力する。   As will be described in detail later, the pull print agent 606 (FIG. 6) detects predetermined information read from the authentication information recording medium 521 (FIG. 5). In response to the detection, information 1301 (FIG. 13) including user identification information and a device address is sent to the pull print server 305. Here, the user identification information refers to information for identifying a specific individual or information for identifying a department. As this information, for example, character data or bit data can be applied. The pull print server 305 issues a schedule request to the print device 306 corresponding to the device address when one or more print jobs including or associated with the user identification information exist. More specifically, a schedule request is issued to the device scheduler of the corresponding print device (FIG. 7). The device scheduler of the print device 306 performs scheduling processing for jobs received from a plurality of pull print servers 305 based on its own scheduling function, and issues a print instruction to the pull print server 305. The pull print server 305 that has received the print instruction outputs print data to the print device 306 via the output port 402.

また、印刷中に、プルプリントエージェント606において認証情報記録媒体521の存在が検知できなくなると、プルプリントサーバ305はプリントデバイス306に対し印刷ジョブのキャンセルを指示する(後述の図22のS2203)。デバイススケジューラはその指示に従い印刷処理をキャンセルし、ジョブの進行状況(例えば印刷排紙完了面数等のジョブ進行状況)をプルプリントサーバ305に通知する(図8のS814)。プルプリントサーバ305はその通知された進行状況に基づくジョブ状況情報(印刷又は排紙が完了した印刷面数)を印刷ジョブと対応付けて保持する。このジョブ状況情報とは印刷ジョブについてどれほどまでの印刷が完了しているかを識別する為の情報を指す。つまりプルプリントサーバ305が印刷ジョブの再出力開始ページを識別できれば、再出力先ページそのものであっても良いし、印刷が完了しているページであっても良い。そして、再度、認証情報記録媒体521がプルプリントエージェント606により検知された場合は、プルプリントエージェントから通知されてくるユーザ識別情報に対応して保持してある印刷面数からジョブ出力を開始する。   When the pull print agent 606 cannot detect the presence of the authentication information recording medium 521 during printing, the pull print server 305 instructs the print device 306 to cancel the print job (S2203 in FIG. 22 described later). The device scheduler cancels the printing process in accordance with the instruction, and notifies the pull print server 305 of the job progress status (for example, the job progress status such as the number of completed printing paper discharges) (S814 in FIG. 8). The pull print server 305 holds job status information (the number of printed pages on which printing or paper discharge has been completed) based on the notified progress status in association with the print job. The job status information refers to information for identifying how much printing has been completed for a print job. That is, if the pull print server 305 can identify the re-output start page of the print job, it may be the re-output destination page itself or a page for which printing has been completed. When the authentication information recording medium 521 is detected again by the pull print agent 606, job output is started from the number of printed pages held corresponding to the user identification information notified from the pull print agent.

図5は、本実施形態に係る印刷システムにおけるプリントデバイス306内のネットワークプリントサーバ220およびプリンタコントローラ219の各記憶デバイスに記憶された制御プログラム内のソフトウェア構成を説明するブロック図である。なお、図5中に示されるソフトウェア構成は本発明に係る主要な箇所を示したものであり、勿論、印刷出力処理を行う為のほかのソフトウェア構成も実際には含まれる。また図示された各制御プログラムは、各制御機器のCPU(CPU201,208)によってプログラムが解析され処理される。   FIG. 5 is a block diagram illustrating a software configuration in the control program stored in each storage device of the network print server 220 and the printer controller 219 in the print device 306 in the printing system according to the present embodiment. Note that the software configuration shown in FIG. 5 shows the main parts according to the present invention, and of course, other software configurations for performing print output processing are actually included. Each illustrated control program is analyzed and processed by the CPU (CPU 201, 208) of each control device.

オペレーティングシステム501はネットワークプリントサーバ220の基本的なデータの入出力制御を統括する。さらに、オペレーティングシステム501は、ファイルシステム505、拡張インターフェースドライバ507、ネットワークインターフェースドライバ506を内包している。ファイルシステム505は、プログラム/データ記憶部508及びライセンス記憶部509との入出力制御を行う。拡張インターフェースドライバ507は、プリンタコントローラ219と拡張インターフェース217を介して通信制御を行う。ネットワークインターフェースドライバ506は、LANC205を制御し、ローカルエリアネットワーク(LAN212)の通信媒体を介して不図示のホストコンピュータ等の外部装置と通信を行う。   The operating system 501 controls basic data input / output control of the network print server 220. Further, the operating system 501 includes a file system 505, an extension interface driver 507, and a network interface driver 506. The file system 505 performs input / output control with the program / data storage unit 508 and the license storage unit 509. The extension interface driver 507 performs communication control via the printer controller 219 and the extension interface 217. A network interface driver 506 controls the LANC 205 and communicates with an external device such as a host computer (not shown) via a communication medium of a local area network (LAN 212).

アプリケーションプログラムインターフェース(API)502は、アプリケーションプログラムに対して上記オペレーティングシステムが備える各種機能を提供する。アプリケーションプログラムとしては、ネットワークプリントサーバ220で動作するユーザアプリケーション503やプリンタ200やユーザアプリケーションの登録・管理を行う管理アプリケーション504等が挙げられる。また、アプリケーションプログラムインターフェース502が提供する機能(API)は以下のとおりである。データ転送APIは、印刷データの送受信機能を提供する。リソース制御APIは、ビットマップ画像や表示メッセージ等のリソースデータの入出力制御を行う。プリンタ制御APIは、プリンタ200の再起動や設定値の初期化や設定等の制御を行う。ジョブ制御APIは、印刷ジョブの取り消しや再印刷指示などを制御する。プリントサーバ制御APIは、ネットワークプリントサーバ220の再起動や設定値の初期化や設定、およびアプリケーションプログラムの起動、登録、削除を行う。   An application program interface (API) 502 provides various functions of the operating system to the application program. Examples of application programs include a user application 503 operating on the network print server 220, a management application 504 for registering and managing the printer 200 and user applications, and the like. The functions (API) provided by the application program interface 502 are as follows. The data transfer API provides a print data transmission / reception function. The resource control API performs input / output control of resource data such as bitmap images and display messages. The printer control API controls the restart of the printer 200, initialization of setting values, setting, and the like. The job control API controls cancellation of a print job, reprint instruction, and the like. The print server control API restarts the network print server 220, initializes and sets setting values, and starts, registers, and deletes application programs.

プリンタコントローラ219のオペレーティングシステム512は、プリンタコントローラ219の各種処理制御を統括する。オペレーティングシステム512は、プリンタエンジン制御部514とファイルシステム515を含む。プリンタエンジン制御部514はプリンタエンジン216との通信制御を行う。また、ファイルシステム515は、機種依存リソース/プログラム記憶部516及びライセンス記憶部517との入出力制御を行う。機種依存リソース/プログラム記憶部516は、ネットワークプリントサーバ220から参照されるビットマップ画像やエラーメッセージ等の機種依存リソース及びネットワークプリントサーバ上で動作する機種依存アプリケーションプログラム等を記憶する。   The operating system 512 of the printer controller 219 controls various processing controls of the printer controller 219. The operating system 512 includes a printer engine control unit 514 and a file system 515. A printer engine control unit 514 controls communication with the printer engine 216. The file system 515 performs input / output control with the model-dependent resource / program storage unit 516 and the license storage unit 517. The model-dependent resource / program storage unit 516 stores model-dependent resources such as bitmap images and error messages referenced from the network print server 220, model-dependent application programs that run on the network print server, and the like.

拡張インターフェース制御部513は、拡張インターフェース217を介してネットワークプリントサーバ220との通信制御を行う。また、拡張インターフェース制御部513は、各論理インターフェースを介してネットワークプリントサーバ220から要求された命令をオペレーティングシステム512に対して転送し、その処理結果をネットワークプリントサーバ220に対して返信する。図5では、拡張インターフェース制御部513が備える論理インターフェースとして、データ転送論理インターフェース、リソース制御論理インターフェース、プリンタ制御論理インターフェース、ジョブ制御論理インターフェースが示されている。データ転送論理インターフェースは制御種別毎に印刷データの入出力を制御する。リソース制御論理インターフェースは機種依存リソース/プログラム記憶部516に記憶された各種データの入出力を制御する。プリンタ制御論理インターフェースは、プリントデバイス306の再起動や設定値の初期化や設定等の制御を行う。ジョブ制御論理インターフェースは、印刷ジョブの取り消しや再印刷指示などを制御する。   The extension interface control unit 513 performs communication control with the network print server 220 via the extension interface 217. Further, the extended interface control unit 513 transfers a command requested from the network print server 220 via each logical interface to the operating system 512 and returns the processing result to the network print server 220. In FIG. 5, a data transfer logical interface, a resource control logical interface, a printer control logical interface, and a job control logical interface are shown as logical interfaces provided in the extended interface control unit 513. The data transfer logical interface controls input / output of print data for each control type. The resource control logic interface controls input / output of various data stored in the model-dependent resource / program storage unit 516. The printer control logic interface controls the restart of the print device 306, initialization of setting values, setting, and the like. The job control logical interface controls cancellation of a print job, reprint instruction, and the like.

ネットワークプリントサーバ220において、USB制御部518は、USBケーブル519で接続された外部機器である、認証情報読取装置520を介し、認証情報記録媒体521から認証情報と認証情報記録媒体の存在状態情報を取得する。認証情報は、上述した、印刷ジョブに含めたユーザ識別情報に対応する。また、存在状態情報は、認証情報記録媒体521が認証情報読取装置520に装着されているか否かを示す。認証情報記録媒体521を物理的に検知し、該検知信号を存在状態情報としても認証情報記録媒体521の存在、即ち解除されたことを識別できる。この存在状態情報を検知することでユーザ識別情報を入力できない状態、即ち認証情報記録媒体521が除去されたことを検知できる。   In the network print server 220, the USB control unit 518 receives the authentication information and the presence status information of the authentication information recording medium from the authentication information recording medium 521 via the authentication information reading device 520, which is an external device connected by the USB cable 519. get. The authentication information corresponds to the user identification information included in the print job described above. The presence state information indicates whether or not the authentication information recording medium 521 is attached to the authentication information reading device 520. Even if the authentication information recording medium 521 is physically detected and the detection signal is used as the presence state information, the presence of the authentication information recording medium 521, that is, the release can be identified. By detecting this presence state information, it is possible to detect a state where user identification information cannot be input, that is, that the authentication information recording medium 521 has been removed.

なお、本実施形態では、ユーザの存在または、ユーザを特定、認証するための装置として、USBを介して接続された認証情報読取装置520と認証情報記録媒体521を用いているがこれに限られるものではない。例えば認証情報読取装置520と認証情報記録媒体521に代えて、接続式不揮発性記録媒体(ICカード等)、赤外線等によるユーザの検出、静脈認証装置、指紋認証読取装置、角膜認証読取装置、音声認証読取装置等を認証情報取得機器として用いることがでる。従って、図5に示したUSB制御部518は、“USB制御”に限られるものではなく、実装された認証情報取得機器に応じた接続プロトコルを制御する制御部となる。   In this embodiment, the authentication information reading device 520 and the authentication information recording medium 521 connected via the USB are used as a device for identifying and authenticating the presence of the user or the user, but the present invention is not limited to this. It is not a thing. For example, instead of the authentication information reading device 520 and the authentication information recording medium 521, a connection-type nonvolatile recording medium (IC card or the like), user detection by infrared rays, vein authentication device, fingerprint authentication reading device, corneal authentication reading device, voice An authentication reader or the like can be used as an authentication information acquisition device. Accordingly, the USB control unit 518 illustrated in FIG. 5 is not limited to “USB control”, but is a control unit that controls a connection protocol according to the installed authentication information acquisition device.

ネットワーク制御部511は、ネットワークインターフェースドライバ506がLAN212を介してクライアントPC101〜103からの通知を受け付けた場合に、受信の通知を受け付ける。ネットワーク制御部511は、この通知に基づいて、どのプルプリントサーバ305からの通信であるかを判断したり、通信の制御を行ったりすることができる。   The network control unit 511 receives a reception notification when the network interface driver 506 receives a notification from the client PCs 101 to 103 via the LAN 212. Based on this notification, the network control unit 511 can determine which pull print server 305 the communication is from, and can control the communication.

LPD/RAW510は、プルプリントサーバ305が送信する印刷データを受け付けるプロトコルを制御するモジュールであり、受け付けた印刷データをプリンタコントローラ219に渡すことができる。   The LPD / RAW 510 is a module that controls a protocol that accepts print data transmitted by the pull print server 305, and can pass the accepted print data to the printer controller 219.

また、ユーザアプリケーション503はプリントコントローラ219の機種依存リソース/プログラム記憶部516またはネットワークプリントサーバ220のプログラム/データ記憶部508に格納される。プリントデバイス306が起動すると、CPU201は、プログラム/データ記憶部508または516に格納されたユーザアプリケーション503が持つライセンスと、ライセンス記憶部509または517が持つライセンスとを比較する。こうして、CPU201は両者が一致しているかどうかを判断する。一致していた場合は適正アプリケーションプログラムであると判断し、アプリケーションプログラムをネットワークプリントサーバ220のRAM202にロードする。   The user application 503 is stored in the model-dependent resource / program storage unit 516 of the print controller 219 or the program / data storage unit 508 of the network print server 220. When the print device 306 is activated, the CPU 201 compares the license held by the user application 503 stored in the program / data storage unit 508 or 516 with the license held by the license storage unit 509 or 517. In this way, the CPU 201 determines whether or not they match. If they match, it is determined that the application program is appropriate, and the application program is loaded into the RAM 202 of the network print server 220.

次に、本実施形態のプルプリントを実現するデバイススケジューラ600とプルプリントエージェント606のソフトウェア構成について図6を用いて説明する。   Next, software configurations of the device scheduler 600 and the pull print agent 606 that realize pull printing according to the present embodiment will be described with reference to FIG.

デバイススケジューラ600及びプルプリントエージェント606は、デバイス上のユーザアプリケーション503であり、本プリントシステムのスケジューリング機能や、プルプリントサーバ305から受け付けた印刷ジョブを管理する管理機能を持つ。   The device scheduler 600 and the pull print agent 606 are user applications 503 on the device, and have a scheduling function of this print system and a management function for managing print jobs received from the pull print server 305.

通信接続管理部601は、クライアントPC101〜103の接続状況や、プルプリントサーバ305に通知すべき情報を管理する。通信接続管理部601は、接続しているクライアントを表すクライアント情報1502(図15)をクライアント管理キュー1501で管理する。なお、通信接続管理部601は、プログラムアプリケーションインターフェース502のデータ転送API、ネットワークインターフェースドライバ506を経由してプルプリントサーバ305と通信を行う。   The communication connection management unit 601 manages the connection status of the client PCs 101 to 103 and information to be notified to the pull print server 305. The communication connection management unit 601 manages client information 1502 (FIG. 15) representing connected clients in the client management queue 1501. The communication connection management unit 601 communicates with the pull print server 305 via the data transfer API of the program application interface 502 and the network interface driver 506.

スケジュール管理部602は、クライアントPC101〜103のプルプリントサーバ305から受け付けた印刷ジョブのスケジューリングを行う。スケジュール管理部602は、ジョブ管理部603とデバイス管理部604を有する。ジョブ管理部603は、クライアントPC101〜103のプルプリントサーバ305が発行したスケジュール要求や、プルプリントサーバ305が印刷を要求するジョブを管理する。ジョブ管理部603は、プルプリントサーバ305が印刷を要求するジョブの情報(図16のジョブ情報1602)をジョブ管理キュー1601(図16)で管理している。デバイス管理部604は、プリンタコントローラ219からプリンタの状態や受け付けた印刷ジョブの状態を示す情報(イベント)をイベントハンドラ605を介して受け付ける。デバイス管理部604は、プリンタコントローラ219から受け付けたイベントを通信接続管理部601やジョブ管理部603に通知する。   The schedule management unit 602 schedules print jobs received from the pull print server 305 of the client PCs 101 to 103. The schedule management unit 602 includes a job management unit 603 and a device management unit 604. A job management unit 603 manages a schedule request issued by the pull print server 305 of the client PCs 101 to 103 and a job for which the pull print server 305 requests printing. The job management unit 603 manages information (job information 1602 in FIG. 16) of jobs that the pull print server 305 requests to print in the job management queue 1601 (FIG. 16). The device management unit 604 receives information (event) indicating the status of the printer and the status of the accepted print job from the printer controller 219 via the event handler 605. The device management unit 604 notifies the communication connection management unit 601 and the job management unit 603 of the event received from the printer controller 219.

プルプリントエージェント606はUSB管理部607、サーバ通信部608、デバイス管理部609を有する。USB管理部607はUSB制御部518を介して認証情報(ユーザ識別情報)を取得し、サーバ通信部608に渡す。デバイス管理部609は当該プリントデバイスのアドレス情報等を取得し、サーバ通信部608に渡す。サーバ通信部608は取得した情報をプルプリントサーバ305に送信する。   The pull print agent 606 includes a USB management unit 607, a server communication unit 608, and a device management unit 609. The USB management unit 607 acquires authentication information (user identification information) via the USB control unit 518 and passes it to the server communication unit 608. The device management unit 609 acquires address information of the print device and passes it to the server communication unit 608. The server communication unit 608 transmits the acquired information to the pull print server 305.

図7は、クライアントPC101〜103のプルプリントサーバ305が、プルプリントエージェント606から認証情報を受け付けた後、プリントデバイス306にスケジュール要求を発行し、印刷が終了するまでの処理について示す図である。   FIG. 7 is a diagram illustrating processing from when the pull print server 305 of the client PCs 101 to 103 receives authentication information from the pull print agent 606 to when a print request is issued to the print device 306 and printing is completed.

プルプリントサーバ305は、認証情報を受け付けると、デバイススケジューラ600とセッション接続を開始する。セッション接続が開始されると、プルプリントサーバ305は、自身のクライアント情報(図15のクライアント情報1502に示す内容を含む)を通知する接続要求コマンドをデバイススケジューラ600に送信する。また、プルプリントサーバ305は、デバイススケジューラ600にジョブ/デバイス状態を通知させるためのイベント登録を要求する。更に、プルプリントサーバ305は、デバイススケジューラ600がスケジュール管理するジョブの情報を取得するジョブリスト取得コマンドを発行し、ジョブリストを取得する。一方、デバイススケジューラ600は、接続要求を受け付けると、これに含まれるクライアント情報1502(図15)をクライアント管理キュー1501(図15)により登録する。また、デバイススケジューラ600は、イベント登録の要求を受け付けると、これを該当するクライアント情報(図15の1502)の登録イベントに設定する。更に、デバイススケジューラ600は、ジョブリスト要求を受け付けると、ジョブ管理キュー1601(図16)に登録されているジョブ情報1602のリストを、ジョブリストとしてプルプリントサーバ305へ送信する。   When receiving the authentication information, the pull print server 305 starts session connection with the device scheduler 600. When the session connection is started, the pull print server 305 transmits a connection request command for notifying its own client information (including the contents shown in the client information 1502 in FIG. 15) to the device scheduler 600. Further, the pull print server 305 requests event registration for causing the device scheduler 600 to notify the job / device status. Further, the pull print server 305 issues a job list acquisition command for acquiring information on jobs that are scheduled and managed by the device scheduler 600, and acquires a job list. On the other hand, when receiving a connection request, the device scheduler 600 registers the client information 1502 (FIG. 15) included in the request by the client management queue 1501 (FIG. 15). Further, upon receiving an event registration request, the device scheduler 600 sets this as a registration event of the corresponding client information (1502 in FIG. 15). Further, upon receiving a job list request, the device scheduler 600 transmits a list of job information 1602 registered in the job management queue 1601 (FIG. 16) to the pull print server 305 as a job list.

次に、プルプリントサーバ305が印刷を予約するためのスケジュール要求のコマンドを発行する。スケジュール要求には印刷すべきジョブのジョブ情報1002(図10)が付加されている。但し、「ジョブID」については、図7の「スケジュール要求」に応じて、デバイススケジューラ600により生成され返信されたものが設定される。   Next, the pull print server 305 issues a schedule request command for reserving printing. Job information 1002 (FIG. 10) of the job to be printed is added to the schedule request. However, as the “job ID”, the one generated and returned by the device scheduler 600 in response to the “schedule request” in FIG. 7 is set.

デバイススケジューラ600はスケジュール要求を受け付けると、ジョブ管理キュー1601(図16)にジョブ情報1602(図16)を登録する。ここで、図16中のジョブIDは図10におけるジョブIDと同じもの、或は、対応するものであり、上に説明したジョブ管理部603が発行したものに相当する。ジョブ情報1602には、ドキュメント名等の情報が設定される。デバイススケジューラ600は、当該プリントデバイス306が、印刷データを受け付けられるようになったかどうかを判断する(判断方法については後述する)。受け付けられるようになったと判断した場合、ジョブ管理キュー1601に従って処理すべきジョブを特定し、その依頼元のプルプリントサーバに当該ジョブのスケジュールUPを発行する。なお、クライアント情報1502とジョブ情報1602の何れにも「クライアントIPアドレス」が記録されている。従って、クライアント管理キュー1501によって登録されたクライアント情報のうち、どのクライアント情報がジョブの依頼元のクライアントのものであるかは、クライアントIPアドレスを参照することで判断できる。このスケジュールUPの発行により、印刷データの送信を開始するようにプルプリントサーバ305を促す。また、デバイススケジューラ600は、スケジュールUPを発行すると、当該ジョブのジョブ情報1602におけるジョブ状態を「スケジュールUP」に更新する。
プルプリントサーバ305は、スケジュールUPを受け付けると、LPD/RAW510へ印刷データの転送を開始し、転送が始まるとデバイススケジューラ600に対して転送開始を通知する。デバイススケジューラ600は、この転送開始通知を受けると、当該ジョブのジョブ情報1602におけるジョブ状態を「転送中」に更新する。
Upon receiving the schedule request, the device scheduler 600 registers the job information 1602 (FIG. 16) in the job management queue 1601 (FIG. 16). Here, the job ID in FIG. 16 is the same as or corresponding to the job ID in FIG. 10, and corresponds to the job ID issued by the job management unit 603 described above. Information such as a document name is set in the job information 1602. The device scheduler 600 determines whether the print device 306 can accept print data (the determination method will be described later). If it is determined that the job can be accepted, the job to be processed is specified according to the job management queue 1601, and the schedule UP of the job is issued to the pull print server that requested the job. Note that “client IP address” is recorded in both the client information 1502 and the job information 1602. Therefore, it can be determined by referring to the client IP address which client information of the client information registered by the client management queue 1501 belongs to the client that requested the job. Issuing this schedule UP prompts the pull print server 305 to start sending print data. When the device scheduler 600 issues a schedule UP, the device scheduler 600 updates the job status in the job information 1602 of the job to “schedule UP”.
Upon receiving the schedule UP, the pull print server 305 starts transferring the print data to the LPD / RAW 510, and notifies the device scheduler 600 of the transfer start when the transfer starts. Upon receiving this transfer start notification, the device scheduler 600 updates the job status in the job information 1602 of the job to “in transfer”.

LPD/RAW510は、印刷データを受け付けるとプリンタコントローラ219にデータを転送する。プリンタコントローラ219は、LPD/RAW510から転送されたデータに基づいて印刷を開始する。プリンタコントローラ219は、印刷を開始すると、当該ジョブの印刷状態をデバイススケジューラ600に通知する。デバイススケジューラ600は、クライアント情報1502(図15)の登録イベントの情報を基に、プルプリントサーバ305にジョブの印刷状態(制御対象のジョブの進行状況)を通知する。   When the LPD / RAW 510 receives print data, the LPD / RAW 510 transfers the data to the printer controller 219. The printer controller 219 starts printing based on the data transferred from the LPD / RAW 510. When printing starts, the printer controller 219 notifies the device scheduler 600 of the print status of the job. The device scheduler 600 notifies the pull print server 305 of the print status of the job (the progress status of the job to be controlled) based on the registration event information in the client information 1502 (FIG. 15).

プルプリントサーバ305は、LPD/RAW510への印刷データの転送が終了すると、デバイススケジューラ600に対して転送終了通知を送信する。デバイススケジューラ600は、転送終了通知を受けると、ジョブ情報1602のジョブ状態を「転送済」に更新する。   When the print data transfer to the LPD / RAW 510 is completed, the pull print server 305 transmits a transfer end notification to the device scheduler 600. Upon receiving the transfer end notification, the device scheduler 600 updates the job status of the job information 1602 to “transferred”.

その後、プリンタコントローラ219で印刷処理が終了すると、ジョブの印刷状態として印刷完了の通知をデバイススケジューラ600に通知する。デバイススケジューラ600は、クライアント情報1502の登録イベントの情報を基に、プルプリントサーバ305にジョブの印刷完了を通知する(印刷状態通知)。   Thereafter, when the printer controller 219 completes the printing process, it notifies the device scheduler 600 of a print completion notification as the print status of the job. The device scheduler 600 notifies the pull print server 305 of the completion of job printing based on the registration event information in the client information 1502 (print status notification).

プルプリントサーバ305は、ジョブの印刷完了を示す印刷状態通知により印刷が完了したことを確認すると、以降はプリントデバイスからの通知は不要となる。従って、プルプリントサーバ305は、デバイススケジューラ600からのイベント通知に関する登録イベントを解除するためのイベント解除要求を発行する。デバイススケジューラ600は、イベント解除要求を受け付けると、クライアント情報1502の登録イベントにイベントを通知しない旨の情報を設定する。   When the pull print server 305 confirms that the printing is completed by the print status notification indicating the completion of printing of the job, the notification from the print device is no longer necessary. Accordingly, the pull print server 305 issues an event cancel request for canceling a registered event related to event notification from the device scheduler 600. When the device scheduler 600 receives the event cancellation request, the device scheduler 600 sets information indicating that the event is not notified to the registered event of the client information 1502.

その後、プルプリントサーバ305は、デバイススケジューラ600との接続を終了するための切断要求を発行し、本セッションを終了する。デバイススケジューラ600は、切断要求を受け付けると、クライアント管理キュー1501から該当するクライアント情報を削除し、プルプリントサーバ305との処理を終了する。   Thereafter, the pull print server 305 issues a disconnection request for ending the connection with the device scheduler 600 and ends this session. Upon receiving the disconnection request, the device scheduler 600 deletes the corresponding client information from the client management queue 1501 and ends the processing with the pull print server 305.

図8は、本実施形態の概略動作を示す図である。図8を用いて、本実施形態の印刷システムによる動作概略を説明する。   FIG. 8 is a diagram showing a schematic operation of the present embodiment. An outline of the operation of the printing system according to the present embodiment will be described with reference to FIG.

まずS801において、プルプリントエージェント606及びデバイススケジューラ600の各タスクが初期化される。この初期化処理の中で、デバイススケジューラ600は、プリンタエンジン制御部514にイベントの登録(イベント登録)を行う(S802)。これはプリンタエンジン216内でジョブが処理された際のジョブ状態変化や、プリンタにおけるエラーの発生(ジャムやカバーオープン等)などのデバイス状態変化等をデバイススケジューラ600を介してプルプリントサーバ305へ通知するためのものである。上述したようにデバイススケジューラ600は初期化処理が完了するとイベント待ちのループに入る。また、プルプリントエージェント606も初期処理の完了でイベント待ちのループに入る。   First, in S801, the tasks of the pull print agent 606 and the device scheduler 600 are initialized. During this initialization process, the device scheduler 600 registers an event (event registration) in the printer engine control unit 514 (S802). This is to notify the pull print server 305 via the device scheduler 600 of job status changes when jobs are processed in the printer engine 216, device status changes such as the occurrence of errors in the printer (jam, cover open, etc.), etc. Is to do. As described above, when the initialization process is completed, the device scheduler 600 enters an event waiting loop. The pull print agent 606 also enters an event waiting loop upon completion of the initial processing.

プルプリントエージェント606は、認証情報記録媒体521が認証情報読取装置520に挿入されたことを検知すると、認証情報記録媒体521に記録されている認証情報を読み込む(S803)。そして、不図示の認証機構によってカード(認証情報記録媒体521)のオーナーを特定し、ユーザ識別情報を得る。また、プルプリントエージェント606は、プリンタエンジン制御部514を経由して当該プリントデバイスの構成情報を取得する(S804)。此処で取得する構成情報とは、用紙残量やトナーの有無と言った消耗品情報と、両面ユニットやステイプル装置(フィニッシャー)の使用可否といった装置情報を含む。   When the pull print agent 606 detects that the authentication information recording medium 521 is inserted into the authentication information reading device 520, the pull print agent 606 reads the authentication information recorded in the authentication information recording medium 521 (S803). Then, the owner of the card (authentication information recording medium 521) is specified by an authentication mechanism (not shown) to obtain user identification information. In addition, the pull print agent 606 acquires configuration information of the print device via the printer engine control unit 514 (S804). The configuration information acquired here includes consumable information such as the remaining amount of paper and the presence / absence of toner, and device information such as the availability of the duplex unit and the staple device (finisher).

続いて、プルプリントエージェント606は、S803で取得したユーザ識別情報とS804で取得したデバイス構成情報をプルプリントサーバ305へ通知する(S805)。本実施形態では、この通知をセッション開始通知と定義する。プルプリントサーバ305はセッション開始通知を受け取るとユーザ識別情報及びデバイス構成情報から印刷可能なジョブを選択する。この処理は図14を用いて後述する。   Next, the pull print agent 606 notifies the pull print server 305 of the user identification information acquired in S803 and the device configuration information acquired in S804 (S805). In this embodiment, this notification is defined as a session start notification. Upon receiving the session start notification, the pull print server 305 selects a printable job from the user identification information and device configuration information. This process will be described later with reference to FIG.

プルプリントサーバ305は印刷を実行するために、まずイベント登録及びジョブのスケジュール予約を行う(S806)。このイベント登録は図7により前述したとおりである。また、スケジュール予約については図14を用いて後述する。続いて、プルプリントサーバ305はデバイススケジューラ600よりスケジュールUPを受信する(S807)。スケジュールUPを受信した際のプルプリントサーバ305の処理の詳細は図22により後述する。プルプリントサーバ305は、スケジュールUPを受信すると、事前に通知されたユーザ識別情報に対応する1つ又は複数の印刷ジョブをプルプリントキューから読込、プリンタエンジン制御部514に出力する(S808)。より正確には、プルプリントサーバ305はLPD/RAW510に印刷データを転送し、LPD/RAW510は印刷データをイメージに展開してプリンタコントローラ219へ転送する。   The pull print server 305 first performs event registration and job schedule reservation in order to execute printing (S806). This event registration is as described above with reference to FIG. The schedule reservation will be described later with reference to FIG. Subsequently, the pull print server 305 receives the schedule UP from the device scheduler 600 (S807). Details of processing of the pull print server 305 upon receiving the schedule UP will be described later with reference to FIG. Upon receiving the schedule UP, the pull print server 305 reads one or more print jobs corresponding to the user identification information notified in advance from the pull print queue and outputs them to the printer engine control unit 514 (S808). More precisely, the pull print server 305 transfers the print data to the LPD / RAW 510, and the LPD / RAW 510 develops the print data into an image and transfers it to the printer controller 219.

また、プルプリントエージェント606は、認証情報記録媒体521が取り出され、ユーザ識別情報を入力できなくなったことを検知すると(S809)、該検知に応じた通知をプリントサーバ305に行う(S810)。例えば認証情報記録媒体521が取り外し検知に応じた通知としてキャンセル指示とジョブ保持指示をプルプリントサーバ305に出す。なお、図8中には、「ジョブキャンセル&保持命令」と記載されているが通知内容としてこれに限定される訳ではない。プルプリントサーバ305が印刷ジョブ制御を行うかを識別可能するための通知であれば、例えば、認証情報記録媒体521が取り出されたことを示す情報であっても良い。プルプリントサーバ305は、S810のプリンタからの通知に応じて、デバイススケジューラ600にジョブ制御指示としてキャンセル指示を出す(S811)。デバイススケジューラ600はジョブキャンセル指示を受けると、プリンタエンジン制御部514に対しジョブキャンセル指示を出す(S812)。このジョブキャンセル指示を受けてプリンタエンジン制御部514は現在印刷中の処理を終了させ、ジョブのキャンセルを実行する。こうしてジョブのキャンセルが実行されると、デバイススケジューラ600にジョブキャンセルを通知するイベントが発行される(S813)。デバイススケジューラ600は、プリンタエンジン制御部514からジョブキャンセルの通知を受けると、プルプリントサーバ305に対して印刷が完了し実際に排紙完了した印刷面数を通知する(S814)。プルプリントサーバ305は、通知を受けた印刷面数が当該ジョブの総面数よりも少ない場合は、後に継続した印刷を可能にするべく、当該ジョブを保持する処理を行うが、この詳細については図22のフローチャートを参照して後述する。   When the pull print agent 606 detects that the authentication information recording medium 521 has been taken out and user identification information can no longer be input (S809), it notifies the print server 305 according to the detection (S810). For example, the authentication information recording medium 521 issues a cancel instruction and a job holding instruction to the pull print server 305 as notification in response to detection of removal. In FIG. 8, “job cancel & hold instruction” is described, but the notification content is not limited to this. For example, information indicating that the authentication information recording medium 521 has been taken out may be used as long as it is a notification for identifying whether the pull print server 305 performs print job control. In response to the notification from the printer in S810, the pull print server 305 issues a cancel instruction as a job control instruction to the device scheduler 600 (S811). Upon receiving the job cancel instruction, the device scheduler 600 issues a job cancel instruction to the printer engine control unit 514 (S812). In response to the job cancel instruction, the printer engine control unit 514 terminates the process that is currently being printed, and cancels the job. When job cancellation is executed in this way, an event for notifying the device scheduler 600 of job cancellation is issued (S813). Upon receiving the job cancellation notification from the printer engine control unit 514, the device scheduler 600 notifies the pull print server 305 of the number of printed pages that have been printed and actually discharged (S814). The pull print server 305 performs processing to hold the job so as to enable subsequent printing when the notified number of prints is less than the total number of pages of the job. This will be described later with reference to the flowchart of FIG.

図9は、プルプリントサーバ305にプルプリント用のジョブを登録する処理を説明するフローチャートである。   FIG. 9 is a flowchart for explaining processing for registering a pull print job in the pull print server 305.

図9(a)はアプリケーション301からジョブを登録する処理を示している。S901において、アプリケーション301はジョブを生成し、プリンタを指定して印刷指示を発行する。902において、この印刷指示に基づいてPDLドライバ302は、印刷ジョブを生成し、スプーラ303を介して印刷所ブをジョブ制御ポートモニタ304に渡す。そして、ジョブ制御ポートモニタ304は、当該印刷ジョブをプルプリントサーバ305に渡す。以下、S903〜S906の処理はプルプリントサーバ305の処理である。   FIG. 9A shows processing for registering a job from the application 301. In step S901, the application 301 generates a job, designates a printer, and issues a print instruction. In step 902, the PDL driver 302 generates a print job based on the print instruction, and passes the print job to the job control port monitor 304 via the spooler 303. Then, the job control port monitor 304 passes the print job to the pull print server 305. Hereinafter, the processing of S903 to S906 is the processing of the pull print server 305.

即ち、S903において、プルプリントサーバ305は、ユーザ識別情報を取得し、S904においてこのユーザ識別情報を印刷ジョブに埋め込む。本実施形態では、プルプリントサーバ305は、印刷ジョブに対応するジョブ情報1002を生成し、これにユーザ識別情報を記述する。なお、ユーザ識別情報は認証情報記録媒体521に記録しておく認証情報と同じ情報であり、本実施形態では、不図示のGUIを提供してユーザに情報を入力させることにより認証情報は取得されるものとする。もちろん、識別情報が登録されたICカードからカードリーダによって識別情報を読み取り、ユーザ識別情報として用いるようにしてもよい。   That is, in S903, the pull print server 305 acquires user identification information, and in S904, embeds this user identification information in the print job. In the present embodiment, the pull print server 305 generates job information 1002 corresponding to a print job, and describes user identification information therein. The user identification information is the same information as the authentication information recorded in the authentication information recording medium 521. In this embodiment, the authentication information is acquired by providing a GUI (not shown) and allowing the user to input information. Shall be. Of course, the identification information may be read by a card reader from an IC card in which the identification information is registered and used as user identification information.

次に、S905で、プルプリントサーバ305は、ジョブ状態を「停止」にする。そしてS906で、プルプリントサーバ305は、プル用のプリントキュー401に状態を「停止」にしたジョブを留め置く。   In step S <b> 905, the pull print server 305 sets the job status to “stop”. In step S <b> 906, the pull print server 305 holds the job whose status is “stopped” in the pull print queue 401.

また、ジョブの登録方法ではアプリケーション301から登録する方法の他にジョブ登録アプリケーション309からジョブを登録することも可能である。この場合、ジョブ登録アプリケーション309は、図3に示すようにプルプリントサーバ305と異なるクライアントPC上に存在していても良い。ジョブ登録アプリケーション309には、例えば帳票印刷データを出力するアプリケーションや、カタログ印刷データを出力するカタログ出力アプリケーション等を適用できる。   In addition to the method for registering from the application 301, the job registration method can also register a job from the job registration application 309. In this case, the job registration application 309 may exist on a client PC different from the pull print server 305 as shown in FIG. For example, an application that outputs form print data or a catalog output application that outputs catalog print data can be applied to the job registration application 309.

図9(b)はジョブ登録アプリケーションからジョブを登録する処理を説明するフローチャートである。S911において、ジョブ登録アプリケーション309は、PDLドライバを用いて作成された印刷ジョブを選択する。次に、S912において、ジョブ登録アプリケーション309上からユーザ識別情報を取得し、S913においてこのユーザ識別情報を選択された印刷ジョブに埋め込む。例えば、上述したように、ジョブ情報1002の「ユーザ識別情報」として記述する。なお、このユーザ識別情報は、認証情報記録媒体521に記録しておく認証情報と同じ情報である。   FIG. 9B is a flowchart illustrating processing for registering a job from the job registration application. In step S911, the job registration application 309 selects a print job created using the PDL driver. In step S912, user identification information is acquired from the job registration application 309. In step S913, the user identification information is embedded in the selected print job. For example, as described above, the job information 1002 is described as “user identification information”. The user identification information is the same information as the authentication information recorded on the authentication information recording medium 521.

次に、S914でジョブの状態を「停止」にする。そして、S915においてAPI610を介して、プル用のプリントキュー401にジョブを留め置く。   In step S914, the job status is set to “stop”. In step S915, the job is retained in the pull print queue 401 via the API 610.

以上のような登録処理により、ある特定のユーザが作成する複数の印刷ジョブには共通のユーザ識別情報が含まれることになる。このようなユーザ識別情報は、所定のユーザインターフェースを介してユーザから直接入力されるものとしたが、ユーザ識別情報の管理方法はこれに限られるものではない。例えば、メモリカードに記録されたユーザIDを読み出し、これをユーザ識別情報として用いてもよい。更に、ユーザIDを本実施形態のプルプリントで用いるユーザ識別情報と対応付けて管理しておき、ユーザIDの指定に応じて対応するユーザ識別情報を取得して印刷ジョブに関連付けるようにしてもよい。そして、本実施形態では、このユーザ識別情報によりプルプリントにおける印刷ジョブの指定がなされる。なお、上記の登録においてはユーザ識別情報を印刷ジョブ(ジョブ情報)に埋め込んでユーザ識別情報を印刷情報に関連付けているが、リンク情報を用いるなどして関連付けるようにしてもよい。   Through the registration process as described above, common user identification information is included in a plurality of print jobs created by a specific user. Such user identification information is directly input from the user via a predetermined user interface, but the management method of the user identification information is not limited to this. For example, the user ID recorded on the memory card may be read and used as user identification information. Further, the user ID may be managed in association with the user identification information used in the pull printing of the present embodiment, and the corresponding user identification information may be acquired in accordance with the user ID designation and associated with the print job. . In this embodiment, a print job for pull printing is designated by this user identification information. In the above registration, the user identification information is embedded in the print job (job information) and the user identification information is associated with the print information. However, the user identification information may be associated with the print information.

図10は、プルプリントサーバ305が印刷すべく発行したスケジュール要求に付加されるジョブ情報1002と、プルプリントサーバ305が複数のジョブ情報を管理するために用いるジョブ管理キュー1001のデータ構成例を示す図である。図10に示されるジョブ管理キュー及びジョブ情報はプルプリントサーバ305側に保持される。ジョブ管理キュー1001はプルプリント用のプリントキュー401に対応する。なお、図示されるジョブ管理キュー1001では、ジョブ情報そのものではなく、ジョブ情報とのリンクを示すジョブIDが管理されている。ここでこのジョブ管理キュー1001は、上に説明した図8のプリントキュー401、401Aに相当させることができる。   FIG. 10 shows a data configuration example of job information 1002 added to a schedule request issued for printing by the pull print server 305 and a job management queue 1001 used by the pull print server 305 to manage a plurality of job information. FIG. The job management queue and job information shown in FIG. 10 are held on the pull print server 305 side. The job management queue 1001 corresponds to the print queue 401 for pull printing. In the illustrated job management queue 1001, not the job information itself but a job ID indicating a link with the job information is managed. Here, the job management queue 1001 can correspond to the print queues 401 and 401A of FIG. 8 described above.

ジョブ情報1002は、プルプリントサーバ305が印刷を開始するために発行するスケジュール要求に付加される印刷ジョブの情報である。ジョブ情報1002において、「ドキュメント名」は当該印刷ジョブのドキュメント名を、「ジョブID」はジョブ管理部603が発行したジョブIDを示す。また、このジョブIDは、図7等で説明したスケジュール要求に応じてデバイススケジューラ600からプルプリントサーバ305に応答され、プルプリントサーバ305により管理される。また、「ユーザ名」はクライアントで印刷を開始したユーザ名を示す。「ページ数」はジョブのページ数を、「ジョブ状態」は印刷ジョブの状況を表す。「ジョブ保持フラグ」は、ジョブキャンセル時に当該ジョブを保持するかを表すフラグである。また、「再印刷開始ページ」には、印刷が中断されたジョブについて、どこまで印刷ジョブが完了したかを示すジョブ進行状況情報に基づいて、当該ジョブの再印刷時の開始ページが登録される。この再印刷開始ページから印刷を再開することにより、処理が中断された印刷ジョブを、その中断位置から再開させることができる。よって、ファースト印刷時は、「再印刷開始ページ」には0が設定されている。「ユーザ識別情報」は上述のとおりである。   The job information 1002 is print job information added to a schedule request issued by the pull print server 305 to start printing. In the job information 1002, “document name” indicates the document name of the print job, and “job ID” indicates the job ID issued by the job management unit 603. The job ID is managed by the pull print server 305 in response to the pull print server 305 from the device scheduler 600 in response to the schedule request described with reference to FIG. “User name” indicates the name of the user who started printing on the client. “Number of pages” represents the number of pages of the job, and “Job status” represents the status of the print job. The “job holding flag” is a flag indicating whether or not to hold the job when canceling the job. Also, in the “reprint start page”, a start page at the time of reprinting the job is registered based on job progress status information indicating how far the print job has been completed for a job for which printing has been interrupted. By resuming printing from this reprint start page, the print job whose processing has been interrupted can be restarted from the interrupt position. Therefore, 0 is set in the “reprint start page” during the first printing. The “user identification information” is as described above.

ここで「再印刷開始ページ」とは、図8のS814の印刷進行状況に示す情報に基づき算出されたジョブ状態状況情報に相当する。但し、「再印刷開始ページ」に限られるものではない。再度プリンタ側からユーザ識別情報が入力され、該入力されたユーザ識別情報に対応して読込まれる印刷ジョブの出力開始ページを特定できる情報であれば、他の情報であっても良い。例えば、「再印刷開始ページ」の変わりにS814の通知情報(ジョブ進行状況情報)をそのまま格納し、再度ユーザ識別情報の入力があった場合に、格納された通知情報に元に再印刷開始ページを算出しても良い。   Here, the “reprint start page” corresponds to the job status information calculated based on the information indicating the print progress status in S814 in FIG. However, it is not limited to “reprint start page”. Other information may be used as long as the user identification information is input again from the printer side and the information can specify the output start page of the print job read in correspondence with the input user identification information. For example, instead of “reprint start page”, the notification information (job progress status information) in S814 is stored as it is, and when user identification information is input again, the reprint start page is based on the stored notification information. May be calculated.

また、認証情報記録媒体521が検知できなくなり、ジョブキャンセルを実行する場合は(後述のS2203)、まず、ジョブ情報1002のジョブ保持フラグをONに設定し、当該ジョブをプルプリントサーバ305で保持する。また、このとき、ジョブキャンセル時点での印刷完了ページがデバイススケジューラ600から通知されるので、プルプリントサーバ305は通知された値に1をプラスし、ジョブ情報1002の「再印刷開始ページ」に設定する。再度、認証情報記録媒体521が検知されると、プルプリントサーバ305は保存されているジョブを再印刷させる。このとき、再印刷は「再印刷開始ページ」に設定されているページから印刷を行う。   When the authentication information recording medium 521 cannot be detected and job cancellation is executed (S 2203 described later), first, the job holding flag of the job information 1002 is set to ON, and the job is held in the pull print server 305. . At this time, since the print completion page at the time of job cancellation is notified from the device scheduler 600, the pull print server 305 adds 1 to the notified value and sets it to the “reprint start page” of the job information 1002 To do. When the authentication information recording medium 521 is detected again, the pull print server 305 reprints the stored job. At this time, reprinting is performed from the page set as the “reprint start page”.

「ジョブ状態」は、プリントサーバ305が印刷のスケジュール要求を発行してからジョブがプリンタから無くなるまでのジョブの状態を表している。ジョブの状態としては、印刷待機中、スケジュールUP状態、転送中、転送済み、印刷完了などの状態がある。   “Job status” represents a job status from when the print server 305 issues a print schedule request to when the job disappears from the printer. The job status includes statuses such as waiting for printing, schedule UP status, transferring, transferring completed, and printing completed.

「ジョブID」は、印刷データに含まれるジョブのIDで、プリントデバイス側からプリンタコントローラ219内のジョブ状態をプリントサーバ側に通知する時などに付加させる情報である。   “Job ID” is an ID of a job included in the print data, and is information added when the print device side notifies the print server side of the job status in the printer controller 219.

ジョブ管理キュー1001は、複数のジョブ情報1002を管理するための管理キューである。上位アプリケーションからの印刷要求を受け付けると、ジョブ情報1002がジョブ管理キュー1001に登録される。また、印刷ジョブが印刷終了すると、該当するジョブ情報はジョブ管理キュー1001から削除される。   The job management queue 1001 is a management queue for managing a plurality of job information 1002. When a print request from a higher-level application is received, job information 1002 is registered in the job management queue 1001. When the print job is finished printing, the corresponding job information is deleted from the job management queue 1001.

一方、印刷のスケジュール要求が発行された場合、ジョブ管理キュー1001、ジョブ情報1002に関連して、指定された出力先の情報も管理される。その様子を図11に示す。図11は、プルプリントサーバ305が管理するプリンタ情報1101とポート情報1102のデータ構成例を表している。   On the other hand, when a print schedule request is issued, information on the designated output destination is also managed in association with the job management queue 1001 and the job information 1002. This is shown in FIG. FIG. 11 shows a data configuration example of printer information 1101 and port information 1102 managed by the pull print server 305.

プリンタ情報1101は、プルプリントサーバ305が管理するそれぞれのプリントキューの情報を表している。プリンタ情報には、「プリンタ名」などの情報が含まれている。ポート情報1102は、ジョブ制御プリンタサービスが管理するそれぞれの出力ポートの情報を表している。ポート情報1102には、印刷するデバイスの「IPアドレス」などの情報が含まれる。   Printer information 1101 represents information on each print queue managed by the pull print server 305. The printer information includes information such as “printer name”. Port information 1102 represents information on each output port managed by the job control printer service. The port information 1102 includes information such as the “IP address” of the device to be printed.

なお、後述のS1402でプリントキュー、出力ポートを特定すると、プルプリントエージェント606から送信された情報1301(図13)の内のデバイスアドレスがポート情報1102の「IPアドレス」にセットされる。また、プルプリントエージェント606から送信された情報の内のデバイス構成はポート情報1102の「デバイス構成」にセットされる。   When a print queue and an output port are specified in S1402 described later, the device address in the information 1301 (FIG. 13) transmitted from the pull print agent 606 is set in the “IP address” of the port information 1102. Further, the device configuration in the information transmitted from the pull print agent 606 is set in “device configuration” of the port information 1102.

図12は、プルプリントエージェント606で認証情報を検知し、認証情報記録媒体521からプルプリントするために必要な情報をプルプリントサーバ305に通知するまでの処理を示すフローチャートである。   FIG. 12 is a flowchart showing a process from detection of authentication information by the pull print agent 606 to notification of information necessary for pull printing from the authentication information recording medium 521 to the pull print server 305.

まず、認証情報読取装置520は認証情報記録媒体521の状態変化を検知する。認証情報記録媒体521の状態変化とは、例えば認証情報読取装置520がカードリーダの場合には、認証情報記録媒体521(カード)が抜かれた、または、挿入された等の変化を指す。また、例えば認証情報読取装置520が認証情報記録媒体521を赤外線センサー等で検知する場合、認証情報記録媒体521の状態変化とは認証情報記録媒体521の存在状態(有無)が変化したかどうかを指す。また、認証情報読取装置520にユーザが手等をかざすことにより認証する装置(手のひらの静脈パターンを用いた認証)の場合も、上記と同様である。この場合、例えばプルプリントによる印刷の実行中、手をかざし続けることになる。S1201では、プルプリントエージェント606は、上述のような認証情報記録媒体521の状態変化の検知を認証情報読取装置520から受信する。   First, the authentication information reading device 520 detects a change in the state of the authentication information recording medium 521. The state change of the authentication information recording medium 521 indicates a change such as when the authentication information recording medium 521 (card) is removed or inserted when the authentication information reading device 520 is a card reader. For example, when the authentication information reading device 520 detects the authentication information recording medium 521 with an infrared sensor or the like, the state change of the authentication information recording medium 521 indicates whether the presence state (presence / absence) of the authentication information recording medium 521 has changed. Point to. The same applies to the case of an apparatus that authenticates by holding a hand or the like over the authentication information reading apparatus 520 (authentication using a palm vein pattern). In this case, for example, the user keeps holding his / her hand during printing by pull printing. In step S <b> 1201, the pull print agent 606 receives the detection of the change in the state of the authentication information recording medium 521 as described above from the authentication information reading device 520.

認証情報記録媒体521の状態の変化が検知され、認証情報記録媒体521が存在すると判定された場合、処理はS1202からS1203に移行し、プルプリントエージェント606は、認証情報記録媒体521から認証情報(ユーザ識別情報)を取得する。次にS1204において、プルプリントエージェント606は、当該プリントデバイスから、当該デバイスを特定するためのデバイスアドレスを取得するとともに、デバイスの構成情報を取得(図8のS804)する。此処で取得する構成情報は、用紙残量やトナーの有無と言った消耗品情報と、両面ユニットやステイプル装置(フィニッシャー)の使用可否といった装置情報を含む。次にS1205において、プルプリントエージェント606は、S1203で取得した識別情報及びS1204で取得したデバイスアドレス及びデバイス構成情報をプルプリントサーバ305に通知する(S805)。   If a change in the state of the authentication information recording medium 521 is detected and it is determined that the authentication information recording medium 521 is present, the process proceeds from S1202 to S1203, and the pull print agent 606 receives authentication information (from the authentication information recording medium 521). User identification information). In step S1204, the pull print agent 606 acquires a device address for specifying the device from the print device, and acquires device configuration information (S804 in FIG. 8). The configuration information acquired here includes consumable information such as the remaining amount of paper and the presence / absence of toner, and device information such as whether or not a duplex unit and a staple device (finisher) can be used. In step S1205, the pull print agent 606 notifies the pull print server 305 of the identification information acquired in step S1203 and the device address and device configuration information acquired in step S1204 (S805).

一方、S1202において、認証情報記録媒体521が存在しない場合は、認証情報の入力の解除がなされたものとして、処理はS1206に移行する。S1206では、プルプリントエージェント606は、印刷継続フラグに基づき処理を分岐する。この印刷継続フラグは予め認証情報記録媒体521に記憶させておき、認証情報読取装置520に読み取らせることによりネットワークプリンタ104に入力できる。また、ネットワークプリンタ104の操作部から設定させるようにしても良いし、或は、印刷ジョブに印刷継続フラグの情報を含ませ、該含ませた印刷継続フラグをネットワークプリンタ104が読み込むようにしても良い。   On the other hand, if the authentication information recording medium 521 does not exist in S1202, the process proceeds to S1206 assuming that the input of authentication information has been canceled. In step S1206, the pull print agent 606 branches the process based on the print continuation flag. The print continuation flag is stored in advance in the authentication information recording medium 521 and can be input to the network printer 104 by causing the authentication information reading device 520 to read the print continuation flag. Further, it may be set from the operation unit of the network printer 104, or the print continuation flag information may be included in the print job, and the network printer 104 may read the included print continuation flag. good.

この印刷継続フラグがOFFであった場合はS1207に移行する。S1207では、印刷ジョブのキャンセル及びジョブの保持命令をプルプリントサーバ305に通知する(S810)。なお、図8のS810で説明したように、S1207の通知は、プルプリントサーバ305が印刷ジョブ制御を行うかを識別可能するための通知であればよく、例えば、認証情報記録媒体521が取り出されたことを示す情報であっても良い。一方、S1206において、印刷継続フラグがONであった場合は、S1207によるジョブのキャンセルを行わずに処理を終了する。   If the print continuation flag is OFF, the process proceeds to S1207. In step S1207, the pull print server 305 is notified of a print job cancel and job hold command (S810). As described in S810 of FIG. 8, the notification in S1207 may be a notification for identifying whether the pull print server 305 performs the print job control. For example, the authentication information recording medium 521 is taken out. It may be information indicating that. On the other hand, if the print continuation flag is ON in S1206, the process ends without canceling the job in S1207.

図13はプルプリントエージェント606がS1205においてプルプリントサーバ305に送る情報のデータ構成例を示す図である。情報テーブル1301は、認証情報読取装置520で認証情報記録媒体521を検知した後にプルプリントエージェント606がプルプリントサーバ305に送信する情報が登録されている。情報テーブル1301の内容は、「デバイスアドレス」、「識別情報」、「デバイス構成情報」、「印刷継続フラグ」である。   FIG. 13 is a diagram illustrating a data configuration example of information that the pull print agent 606 sends to the pull print server 305 in step S1205. The information table 1301 registers information that the pull print agent 606 transmits to the pull print server 305 after the authentication information reading device 520 detects the authentication information recording medium 521. The contents of the information table 1301 are “device address”, “identification information”, “device configuration information”, and “print continuation flag”.

「ユーザ識別情報」は、プルプリントの対象となるジョブを特定するために用いる情報を指す。なお、本実施形態では、プルプリントの対象となるジョブを特定するために各々のジョブに関連付けされているジョブの作成者(ユーザ名)を用いるがこれに限られるものではない。ジョブを固有に識別するジョブIDやジョブ名を利用してもよい。   “User identification information” refers to information used to specify a job to be pulled. In this embodiment, the job creator (user name) associated with each job is used to specify the job to be pulled, but the present invention is not limited to this. A job ID or job name that uniquely identifies the job may be used.

「印刷継続フラグ」は、この値がONの場合は、印刷中に認証情報読取装置520から記録情報記録媒体521が検知できなくなってもジョブをキャンセルせず、そのまま印刷を継続するモードとすることを示す。「印刷継続フラグ」の値がOFFの場合(デフォルトはOFF)は、記録情報記録媒体521が検知できなくなるとジョブがキャンセルされる。   When this value is ON, the “print continuation flag” is set to a mode in which printing is continued as it is without canceling the job even if the recording information recording medium 521 cannot be detected from the authentication information reading device 520 during printing. Indicates. When the value of the “print continuation flag” is OFF (default is OFF), the job is canceled when the recording information recording medium 521 cannot be detected.

図14は、クライアントPC101〜103のプルプリントサーバ305が、プルプリントエージェント606から図13に示す情報を受け付けることで実行する印刷データの転送処理を説明するフローチャートである。   FIG. 14 is a flowchart for explaining print data transfer processing executed when the pull print server 305 of the client PCs 101 to 103 receives the information shown in FIG. 13 from the pull print agent 606.

S1401において、プルプリントサーバ305は、プルプリントエージェント606からデバイスアドレス、ユーザ識別情報、デバイス構成情報(図13)を取得する。次に、S1402において、プルプリントサーバ305は、プリントキュー401を特定する。そして、S1403において、プルプリントサーバ305は、プリントキュー401(プルプリント用)に、上記ユーザ識別情報と一致するジョブが留め置かれているかをチェックする。該当するジョブが留め置かれている場合は、S1404において、プルプリントサーバ305は、図11のプリンタ情報1101及びポート情報1102に、S1401で取得したデバイスアドレスとデバイス構成情報を設定してS1405に処理を移行する。該当するジョブが留め置かれていない場合は、S1403からS1420へ進み、プルプリントサーバ305は、プルプリントエージェント606にエラーを通知し、処理を終了する。   In step S1401, the pull print server 305 acquires a device address, user identification information, and device configuration information (FIG. 13) from the pull print agent 606. In step S <b> 1402, the pull print server 305 specifies the print queue 401. In step S1403, the pull print server 305 checks whether a job matching the user identification information is retained in the print queue 401 (for pull printing). If the corresponding job is reserved, in S1404, the pull print server 305 sets the device address and device configuration information acquired in S1401 in the printer information 1101 and the port information 1102 in FIG. To migrate. If the corresponding job is not reserved, the process advances from step S1403 to step S1420, and the pull print server 305 notifies the pull print agent 606 of an error and ends the process.

S1405では、プルプリントサーバ305は、デバイススケジューラ600に対しイベント未登録であるか、または、デバイススケジューラ600から印刷データの転送の開始を指示するスケジュールUPのコマンドを受け付けたか、を判断する。イベント未登録の場合は、S1406に移行する。なお、イベント未登録の状態か否かの判定は、例えば、S1407のイベント登録処理が実行済みか否かにより行うことができる。また、スケジュールUPのコマンドを受け付けるとS1410に処理を移行する。   In step S <b> 1405, the pull print server 305 determines whether an event has not been registered in the device scheduler 600 or whether a schedule UP command for instructing start of print data transfer has been received from the device scheduler 600. If no event is registered, the process proceeds to S1406. Whether or not the event is unregistered can be determined based on whether or not the event registration process of S1407 has been executed. When a schedule UP command is received, the process proceeds to S1410.

イベント未登録の場合は図7の701に示されるやり取りが行われる。まず、S1406において、プルプリントサーバ305は、デバイススケジューラ600に接続するための接続要求コマンドを発行する。接続要求には、自身のIPアドレス(クライアントIPアドレス)が含まれる。プルプリントサーバ305が接続要求を発行すると、プルプリントサーバ305の情報がデバイススケジューラ600のクライアント管理キュー1501(図15)に登録される(図17により後述する)。この登録により、プルプリントサーバ305とデバイススケジューラ600間で情報のやり取りを行うことが可能となる。次に、S1407では、プルプリントサーバ305は、デバイススケジューラ600に対して、ジョブイベント、デバイスイベントを登録する。この処理により、当該プルプリントサーバ305に対応したクライアント情報1502の登録イベントに必要なイベントが登録される。ジョブイベントを登録すると、プルプリントサーバ305が印刷したジョブや、他のクライアントが印刷したジョブの状態の変化がデバイススケジューラ600より通知されることになる。また、デバイスイベントを登録すると、プリントデバイス306の状態の変化がデバイススケジューラ600よりプルプリントサーバ305へ通知されるようになる。   When the event is not registered, the exchange shown by 701 in FIG. 7 is performed. First, in step S <b> 1406, the pull print server 305 issues a connection request command for connecting to the device scheduler 600. The connection request includes its own IP address (client IP address). When the pull print server 305 issues a connection request, information of the pull print server 305 is registered in the client management queue 1501 (FIG. 15) of the device scheduler 600 (described later with reference to FIG. 17). By this registration, information can be exchanged between the pull print server 305 and the device scheduler 600. In step S <b> 1407, the pull print server 305 registers job events and device events in the device scheduler 600. By this processing, an event necessary for the registration event of the client information 1502 corresponding to the pull print server 305 is registered. When a job event is registered, the device scheduler 600 notifies a change in the status of a job printed by the pull print server 305 or a job printed by another client. When a device event is registered, a change in the state of the print device 306 is notified from the device scheduler 600 to the pull print server 305.

S1408では、プルプリントサーバ305は、デバイススケジューラ600で管理しているジョブ管理キュー1601に登録されているジョブIDのリスト(ジョブリスト)を取得する。このジョブリストとジョブイベントにより、デバイススケジューラ600が管理するジョブの印刷状況を把握することが可能となる。以上の処理により印刷する準備が整う。S1409では、プルプリントサーバ305は、デバイスアドレスで特定されるプルプリント用プリントキューからユーザ識別情報が一致する印刷ジョブを選択する。そして、スケジュール要求とともに選択した印刷ジョブのジョブ情報を送ることにより、選択した印刷ジョブをデバイススケジューラに登録させる。そしてS1405に戻り、次の指示を待機する。なお、S1409によるスケジュール要求により、印刷対象のジョブがデバイススケジューラ600のジョブ管理キュー1601に登録され、管理されることになる。   In step S1408, the pull print server 305 acquires a list of job IDs (job list) registered in the job management queue 1601 managed by the device scheduler 600. With this job list and job event, it is possible to grasp the print status of the job managed by the device scheduler 600. The above processing is ready for printing. In step S1409, the pull print server 305 selects a print job having the same user identification information from the pull print queue specified by the device address. Then, the selected print job is registered in the device scheduler by sending the job information of the selected print job together with the schedule request. Then, the process returns to S1405 and waits for the next instruction. Note that a job to be printed is registered and managed in the job management queue 1601 of the device scheduler 600 according to the schedule request in S1409.

一方、S1405においてデバイススケジューラから印刷データの転送指示であるスケジュールUPのコマンドを受け付けると、処理はS1410に移行する。S1410では、プルプリントサーバ305は、印刷対象のジョブのジョブ情報1002の「再印刷開始ページ」を印刷ジョブに設定する。S1411では、プルプリントサーバ305は、転送指示を受けたジョブの転送を開始する。印刷データの送信が開始されると、S1412において、プルプリントサーバ305は、デバイススケジューラ600に転送が開始されたこと(転送開始状態)を通知する。S1413で印刷データの転送が終了すると、S1414においてプルプリントサーバ305は、デバイススケジューラ600に転送が終了したことを通知する。   On the other hand, when a schedule UP command, which is a print data transfer instruction, is received from the device scheduler in S1405, the process proceeds to S1410. In step S1410, the pull print server 305 sets “reprint start page” of the job information 1002 of the job to be printed as a print job. In step S1411, the pull print server 305 starts transferring the job that has received the transfer instruction. When transmission of print data is started, the pull print server 305 notifies the device scheduler 600 that transfer has started (transfer start state) in S1412. When the transfer of the print data is completed in S1413, the pull print server 305 notifies the device scheduler 600 that the transfer is completed in S1414.

図15は、デバイススケジューラ600の通信接続管理部601が管理するクライアント情報1502とクライアント管理キュー1501を示す図である。   FIG. 15 is a diagram showing client information 1502 and a client management queue 1501 managed by the communication connection management unit 601 of the device scheduler 600.

クライアント情報1502は、接続するクライアントPC毎に通信接続管理部601が割り振った「クライアントID」、接続するクライアントPCのIPアドレスを示す「クライアントIPアドレス」を含む。また、クライアント情報1502は、接続するクライアントPCのプルプリントサーバ305が登録したイベントの種類を示す「登録イベント」を含む。イベントの種類とは、プリンタコントローラ219が発行するデバイス状態のイベントやジョブ状態のイベントの種類を表す。   The client information 1502 includes a “client ID” assigned by the communication connection management unit 601 for each connected client PC, and a “client IP address” indicating the IP address of the connected client PC. The client information 1502 includes a “registered event” indicating the type of event registered by the pull print server 305 of the client PC to be connected. The event type represents the type of device status event or job status event issued by the printer controller 219.

クライアント管理キュー1501は、接続したプルプリントサーバ305のクライアント情報1502をキューの形式で保持する。クライアントとのセッションが開始されると、該当するクライアントの情報が本管理キューに登録され、切断すると該当するクライアント情報が削除されるようになっている。   The client management queue 1501 holds client information 1502 of the connected pull print server 305 in a queue format. When the session with the client is started, the information of the corresponding client is registered in this management queue, and when the session is disconnected, the corresponding client information is deleted.

図16は、プルプリントサーバ305が印刷すべく発行したスケジュール要求に付加するジョブ情報1602と、複数発生するジョブ情報を管理するジョブ管理キュー1601を示す図である。ジョブ管理キュー1601及びジョブ情報1602は、プリントデバイス側に保持される。   FIG. 16 is a diagram showing job information 1602 added to a schedule request issued to be printed by the pull print server 305 and a job management queue 1601 for managing a plurality of generated job information. The job management queue 1601 and job information 1602 are held on the print device side.

ジョブ情報1602は、プルプリントサーバ305が印刷を開始するために発行するスケジュール要求に付加される印刷ジョブの情報である。このジョブ情報1602は、印刷ジョブの「ドキュメント名」、デバイススケジューラ600のジョブ管理部603が発行した「ジョブID」、プルプリントサーバ305で印刷を開始した「ユーザ名」、ジョブの「ページ数」を含む。また、ジョブ情報1602には、印刷ジョブの状況を表す「ジョブ状態」、プルプリントサーバ305が転送する印刷データに含まれる「ジョブデータID」、印刷したプルプリントサーバ305のIPアドレスを示す「クライアントIPアドレス」が登録される。   The job information 1602 is print job information added to a schedule request issued by the pull print server 305 to start printing. The job information 1602 includes the “document name” of the print job, the “job ID” issued by the job management unit 603 of the device scheduler 600, the “user name” that started printing on the pull print server 305, and the “number of pages” of the job. including. The job information 1602 includes “job status” indicating the status of the print job, “job data ID” included in the print data transferred by the pull print server 305, and “client” indicating the IP address of the printed pull print server 305. "IP address" is registered.

なお、「ジョブ状態」は、プルプリントサーバ305が印刷のスケジュール要求を発行してからジョブがプリンタから無くなるまでの状態を表しており、印刷待機中、スケジュールアップ状態、転送中、転送済み、印刷完了などの状態が存在する。「ジョブデータID」は、印刷データに含まれるジョブのIDで、プリンタコントローラ219内でのジョブ状態を通知するときなどに付加させるIDである。「ジョブデータID」はプルプリントサーバ305が転送する印刷データに含まれるジョブデータのIDである。「IPアドレス」は印刷したクライアントのIPアドレスを示す。   The “job status” indicates a status from when the pull print server 305 issues a print schedule request to when the job disappears from the printer. A state such as completion exists. The “job data ID” is an ID of a job included in the print data, and is an ID added when a job status in the printer controller 219 is notified. “Job data ID” is an ID of job data included in print data transferred by the pull print server 305. “IP address” indicates the IP address of the printed client.

ジョブ管理キュー1601は、複数のジョブ情報1602を管理するための管理キューである。プルプリントサーバ305からスケジュール要求を受け付けると、ジョブ情報1602が管理キューに登録される。また、対応する印刷ジョブの印刷が終了すると、該当するジョブ情報が削除されるようになっている。   The job management queue 1601 is a management queue for managing a plurality of job information 1602. When a schedule request is received from the pull print server 305, job information 1602 is registered in the management queue. Further, when printing of the corresponding print job is completed, the corresponding job information is deleted.

次に、図17のフローチャートにより、プルプリントサーバ305からの要求や通知、デバイス管理部604からの通知、ジョブ管理部603への要求や通知を処理する通信接続管理部601による処理を説明する。   Next, processing by the communication connection management unit 601 that processes requests and notifications from the pull print server 305, notifications from the device management unit 604, and requests and notifications to the job management unit 603 will be described with reference to the flowchart of FIG.

S1701では、通信接続管理部601は、プルプリントサーバ305やデバイス管理部604、ジョブ管理部603からの通知や要求を受け付け、どの通知や要求であるかを判断する。   In step S1701, the communication connection management unit 601 receives notifications and requests from the pull print server 305, the device management unit 604, and the job management unit 603, and determines which notification or request is the request.

S1701において受け付けた要求やイベントがプルプリントサーバ305からの接続要求であれば、処理はS1702に移行する。S1702において、通信接続管理部601は、クライアント情報1502に自身が発行したクライアントIDと要求を発したプルプリントサーバ305のIPアドレスを設定し、クライアント管理キュー1501にクライアント情報1502を登録する。S1701において受け付けた要求やイベントが、プルプリントサーバ305からのイベント登録の場合、処理はS1703に移行する。S1703において、通信接続管理部601は、該当するクライアント情報1502の登録イベントに、プルプリントサーバから登録すべく要求された通知すべきイベントの種類を設定する。イベントの種類には、ジョブの状態の変化を通知するジョブイベント、デバイスの状態の変化を通知するデバイスイベントがある。   If the request or event accepted in S1701 is a connection request from the pull print server 305, the process proceeds to S1702. In step S <b> 1702, the communication connection management unit 601 sets the client ID issued by itself and the IP address of the pull print server 305 that issued the request in the client information 1502, and registers the client information 1502 in the client management queue 1501. If the request or event accepted in S1701 is event registration from the pull print server 305, the process proceeds to S1703. In step S <b> 1703, the communication connection management unit 601 sets the type of event to be notified requested to be registered from the pull print server in the registration event of the corresponding client information 1502. The event types include a job event that notifies a change in the job state and a device event that notifies a change in the device state.

S1701において受け付けた要求やイベントがデバイス管理部604からのデバイスイベントやジョブ管理部603からのジョブイベントであれば、処理はS1704に進む。S1704では、通信接続管理部601は、クライアント管理キュー1501に登録された全てのクライアント情報1502からクライアント情報の登録イベントの設定を参照し、プルプリントサーバ305にイベントを通知すべきかどうかを判断する。通知すべきであると判断した場合には、通信接続管理部601は、プルプリントサーバ305のIPアドレスを保持し、S1705において通知すべき全てのプルプリントサーバ305に対してイベントを送信する。   If the request or event accepted in S1701 is a device event from the device management unit 604 or a job event from the job management unit 603, the process proceeds to S1704. In step S <b> 1704, the communication connection management unit 601 refers to the client information registration event setting from all the client information 1502 registered in the client management queue 1501, and determines whether to notify the pull print server 305 of the event. If it is determined that the notification should be notified, the communication connection management unit 601 holds the IP address of the pull print server 305, and transmits an event to all the pull print servers 305 to be notified in S1705.

S1701において受け付けた要求やイベントがプルプリントサーバ305からの切断要求であれば、処理はS1706に移行する。S1706では、クライアント管理キュー1501から該当するプルプリントサーバ305のクライアント情報1502を削除する。
図18は、プルプリントサーバ305からのスケジュール要求の受け付けから、スケジュールUPを発行するまでのスケジュール管理部602による処理を説明するフローチャートである。
If the request or event received in S1701 is a disconnection request from the pull print server 305, the process proceeds to S1706. In step S1706, the client information 1502 of the corresponding pull print server 305 is deleted from the client management queue 1501.
FIG. 18 is a flowchart for explaining processing by the schedule management unit 602 from acceptance of a schedule request from the pull print server 305 to issuance of a schedule UP.

S1801において、スケジュール管理部602は、プルプリントサーバ305からの通知を受け付けると、その通知がスケジュール要求なのか、転送済み状態の通知(図7の転送終了通知)なのかを判断する。スケジュール要求の通知であれば、S1802に処理を移行する。S1802では、スケジュール管理部602は、ジョブ管理部603で発行したジョブIDと、スケジュール要求に付加された情報が設定されたジョブ情報1602を作成する。そして、スケジュール管理部602は、スケジュール要求を受け付けた順でジョブ管理キューに登録し、処理をS1803へ進める。一方、転送済み状態の通知であった場合は、処理はS1801から直接S1803へ進む。   In step S1801, upon receiving a notification from the pull print server 305, the schedule management unit 602 determines whether the notification is a schedule request or a transfer completed notification (transfer end notification in FIG. 7). If it is a notification of a schedule request, the process proceeds to S1802. In step S1802, the schedule management unit 602 creates job information 1602 in which the job ID issued by the job management unit 603 and the information added to the schedule request are set. Then, the schedule management unit 602 registers the schedule request in the job management queue in the order received, and advances the process to S1803. On the other hand, if the notification is a transfer completed state, the process proceeds directly from S1801 to S1803.

次に、S1803において、スケジュール管理部602は、ジョブ管理キュー1601に登録されているジョブ情報1602のジョブ状態を確認する。ジョブ状態がスケジュールUP或いは転送中のものがあれば、既にあるプルプリントサーバに印刷データを転送するように指示しているので、スケジュール管理部602は、S1801に処理を戻す。一方、ジョブ状態がスケジュールUPまたは転送中のものがなければ、プルプリントサーバ305から印刷データが送られてくる予定が無い。従って、処理はS1804に移行し、スケジュール管理部602は、スケジュールUPの発行の準備を行う。S1804では、スケジュール管理部602は、ジョブ管理キュー1601で先にスケジュール要求を受け付けた順からジョブを確認し、スケジュール待機中のジョブが見つかるとS1805に処理を移行させる。S1805では、スケジュール管理部602は、該当するクライアントに対して印刷データの転送を開始させるスケジュールUPを通知する。そして、S1806において、スケジュール管理部602は、該当するジョブ情報1602のジョブ状態をスケジュールUP状態に更新し、S1801に処理を移行する。   In step S1803, the schedule management unit 602 confirms the job status of the job information 1602 registered in the job management queue 1601. If there is a job status that is UP or being transferred, the schedule management unit 602 returns the process to S1801 because it instructs the existing pull print server to transfer the print data. On the other hand, if there is no job status that is scheduled up or being transferred, there is no plan to send print data from the pull print server 305. Therefore, the process proceeds to S1804, and the schedule management unit 602 prepares for issuing a schedule UP. In step S1804, the schedule management unit 602 confirms jobs in the order in which the schedule request is first received in the job management queue 1601, and shifts the processing to step S1805 when a job waiting for the schedule is found. In step S1805, the schedule management unit 602 notifies the corresponding client of a schedule UP for starting transfer of print data. In step S1806, the schedule management unit 602 updates the job state of the corresponding job information 1602 to the schedule UP state, and the process proceeds to step S1801.

図19は、デバイス管理部604からのジョブ状態通知イベントの受け付けと、プルプリントサーバ305からのジョブリスト要求の受け付けに対する、ジョブ管理部603の処理を示すフローチャートである。   FIG. 19 is a flowchart showing processing of the job management unit 603 for accepting a job status notification event from the device management unit 604 and accepting a job list request from the pull print server 305.

S1901において、ジョブ管理部603は、通信接続管理部601やデバイス管理部604からの通知を受け付けると、その通知がデバイス管理部604からのジョブ状態通知であるか、プルプリントサーバ305からのジョブリスト要求であるかを判断する。   In step S1901, when the job management unit 603 receives a notification from the communication connection management unit 601 or the device management unit 604, the job management unit 603 determines whether the notification is a job status notification from the device management unit 604 or a job list from the pull print server 305. Determine if it is a request.

ジョブ状態通知であると判定されると、処理はS1901からS1902に移行し、ジョブ管理部603は、該当するジョブ情報のジョブ状態を更新する。そして、S1903に処理において、ジョブ管理部603は、当該ジョブ状態通知が印刷完了の通知であるかを判断する。印刷完了の通知でなければ、ジョブ管理部603は、処理をS1904に移行し、通信接続管理部601にジョブの状態のイベントをクライアントに発行するように通知する。   If it is determined that it is a job status notification, the process proceeds from S1901 to S1902, and the job management unit 603 updates the job status of the corresponding job information. In step S1903, the job management unit 603 determines whether the job status notification is a print completion notification. If it is not a notification of printing completion, the job management unit 603 moves the process to S1904, and notifies the communication connection management unit 601 to issue a job status event to the client.

一方、S1903で、印刷完了の通知であれば、処理をS1905に移行する。S1905において、ジョブ管理部603は、ジョブ管理キューから該当するジョブを削除する。そして、S1906において、ジョブ管理部603は、通信接続接続管理部601にジョブの完了イベントをプルプリントサーバ305に発行するように通知し、処理をS1901に戻す。   On the other hand, if it is a print completion notification in S1903, the process proceeds to S1905. In step S1905, the job management unit 603 deletes the corresponding job from the job management queue. In step S1906, the job management unit 603 notifies the communication connection management unit 601 to issue a job completion event to the pull print server 305, and returns the process to step S1901.

S1901において、プルプリントサーバ305からのジョブリスト要求の受け付けると、処理はS1907へ進む。S1907では、ジョブ管理部603は、ジョブ管理キュー1601に登録されたジョブ情報1602のリストを要求元のプルプリントサーバ305に送信するように通信接続管理部601にジョブ情報リストを通知する。   In S1901, if a job list request from the pull print server 305 is received, the process proceeds to S1907. In step S <b> 1907, the job management unit 603 notifies the communication connection management unit 601 of the job information list so as to transmit the list of job information 1602 registered in the job management queue 1601 to the pull print server 305 of the request source.

尚、別の実施形態としてデバイススケジューラ600がプルプリントエージェント606に対して1ページ印刷するごとに印刷ページを通知するようにしてもよい。そして、プルプリントエージェント606はその値を認証情報記録媒体521に記録する。このようにすれば、印刷中に突然プリントデバイスの電源がOFFされた場合やネットワークが断線しプルプリントサーバ305に印刷面数情報を通知できない場合でも、再印刷時に認証情報記録媒体521に記録した印刷面数を元に再印刷を行うことができる。   As another embodiment, the device scheduler 600 may notify the print page every time one page is printed to the pull print agent 606. The pull print agent 606 records the value in the authentication information recording medium 521. In this way, even when the power of the printing device is suddenly turned off during printing or when the network is disconnected and the number of printed pages cannot be notified to the pull print server 305, the information is recorded in the authentication information recording medium 521 at the time of reprinting. Reprinting can be performed based on the number of printed pages.

図20は、プリンタコントローラ219からのデバイス状態、ジョブ状態通知をイベントハンドラを経由して受け付け、ジョブ管理部603や通信接続管理部601に通知するデバイス管理部604の処理を示すフローチャートである。   FIG. 20 is a flowchart illustrating processing of the device management unit 604 that receives device status and job status notifications from the printer controller 219 via an event handler and notifies the job management unit 603 and the communication connection management unit 601.

デバイススケジューラ600が起動すると、S2001において、デバイス管理部604は、イベントハンドラ605を経由してプリンタコントローラ219に対してイベントの登録を行う(S802)。ここでは、デバイスの状態が変更した場合や、プリンタコントローラ219が処理する印刷ジョブの状態が変更した場合に、それらの状態を通知するようにイベント登録を行う。   When the device scheduler 600 is activated, in step S2001, the device management unit 604 registers an event with the printer controller 219 via the event handler 605 (S802). Here, when the state of the device is changed or when the state of the print job processed by the printer controller 219 is changed, event registration is performed so as to notify the state.

次に、S2002では、デバイス管理部604は、プリンタコントローラ219で発生したイベントをイベントハンドラ605経由で受け付ける。イベントを受け付けると、デバイス管理部604は、それがジョブのイベントであるかデバイスのイベントであるかを判断する。ジョブのイベントであれば、S2003において、デバイス管理部604は、ジョブ管理部603にジョブイベントを通知し、S2002に処理を移行する。
デバイスのイベントであれば、処理はS2004に移行して、デバイス管理部604は、当該デバイスの状態をデバイス管理部604で保持する。その後、S2005において、デバイス管理部604は、通信接続管理部601にデバイスイベントを通知し、処理をS2002に移行する。
In step S2002, the device management unit 604 receives an event generated in the printer controller 219 via the event handler 605. Upon receiving the event, the device management unit 604 determines whether it is a job event or a device event. If the event is a job event, in step S2003, the device management unit 604 notifies the job management unit 603 of the job event, and the process proceeds to step S2002.
If the event is a device event, the process proceeds to S2004, and the device management unit 604 holds the state of the device in the device management unit 604. After that, in S2005, the device management unit 604 notifies the communication connection management unit 601 of the device event, and the process proceeds to S2002.

図21は、デバイススケジューラ600からの通知やコマンドを受け付けた場合のプルプリントサーバ305の処理を示すフローチャートである。   FIG. 21 is a flowchart showing processing of the pull print server 305 when a notification or command from the device scheduler 600 is received.

S2101において、プルプリントサーバ305は、デバイススケジューラ600からジョブイベントが通知されたか、ジョブリストが返送されてきたかを判断する。ジョブイベントが通知された場合には、処理はS2102に移行し、ジョブリストが返送された場合には、処理はS2108に移行する。プルプリントサーバ305は、ジョブリストが返送されてくると、S2108において、プルプリントサーバ305が管理するジョブ管理キュー1001で管理されるジョブ情報1002にジョブリストから得られたジョブ情報を設定する。   In step S2101, the pull print server 305 determines whether a job event has been notified from the device scheduler 600 or a job list has been returned. If the job event is notified, the process proceeds to S2102. If the job list is returned, the process proceeds to S2108. When the job list is returned, the pull print server 305 sets the job information obtained from the job list in the job information 1002 managed by the job management queue 1001 managed by the pull print server 305 in step S2108.

S2102において、プルプリントサーバ305は、デバイススケジューラ600から通知されたジョブイベント通知が、ジョブ完了通知であるか、ジョブ状態変更通知(ステータス通知)であるかを判断する。ジョブ状態変更通知(ステータス通知)の場合、プルプリントサーバ305は、S2109において、該当するジョブ情報1002のジョブ状態を更新する。   In step S2102, the pull print server 305 determines whether the job event notification notified from the device scheduler 600 is a job completion notification or a job status change notification (status notification). In the case of a job status change notification (status notification), the pull print server 305 updates the job status of the corresponding job information 1002 in S2109.

受け付けたイベント通知がジョブ完了通知であれば、処理はS2102からS2103に進む。S2103において、プルプリントサーバ305は、該当するジョブ情報を、ジョブ管理キュー1001から削除する。S2104では、プルプリントサーバ305は、ジョブ管理キュー1001に、印刷が終了していないジョブが残されているかを確認する。印刷が終了していないジョブが残されていれば、まだデバイススケジューラ600とのやり取りが必要である。そのため、プルプリントサーバ305は、デバイススケジューラ600との接続を継続するために、S2101に処理を移行する。S2104で、自クライアントのジョブがなければ、プルプリントサーバ305は、S2105に処理を移行し、デバイススケジューラ600との接続を終了するための処理を開始する。   If the received event notification is a job completion notification, the process proceeds from S2102 to S2103. In step S <b> 2103, the pull print server 305 deletes the corresponding job information from the job management queue 1001. In step S <b> 2104, the pull print server 305 confirms whether a job that has not been printed remains in the job management queue 1001. If a job that has not been printed is left, it is still necessary to communicate with the device scheduler 600. Therefore, the pull print server 305 shifts the processing to S2101 in order to continue the connection with the device scheduler 600. In S2104, if there is no job of the own client, the pull print server 305 shifts the process to S2105 and starts a process for terminating the connection with the device scheduler 600.

まず、S2105において、プルプリントサーバ305は、接続を開始したときにデバイススケジューラ600に登録したジョブイベント、デバイスイベントの登録解除を依頼する。デバイススケジューラ600は、この依頼によりクライアント情報1502のイベント登録の内容を削除する。このイベント登録の情報がなければ、デバイススケジューラ600が管理するジョブの状態が変化されてもイベントが通知されてくることはない。次にS2106において、プルプリントサーバ305は、デバイススケジューラ600に対して切断の要求を発行する。デバイススケジューラ600が切断要求を受け付けると、クライアント管理キュー1501から該当するクライアント情報1502を削除する。S2107では、プルプリントサーバ305は、デバイススケジューラ600とのセッションを切断する処理を行い、処理をS2101に戻して待機状態とする。   First, in step S2105, the pull print server 305 requests deregistration of the job event and device event registered in the device scheduler 600 when the connection is started. In response to this request, the device scheduler 600 deletes the event registration content of the client information 1502. Without this event registration information, the event is not notified even if the status of the job managed by the device scheduler 600 changes. In step S <b> 2106, the pull print server 305 issues a disconnection request to the device scheduler 600. When the device scheduler 600 receives the disconnection request, the corresponding client information 1502 is deleted from the client management queue 1501. In step S2107, the pull print server 305 performs processing for disconnecting the session with the device scheduler 600, returns the processing to step S2101, and sets the standby state.

図22は、プルプリントエージェント606からS810(又はS1207)に対応した通知を受信した場合のプルプリントサーバ305の処理を説明するフローチャートである。S2201で、プルプリントサーバ305は、プルプリントエージェント606からジョブキャンセル・保持命令(S810(又はS1207)に対応した通知)を受信すると、処理をS2202に進める。S2202では、プルプリントサーバ305は、S2201で受信した通知に対応するユーザ識別情報の印刷ジョブを対象に、デバイススケジューラ600にジョブのキャンセルを指示する(S811)。   FIG. 22 is a flowchart for explaining processing of the pull print server 305 when a notification corresponding to S810 (or S1207) is received from the pull print agent 606. In step S2201, when the pull print server 305 receives a job cancel / hold instruction (notification corresponding to step S810 (or S1207)) from the pull print agent 606, the process advances to step S2202. In step S2202, the pull print server 305 instructs the device scheduler 600 to cancel the job for the print job of the user identification information corresponding to the notification received in step S2201 (S811).

図8により上述したように、ジョブのキャンセルが指示されたデバイススケジューラ600は、プリンタエンジン制御部514に対してジョブキャンセル指示を出す(S812)。またそれとともに、プルプリントサーバ305に対して印刷ジョブの進行状況を表す印刷面数を通知する(S814)。なお、ここで通知される印刷面数は、当該キャンセル指示によって印刷を終えた時点の印刷済み或は排紙済みとなった面数(=ページ数)である。プルプリントサーバ305は、S2203において、デバイススケジューラ600からのこの印刷面数の通知を受け取る(S814)。   As described above with reference to FIG. 8, the device scheduler 600 instructed to cancel the job issues a job cancel instruction to the printer engine control unit 514 (S812). At the same time, the pull print server 305 is notified of the number of print pages indicating the progress of the print job (S814). Note that the number of printed pages notified here is the number of printed or ejected pages (= number of pages) when printing is completed according to the cancel instruction. In step S2203, the pull print server 305 receives a notification of the number of printed pages from the device scheduler 600 (S814).

S2204では、プルプリントサーバ305は、デバイススケジューラ600から通知された印刷面数情報と当該ジョブの全面数(ジョブ情報1602のページ数)を比較する。印刷面数情報と当該ジョブの全面数が一致する場合は、当該ジョブの印刷が完了していると判断し、S2206でジョブ情報1002のジョブ保持フラグをOFFにする。一致しない場合は、再印刷を行えるようにS2205でジョブ保持フラグをONにする。ジョブ保持フラグについては図10で説明した通りである。続いて、S2207で、プルプリントサーバ305は、通知を受けた印刷面数(印刷済みの面数)に1をプラスし、ジョブ情報1002の再印刷開始ページ(ジョブ進行状況情報)にセットする。また、プルプリントサーバ305は、スケジュールUP(S2403でYESと判断される場合)が指示されていない1又は複数のジョブがプリントキュー401に保持されている場合には、それらジョブについてジョブ進行状況をゼロと見なす処理を実行する。なお、キャンセルの通知を受けたデバイススケジューラ600は当該ジョブの削除及び当該ジョブに関するイベント登録の解除を行う(S1706)。   In step S <b> 2204, the pull print server 305 compares the print surface number information notified from the device scheduler 600 with the total number of pages of the job (the page number of the job information 1602). If the print surface number information matches the total number of the job, it is determined that the job has been printed, and the job holding flag of the job information 1002 is turned OFF in step S2206. If they do not match, the job holding flag is turned ON in step S2205 so that reprinting can be performed. The job holding flag is as described with reference to FIG. In step S <b> 2207, the pull print server 305 adds 1 to the notified number of printed pages (number of printed pages) and sets it to the reprint start page (job progress status information) of the job information 1002. In addition, when one or more jobs for which schedule UP (when determined to be YES in S2403) is not instructed in the print queue 401, the pull print server 305 displays the job progress status for these jobs. Performs processing that is considered zero. Upon receiving the cancellation notification, the device scheduler 600 deletes the job and cancels event registration related to the job (S1706).

なお、図22のフローチャートの説明においては、プルプリントサーバ305による印刷ジョブの制御として、ジョブキャンセルを例に説明したが、その他の印刷ジョブ制御にも応用することができる。例えば、プルプリントサーバ305からの印刷ジョブ出力を停止し印刷ジョブの実行を一時停止する印刷ジョブ制御にも応用できる。なお、一時停止の印刷ジョブ制御についても、図22のフローチャートを適用できることは当業者であれば明白であろう。   In the description of the flowchart of FIG. 22, job cancellation has been described as an example of print job control by the pull print server 305, but it can also be applied to other print job control. For example, the present invention can be applied to print job control that stops output of a print job from the pull print server 305 and temporarily stops execution of the print job. It should be apparent to those skilled in the art that the flowchart of FIG. 22 can also be applied to temporary print job control.

以上のように、第1実施形態によれば、クライアントPC(情報処理装置)とプリントデバイス(印刷装置)が通信可能な印刷システムが開示される。このシステムにおいて、プルプリントサーバ305は、アプリケーション301等で生成された1又は複数の印刷ジョブを、プリントデバイスから送信されてくるユーザ識別情報に基づいて読み込みが可能な形態でプルプリントキューに保持する。ここで、ユーザ識別情報は、あるユーザが生成した印刷ジョブには共通して付与される識別情報であるので、1又は複数の印刷ジョブに共通した識別情報となる。一方、プリントデバイスでは、認証情報読取装置520が認証情報記録媒体521から認証情報を読み取る。プリントデバイスは、この認証情報を識別情報として用いて要求(S805、S807)を発行する。プルプリントサーバ305は、発行された要求を受信し、受信した要求に含まれる識別情報に基づいて1又は複数の印刷ジョブを読込み、該読込まれた印刷ジョブをプリントデバイスへ出力する。   As described above, according to the first embodiment, a printing system in which a client PC (information processing apparatus) and a printing device (printing apparatus) can communicate is disclosed. In this system, the pull print server 305 holds one or a plurality of print jobs generated by the application 301 or the like in a pull print queue in a form that can be read based on user identification information transmitted from the print device. . Here, since the user identification information is identification information given in common to a print job generated by a certain user, the user identification information is identification information common to one or a plurality of print jobs. On the other hand, in the print device, the authentication information reading device 520 reads the authentication information from the authentication information recording medium 521. The print device issues a request (S805, S807) using this authentication information as identification information. The pull print server 305 receives the issued request, reads one or more print jobs based on the identification information included in the received request, and outputs the read print job to the print device.

即ち、第1実施形態によれば、ユーザ識別情報をジョブに関連付けて保存しておき、印刷装置から識別情報を入力し、それをサーバに通知することにより、識別情報に対応したジョブをサーバからダウンロードし印刷出力する。このため、従来のプルプリント方式のようにジョブを印刷装置から直接指定することが不要となる。従って、例えば、毎朝本社から各ユーザIDが関連付けられたジョブがサーバに登録され、ユーザが印刷装置に備えられたカードリーダにカードを通すだけで、カードに記録されたユーザIDがサーバに通知され、その結果、手軽に印刷ができるようになる。   That is, according to the first embodiment, the user identification information is stored in association with the job, the identification information is input from the printing apparatus, and the server notifies the server of the identification information. Download and print out. For this reason, it is not necessary to specify a job directly from the printing apparatus as in the conventional pull printing method. Therefore, for example, every morning, a job associated with each user ID is registered in the server from the head office, and the user is simply notified of the user ID recorded on the card by passing the card through a card reader provided in the printing apparatus. As a result, printing can be performed easily.

なお、上記第1実施形態では、ユーザ識別情報を印刷ジョブに関連付けてプルプリント時の印刷ジョブの指定に用いるがこれに限られるものではない。複数の印刷ジョブに共通して関連付けが可能な情報であればよく、印刷ジョブに与える識別情報そのものであってもよい。

[第2実施形態]
第1実施形態で説明したようなプルプリントシステムにおいて、印刷予約を行なったホストコンピュータが印刷予約到来時あるいは印刷データ送信中にダウンもしくは通信異常が発生する場合がある。このような場合、プリントデバイス306(ネットワークプリンタ104,105)は、そのホストコンピュータからの転送終了通知を待ち続け、他のホストコンピュータからの印刷データの送信処理が延々と待たされてしまう可能性がある。第2実施形態では、このような不具合を解消する構成を説明する。
In the first embodiment, the user identification information is associated with a print job and used to specify a print job at the time of pull printing. However, the present invention is not limited to this. Any information that can be associated with a plurality of print jobs in common may be used, and the identification information itself given to the print jobs may be used.

[Second Embodiment]
In the pull printing system as described in the first embodiment, a host computer that has made a print reservation may be down or a communication error may occur when a print reservation arrives or during print data transmission. In such a case, the print device 306 (network printers 104 and 105) may continue to wait for a transfer end notification from the host computer, and the print data transmission processing from another host computer may be waited for a long time. is there. In the second embodiment, a configuration for solving such a problem will be described.

図23は、プルプリントサーバ305が、プルプリントエージェント606から認証情報を受け付けた後、プリントデバイス306にスケジュール要求を発行し、印刷が終了するまでの処理について示す図である。   FIG. 23 is a diagram illustrating processing from when the pull print server 305 receives authentication information from the pull print agent 606 to when a print request is issued to the print device 306 until printing ends.

プルプリントサーバ300とデバイススケジューラ600との間のセッション開始から、プルプリントサーバ305がデバイススケジューラ600から印刷状態通知を受信するまでの手順は図7と同様である。   The procedure from the start of a session between the pull print server 300 and the device scheduler 600 to when the pull print server 305 receives a print status notification from the device scheduler 600 is the same as that in FIG.

図7で説明したように、印刷データの転送が開始されると、デバイススケジューラ600は、クライアント情報の登録イベントの情報を基に、クライアントにジョブの印刷状態を通知する。更に、第2実施形態では、プルプリントサーバ305は印刷データの転送が終了するまでの間、印刷データ転送ステータスの通知間隔に従い、デバイススケジューラ600に対して転送中(出力中)の通知を行う。なお、この印刷データ転送ステータス通知間隔は、スケジュールUPに含まれているものとしてもよいし、予めシステムで設定されたもの(例えば所定の時間間隔)であってもよい。   As described with reference to FIG. 7, when transfer of print data is started, the device scheduler 600 notifies the client of the print status of the job based on the registration event information of the client information. Furthermore, in the second embodiment, the pull print server 305 notifies the device scheduler 600 that the data is being transferred (outputting) according to the notification interval of the print data transfer status until the transfer of the print data is completed. The print data transfer status notification interval may be included in the schedule UP, or may be set in advance by the system (for example, a predetermined time interval).

以後、プルプリントサーバ305からLPD/RAW510への印刷データ転送終了の通知から、プルプリントサーバ305とデバイススケジューラ600との間のセッション終了までの手順は図7と同様である。   Thereafter, the procedure from the end of print data transfer from the pull print server 305 to the LPD / RAW 510 to the end of the session between the pull print server 305 and the device scheduler 600 is the same as that in FIG.

次に、デバイススケジューラ600が上記転送中通知をどのように利用するかを説明する。図24は、プルプリントサーバ305からスケジュール要求を受信し、スケジュールUPから印刷処理を完了するまでのデバイススケジューラ600の処理を示すフローチャートである。   Next, how the device scheduler 600 uses the in-transfer notification will be described. FIG. 24 is a flowchart showing processing of the device scheduler 600 from receiving a schedule request from the pull print server 305 to completing print processing from schedule UP.

S2401で、デバイススケジューラ600は、クライアント101〜103のプルプリントサーバ305からスケジュール要求を受信すると、S2402においてジョブ管理キュー最下位にジョブ情報の登録を行う。S2403では、デバイススケジューラ600は、ジョブ管理キューに登録されたジョブ情報が存在するかを判断し、ジョブ情報が存在する場合には、処理をS2404に進める。S2404では、デバイススケジューラ600は、ジョブ管理キューの最上位に位置するジョブ情報を登録したクライアント(プルプリントサーバ)に対してスケジュールUP要求を送信する。ここで、スケジュールUP要求は、印刷データの送信要求並びに印刷データ転送ステータスの通知間隔情報を含む
S2405では、デバイススケジューラ600は、印刷データ転送ステータスの受信タイムアウトを計測するためのタイマーを初期化し、スタートさせる。S2406において、デバイススケジューラ600は、印刷データの転送終了通知の受信判定を行う。転送終了通知を受信していない場合は、S2407に進み、デバイススケジューラ600は、転送中ステータス(転送中通知)の受信判定を行う。転送中ステータスを受信済の場合には、処理はS2405に戻り、デバイススケジューラ600は、タイマーを初期化し、再スタートさせる。一方、転送中ステータスを受信していない場合には、処理はS2407からS2408に進み、デバイススケジューラ600は上記タイマーのタイムアウトを判定する。タイムアウトが発生していない場合には、処理はS2406に戻る。タイムアウトが発生している場合には、デバイススケジューラ600は転送ステータスの受信タイムアウトであると判定し、処理をS2409に進め、当該印刷データの受信処理を中止する。そして、S2410にて、デバイススケジューラ600は、クライアント101〜103で動作するジョブ制御プリントサービスに対して当該ジョブが削除(キャンセル)されたことを通知する。その後、S2411に進み、デバイススケジューラ600は、ジョブ管理キューから当該ジョブ情報を削除し、処理を先頭に戻す。
In step S2401, upon receiving a schedule request from the pull print server 305 of the clients 101 to 103, the device scheduler 600 registers job information in the lowest job management queue in step S2402. In step S2403, the device scheduler 600 determines whether there is job information registered in the job management queue. If job information exists, the process proceeds to step S2404. In step S <b> 2404, the device scheduler 600 transmits a schedule UP request to the client (pull print server) that registered the job information positioned at the top of the job management queue. Here, the schedule UP request includes a print data transmission request and print data transfer status notification interval information. In step S2405, the device scheduler 600 initializes and starts a timer for measuring a print data transfer status reception timeout. Let In step S2406, the device scheduler 600 determines whether to receive a print data transfer end notification. If the transfer end notification has not been received, the process proceeds to S2407, and the device scheduler 600 determines whether or not the transfer status (transfer notification) is received. If the transfer status has been received, the process returns to S2405, and the device scheduler 600 initializes and restarts the timer. On the other hand, if the transfer status is not received, the process advances from S2407 to S2408, and the device scheduler 600 determines the timeout of the timer. If a timeout has not occurred, the process returns to S2406. If a timeout has occurred, the device scheduler 600 determines that the transfer status is a reception timeout, advances the processing to S2409, and stops the print data reception processing. In step S2410, the device scheduler 600 notifies the job control print service operating on the clients 101 to 103 that the job has been deleted (cancelled). Thereafter, the processing proceeds to S2411, and the device scheduler 600 deletes the job information from the job management queue and returns the processing to the top.

S2406において印刷データの転送終了通知が受信済であった場合は、処理はS2412に進む。S2412では、デバイススケジューラ600は、プルプリントサーバ305に当該ジョブの印刷完了の通知を行う。そして、S2411にて、デバイススケジューラ600は、ジョブ管理キューの当該ジョブ情報を削除し、処理を先頭に戻す。   If the print data transfer end notification has been received in step S2406, the process advances to step S2412. In step S2412, the device scheduler 600 notifies the pull print server 305 that the job has been printed. In step S2411, the device scheduler 600 deletes the job information in the job management queue and returns the process to the top.

以上のように、第2実施形態によれば、例えば印刷予約を行なったホストコンピュータに印刷データ送信中のダウンや通信異常が発生した場合、デバイススケジューラ600は転送中通知の受信によりこれを認識することができる。その結果、データ送信中のホストコンピュータのダウンや通信異常によって他のホストコンピュータからの印刷データの送信処理が延々と待たされてしまうような不具合を防止できる。   As described above, according to the second embodiment, for example, when a print data transmission down or communication error occurs in the host computer that has made a print reservation, the device scheduler 600 recognizes this by receiving a transfer notification. be able to. As a result, it is possible to prevent a problem that a print data transmission process from another host computer is kept waiting due to a down of the host computer during data transmission or a communication error.

[第3実施形態]
上述の第1及び第2実施形態では、プルプリントエージェント606による認証情報の検知の有無に応じて、ジョブのキャンセルや一時停止等の印刷ジョブ制御を行う構成を説明した(図12、図23)。一方、どのように認証情報記録媒体521からの認証情報を検知した場合に、印刷ジョブを制御するかについて、更に別の変形例も想定される。第3実施形態ではそのような変形例について説明を行う。
[Third Embodiment]
In the first and second embodiments described above, a configuration has been described in which print job control such as job cancellation or suspension is performed according to whether or not authentication information is detected by the pull print agent 606 (FIGS. 12 and 23). . On the other hand, still another modified example of how the print job is controlled when the authentication information from the authentication information recording medium 521 is detected is also assumed. In the third embodiment, such a modification will be described.

例えば、図12では、S1202において認証情報記録媒体521が存在しない場合に、認証情報の入力が解除されたとみなし、プルプリントサーバ305に印刷ジョブの制御依頼指示が行われる。しかし、S1202で認証情報記録媒体521が存在しないか否かを判定するのではなく、認証情報記憶媒体521からの認証情報の検知が新たに、或は、再度行われたか否かの検知を行わせるようにしても良い。例えば、認証情報による認証が取れている状態で、認証情報記録媒体が取り出され、再度認証情報記録媒体の挿入が検知されることにより、認証情報の入力が解除されたとみなすようにしてもよい。   For example, in FIG. 12, if the authentication information recording medium 521 does not exist in S1202, it is considered that the input of authentication information has been canceled, and a print job control request instruction is issued to the pull print server 305. However, in S1202, it is not determined whether or not the authentication information recording medium 521 is present, but whether or not the authentication information from the authentication information storage medium 521 has been newly detected or has been detected again is detected. You may make it. For example, the authentication information recording medium may be taken out in a state where authentication by the authentication information has been taken, and it may be considered that the input of the authentication information has been canceled by detecting the insertion of the authentication information recording medium again.

例えば、図8のS803で、認証情報読取装置520は、認証情報記録媒体521が付近にかざされたことを無線通信を介して検知する。この時、認証情報読取装置520が認証情報記録媒体521を無線通信を介して検知できる距離は10センチ前後としておけば、付近を通過した人が所有する認証情報記録媒体521を誤検知する可能性は低くなる。また、この無線通信にはRFID技術等を利用し実現できる。なお、RFIDとは、RADIO FREQUENCY IDENTIFICATION SYSTEMの略字である。   For example, in S803 of FIG. 8, the authentication information reading device 520 detects that the authentication information recording medium 521 is held near by wireless communication. At this time, if the distance at which the authentication information reading device 520 can detect the authentication information recording medium 521 via wireless communication is about 10 cm, there is a possibility that the authentication information recording medium 521 owned by a person who has passed nearby will be erroneously detected. Becomes lower. Further, this wireless communication can be realized using RFID technology or the like. Note that RFID is an abbreviation for RADIO FREQUENCY IDENTIFICATION SYSTEM.

また、認証情報読取装置520は、一旦、認証情報記録媒体521を検知すると所定時間は重複検知をしない。従ってユーザは、認証情報読取装置520に一旦、認証情報記録媒体521をかざした後、所定時間経過後、再度、認証情報記録媒体521を認証情報読取装置520にかざすことにより、第1、2実施形態における、認証情報記録媒体521の認証情報の入力解除と同様のことを行える。また、無線通信により一旦、認証情報記録媒体521からの認証情報を検知すると、それが検知されなくなったのを条件に、再度の認証情報の入力があったと見なしても良い。   Further, once the authentication information reading device 520 detects the authentication information recording medium 521, it does not detect duplication for a predetermined time. Accordingly, the user holds the authentication information recording medium 521 once over the authentication information reading device 520, and after the elapse of a predetermined time, the user again holds the authentication information recording medium 521 over the authentication information reading device 520 to perform the first and second implementations. In the embodiment, it is possible to perform the same operation as the input cancellation of the authentication information of the authentication information recording medium 521. Alternatively, once authentication information from the authentication information recording medium 521 is detected by wireless communication, it may be considered that the authentication information has been input again on condition that it is no longer detected.

このように、認証情報記録媒体521からの認証情報の検知方法を異ならせても、第1、2実施形態の各種処理を実現できる。   Thus, even if the detection method of the authentication information from the authentication information recording medium 521 is changed, the various processes of the first and second embodiments can be realized.

[第4実施形態]
上述の第1乃至3実施形態では、プルプリントエージェント606の認証情報の検知態様に応じて、プルプリントサーバ305が、ジョブのキャンセルや一時停止等の印刷ジョブ制御を行う場合を説明してきた。しかし、プルプリントエージェント606及びプルプリントサーバ305の連携により、更に様々な態様の印刷ジョブ制御を行うこともできる。以下では、その具体例を、図25A,Bのフローチャートを用いて以下説明する。
[Fourth Embodiment]
In the first to third embodiments described above, a case has been described in which the pull print server 305 performs print job control such as job cancellation or suspension according to the authentication information detection mode of the pull print agent 606. However, the print job control in various modes can be performed by cooperation of the pull print agent 606 and the pull print server 305. Below, the specific example is demonstrated below using the flowchart of FIG. 25A, B. FIG.

ここで、図25A,Bの各ステップの処理は、プルプリントサーバ305が図14で説明したS1406乃至S1409の処理を実行し、少なくともスケジュール要求を行った後に、印刷ジョブ制御を実行する場合の処理とする。また、場合によっては、図14のS1410以降(スケジュールUPの受信以降)の処理が行われ、印刷ジョブの出力が既に行われている途中に実行される処理とも想定できる。   Here, the processing in each step of FIGS. 25A and 25B is processing when the pull print server 305 executes the processing of S1406 to S1409 described with reference to FIG. 14 and executes print job control at least after making a schedule request. And Also, depending on the case, it can be assumed that the processing after S1410 in FIG. 14 (after receiving the schedule UP) is performed, and the processing is executed while the print job is already being output.

<図25Aのフローチャート>
まず、S2501では、プルプリントサーバ305は、図13で説明した情報を受信したか否かを判定する。この図13の情報は第1実施形態で説明したように、プルプリントエージェント606が認証情報読取装置520で認証情報記録媒体521を検知したことに応じて、プルプリントサーバ305に通知する情報に対応する。例えば、第3実施形態で説明したように、認証情報記録媒体521を一旦認識させた後、認証情報記録媒体521を再度認識させることにより、S2502以降の処理が実行される。
<Flowchart of FIG. 25A>
In step S2501, the pull print server 305 determines whether the information described with reference to FIG. 13 has been received. The information in FIG. 13 corresponds to information notified to the pull print server 305 when the pull print agent 606 detects the authentication information recording medium 521 by the authentication information reading device 520 as described in the first embodiment. To do. For example, as described in the third embodiment, after the authentication information recording medium 521 is recognized once, the authentication information recording medium 521 is recognized again, thereby executing the processing after S2502.

次に、S2502で、プルプリントサーバ305は、第1実施形態で説明したS1403と同様に、プリントキュー401(プルプリント用)に、図13に含まれるユーザ識別情報と一致するジョブが留め置かれているかをチェックする。この時、検索対象の印刷ジョブ及び検索結果の印刷ジョブは、共に1以上であってもよい。ユーザ識別情報と一致する1以上のジョブが溜め置かれていない場合、処理はS2501の判断処理に戻る。一方、ユーザ識別情報と一致する1以上のジョブが溜め置かれている場合には、処理はS2503に移る。なお、S2503以降の処理は1以上の各ジョブ夫々について個別に行われるものとする。   Next, in step S2502, the pull print server 305 holds a job that matches the user identification information included in FIG. 13 in the print queue 401 (for pull printing), as in step S1403 described in the first embodiment. Check if it is. At this time, the number of print jobs to be searched and the number of search result print jobs may be one or more. If one or more jobs that match the user identification information are not stored, the process returns to the determination process of S2501. On the other hand, if one or more jobs matching the user identification information are stored, the process proceeds to S2503. It should be noted that the processing after S2503 is performed individually for each of one or more jobs.

S2503では、プルプリントサーバ305は、S2502でユーザ識別情報と一致すると判定された1以上のジョブの各々について、ジョブの状態が一時停止中か否か(S2513で停止処理されたジョブであるか否か)を判定する。また、印刷面数は、S2503でユーザ識別情報と一致すると判定された1以上の各々のジョブについて判定する。即ち、S2503以降の各ステップの処理は、S2503でユーザ識別情報と一致すると判定された各々のジョブについて行わせるものとする。   In step S2503, the pull print server 305 determines whether the job status of each of the one or more jobs determined to match the user identification information in step S2502 is paused (whether the job has been stopped in step S2513). )). The number of printed pages is determined for each of one or more jobs determined to match the user identification information in S2503. That is, the processing in each step after S2503 is performed for each job determined to match the user identification information in S2503.

そして、S2503でYESと判定すると処理をS2508に移行する。一方、S2503でNOと判定した場合、S2504で、デバイススケジューラ600から当該ジョブに関して印刷面数の通知を受け取る。ここでの印刷面数はS2203で説明したものと同様である。   If YES is determined in S2503, the process proceeds to S2508. On the other hand, if NO is determined in step S2503, in step S2504, the device scheduler 600 receives a notification of the number of printed pages regarding the job. The number of printed surfaces here is the same as that described in S2203.

S2505では、プルプリントサーバ305は、S2204と同様にデバイススケジューラ600から通知された印刷面数情報と当該ジョブの全面数(ジョブ情報1002或はジョブ情報1602のページ数)を比較する。そして、一致している場合には、プルプリントサーバ305は、S2206と同様の処理をS2514で行う。なお、S2514では、既にジョブの印刷が完了していると判断するので、詳しい説明は省略する。一方、S2505でNOと判定した場合、S2506及びS2507で、プルプリントサーバ305は、上述のS2205及びS2207と同様の処理を行う。なおS2505で参照されるジョブ情報は基本的に図10にて説明したものと同様であるが、更に、図10のジョブ情報に加えて印刷出力先プリンタのデバイスアドレス(図13に示される情報から取得される)が含まれる。   In step S2505, the pull print server 305 compares the print surface number information notified from the device scheduler 600 with the total number of pages of the job (the page number of the job information 1002 or the job information 1602) as in step S2204. If they match, the pull print server 305 performs the same processing as S2206 in S2514. In step S2514, it is determined that the job has already been printed, and thus detailed description thereof is omitted. On the other hand, if NO is determined in S2505, in S2506 and S2507, the pull print server 305 performs the same process as in S2205 and S2207 described above. The job information referred to in step S2505 is basically the same as that described with reference to FIG. 10, but in addition to the job information in FIG. 10, the device address of the print output destination printer (from the information shown in FIG. 13). Acquired).

S2508では、プルプリントサーバ305は、S2501で受信した図13に含まれるデバイスアドレスが、予め図10の形式で保存されたジョブ情報に含まれるデバイスアドレスから、変更されているかを判定する。S2508でYESと判定した場合は、図25Bのフローチャート(S2515以降)へ処理を移行し、プリンタが変更された場合のジョブ制御処理を実行する。また、S2508でデバイスアドレスの一致が確認できれば、プリンタの変更は無しと判定し、S2509で当該デバイスの状態を調査する。   In step S2508, the pull print server 305 determines whether the device address included in FIG. 13 received in step S2501 has been changed from the device address included in the job information stored in advance in the format illustrated in FIG. If YES is determined in S2508, the process proceeds to the flowchart of FIG. 25B (after S2515), and the job control process is executed when the printer is changed. If the device address match can be confirmed in S2508, it is determined that the printer has not been changed, and the state of the device is investigated in S2509.

ここでデバイスの状態は、図13に含まれる「デバイスアドレス」に基づき、任意のタイミングでプルプリントサーバ305がプリンタから取得する。また、任意のタイミングで取得したデバイスの状態をキャッシュとして保持し、取得とは非同期のタイミングでプルプリントサーバ305が参照しても良い。   The device status is acquired from the printer by the pull print server 305 at an arbitrary timing based on the “device address” included in FIG. Further, the device state acquired at an arbitrary timing may be held as a cache, and may be referred to by the pull print server 305 at a timing asynchronous with the acquisition.

そして、S2509でデバイス状態が異常と判定された場合、S2512でプルプリントサーバ305は、当該印刷ジョブの処理をキャンセルし、S2501に処理を戻す。これにより、例えば、プリントデバイスで用紙無し等が発生し、ユーザが印刷ジョブをキャンセルしたいケースに対応できる。即ち、プリントデバイスで用紙無しが発生した場合に、ユーザは認証情報記録媒体521をプリントデバイスに認識させることで、当該ジョブをキャンセルさせることができる。   If the device status is determined to be abnormal in S2509, the pull print server 305 cancels the processing of the print job in S2512 and returns the processing to S2501. As a result, for example, it is possible to handle a case where the print device runs out of paper and the user wants to cancel the print job. That is, when the print device runs out of paper, the user can cancel the job by causing the print device to recognize the authentication information recording medium 521.

一方、S2509でデバイス状態が正常と判定された場合は、S2510において、プルプリントサーバ305は、S2502でユーザ識別情報に一致すると判定されたジョブの状態が停止中であるか否かを判定する。この判定は、注目しているジョブの図10で説明したジョブ情報に含まれる「ジョブ状態」の欄を参照して行うことができる。そして、S2510でYESと判定された場合(ジョブ状態が停止中を示す場合)には、S2511でプルプリントサーバ305からプリンタへのジョブの再出力を行う。一方、S2510でNOと判定された場合には、プルプリントサーバ305は、注目しているジョブ(S2502でユーザ識別情報に一致すると判定されたジョブ)の状態をS2513で一時停止にする。ここで、S2511の処理は、図14のS1410乃至1411に対応し、一方、S2513の処理は、図22の処理に対応する。このように、図25のフローチャートによっても、図22と同様に印刷ジョブのキャンセル及び一時停止のジョブ制御を行える。この処理により、当該ジョブのスケジュールUP待ち、或いは当該ジョブのプリント処理中の任意のタイミングで、ユーザが認証情報記録媒体521をプリントデバイスに認識させることで当該ジョブを一時停止させることができる。   On the other hand, if it is determined in S2509 that the device status is normal, in S2510, the pull print server 305 determines whether the status of the job determined to match the user identification information in S2502 is stopped. This determination can be made with reference to the “job status” column included in the job information described with reference to FIG. If YES is determined in S2510 (when the job status indicates that it is stopped), the job is re-output from the pull print server 305 to the printer in S2511. On the other hand, if NO is determined in S2510, the pull print server 305 pauses the state of the job of interest (the job determined to match the user identification information in S2502) in S2513. Here, the processing of S2511 corresponds to S1410 to 1411 of FIG. 14, while the processing of S2513 corresponds to the processing of FIG. As described above, the job control for canceling and temporarily stopping the print job can be performed by the flowchart of FIG. 25 as in the case of FIG. With this processing, the user can temporarily stop the job by causing the print device to recognize the authentication information recording medium 521 at any timing during the job schedule UP waiting or the job print processing.

<図25Bのフローチャート>
次に図25Bのフローチャートについて詳しく説明する。S2502で該当ジョブが有りと判定され、且つ、図13の情報が以前とは別のプリンタのプリントエージェントから通知されていれば、S2508でプリンタ変更有りと判定し図25Bのフローチャートの処理を移行する。例えば、ユーザが先に認証情報記録媒体521を検出させたプリントデバイスとは異なるプリントデバイスで認証情報記録媒体521を検出させた場合に、以前とは別のプリンタのプリントエージェントから通知が発行されることになる。
<Flowchart of FIG. 25B>
Next, the flowchart of FIG. 25B will be described in detail. If it is determined in S2502 that there is a corresponding job and the information in FIG. 13 is notified from a print agent of a printer different from the previous one, it is determined in S2508 that there is a printer change, and the processing of the flowchart in FIG. . For example, when the user causes the authentication information recording medium 521 to be detected by a print device different from the print device that previously detected the authentication information recording medium 521, a notification is issued from a print agent of a printer different from the previous one. It will be.

まずS2515では、現在着目しているジョブ情報に含まれるデバイスアドレス(変更前のデバイスアドレス)に対応したプリンタの状態が正常か否かを判定する。ここでジョブの状態の取得方法については、S2509で説明した通りである。S2515でデバイス状態が異常と判定されればS2516以降で代行印刷処理を、一方、S2515でデバイス状態が正常と判定されればS2519以降で分散印刷処理を行う。   First, in step S2515, it is determined whether or not the printer state corresponding to the device address (device address before change) included in the currently focused job information is normal. Here, the job status acquisition method is as described in S2509. If it is determined in S2515 that the device status is abnormal, proxy printing processing is performed in S2516 and subsequent steps. On the other hand, if the device status is determined normal in S2515, distributed printing processing is performed in S2519 and subsequent steps.

<代行印刷処理>
最初に代行印刷処理について説明を行う。まず、S2516で、プルプリントサーバ305は、変更前のプリンタに対してジョブキャンセルの処理を行う。このジョブキャンセル処理は、図22で説明したS2202以降の処理と同様の処理で実現することができる。なお、S2203乃至S2207の処理は、S2504乃至S2507、S2514において実行された処理と同様の処理である。従って、ステップS2516でS2203乃至S2207の処理を実行すれば、S2504乃至S2507、S2514の処理が繰り返し実行されることになる。従って、S2516では、S2203乃至S2207の処理を省略することも可能である。
<Substitute printing process>
First, the proxy printing process will be described. First, in step S <b> 2516, the pull print server 305 performs job cancel processing for the printer before the change. This job cancellation processing can be realized by the same processing as the processing after S2202 described in FIG. Note that the processes in S2203 to S2207 are the same as the processes executed in S2504 to S2507 and S2514. Therefore, if the processes of S2203 to S2207 are executed in step S2516, the processes of S2504 to S2507 and S2514 are repeatedly executed. Accordingly, in S2516, the processes in S2203 to S2207 can be omitted.

次に、S2517で、プルプリントサーバ305は、ジョブ情報中のデバイスアドレスを、S2508でプリンタ変更有りと判定された変更後の別のプリンタのデバイスアドレスに設定し、ジョブ情報を更新する。このジョブ情報は図10で説明したものと同様のものであり、第4実施形態では、図26に示した通りである。例えば変更前のプリンタがデバイスアドレスAに対応し、変更後のプリンタがデバイスアドレスBに対応する場合には、プルプリントサーバ305が保持するジョブ情報2601はジョブ情報2602に変更される。   In step S <b> 2517, the pull print server 305 sets the device address in the job information to the device address of another printer after the change determined to have a printer change in step S <b> 2508, and updates the job information. This job information is the same as that described with reference to FIG. 10, and in the fourth embodiment, it is as shown in FIG. For example, when the printer before change corresponds to the device address A and the printer after change corresponds to the device address B, the job information 2601 held by the pull print server 305 is changed to job information 2602.

次に、S2518では、プルプリントサーバ305は、更新されたジョブ情報に基づき、印刷出力が行われていない続きのページから印刷出力を行わせるよう代行先のプリンタへジョブを出力する代行出力処理を行う。その後、S2501へ処理を戻す。   In step S <b> 2518, the pull print server 305 performs proxy output processing for outputting a job to a proxy printer so that print output is performed from a subsequent page on which print output is not performed based on the updated job information. Do. Thereafter, the process returns to S2501.

尚、第1実施形態においても、図22の処理によって印刷が中断された後に、それまで使用していたプリントデバイスとは別のプリントデバイスにより認証情報記録媒体の検出を行わせることで、代行印刷を行わせることができる。即ち、別のプリントデバイスにより認証情報記録媒体の検出を行わせて、図14のS1410〜S1414の処理を実行させるようにすれば、ユーザの意思により、任意のプリンタで代行印刷を行わせることができる。そして、上述したように、第4実施形態においても、図14のS1410乃至S1414の処理と同様に、ユーザの意思により、任意のプリンタで代行印刷を行わせることができる。   In the first embodiment as well, after printing is interrupted by the processing of FIG. 22, the authentication information recording medium is detected by a printing device different from the printing device used so far, so that proxy printing is performed. Can be performed. That is, if the authentication information recording medium is detected by another printing device and the processing of S1410 to S1414 in FIG. 14 is executed, proxy printing can be performed by an arbitrary printer according to the user's intention. it can. As described above, also in the fourth embodiment, similarly to the processing of S1410 to S1414 in FIG. 14, proxy printing can be performed by an arbitrary printer according to the user's intention.

<分散印刷処理>
一方、S2515で正常と判断された場合には、S2508で変更有りと判定された変更後のプリンタに変更前のプリンタに割り当てられたジョブの一部を割り当て、分散印刷を行わせる。具体的には、まず、S2519で、変更前のプリンタに割り当てられたジョブの一部(例えば半分)を別のプリンタで印刷させるジョブを作成する。例えば、変更前のプリンタのジョブの後半ページ(例えば、全ページの半分+1ページ)を印刷開始ページとするジョブを作成する。
<Distributed printing>
On the other hand, if it is determined in S2515 that it is normal, a part of the job assigned to the printer before the change is assigned to the changed printer determined to be changed in S2508, and distributed printing is performed. Specifically, first, in S2519, a job is created to print a part (for example, half) of the job assigned to the printer before the change with another printer. For example, a job is created in which the second half page (for example, half of all pages + 1 page) of the printer job before the change is used as the print start page.

そして、S2520でS2519で作成した新たなジョブに対してジョブ情報(図26)を作成すると共に、対応するジョブ管理キュー(図10で説明したものに相当)に新規に生成したジョブIDを登録する。また、新たに作成されたジョブ情報ではなく、分割されたジョブ情報の印刷範囲(終了印刷ページ)の更新も行う。   In step S2520, job information (FIG. 26) is created for the new job created in step S2519, and the newly generated job ID is registered in the corresponding job management queue (corresponding to that described in FIG. 10). . Also, the print range (finished print page) of the divided job information is updated instead of the newly created job information.

そしてS2512で、新規に作成したジョブ情報に基づく、ユーザが認証情報記録媒体521をかざしたプルプリントエージェントを備えるプリンタに対して、ジョブを出力し、分散印刷を実現する。   In step S 2512, based on the newly created job information, a job is output to a printer having a pull print agent over which the user holds the authentication information recording medium 521, thereby realizing distributed printing.

以上のように第4実施形態では、プルプリントサーバ305が、プリントデバイス(印刷装置)から、識別情報の入力状態を示す通知を受信したことに応じて種々の印刷ジョブの制御が行われる。例えば、上記通知が示す印刷装置の状態(S2509)、或は、ジョブの状態(S2510)、或は、前記通知の出力元の印刷装置(S2508)に応じて、異なるジョブ制御が行われる。例えば、上記通知により、ジョブ実行の一時停止(S2513)、及び代行印刷処理(S2516〜S2518)、及び分散印刷処理(S2519〜S2521)等の何れかが実行される。   As described above, in the fourth embodiment, various print jobs are controlled in response to the pull print server 305 receiving a notification indicating the input state of identification information from the print device (printing apparatus). For example, different job control is performed according to the status of the printing apparatus indicated by the notification (S2509), the status of the job (S2510), or the printing apparatus (S2508) that is the output source of the notification. For example, one of the temporary stop of job execution (S2513), substitute printing processing (S2516 to S2518), distributed printing processing (S2519 to S2521), and the like is executed by the notification.

このように、第4実施形態では、認証情報記録媒体521を用いて、印刷ジョブのキャンセル、一時停止を行わせることができる。更に、別のプリントデバイスに認証情報記録媒体521を検出させることで、代行印刷や分散印刷を行わせることができる。   As described above, in the fourth embodiment, it is possible to cancel or temporarily stop a print job using the authentication information recording medium 521. Furthermore, proxy printing or distributed printing can be performed by causing another print device to detect the authentication information recording medium 521.

[第5実施形態]
上述の第1乃至第4実施形態では、プルプリントサーバ305保持される印刷ジョブにユーザ識別情報を含ませる、又は、関連付けるよう説明してきた。そして、プルプリントエージェント606からユーザ識別情報がプルプリントサーバ305に通知された場合に、通知されたユーザ識別情報と、印刷ジョブに含まれる、又は、関連付けられた印刷ジョブを特定し出力するよう説明した。
[Fifth Embodiment]
In the first to fourth embodiments described above, it has been described that user identification information is included in or associated with a print job held by the pull print server 305. Then, when user identification information is notified from the pull print agent 606 to the pull print server 305, the notified user identification information and the print job included in or associated with the print job are specified and output. did.

しかしながら、本願発明における、プルプリントサーバ305の1つ又は複数の印刷ジョブの保持のさせ方はこれに限定されない。例えば、図27に示されるような保持機能により1つ又は複数の印刷ジョブを保持するようにしても良い。以下、図27について、どのように1つ又は複数の印刷ジョブを保持しているかについて説明する。   However, the method of holding one or more print jobs in the pull print server 305 in the present invention is not limited to this. For example, one or a plurality of print jobs may be held by a holding function as shown in FIG. Hereinafter, with reference to FIG. 27, how one or a plurality of print jobs are held will be described.

まず、図中のプルプリントサーバ305は、図8にて説明した、プルプリントサーバに相当する。図27中の401Aは、図8のプリントキュー401Aに相当する。   First, the pull print server 305 in the figure corresponds to the pull print server described in FIG. In FIG. 27, 401A corresponds to the print queue 401A in FIG.

図中2701は、図8におけるS805の矢印を示す。2702は図8の401(図8の401Aでは無い)のプルプリントキューに印刷ジョブを蓄積する代わりに、1つ又は複数の印刷ジョブを蓄積する仮想プリントキューに相当する。また、2703は別の仮想プリントキューに相当する。   In the figure, 2701 indicates an arrow in S805 in FIG. 2702 corresponds to a virtual print queue that stores one or a plurality of print jobs instead of storing a print job in the pull print queue 401 (not 401A in FIG. 8) in FIG. Reference numeral 2703 corresponds to another virtual print queue.

ここで、第3実施形態特有の部分として、この仮想プリントキュー2702,2703にユーザ識別情報が関連付けられている点である。図27では、仮想プリントキュー2702に“ユーザ識別情報n”が、仮想プリントキュー2703に“ユーザ識別情報n+1”が夫々関連付けらている。そして、プルプリントエージェント606から、何れかのユーザ識別情報が通知されてくると、通知されたユーザ識別情報に該当する仮想プリントキューを検索する。なお、プルプリントエージェント606からユーザ識別情報が通知される条件については、上述のように、認証情報記録媒体521が取り外される場合であることに変わりはない。   Here, as a part unique to the third embodiment, user identification information is associated with the virtual print queues 2702 and 2703. In FIG. 27, “user identification information n” is associated with the virtual print queue 2702, and “user identification information n + 1” is associated with the virtual print queue 2703. When any user identification information is notified from the pull print agent 606, the virtual print queue corresponding to the notified user identification information is searched. Note that the condition for notifying the user identification information from the pull print agent 606 is the same as the case where the authentication information recording medium 521 is removed as described above.

そして、仮想プリントキューが特定されると、該特定された仮想プリントキューに登録された1つ又は複数の印刷ジョブがプリントキュー401Aに登録され、該登録に応じて、デバイススケジューラ600に対してスケジュール要求が即時発行される。図25では、“ユーザ識別情報n+1”が通知されているので、通知された“ユーザ識別情報n+1”に基づき、仮想プリントキュー2703が検索される。そして、この仮想プリントキュー2703に登録されている1つの印刷ジョブがプリントキュー401Aに登録される。   When the virtual print queue is specified, one or a plurality of print jobs registered in the specified virtual print queue are registered in the print queue 401A, and a schedule is sent to the device scheduler 600 according to the registration. The request is issued immediately. In FIG. 25, since “user identification information n + 1” is notified, the virtual print queue 2703 is searched based on the notified “user identification information n + 1”. Then, one print job registered in the virtual print queue 2703 is registered in the print queue 401A.

以上のように、図27によれば、印刷ジョブに含まれる、又は、関連付けら得ているユーザ識別情報を用いなくとも、仮想プリントキューのユーザ識別情報を検索するのみで容易に印刷すべき1つ又は複数の印刷ジョブを特定することができる。なお、この第3実施形態でも、第1及び第2実施形態と同様に、印刷ジョブにユーザ識別情報を含ませる、又は、関連付けるようにしても良い。   As described above, according to FIG. 27, printing should be easily performed only by retrieving the user identification information in the virtual print queue without using the user identification information included in or associated with the print job. One or more print jobs can be identified. In the third embodiment, as in the first and second embodiments, user identification information may be included in or associated with the print job.

このように、印刷装置からの送信されてくるユーザ識別情報に基づき1又は複数の印刷ジョブを読込可能な形態で保持するプルプリントサーバ305は、様々な形態で、1つ又は複数の印刷ジョブを保持することができる。   As described above, the pull print server 305 that holds one or a plurality of print jobs in a readable form based on the user identification information transmitted from the printing apparatus can store one or a plurality of print jobs in various forms. Can be held.

[他の実施形態]
以上のように、前述した実施形態の機能を実現するソフトウエアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給する。そして、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。
[Other Embodiments]
As described above, the storage medium storing the software program code for realizing the functions of the above-described embodiments is supplied to the system or apparatus. It goes without saying that the object of the present invention can also be achieved by the computer (or CPU or MPU) of the system or apparatus reading and executing the program code stored in the storage medium.

この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.

従って、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等、プログラムの形態を問わない。   Therefore, as long as it has the function of the program, the form of the program such as an object code, a program executed by an interpreter, or script data supplied to the OS is not limited.

プログラムを供給するための記憶媒体としては、例えばフレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD−ROM、CD−R、CD−RW、磁気テープ、不揮発性のメモリカード、ROM、DVDなどを用いることができる。   As a storage medium for supplying the program, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatile memory card, ROM, DVD, etc. Can be used.

この場合、記憶媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続する。そして、該ホームページから本発明のコンピュータプログラムそのもの、もしくは、圧縮され自動インストール機能を含むファイルをハードディスク等の記録媒体にダウンロードすることによっても供給できる。また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバやftpサーバ等も本発明の請求項に含まれるものである。   As another program supply method, a browser on a client computer is used to connect to an Internet home page. Then, the computer program itself of the present invention or a compressed file including an automatic installation function can be downloaded from the homepage by downloading it to a recording medium such as a hard disk. It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. That is, a WWW server, an ftp server, and the like that allow a plurality of users to download a program file for realizing the functional processing of the present invention on a computer are also included in the claims of the present invention.

また、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせる。そして、その鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。   In addition, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, distributed to users, and key information for decryption is downloaded from a homepage via the Internet to users who have cleared predetermined conditions. Let It is also possible to execute the encrypted program by using the key information and install the program on a computer.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけではない。例えばそのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行う。そして、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   In addition, the functions of the above-described embodiments are not only realized by executing the program code read by the computer. For example, based on an instruction of the program code, an OS (operating system) running on the computer performs part or all of the actual processing. Needless to say, the process includes the case where the functions of the above-described embodiments are realized.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込ませる。その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. After that, based on the instruction of the program code, the CPU of the function expansion board or function expansion unit performs part or all of the actual processing, and the processing of the above-described embodiment is realized by the processing. Needless to say.

本発明は上記実施形態に限定されるものではなく、本発明の趣旨に基づき種々の変形(各実施形態の有機的な組み合せを含む)が可能であり、それらを本発明の範囲から排除するものではない。   The present invention is not limited to the above embodiment, and various modifications (including organic combinations of the embodiments) are possible based on the spirit of the present invention, and these are excluded from the scope of the present invention. is not.

Claims (18)

印刷装置と通信可能なサーバ装置であって、
印刷指示に応じて印刷ジョブを生成するジョブ生成手段と、
前記ジョブ生成手段で生成された印刷ジョブを特定の識別情報に関連付けて保持する保持手段と、
印刷装置から識別情報を含む要求を受信する第1受信手段と、
前記第1受信手段により受信した要求に含まれる識別情報が前記特定の識別情報であった場合に、前記特定の識別情報に関連付けられている前記印刷ジョブを前記保持手段から読み出し、読み出された前記印刷ジョブを前記印刷装置へ出力する出力手段と
前記第1受信手段により前記要求を受信した後に、識別情報を含む更なる情報を印刷装置から受信した場合であって、前記更なる情報に含まれる識別情報が前記特定の識別情報であった場合には、前記印刷ジョブに対する処理を変更するジョブ制御手段と、を備えることを特徴とするサーバ装置。
A server device capable of communicating with a printing device,
Job generation means for generating a print job in response to a print instruction;
Holding means for holding in association with print job generated by the job generating means to a specific identification information,
First receiving means for receiving a request including identification information from the printing apparatus;
If the identification information included in the request received by said first receiving means is a said specific identification information, reading the Kishirushi printing job before associated with the specific identification information from said holding means, read out and output means for outputting the Kishirushi printing job before being to the printing device,
When further information including identification information is received from the printing apparatus after receiving the request by the first receiving means, and when the identification information included in the further information is the specific identification information Includes a job control unit that changes processing for the print job .
前記ジョブ制御手段は、
前記更なる情報に含まれる識別情報が前記特定の識別情報であった場合に、前記出力手段による出力先の印刷装置から、該印刷装置が印刷の実行が可能な正常状態か、印刷の実行ができない異常状態かを示す通知を受信
記通知が異常状態を示す場合、前記特定の識別情報により関連付けられている前記印刷ジョブをキャンセルすることを特徴とする請求項1に記載のサーバ装置。
The job control means includes
When the identification information included in the further information is the specific identification information, whether the printing apparatus is in a normal state in which printing can be performed from the output destination printing apparatus by the output unit, or printing is performed. receiving a notification indicating whether can not abnormal state,
Before Symbol notification may indicate an abnormal state, the server apparatus according to claim 1, wherein the associated to cancel the Kishirushi printing job before and Turkey by the particular identification information.
前記ジョブ制御手段は、
前記更なる情報に含まれる識別情報が前記特定の識別情報であった場合に、前記出力手段による出力先の印刷装置から、該印刷装置が印刷の実行が可能な正常状態か、印刷の実行ができない異常状態かを示す通知を受信
前記更なる情報の送信元の印刷装置が前記出力先の印刷装置とは異なる別の印刷装置であった場合に、前記通知が正常状態を示す場合は、前記印刷装置と前記別の印刷装置による分散印刷を実行し、前記通知が異常状態を示す場合は前記別の印刷装置による代行印刷を実行することを特徴とする請求項1に記載のサーバ装置。
The job control means includes
When the identification information included in the further information is the specific identification information, whether the printing apparatus is in a normal state in which printing can be performed from the output destination printing apparatus by the output unit, or printing is performed. receiving a notification indicating whether can not abnormal state,
When the printing device that is the transmission source of the further information is another printing device that is different from the printing device that is the output destination, and the notification indicates a normal state, the printing device and the other printing device run the distributed printing, the notification server apparatus according to claim 1, wherein the benzalkonium perform proxy printing by the another printing apparatus when indicating an abnormal state.
前記ジョブ制御手段は、
前記更なる情報に含まれる識別情報が前記特定の識別情報であった場合に、前記出力手段による出力先の印刷装置から、該印刷装置が印刷の実行が可能な正常状態か、印刷の実行ができない異常状態かを示す通知を受信
記通知が正常状態を示す場合に前記特定の識別情報に関連付けられている前記印刷ジョブの実行を一時停止することを特徴とする請求項1に記載のサーバ装置。
The job control means includes
When the identification information included in the further information is the specific identification information, whether the printing apparatus is in a normal state in which printing can be performed from the output destination printing apparatus by the output unit, or printing is performed. receiving a notification indicating whether can not abnormal state,
Before Symbol notification server apparatus according to claim 1, wherein characterized the pause to Turkey the execution of the print job associated with a particular identification information to indicate a normal state.
実行中の印刷ジョブの進行状況の通知を受信する第3受信手段と、
前記第3受信手段で受信された進行状況の通知に基づくジョブ状況情報を前記実行中の印刷ジョブに対応付けて前記保持手段に保持させる保持制御手段とを更に備えることを特徴とする請求項1乃至のいずれか1項に記載のサーバ装置。
Third receiving means for receiving a notification of the progress status of the print job being executed;
2. A holding control unit that causes the holding unit to hold job status information based on a progress status notification received by the third receiving unit in association with the print job being executed. 5. The server device according to any one of items 4 to 4 .
前記出力手段は、前記第1受信手段により受信した要求に含まれる識別情報に基づき読み込まれる印刷ジョブに対応して前記ジョブ状況情報が保持されている場合、そのジョブ状況情報に基づいて印刷ジョブを再出力することを特徴とする請求項に記載のサーバ装置。 If the job status information is stored in correspondence with the print job read based on the identification information included in the request received by the first receiving means, the output means outputs a print job based on the job status information. The server apparatus according to claim 5 , wherein the server apparatus re-outputs. 前記第1受信手段で受信した要求に含まれる出力先情報を前記印刷ジョブの出力先に設定する出力先設定手段を更に備えることを特徴とする請求項1乃至のいずれか1項に記載のサーバ装置。 To any one of claims 1 to 6, further comprising a destination setting means for setting an output destination information included in the request received by the first reception means to the output destination before Kishirushi printing job The server apparatus of description. 情報処理装置と印刷装置が通信可能な印刷システムであって、
前記情報処理装置は、
印刷ジョブを生成するジョブ生成手段と、
前記ジョブ生成手段で生成された印刷ジョブを特定の識別情報に関連付けて保持する保持手段とを備え、
前記印刷装置は、
前記情報処理装置へ識別情報を含む要求を発行する発行手段を備え、
前記情報処理装置は、
前記印刷装置から前記要求を受信する第1受信手段と、
前記第1受信手段により受信した前記要求に含まれる識別情報が前記特定の識別情報であった場合に、前記特定の識別情報に関連付けられている前記印刷ジョブを前記保持手段から読み出し、読み出された前記印刷ジョブを前記印刷装置へ出力する出力手段と
前記第1受信手段により前記要求を受信した後に、識別情報を含む更なる情報を印刷装置から受信した場合であって、前記更なる情報に含まれる識別情報が前記特定の識別情報であった場合には、前記印刷ジョブに対する処理を変更するジョブ制御手段と、を備えることを特徴とする印刷システム。
A printing system in which an information processing device and a printing device can communicate,
The information processing apparatus includes:
Job generation means for generating a print job;
And a holding means for holding in association with print job generated by the job generating means to a specific identification information,
The printing apparatus includes:
Issuing means for issuing a request including identification information to the information processing apparatus;
The information processing apparatus includes:
First receiving means for receiving the request from the printing apparatus;
If the identification information included in said request received by said first receiving means is a said specific identification information, reading the Kishirushi printing job before associated with the specific identification information from said holding means, reading the Kishirushi printing job before issued and output means for outputting to the printing device,
When further information including identification information is received from the printing apparatus after receiving the request by the first receiving means, and when the identification information included in the further information is the specific identification information Comprises a job control means for changing processing for the print job .
印刷装置と通信可能なサーバ装置によるジョブ制御方法であって、
ジョブ生成手段が、印刷指示に応じて印刷ジョブを生成するジョブ生成工程と、
保持手段が、前記ジョブ生成工程で生成された印刷ジョブを特定の識別情報に関連付けて、保持部に保持する保持工程と、
第1受信手段が、印刷装置から識別情報を含む要求を受信する第1受信工程と、
出力手段が、前記第1受信工程で受信した要求に含まれる識別情報が前記特定の識別情報であった場合に、前記特定の識別情報に関連付けられている前記印刷ジョブを前記保持から読み出し、該読み出された前記印刷ジョブを前記印刷装置へ出力する出力工程と
ジョブ制御手段が、前記第1受信工程で前記要求を受信した後に、識別情報を含む更なる情報を印刷装置から受信した場合であって、前記更なる情報に含まれる識別情報が前記特定の識別情報であった場合には、前記印刷ジョブに対する処理を変更するジョブ制御工程と、を有することを特徴とするジョブ制御方法。
A job control method by a server device capable of communicating with a printing device,
A job generation unit that generates a print job in response to a print instruction;
Holding means, in association with print job generated by the job generating step to a specific identification information, a holding step of holding the holding portion,
A first receiving step for receiving a request including identification information from the printing apparatus;
Output means, when the identification information included in the request received by the first receiving step was the specific identification information, the Kishirushi printing job before associated with the specific identification information from the holding unit reading, an output step of outputting said a Kishirushi printing job before read into the printing device,
When the job control unit receives further information including identification information from the printing apparatus after receiving the request in the first receiving step, the identification information included in the further information is the specific identification. And a job control step of changing processing for the print job if the information is information .
前記ジョブ制御工程では、
前記更なる情報に含まれる識別情報が前記特定の識別情報であった場合に、前記出力工程における出力先の印刷装置から、該印刷装置が印刷の実行が可能な正常状態か、印刷の実行ができない異常状態かを示す通知を受信
記通知が異常状態を示す場合、前記特定の識別情報により関連付けられている前記印刷ジョブをキャンセルすることを特徴とする請求項に記載のジョブ制御方法。
In the job control step,
When the identification information included in the further information is the specific identification information, whether the printing apparatus is in a normal state in which printing can be performed or whether printing is performed from the output destination printing apparatus in the output process. receiving a notification indicating whether can not abnormal state,
Before Symbol If the notification indicating the abnormal state, the job control method according to claim 9, wherein the associated to cancel the Kishirushi printing job before and Turkey by the particular identification information.
前記ジョブ制御工程では、
前記更なる情報に含まれる識別情報が前記特定の識別情報であった場合に、前記出力工程における出力先の印刷装置から、該印刷装置が印刷の実行が可能な正常状態か、印刷の実行ができない異常状態かを示す通知を受信
前記更なる情報の送信元の印刷装置が前記出力先の印刷装置とは異なる別の印刷装置であった場合に、前記通知が正常状態を示す場合は、ジョブ制御手段が、前記印刷装置と前記別の印刷装置による分散印刷を実行し、前記通知が異常状態を示す場合は前記ジョブ制御手段が前記別の印刷装置による代行印刷を実行することを特徴とする請求項に記載のジョブ制御方法。
In the job control step,
When the identification information included in the further information is the specific identification information, whether the printing apparatus is in a normal state in which printing can be performed or whether printing is performed from the output destination printing apparatus in the output process. receiving a notification indicating whether can not abnormal state,
If the printing device that is the transmission source of the further information is a different printing device that is different from the printing device that is the output destination, and the notification indicates a normal state, the job control unit may include the printing device and the printing device. executes a distributed printing by another printing apparatus, when the notification indicating the abnormal condition of claim 9, wherein the job control means, wherein the benzalkonium perform proxy printing by the another printing apparatus jobs Control method.
前記ジョブ制御工程では、
前記更なる情報に含まれる識別情報が前記特定の識別情報であった場合に、前記出力工程における出力先の印刷装置から、該印刷装置が印刷の実行が可能な正常状態か、印刷の実行ができない異常状態かを示す通知を受信
記通知が正常状態を示す場合に、ジョブ制御手段が、前記特定の識別情報に関連付けられている前記印刷ジョブの実行を一時停止することを特徴とする請求項に記載のジョブ制御方法。
In the job control step,
When the identification information included in the further information is the specific identification information, whether the printing apparatus is in a normal state in which printing can be performed or whether printing is performed from the output destination printing apparatus in the output process. receiving a notification indicating whether can not abnormal state,
If the previous SL notification indicating the normal state, the job control unit, the job control according to claim 9, wherein the pause to Turkey the execution of the print jobs associated with the specific identification information Method.
第3受信手段が、実行中の印刷ジョブの進行状況の通知を受信する第3受信工程と、
保持制御手段が、前記第3受信工程で受信された進行状況の通知に基づくジョブ状況情報を前記実行中の印刷ジョブに対応付けて前記保持部に保持させる保持制御工程とを更に備えることを特徴とする請求項乃至12のいずれか1項に記載のジョブ制御方法。
A third receiving step in which the third receiving means receives a notification of the progress of the print job being executed;
The holding control unit further includes a holding control step of causing the holding unit to hold job status information based on the progress status notification received in the third receiving step in association with the print job being executed. The job control method according to any one of claims 9 to 12 .
前記出力工程では、前記第1受信工程により受信した要求に含まれる識別情報に基づき読み込まれる印刷ジョブに対応して前記ジョブ状況情報が保持されている場合、そのジョブ状況情報に基づいて印刷ジョブを再出力することを特徴とする請求項13に記載のジョブ制御方法。 In the output step, when the job status information is held corresponding to the print job read based on the identification information included in the request received in the first receiving step, the print job is processed based on the job status information. The job control method according to claim 13 , wherein re-outputting is performed. 出力先設定手段が、前記第1受信工程で受信した要求に含まれる出力先情報を前記印刷ジョブの出力先に設定する出力先設定工程を更に備えることを特徴とする請求項乃至14のいずれか1項に記載のジョブ制御方法。 Output destination setting means, according to claim 9 to 14, further comprising a destination setting step for setting an output destination information included in the request received by the first reception step to the output destination before Kishirushi printing job The job control method according to any one of the above. 情報処理装置と印刷装置が通信可能な印刷システムによるジョブ制御方法であって、
前記情報処理装置において、印刷ジョブを生成するジョブ生成工程と、
前記情報処理装置において、前記ジョブ生成工程で生成された印刷ジョブを特定の識別情報に関連付けて保持部に保持する保持工程と、
前記印刷装置において、前記情報処理装置へ識別情報を含む要求を発行する発行工程と、
前記情報処理装置において、前記印刷装置から前記要求を受信する第1受信工程と、
前記情報処理装置において、前記第1受信工程で受信した要求に含まれる識別情報が前記特定の識別情報であった場合に、前記特定の識別情報に関連付けられている前記印刷ジョブを前記保持部から読み出し、読み出された前記印刷ジョブを前記情報処理装置から前記印刷装置へ出力する出力工程と
前記情報処理装置において、前記第1受信工程で前記要求を受信した後に、識別情報を含む更なる情報を印刷装置から受信した場合であって、前記更なる情報に含まれる識別情報が前記特定の識別情報であった場合には、前記印刷ジョブに対する処理を変更するジョブ制御手段と、を有することを特徴とするジョブ制御方法。
A job control method by a printing system in which an information processing device and a printing device can communicate,
In the information processing apparatus, a job generation step for generating a print job;
In the information processing apparatus, a holding step of holding the holding portion in association with the print job generated by the job generating step to a specific identification information,
In the printing apparatus, an issuing step for issuing a request including identification information to the information processing apparatus;
A first receiving step for receiving the request from the printing apparatus in the information processing apparatus;
In the information processing apparatus, when the identification information included in the request received in the first reception step is the specific identification information, the print job associated with the specific identification information is received from the holding unit. read, and an output step of Kishirushi printing job before read output from the information processing apparatus to the printing apparatus,
In the information processing apparatus, after receiving the request in the first receiving step, further information including identification information is received from a printing apparatus, and the identification information included in the further information is the specific information A job control method comprising: job control means for changing processing for the print job when the identification information is received .
請求項乃至16のいずれか1項に記載されたジョブ制御方法をコンピュータに実行させるためのコンピュータプログラム。 A computer program for causing a computer to execute the job control method according to any one of claims 9 to 16 . 請求項乃至16のいずれか1項に記載されたジョブ制御方法をコンピュータに実行させるためのコンピュータプログラムを格納したことを特徴とする記憶媒体。 A storage medium storing a computer program for causing a computer to execute the job control method according to any one of claims 9 to 16 .
JP2011196490A 2005-12-28 2011-09-08 Printing system, server device and job control method Pending JP2011253568A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011196490A JP2011253568A (en) 2005-12-28 2011-09-08 Printing system, server device and job control method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2005380163 2005-12-28
JP2005380163 2005-12-28
JP2011196490A JP2011253568A (en) 2005-12-28 2011-09-08 Printing system, server device and job control method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006305977A Division JP4869031B2 (en) 2005-12-28 2006-11-10 Printing system, server apparatus, and job control method

Publications (1)

Publication Number Publication Date
JP2011253568A true JP2011253568A (en) 2011-12-15

Family

ID=38214018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011196490A Pending JP2011253568A (en) 2005-12-28 2011-09-08 Printing system, server device and job control method

Country Status (2)

Country Link
JP (1) JP2011253568A (en)
CN (1) CN100451945C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016021127A (en) * 2014-07-14 2016-02-04 コニカミノルタ株式会社 Print system, print server, print control method, and print control program
JP2017107575A (en) * 2017-01-05 2017-06-15 カシオ計算機株式会社 Terminal device and program

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5618773B2 (en) * 2010-11-11 2014-11-05 キヤノン株式会社 Image forming system, image forming apparatus, and method in image forming apparatus
JP5909896B2 (en) * 2011-07-04 2016-04-27 セイコーエプソン株式会社 Printing apparatus, printing system, and printing method
CN105700834B (en) * 2015-12-31 2019-04-09 北京恒安讯佳信息安全技术有限公司 A kind of method and device monitoring hard copy task(HCT)
JP7331455B2 (en) * 2019-05-20 2023-08-23 セイコーエプソン株式会社 PRINT SYSTEM, PRINT CONTROL DEVICE, PROGRAM, AND PRINT CONTROL DEVICE CONTROL METHOD
CN110750223A (en) * 2019-09-26 2020-02-04 山东欣博药物研究有限公司 Paper management system for manual recording

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004096793A (en) * 2003-11-04 2004-03-25 Sharp Corp Image output processor
JP2004133908A (en) * 2002-08-28 2004-04-30 Oce Technologies Bv Print job-adjusted simultaneous printing

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08263414A (en) * 1995-03-20 1996-10-11 Canon Inc Network system and managing method for the same
US20040190042A1 (en) * 2003-03-27 2004-09-30 Ferlitsch Andrew Rodney Providing enhanced utilization of printing devices in a cluster printing environment
JP2005316770A (en) * 2004-04-28 2005-11-10 Canon Inc Job information management system and method, program, and storage medium
JP2005313487A (en) * 2004-04-28 2005-11-10 Ricoh Co Ltd Print service providing device, program and recording medium for providing print service, communication device, and program and recording medium for requesting print service
JP2005327123A (en) * 2004-05-14 2005-11-24 Seiko Epson Corp Print job identification apparatus, printer with identification function, printer management server and identification printing program, identification printing method, and identification printing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004133908A (en) * 2002-08-28 2004-04-30 Oce Technologies Bv Print job-adjusted simultaneous printing
JP2004096793A (en) * 2003-11-04 2004-03-25 Sharp Corp Image output processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016021127A (en) * 2014-07-14 2016-02-04 コニカミノルタ株式会社 Print system, print server, print control method, and print control program
JP2017107575A (en) * 2017-01-05 2017-06-15 カシオ計算機株式会社 Terminal device and program

Also Published As

Publication number Publication date
CN100451945C (en) 2009-01-14
CN1991741A (en) 2007-07-04

Similar Documents

Publication Publication Date Title
JP4869031B2 (en) Printing system, server apparatus, and job control method
JP4018622B2 (en) Information processing apparatus, information processing system, information processing method, information processing program, and storage medium
JP5460200B2 (en) Print control apparatus, print control method, and computer program
JP2011253568A (en) Printing system, server device and job control method
US8009310B2 (en) Print control program, method of controlling printing apparatus, and print control unit
US8804162B2 (en) Information processing apparatus, printing system, monitoring method, program, and storage medium
JP3854963B2 (en) Information processing apparatus, printing system, load balancing printing method, and control program
JP3774702B2 (en) Print control program and information processing apparatus
JP4971778B2 (en) Print management apparatus, print management method, and computer program
JP5100195B2 (en) Information processing apparatus and job management method
JP3927949B2 (en) Information processing apparatus, load distribution printing method, program, and storage medium
JP4298738B2 (en) Client computer and information processing method
JP2006209309A (en) Print system
JP2009037488A (en) Method for controlling print job, its print system, information processor, and printer
JP2008097226A (en) Information processing device and method
JP2006209410A (en) Print system
JP2005209014A (en) Job management device and method and control program
JP2008107921A (en) Pull print server and its control method
JP2007025970A (en) Pull print system
JP2008077355A (en) Information processor, print system, and transfer control method of print job
JP2007004680A (en) Printing control device, printing control method and printing control program
JP4564626B2 (en) PRINT CONTROL DEVICE, CONTROL METHOD FOR PRINT CONTROL DEVICE, AND RECORDING MEDIUM
JP2006062257A (en) Printing device, network connection device, printing control method, and printing control program
JP2013111799A (en) Printer and method for controlling the same
JP2001260433A (en) Printer and its control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110908

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121009

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121102

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121228

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130603