JP2007025970A - Pull print system - Google Patents

Pull print system Download PDF

Info

Publication number
JP2007025970A
JP2007025970A JP2005205695A JP2005205695A JP2007025970A JP 2007025970 A JP2007025970 A JP 2007025970A JP 2005205695 A JP2005205695 A JP 2005205695A JP 2005205695 A JP2005205695 A JP 2005205695A JP 2007025970 A JP2007025970 A JP 2007025970A
Authority
JP
Japan
Prior art keywords
print
job
information
pull
printer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2005205695A
Other languages
Japanese (ja)
Inventor
Nakakatsu Kurotsu
中克 黒津
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 JP2005205695A priority Critical patent/JP2007025970A/en
Publication of JP2007025970A publication Critical patent/JP2007025970A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Facsimiles In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a pull print system for appropriately performing post-processing in response to a print result. <P>SOLUTION: The system is configured to have a print result determining means determining a print result, and to delete print data when it is determined that the print result is "OK" as a result of determination by the determining means. The print data to be spooled on a print server 605 being based on the print result by a print device by which the print is executed, accidental deletion of a print job is avoided, further, when the print is completed successfully, the job may be deleted timely and surely, and a load on the server 605 and a maintenance load thereon can be reduced. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、プルプリント印刷システムに関する。   The present invention relates to a pull print printing system.

従来、印刷装置上の操作パネル或いは、印刷装置近傍の操作端末等から、サーバ上の印刷ジョブを印刷するプルプリントシステムが考案されている。このようなプルプリントサーバでは、印刷装置による印刷(プルプリント)が完了したタイミングを知ることができなかっため、その印刷完了後の処理を円滑に行うことができなかった。具体的には印刷実行されたジョブを削除するタイミングを決定する事が出来なかった為、その処理は主にユーザ或いは管理者の指示によるか、或いは一定期間後に自動的に削除されるように構成されていた。しかし、この場合には印刷されていない文書も削除されてしまったり、或いは、一定期間内に大量の印刷ジョブが投入された場合には、サーバの負荷を圧迫する結果となっていた。   2. Description of the Related Art Conventionally, a pull print system has been devised for printing a print job on a server from an operation panel on a printing apparatus or an operation terminal near the printing apparatus. In such a pull print server, it is impossible to know the timing when printing (pull printing) by the printing apparatus is completed, and thus it is not possible to smoothly perform processing after the printing is completed. Specifically, since it was not possible to determine the timing for deleting a job that has been printed, the processing is mainly performed according to an instruction from a user or an administrator, or automatically deleted after a certain period of time. It had been. However, in this case, unprinted documents are deleted, or if a large number of print jobs are submitted within a certain period, the result is that the load on the server is reduced.

また、この問題を解決するために、プルプリントサーバが、印刷装置による印刷が完了する印刷完了時刻を推定できるようにして、その印刷完了推定時刻を元に該印刷された印刷ジョブを削除するシステムが考案されている(特許文献1)。
特開2004-145554号公報
In order to solve this problem, the pull print server can estimate the print completion time when printing by the printing apparatus is completed, and deletes the printed job based on the estimated print completion time Has been devised (Patent Document 1).
JP 2004-145554 A

しかしながら、従来の技術においては、サーバが印刷実行された時刻からの推測により該印刷ジョブを削除してしまう為に、プルプリントサーバから印刷装置に印刷データを送信した後に印刷装置でエラーが発生した場合など、印刷が適切に完了する前に印刷データが削除されてしまう場合があった。   However, in the conventional technique, an error occurs in the printing apparatus after the print data is transmitted from the pull print server to the printing apparatus because the print job is deleted by estimation from the time when the server executes printing. In some cases, the print data may be deleted before the printing is properly completed.

上述した問題を解決するために、本発明は、印刷データをスプールし管理するプリントサーバと、前記サーバに印刷実行を指示する印刷実行指示手段とを備え、前期印刷実行指示手段からの指示に従って、前記プリントサーバに留め置かれた印刷データを印刷出力するプルプリントシステムにおいて、前記実行された印刷ジョブの印刷結果を検知する印刷結果検知手段と、印刷結果検知手段によって検知された、印刷結果を判定する印刷結果判定手段とを備え、前記印刷結果判定手段によって判定された前記印刷結果が成功であった場合に前記印刷ジョブを前記サーバから消去するジョブ消去手段を備えた事を特徴とするプルプリントシステム。   In order to solve the above-described problem, the present invention includes a print server that spools and manages print data, and a print execution instruction unit that instructs the server to execute printing. According to an instruction from the previous period print execution instruction unit, In a pull print system for printing out print data held in the print server, a print result detection unit for detecting a print result of the executed print job and a print result detected by the print result detection unit are determined. And a print result determining means, and a job erasing means for erasing the print job from the server when the print result determined by the print result determining means is successful. system.

本発明によれば、プリントサーバ上にスプールされる印刷データは印刷が実行された印刷装置での印刷結果を元にしている為、不用意に印刷ジョブを消去してしまうという事がなくなり、更には、印刷が成功した時に、タイミングよく確実にジョブを消去できるようになり、サーバの負荷及びメンテナンス負荷を軽減する事が可能となる。   According to the present invention, since the print data spooled on the print server is based on the print result of the printing apparatus on which printing has been executed, there is no need to inadvertently delete the print job. When printing is successful, the job can be surely erased in a timely manner, and the load on the server and the maintenance load can be reduced.

以下、本発明の実施の形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<システム構成>
図1は、本発明の実施形態に係るプリントシステムの全体構成を示すブロック図である。本プリントシステムは、情報処理装置としてのクライアント(コンピュータ)101〜103と、印刷装置(プリントデバイス)としてのネットワークプリンタ104〜105とを含み、これらが互いに接続されていることにより、全体としてネットワークを構成している。
<System configuration>
FIG. 1 is a block diagram showing the overall configuration of a printing system according to an embodiment of the present invention. The printing system includes clients (computers) 101 to 103 as information processing apparatuses and network printers 104 to 105 as printing apparatuses (printing devices). It is composed.

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

ネットワークプリンタ104〜105は、クライアント(コンピュータ)101〜103から、印刷データを含む印刷ジョブを受信し、受信した印刷ジョブを解析して印刷する物理的な装置としてのプリントデバイスである。ネットワークプリンタ104〜105としては、電子写真方式を採用したレーザービームプリンタやインクジェット方式を採用したインクジェットプリンタや熱転写方式を利用したプリンタ等、あらゆる方式の印刷装置を採用することができる。   The network printers 104 to 105 are print devices as physical devices that receive print jobs including print data from clients (computers) 101 to 103, analyze the received print jobs, and print. 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は、複数のクライアント(コンピュータ)101〜104からの印刷要求を受け付け、受け付けた印刷要求の順序を決定し、印刷指示を発行する機能、ネットワークプリンタ104〜105に転送された印刷ジョブ、ネットワークプリンタ104〜105の状態を監視し、印刷の終了やプリンタ状態をクライアント(コンピュータ)101〜104に通知する機能を有する。   Further, the network printers 104 to 105 receive print requests from a plurality of clients (computers) 101 to 104, determine the order of the received print requests, and issue a print instruction, and are transferred to the network printers 104 to 105. The print job and the status of the network printers 104 to 105 are monitored, and the client (computer) 101 to 104 is notified of the end of printing and the printer status.

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

<プリントサーバ及びクライアントの構成>
図2は、図1に示したクライアント(コンピュータ)101〜103のハードウェア構成を説明するブロック図である。
<Configuration of print server and client>
FIG. 2 is a block diagram illustrating a hardware configuration of the clients (computers) 101 to 103 illustrated in FIG.

図2において、CPU200は、HD(ハードディスク)205に格納されているアプリケーションプログラム、プリンタドライバプログラム、OSや印刷制御プログラム等を読出して実行し、RAM202にプログラムの実行に必要な情報、ファイル等を一時的に格納制御を行うための制御手段である。   In FIG. 2, a CPU 200 reads and executes an application program, a printer driver program, an OS, a print control program, and the like stored in an HD (hard disk) 205, and temporarily stores information, files, and the like necessary for executing the program in a RAM 202. It is a control means for performing storage control automatically.

ROM201は、基本I/Oプログラム等のプログラム、文書処理の際に使用するフォントデータ、テンプレート用データ等の各種データを記憶する記憶手段である。RAM202は、CPU200の主メモリやワークエリア等として機能する一時記憶手段である。   The ROM 201 is a storage unit that stores programs such as a basic I / O program, various data such as font data and template data used for document processing. The RAM 202 is temporary storage means that functions as a main memory or work area of the CPU 200.

FD(フレキシブルディスク)ドライブ203は、後述する図5に示すように記憶媒体としてのFD204に記憶されたプログラム等を本コンピュータシステムにロードするための記憶媒体読み込み手段である。なお、クライアント(コンピュータ)101〜103は、FDドライブ203に代えて、或いはFDドライブ203と共に、他の記憶媒体読込手段を備えてもよい。他の記憶媒体としては、CD−ROM、CD−R、CD−RW、PCカード、DVD、ICメモリカード、MO、メモリスティック等、コンピュータが読み取り可能なあらゆる記憶媒体が挙げられる。   The FD (flexible disk) drive 203 is a storage medium reading means for loading a program or the like stored in the FD 204 as a storage medium into the computer system as shown in FIG. The clients (computers) 101 to 103 may include other storage medium reading means instead of the FD drive 203 or together with the FD drive 203. Examples of the other storage medium include any computer-readable storage medium such as a CD-ROM, CD-R, CD-RW, PC card, DVD, IC memory card, MO, and memory stick.

HD205は、大容量メモリとして機能する外部記憶手段であり、アプリケーションプログラム、プリンタドライバプログラム、OS、印刷制御プログラム、及び関係プログラム等を格納している。さらに、スプール手段であるスプーラはここに確保される。なお、クライアント(コンピュータ)101〜103ではスプール手段としてスプーラが確保される。   The HD 205 is an external storage unit that functions as a large-capacity memory, and stores an application program, a printer driver program, an OS, a print control program, a related program, and the like. Furthermore, a spooler as spool means is secured here. The clients (computers) 101 to 103 secure a spooler as spool means.

キーボード206は、ユーザがプリントサーバ101やクライアント107、108に対して、デバイスの制御コマンドの命令等を入力指示するための指示入力手段である。   The keyboard 206 is an instruction input unit for the user to instruct the print server 101 and the clients 107 and 108 to input device control command instructions and the like.

ディスプレイ207は、キーボード206から入力したコマンドや、プリンタ104〜105の状態等を表示する表示手段である。尚、実際にはクライアント(コンピュータ)101〜103上で稼動するオペレーティングシステムを介して表示手段に表示指示がなされ、このオペレーティングシステムに本印刷処理プログラムによりリソースファイルの表示指示が行われ、後述する各表示が実現される。208はシステムバスであり、クライアント(コンピュータ)101〜103としてのコンピュータ内のデータの流れを司るものである。   A display 207 is a display unit that displays commands input from the keyboard 206, the states of the printers 104 to 105, and the like. Actually, a display instruction is given to the display means via an operating system running on the clients (computers) 101 to 103, and a resource file display instruction is given to this operating system by this print processing program. Display is realized. A system bus 208 controls the data flow in the computers as the clients (computers) 101 to 103.

またインタフェース209は、入出力手段であり、プリントサーバ101またはクライアント107,108は、インタフェース209を介してネットワーク上の他の装置とのデータのやり取りを行う。   The interface 209 is an input / output unit, and the print server 101 or the clients 107 and 108 exchange data with other devices on the network via the interface 209.

<メモリマップ等の説明>
図3は、図2に示したRAM202のメモリマップの一例を示す図であり、印刷制御プログラムが、RAM202にロードされ実行可能となった状態のメモリマップである。
<Explanation of memory map>
FIG. 3 is a diagram illustrating an example of a memory map of the RAM 202 illustrated in FIG. 2, and is a memory map in a state where the print control program is loaded into the RAM 202 and can be executed.

印刷制御プログラム及び関係データは、予めFD204からHD205にインストールされて、HD205からRAM202にロードするようにしてもよいしFD204から直接RAM202にロードして実行させてもよい。さらに、印刷制御プログラムをROM201に記憶しておき、これをメモリマップの一部となすように構成し、直接CPU200で実行することも可能である。また、以上の各装置と同等の機能を実現するソフトウェアをもって、ハードウェア装置の代替として構成することもできる。   The print control program and the related data may be installed in advance from the FD 204 to the HD 205 and loaded from the HD 205 into the RAM 202, or may be directly loaded from the FD 204 into the RAM 202 and executed. Furthermore, it is also possible to store the print control program in the ROM 201, configure it as a part of the memory map, and execute it directly by the CPU 200. In addition, software that realizes the same function as each of the above devices can be used as an alternative to a hardware device.

印刷制御プログラムは、クライアントにおいては、印刷データを転送したり、印刷ジョブの印刷先の変更を指示したり、印刷順序を変更したりする指示をするための制御を行う。   The print control program controls the client to instruct to transfer print data, instruct to change the print destination of the print job, or to change the print order.

301は基本I/Oプログラムを記憶するための領域である。基本I/Oプログラムは、装置(プリントサーバ101またはクライアント107,108)の電源がONされたときに、HD205からOSがRAM202に読み込まれ、OSの動作を開始させるIPL(イニシャルプログラムローデイング)機能などを有しているプログラムである。   Reference numeral 301 denotes an area for storing a basic I / O program. The basic I / O program is an IPL (Initial Program Loading) function that starts the operation of the OS by reading the OS from the HD 205 into the RAM 202 when the apparatus (the print server 101 or the clients 107 and 108) is turned on. And so on.

302はOS(オペレーティングシステム)を記憶する領域であり、303は印刷制御プログラムを記憶する領域である。304は、関係データを記憶する領域である。305はワークエリアで、CPU200が各種のプログラムを実行するための領域である。   An area 302 stores an OS (operating system), and an area 303 stores a print control program. Reference numeral 304 denotes an area for storing related data. A work area 305 is an area for the CPU 200 to execute various programs.

図4は、図2に示したFD204のメモリマップの一例を示す図である。図4において、400はFD204のデータ内容であり、データの情報を示すボリューム情報401と、ディレクトリ情報402と、印刷制御プログラム403と、その関係データ404を含んでいる。   FIG. 4 is a diagram illustrating an example of a memory map of the FD 204 illustrated in FIG. In FIG. 4, reference numeral 400 denotes data contents of the FD 204, which includes volume information 401 indicating data information, directory information 402, a print control program 403, and related data 404.

図5は、本発明の実施形態に関わる印刷システムのハードウェア構成を説明するブロック図である。500はプリンタで、内部で大きくネットワークプリンタサーバ520とプリンタコントローラ519からなる異なる制御系を司る機器で構成されている。ネットワークプリントサーバ520において、501はネットワークプリントサーバ用CPUで、書き換え可能なFlashROM503に記憶された制御プログラムに基づいてシステムバス504に接続されるネットワークコントローラ(LANC505)を介してローカルエリアネットワーク(LAN512)に接続されたホストコンピュータ等の複数の外部装置(不図示)と所定のネットワーク通信プロトコルを用いて、前記外部装置から送られる印刷データやプリンタ制御命令等の各種データ送受信要求を統括的に制御し、拡張インタフェースコントローラ(EXPC507)を介して接続されるプリンタコントローラ519に対して適切なデータ転送制御を行なう。   FIG. 5 is a block diagram illustrating a hardware configuration of the printing system according to the embodiment of the present invention. Reference numeral 500 denotes a printer, which is mainly composed of devices that control different control systems including a network printer server 520 and a printer controller 519. In the network print server 520, reference numeral 501 denotes a network print server CPU, which is connected to a local area network (LAN 512) via a network controller (LANC 505) connected to the system bus 504 based on a control program stored in a rewritable Flash ROM 503. By using a plurality of external devices (not shown) such as connected host computers and a predetermined network communication protocol, it collectively controls various data transmission / reception requests such as print data and printer control commands sent from the external device, Appropriate data transfer control is performed for the printer controller 519 connected via the expansion interface controller (EXPC 507).

RAM502はCPU501の主メモリ、ワークエリア等の一時記憶領域をして用いられる。   The RAM 502 is used as a temporary storage area such as a main memory or work area of the CPU 501.

LED506はネットワークプリントサーバの動作状態を示す表示部として用いられており、例えばネットワークコントローラ(LANC505)とローカルエリアネットワーク(LAN512)の電気的な接続状態(LINK)やネットワーク通信モード(10Baseや100Base、全二重、半二重)等の各種動作状態をLEDの点滅パターンや色で示すこと可能となっている。   The LED 506 is used as a display unit indicating the operation state of the network print server. For example, the electrical connection state (LINK) between the network controller (LANC 505) and the local area network (LAN 512) and the network communication mode (10Base, 100Base, all Various operating states such as double and half duplex can be indicated by LED blinking patterns and colors.

さらにネットワークプリントサーバ520とプリンタコントローラ519を繋ぐ拡張インタフェース517は、図示しないコネクタで構成されておりネットワークプリントサーバ520のみが着脱し、同じ構成を持つ別のプリンタ500にネットワークプリントサーバ520を装着することも可能な構成となっている。   Furthermore, the expansion interface 517 that connects the network print server 520 and the printer controller 519 is configured with a connector (not shown), and only the network print server 520 can be attached and detached, and the network print server 520 can be attached to another printer 500 having the same configuration. Is also possible.

プリンタコントローラ519において、508はプリンタコントローラ用CPUで、ROM509に記憶された制御プログラム等あるいはディスクコントローラ(DKC515)を介して接続された外部メモリ510に記憶された制御プログラムやリソースデータ(資源情報)等に基づいてシステムバス511に接続される各種デバイスとのアクセスを統括的に制御し、拡張インタフェースコントローラ(EXPC513)を介して接続されるネットワークプリントサーバ520から受信される印刷データを基にラスタコントローラ512によって出力画像情報を生成し、プリントエンジン516に対して画像信号を出力する。   In the printer controller 519, a printer controller CPU 508 is a control program stored in the ROM 509 or a control program or resource data (resource information) stored in the external memory 510 connected via the disk controller (DKC 515). And the raster controller 512 based on print data received from the network print server 520 connected via the expansion interface controller (EXPC 513). To generate output image information and output an image signal to the print engine 516.

514はCPU508の主メモリ、ワークエリア等として機能するRAMで、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。   Reference numeral 514 denotes a RAM that functions as a main memory, a work area, and the like for the CPU 508, and is configured so that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown).

518は操作パネル(操作部)でプリンタ500の動作モード等の設定や印刷データの取り消し等の操作を行なうためのボタンおよびプリンタ500の動作状態を示す液晶パネルやLED等の表示部が配されている。   Reference numeral 518 denotes an operation panel (operation unit) on which buttons for performing operations such as setting of the operation mode of the printer 500 and cancellation of print data and a display unit such as a liquid crystal panel and LEDs indicating the operation state of the printer 500 are arranged. Yes.

なお、本図で示したプリンタエンジン516は既知の印刷技術を利用するものであり、好適な実施系として例えば電子写真方式(レーザービーム方式)やインクジェット方式、昇華方(熱転写)方式等が挙げられる。   The printer engine 516 shown in the figure uses a known printing technique, and examples of suitable implementation systems include an electrophotographic system (laser beam system), an inkjet system, and a sublimation method (thermal transfer) system. .

519は外部装置520と情報のやり取りを行う外部I/Oインタフェースである。   Reference numeral 519 denotes an external I / O interface for exchanging information with the external device 520.

次に、本プリントシステムのクライアントのソフトウェア構成について説明する。図6は、クライアント101〜103におけるソフトウェア構成の一例を示す図である。(図6中、Windowsは登録商標です。図7においても同様)それぞれの構成間の矢印は、アプリケーションから発行された描画コマンドを含む印刷ジョブが、どのように処理されるかを示したものである。また、各ブロックで示されたソフトウェア構成は、図2のCPU200によって実行され、所望の機能を実現する。   Next, the software configuration of the client of this print system will be described. FIG. 6 is a diagram illustrating an example of a software configuration in the clients 101 to 103. (In FIG. 6, Windows is a registered trademark. The same applies to FIG. 7.) The arrows between the components indicate how a print job including a drawing command issued from an application is processed. is there. The software configuration shown in each block is executed by the CPU 200 in FIG. 2 to realize a desired function.

通常、文書作成ソフトなどの一般的なアプリケーションプログラム601は印刷の指示を受け付けると、一連の描画コマンドをOSを介して生成する。OSを介して生成された描画コマンドを受け取ったPDLドライバ602は、一連の描画コマンドに基づいてネットワークプリンタ104〜105で解釈可能なPDLファイルを含む印刷ジョブを生成する。なお、以下の説明ではPDLドライバを例に説明を行うが、これに限定されるものではなく、例えば、BDL(Band description Language)や、圧縮ビットマップを作成するプリンタドライバ、或いは、アプリケーション及びOSによりプリンタドライバを介さずに印刷データを生成する形態などにも適用可能であることはいうまでもない。   Normally, when a general application program 601 such as document creation software receives a print instruction, it generates a series of drawing commands via the OS. The PDL driver 602 that has received a drawing command generated 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. In the following description, a PDL driver will be described as an example. However, the present invention is not limited to this. For example, a BDL (Band description Language), a printer driver that creates a compression bitmap, or an application and OS Needless to say, the present invention can also be applied to a form in which print data is generated without using a printer driver.

PDLドライバ602は、プリントデバイスへ印刷ジョブを送信するためにスプーラ603に渡す。   The PDL driver 602 passes the print job to the spooler 603 to transmit the print job to the print device.

ここではOSをウィンドウズ(登録商標)と仮定しているのでスプーラ603はウィンドウズ(登録商標)スプーラである。ただし、本発明を適用するコンピュータのOSはWindows(登録商標)に限定されるものではなく、描画命令を備えるものであれば他のOSも適用可能であることは言うまでもない。   Here, since the OS is assumed to be Windows (registered trademark), the spooler 603 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.

スプーラ603は、ユーザがユーザインタフェースを介して選択し指示したポートモニタ604に印刷ジョブを渡して、ネットワークプリンタ104〜105等のプリントデバイスに送信させる手順をとる(矢印a)。   The spooler 603 takes a procedure of transferring a print job to the port monitor 604 selected and instructed by the user via the user interface and transmitting the print job to a print device such as the network printers 104 to 105 (arrow a).

ここでは、ユーザはあらかじめプルプリントサーバ605に印刷データを転送する、ポートモニタ604(以降、ジョブ制御ポートモニタと略記)を指定して印刷を指示したものとして説明を進める。   Here, the description will be made assuming that the user has designated the port monitor 604 (hereinafter abbreviated as job control port monitor) to transfer the print data to the pull print server 605 and instructed printing in advance.

また、プリンタドライバインタフェースを介して設定された用紙サイズ、ステープル指示等の印刷設定情報も、ジョブ制御ポートモニタ604に送信される。ジョブ制御ポートモニタ604はプリントサービス605(以降、プルプリントサーバと称する)に送信する(矢印b)。   In addition, 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 604. The job control port monitor 604 transmits to the print service 605 (hereinafter referred to as a pull print server) (arrow b).

また、クライアント101〜103においてプルプリントサーバ605と別のクライアント608のジョブ登録アプリケーション609はAPI610を介し、プルプリントサーバ605に印刷データを投入する。(矢印g)
プルプリントサーバ605は、転送された印刷ジョブ及びデバイスの状態を管理する機能を備える。また、プリントデバイスから通知されるデバイス状態やジョブの状態などの情報を管理したり、また、プリントデバイスに対して所定の命令をする機能も備える。これは、複数のネットワークプリンタ104〜105のデバイス情報やジョブ情報を管理する機能に相当する。
In the clients 101 to 103, the job registration application 609 of the client 608 other than the pull print server 605 inputs print data to the pull print server 605 via the API 610. (Arrow g)
The pull print server 605 has a function of managing the transferred print job and device status. It also has functions of managing information such as device status and job status notified from the print device, and giving a predetermined command to the print device. This corresponds to a function for managing device information and job information of a plurality of network printers 104 to 105.

そして、印刷データをプリンタデバイス606に送信する前に、プリンタデバイス606が持つ印刷ジョブの順序管理機能に印刷の要求を発行し、順序管理機能に基づき順番が到来した場合には、プリンタデバイス606からの印刷指示により、ネットワークプリンタ104〜105に印刷データを送信する(矢印c、d、e)。   Before sending the print data to the printer device 606, a print request is issued to the print job order management function of the printer device 606. When the order arrives based on the order management function, the printer device 606 Print data is transmitted to the network printers 104 to 105 (arrows c, d, e).

プリンタデバイス606は、印刷データの完了を確認すると印刷完了の通知をプルプリントサーバ605に通知(矢印f)したり、また、プリンタデバイス606の状態を通知する(矢印f)。   Upon confirming the completion of the print data, the printer device 606 notifies the pull print server 605 of a print completion notification (arrow f), and notifies the status of the printer device 606 (arrow f).

プリントマネージャ607は、ユーザが、プルプリントサーバ605内部でプリントジョブがどのような状態にあるかを調べたり、プリントジョブを操作したりするためのユーザインタフェースを提供するプログラムである。プリントマネージャ607は、プルプリントサーバ605のソフトウェアのインタフェース(API:Application Program Interface)を介して、プルプリントサーバ605と情報・指示をやり取りしている。   The print manager 607 is a program that provides a user interface for the user to check what state the print job is in the pull print server 605 and to operate the print job. The print manager 607 exchanges information and instructions with the pull print server 605 via a software interface (API: Application Program Interface) of the pull print server 605.

そして、主に、プルプリントサーバ605が管理するネットワークプリンタ104〜105の状態情報をイベントとして取得する機能を備える。イベントの通知の種別としては、トナー残量が少なくなった警告、クライアントとデバイスとの通信障害、メモリ不足、排紙トレイ満載などのエラー/警告情報の通知や、エラー状態から正常状態に復帰した正常情報の通知などが想定される。ここでのプルプリントサーバ605はネットワークを介して通信可能な各デバイス(印刷装置)の印刷実行中、電力制御状態、障害情報(紙ジャム)等のステータスの通知を受け付ける機能を備える。   A function of acquiring status information of the network printers 104 to 105 managed by the pull print server 605 as an event is mainly provided. Event notification types include warnings when the amount of toner is low, communication failure between the client and the device, memory shortage, full output tray, and other error / warning information notifications. Notification of normal information is assumed. Here, the pull print server 605 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 a network.

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

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

図7に示すように、概念的には、PDLドライバ602、スプーラ603、ジョブ制御ポートモニタ604は、プリントデバイス104〜105ごとに用意されている。OSがウィンドウズ(登録商標)の場合には、これらをまとめてウィンドウズ(登録商標)プリントシステム700と称する場合もある。   As shown in FIG. 7, conceptually, a PDL driver 602, a spooler 603, and a job control port monitor 604 are prepared for each print device 104 to 105. When the OS is Windows (registered trademark), these may be collectively referred to as a Windows (registered trademark) print system 700.

プルプリントサーバ605には、プリントデバイス104〜105に対応する数のプリントキュー701、701A及び出力ポート702、702Aが含まれている。これらのプリントキューや出力ポート702、702Aは、それぞれ1801、1802に示されるようなテーブルでプルプリントサーバ605が管理している。   The pull print server 605 includes a number of print queues 701 and 701A and output ports 702 and 702A corresponding to the print devices 104 to 105. These print queues and output ports 702 and 702A are managed by the pull print server 605 using tables such as 1801 and 1802, respectively.

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

印刷を行なう場合、アプリケーション601はプリンタを指定して印刷指示を発行する。この印刷指示に基づいてPDLドライバ602によって生成された印刷ジョブがジョブ制御ポートモニタ604からプルプリントサーバ605に渡されると、その印刷ジョブ情報は、まずプリントキュー701に保持され、出力ポート702に印刷ジョブを受け付け指示を出す。出力ポート702は、印刷するジョブを受け付けると、出力ポートに設定されたIPアドレスに該当する、プリンタデバイス606の後述するスケジューラに対してスケジュールの要求を発行する。プリンタデバイス606の後述するスケジューラは、自身が持つスケジューリング機能に基づいて、複数のプルプリントサーバ605から受け付けたジョブのスケジューリング処理を行い、出力ポート702に対して印刷指示を発行する。印刷指示を受け付けた出力ポート702はプリンタデバイス606に印刷データを送信する。   When printing, the application 601 designates a printer and issues a print instruction. When a print job generated by the PDL driver 602 based on this print instruction is transferred from the job control port monitor 604 to the pull print server 605, the print job information is first held in the print queue 701 and printed on the output port 702. An instruction to accept a job is issued. When receiving a job to be printed, the output port 702 issues a schedule request to a scheduler (to be described later) of the printer device 606 corresponding to the IP address set for the output port. A scheduler, which will be described later, of the printer device 606 performs scheduling processing for jobs received from a plurality of pull print servers 605 based on its own scheduling function, and issues a print instruction to the output port 702. The output port 702 that has received the print instruction transmits print data to the printer device 606.

図8は、本発明の実施形態に好適な印刷システムにおけるプリンタ500内の制御機器であるネットワークプリントサーバ520およびプリンタコントローラ519の各記憶デバイスに記憶された制御プログラム内のソフトウェア構成を説明するブロック図である。   FIG. 8 is a block diagram illustrating a software configuration in a control program stored in each storage device of the network print server 520 and the printer controller 519 which are control devices in the printer 500 in the printing system suitable for the embodiment of the present invention. It is.

なお上記各制御プログラムは各制御機器のCPUによってプログラムが解析され処理される。   Each control program is analyzed and processed by the CPU of each control device.

801はネットワークプリントサーバ520の基本的なデータの入出力制御を統括するオペレーティングシステムである。さらに前記オペレーティングシステム801内にはプログラム/データ記憶部509との入出力制御を行なうファイルシステム805、プリンタコントローラ519と拡張インタフェース517を介して通信制御を行なう拡張インタフェースドライバ807、ローカルエリアネットワーク(LAN512)の通信媒体を介して不図示のホストコンピュータ等の外部装置と通信を行なうネットワークインタフェースドライバ806を内包している。   Reference numeral 801 denotes an operating system that controls basic data input / output control of the network print server 520. Further, in the operating system 801, a file system 805 that controls input / output with the program / data storage unit 509, an expansion interface driver 807 that controls communication via the printer controller 519 and the expansion interface 517, and a local area network (LAN 512). A network interface driver 806 that communicates with an external device such as a host computer (not shown) via the communication medium is included.

802はアプリケーションプログラムインタフェース(API)であり、ネットワークプリントサーバ502で動作するユーザアプリケーション803やプリンタ500やユーザアプリケーションの登録・管理を行う管理アプリケーション等のアプリケーションプログラムに対して前記オペレーティングシステムが備える各種機能を提供する。また前記アプリケーションプログラムインタフェース802で提供される機能は、印刷データの送受信機能を提供するデータ転送API、ビットマップ画像や表示メッセージ等のリソースデータの入出力制御を行なうリソース制御API、プリンタ500の再起動や設定値の初期化や設定等の制御を行なうプリンタ制御API、印刷ジョブの取り消しや再印刷指示などを制御するジョブ制御API、ネットワークプリントサーバ520の再起動や設定値の初期化や設定、およびアプリケーションプログラムの起動、登録、削除を行なうプリントサーバ制御APIを備える。   Reference numeral 802 denotes an application program interface (API), which has various functions of the operating system for application programs such as a user application 803 that operates on the network print server 502, a printer 500, and a management application that registers and manages user applications. provide. The functions provided by the application program interface 802 include a data transfer API that provides a print data transmission / reception function, a resource control API that controls input / output of resource data such as bitmap images and display messages, and restart of the printer 500. A printer control API for controlling initialization and setting values, a job control API for controlling print job cancellation and reprinting instructions, restarting the network print server 520, initialization and setting of setting values, and A print server control API for starting, registering, and deleting application programs is provided.

812はプリンタコントローラ519の各種処理制御を統括するオペレーティングシステムであり、内部にプリントエンジンとの通信制御を行なうプリントエンジン制御部814およびネットワークプリントサーバ520から参照されるビットマップ画像やエラーメッセージ等の機種依存リソースおよびネットワークプリントサーバ上で動作する機種依存アプリケーションプログラム等を記憶する機種依存リソース/プログラム記憶部との入出力制御を行なうファイルシステム815を内包している。   Reference numeral 812 denotes an operating system that supervises various processing controls of the printer controller 519. The print engine control unit 814 that controls communication with the print engine and models such as bitmap images and error messages that are referred to from the network print server 520 It includes a file system 815 that performs input / output control with a dependent resource and a model-dependent resource / program storage unit that stores a model-dependent application program that runs on the network print server.

813は拡張インタフェース制御部であり、拡張インタフェース517を介してネットワークプリントサーバ520との通信制御を行なう。さらに前記拡張インタフェース制御部は、制御種別毎に印刷データの入出力を制御するデータ転送論理インタフェース、機種依存リソース/プログラム記憶部509に記憶された各種データの入出力を制御するリソース制御論理インタフェース、プリンタ500の再起動や設定値の初期化や設定等の制御を行なうプリンタ制御論理インタフェース、印刷ジョブの取り消しや再印刷指示などを制御するジョブ制御論理インタフェースを備えており、各論理インタフェースを介してネットワークプリントサーバ520から要求された命令をオペレーティングシステム812に対して転送し、その処理結果をネットワークプリントサーバ520に対して返信する。   Reference numeral 813 denotes an extension interface control unit that controls communication with the network print server 520 via the extension interface 517. Further, the extended interface control unit includes a data transfer logical interface for controlling input / output of print data for each control type, a resource control logical interface for controlling input / output of various data stored in the model-dependent resource / program storage unit 509, A printer control logical interface that controls the restart of the printer 500, initialization of setting values, settings, and the like, and a job control logical interface that controls cancellation of a print job, a reprint instruction, and the like are provided. The command requested from the network print server 520 is transferred to the operating system 812, and the processing result is returned to the network print server 520.

818はUSB制御部でありUSBケーブルをで接続された外部機器である、認証情報読み取り装置820を介し、認証情報記録媒体821から認証情報と認証情報記録媒体の存在状態情報を取得する。   Reference numeral 818 denotes a USB control unit that acquires authentication information and presence information of the authentication information recording medium from the authentication information recording medium 821 via the authentication information reading device 820, which is an external device connected by a USB cable.

811は、ネットワークインターフェースドライバ806がLAN512を介してクライアント101〜103からの通知を受け付けると受信の通知を受け付けるネットワーク制御部であり、どのクライアントからの通信を判断することや、通信の制御を行うことができるモジュールである。   A network control unit 811 receives a notification of reception when the network interface driver 806 receives a notification from the clients 101 to 103 via the LAN 512. The network control unit 811 determines a communication from which client and controls the communication. It is a module that can.

810は、クライアントが送信する印刷データを受け付けるプロトコルを制御するモジュールであり、受け付けた印刷データをプリンタコントローラに渡すことができる。   A module 810 controls a protocol for receiving print data transmitted by the client, and can pass the received print data to the printer controller.

また、アプリケーション803はプリントコントローラ519のプログラム記憶部816またはネットワークプリントサーバ520のプログラム記憶部808に格納される。プリンタ500が起動するとプログラム記憶部808または、に格納されたアプリケーションが持つライセンスと、ライセンス記憶部809やプログラム記憶部816やライセンス記憶部817が持つライセンスと比較し一致しているかどうかを判断する。一致していた場合は適正アプリケーションプログラムであると判断し、アプリケーションプログラムをネットワークプリントサーバ520のRAM514にロードされる。   The application 803 is stored in the program storage unit 816 of the print controller 519 or the program storage unit 808 of the network print server 520. When the printer 500 is activated, the license stored in the program storage unit 808 or the application stored in the application is compared with the licenses stored in the license storage unit 809, the program storage unit 816, and the license storage unit 817 to determine whether they match. If they match, it is determined that the application program is appropriate, and the application program is loaded into the RAM 514 of the network print server 520.

次に、本プリントシステムのスケジューリング機能やクライアント101〜103から受け付けた印刷ジョブの管理機能を持つデバイス上のユーザアプリケーションであるデバイススケジューラ900とプルプリントエージェント906のソフトウェア構成について説明する。   Next, software configurations of the device scheduler 900 and the pull print agent 906, which are user applications on the device having the scheduling function of the print system and the management function of the print job received from the clients 101 to 103, will be described.

図9は、プリンタのユーザアプリケーションのソフトウェア構成の例を示す図である。   FIG. 9 is a diagram illustrating an example of the software configuration of the user application of the printer.

901は、印刷するクライアント101〜103の接続状況や、クライアントに通知すべき情報を管理する通信接続管理部901であり、接続しているクライアント情報1002をクライアント管理キューで管理する。通信接続管理部901は、プログラムアプリケーションインターフェース802のデータ転送API、ネットワークインターフェースドライバ806を経由してクライアントと通信を行う。   A communication connection management unit 901 manages the connection status of the clients 101 to 103 to be printed and information to be notified to the client, and manages the connected client information 1002 in the client management queue. The communication connection management unit 901 communicates with the client via the data transfer API of the program application interface 802 and the network interface driver 806.

902は、クライアント101〜103から受け付けた印刷ジョブのスケジューリングを行うスケジュール管理部であり、ジョブ管理部903、デバイス管理部904を持つ。   A schedule management unit 902 performs scheduling of print jobs received from the clients 101 to 103, and includes a job management unit 903 and a device management unit 904.

903は、クライアント101〜103が発行したスケジュール要求や、クライアント101〜103が印刷したジョブを管理するジョブ管理部903である。ジョブ管理部903は、クライアントが印刷するジョブの情報1102をジョブ管理キュー1101で管理している。   A job management unit 903 manages schedule requests issued by the clients 101 to 103 and jobs printed by the clients 101 to 103. A job management unit 903 manages job information 1102 printed by the client in the job management queue 1101.

904は、プリンタコントローラ519が持つプリンタの状態や受け付けた印刷ジョブの状態をイベントハンドラ905経由で受け付けるデバイス管理部であり、プリンタコントローラ519から受け付けたイベントを通信接続管理部901やジョブ管理部903に通知する。   A device management unit 904 receives the printer status of the printer controller 519 and the status of the received print job via the event handler 905. The event received from the printer controller 519 is sent to the communication connection management unit 901 and the job management unit 903. Notice.

907はUSB管理部であり818USB制御部を介し、認証情報(ジョブ情報等)を取得しサーバ管理部908に渡す。909はデバイスのアドレス情報等を取得しサーバ管理部908に渡す。サーバ管理部908は取得した情報をプルプリントサーバ605に送信する。   Reference numeral 907 denotes a USB management unit which acquires authentication information (job information, etc.) via the 818 USB control unit and passes it to the server management unit 908. In step 909, device address information is acquired and passed to the server management unit 908. The server management unit 908 transmits the acquired information to the pull print server 605.

図10は、本発明の好適な実施例の概略を示すアクティビティ図である。   FIG. 10 is an activity diagram outlining the preferred embodiment of the present invention.

本図を用いて、本発明の実施例である印刷システムの動作概略を説明する。   An outline of the operation of the printing system according to the embodiment of the present invention will be described with reference to FIG.

まずステップS1001において、プルプルプリントエージェント906及びデバイススケジューラ900の各タスクが初期化される。   First, in step S1001, tasks of the pull-pull print agent 906 and the device scheduler 900 are initialized.

初期化処理の中でデバイススケジューラ900はステップS1002において、プリンタエンジンにイベントの登録を行なう。これは、プリンタエンジン内でジョブが処理された際のジョブ状態変化や、或いは、プリンタのジャムやカバーオープンと言ったエラーなどのデバイス状態変化等を登録したクライアント(デバイススケジューラ900)へ通知するためのものである。初期化処理が完了するとプルプリンタエージェント906及びデバイススケジューラ900はイベント待ちのループに入る。   In the initialization process, the device scheduler 900 registers an event in the printer engine in step S1002. This is to notify a registered client (device scheduler 900) of a job status change when a job is processed in the printer engine, or a device status change such as an error such as a printer jam or cover open. belongs to. When the initialization process is completed, the pull printer agent 906 and the device scheduler 900 enter an event waiting loop.

ステップS1003において、プルプリンタエージェント906は、認証情報記録媒体821が認証情報読取装置820に挿入された事を検知すると、認証情報記録媒体821に記録されている認証情報を読み込み、不図示の認証手段によってカードのオーナーを特定し、ジョブ識別情報を得る。   In step S1003, when the pull printer agent 906 detects that the authentication information recording medium 821 has been inserted into the authentication information reading device 820, the pull printer agent 906 reads the authentication information recorded in the authentication information recording medium 821 and performs authentication means (not shown). To identify the card owner and obtain job identification information.

続いてステップS1004において、プリンタエンジン制御部814を経由してデバイスの構成情報を取得する。此処で取得する構成情報は、用紙残量やトナーの有無と言った消耗品情報と、両面ユニットやステイプル装置(フィニッシャー)の使用可否といった装置情報を含む。   In step S1004, device configuration information is acquired via the printer engine control unit 814. The configuration information acquired here includes consumable information such as the remaining amount of paper and the presence of toner, and device information such as whether or not the duplex unit and the staple device (finisher) can be used.

プルプリンタエージェント906は続いてステップS1005で前記ステップS1003で取得したジョブ識別情報とステップS1004で取得したデバイス構成情報をプルプリントサーバ605へと通知する。この通知を印刷開始通知と定義する。プルプリントサーバ605は印刷開始を受け取るとジョブ識別情報及びデバイス構成情報から印刷可能なジョブを選択する。この処理は図16を用いて後述する。   In step S1005, the pull printer agent 906 notifies the pull print server 605 of the job identification information acquired in step S1003 and the device configuration information acquired in step S1004. This notification is defined as a print start notification. Upon receiving the print start, the pull print server 605 selects a printable job from the job identification information and device configuration information. This process will be described later with reference to FIG.

プルプリントサーバ605は印刷を実行するために、まずステップS1006においてEvent登録及びジョブのスケジュール予約を行なう。このEvent予約は前述のステップS1002と同様である。また、スケジュール予約は図16を用いて後述する。続いてステップS1007でスケジュールUPを受ける。スケジュールUPを受ける時の処理は図22で後述する。ステップS1007でスケジュールUPを受けるとS1008でジョブを送信する。   In order to execute printing, the pull print server 605 first performs event registration and job schedule reservation in step S1006. This event reservation is the same as step S1002 described above. The schedule reservation will be described later with reference to FIG. In step S1007, the schedule is received. The process for receiving the schedule UP will be described later with reference to FIG. When the schedule is received in step S1007, the job is transmitted in S1008.

プルプリントエージェント906は、ステップS1009で記録媒体が取り出されるとそれを検知し、ステップS1010でジョブキャンセル指示とジョブ保持指示をプルプリントサーバ605に出す。プルプリントサーバ605はステップS1011でデバイススケジューラ900にジョブキャンセル指示を出す。デバイススケジューラ900はジョブキャンセル指示を受けるとS1012でプリンタエンジン制御部814に対しジョブキャンセル指示を出す。デバイスでジョブがキャンセルが実行されるとS1013でEventでジョブキャンセル終了の通知を受けデバイススケジューラ900はプルプリントサーバ605に対し印刷完了と印刷面数を通知する。プルプリントサーバ605では通知を受けた印刷面数がジョブの総面数よりも少ない場合は、ジョブを保持する。この処理については図18で後述する。   The pull print agent 906 detects that the recording medium has been taken out in step S1009, and issues a job cancel instruction and a job holding instruction to the pull print server 605 in step S1010. The pull print server 605 issues a job cancel instruction to the device scheduler 900 in step S1011. Upon receiving a job cancel instruction, the device scheduler 900 issues a job cancel instruction to the printer engine control unit 814 in step S1012. When the job is cancelled in the device, the device scheduler 900 notifies the pull print server 605 of the print completion and the number of printed pages in response to the notification of the job cancel end in S1013. The pull print server 605 holds the job when the notified number of printed pages is smaller than the total number of jobs. This process will be described later with reference to FIG.

図11は、プルプリントサーバ605にプルプリント用のジョブを登録する処理を示した図である。   FIG. 11 is a diagram showing processing for registering a pull print job in the pull print server 605.

ステップS1101で、アプリケーション601でジョブを生成する。次に、アプリケーション601はプリンタを指定して印刷指示を発行する。この印刷指示に基づいて、ステップ1102で、PDLドライバ602によって生成された印刷ジョブをジョブ制御ポートモニタ604に渡される。   In step S1101, the application 601 generates a job. Next, the application 601 issues a print instruction by designating a printer. Based on this print instruction, the print job generated by the PDL driver 602 is passed to the job control port monitor 604 in step 1102.

ステップS1103でジョブ識別情報を取得し、ステップS1104で印刷ジョブにこの情報を埋め込む。ジョブ識別情報は認証記憶媒体821に記録しておく情報と同じ物であり、この情報は、不図示のGUIでユーザが情報を入力することにより取得できる。   In step S1103, job identification information is acquired, and in step S1104, this information is embedded in the print job. The job identification information is the same as the information recorded in the authentication storage medium 821, and this information can be acquired by the user inputting information through a GUI (not shown).

ステップS1105でジョブの状態を「停止」にする。S1106でプル用プリンタキューに状態を「停止」にしたジョブを留め置く。   In step S1105, the job status is set to “stop”. In step S1106, the job whose status is "stopped" is retained in the pull printer queue.

また、ジョブの登録方法ではアプリケーション601から登録する方法と他に不図示のジョブ登録アプリケーション609からジョブを登録することも可能である。この場合は、ジョブ登録アプリケーション609はプルプリントサーバ605と異なるクライアントPC上に存在していても良い。   In addition, in the job registration method, a job can be registered from a job registration application 609 (not shown) in addition to a method of registering from the application 601. In this case, the job registration application 609 may exist on a different client PC from the pull print server 605.

ジョブ登録アプリケーション609からジョブを登録するためには、ステップS1107でPDLドライバを通したジョブを作成し、ジョブ登録アプリケーション609から作成したジョブを選択する。次にS1109でジョブ登録アプリケーション609上からジョブ識別情報を指定する。この情報は、認証記憶媒体821に記録しておく情報と同じ物とする。次にステップS1110でジョブの状態を「停止」にする。次にS1106でAPI610を介し、プル用プリンタキューにジョブを留め置く。   In order to register a job from the job registration application 609, a job through the PDL driver is created in step S1107, and the job created from the job registration application 609 is selected. In step S1109, job identification information is designated from the job registration application 609. This information is the same as the information recorded in the authentication storage medium 821. In step S1110, the job status is set to “stop”. In step S1106, the job is retained in the pull printer queue via the API 610.

図12は、プルプリントエージェント906で認証情報を検知し、認証情報記録媒体821からプルプリントするために必要な情報をプルプリントサーバ605に通知するまでの処理について図示したものである。   FIG. 12 illustrates the processing from detection of authentication information by the pull print agent 906 to notification of information necessary for pull printing from the authentication information recording medium 821 to the pull print server 605.

ステップS1201では、認証情報読み取り装置820が認証情報記録媒体821の状態変化を検知し、認証情報記録媒体821の状態変化した場合にその変化を検知する。認証情報記録媒体821の状態の変化とは、認証情報読み取り装置820がカードリーダ等の場合は、カードが抜かれた、または、差された等の変化情報である。また、認証情報読み取り装置820で認証情報記録媒体821をセンサー検知する場合は、認証情報記録媒体821の存在が変化したかどうかの変化情報である。また、認証情報読み取り装置820にユーザが手等をかざすことにより認証する装置の場合も、上記と同様である。   In step S1201, the authentication information reading device 820 detects a change in the state of the authentication information recording medium 821, and detects the change when the state of the authentication information recording medium 821 changes. The change in the state of the authentication information recording medium 821 is change information such as when the card is removed or inserted when the authentication information reading device 820 is a card reader or the like. In addition, when the authentication information reading device 820 detects the authentication information recording medium 821, the change information indicates whether the presence of the authentication information recording medium 821 has changed. The same applies to the case of an apparatus that performs authentication by holding a hand or the like over the authentication information reading apparatus 820.

ステップS1201で記録媒体が存在する場合は、ステップS1203に移行し、記録情報からジョブ識別情報を取得する。   If there is a recording medium in step S1201, the process proceeds to step S1203, and job identification information is acquired from the recording information.

次にステップS1204でデバイスからデバイスを特定するためのデバイスアドレスとデバイスの構成情報を取得する。此処で取得する構成情報は、用紙残量やトナーの有無と言った消耗品情報と、両面ユニットやステイプル装置(フィニッシャー)の使用可否といった装置情報を含む。   In step S1204, a device address and device configuration information for specifying the device are acquired from the device. The configuration information acquired here includes consumable information such as the remaining amount of paper and the presence of toner, and device information such as whether or not the duplex unit and the staple device (finisher) can be used.

次にステップS1205で、取得したジョブ識別情報及びデバイスアドレス、デバイス構成情報をプルプリンタサーバ900に通知する。   In step S1205, the acquired printer identification information, device address, and device configuration information are notified to the pull printer server 900.

ステップS1202で認証情報記録媒体821が存在しない場合は、ステップS1206に移行し、印刷ジョブのキャンセル、及びジョブの保持命令をプルプリントサーバ605に通知する。   If the authentication information recording medium 821 does not exist in step S1202, the process advances to step S1206 to notify the pull print server 605 of a print job cancellation and job holding instruction.

図13は、プルプリントサービス900が印刷すべく発行したスケジュール要求に付加するジョブ情報と1302、複数発生するジョブ情報を管理するジョブ管理キュー1301を示す図である。   FIG. 13 is a diagram showing job information to be added to a schedule request issued for printing by the pull print service 900, a job management queue 1301 for managing a plurality of generated job information.

1302は、プルプリントサービス900が印刷を開始するために発行するスケジュール要求に付加される印刷ジョブの情報である。このジョブ情報1302は、印刷ジョブのドキュメント名、ジョブ管理部903が発行したジョブID、クライアントで印刷を開始したユーザ名、ジョブのページ数、印刷ジョブの状況を表すジョブ状態、プルプリントサービス900が転送する印刷データに含まれるジョブデータID、印刷したクライアントのIPアドレス、ジョブキャンセル時にジョブを保持するかを表すフラグが登録される。   Reference numeral 1302 denotes print job information added to the schedule request issued by the pull print service 900 to start printing. The job information 1302 includes the document name of the print job, the job ID issued by the job management unit 903, the name of the user who started printing on the client, the number of job pages, the job status indicating the status of the print job, and the pull print service 900. The job data ID included in the print data to be transferred, the IP address of the printed client, and a flag indicating whether to hold the job when canceling the job are registered.

ジョブ状態は、プルプリントサービス900が印刷のスケジュール要求を発行してからジョブがプリンタから無くなるまでの状態を表しており、印刷待機中、スケジュールアップ状態、転送中、転送済み、印刷完了などの状態が存在する。   The job status represents a status from when the pull print service 900 issues a print schedule request to when the job disappears from the printer. Status such as waiting for printing, schedule-up status, transferring, transferring completed, printing completed, etc. Exists.

ジョブデータIDは、印刷データに含まれるジョブのIDで、プリンタコントローラ519内でのジョブ状態を通知するときなど、付加させるIDである。   The job data ID is an ID of a job included in the print data, and is an ID to be added when a job status in the printer controller 519 is notified.

1301は、複数のジョブ情報1302を管理する管理キューであり、プルプリントサービス900からのスケジュール要求を受け付けるとジョブ情報1302が管理キューに登録され、印刷ジョブが印刷終了すると、該当するプリンタ情報が削除されるようになっている。   A management queue 1301 manages a plurality of job information 1302. When a schedule request from the pull print service 900 is received, the job information 1302 is registered in the management queue, and when the print job is printed, the corresponding printer information is deleted. It has come to be.

図14は、プルプリントサーバ605が管理するプリンタキュー、出力ポートの情報を表している。   FIG. 14 shows information on printer queues and output ports managed by the pull print server 605.

1401は、ジョブ制御プリンタサービスが管理するそれぞれのプリンタキューの情報を表していて、プリンタ名などの情報が含まれている。   Reference numeral 1401 denotes information of each printer queue managed by the job control printer service, and includes information such as a printer name.

1402は、ジョブ制御プリンタサービスが管理するそれぞれの出力ポートの情報を表していて、印刷するデバイスのIPアドレスなどの情報が含まれている。
図15の1501は、認証情報読み取り装置820で認証情報記録媒体821を検知した後にプルプリントエージェント906がプルプリントサーバ605に送信する情報を示したテーブルであり、情報テーブルの内容は、デバイスアドレス、ジョブ識別情報、デバイス構成情報である。
Reference numeral 1402 represents information on each output port managed by the job control printer service, and includes information such as the IP address of the device to be printed.
Reference numeral 1501 in FIG. 15 is a table indicating information that the pull print agent 906 transmits to the pull print server 605 after the authentication information reading device 820 detects the authentication information recording medium 821. The information table includes a device address, Job identification information and device configuration information.

図16では、図21で示される印刷処理の流れで、クライアント101〜103のプルプリントサーバ605がプルプリントエージェント906からジョブ識別情報等を受け付けてから、印刷データの転送までの流れを示している。   FIG. 16 shows the flow from the printing process shown in FIG. 21 until the pull print server 605 of the clients 101 to 103 receives the job identification information from the pull print agent 906 to the transfer of the print data. .

ステップS1601では、プルプリントエージェント906からデバイスアドレス、ジョブ識別情報、デバイス構成情報を取得し、S1602で取得したデバイスアドレスに一致するプリンタキュー701を特定する。S1603で特定したプリントキューにジョブ識別情報と一致するジョブが留め置かれているかをチェックする。留め置かれている場合は、S1603に移行する。留め置かれていない場合は、S1604でプルプリントエージェント906にエラーを通知し、処理を終了する。   In step S1601, the device address, job identification information, and device configuration information are acquired from the pull print agent 906, and the printer queue 701 that matches the device address acquired in step S1602 is specified. In step S1603, it is checked whether a job matching the job identification information is retained in the print queue identified in step S1603. If it is retained, the process proceeds to S1603. If not, an error is notified to the pull print agent 906 in S1604, and the process is terminated.

ステップS1605では、ジョブ制御ポートモニタから印刷ジョブを受け付けるか、デバイススケジューラ90から印刷データの転送の開始を指示するスケジュールUPのコマンドを受け付けるか判断する。ジョブ制御ポートモニタから印刷ジョブを受け付けるステップS1606に処理を移行し、スケジュールUPのコマンドを受け付けるとステップS1611に処理を移行する。   In step S1605, it is determined whether to accept a print job from the job control port monitor or to accept a schedule UP command for instructing start of print data transfer from the device scheduler 90. The process proceeds to step S1606 for accepting a print job from the job control port monitor, and when a schedule UP command is accepted, the process proceeds to step S1611.

ステップS1606では、受け付けた印刷ジョブの情報をジョブ情報1302に設定し、ジョブ管理キュー1301に登録する。   In step S 1606, the received print job information is set in the job information 1302 and registered in the job management queue 1301.

ジョブ情報1302に設定する情報は、プリントシステムから取得したり、印刷データを解析して得られることができる。   Information set in the job information 1302 can be obtained from the print system or obtained by analyzing print data.

次に、ステップS1607では、デバイススケジューラ900に接続し、接続要求コマンドを発行する。クライアントが接続要求を発行すると、クライアントの情報がデバイススケジューラのクライアント管理キューに登録され、以降、クライアントとデバイススケジューラ間で情報のやり取りを行うことができる。   Next, in step S1607, connection is made to the device scheduler 900 and a connection request command is issued. When the client issues a connection request, the client information is registered in the client management queue of the device scheduler, and thereafter, information can be exchanged between the client and the device scheduler.

ステップS1608では、デバイススケジューラ900に対して、ジョブイベント、デバイスイベントを登録する。ジョブイベントを登録すると、自クライアントが印刷したジョブや、他のクライアントが印刷したジョブの状態の変化の通知がデバイススケジューラ90より通知されることになる。また、デバイスイベントを登録すると、プリンタデバイス606の状態の変化を通知されるようになる。   In step S1608, job events and device events are registered in the device scheduler 900. When a job event is registered, the device scheduler 90 notifies a change in the status of a job printed by the own client or a job printed by another client. When a device event is registered, a change in the state of the printer device 606 is notified.

ステップS1609では、デバイススケジューラ900で管理しているジョブ管理キュー1301に登録されているジョブのリストを取得する。このジョブリストとジョブイベントにより、デバイススケジューラ900が管理するジョブの印刷状況を把握することが可能となる。   In step S1609, a list of jobs registered in the job management queue 1301 managed by the device scheduler 900 is acquired. With this job list and job event, it is possible to grasp the print status of a job managed by the device scheduler 900.

以上の処理により、印刷する準備が整い、ステップS1610において印刷するジョブの登録をデバイススケジューラに登録し、ステップS1605で次の指示を待機する。   With the above processing, preparation for printing is completed, registration of a job to be printed is registered in the device scheduler in step S1610, and the next instruction is waited in step S1605.

ステップS1605においてデバイススケジューラから印刷データの転送指示であるスケジュールUPのコマンドを受け付けるとステップS1611に処理を移行する。ステップS1611では、印刷指示を受けたジョブの転送を開始する。   If a schedule UP command, which is a print data transfer instruction, is received from the device scheduler in step S1605, the process proceeds to step S1611. In step S1611, transfer of a job that has received a print instruction is started.

印刷データの送信が開始されるとステップS1612において、デバイススケジューラに転送が開始されたことを通知するために、転送開始状態を通知する。   When transmission of print data is started, a transfer start state is notified in step S1612 to notify the device scheduler that transfer has started.

ステップS1613で印刷データの転送が終了するとステップS1614においてデバイススケジューラ900に転送が終了したことを通知する。   When the transfer of the print data is completed in step S1613, the device scheduler 900 is notified that the transfer has been completed in step S1614.

図17は、デバイススケジューラからの通知やコマンドを受け付けた場合のジョブ制御プリントサービス605の処理の流れについて説明している。   FIG. 17 illustrates a processing flow of the job control print service 605 when a notification or command from the device scheduler is received.

ステップS1701では、デバイススケジューラ900からジョブイベントの通知または、ジョブリストが返送されてくるかを判断しており、ジョブイベントが来ると、ステップS1702に処理を移行し、ジョブリストが来るとステップS1709に処理を移行する。   In step S1701, it is determined whether a job event notification or a job list is returned from the device scheduler 900. When a job event comes, the process proceeds to step S1702, and when a job list comes, the process goes to step S1709. Migrate processing.

ステップS1709では、ジョブリストが返送されてくるとジョブ制御プリントサービス605が管理するジョブ管理キュー1301にジョブリストから得られたジョブ情報を設定する。   In step S1709, when the job list is returned, the job information obtained from the job list is set in the job management queue 1301 managed by the job control print service 605.

ステップS1702では、デバイススケジューラから通知されたジョブイベント通知の内、ジョブ完了通知であるか、ジョブ状態変更通知であるかを判断し、ジョブ状態変更通知であれば、ステップS1710において、該当するジョブ情報のジョブ状態を更新する。   In step S1702, it is determined whether the job event notification notified from the device scheduler is a job completion notification or a job status change notification. If it is a job status change notification, the corresponding job information is determined in step S1710. Update job status for.

ステップS1702において、受け付けたイベント通知がジョブ完了通知であれば、ステップS1703において、完了結果を判定し、印刷結果が成功であれば、ステップS1704において、該当するジョブ情報及び印刷データを、ジョブ管理キュー1301から削除する。   If the received event notification is a job completion notification in step S1702, the completion result is determined in step S1703. If the printing result is successful, the corresponding job information and print data are stored in the job management queue in step S1704. Delete from 1301.

ステップS1705では、ジョブ管理キュー1301に、印刷が終了していない自クライアントのジョブが残されているかを確認し、残されていれば、まだデバイススケジューラ900とのやり取りが必要であるため、デバイススケジューラとの接続を継続するために、ステップS1701に処理を移行する。   In step S1705, the job management queue 1301 confirms whether the job of the client that has not been printed is left. If it remains, it is still necessary to exchange with the device scheduler 900. In order to continue the connection with, the process proceeds to step S1701.

ステップS1705で、自クライアントのジョブがなければ、ステップS2005に処理を移行し、デバイススケジューラ900との接続を終了するための処理を開始する。   If it is determined in step S1705 that there is no job of the own client, the process proceeds to step S2005, and a process for terminating the connection with the device scheduler 900 is started.

ステップS1706では、接続を開始したときにデバイススケジューラ900に登録したジョブイベント、デバイスイベントの登録解除を依頼する。デバイススケジューラ90は、この依頼によりクライアント情報のイベント登録の内容を削除する。このイベント登録の情報がなければ、デバイススケジューラ900が管理するジョブの状態が変化されてもイベントが通知されてくることはない。   In step S1706, a request is made to cancel registration of the job event and device event registered in the device scheduler 900 when the connection is started. In response to this request, the device scheduler 90 deletes the event registration contents of the client information. Without this event registration information, no event is notified even if the status of the job managed by the device scheduler 900 changes.

次にステップS1707において、デバイススケジューラ900に対して切断の要求を発行する。デバイススケジューラ900が切断要求を受け付けると、クライアント管理キューから該当するクライアント情報を削除する。   In step S1707, a disconnection request is issued to the device scheduler 900. When the device scheduler 900 receives the disconnection request, the corresponding client information is deleted from the client management queue.

ステップS1708では、デバイススケジューラ900とのセッションを切断する処理を行い、処理をステップS1701で待機する
図18は、プルプリントエージェント906で認証情報記録媒体821の状態が変化した場合の処理について図示した。
In step S1708, a process for disconnecting the session with the device scheduler 900 is performed, and the process waits in step S1701. FIG. 18 illustrates a process when the state of the authentication information recording medium 821 changes in the pull print agent 906.

ステップS1801で、プルプリントサーバ605がプルプリントエージェント906から、認証情報記録媒体821の状態変化の通知を受けるとステップS1802で通知された情報から認証情報記録媒体821が存在しなくなった場合は、ステップS1803に移行する。逆に存在するようになった場合は、前述の図16の処理に移行する。   In step S1801, when the pull print server 605 receives a notification of a change in state of the authentication information recording medium 821 from the pull print agent 906, if the authentication information recording medium 821 no longer exists from the information notified in step S1802, The process moves to S1803. On the other hand, if it exists, the process proceeds to the above-described processing of FIG.

ステップ1803では、デバイススケジューラ900にジョブのキャンセルを指示する。   In step 1803, the device scheduler 900 is instructed to cancel the job.

ステップ1804では、ジョブキャンセル終了と共にデバイススケジューラから送られてくる印刷面数情報とジョブの全面数を比較し、その値が一致する場合は、ステップS1804で1302のジョブ保存フラグをOFFにする。一致しない場合は、再印刷を行えるようにステップS1805でジョブ保存フラグをONにする。   In step 1804, the print surface number information sent from the device scheduler upon completion of job cancellation is compared with the total number of jobs. If the values match, the job storage flag 1302 is turned OFF in step S1804. If they do not match, the job storage flag is turned ON in step S1805 so that reprinting can be performed.

次にステップS1807でイベント登録の解除を行う。図19は、通信管理部901が管理する、接続プルプリントサーバ605のクライアント情報1902と、複数の接続するプルプリントサーバ605のクライアント情報1902を管理するクライアント管理キュー1901である。   In step S1807, event registration is canceled. FIG. 19 illustrates a client management queue 1901 that manages client information 1902 of the connected pull print server 605 and client information 1902 of a plurality of connected pull print servers 605 managed by the communication management unit 901.

1902は、接続するクライアント毎に接続管理部が割り振ったクライアントID、接続するプルプリントサーバ605のIPアドレス、接続するクライアントが登録したイベントの種類などの情報を持つクライアント情報である。イベントの種類とは、プリンタコントローラが発行するデバイス状態のイベントやジョブ状態のイベントの種類を表す。   Reference numeral 1902 denotes client information having information such as the client ID assigned by the connection management unit for each connected client, the IP address of the pull print server 605 to be connected, and the type of event registered by the connecting client. The event type represents the type of device status event or job status event issued by the printer controller.

1901は、接続したプルプリントサーバ605のクライアント情報をキューの形式で保持する管理キューである。クライアントとのセッションが開始されると、該当するクライアントの情報が本管理キューに登録され、切断すると該当するクライアント情報が削除されるようになっている。   Reference numeral 1901 denotes a management queue that holds client information of the connected pull print server 605 in the form of a queue. 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.

図20は、プルプリントサーバ605が印刷すべく発行したスケジュール要求に付加するジョブ情報と2002、複数発生するジョブ情報を管理するジョブ管理キュー2001を示す図である。   FIG. 20 is a diagram showing a job management queue 2001 that manages job information added to a schedule request issued by the pull print server 605 for printing, 2002, and a plurality of job information generated.

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

ジョブ状態は、プルプリントサーバ605が印刷のスケジュール要求を発行してからジョブがプリンタから無くなるまでの状態を表しており、印刷待機中、スケジュールアップ状態、転送中、転送済み、印刷完了などの状態が存在する。   The job status represents a status from when the pull print server 605 issues a print schedule request to when the job disappears from the printer, such as waiting for printing, schedule up status, transferring, transferring completed, printing completed, etc. Exists.

ジョブデータIDは、印刷データに含まれるジョブのIDで、プリンタコントローラ519内でのジョブ状態を通知するときなど、付加させるIDである。   The job data ID is an ID of a job included in the print data, and is an ID to be added when a job status in the printer controller 519 is notified.

2001は、複数のジョブ情報1102を管理する管理キューであり、プルプリントサーバ605からのスケジュール要求を受け付けるとジョブ情報2002が管理キューに登録され、印刷ジョブが印刷終了すると、該当するプリンタ情報が削除されるようになっている。   Reference numeral 2001 denotes a management queue for managing a plurality of job information 1102. When a schedule request is received from the pull print server 605, the job information 2002 is registered in the management queue, and when the print job is printed, the corresponding printer information is deleted. It has come to be.

図21では、クライアント101〜103のプルプリントサーバ605が、ジョブを受け付け後、プリンタデバイス606にスケジュール要求を発行するところから、プリンタで印刷が終了するところまでのやり取りについて記載する。   FIG. 21 describes the exchange from when the pull print server 605 of the clients 101 to 103 issues a schedule request to the printer device 606 after accepting the job to when the printer finishes printing.

ジョブ制御プリントサービス605は、印刷データを受け付けると、デバイススケジューラ900とセッション接続を開始する。   When receiving the print data, the job control print service 605 starts session connection with the device scheduler 900.

クライアントの情報を通知する接続要求コマンド、ジョブ/デバイス状態を通知してもらうためのイベント登録、デバイススケジューラ900がスケジュール管理するジョブの情報を取得するジョブリスト取得コマンドを発行する。   A connection request command for notifying client information, an event registration for notifying the job / device status, and a job list acquisition command for acquiring information on jobs managed by the device scheduler 900 are issued.

デバイススケジューラは、接続要求を受け付けると、クライアント情報をクライアント管理キューに登録し、イベントの登録を受け付けると該当するクライアント情報の登録イベントに設定する。ジョブリスト要求を受け付けると、ジョブ管理キューに登録されているジョブ情報のリストを送信する。   When the device scheduler accepts a connection request, it registers the client information in the client management queue, and when accepting the event registration, it sets the corresponding client information registration event. When a job list request is received, a list of job information registered in the job management queue is transmitted.

次に、プルプリントサーバ605が印刷を予約するためのスケジュール要求のコマンドを発行する。デバイススケジューラ900はスケジュール要求を受け付けると、ジョブ管理キューにジョブ情報を登録する。ジョブ情報には、ドキュメント名等の情報を設定する。デバイススケジューラ900は、後述する判断でプリンタデバイス606が印刷データを受け付けられるようになるとスケジュールUPを発行し、ジョブ制御プリントサービス605に対して印刷データの送信を開始するように促す。   Next, the pull print server 605 issues a schedule request command for reserving printing. When the device scheduler 900 receives a schedule request, it registers job information in the job management queue. Information such as a document name is set in the job information. The device scheduler 900 issues a schedule UP when the printer device 606 can accept print data based on the determination described below, and prompts the job control print service 605 to start sending print data.

また、スケジュールUPを発行すると、ジョブ情報のジョブ状態をスケジュールUP状態に更新する。   When the schedule UP is issued, the job status of the job information is updated to the schedule UP status.

ジョブ制御プリントサービス605は、スケジュールUPを受け付けるとLPD/RAWに印刷データの転送を開始し、転送が始まるとデバイススケジューラ900に対して転送開始の通知を行う。デバイススケジューラ900は、転送開始通知を受けると、ジョブ情報のジョブ状態に転送中の状態に更新する。   The job control print service 605 starts transfer of print data to the LPD / RAW upon receiving the schedule UP, and notifies the device scheduler 900 of transfer start when the transfer starts. Upon receiving the transfer start notification, the device scheduler 900 updates the job status in the job information to the status being transferred.

LPD/RAWが印刷データを受け付けるとプリンタコントローラにデータを転送し、プリンタコントローラで印刷が開始される。プリンタコントローラは、印刷が開始されるとジョブの状態をデバイススケジューラ900に通知する。デバイススケジューラ900は、クライアント情報の登録イベントの情報を基に、クライアントにジョブの印刷状態を通知する。   When the LPD / RAW receives print data, the data is transferred to the printer controller, and printing is started by the printer controller. When printing is started, the printer controller notifies the device scheduler 900 of the job status. The device scheduler 900 notifies the client of the print status of the job based on the registration information of the client information.

また、ジョブ制御プリントサービス605は印刷データの転送が終了するとデバイススケジューラ900に対して、転送終了通知を送信する。デバイススケジューラ900は、転送終了通知を受けると、ジョブ情報のジョブ状態に転送済の状態に更新する。   The job control print service 605 transmits a transfer end notification to the device scheduler 900 when transfer of the print data ends. Upon receiving the transfer end notification, the device scheduler 900 updates the job information in the job status to the transferred status.

プリンタコントローラで印刷処理が終了すると、ジョブの状態として印刷完了の通知をデバイススケジューラ900に通知する。デバイススケジューラ900は、クライアント情報の登録イベントの情報を基に、クライアントにジョブの印刷完了の状態を通知する。   When the printing process is completed in the printer controller, the device scheduler 900 is notified of the completion of printing as the job status. The device scheduler 900 notifies the client of the job printing completion status based on the registration information of the client information.

ジョブ制御プリントサービス605は、上記通知により印刷が完了したことを確認すると、デバイスからの通知が必要なくなるので、デバイススケジューラ900からのイベント通知の登録を解除要求を発行する。イベント解除要求を受け付けた、デバイススケジューラ900は、クライアント情報の登録イベントにイベントを通知しない旨の情報を設定する。   When the job control print service 605 confirms that printing has been completed by the notification, the notification from the device is no longer necessary, so the event control registration registration request from the device scheduler 900 is issued. The device scheduler 900 that has received the event cancellation request sets information not to notify the event to the registration event of the client information.

その後、ジョブ制御プリントサービス605は、デバイススケジューラ900との接続を終了するための切断要求を発行し、セッションを終了する。   Thereafter, the job control print service 605 issues a disconnection request for ending the connection with the device scheduler 900 and ends the session.

デバイススケジューラ900は、切断要求を受け付けると、クライアント管理キューから該当するクライアント情報を削除し、該クライアントとの処理を終了する。   When the device scheduler 900 receives the disconnection request, the device scheduler 900 deletes the corresponding client information from the client management queue and ends the processing with the client.

図22では、プルプリントサーバ605のスケジュール要求の受け付けから、スケジュールUPを発行するまでのデバイススケジュラのスケジュール管理部の処理の流れについて説明する。   In FIG. 22, the flow of processing of the schedule management unit of the device scheduler from when the schedule request is received by the pull print server 605 to when the schedule UP is issued will be described.

ステップS2201において、プルプリントサーバ605からの通知を受け付けると、スケジュール要求の通知なのか、転送済み状態の通知なのかを判断する。
スケジュール要求の通知であれば、ステップS2202に処理を移行し、ジョブ管理部903で発行したジョブIDを設定したジョブ情報を作成し、スケジュール要求に付加された情報をジョブ情報に設定して、スケジュール要求を受け付けた順でジョブ管理キューに登録する。
In step S2201, when a notification from the pull print server 605 is received, it is determined whether the notification is a schedule request notification or a transfer completed notification.
If it is a notification of a schedule request, the process proceeds to step S2202, the job information set with the job ID issued by the job management unit 903 is created, the information added to the schedule request is set in the job information, and the schedule is set. Register in the job management queue in the order in which requests are received.

次に、ステップS2203で、ジョブ管理キューに登録されたジョブ情報のジョブ状態を確認する。ジョブ状態がスケジュールUP、転送中のものがあれば、既にあるクライアントに印刷データを転送するように指示しているため、ステップS2201に処理を移行する。ジョブ状態がスケジュールUP、転送中のものがなければ、プルプリントサーバ605から印刷データが送られてくる予定が無いためステップS2204に処理を移行し、スケジュールUPの発行の準備を行う。   In step S2203, the job status of the job information registered in the job management queue is confirmed. If the job status is schedule UP and there is a job that is being transferred, the process is shifted to step S2201 because an instruction to transfer print data to an existing client is given. If the job status is schedule UP and there is no job being transferred, the print data is not scheduled to be sent from the pull print server 605, so the process moves to step S2204 to prepare for issuing the schedule UP.

ステップS2204では、ジョブ管理キューで先にスケジュール要求を受け付けた順からジョブを確認し、スケジュール待機中のジョブが見つかるとステップS2205に処理を移行する。   In step S2204, the job management queue checks the jobs in the order in which the schedule request is received first, and if a job waiting for the schedule is found, the process proceeds to step S2205.

更に、ステップS2205で該当するクライアントに対して印刷データの転送を開始させるスケジュールUPを通知し、ステップS2206で、該当するジョブ情報のジョブ状態をスケジュールUP状態に更新し、ステップS2201に処理を移行する。   In step S2205, the corresponding client is notified of a schedule UP for starting transfer of print data. In step S2206, the job status of the corresponding job information is updated to the schedule UP status, and the process proceeds to step S2201. .

図23では、後述するデバイス管理からのジョブ状態通知イベントの受け付けからジョブ制御プリントサービス605からのジョブリスト要求の受け付けに対する、ジョブ管理部903の処理を示している。   FIG. 23 shows processing of the job management unit 903 from reception of a job status notification event from device management described later to reception of a job list request from the job control print service 605.

ステップS2301では、通信接続管理部901やデバイス管理部904からの通知を受け付けると、デバイス管理部904からのジョブ状態通知であるか、ジョブリスト要求であるかを判断する。   In step S2301, upon receiving a notification from the communication connection management unit 901 or the device management unit 904, it is determined whether the job status notification is from the device management unit 904 or a job list request.

デバイス管理部904からのジョブ状態通知であれば、ステップS2302に処理を移行し、該当するジョブ情報のジョブ状態を更新する。更にステップS2303に処理を移行し、印刷完了の通知であるかを判断する。印刷完了でなければ処理をステップS2304に移行し、接続管理部にジョブの状態のイベントをクライアントに発行するように通知する。   If it is a job status notification from the device management unit 904, the process proceeds to step S2302, and the job status of the corresponding job information is updated. Further, the process proceeds to step S2303, and it is determined whether it is a notification of printing completion. If printing is not completed, the process proceeds to step S2304, and the connection management unit is notified to issue a job status event to the client.

ステップS2303で、印刷完了の通知であれば、ステップS2305に処理を移行し、ジョブ管理キューから該当するジョブを削除し、ステップS2306で、接続管理部にジョブの完了イベントをクライアントに発行するように通知し、処理をステップS2301に移行する。   If it is a print completion notification in step S2303, the process proceeds to step S2305, the corresponding job is deleted from the job management queue, and a job completion event is issued to the connection management unit to the client in step S2306. The process proceeds to step S2301.

ステップS2309で、ジョブ制御プリントサービス605からのジョブリスト要求の受け付けると、ステップS2309において、ジョブ管理キューに登録されたジョブ情報のリストを要求元のクライアントに送信するように接続管理部にジョブ情報リストを通知する。   In step S2309, when a job list request is received from the job control print service 605, in step S2309 the job information list is sent to the connection management unit so that the list of job information registered in the job management queue is transmitted to the requesting client. To be notified.

図24では、プリンタコントローラからのデバイス状態、ジョブ状態通知をイベントハンドラを経由して受け付け、ジョブ管理部903や通信接続管理部901に通知するデバイス管理部904の処理について記載する。   FIG. 24 describes processing of the device management unit 904 that receives device status and job status notifications from the printer controller via the event handler and notifies the job management unit 903 and the communication connection management unit 901.

ステップS2401では、デバイススケジューラが起動すると、デバイス管理部904がイベントハンドラを経由してプリンタコントローラに対して、デバイスの状態が変更した場合や、プリンタコントローラが処理する印刷ジョブの状態が変更したばあいにそれらの状態を通知するようにイベント登録の処理を行う。   In step S2401, when the device scheduler is activated, the device management unit 904 changes the device status to the printer controller via the event handler or when the status of the print job processed by the printer controller changes. Event registration processing is performed so as to notify the status of the event.

ステップS2402では、プリンタコントローラで発生したイベントをイベントハンドラ経由で受け付けるとジョブのイベントであるかデバイスのイベントであるかを判断する。ジョブのイベントであれば、ステップS2403でジョブ管理部903にジョブイベントを通知し、ステップS2402に処理を移行する。デバイスのイベントであれば、処理をステップS2404に移行し、デバイスの状態をデバイス管理部904で保持した後、ステップS2405で通信接続管理部901にデバイスイベントを通知し、処理をステップS2402に移行する。   In step S2402, if an event generated in the printer controller is received via an event handler, it is determined whether the event is a job event or a device event. If it is a job event, the job management unit 903 is notified of the job event in step S2403, and the process proceeds to step S2402. If the event is a device event, the process proceeds to step S2404, the device state is held in the device management unit 904, the device event is notified to the communication connection management unit 901 in step S2405, and the process proceeds to step S2402. .

ジョブ情報のリストを要求元のクライアントに送信するように接続管理部にジョブ情報リストを通知する。   The job information list is notified to the connection management unit so that the job information list is transmitted to the requesting client.

図25は、プルプリントサーバ605からの要求や通知、デバイス管理部904からの通知、ジョブ管理部903への要求や通知を処理する通信接続管理部901の処理の流れについて記載する。   FIG. 25 describes a processing flow of the communication connection management unit 901 that processes requests and notifications from the pull print server 605, notifications from the device management unit 904, and requests and notifications to the job management unit 903.

ステップS2501では、プルプリントサーバ605やデバイス管理部904、ジョブ管理部903からの通知や要求を受け付け、どの通知や要求であるかを判断する。   In step S2501, notifications and requests from the pull print server 605, the device management unit 904, and the job management unit 903 are received, and it is determined which notification or request.

ステップS2501において受け付けた要求やイベントがプルプリントサーバ605からの接続要求であれば、ステップS2502に移行し、クライアント管理キューに通信接続管理部901で発行したクライアントIDと、要求を発したクライアントのIPアドレスを設定し、クライアント管理キューにクライアント情報を登録する。   If the request or event accepted in step S2501 is a connection request from the pull print server 605, the process proceeds to step S2502, and the client ID issued by the communication connection management unit 901 to the client management queue and the IP of the client that issued the request. Set the address and register the client information in the client management queue.

ステップS2501において受け付けた要求やイベントがプルプリントサーバ605からのイベント登録であれば、ステップS2503に処理を移行し、該当するクライアント情報の登録イベントに通知するイベントの種類を設定する。イベントの種類には、ジョブの状態の変化を通知するジョブイベント、デバイスの状態の変化を通知するデバイスイベントがある。   If the request or event received in step S2501 is event registration from the pull print server 605, the process proceeds to step S2503, and the type of event notified to the registration event of the corresponding client information is set. 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.

ステップS2501において受け付けた要求やイベントがデバイス管理部904からのデバイスイベントやジョブ管理部903からのジョブイベントであれば、ステップS2504において、これらのイベントを通知すべきクライアントを認識するために、クライアント管理キューに登録された全てのクライアント情報から、クライアント情報の登録イベントの設定を参照し通知すべきかどうかを判断する。通知すべきであると判断した場合には、クライアントのIPアドレスを保持し、ステップS2505において通知すべき全てのクライアントに対してイベントを送信する。   If the request or event received in step S2501 is a device event from the device management unit 904 or a job event from the job management unit 903, in step S2504, in order to recognize a client to be notified of these events, client management From all the client information registered in the queue, it is determined whether to notify by referring to the setting of the registration event of the client information. If it is determined that notification should be made, the IP address of the client is held, and an event is transmitted to all clients to be notified in step S2505.

ステップS2501において受け付けた要求やイベントがクライアントからの切断要求であればステップS2506に処理を移行し、クライアント管理キューから該当するクライアントのクライアント情報を削除する。   If the request or event accepted in step S2501 is a disconnection request from the client, the process proceeds to step S2506, and the client information of the corresponding client is deleted from the client management queue.

本発明の実施形態としてのプリントシステムの全体構成を示すブロック図である。1 is a block diagram showing an overall configuration of a print system as an embodiment of the present invention. クライアントのハードウェア構成を説明するブロック図である。It is a block diagram explaining the hardware constitutions of a client. 図2に示したRAM202のメモリマップの一例を示す図である。It is a figure which shows an example of the memory map of RAM202 shown in FIG. 図2に示したFD204のメモリマップの一例を示す図である。FIG. 3 is a diagram illustrating an example of a memory map of the FD 204 illustrated in FIG. 2. プリンタのハードウェア構成を説明するブロック図である。FIG. 2 is a block diagram illustrating a hardware configuration of a printer. クライアントのプリントシステムのソフトウェア構成の例を示す図である。It is a figure which shows the example of a software configuration of the print system of a client. クライアントの印刷時の印刷ジョブの流れを示す図である。FIG. 6 is a diagram illustrating a flow of a print job when printing by a client. プリンタのソフトウェア構成の例を示す図である。2 is a diagram illustrating an example of a software configuration of a printer. FIG. プリンタのユーザアプリケーションのソフトウェア構成の例を示す図である。FIG. 3 is a diagram illustrating an example of a software configuration of a user application of a printer. 本発明の好適な実施例の概略を示すアクティビティ図である。FIG. 3 is an activity diagram illustrating an overview of a preferred embodiment of the present invention. プルプリントサーバジョブを登録する処理を示すフローチャートである。10 is a flowchart illustrating processing for registering a pull print server job. プルプリントエージェントで検知した情報により行うプルプリントサーバの処理を示すフローチャートである。It is a flowchart which shows the process of the pull print server performed by the information detected by the pull print agent. プルプリントサーバが管理する印刷ジョブの情報とジョブ管理キューを表す図である。FIG. 6 is a diagram illustrating print job information and a job management queue managed by a pull print server. プルプリントサーバが管理するプリンタキュー、出力ポートの情報を表す図である。FIG. 6 is a diagram illustrating information on printer queues and output ports managed by a pull print server. プルプリントエージェントがプルプリントサーバに通知する情報を示す図である。It is a figure which shows the information which a pull print agent notifies to a pull print server. プルプリントサーバが印刷データを特定してから、印刷データの転送までの流れを示すフローチャートである。6 is a flowchart illustrating a flow from when the pull print server specifies print data to when the print data is transferred. デバイススケジューラからの通知やコマンドを受け付けた場合のプルプリントサーバの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of a pull print server when the notification and command from a device scheduler are received. プルプリントエージェントが認証記録装置の状態変化を検知してからプルプリントサーバにその情報を通知するまでの処理のフローチャートである。It is a flowchart of a process after a pull print agent detects the state change of an authentication recording device until it notifies the information to a pull print server. デバイススケジューラで管理するクライアント情報とクライアント管理キューを示す図である。It is a figure which shows the client information and client management queue which are managed by a device scheduler. デバイススケジューラで管理するジョブ情報とジョブ管理キューを示す図である。It is a figure which shows the job information and job management queue which are managed by a device scheduler. プルプリントサーバとデバイススケジューラ、LPD/RAW、プリンタコントローラ間の印刷シーケンスを示す図である。FIG. 4 is a diagram illustrating a print sequence between a pull print server, a device scheduler, LPD / RAW, and a printer controller. プルプリントサーバのスケジュール要求の受け付けから、スケジュールUPを発行するまでのデバイススケジュラのスケジュール管理部の処理の流れを示すフローチャートである。It is a flowchart which shows 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. ジョブ管理部903のジョブ状態通知イベントの受け付けからジョブリスト要求の受け付けに対する処理を示すフローチャートである。10 is a flowchart illustrating processing from job status notification event reception to job list request reception by a job management unit 903; プリンタコントローラからのデバイス状態、ジョブ状態通知を受け付けた時のデバイス管理部の処理を示すフローチャートである。6 is a flowchart illustrating processing of a device management unit when a device status and job status notification is received from a printer controller. クライアントからの要求や通知、デバイス管理部からの通知、ジョブ管理部903への要求や通知を処理する通信接続管理部901の処理を示すフローチャートである。10 is a flowchart illustrating processing of a communication connection management unit 901 that processes requests and notifications from clients, notifications from a device management unit, requests to a job management unit 903, and notifications.

Claims (1)

印刷データをスプールし管理するプリントサーバと、
前記サーバに印刷実行を指示する印刷実行指示手段とを備え、
前記印刷実行指示手段からの指示に従って、前記プリントサーバに留め置かれた印刷データを印刷出力するプルプリントシステムにおいて、
前記実行された印刷ジョブの印刷結果を検知する印刷結果検知手段と、
印刷結果検知手段によって検知された、印刷結果を判定する印刷結果判定手段とを備え、
前記印刷結果判定手段によって判定された前記印刷結果が成功であった場合に前記印刷ジョブを前記サーバから消去するジョブ消去手段を備えた事を特徴とするプルプリントシステム。
A print server that spools and manages print data;
Printing execution instruction means for instructing the server to execute printing,
In the pull print system for printing out the print data held in the print server according to the instruction from the print execution instruction means,
A print result detecting means for detecting a print result of the executed print job;
A print result determining means for determining a print result detected by the print result detecting means,
A pull printing system comprising job erasing means for erasing the print job from the server when the printing result determined by the printing result determining means is successful.
JP2005205695A 2005-07-14 2005-07-14 Pull print system Withdrawn JP2007025970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005205695A JP2007025970A (en) 2005-07-14 2005-07-14 Pull print system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005205695A JP2007025970A (en) 2005-07-14 2005-07-14 Pull print system

Publications (1)

Publication Number Publication Date
JP2007025970A true JP2007025970A (en) 2007-02-01

Family

ID=37786654

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005205695A Withdrawn JP2007025970A (en) 2005-07-14 2005-07-14 Pull print system

Country Status (1)

Country Link
JP (1) JP2007025970A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008276494A (en) * 2007-04-27 2008-11-13 Canon Inc Information processor and job management method
JP2008307892A (en) * 2007-05-11 2008-12-25 Ricoh Co Ltd Image forming apparatus, business form output processing method, business form output processing program, and recording medium
CN102298511A (en) * 2010-06-28 2011-12-28 株式会社东芝 Server apparatus, image forming system, and management method of image forming data
JP2016149157A (en) * 2016-04-21 2016-08-18 株式会社リコー Information processing device, management method, and management program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008276494A (en) * 2007-04-27 2008-11-13 Canon Inc Information processor and job management method
JP2008307892A (en) * 2007-05-11 2008-12-25 Ricoh Co Ltd Image forming apparatus, business form output processing method, business form output processing program, and recording medium
CN102298511A (en) * 2010-06-28 2011-12-28 株式会社东芝 Server apparatus, image forming system, and management method of image forming data
JP2016149157A (en) * 2016-04-21 2016-08-18 株式会社リコー Information processing device, management method, and management program

Similar Documents

Publication Publication Date Title
JP4869031B2 (en) Printing system, server apparatus, and job control method
JP4420421B2 (en) Information processing apparatus and control method thereof
US8045202B2 (en) Information processing apparatus and print device control method
JP4018622B2 (en) Information processing apparatus, information processing system, information processing method, information processing program, and storage medium
EP1452956A2 (en) print control system
JP3774702B2 (en) Print control program and information processing apparatus
JP2010204746A (en) Print control device, control method, and program
JP2005174210A (en) Information processor, printing system, load distribution printing method, and control program
US20080266601A1 (en) Information processing apparatus and job management method
JP2011253568A (en) Printing system, server device and job control method
JP2008059372A (en) Printing controller and its method
JP2008097226A (en) Information processing device and method
JP2009037488A (en) Method for controlling print job, its print system, information processor, and printer
US8072628B2 (en) Printing apparatus, network device, printing control method, and printing control program capable of transmitting print image data to printing hardware prior to registration of print job
JP2007025970A (en) Pull print system
JP2006056069A (en) Printing control unit and printing control method
JP2003316545A (en) Information processor and information processing method
JP2006209410A (en) Print system
JP2021192190A (en) Printing system
JP2008107921A (en) Pull print server and its control method
US20030223795A1 (en) Print control method, information processing apparatus, printing system, print control program and record medium
JP2008077355A (en) Information processor, print system, and transfer control method of print job
JP2009123075A (en) Print controller, print control method, and storage medium
JP2007004680A (en) Printing control device, printing control method and printing control program
JP4164479B2 (en) Print control program, processing method, storage medium, information processing apparatus, and printing system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20081007