JP2008077355A - Information processor, print system, and transfer control method of print job - Google Patents

Information processor, print system, and transfer control method of print job Download PDF

Info

Publication number
JP2008077355A
JP2008077355A JP2006254977A JP2006254977A JP2008077355A JP 2008077355 A JP2008077355 A JP 2008077355A JP 2006254977 A JP2006254977 A JP 2006254977A JP 2006254977 A JP2006254977 A JP 2006254977A JP 2008077355 A JP2008077355 A JP 2008077355A
Authority
JP
Japan
Prior art keywords
print
job
information
identification information
print job
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
JP2006254977A
Other languages
Japanese (ja)
Inventor
Isato Matsugashita
勇人 松ヶ下
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 JP2006254977A priority Critical patent/JP2008077355A/en
Publication of JP2008077355A publication Critical patent/JP2008077355A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent interruption of others print among two or more print jobs, even when two or more target pull print jobs exist at pull print starting. <P>SOLUTION: An information processor connectable to a print system registers a print job by giving an identification information relevant to a user. If a specific information for choosing a print job for a print target is input, a print job in which the given identification information matches the input specific information is retrieved from the registered print jobs. When two or more print jobs are retrieved, a common identification information is added to these two or more print jobs, and these two or more print jobs are registered into a print queue relevant to the print system of an output destination. When transferring the print job registered into this print queue is permitted, the two or more print jobs to which the common identification information is given are collectively transmitted to the print system. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、少なくとも1台のクライアントと、クライアントからの印刷要求を受信して印刷を実行する印刷装置とが、互いにネットワークで接続されたネットワークプリントシステム関する。   The present invention relates to a network print system in which at least one client and a printing apparatus that receives a print request from the client and executes printing are connected to each other via a network.

近年、パーソナルコンピュータ等の情報処理装置で作成された印刷データを、ネットワークを介して印刷装置に出力するネットワークプリントシステムが一般的なものとなっている。このようなネットワークプリントシステムでは、ネットワークに接続された1台以上のクライアントとしての情報処理装置から、ネットワークを介して印刷装置に印刷要求とともに印刷データが送信される。そして、印刷装置では印刷データを順次受信しイメージを形成し、これを紙等の媒体に印刷する。このように、ネットワークプリントシステムでは、情報処理装置からネットワークを介して印刷装置に印刷要求するプリントシステムが主流となっている。   In recent years, network printing systems that output print data created by an information processing apparatus such as a personal computer to a printing apparatus via a network have become common. In such a network print system, print data is transmitted together with a print request from an information processing apparatus as one or more clients connected to the network via the network. The printing apparatus sequentially receives print data, forms an image, and prints it on a medium such as paper. As described above, in the network print system, a print system that makes a print request from the information processing apparatus to the printing apparatus via the network has become mainstream.

上記システムでは、印刷装置はネットワークを介して接続された複数の情報処理装置から印刷要求を受けることになるので、排紙された印刷物が他者の印刷物と混じり合ってしまうケースが多々発生する。この状況は、特に機密文書や秘匿性の高い文書を印刷する場合に問題となる。即ち、機密文書を印刷する際には、ユーザは他者の印刷物に交じり合わないように留意して印刷要求を発行させなければならい。また、機密情報を漏らさないためには、排紙された印刷物が他者の目に触れないようにする必要がある。このため、ユーザは、ネットワークを介して接続された印刷装置に印刷要求を発行すべく情報処理装置を操作した後、その印刷装置の設置場所まで赴き、排紙されるまで印刷装置を見張る必要がある。   In the system described above, the printing apparatus receives a print request from a plurality of information processing apparatuses connected via the network, so that there are many cases where the discharged printed matter is mixed with the printed matter of another person. This situation becomes a problem particularly when a confidential document or a highly confidential document is printed. In other words, when printing a confidential document, the user must issue a print request while paying attention not to mix it with the prints of others. Further, in order not to leak confidential information, it is necessary to prevent the printed matter discharged from touching the eyes of others. For this reason, after the user operates the information processing apparatus to issue a print request to a printing apparatus connected via a network, the user needs to go to the installation place of the printing apparatus and watch the printing apparatus until it is discharged. is there.

しかしながら、ネットワークに接続された印刷装置は複数人で共有しているため、印刷要求後すぐにその印刷が開始されるわけではない。例えば、他者の印刷ジョブが既に印刷装置内に登録されていた場合は、それら印刷ジョブが全て印刷されるまで、上記機密情報の印刷は待たされることになる。そのため、ユーザは印刷要求後、印刷装置に赴くタイミングを計る必要が生じ、ユーザビリティが悪いという課題があった。   However, since printing apparatuses connected to the network are shared by a plurality of people, the printing is not started immediately after a print request. For example, if another person's print job has already been registered in the printing apparatus, the printing of the confidential information is awaited until all the print jobs are printed. Therefore, it is necessary for the user to measure the timing of visiting the printing apparatus after a print request, and there is a problem that usability is poor.

このような課題を解決するため、特許文献1では、プル型の印刷システム(プルプリント方式)を用いることで、これら課題を解決できる可能性を示唆している。プルプリント方式では、情報処理装置からネットワークを介して印刷装置に送信された印刷要求により印刷を実行するのではなく、印刷装置から印刷すべきドキュメントを探索して印刷を実行する。特許文献1によれば、ゲートウェイに通常のプリントキューと、プル専用のプリントキュー(以下、プルプリントキュー)を設け、出力先が設定されていない印刷ジョブはプルプリントキューにキューイングされる。印刷装置にプルプリントキューのジョブを実行するスタートボタンが設けられ、これが押下されると実行すべきジョブとその出力先がゲートウェイに送信される。そして、プルプリントキューから指定された出力先へ指定されたジョブが送信され、印刷される。
特開2004−220354号公報
In order to solve such problems, Patent Document 1 suggests the possibility of solving these problems by using a pull-type printing system (pull print method). In the pull printing method, printing is not performed according to a print request transmitted from the information processing apparatus to the printing apparatus via the network, but is performed by searching for a document to be printed from the printing apparatus. According to Patent Document 1, a normal print queue and a pull-dedicated print queue (hereinafter referred to as pull print queue) are provided in a gateway, and a print job with no output destination set is queued in the pull print queue. The printing apparatus is provided with a start button for executing a job in the pull print queue. When this button is pressed, the job to be executed and its output destination are transmitted to the gateway. Then, the designated job is transmitted from the pull print queue to the designated output destination and printed.
JP 2004-220354 A

しかしながら、上述した従来技術では、印刷ジョブが複数存在する場合に生じ得る課題については記載されていない。ネットワークによって印刷装置が共有された環境では、印刷ジョブが複数存在した場合、それら複数のジョブとジョブの間に他者の印刷ジョブが割り込む可能性がある。他者の印刷に割り込まれた場合、排紙されたドキュメント中に他者の印刷物が混入することになるので、それを誤って持っていってしまったり、もしくは誤って持っていかれてしまったりする可能性がある。このように、機密文書や秘匿性の高い文書と他者の印刷物とが混在してしまうことは、情報を得る権利のない者がみだりに情報を取得してしまう可能性を生むものである。   However, the above-described prior art does not describe a problem that may occur when there are a plurality of print jobs. In an environment in which a printing apparatus is shared by a network, when there are a plurality of print jobs, there is a possibility that another person's print job may interrupt between the plurality of jobs. If you are interrupted by another person's printing, the other person's printed matter will be mixed into the ejected document, so you may accidentally take it or take it by mistake. there is a possibility. As described above, the mixing of confidential documents or highly confidential documents with other people's printed matter creates a possibility that a person who does not have the right to obtain information will acquire information.

また上述した従来技術では、プリントキューが単独でしか存在していないため、複数のグループ(ユーザ又は部門等)の印刷ジョブを登録することが困難である。つまり、プルプリントキューに登録した印刷ジョブは、スタートボタンを押下することで全て印刷開始されてしまうため、複数人で同じプルプリントキューを利用することが困難である。従って、複数人でプルプリントを実行するためには、使用人数分のプルプリントキューを用意する必要がある。   Further, in the above-described conventional technology, since there is only a single print queue, it is difficult to register print jobs for a plurality of groups (users or departments). That is, printing of all print jobs registered in the pull print queue is started when the start button is pressed, so that it is difficult for a plurality of people to use the same pull print queue. Therefore, in order to perform pull printing by a plurality of people, it is necessary to prepare pull print queues for the number of users.

本発明は、上記の課題に鑑みてなされたものであり、その目的は、プルプリント開始時に対象となるプルプリントジョブが複数個存在した場合にも、複数の印刷ジョブをまとめて印刷できるようにすることである。また、複数の印刷ジョブの間に他者の印刷が割り込むことを防止することにある。   The present invention has been made in view of the above problems, and an object of the present invention is to be able to print a plurality of print jobs collectively even when there are a plurality of target pull print jobs at the start of pull printing. It is to be. Another object is to prevent another person's printing from interrupting a plurality of print jobs.

上述した目的を達成するための、本発明の一態様による情報処理装置は以下の構成を備える。即ち、
印刷装置に接続可能な情報処理装置であって、
印刷ジョブにユーザに関連した識別情報を付与して登録する第1登録手段と、
印刷対象の印刷ジョブを選択するための特定情報を入力する入力手段と、
前記第1登録手段で登録された印刷ジョブから、前記第1登録手段で付与された識別情報が前記入力手段で入力された特定情報と対応する印刷ジョブを検索する検索手段と、
前記検索手段により複数の印刷ジョブが検索された場合に、該複数の印刷ジョブに共通の識別情報を付与して、該複数の印刷ジョブを、出力先の印刷装置に関連するプリントキューに登録する第2登録手段と、
前記プリントキューに登録された前記共通の識別情報が付与されている前記複数の印刷ジョブの一つの転送が許可された場合に、当該複数の印刷ジョブを一括して印刷装置に転送する転送手段とを備える。
In order to achieve the above object, an information processing apparatus according to an aspect of the present invention includes the following arrangement. That is,
An information processing apparatus that can be connected to a printing apparatus,
A first registration means for registering a print job with identification information associated with the user;
An input means for inputting specific information for selecting a print job to be printed;
A search unit for searching for a print job in which the identification information given by the first registration unit corresponds to the specific information input by the input unit from the print job registered by the first registration unit;
When a plurality of print jobs are retrieved by the retrieval unit, common identification information is given to the plurality of print jobs, and the plurality of print jobs are registered in a print queue associated with an output destination printing apparatus. A second registration means;
Transfer means for collectively transferring the plurality of print jobs to a printing apparatus when one transfer of the plurality of print jobs to which the common identification information registered in the print queue is given is permitted; Is provided.

又、上記の目的を達成するための本発明の他の態様によるプリントシステムは以下の構成を備える。即ち、
印刷装置と情報処理装置が接続されたプリントシステムであって、
前記情報処理装置が、
印刷ジョブにユーザに関連した識別情報を付与して登録する第1登録手段と、
前記印刷装置から印刷対象の印刷ジョブを選択するための特定情報を入力する入力手段と、
前記第1登録手段で登録された印刷ジョブから、前記第1登録手段で付与された識別情報が前記入力手段で入力された特定情報と対応する印刷ジョブを検索する検索手段と、
前記検索手段により複数の印刷ジョブが検索された場合に、該複数の印刷ジョブに共通の識別情報を付与し、該複数の印刷ジョブを、前記印刷装置を出力先とするプリントキューに登録する第2登録手段と、
前記印刷装置から、前記共通の識別情報が付与されている前記複数の印刷ジョブの一つに転送許可が通知された場合、該複数の印刷ジョブを一括して前記印刷装置に転送する転送手段とを備える。
In order to achieve the above object, a printing system according to another aspect of the present invention comprises the following arrangement. That is,
A printing system in which a printing device and an information processing device are connected,
The information processing apparatus is
A first registration means for registering a print job with identification information associated with the user;
Input means for inputting specific information for selecting a print job to be printed from the printing apparatus;
A search unit for searching for a print job in which the identification information given by the first registration unit corresponds to the specific information input by the input unit from the print job registered by the first registration unit;
When a plurality of print jobs are searched by the search unit, common identification information is given to the plurality of print jobs, and the plurality of print jobs are registered in a print queue having the printing apparatus as an output destination. 2 registration means;
A transfer unit configured to transfer the plurality of print jobs to the printing apparatus collectively when the transfer permission is notified from the printing apparatus to one of the plurality of print jobs to which the common identification information is assigned; Is provided.

本発明によれば、プルプリント開始時に対象となるプルプリントジョブが複数個存在した場合にも、複数の印刷ジョブをまとめて印刷できる。また、複数の印刷ジョブの間に他者の印刷が割り込むことを防止することが可能となる。   According to the present invention, even when a plurality of target pull print jobs exist at the start of pull printing, a plurality of print jobs can be printed together. In addition, it is possible to prevent another person's printing from interrupting a plurality of print jobs.

以下、添付の図面を参照して本発明の好適な実施形態を説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.

<システム構成>
図1は本発明の実施形態に係るプリントシステムの全体構成例を示すブロック図である。第1実施形態のプリントシステムは、情報処理装置により実現されるクライアント(コンピュータ)101〜103と、印刷装置(プリンタデバイス)としてのネットワークプリンタ104〜105とを含む。クライアント101〜103及びネットワークプリンタ104〜105がネットワーク(LAN)106を介して互いに通信可能に接続さることにより、全体としてプリントシステムを構成している。
<System configuration>
FIG. 1 is a block diagram showing an example of the overall configuration of a print system according to an embodiment of the present invention. The print system according to the first embodiment includes clients (computers) 101 to 103 realized by an information processing apparatus and network printers 104 to 105 as printing apparatuses (printer devices). The clients 101 to 103 and the network printers 104 to 105 are communicably connected to each other via a network (LAN) 106, thereby constituting a printing system as a whole.

クライアント101〜103は、印刷制御プログラムを実行可能に格納しており、これを実行することにより、
・プリントシステム内のネットワークプリンタ104〜105を管理する機能、
・ネットワークで使用されるファイルを蓄積したり、ネットワークの使用状態を監視したりする機能を実現する。
The clients 101 to 103 store the print control program so that they can be executed.
A function for managing the network printers 104 to 105 in the print system;
-Realize functions for accumulating files used on the network and monitoring network usage.

また、プルプリントによる印刷に関して、クライアント101〜103は、印刷制御プログラムを実行することにより、
・自身により印刷ジョブを作成し、ネットワークプリンタ104〜105に内臓もしくは接続されたスケジューラにスケジュール要求を発行する機能、
・ネットワークプリンタ104〜105のスケジューラからの指示により、印刷データの転送を開始する機能を有する。
なお、ここでのスケジューラとは、ソフトウェアを装置上で稼働させることにより構築しても良いし、或は、専用のハードウェアにより構築しても良い。
Regarding printing by pull printing, the clients 101 to 103 execute a print control program, thereby
A function for creating a print job by itself and issuing a schedule request to a scheduler built in or connected to the network printers 104 to 105;
A function of starting transfer of print data according to an instruction from the scheduler of the network printers 104 to 105.
Here, the scheduler may be constructed by operating software on the apparatus, or may be constructed by dedicated hardware.

ネットワークプリンタ104〜105は、クライアント101〜103から、印刷データを含む印刷ジョブを受信し、受信した印刷ジョブを解析して印刷する物理的な装置としてのプリンタデバイスである。ネットワークプリンタ104〜105としては、電子写真方式を採用したレーザービームプリンタやインクジェット方式を採用したインクジェットプリンタや熱転写方式を利用したプリンタ等、あらゆる方式の印刷装置を採用することが出来る。   The network printers 104 to 105 are printer devices as physical devices that receive print jobs including print data from the clients 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 employing an electrophotographic system, an inkjet printer employing an inkjet system, or a printer utilizing a thermal transfer system can be employed.

また、ネットワークプリンタ104〜105は、
・複数のクライアント101〜103からの印刷要求を受け付け、受け付けた印刷要求の順序を決定し、印刷指示を発行する機能、
・ネットワークプリンタ104〜105に転送された印刷ジョブ、ネットワークプリンタ104〜105の状態を監視し、印刷の終了やプリンタの状態をクライアント101〜103に通知する機能を有する。
The network printers 104 to 105 are
A function of accepting print requests from a plurality of clients 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 clients 101 to 103 of the end of printing and the status of the printer.

なお、本プリントシステムに含まれる装置間の通信は、イーサネット(登録商標)ケーブルなどを利用した有線通信でも良いし、電波や光などを利用した無線通信でもよい。   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のハードウェア構成を説明するブロック図である。図2において、CPU200は、HD(ハードディスク)205に格納されているアプリケーションプログラム、プリンタドライバプログラム、OSや印刷制御プログラム等を読み出してRAM202にロードし、実行する。ROM201は、基本I/Oプログラム等のプログラム、文書処理の際に使用するフォントデータ、テンプレート用データ等の各種データを記憶する。RAM202は、CPU200の主メモリやワークエリア等として機能する。RAM202には、CPU200の制御の下で、プログラムの実行に必要な情報やファイル等が一時定期に格納される。
<Client configuration>
FIG. 2 is a block diagram illustrating the hardware configuration of the clients 101 to 103 illustrated in FIG. In FIG. 2, a CPU 200 reads an application program, a printer driver program, an OS, a print control program, and the like stored in an HD (hard disk) 205, loads them into the RAM 202, and executes them. The ROM 201 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 functions as a main memory or work area for the CPU 200. The RAM 202 stores information, files, and the like necessary for program execution under the control of the CPU 200 on a regular basis.

FD(フロッピー(登録商標)ディスク)ドライブ203は、記憶媒体としてのFD204に記憶されたプログラム等を読み出したり、FD204に対してデータの書き込みを行う。なお、クライアント101〜103は、FDドライブ203に替えて、或いはFDドライブ203と共に、他の記憶媒体をアクセスするためのドライブを備えても良い。他の記憶媒体としては、例えば、CD−ROM、CD−R、CD−RW、PCカード、DVD、ICメモリカード、MO、メモリスティック等、コンピュータが読み取り可能なあらゆる記憶媒体を用いることができる。   An FD (floppy (registered trademark) disk) drive 203 reads a program stored in the FD 204 as a storage medium, and writes data to the FD 204. Note that the clients 101 to 103 may include a drive for accessing another storage medium instead of the FD drive 203 or together with the FD drive 203. As other storage media, any computer-readable storage media such as CD-ROM, CD-R, CD-RW, PC card, DVD, IC memory card, MO, and memory stick can be used.

HD205は、大容量メモリとして機能する外部記憶装置であり、アプリケーションプログラム、プリンタドライバプログラム、OS、印刷制御プログラム、及び関係プログラム等を格納している。さらに、印刷データをスプールするめのスプーラもHD205に確保される。   The HD 205 is an external storage device 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 for spooling print data is also secured in the HD 205.

キーボード206は、ユーザがクライアントコンピュータ101〜103に対して、デバイスの制御コマンドの命令等を入力するための指示入力装置である。ディスプレイ207は、キーボード206から入力したコマンドや、ネットワークプリンタ104〜105の状態等を表示する表示装置である。なお、実際にはクライアント101〜103上で稼動するオペレーティングシステムを介してディスプレイ207に表示指示がなされる。そして、このオペレーティングシステムに本印刷処理プログラムによりリソースファイルの表示指示が行われ、後述する各表示が実現される。システムバス208は、クライアント101〜103としてのコンピュータ内の、上記各構成間のデータの流れを司る。また、インタフェース209は、クライアント101〜103をネットワークと接続する。クライアント101〜103はインタフェース209を介してネットワーク上の他の装置とデータのやり取りを行う。   A keyboard 206 is an instruction input device for a user to input device control command instructions and the like to the client computers 101 to 103. A display 207 is a display device that displays commands input from the keyboard 206, the status of the network printers 104 to 105, and the like. In practice, a display instruction is given to the display 207 via an operating system running on the clients 101 to 103. A resource file display instruction is issued to the operating system by the print processing program, and each display described later is realized. A system bus 208 controls the flow of data between the above components in the computers as the clients 101 to 103. The interface 209 connects the clients 101 to 103 to the network. The clients 101 to 103 exchange data with other devices on the network via the interface 209.

<メモリマップ等の説明>
図3は、図2に示したRAM202のメモリマップの一例を示す図であり、印刷制御プログラムがRAM202にロードされCPU200によって実行可能となった状態のメモリマップを示す。
<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 illustrates a memory map in a state in which the print control program is loaded into the RAM 202 and can be executed by the CPU 200.

RAM202には基本I/Oプログラム301が記憶されている。基本I/Oプログラム301は、クライアント101〜103の電源がONされたときに、HD205からOSがRAM202にロードされ、OSの動作を開始させるIPL(イニシャルプログラムローディング)機能などを有しているプログラムである。また、RAM202には、OS(オペレーティングシステム)302、印刷制御プログラム303、関連データ304が記憶されている。ワークエリア305は、CPU200が各種のプログラムを実行する際に利用される領域である。   A basic I / O program 301 is stored in the RAM 202. The basic I / O program 301 is a program having an IPL (Initial Program Loading) function for starting the operation of the OS by loading the OS from the HD 205 to the RAM 202 when the power of the clients 101 to 103 is turned on. It is. The RAM 202 stores an OS (Operating System) 302, a print control program 303, and related data 304. The work area 305 is an area used when the CPU 200 executes various programs.

印刷制御プログラム303及び関連データ304は、予めFD204からHD205にインストールしておき、HD205からRAM202にロードして実行するようにしてもよいし、FD204から直接RAM202にロードして実行するようにしてもよい。更に、印刷制御プログラム303をROM201に記憶しておき、これをメモリマップの一部となすように構成し、直接CPU200で実行することも可能である。また、各機能をソフトウェアをもって、ハードウェア装置の代替として構成することも出来る。CPU200は、印刷制御プログラム303を実行することにより、印刷データを転送したり、印刷ジョブの印刷先の変更を指示したり、印刷順序を変更したりする指示をする機能を実現する。   The print control program 303 and related data 304 may be installed in advance from the FD 204 to the HD 205 and loaded from the HD 205 to the RAM 202 for execution, or may be loaded directly from the FD 204 to the RAM 202 for execution. Good. Further, it is possible to store the print control program 303 in the ROM 201, configure it as a part of the memory map, and execute it directly by the CPU 200. In addition, each function can be configured as software instead of a hardware device. By executing the print control program 303, the CPU 200 realizes a function of transferring print data, instructing to change the print destination of the print job, or instructing to change the print order.

図4は、図2に示したFD204のメモリマップの一例を示す図である。図4において、400はFD204のデータ内容である。データ内容400は、データの情報を示すボリューム情報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, 400 is the data content of the FD 204. The data content 400 includes volume information 401 indicating data information, directory information 402, a print control program 403, and related data 404.

<ネットワークプリンタの構成>
図5は、本実施形態に関わるプリントシステムに適用できるネットワークプリンタ104〜105のハードウェア構成例を説明するブロック図である。
<Network printer configuration>
FIG. 5 is a block diagram illustrating a hardware configuration example of the network printers 104 to 105 that can be applied to the print system according to the present embodiment.

ネットワークプリンタ104〜105の制御系は、ネットワークプリントサーバ521とプリンタコントローラ522に分けられる。ネットワークプリントサーバ521において、ネットワークプリントサーバ用CPU501は、書き換え可能なFlashROM503に記憶された制御プログラムに基づいて、主としてネットワークに接続されたクライアントとの通信を行う。即ち、ネットワーク106に接続されているクライアント101〜103等の複数の外部装置から所定のネットワーク通信プロトコルを用いて送信される印刷データやプリンタ制御命令等の各種データの送受信を統括的に制御する。そして、拡張インタフェースコントローラ(EXPC)507を介して接続されるプリンタコントローラ522に対してデータ転送制御を行う。又、517は拡張インターフェースコントローラ507と拡張インタフェースコントローラ(EXPC)513をつなぐインターフェースを表している。   The control system of the network printers 104 to 105 is divided into a network print server 521 and a printer controller 522. In the network print server 521, the network print server CPU 501 mainly communicates with a client connected to the network based on a control program stored in the rewritable Flash ROM 503. That is, it comprehensively controls transmission and reception of various data such as print data and printer control commands transmitted from a plurality of external devices such as clients 101 to 103 connected to the network 106 using a predetermined network communication protocol. Then, data transfer control is performed for the printer controller 522 connected via the expansion interface controller (EXPC) 507. Reference numeral 517 denotes an interface connecting the extended interface controller 507 and the extended interface controller (EXPC) 513.

RAM502はCPU501の主メモリ、ワークエリア等の一時時記憶領域として用いられる。LED506はネットワークプリントサーバの動作状態を示す表示部として用いられており、各種動作状態をLEDの点滅パターンや色で示すことが可能となっている。LED506により示される動作状態としては、例えば、
・ネットワークコントローラ(LANC)505とローカルエリアネットワーク(LAN)523の電気的な接続状態(LINK)、
・ネットワーク通信モード(10Baseや100Base、全二重、半二重)等があげられる。
A RAM 502 is used as a temporary storage area such as a main memory and work area of the CPU 501. The LED 506 is used as a display unit indicating the operation state of the network print server, and various operation states can be indicated by LED blink patterns and colors. As an operation state indicated by the LED 506, for example,
The electrical connection state (LINK) between the network controller (LANC) 505 and the local area network (LAN) 523,
-Network communication mode (10Base, 100Base, full duplex, half duplex) and the like.

外部I/Oインタフェース519は、ネットワークプリントサーバ521が認識可能な外部装置520との情報のやり取りを実現する。外部装置520としては例えば、IDカード情報を読み取るIDカードリーダや、携帯可能な記憶媒体であるメモリスティックや、表示用補助パネルディスプレイ等があげられる。   The external I / O interface 519 realizes information exchange with an external device 520 that can be recognized by the network print server 521. Examples of the external device 520 include an ID card reader that reads ID card information, a memory stick that is a portable storage medium, a display auxiliary panel display, and the like.

プリンタコントローラ522において、プリンタコントローラ用CPU508は、ROM509に記憶された制御プログラム等に従ってシステムバス511に接続される各種デバイスとのアクセスを統括的に制御し、各種制御を実行する。尚、CPU508が実行する制御プログラムや、各種制御の実行時に参照するリソースデータ(資源情報)は、ディスクコントローラ(DKC)515を介して接続された外部メモリ510から取得されてもよい。ラスタコントローラ512は拡張インタフェースコントローラ(EXPC)513を介して接続されたネットワークプリントサーバ521から受信される印刷データを基に出力画像情報を生成し、プリントエンジン516に対して画像信号を出力する。   In the printer controller 522, the printer controller CPU 508 comprehensively controls access to various devices connected to the system bus 511 in accordance with a control program stored in the ROM 509 and executes various controls. Note that the control program executed by the CPU 508 and the resource data (resource information) referred to when executing various controls may be acquired from the external memory 510 connected via the disk controller (DKC) 515. A raster controller 512 generates output image information based on print data received from a network print server 521 connected via an extended interface controller (EXPC) 513, and outputs an image signal to the print engine 516.

RAM514はCPU508の主メモリ、ワークエリア等として機能する。尚、RAM514のメモリ容量は、図示しない増設ポートに接続されるオプションRAMにより拡張することができる。操作パネル(操作部)518には、ネットワークプリンタ104〜105の動作モード等の設定や印刷データの取り消し等の操作を行うためのボタンおよびネットワークプリンタ104〜105の動作状態を示す液晶パネルやLED等の表示部が配されている。   A RAM 514 functions as a main memory, work area, and the like for the CPU 508. Note that the memory capacity of the RAM 514 can be expanded by an optional RAM connected to an expansion port (not shown). An operation panel (operation unit) 518 includes buttons for operating the network printers 104 to 105 such as operation mode settings and canceling print data, and liquid crystal panels and LEDs indicating the operation status of the network printers 104 to 105. The display part is arranged.

なお、図5で示したプリントエンジン516は既知の印刷技術を利用するものであり、例えば電子写真方式(レーザービーム方式)やインクジェット方式、熱転写方式(昇華)方式が挙げられる。   The print engine 516 shown in FIG. 5 uses a known printing technique, and examples thereof include an electrophotographic method (laser beam method), an ink jet method, and a thermal transfer method (sublimation) method.

<クライアントのソフトウェア構成>
次に、本プリントシステムのクライアント101〜103のソフトウェア構成について説明する。図6は、クライアント101〜103におけるソフトウェア構成の一例を示す図である。それぞれの構成間の矢印は、アプリケーションから発行された描画コマンドを含む印刷ジョブが、どのように処理されるかを示したものである。また、各ブロックで示されたソフトウェア構成は、図2のCPU200によって実行されるものである。
<Client software configuration>
Next, the software configuration of the clients 101 to 103 of the print system will be described. FIG. 6 is a diagram illustrating an example of a software configuration in the clients 101 to 103. 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 executed by the CPU 200 of FIG.

通常、Microsoft Word(登録商標)などのアプリケーション601は、印刷の指示を受け付けると、一連の描画コマンドを、OSを介して生成する。PDLドライバ602は、OSを介して生成された描画コマンドを受け取り、一連の描画コマンドに基づいてネットワークプリンタ104〜105で解釈可能なPDLファイルを含む印刷ジョブを生成する。なお、以下の説明ではPDLドライバを例に説明を行うが、これに限定されるものではない。例えば、BDL(Band description Language)や、圧縮ビットマップを作成するプリンタドライバ、或いは、アプリケーション及びOSによりプリンタドライバを介さずに印刷データを生成する形態などにも適用可能である。   Normally, when receiving an instruction for printing, an application 601 such as Microsoft Word (registered trademark) generates a series of drawing commands via the OS. The PDL driver 602 receives a drawing command generated via the OS, and 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, but the present invention is not limited to this. For example, the present invention can be applied to a printer driver that creates a BDL (Band Description Language) or a compressed bitmap, or a form in which print data is generated by an application and OS without using a printer driver.

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

スプーラ603は、ユーザがユーザインタフェースを介して選択し指示したジョブ制御ポートモニタ604に印刷ジョブを渡して、ネットワークプリンタ104〜105等のプリンタデバイス606に送信させる手順をとる(矢印a)。以下、ネットワークプリンタ104〜105とプリンタデバイス606とは同義である。ここでは、ユーザがあらかじめジョブ制御プリントサービス605に印刷データを転送するジョブ制御ポートモニタ604を指定して印刷を指示したものとして説明を進める。また、プリンタドライバインタフェースを介して設定された用紙サイズ、ステイプル指示等の印刷設定情報も、ジョブ制御ポートモニタ604に送信される。ジョブ制御ポートモニタ604はジョブ制御プリントサービス605に印刷ジョブを送信する(矢印b)。   The spooler 603 takes a procedure of transferring a print job to the job control port monitor 604 selected and instructed by the user via the user interface and transmitting it to the printer device 606 such as the network printers 104 to 105 (arrow a). Hereinafter, the network printers 104 to 105 and the printer device 606 are synonymous. Here, the description will proceed assuming that the user has designated the job control port monitor 604 for transferring print data to the job control print service 605 and instructed printing in advance. In addition, print setting information such as a paper size and a stapling instruction set via the printer driver interface is also transmitted to the job control port monitor 604. The job control port monitor 604 transmits a print job to the job control print service 605 (arrow b).

また、クライアント(コンピュータ)101〜103において、別のクライアント608のジョブ登録アプリケーション609はAPI610を介し、ジョブ制御プリントサービス605に印刷データを投入することができる(矢印g)。   In addition, in the clients (computers) 101 to 103, the job registration application 609 of another client 608 can input print data to the job control print service 605 via the API 610 (arrow g).

ジョブ制御プリントサービス605は、転送された印刷ジョブ及びデバイスの状態を管理する機能を備える。また、プリンタデバイス606から通知されるデバイス状態やジョブの状態などの情報を管理したり、プリンタデバイス606に対して所定の命令を発行したりする機能も備える。これは、複数のネットワークプリンタ104〜105のデバイス情報やジョブ情報を管理する機能に相当する。そして、印刷データをプリンタデバイス606に送信する前に、プリンタデバイス606が持つ印刷ジョブの順序管理機能に印刷の要求を発行する(矢印c)。プリンタデバイス606の順序管理機能に基づき印刷の実行の順番が到来した場合には、プリンタデバイス606からの印刷指示(矢印d)により、プリンタデバイス606に印刷データを送信する(矢印e)。プリンタデバイス606は、印刷データの完了を確認すると印刷完了の通知をジョブ制御プリントサービス605に通知(矢印f)したり、また、プリンタデバイス606の状態を通知したりする(矢印f)。   The job control print service 605 has a function of managing the transferred print job and device status. Further, it also has a function of managing information such as a device state and a job state notified from the printer device 606, and issuing a predetermined command to the printer device 606. This corresponds to a function for managing device information and job information of a plurality of network printers 104 to 105. 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 (arrow c). When the execution order of printing has arrived based on the order management function of the printer device 606, print data is transmitted to the printer device 606 (arrow e) according to a print instruction (arrow d) from the printer device 606. Upon confirming the completion of the print data, the printer device 606 notifies the job control print service 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 the state of the print job in the job control print service 605 and to operate the print job. The print manager 607 exchanges information and instructions with the job control print service 605 via a software interface (API: Application Program Interface) of the job control print service 605.

プリントマネージャ607は、主に、ジョブ制御プリントサービス605が管理するネットワークプリンタ104〜105の状態情報をイベントとして取得する機能を備える。イベントの通知の種別としては、トナー残量が少なくなった警告、クライアントとデバイスとの通信障害、メモリ不足、排紙トレイ満載などのエラー/警告情報の通知や、エラー状態から正常状態に復帰した正常情報の通知などが想定される。ここでのジョブ制御プリントサービス605はネットワークを介して通信可能な各デバイス(印刷装置)の印刷実行中、電力制御状態、障害情報(紙ジャム)等のステータスの通知を受け付ける機能を備える。更に、プリントマネージャ607は、ジョブ制御プリントサービス605に対してデバイスを指定したイベントを発行する。ジョブ制御プリントサービス605はこの発行されたイベントに基づくデバイスのステータスを認識して、その監視結果をプリントマネージャ607に通知する。   The print manager 607 mainly has a function of acquiring status information of the network printers 104 to 105 managed by the job control print service 605 as an event. 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. The job control print service 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 the network. Further, the print manager 607 issues an event specifying a device to the job control print service 605. The job control print service 605 recognizes the device status based on the issued event and notifies the print manager 607 of the monitoring result.

<クライアントからプリンタデバイスへの印刷ジョブの流れ>
次に、図7を用いてアプリケーション601からプリンタデバイス606までの印刷ジョブの流れについて説明する。ここで、図6と同じソフトウェア構成について同じ参照番号を付与しており、その機能については詳説しない。
<Flow of print jobs from client to printer device>
Next, the flow of a print job from the application 601 to the printer device 606 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がWindows(登録商標)ウィンドウズ(登録商標)の場合には、これらをまとめてWindows(登録商標)プリントシステム700と称する場合もある。   As illustrated in FIG. 7, conceptually, a PDL driver 602, a spooler 603, and a job control port monitor 604 are prepared for each printer device 104 to 105. When the OS is Windows (registered trademark) Windows (registered trademark), these may be collectively referred to as a Windows (registered trademark) print system 700.

ジョブ制御プリントサービス605は、ネットワークプリンタ104〜105に対応する数のプリントキュー701、701A及び出力ポート702、702Aを含む。また、本実施形態の特徴である、プルプリントキュー705及びプルプリントポート706を備えている。なお、ジョブ制御プリントサービス605が有するプリントキュー及び出力ポートは接続されているプリンタデバイスの数に対応するものであり、2つに限られるものではない。これらのプリントキュー701,701Aや出力ポート702、702A、及びプルプリントポート706は、それぞれ後述する図14における1401、1402に示されるようなテーブルを有し、ジョブ制御プリントサービス605によって管理される。   The job control print service 605 includes a number of print queues 701 and 701A and output ports 702 and 702A corresponding to the network printers 104 to 105. Further, a pull print queue 705 and a pull print port 706 which are features of the present embodiment are provided. Note that the print queue and output port of the job control print service 605 correspond to the number of connected printer devices, and are not limited to two. These print queues 701 and 701A, output ports 702 and 702A, and pull print port 706 have tables as shown in 1401 and 1402 in FIG. 14 described later, respectively, and are managed by the job control print service 605.

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

印刷を行なう場合、アプリケーション601はプリンタを指定して印刷指示を発行する。この印刷指示に基づいてPDLドライバ602によって生成された印刷ジョブがジョブ制御ポートモニタ604からジョブ制御プリントサービス605に渡される。ジョブ制御プリントサービス605は、渡された印刷ジョブ情報を、まずプリントキュー701に保持し、出力ポート702に印刷ジョブの受け付けを指示する。出力ポート702は、印刷するジョブを受け付けると、当該出力ポートに設定されたIPアドレスに該当するプリンタデバイス606の後述するスケジューラに対してスケジュールの要求を発行する。プリンタデバイス606のスケジューラは、自身が持つスケジューリング機能に基づいて、複数のジョブ制御プリントサービス605から受け付けたジョブのスケジューリング処理を行い、出力ポート702に対して印刷指示(ジョブの送信許可)を発行する。印刷指示を受け付けた出力ポート702はプリンタデバイス606に印刷データを送信する。   When printing, the application 601 designates a printer and issues a print instruction. 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 job control print service 605. The job control print service 605 first holds the passed print job information in the print queue 701 and instructs the output port 702 to accept the print job. 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 to the output port. The scheduler of the printer device 606 performs scheduling processing for jobs received from a plurality of job control print services 605 based on its own scheduling function, and issues a print instruction (job transmission permission) to the output port 702. . The output port 702 that has received the print instruction transmits print data to the printer device 606.

またプルプリントポート706を指定して印刷を指示した場合は、印刷ジョブはプルプリントキュー705に登録され、プルプリントポート706内に留置かれる。そして、プリンタデバイスから後述するプルプリント要求を受信すると、受信した情報により特定されたプリントキューに受信した情報により特定された印刷ジョブを再キューイングし、対応する出力ポートから等が印刷ジョブを出力する。尚、再キューイングとは、プルプリントキュー705にキューイングされているジョブをプリントキュー(701又は701A)にキューイングすることである。   When printing is instructed by specifying the pull print port 706, the print job is registered in the pull print queue 705 and is retained in the pull print port 706. When a pull print request described later is received from the printer device, the print job specified by the received information is requeued to the print queue specified by the received information, and the print job is output from the corresponding output port. To do. Note that the re-queueing means that a job queued in the pull print queue 705 is queued in the print queue (701 or 701A).

<ネットワークプリンタのソフトウェア構成>
図8は、ネットワークプリンタ104〜105内のネットワークプリントサーバ521およびプリンタコントローラ522における各制御機能を実現するソフトウェア構成を説明するブロック図である。なお、各制御機能は、CPU501、508によって制御プログラムを実行することで実現される。
<Network printer software configuration>
FIG. 8 is a block diagram illustrating a software configuration for realizing each control function in the network print server 521 and the printer controller 522 in the network printers 104 to 105. Each control function is realized by the CPU 501 and 508 executing a control program.

オペレーティングシステム801はネットワークプリントサーバ521の基本的なデータの入出力制御を統括する。オペレーティングシステム801において、ファイルシステム805はプログラム/データ記憶部808との入出力制御を行なう。拡張インタフェースドライバ807は、プリンタコントローラ522と拡張インタフェース517を介してプリンタコントローラ522との通信を制御する。ネットワークインタフェースドライバ806は、ローカルエリアネットワーク(LAN106)の通信媒体を介してクライアント101〜103等の外部装置と通信を行なう。   The operating system 801 controls basic data input / output control of the network print server 521. In the operating system 801, the file system 805 performs input / output control with the program / data storage unit 808. The extension interface driver 807 controls communication with the printer controller 522 via the printer controller 522 and the extension interface 517. The network interface driver 806 communicates with external devices such as the clients 101 to 103 via a communication medium of a local area network (LAN 106).

アプリケーションプログラムインタフェース(API)802は、ネットワークプリントサーバ521で動作するアプリケーションプログラムに対してオペレーティングシステムが備える各種機能を提供する。ネットワークプリントサーバ521で動作するアプリケーションプログラムとしては、ユーザアプリケーション803や管理アプリケーション804等があげられる。尚、管理アプリケーション804は、ネットワークプリンタ104〜105やユーザアプリケーションの登録・管理を行う。また、アプリケーションプログラムインタフェース802が提供する機能の例としては、
・印刷データの送受信機能を提供するデータ転送API、
・ビットマップ画像や表示メッセージ等のリソースデータの入出力制御を行なうリソース制御API、
・ネットワークプリンタ104〜105の再起動や設定値の初期化や設定等の制御を行なうプリンタ制御API、
・印刷ジョブの取り消しや再印刷指示などを制御するジョブ制御API、
・ネットワークプリントサーバ521の再起動や設定値の初期化や設定、およびアプリケーションプログラムの起動、登録、削除を行なうプリントサーバ制御APIがあげられる。
An application program interface (API) 802 provides various functions of the operating system to an application program operating on the network print server 521. Examples of application programs that operate on the network print server 521 include a user application 803 and a management application 804. The management application 804 registers and manages network printers 104 to 105 and user applications. Examples of 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 for performing input / output control of resource data such as bitmap images and display messages,
A printer control API for controlling restart of the network printers 104 to 105, initialization of setting values, setting, etc.
-Job control API that controls cancellation of print jobs, reprint instructions, etc.
A print server control API for restarting the network print server 521, initializing and setting setting values, and starting, registering, and deleting application programs.

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

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

USB制御部818及びUSBケーブルで接続された認証情報読み取り装置820は、図5における外部I/Oインタフェース519及び外部装置520の具体例である。USB制御部818は、認証情報読み取り装置820を介して、認証情報記録媒体821から認証情報を取得することができる。   An authentication information reading device 820 connected by a USB control unit 818 and a USB cable is a specific example of the external I / O interface 519 and the external device 520 in FIG. The USB control unit 818 can acquire authentication information from the authentication information recording medium 821 via the authentication information reading device 820.

ネットワーク制御部811は、ネットワークインタフェースドライバ806がLAN106を介してクライアント101〜103からの通知を受け付ける。ネットワーク制御部811は、どのクライアントからの通信であるかを判断したり、通信の制御を行うことができる。LPD/RAW810は、クライアントが送信する印刷データを受け付けるプロトコルを制御するモジュールであり、受け付けた印刷データをプリンタコントローラ522に渡す機能を有する。   In the network control unit 811, the network interface driver 806 receives notifications from the clients 101 to 103 via the LAN 106. The network control unit 811 can determine which client the communication is from and can control the communication. The LPD / RAW 810 is a module that controls a protocol that accepts print data transmitted by a client, and has a function of passing the accepted print data to the printer controller 522.

また、ユーザは、アプリケーション803の制御プログラムはプリンタコントローラ522の機種依存リソース/プログラム記憶部816またはネットワークプリントサーバ521のプログラム/データ記憶部808に格納される。ネットワークプリンタ104〜105が起動すると記憶部808または816に格納されたアプリケーションが持つライセンスと、ライセンス記憶部809、817が持つライセンスとが比較される。比較の結果、ライセンスが一致した場合は適正アプリケーションプログラムであると判断され、アプリケーションプログラムがネットワークプリントサーバ521のRAM502にロードされる。   Further, the user stores the control program of the application 803 in the model-dependent resource / program storage unit 816 of the printer controller 522 or the program / data storage unit 808 of the network print server 521. When the network printers 104 to 105 are activated, the license held by the application stored in the storage unit 808 or 816 and the license held by the license storage units 809 and 817 are compared. If the licenses match as a result of the comparison, the application program is determined to be an appropriate application program, and the application program is loaded into the RAM 502 of the network print server 521.

<ネットワークプリントサーバのアプリケーションソフトウェア構成>
次に、本実施形態のプルプリントを実現するデバイススケジューラとプルプリントエージェントのソフトウェア構成について説明する。これらのソフトウエアはユーザアプリケーション803の一部であり、本プリントシステムのスケジューリング機能やクライアント101〜103から受け付けた印刷ジョブを管理する機能を有する。図9は本実施形態のデバイススケジューラ900及びプルプリントエージェント906の機能構成を示すブロック図である。
<Application software configuration of network print server>
Next, a software configuration of the device scheduler and pull print agent that realizes pull printing according to the present embodiment will be described. These software are a part of the user application 803 and have a scheduling function of the print system and a function of managing print jobs received from the clients 101 to 103. FIG. 9 is a block diagram illustrating functional configurations of the device scheduler 900 and the pull print agent 906 according to the present embodiment.

デバイススケジューラ900において、通信接続管理部901は、クライアント101〜103の接続状況や、クライアントに通知すべき情報を管理する。通信接続管理部901は、接続されているクライアントを、図20に示されるクライアント情報2002及びクライアント管理キュー2001を用いて管理する。通信接続管理部901は、アプリケーションプログラムインターフェース802のデータ転送API、ネットワークインタフェースドライバ806を経由してクライアントと通信を行う。   In the device scheduler 900, the communication connection management unit 901 manages the connection status of the clients 101 to 103 and information to be notified to the clients. The communication connection management unit 901 manages connected clients using the client information 2002 and the client management queue 2001 shown in FIG. The communication connection management unit 901 communicates with the client via the data transfer API of the application program interface 802 and the network interface driver 806.

スケジュール管理部902は、ジョブ管理部903、デバイス管理部904を有し、クライアント101〜103から受け付けた印刷ジョブのスケジューリングを行う。ジョブ管理部903は、クライアント101〜103が発行したスケジュール要求や、クライアント101〜103が印刷を実行(印刷ジョブを送信)したジョブを管理する。ジョブ管理部903は、クライアントが印刷するジョブの情報2102をジョブ管理キュー2101で管理している(図21)。デバイス管理部904は、プリンタコントローラ522が持つプリンタの状態や受け付けた印刷ジョブの状態をイベントハンドラ905経由でプリンタコントローラ522から受け付ける。そして、デバイス管理部904は、プリンタコントローラ522から受け付けたイベントを通信接続管理部901やジョブ管理部903に通知する。   The schedule management unit 902 includes a job management unit 903 and a device management unit 904, and schedules print jobs received from the clients 101 to 103. The job management unit 903 manages schedule requests issued by the clients 101 to 103 and jobs executed by the clients 101 to 103 (sending print jobs). The job management unit 903 manages job information 2102 printed by the client in the job management queue 2101 (FIG. 21). The device management unit 904 receives the printer status of the printer controller 522 and the received print job status from the printer controller 522 via the event handler 905. The device management unit 904 notifies the communication connection management unit 901 and the job management unit 903 of the event received from the printer controller 522.

プルプリントエージェント906において、USB管理部907は、USB制御部818を介し、認証情報(ジョブ情報等)を取得しサーバ通信部908に渡す。デバイス管理部909はデバイスのアドレス情報等を取得しサーバ通信部908に渡す。サーバ通信部908は取得した認証情報を基にジョブ特定情報を取得し、それら情報をジョブ制御プリントサービス605に送信する。   In the pull print agent 906, the USB management unit 907 acquires authentication information (job information and the like) via the USB control unit 818 and passes it to the server communication unit 908. The device management unit 909 acquires device address information and the like and passes them to the server communication unit 908. The server communication unit 908 acquires job specifying information based on the acquired authentication information and transmits the information to the job control print service 605.

<プリントシステムの動作の概略(アクティビティ図)>
図10は、本実施形態によるプリントシステムの概略の動作を示すアクティビティ図である。図10を用いて、本実施形態によるプリントシステムの動作概略を説明する。
<Outline of printing system operation (activity diagram)>
FIG. 10 is an activity diagram showing a schematic operation of the printing system according to the present embodiment. An outline of the operation of the printing system according to the present embodiment will be described with reference to FIG.

まずステップS1001において、プルプルプリントエージェント906及びデバイススケジューラ900の各タスクが初期化される。初期化処理の中でデバイススケジューラ900は、ステップS1002において、プリンタコントローラ522に通知すべきイベントの登録を行なう。これは、プリントエンジン内でジョブが処理された際のジョブ状態変化や、或いは、プリンタのジャムやカバーオープンと言ったエラーなどのデバイス状態変化等を登録したクライアント(デバイススケジューラ900)へ通知するためのものである。初期化処理が完了するとプルプリントエージェント906及びデバイススケジューラ900はイベント待ちのループに入る。   First, in step S1001, tasks of the pull-pull print agent 906 and the device scheduler 900 are initialized. In the initialization process, the device scheduler 900 registers an event to be notified to the printer controller 522 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 print 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 print agent 906 and the device scheduler 900 enter an event waiting loop.

ステップS1003において、プルプリントエージェント906は、認証情報記録媒体821が認証情報読取装置820に挿入されたことを検知すると、認証情報記録媒体821に記録されている認証情報を読み込む。そして、この認証情報を基にジョブを特定するためのジョブ特定情報を得る。ジョブ特定情報を得る手法としては、
・認証情報記憶媒体821に書き込まれている情報をそのまま用いる手法、或いは、
・別途認証用の認証サーバを儲け、認証情報記憶媒体821に書き込まれている情報を送信し、認証サーバよりジョブ特定情報を得る手法、等があげられる。
In step S1003, when the pull print agent 906 detects that the authentication information recording medium 821 has been inserted into the authentication information reading device 820, the pull print agent 906 reads the authentication information recorded on the authentication information recording medium 821. Then, job specifying information for specifying a job is obtained based on the authentication information. As a method of obtaining job specific information,
A method of using the information written in the authentication information storage medium 821 as it is, or
A method for obtaining an authentication server for authentication, transmitting information written in the authentication information storage medium 821, and obtaining job specifying information from the authentication server, etc.

続いてステップS1004において、プルプリントエージェント906は、プリンタコントローラ522を経由してデバイスの構成情報を取得する。ここで取得する構成情報は、用紙残量やトナーの有無と言った消耗品情報と、両面ユニットやステイプル装置(フィニッシャー)の使用可否といった装置情報を含む。また、デバイスのネットワークアドレス等もデバイスの構成情報に含めて考えることができる。   In step S1004, the pull print agent 906 acquires device configuration information via the printer controller 522. 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 the duplex unit and the staple device (finisher) can be used. Further, the device network address and the like can be included in the device configuration information.

次にステップS1005において、プルプリントエージェント906は、ステップS1003で取得したジョブ特定情報とステップS1004で取得したデバイス構成情報をジョブ制御プリントサービス605へ通知する。この通知を印刷開始通知と定義する。なお、この印刷開始通知には、ジョブ特定情報及びデバイス構成情報の何れか一方を含ませても良い。ジョブ制御プリントサービス605は印刷開始通知を受け取るとジョブ特定情報及びデバイス構成情報から印刷可能なジョブを選択する。この処理は図17A及び図17Bにより後述する。   In step S1005, the pull print agent 906 notifies the job control print service 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. Note that this print start notification may include either job specifying information or device configuration information. Upon receiving the print start notification, the job control print service 605 selects a printable job from the job identification information and device configuration information. This process will be described later with reference to FIGS. 17A and 17B.

ジョブ制御プリントサービス605は印刷を実行するために、まずステップS1006においてEvent登録及びジョブのスケジュール予約を行なう。このEvent登録は前述のステップS1002と同様である。また、スケジュール予約は図17Aを用いて後述する。続いてステップS1007でスケジュールUPを受ける。スケジュールUPを受けたときの処理は図χで後述する。ジョブ制御プリントサービス605は、ステップS1007でスケジュールUPを受けると、ステップS1008で対応するジョブをプリンタコントローラ522に送信する(厳密には、LPD/RAW810にジョブが送信される)。このジョブ送信時の処理は図18を用いて後述する。   In order to execute printing, the job control print service 605 first performs event registration and job schedule reservation in step S1006. This event registration is the same as step S1002 described above. Schedule reservation will be described later with reference to FIG. 17A. In step S1007, the schedule is received. The processing when receiving the schedule UP will be described later with reference to FIG. Upon receiving the schedule UP in step S1007, the job control print service 605 transmits the corresponding job to the printer controller 522 in step S1008 (strictly speaking, the job is transmitted to the LPD / RAW 810). The processing at the time of job transmission will be described later with reference to FIG.

<ジョブ制御プリントサービスにおけるジョブ登録シーケンス>
図11Aは、アプリケーション601により生成されたジョブがジョブ制御プリントサービス605にプルプリント用のジョブとして登録されるまでの処理を示したフローチャートである。
<Job registration sequence in the job control print service>
FIG. 11A is a flowchart showing processing until a job generated by the application 601 is registered in the job control print service 605 as a pull print job.

ステップS1101において、アプリケーション601がジョブを生成する。次に、アプリケーション601はプリンタを指定して印刷指示を発行する。ステップS1102では、この印刷指示に基づいて、PDLドライバ602によって生成された印刷ジョブがジョブ制御ポートモニタ604に渡される。ジョブ制御ポートモニタ604は、ステップS1103においてジョブ識別情報を取得し、ステップS1104において当該印刷ジョブにこのジョブ識別情報を埋め込む。具体的には、図14におけるジョブ情報1402内に当該ジョブ識別情報を書き込む。このジョブ識別情報は図10においてステップS1003で取得されるジョブ特定情報と対応した情報であり、図12に示されるようなGUI(Graphic User Interface)1201を用いてユーザにより入力される。   In step S1101, the application 601 generates a job. Next, the application 601 issues a print instruction by designating a printer. In step S1102, the print job generated by the PDL driver 602 is transferred to the job control port monitor 604 based on the print instruction. The job control port monitor 604 acquires job identification information in step S1103, and embeds the job identification information in the print job in step S1104. Specifically, the job identification information is written in the job information 1402 in FIG. This job identification information is information corresponding to the job identification information acquired in step S1003 in FIG. 10, and is input by the user using a GUI (Graphic User Interface) 1201 as shown in FIG.

図12は、ジョブ特定情報としてのジョブ識別情報をユーザが入力するためのGUIの一例を示す図である。ユーザが、印刷指示を行う際にジョブ識別情報を登録するかしないか、つまりプルプリントするかしないかを選択する際に、プルプリントすることを選択するとウィンドウ1201が開く。ウィンドウ1201において、埋め込み候補リスト1205には、実際に印刷ジョブに埋め込むジョブ識別情報が表示される。図14のジョブ情報1402に示されるように、1つの印刷ジョブに対して複数のジョブ識別情報を埋め込むことも可能である。従って、それらジョブ識別情報のいずれかに対応したジョブ特定情報を得ることができるユーザが当該印刷ジョブのプルプリントを行うことができる。登録リスト1203はユーザビリティをあげるための表示の一例であり、過去に登録したジョブ識別情報がリスト表示される。登録リスト1203から所望のジョブ識別情報を選択することでユーザは容易にジョブ識別情報を登録することができる。登録リスト1203は、ユーザの権限によって自動的に表示してもよい。また、登録ボタン1202を用いて自由にユーザがジョブ識別情報を入力し、登録することも可能である。そして、ジョブ埋め込みボタン1206を押すことで、ジョブ識別情報が印刷ジョブに埋め込まれる。   FIG. 12 is a diagram illustrating an example of a GUI for a user to input job identification information as job specifying information. When the user selects whether or not to register job identification information when issuing a print instruction, that is, whether or not to perform pull printing, a window 1201 is opened when the user selects pull printing. In window 1201, the embedding candidate list 1205 displays job identification information that is actually embedded in the print job. As shown in the job information 1402 in FIG. 14, a plurality of job identification information can be embedded in one print job. Therefore, a user who can obtain job specifying information corresponding to any of the job identification information can perform pull printing of the print job. The registration list 1203 is an example of a display for improving usability, and job identification information registered in the past is displayed as a list. By selecting desired job identification information from the registration list 1203, the user can easily register the job identification information. The registration list 1203 may be automatically displayed depending on the authority of the user. Further, the user can freely input and register job identification information using the registration button 1202. By pressing a job embedding button 1206, job identification information is embedded in the print job.

尚、図12は一例であり、例えば、ジョブ識別情報にプルプリント回数という属性を追加し、1つの印刷ジョブをプルプリントすることのできる回数を設定できるようにしてもよい。本実施形態では基本的に1つのジョブ識別情報に対して1回のプルプリントが可能としており、プルプリント回数の設定インターフェースは示されていない。尚、クライアント101〜103に接続された認証情報読取装置820から、認証情報記録媒体821に記憶されているジョブ特定情報を取得して、これを埋め込むべきジョブ識別情報としてもよい。このようにすれば、認証情報記録媒体821から自動的にジョブ識別情報が取得され、印刷ジョブに埋め込まれることになるので、図12のようなGUIを用いてジョブ識別情報を設定する必要が無くなる。   Note that FIG. 12 is an example. For example, an attribute called the number of times of pull printing may be added to the job identification information so that the number of times that a single print job can be printed can be set. In the present embodiment, basically, one pull printing is possible for one job identification information, and an interface for setting the number of times of pull printing is not shown. Note that the job identification information stored in the authentication information recording medium 821 may be acquired from the authentication information reading device 820 connected to the clients 101 to 103, and this may be used as job identification information to be embedded. In this way, job identification information is automatically acquired from the authentication information recording medium 821 and embedded in the print job. Therefore, there is no need to set job identification information using a GUI as shown in FIG. .

ジョブ識別情報を印刷ジョブに埋め込むと、処理はステップS1105に進み、ジョブ情報1402のジョブの状態が「停止」に設定される。そして、ステップS1106において、プルプリントキュー705に状態を「停止」にしたジョブを留め置く。このプルプリントキュー705は前述したプリントキュー701と同等であるが、対応するプリンタへの出力ポートが設定されていない状態となっている。   When the job identification information is embedded in the print job, the process proceeds to step S1105, and the job status of the job information 1402 is set to “stop”. In step S 1106, the job whose status is “stopped” is retained in the pull print queue 705. The pull print queue 705 is the same as the print queue 701 described above, but the output port to the corresponding printer is not set.

また、ジョブ制御プリントサービス605へのジョブの登録方法としては、アプリケーション601から登録する方法の他に、ジョブ登録アプリケーション609からジョブを登録する方法もある。この場合、ジョブ登録アプリケーション609はジョブ制御プリントサービス605と異なるクライアントPC上に存在していても良い。   As a method for registering a job in the job control print service 605, there is a method for registering a job from the job registration application 609 in addition to a method for registering from the application 601. In this case, the job registration application 609 may exist on a different client PC from the job control print service 605.

図11Bは、ジョブ登録アプリケーション609からのジョブ登録手順を説明するフローチャートである。ジョブ登録アプリケーション609からジョブを登録するためには、まず、ステップS1107において、PDLドライバを通したジョブを作成し、ジョブ登録アプリケーション609から作成したジョブを選択する。次に、ステップS1108において、ジョブ登録アプリケーション609から、選択した印刷ジョブのジョブ識別情報を取得する。このジョブ識別情報は図10においてステップS1003で取得されるジョブ特定情報と対応した情報であり、ステップS1103と同様に、例えば図12のGUIを用いてユーザが設定できる。ステップS1109では、このジョブ識別情報を印刷ジョブに埋め込む。尚、ジョブ識別情報を印刷ジョブに埋め込む処理の詳細は後述する。次にステップS1110でジョブの状態を「停止」にする。そして、ステップS1106でAPI610を介し、ジョブ制御プリントサービス605のプルプリントキュー705にジョブを留め置く。   FIG. 11B is a flowchart for explaining a job registration procedure from the job registration application 609. In order to register a job from the job registration application 609, first, in step S1107, a job through the PDL driver is created, and the job created from the job registration application 609 is selected. In step S1108, job identification information of the selected print job is acquired from the job registration application 609. This job identification information is information corresponding to the job identification information acquired in step S1003 in FIG. 10, and can be set by the user using the GUI of FIG. 12, for example, as in step S1103. In step S1109, the job identification information is embedded in the print job. Details of the process for embedding the job identification information in the print job will be described later. In step S1110, the job status is set to “stop”. In step S 1106, the job is retained in the pull print queue 705 of the job control print service 605 via the API 610.

<プルプリントエージェントからのジョブの特定(印刷開始通知)>
図13は、プルプリントエージェント906が認証情報を検知し、認証情報記録媒体821からプルプリントするために必要な情報をジョブ制御プリントサービス605に通知(印刷開始通知)する処理を示すフローチャートである。
<Job identification from pull print agent (print start notification)>
FIG. 13 is a flowchart illustrating a process in which the pull print agent 906 detects authentication information and notifies the job control print service 605 of information necessary for pull printing from the authentication information recording medium 821 (print start notification).

ステップS1301において、プルプリントエージェント906は、認証情報読み取り装置820が認証情報記録媒体821の状態変化を検知したか否かをチェックする。認証情報記録媒体821の状態変化とは、例えば、認証情報読み取り装置820がカードリーダである場合は、カードが挿入されたことを状態変化として検出する。また、認証情報読み取り装置820で認証情報記録媒体821をセンサによって検知する場合は、認証情報記録媒体821の存在の変化を状態の変化として検出する。また、認証情報読み取り装置820にユーザが手等をかざすことにより認証するような生体認証装置の場合も、上記と同様に、認証対象の生体が検知されたことを状態変化とすればよい。   In step S1301, the pull print agent 906 checks whether the authentication information reading device 820 has detected a change in the state of the authentication information recording medium 821. For example, when the authentication information reading device 820 is a card reader, the state change of the authentication information recording medium 821 is detected as a state change when a card is inserted. When the authentication information recording medium 821 is detected by a sensor in the authentication information reading device 820, a change in the presence of the authentication information recording medium 821 is detected as a change in state. Also, in the case of a biometric authentication device that performs authentication by holding a hand or the like over the authentication information reading device 820, the state change may be that the biometric to be authenticated is detected as described above.

認証情報記録媒体821の状態変化が検知された場合は、ステップS1302において、認証情報記録媒体821に認証情報が存在するかどうかをチェックし、存在する場合はその認証情報を取得する。次にステップS1303において、プルプリントエージェント906は、取得した認証情報を基にジョブ特定情報を取得する。このジョブ特定情報の取得手法としては、例えば、認証情報記憶媒体821に書き込まれている情報をそのまま用いるようにしてもよいし、別途設けた認証サーバに認証情報を送信し、認証サーバよりジョブ特定情報を得るようにしてもよい。ここで、ジョブ特定情報を得ることが出来なかった場合は処理を終了し、認証情報記憶媒体の形式が不正であることをユーザに通知する。この通知の手段としては、プリンタのLED部に文字列として表示する手段、BEEP音を発する機構がある場合に音によって通知する手段、エラーメッセージを印刷する手段等が考えられる。   If a change in the state of the authentication information recording medium 821 is detected, it is checked in step S1302 whether authentication information exists in the authentication information recording medium 821, and if it exists, the authentication information is acquired. In step S1303, the pull print agent 906 acquires job specifying information based on the acquired authentication information. As a method for acquiring the job specification information, for example, information written in the authentication information storage medium 821 may be used as it is, or the authentication information is transmitted to a separately provided authentication server, and the job specification is performed from the authentication server. Information may be obtained. If the job identification information cannot be obtained, the process is terminated, and the user is notified that the format of the authentication information storage medium is invalid. As means for this notification, means for displaying as a character string on the LED section of the printer, means for notifying by sound when there is a mechanism for generating a BEEP sound, means for printing an error message, and the like are conceivable.

ジョブ特定情報が得られると、ステップS1304において、デバイスからデバイスを特定するためのデバイスアドレスとデバイスの構成情報を取得する。構成情報は、用紙残量やトナーの有無と言った消耗品情報と、両面ユニットやステイプル装置(フィニッシャー)の使用可否といった装置情報を含む。   When the job specifying information is obtained, in step S1304, a device address for specifying the device and device configuration information are acquired from the device. The configuration information 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 stapler (finisher).

次にステップS1305で、ジョブ制御プリントサービス605の宛先を取得する。このジョブ制御プリントサービス605の宛先を取得する手段としては、
・上記認証情報記憶媒体に記憶させておき、認証情報を取得した時点で特定する方法、
・上記認証サーバよりジョブ特定情報を得るときに同時に取得する方法、
・プルプリントエージェントに固定の宛先として記憶しておき、その宛先を利用する方法、等が考えられる。本実施形態では、認証情報を取得した時点で特定する方法を用いて説明する。
In step S1305, the destination of the job control print service 605 is acquired. As a means for acquiring the destination of this job control print service 605,
-A method of storing the information in the authentication information storage medium and specifying the authentication information at the time of acquisition,
・ A method to obtain job specific information from the authentication server at the same time,
A method of storing a fixed destination in the pull print agent and using the destination is conceivable. In the present embodiment, a description will be given using a method of specifying when authentication information is acquired.

次にステップS1306で、取得したジョブ特定情報及びデバイスアドレス、デバイス構成情報を、上記取得した宛先のジョブ制御プリントサービス605に通知する。   In step S1306, the acquired job specification information, device address, and device configuration information are notified to the acquired destination job control print service 605.

<印刷開始通知によるジョブ制御プリントサービス605によるスケジュール登録>
図14は、クライアント101〜103のジョブ制御プリントサービス605において、プルプリントキューが保持するジョブ情報1402と、複数発生するジョブ情報1402を管理するジョブ管理キュー1401を示す図である。
<Schedule Registration by Job Control Print Service 605 by Print Start Notification>
FIG. 14 is a diagram showing job information 1402 held in the pull print queue and a job management queue 1401 for managing a plurality of generated job information 1402 in the job control print service 605 of the clients 101 to 103.

ジョブ情報1402は、クライアント101〜103が印刷を開始するために発行するスケジュール要求に付加される印刷ジョブの情報である。ジョブ情報1402は、印刷ジョブのドキュメント名、ジョブ管理部903が発行したジョブID、クライアントで印刷を開始したユーザ名、ジョブのページ数、印刷ジョブの状況を表すジョブ状態を含む。又、ジョブ情報1402には、クライアント101〜103が転送する印刷データに含まれるジョブデータIDや、印刷したクライアントのIPアドレスも登録される。なお、ジョブ情報1402における各項目のうち、いくつかは、クライアント101〜103側からスケジューラに対して発行したスケジュール要求に対する、スケジューラからの応答情報も含まれる。例えば、ジョブ管理部903が発行したジョブIDは、スケジュール要求に対応するスケジューラからの応答情報である。従って、例えばジョブ管理部903が発行したジョブIDは、ジョブ制御プリントサービス605によるスケジュール要求発行時には未だ設定されていない。   The job information 1402 is print job information added to a schedule request issued by the clients 101 to 103 to start printing. The job information 1402 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 pages of the job, and the job status indicating the status of the print job. In the job information 1402, the job data ID included in the print data transferred by the clients 101 to 103 and the IP address of the printed client are also registered. Note that some of the items in the job information 1402 also include response information from the scheduler in response to a schedule request issued from the clients 101 to 103 to the scheduler. For example, the job ID issued by the job management unit 903 is response information from the scheduler corresponding to the schedule request. Therefore, for example, the job ID issued by the job management unit 903 has not been set yet when the schedule request is issued by the job control print service 605.

ジョブ状態は、クライアント101〜103が印刷のスケジュール要求を発行してからジョブがプリンタから無くなるまでの状態を表しており、印刷待機中、スケジュールUP状態、転送中、転送済み、印刷完了等の状態が存在する。ジョブデータIDは、印刷データに含まれるジョブのIDで、プリンタコントローラ522内でジョブ状態を通知するとき等に付加させるIDである。又、上述したように、1つ又は複数のジョブ識別情報が登録されている。   The job status represents a status from when the client 101 to 103 issues a print schedule request until the job disappears from the printer, and is in a print standby state, in a schedule UP state, in a transfer state, in a transferred state, or in a print complete state. 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 is notified in the printer controller 522. As described above, one or a plurality of job identification information is registered.

ジョブ管理キュー1401は、複数のジョブ情報1402を管理する管理キューである。ジョブ制御プリントサービス605は、ジョブ制御ポートモニタ604等から印刷ジョブを受け付けるとそのジョブ情報1402を管理キュー1401に登録する。また、印刷ジョブの印刷終了の通知をプリンタデバイス606から受信すると、該当するジョブ情報が削除される。   The job management queue 1401 is a management queue that manages a plurality of job information 1402. When the job control print service 605 receives a print job from the job control port monitor 604 or the like, the job control print service 605 registers the job information 1402 in the management queue 1401. In addition, when a print end notification of a print job is received from the printer device 606, the corresponding job information is deleted.

図15は、ジョブ制御プリントサービス605が管理するプリントキュー、出力ポートの情報を表している。プリンタ情報1501は、ジョブ制御プリントサービス605が管理するそれぞれのプリンタの情報を表していて、プリンタ名などの情報が含まれている。ポート情報1502は、ジョブ制御プリントサービス605が管理する各出力ポートの情報を表していて、印刷するデバイスのIPアドレスなどの情報が含まれている。   FIG. 15 shows information on print queues and output ports managed by the job control print service 605. The printer information 1501 represents information about each printer managed by the job control print service 605, and includes information such as a printer name. The port information 1502 represents information of each output port managed by the job control print service 605, and includes information such as an IP address of a device to be printed.

また、図16は、認証情報読み取り装置820で認証情報記録媒体821を検知し、ジョブ特定情報を取得したプルプリントエージェント906が、ジョブ制御プリントサービス605に送信する印刷開始通知に付随する情報テーブルである。情報テーブル1601の内容は、デバイスアドレス、ジョブ特定情報、デバイス構成情報である。   FIG. 16 is an information table attached to a print start notification transmitted to the job control print service 605 by the pull print agent 906 that has detected the authentication information recording medium 821 by the authentication information reading device 820 and acquired the job specifying information. is there. The contents of the information table 1601 are a device address, job specifying information, and device configuration information.

図17Aは、クライアントのジョブ制御プリントサービス605がプルプリントエージェント906から印刷開始通知(ジョブ特定情報等)を受け付けてから、対応する印刷ジョブをスケジューラに登録するまでの流れを示している。   FIG. 17A shows a flow from when the job control print service 605 of the client receives a print start notification (job identification information or the like) from the pull print agent 906 until the corresponding print job is registered in the scheduler.

ステップS1701において、プルプリントエージェント906からデバイスアドレス、ジョブ特定情報、デバイス構成情報を取得(情報テーブル1601を取得)する。そして、ステップS1702において、取得したデバイスアドレスに一致するプリントキュー(本例では701又は701A)を特定する。また、ステップS1703において、ジョブ制御プリントサービス605内で管理されているプルプリントキュー705に留置かれている印刷ジョブを調べ、受信したジョブ特定情報より出力する印刷ジョブを特定する。   In step S1701, the device address, job identification information, and device configuration information are acquired from the pull print agent 906 (information table 1601 is acquired). In step S1702, a print queue (701 or 701A in this example) that matches the acquired device address is specified. In step S1703, the print job held in the pull print queue 705 managed in the job control print service 605 is checked, and the print job to be output is specified from the received job specifying information.

ステップS1703におけるジョブ特定処理の詳細について図17Bのフローチャートを参照して説明する。   Details of the job specifying process in step S1703 will be described with reference to the flowchart of FIG. 17B.

ステップS1801において、ステップS1701で取得した情報の中から、ジョブ特定情報を取得する。次にステップS1802において、ジョブ制御プリントサービス605内で管理されているプルプリントキュー内の全てのジョブを順次検索する。ステップS1803において、全ての検索が完了したか否かを判定し、全ての検索が完了するまでステップS1804〜S1807の処理を繰り返す。プルプリントキュー内の全てのジョブの検索が完了した場合は、ステップS1803からステップS1808に進む。   In step S1801, job identification information is acquired from the information acquired in step S1701. In step S1802, all jobs in the pull print queue managed in the job control print service 605 are sequentially searched. In step S1803, it is determined whether or not all searches are completed, and the processes in steps S1804 to S1807 are repeated until all searches are completed. If the search for all jobs in the pull print queue is completed, the process advances from step S1803 to step S1808.

ステップS1804では、各印刷ジョブに対応するジョブ情報1402を検索し、各ジョブ情報が有する1つ又は複数のジョブ識別情報とプルプリントエージェント906から取得したジョブ特定情報とを比較する。ジョブ特定情報と一致するジョブ識別情報が存在しない場合は、次のジョブ情報を対象とするべくステップS1803に処理を戻す。ジョブ特定情報と一致するジョブ識別情報が存在する場合は、ステップS1805に進み、ジョブ情報1402内にジョブ識別情報が複数登録されているかを調べる。単独のジョブ識別情報が登録されている場合はステップS1806において、印刷登録候補リストに検索した印刷ジョブを登録し、ステップS1803に処理を戻す。一方、複数のジョブ識別情報が登録されている場合はステップS1807に進み、一致したジョブ識別情報を抜き出し、当該印刷ジョブを複製し、複製した印刷ジョブのジョブ情報1402内に抜き出したジョブ識別情報のみを埋め込む。そして、ステップS1806において、この複製した印刷ジョブを印刷登録候補リストに登録する。   In step S1804, job information 1402 corresponding to each print job is searched, and one or a plurality of job identification information included in each job information is compared with job specifying information acquired from the pull print agent 906. If there is no job identification information that matches the job identification information, the process returns to step S1803 to target the next job information. If there is job identification information that matches the job identification information, the process advances to step S1805 to check whether a plurality of job identification information is registered in the job information 1402. If single job identification information is registered, in step S1806, the searched print job is registered in the print registration candidate list, and the process returns to step S1803. On the other hand, if a plurality of job identification information are registered, the process advances to step S1807 to extract the matched job identification information, duplicate the print job, and extract only the job identification information extracted in the job information 1402 of the duplicated print job. Embed. In step S1806, the copied print job is registered in the print registration candidate list.

プルプリントキュー内の印刷ジョブの全検索が終了すると、ステップS1808において、ジョブ登録候補リストに登録されているジョブが(A)0個だった場合、(B)1個だった場合、(C)複数個だった場合で処理を分岐する。
(A)0個だった場合:ステップS1809において、プルプリントエージェント906に対してエラー(登録ジョブがない旨)を返し、処理を終了する。
(B)1個だった場合:ステップS1810において、印刷登録候補リストの印刷ジョブを登録(再キューイング:S1704の処理)する処理へ進む。
(C)複数個だった場合:ステップS1811において、それら全ての印刷ジョブを1つのグループとして、それらジョブ情報1402にグループジョブIDを登録する。このグループジョブIDはグループ毎に違うものを設定する。本実施形態では単に連続したナンバーをグループIDとして割り当てる。そして、ステップS1812において、印刷候補リストの先頭の印刷ジョブの登録処理(再キューイング:S1704の処理)を開始する。
When all searches for print jobs in the pull print queue have been completed, in step S1808, when (A) is 0 jobs, (B) is 1 job, (C) If there are more than one, the process branches.
(A) In the case of 0: In step S1809, an error (that there is no registered job) is returned to the pull print agent 906, and the process ends.
(B) If the number is one: In step S1810, the process proceeds to a process for registering a print job in the print registration candidate list (requeueing: the process in S1704).
(C) If there are a plurality of print jobs: In step S1811, all the print jobs are grouped into one group, and a group job ID is registered in the job information 1402. A different group job ID is set for each group. In the present embodiment, consecutive numbers are simply assigned as group IDs. In step S1812, registration processing (requeueing: processing in step S1704) of the first print job in the print candidate list is started.

以上の処理により、印刷登録候補リスト内のジョブは単一のジョブ識別情報と、複数のジョブが存在する場合は同一のグループIDを含むものとなる。そのようなジョブ識別情報の例を図14の1403に示す。   With the above processing, the jobs in the print registration candidate list include single job identification information and the same group ID when a plurality of jobs exist. An example of such job identification information is shown at 1403 in FIG.

図17に戻り、ステップS1704において、受け付けた印刷ジョブを全てステップS1702で特定したプリントキュー701(又は701A)へ再キューイングし、プルプリントキュー705から削除する。そして、ジョブ制御プリントサービス605は、それら再キューイングした印刷ジョブの情報をプリントキュー701(又は701A)のジョブ管理キューに登録する。   Returning to FIG. 17, in step S <b> 1704, all accepted print jobs are requeued to the print queue 701 (or 701 </ b> A) specified in step S <b> 1702 and deleted from the pull print queue 705. The job control print service 605 registers the information of the requeued print jobs in the job management queue of the print queue 701 (or 701A).

次に、ステップS1705において、ジョブ制御プリントサービス605は、デバイススケジューラ900に接続し、接続要求コマンドを発行する。クライアントが接続要求を発行すると、クライアントの情報2002がデバイススケジューラ900のクライアント管理キュー2001に登録され、以降、クライアントとデバイススケジューラ900間で情報のやり取りが可能となる。ステップS1706において、ジョブ制御プリントサービス605は、デバイススケジューラ900に対して、ジョブイベント、デバイスイベントを登録する。ジョブイベントが登録されると、自クライアントが印刷したジョブや、他のクライアントが印刷したジョブの状態の変化の通知がデバイススケジューラ900より当該クライアントへ通知されることになる。また、デバイスイベントを登録すると、プリンタデバイス606の状態の変化が通知されるようになる。   In step S1705, the job control print service 605 connects to the device scheduler 900 and issues a connection request command. When the client issues a connection request, the client information 2002 is registered in the client management queue 2001 of the device scheduler 900, and thereafter, information can be exchanged between the client and the device scheduler 900. In step S1706, the job control print service 605 registers a job event and a device event in the device scheduler 900. When the job event is registered, the device scheduler 900 notifies the client of 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.

ステップS1707では、デバイススケジューラ900で管理しているジョブ管理キュー2101に登録されているジョブのリストを取得する。このジョブリストとジョブイベントにより、デバイススケジューラ900が管理するジョブの印刷状況を把握することが可能となる。   In step S1707, a list of jobs registered in the job management queue 2101 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.

以上の処理により、印刷する準備が整い、ジョブ制御プリントサービス605は、ステップS1708において印刷するジョブを全てデバイススケジューラ900に登録してスケジュール要求する。また、該スケジュール要求に対してスケジューラからジョブ管理部903が発行したジョブID等が返信され、ジョブ情報1402として設定される。その後、ステップS1704に戻り、次の指示(スケジュールUP)を待つ。   With the above processing, preparation for printing is completed, and the job control print service 605 registers all jobs to be printed in the device scheduler 900 in step S1708 and requests a schedule. In response to the schedule request, a job ID issued by the job management unit 903 is returned from the scheduler and set as job information 1402. Thereafter, the process returns to step S1704 and waits for the next instruction (schedule UP).

<スケジュールUPによる印刷の開始>
ジョブ制御プリントサービス605は、以上のようにしてスケジュール要求を終えた後、デバイススケジューラ900からスケジュールUPのコマンドを受け付けると、対応する印刷ジョブ(印刷データ)をプリンタデバイス606へ送信する。以下、ジョブ制御プリントサービス605がスケジュールUPを受信した場合の処理を図18のフローチャートにより説明する。
<Start printing with schedule UP>
When the job control print service 605 receives a schedule UP command from the device scheduler 900 after finishing the schedule request as described above, the job control print service 605 transmits a corresponding print job (print data) to the printer device 606. Hereinafter, processing when the job control print service 605 receives the schedule UP will be described with reference to the flowchart of FIG.

この処理は、プリントキュー701(又は701A)に登録されているジョブ情報1403に、グループジョブIDが設定されているかどうかで処理が分かれる。グループジョブIDが設定されていない場合(A)はステップS1710に処理を移行し、設定されている場合(C)はステップS1714に処理を移行する。   This process is divided depending on whether or not a group job ID is set in the job information 1403 registered in the print queue 701 (or 701A). If the group job ID is not set (A), the process proceeds to step S1710. If the group job ID is set (C), the process proceeds to step S1714.

(A)印刷ジョブにグループジョブIDが設定されていない場合。
ステップS1709Aにおいてデバイススケジューラ900からスケジュールUPのコマンドを受け付けるとステップS1709Bに進む。ステップS1709Bにおいて、ジョブ制御プリントサービス605は、印刷ジョブのジョブ情報1403にグループジョブIDが設定されているかを調べる。設定されていない場合はステップS1710に処理を移行する。
(A) A group job ID is not set for a print job.
When a schedule UP command is received from the device scheduler 900 in step S1709A, the process proceeds to step S1709B. In step S1709B, the job control print service 605 checks whether a group job ID is set in the job information 1403 of the print job. If not set, the process proceeds to step S1710.

ステップS1710では、ジョブ制御プリントサービス605は、転送指示を受けた印刷ジョブの転送を開始する。印刷データの送信が開始されるとステップS1711において、デバイススケジューラ900に転送が開始されたことを通知するために、転送開始状態を通知する。ステップS1712において、印刷データの転送が終了するとステップS1713においてデバイススケジューラ900に転送が終了したことを通知する。   In step S1710, the job control print service 605 starts transferring the print job that has received the transfer instruction. When transmission of print data is started, a transfer start state is notified in step S1711 to notify the device scheduler 900 that transfer has started. In step S1712, when the transfer of the print data is completed, in step S1713, the device scheduler 900 is notified that the transfer has been completed.

(B)印刷ジョブにグループジョブIDが設定されている場合
一方、スケジュールUPで指定された印刷ジョブのジョブ情報1402にグループジョブIDが設定されていた場合は、ステップS71709BからステップS1714に進む。ステップS1714において、ジョブ制御プリントサービス605は、ジョブ管理キュー1401内に登録されている全てのジョブについて、ジョブ情報1402に同じグループジョブIDが設定されているかを調べる。そして、同じグループジョブIDが設定されているジョブ全てを選択する。そして、ステップS1715において、選択された全ての印刷ジョブの転送を開始する。このとき、ジョブ制御プリントサービス605は、それら全ての印刷ジョブを同一セッションで、RAWプロトコルによって転送する。即ち、同じグループIDが設定されている複数の印刷ジョブについては一括して転送が行われる。
(B) When a group job ID is set for a print job On the other hand, if a group job ID is set for the job information 1402 of the print job specified by the schedule UP, the process advances from step S71709B to step S1714. In step S <b> 1714, the job control print service 605 checks whether the same group job ID is set in the job information 1402 for all jobs registered in the job management queue 1401. Then, all jobs having the same group job ID are selected. In step S1715, transfer of all selected print jobs is started. At this time, the job control print service 605 transfers all the print jobs in the same session using the RAW protocol. That is, a plurality of print jobs having the same group ID are transferred in a batch.

その後、ステップS1716において全印刷ジョブの転送が開始されたことをデバイススケジューラに通知する。そして、ステップS1717により、同一のグループIDを持つ全ての印刷ジョブの転送が終了するまでの間、ステップS1718,S1719の処理が実行される。即ち、ステップS1718において、ジョブの転送が終了するたびに、ステップS1719の処理に移行し、ステップS1719において転送終了した印刷ジョブの転送終了通知をデバイススケジューラ900に対して送信する。   In step S1716, the device scheduler is notified that transfer of all print jobs has started. Until the transfer of all print jobs having the same group ID is completed in step S1717, the processes in steps S1718 and S1719 are executed. That is, in step S1718, every time job transfer ends, the process proceeds to step S1719, and a transfer end notification of the print job transferred in step S1719 is transmitted to the device scheduler 900.

このように同一のセッションで同一グループIDを有する全ての印刷ジョブを送信し、印刷ジョブの転送を1セッションしか受け付けることができないネットワークプリンタであった場合は、印刷ジョブ間に他者の印刷が割り込むのを防ぐことができる。また、同時に複数セッションを張ることが可能なネットワークプリンタであった場合は、印刷データを送らない仮のセッションを張り1セッションしか印刷できないようにすることで他者の印刷の割り込みを防ぐことが可能である。或いは、ネットワークプリンタに1セッションモードを設定できる機能を持たせるといった方法によって、他者の印刷の割り込みを防ぐことが可能である。   In this way, when all the print jobs having the same group ID are transmitted in the same session and the network printer can accept the transfer of the print job for only one session, the printing of the other person interrupts between the print jobs. Can be prevented. In addition, if the network printer allows multiple sessions at the same time, it is possible to prevent other people from interrupting printing by setting up a temporary session that does not send print data and printing only one session. It is. Alternatively, it is possible to prevent another person's printing interruption by providing a function that allows the network printer to set the one-session mode.

以上のようにRAWプロトコルを利用した場合は上述した方法で一括して印刷ジョブを送信することで他者の印刷ジョブの割り込みを防ぐことが可能である。一方、LPDプロトコルで印刷ジョブを転送する場合は、印刷ジョブ毎に送信されるLPD開始と終了を、それぞれ最初の印刷ジョブの開始時と最後の印刷ジョブの終了時にのみ送信することによって一括した印刷ジョブの送信を実現できる。そして、このような一括した印刷ジョブの送信により、同一グループIDを有する複数の印刷ジョブの印刷を、他者に割り込まれることなく実行させることが可能になる。   As described above, when the RAW protocol is used, it is possible to prevent interruption of a print job by another person by transmitting the print job in a batch by the above-described method. On the other hand, when a print job is transferred using the LPD protocol, batch printing is performed by transmitting the start and end of LPD transmitted for each print job only at the start of the first print job and at the end of the last print job, respectively. Job transmission can be realized. By sending such batch print jobs, it is possible to execute printing of a plurality of print jobs having the same group ID without being interrupted by others.

<ジョブ制御プリントサービスにおけるその他の処理>
図19は、デバイススケジューラからの通知やコマンドを受け付けた場合のジョブ制御プリントサービス605の処理の流れを説明するフローチャートである。
<Other processing in the job control print service>
FIG. 19 is a flowchart for explaining the processing flow of the job control print service 605 when a notification or command is received from the device scheduler.

ステップS1901では、デバイススケジューラ900から受信したデータが、ジョブイベントの通知であるか、ジョブリストの返送であるかを判断する。ジョブイベントであった場合は、ステップS1902に処理を移行し、ジョブリストであった場合はステップS1908に処理を移行する。ステップS1908では、ジョブリストが返送されてくると、ジョブ制御プリントサービス605が管理するジョブ管理キュー1401にジョブリストから得られたジョブ情報を設定する。   In step S1901, it is determined whether the data received from the device scheduler 900 is a job event notification or a job list return. If it is a job event, the process proceeds to step S1902, and if it is a job list, the process proceeds to step S1908. In step S1908, when the job list is returned, the job information obtained from the job list is set in the job management queue 1401 managed by the job control print service 605.

ステップS1902では、デバイススケジューラから通知されたジョブイベント通知の内、ジョブ完了通知であるか、ジョブ状態変更通知であるかを判断する。ジョブ状態変更通知であれば、ステップS1909において、該当するジョブ情報のジョブ状態を更新する。ステップS1902では、受け付けたイベント通知がジョブ完了通知であれば、ステップS1903に進む。ステップS1903において、ジョブ制御プリントポート605は該当するジョブ情報を、ジョブ管理キュー1401から削除する。   In step S1902, 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 job status of the corresponding job information is updated in step S1909. In step S1902, if the received event notification is a job completion notification, the process advances to step S1903. In step S1903, the job control print port 605 deletes the corresponding job information from the job management queue 1401.

ステップS1904では、ジョブ管理キュー1401に、印刷が終了していない自クライアントのジョブが残されているかを確認する。残されていれば、まだデバイススケジューラ900とのやり取りが必要であるため、デバイススケジューラとの接続を継続するために、ステップS1901に処理を移行する。ステップS1904で、自クライアントのジョブがなければ、ステップS1905に処理を移行し、デバイススケジューラ900との接続を終了するための処理を開始する。即ち、ステップS1905では、接続を開始したときにデバイススケジューラ900に、登録したジョブイベント、デバイスイベントの登録解除を依頼する。デバイススケジューラ900は、この依頼によりクライアント情報のイベント登録の内容を削除する。このイベント登録の情報がなければ、デバイススケジューラ900が管理するジョブの状態が変化されてもイベントが通知されてくることはない。次にステップS1906において、デバイススケジューラ900に対して切断の要求を発行する。デバイススケジューラ900が切断要求を受け付けると、クライアント管理キューから該当するクライアント情報を削除する。ステップS1907では、デバイススケジューラ900とのセッションを切断する処理を行い、処理をステップS1901で待機する。   In step S1904, it is confirmed whether or not the job of the own client that has not finished printing remains in the job management queue 1401. If it remains, since it is still necessary to exchange with the device scheduler 900, the process proceeds to step S1901 in order to continue the connection with the device scheduler. If it is determined in step S1904 that there is no job of the own client, the process proceeds to step S1905, and a process for terminating the connection with the device scheduler 900 is started. That is, in step S1905, when connection is started, the device scheduler 900 is requested to cancel registration of the registered job event and device event. In response to this request, the device scheduler 900 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. In step S1906, 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. In step S1907, a process for disconnecting the session with the device scheduler 900 is performed, and the process waits in step S1901.

<デバイススケジューラによるクライアント及びジョブの管理>
図20は、通信接続管理部901が管理する、接続されているジョブ制御プリントサービス605のクライアント情報2002と、複数のクライアント情報2002を管理するクライアント管理キュー2001である。クライアント情報2002は、接続するクライアント毎に通信接続管理部900が割り振ったクライアントID、接続するジョブ制御プリントサービス605のIPアドレス、接続するクライアントが登録したイベントの種類等の情報を持つ。ここで、イベントの種類とは、プリンタコントローラ522が発行するデバイス状態のイベントやジョブ状態のイベントの種類を表す。クライアント管理キュー2001は、接続したジョブ制御プリントサービス605のクライアント情報をキューの形式で保持する。クライアントとのセッションが開始されると、該当するクライアントの情報が本管理キューに登録され、切断されると該当するクライアント情報が削除されるようになっている。
<Client and job management by device scheduler>
FIG. 20 illustrates a client management queue 2001 that manages the client information 2002 of the connected job control print service 605 and a plurality of client information 2002 managed by the communication connection management unit 901. The client information 2002 includes information such as the client ID assigned by the communication connection management unit 900 for each connected client, the IP address of the job control print service 605 to be connected, and the type of event registered by the connected client. Here, the event type represents the type of device status event or job status event issued by the printer controller 522. The client management queue 2001 holds client information of the connected job control print service 605 in a queue format. When a session with a client is started, the information of the corresponding client is registered in this management queue, and when disconnected, the corresponding client information is deleted.

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

ジョブ情報2102は、ジョブ制御プリントサービス605が印刷を開始するために発行するスケジュール要求に付加される印刷ジョブの情報である。このジョブ情報2102は、印刷ジョブのドキュメント名、ジョブ管理部903が発行したジョブID、クライアントで印刷を開始したユーザ名、ジョブのページ数、印刷ジョブの状況を表すジョブ状態を含む。更に、ジョブ情報2102は、ジョブ制御プリントサービス605が転送する印刷データに含まれるジョブデータID、印刷したクライアントのIPアドレスが登録される。尚、ジョブ状態は、ジョブ制御プリントサービス605が印刷のスケジュール要求を発行してからジョブがプリンタから無くなるまでの状態を表しており、印刷待機中、スケジュールUP状態、転送中、転送済み、印刷完了などの状態が存在する。ジョブデータIDは、印刷データに含まれるジョブのIDで、プリンタコントローラ522内でのジョブ状態を通知するときなどに付加させるIDである。   The job information 2102 is print job information added to a schedule request issued by the job control print service 605 to start printing. This job information 2102 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 pages of the job, and the job status indicating the status of the print job. Further, in the job information 2102, the job data ID included in the print data transferred by the job control print service 605 and the IP address of the printed client are registered. The job status represents the status from when the job control print service 605 issues a print schedule request until the job disappears from the printer, and is in print standby, schedule UP status, being transferred, transferred, and printing completed. There exists a state such as. 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 522 is notified.

ジョブ管理キュー2101は、複数のジョブ情報2102を管理するためのキューであり、ジョブ制御プリントサービス605からのスケジュール要求を受け付けるとジョブ情報2102がジョブ管理キュー2101に登録される。そして、印刷ジョブが印刷終了すると、該当するジョブ情報2102が削除されるようになっている。   The job management queue 2101 is a queue for managing a plurality of job information 2102. When a schedule request from the job control print service 605 is received, the job information 2102 is registered in the job management queue 2101. When the print job is finished printing, the corresponding job information 2102 is deleted.

<プリントシステムにおけるプルプリント動作の概要>
図22は、クライアント101〜103のジョブ制御プリントサービス605が、ジョブを受け付けた後、プリンタデバイス606にスケジュール要求を発行してからプリンタデバイスで印刷が終了するまでのやり取りを説明する図である。
<Outline of pull print operation in print system>
FIG. 22 is a diagram for explaining exchanges from when the job control print service 605 of the clients 101 to 103 receives a job to issue a schedule request to the printer device 606 until printing ends at the printer device.

ジョブ制御プリントサービス605は、印刷データを受け付けると、デバイススケジューラ900とセッション接続を開始する。そして、ジョブ制御プリントサービス605は、デバイススケジューラ900に対して、クライアントの情報を通知する接続要求、ジョブ/デバイス状態を通知してもらうためのイベント登録を行う。また、ジョブ制御プリントサービス605は、デバイススケジューラ900がスケジュール管理するジョブの情報を取得するジョブリスト取得コマンドを発行する。   When receiving the print data, the job control print service 605 starts session connection with the device scheduler 900. The job control print service 605 then registers an event for notifying the device scheduler 900 of a connection request for notifying client information and a job / device status. In addition, the job control print service 605 issues a job list acquisition command for acquiring information on jobs that the device scheduler 900 schedules.

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

次に、ジョブ制御プリントサービス605が印刷を予約するためのスケジュール要求のコマンドを発行する。デバイススケジューラ900はスケジュール要求を受け付けると、ジョブ管理キュー2101にジョブ情報2102を登録する。図22の2201に示される印刷データの転送は、同じグループIDを有する複数のジョブが存在した場合には、それら複数のジョブのすべてに対応する印刷データを一つのTCP/IPセッションで順次転送していく。又、転送開始通知及び転送終了通知がLPD開始と終了に対応する場合は、転送開始通知は複数の印刷ジョブの先頭のデータの転送開始時に通知され、転送終了通知は最終の印刷ジョブのデータの転送終了時に通知される。ジョブ情報2102には、ドキュメント名等の情報が設定される。デバイススケジューラ900は、プリンタデバイス606が印刷データを受け付けられるようになったと判断するとスケジュールUPを発行し、ジョブ制御プリントサービス605に対して印刷データの送信を開始するように促す。尚、印刷データを受け付けられるようになったことの判断については後述する。また、デバイススケジューラ900は、スケジュールUPを発行すると、当該ジョブ情報2102のジョブ状態をスケジュールUP状態に更新する。   Next, the job control print service 605 issues a schedule request command for reserving printing. Upon receiving the schedule request, the device scheduler 900 registers the job information 2102 in the job management queue 2101. When there are a plurality of jobs having the same group ID, the print data transfer indicated by 2201 in FIG. 22 sequentially transfers the print data corresponding to all of the plurality of jobs in one TCP / IP session. To go. Also, when the transfer start notification and transfer end notification correspond to the start and end of LPD, the transfer start notification is notified at the start of the transfer of the first data of a plurality of print jobs, and the transfer end notification is the data of the last print job. Notified when transfer ends. Information such as a document name is set in the job information 2102. When the device scheduler 900 determines that the printer device 606 can accept print data, the device scheduler 900 issues a schedule UP and prompts the job control print service 605 to start sending print data. The determination that the print data can be received will be described later. When the device scheduler 900 issues a schedule UP, the device scheduler 900 updates the job status of the job information 2102 to the schedule UP status.

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

LPD/RAW810は、印刷データを受け付けるとプリンタコントローラ522に印刷データを転送し、プリンタコントローラ522による印刷を開始させる。プリンタコントローラ522は、印刷を開始すると、ジョブの状態をデバイススケジューラ900に通知する。デバイススケジューラ900は、クライアント情報の登録イベントの情報を基に、クライアントにジョブの印刷状態を通知する。   When the LPD / RAW 810 receives the print data, the LPD / RAW 810 transfers the print data to the printer controller 522 and starts printing by the printer controller 522. When printing starts, the printer controller 522 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は、LPD/RAW810への印刷データの転送を終了すると、デバイススケジューラ900に対して転送終了通知を送信する。デバイススケジューラ900は、転送終了通知を受けると、ジョブ情報のジョブ状態を転送済の状態に更新する。   When the job control print service 605 finishes transferring the print data to the LPD / RAW 810, it sends a transfer end notification to the device scheduler 900. Upon receiving the transfer end notification, the device scheduler 900 updates the job status of the job information to the transferred status.

プリンタコントローラ522で印刷処理が終了すると、印刷完了の通知をデバイススケジューラ900に通知する。デバイススケジューラ900は、クライアント情報の登録イベントの情報を基に、クライアントにジョブの印刷完了の状態を通知する。ジョブ制御プリントサービス605は、この通知により、同一グループIDを有する全ての印刷ジョブの処理が完了したことを確認する。デバイスからの通知が必要なくなるので、デバイススケジューラ900からのイベント通知の登録の解除要求を発行する。イベント解除要求を受け付けた、デバイススケジューラ900は、クライアント情報の登録イベントにイベントを通知しない旨の情報を設定する。   When the printer controller 522 finishes the printing process, it notifies the device scheduler 900 of a print completion notification. The device scheduler 900 notifies the client of the job printing completion status based on the registration information of the client information. The job control print service 605 confirms that processing of all print jobs having the same group ID is completed by this notification. Since notification from the device is no longer necessary, an event notification registration cancellation 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との接続を終了するための切断要求を発行し、セッションを終了する。デバイススケジューラ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. 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 process with the client.

図23は、ジョブ制御プリントサービス605からスケジュール要求を受け付けてからスケジュールUPを発行するまでの、デバイススケジューラ900のスケジュール管理部902の処理を説明するフローチャートである。   FIG. 23 is a flowchart for explaining processing of the schedule management unit 902 of the device scheduler 900 from when a schedule request is received from the job control print service 605 to when a schedule UP is issued.

ステップS2301において、ジョブ制御プリントサービス605からの通知を受け付けると、スケジュール管理部902は、当該通知がスケジュール要求の通知なのか、転送済み状態の通知なのかを判断する。スケジュール要求の通知であれば、ステップS2302に処理を移行する。ステップS2302において、スケジュール管理部902は、ジョブ管理部903で発行したジョブIDを設定したジョブ情報を作成し、スケジュール要求に付加された情報をジョブ情報に設定する。そして、スケジュール要求を受け付けた順でこのジョブ情報をジョブ管理キューに登録する。   In step S2301, upon receiving a notification from the job control print service 605, the schedule management unit 902 determines whether the notification is a notification of a schedule request or a notification of a transferred state. If it is a notification of a schedule request, the process proceeds to step S2302. In step S2302, the schedule management unit 902 creates job information in which the job ID issued by the job management unit 903 is set, and sets the information added to the schedule request as job information. The job information is registered in the job management queue in the order in which the schedule requests are received.

次に、ステップS2303において、ジョブ管理キューに登録されたジョブ情報のジョブ状態を確認する。ジョブ状態がスケジュールUP、転送中のものがあれば、既にあるクライアントに印刷データを転送するように指示しているため、ステップS2301に処理を戻す。ジョブ状態がスケジュールUP、転送中のものがなければ、ジョブ制御プリントサービス605から印刷データが送られてくる予定が無いためステップS2304に処理を移行し、スケジュールUPの発行の準備を行う。   In step S2303, 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 returned to step S2301 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, there is no plan to send print data from the job control print service 605, so the process shifts to step S2304 to prepare for issuing the schedule UP.

ステップS2304では、ジョブ管理キュー2101で先にスケジュール要求を受け付けた順からジョブを確認し、スケジュール待機中のジョブがあるかどうかを判断する。スケジュール待機中のジョブが無い場合は、ステップS2301に処理を戻す。スケジュール待機中のジョブが見つかった場合は、ステップS2305に処理を移行する。ステップS2305では、該当するクライアントに対して印刷データの転送を開始させるスケジュールUPを通知する。そして、ステップS2306において、該当するジョブ情報のジョブ状態をスケジュールUP状態に更新し、ステップS2301に処理を移行する。   In step S2304, the job management queue 2101 confirms jobs in the order in which the schedule request is first received, and determines whether there is a job waiting for the schedule. If there is no job waiting for the schedule, the process returns to step S2301. If a job waiting for a schedule is found, the process proceeds to step S2305. In step S2305, a schedule UP for starting transfer of print data is notified to the corresponding client. In step S2306, the job status of the corresponding job information is updated to the schedule UP status, and the process proceeds to step S2301.

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

ステップS2401では、通信接続管理部901やデバイス管理部904からの通知を受け付けると、デバイス管理部904からのジョブ状態通知であるか、ジョブ制御プリントサービス605からのジョブリスト要求であるかを判断する。デバイス管理部904からのジョブ状態通知であれば、ステップS2402に処理を移行し、該当するジョブ情報のジョブ状態を更新する。そしてステップS2403において、交信されたジョブ状態が印刷完了の通知であるかを判断する。印刷完了でなければ、ステップS2404において、通信接続管理部901にジョブの状態のイベントをクライアントに発行するように通知する。ステップS2403において、印刷完了の通知であった場合は、ステップS2405に処理を移行する。ステップS2405において、ジョブ管理キュー2101から該当するジョブを削除し、ステップS2406において、通信接続管理部901にジョブの完了イベントをクライアントに発行するように通知する。そして、ステップS2401に戻る。   In step S2401, 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 from the job control print service 605. . If it is a job status notification from the device management unit 904, the process proceeds to step S2402, and the job status of the corresponding job information is updated. In step S2403, it is determined whether the communicated job status is a notification of printing completion. If the printing is not completed, in step S2404, the communication connection management unit 901 is notified to issue a job status event to the client. If it is determined in step S2403 that printing has been completed, the process proceeds to step S2405. In step S2405, the corresponding job is deleted from the job management queue 2101. In step S2406, the communication connection management unit 901 is notified to issue a job completion event to the client. Then, the process returns to step S2401.

一方、ステップS2401で、受け付けた通知がジョブ制御プリントサービス605からのジョブリスト要求であった場合は、ステップS2407に進む。ステップS2407において、ジョブ管理キュー2101に登録されたジョブ情報のリストを通信接続管理部901に通知し、これを要求元のクライアントに送信させる。   On the other hand, if the received notification is a job list request from the job control print service 605 in step S2401, the process advances to step S2407. In step S2407, the communication connection management unit 901 is notified of the list of job information registered in the job management queue 2101 and is transmitted to the requesting client.

図25は、プリンタコントローラ522からデバイス状態やジョブ状態の通知をイベントハンドラ905を経由して受け付け、ジョブ管理部903や通信接続管理部901に通知するデバイス管理部904の処理を説明するフローチャートである。   FIG. 25 is a flowchart for explaining processing of the device management unit 904 that receives a device status or job status notification from the printer controller 522 via the event handler 905 and notifies the job management unit 903 or the communication connection management unit 901. .

デバイススケジューラ900が起動すると、ステップS2501において、デバイス管理部904がイベントハンドラ905を経由してプリンタコントローラ522に対してイベント登録の処理を行う。このイベント登録により、デバイスの状態や、プリンタコントローラ522が処理する印刷ジョブの状態が変化した場合等に、プリンタコントローラ522がそれらの状態をデバイススケジューラ900(デバイス管理部904)に通知するようになる。   When the device scheduler 900 is activated, the device management unit 904 performs event registration processing for the printer controller 522 via the event handler 905 in step S2501. When the event registration changes the status of the device or the status of the print job processed by the printer controller 522, the printer controller 522 notifies the device scheduler 900 (device management unit 904) of the status. .

デバイス管理部904は、プリンタコントローラ522で発生したイベントをイベントハンドラ905経由で受け付けると、ステップS2502において、そのイベントがジョブのイベントであるかデバイスのイベントであるかを判断する。ジョブのイベントであれば、ステップS2503において、ジョブ管理部903にジョブイベントを通知し、ステップS2502に処理を移行する。また、デバイスのイベントであれば、処理をステップS2504に移行し、デバイスの状態をデバイス管理部904で保持する。そして、ステップS2505において、通信接続管理部901に当該デバイスイベントを通知し、処理をステップS2502に移行する。   When the event generated by the printer controller 522 is received via the event handler 905, the device management unit 904 determines whether the event is a job event or a device event in step S2502. If it is a job event, in step S2503, the job event is notified to the job management unit 903, and the process proceeds to step S2502. If the event is a device event, the process proceeds to step S2504, and the device management unit 904 holds the device state. In step S2505, the communication event management unit 901 is notified of the device event, and the process proceeds to step S2502.

図26は、ジョブ制御プリントサービス605からの要求や通知、デバイス管理部904からの通知、ジョブ管理部903への要求や通知を処理する通信接続管理部901の処理の流れを説明するフローチャートである。   FIG. 26 is a flowchart for explaining a processing flow of the communication connection management unit 901 that processes a request and notification from the job control print service 605, a notification from the device management unit 904, and a request and notification to the job management unit 903. .

ステップS2601において、通信接続管理部901は、ジョブ制御プリントサービス605、デバイス管理部904、ジョブ管理部903から受け付けた通知や要求の種類を判断する。ステップS2601において受け付けた要求やイベントがジョブ制御プリントサービス605からの接続要求であれば、ステップS2602に移行する。ステップS2602において、通信接続管理部901は、通信接続管理部901で発行したクライアントIDと要求を発したクライアントのIPアドレスを設定したクライアント情報2002を生成し、クライアント管理キュー2001に登録する。   In step S2601, the communication connection management unit 901 determines the type of notification or request received from the job control print service 605, device management unit 904, or job management unit 903. If the request or event received in step S2601 is a connection request from the job control print service 605, the process proceeds to step S2602. In step S2602, the communication connection management unit 901 generates client information 2002 in which the client ID issued by the communication connection management unit 901 and the IP address of the client that issued the request are set, and registers them in the client management queue 2001.

ステップS2601において受け付けた要求やイベントがジョブ制御プリントサービス605からのイベント登録であれば、ステップS2603に処理を移行する。ステップS2603において、通信接続管理部901は、該当するクライアント情報の登録イベントに通知すべきイベントの種類を設定する。イベントの種類には、ジョブの状態の変化を通知するジョブイベント、デバイスの状態の変化を通知するデバイスイベントがある。   If the request or event accepted in step S2601 is event registration from the job control print service 605, the process proceeds to step S2603. In step S2603, the communication connection management unit 901 sets the type of event to be notified to the registration event of the corresponding client information. 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.

ステップS2601において受け付けた要求やイベントがデバイス管理部904からのデバイスイベントやジョブ管理部903からのジョブイベントであれば、ステップS2604に進む。ステップS2604では、これらのイベントを通知すべきクライアントを認識するために、クライアント管理キュー2001に登録された全てのクライアント情報について、クライアント情報の登録イベントの設定を参照し通知すべきかどうかを判断する。そして、通知すべきと判断されたクライアントのIPアドレスを保持する。その後、ステップS2605において、ステップS2605でIPアドレスが保持された全てのクライアントに対してイベントを送信する。   If the request or event accepted in step S2601 is a device event from the device management unit 904 or a job event from the job management unit 903, the process advances to step S2604. In step S2604, in order to recognize the client to be notified of these events, it is determined whether or not to notify all the client information registered in the client management queue 2001 by referring to the setting of the registered event of the client information. Then, the IP address of the client determined to be notified is held. Thereafter, in step S2605, an event is transmitted to all clients whose IP addresses are held in step S2605.

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

以上説明したように、本実施形態によれば、単独のプルプリントキューに複数の印刷条件を持たせたプルプリントジョブを登録することが可能となる。言い換えれば、プルプリントキューに登録される複数のジョブの中から、ある特定のID(ジョブ特定情報)を持ったジョブを抽出することができ、ユーザ毎にIDを異ならせることで、ジョブ抽出の振る舞いを異ならせることができる。また、プルプリント開始時に、対象となるプルプリントジョブが複数個存在した場合においても、複数の印刷ジョブ間に他者の印刷を割り込ませること無く印刷することが可能となる。   As described above, according to the present embodiment, it is possible to register a pull print job having a plurality of printing conditions in a single pull print queue. In other words, a job having a specific ID (job specification information) can be extracted from a plurality of jobs registered in the pull print queue, and the job extraction can be performed by changing the ID for each user. Can behave differently. In addition, even when there are a plurality of target pull print jobs at the start of pull printing, it is possible to print without interrupting the printing of another person between the plurality of print jobs.

また、本実施形態によれば、機密文書や秘匿性の高い文書等を印刷する際のユーザビリティを向上することができる。つまり、ユーザは排紙状況を見張るために印刷装置に出向くタイミングを計ることなく、また、複数の印刷ジョブを印刷する際に、印刷物を他者の印刷物が混入することなく安心してまとまった文書として取得することが可能となる。   Further, according to the present embodiment, it is possible to improve usability when printing a confidential document, a highly confidential document, or the like. In other words, the user does not need to go to the printing device in order to keep track of the paper discharge status, and when printing multiple print jobs, the printed material can be used as a safe and secure document without being mixed with other people's printed materials. It can be acquired.

以上、実施形態を詳述したが、本発明は、例えば、システム、装置、方法、プログラムもしくは記憶媒体等としての実施態様をとることが可能である。具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。   Although the embodiment has been described in detail above, the present invention can take an embodiment as a system, apparatus, method, program, storage medium, or the like. Specifically, the present invention may be applied to a system composed of a plurality of devices, or may be applied to an apparatus composed of a single device.

尚、本発明は、ソフトウェアのプログラムをシステム或いは装置に直接或いは遠隔から供給し、そのシステム或いは装置のコンピュータが該供給されたプログラムコードを読み出して実行することによって前述した実施形態の機能が達成される場合を含む。この場合、供給されるプログラムは実施形態で図に示したフローチャートに対応したプログラムである。   In the present invention, the functions of the above-described embodiments are achieved by supplying a software program directly or remotely to a system or apparatus, and the computer of the system or apparatus reads and executes the supplied program code. Including the case. In this case, the supplied program is a program corresponding to the flowchart shown in the drawing in the embodiment.

従って、本発明の機能処理をコンピュータで実現するために、該コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。   Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. In other words, the present invention includes a computer program itself for realizing the functional processing of the present invention.

その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等の形態であっても良い。   In that case, as long as it has the function of a program, it may be in the form of object code, a program executed by an interpreter, script data supplied to the OS, or the like.

プログラムを供給するための記録媒体としては以下が挙げられる。例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD−ROM、CD−R、CD−RW、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM,DVD−R)などである。   Examples of the recording medium for supplying the program include the following. For example, floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatile memory card, ROM, DVD (DVD-ROM, DVD- R).

その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続し、該ホームページから本発明のコンピュータプログラムをハードディスク等の記録媒体にダウンロードすることが挙げられる。この場合、ダウンロードされるプログラムは、圧縮され自動インストール機能を含むファイルであってもよい。また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明に含まれるものである。   As another program supply method, a client computer browser is used to connect to a homepage on the Internet, and the computer program of the present invention is downloaded from the homepage to a recording medium such as a hard disk. In this case, the downloaded program may be a compressed file including an automatic installation function. 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 that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer is also included in the present invention.

また、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布するという形態をとることもできる。この場合、所定の条件をクリアしたユーザに、インターネットを介してホームページから暗号を解く鍵情報をダウンロードさせ、その鍵情報を使用して暗号化されたプログラムを実行し、プログラムをコンピュータにインストールさせるようにもできる。   Further, the program of the present invention may be encrypted, stored in a storage medium such as a CD-ROM, and distributed to users. In this case, a user who has cleared a predetermined condition is allowed to download key information for decryption from a homepage via the Internet, execute an encrypted program using the key information, and install the program on the computer. You can also.

また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどとの協働で実施形態の機能が実現されてもよい。この場合、OSなどが、実際の処理の一部または全部を行ない、その処理によって前述した実施形態の機能が実現される。   In addition to the functions of the above-described embodiment being realized by the computer executing the read program, the embodiment of the embodiment is implemented in cooperation with an OS or the like running on the computer based on an instruction of the program. A function may be realized. In this case, the OS or the like performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれて前述の実施形態の機能の一部或いは全てが実現されてもよい。この場合、機能拡張ボードや機能拡張ユニットにプログラムが書き込まれた後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行なう。   Furthermore, the program read from the recording 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, so that part or all of the functions of the above-described embodiments are realized. May be. In this case, after a program is written in the function expansion board or function expansion unit, the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing based on the instructions of the program.

実施形態によるプリントシステムの全体構成を示すブロック図である。1 is a block diagram illustrating an overall configuration of a print system according to an embodiment. クライアントのハードウェア構成を説明するブロック図である。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. 実施形態によるネットワークプリンタのハードウェア構成を説明するブロック図である。It is a block diagram explaining the hardware constitutions of the network printer by embodiment. 実施形態によるクライアントのプリントシステムに関するソフトウェア構成の例を示す図である。It is a figure which shows the example of the software structure regarding the print system of the client by embodiment. クライアントの印刷時の印刷ジョブの流れを説明する図である。FIG. 6 is a diagram illustrating a flow of a print job when printing by a client. ネットワークプリンタのソフトウェア構成の例を示す図である。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. 実施形態のプリントシステムにおける概略動作を示すアクティビティ図である。FIG. 6 is an activity diagram illustrating a schematic operation in the print system of the embodiment. 実施形態のジョブ制御プリントサービスがプルプリントキューにジョブを受け付ける処理のフローチャートである。6 is a flowchart of processing for accepting a job in a pull print queue by a job control print service according to the embodiment. 実施形態のジョブ制御プリントサービスがプルプリントキューにジョブを受け付ける処理のフローチャートである。6 is a flowchart of processing for accepting a job in a pull print queue by a job control print service according to the embodiment. 印刷ジョブに埋め込むジョブ識別情報をユーザに設定させるためのGUIの例を示す図である。6 is a diagram illustrating an example of a GUI for allowing a user to set job identification information to be embedded in a print job. FIG. プルプリントエージェントによるジョブの特定処理を説明する処理フローチャートである。FIG. 10 is a process flowchart illustrating job identification processing by a pull print agent. FIG. ジョブ制御プリントサービスが管理する印刷ジョブの情報とジョブ管理キューを表す図である。FIG. 6 is a diagram illustrating print job information and a job management queue managed by a job control print service. ジョブ制御プリントサービスが管理するプリンタキュー、出力ポートの情報を表す図である。FIG. 6 is a diagram illustrating information on printer queues and output ports managed by a job control print service. プルプリントエージェントがジョブ制御プリントサービスに送信する情報を表す図である。It is a figure showing the information which a pull print agent transmits to a job control print service. ジョブ制御プリントサービスがプルプリントエージェントから特定されたジョブをデバイススケジューラに登録する処理を説明するフローチャートである。10 is a flowchart for describing processing in which a job control print service registers a job specified from a pull print agent in a device scheduler. ジョブ制御プリントサービス上の印刷ジョブを特定する処理を示すフローチャートである。6 is a flowchart illustrating processing for specifying a print job on a job control print service. ジョブ制御プリントサービスが、デバイススケジューラからスケジュールUPコマンドを受信した際の処理を説明するフローチャートである。10 is a flowchart for explaining processing when a job control print service receives a schedule UP command from a device scheduler. デバイススケジューラからの通知やコマンドを受け付けた場合のジョブ制御プリントサービスの処理の流れを示すフローチャートである。6 is a flowchart illustrating a flow of processing of a job control print service when a notification or command is received from a device scheduler. デバイススケジューラで管理するクライアント情報とクライアント管理キューを示す図である。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 job control print service, a device scheduler, LPD / RAW, and a printer controller. ジョブ制御プリントサービスのスケジュール要求の受け付けからスケジュールUPを発行するまでのデバイススケジューラでのフローチャートである。10 is a flowchart in the device scheduler from when a job control print service schedule request is accepted until when a schedule UP is issued. ジョブ管理部のジョブ状態通知イベントの受け付けからジョブリスト要求の受け付けに対する処理を示すフローチャートである。6 is a flowchart illustrating 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 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 the process of the communication connection management part which processes the request | requirement and notification from a client, the notification from a device management part, and the request | requirement and notification to a job management part.

Claims (12)

印刷装置に接続可能な情報処理装置であって、
印刷ジョブにユーザに関連した識別情報を付与して登録する第1登録手段と、
印刷対象の印刷ジョブを選択するための特定情報を入力する入力手段と、
前記第1登録手段で登録された印刷ジョブから、前記第1登録手段で付与された識別情報が前記入力手段で入力された特定情報と対応する印刷ジョブを検索する検索手段と、
前記検索手段により複数の印刷ジョブが検索された場合に、該複数の印刷ジョブに共通の識別情報を付与して、該複数の印刷ジョブを、出力先の印刷装置に関連するプリントキューに登録する第2登録手段と、
前記プリントキューに登録された前記共通の識別情報が付与されている前記複数の印刷ジョブの一つの転送が許可された場合に、当該複数の印刷ジョブを一括して印刷装置に転送する転送手段とを備えることを特徴とする情報処理装置。
An information processing apparatus that can be connected to a printing apparatus,
A first registration means for registering a print job with identification information associated with the user;
An input means for inputting specific information for selecting a print job to be printed;
A search unit for searching for a print job in which the identification information given by the first registration unit corresponds to the specific information input by the input unit from the print job registered by the first registration unit;
When a plurality of print jobs are retrieved by the retrieval unit, common identification information is given to the plurality of print jobs, and the plurality of print jobs are registered in a print queue associated with an output destination printing apparatus. A second registration means;
Transfer means for collectively transferring the plurality of print jobs to a printing apparatus when one transfer of the plurality of print jobs to which the common identification information registered in the print queue is given is permitted; An information processing apparatus comprising:
前記転送手段は、前記複数の印刷ジョブを1セッションで転送することを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the transfer unit transfers the plurality of print jobs in one session. 前記第1登録手段は、1つの印刷ジョブについてユーザに関連した識別情報を複数登録可能であり、
前記検索手段は、前記特定情報に対応する識別情報を含む印刷ジョブを検索することを特徴とする請求項1に記載の情報処理装置。
The first registration means can register a plurality of identification information related to the user for one print job,
The information processing apparatus according to claim 1, wherein the search unit searches for a print job including identification information corresponding to the specific information.
前記第2登録手段は、前記検索手段で検索された印刷ジョブに複数の識別情報が付与されていた場合、前記特定情報に対応する識別情報のみを有する印刷ジョブを複製して前記プリントキューに登録することを特徴とする請求項3に記載の情報処理装置。   When a plurality of identification information is given to the print job searched by the search means, the second registration unit duplicates a print job having only the identification information corresponding to the specific information and registers it in the print queue The information processing apparatus according to claim 3. 前記ユーザに関連した識別情報をユーザに設定させるためのユーザインターフェースを提供する手段を更に備えることを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, further comprising means for providing a user interface for causing the user to set identification information related to the user. 前記ユーザに関連した識別情報は、ユーザの認証情報に基づいて生成されることを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the identification information related to the user is generated based on user authentication information. 前記第1登録手段は、出力先の印刷装置が未定のプリントキューに印刷ジョブを登録することを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the first registration unit registers a print job in an undecided print queue by an output destination printing apparatus. 印刷装置と情報処理装置が接続されたプリントシステムであって、
前記情報処理装置が、
印刷ジョブにユーザに関連した識別情報を付与して登録する第1登録手段と、
前記印刷装置から印刷対象の印刷ジョブを選択するための特定情報を入力する入力手段と、
前記第1登録手段で登録された印刷ジョブから、前記第1登録手段で付与された識別情報が前記入力手段で入力された特定情報と対応する印刷ジョブを検索する検索手段と、
前記検索手段により複数の印刷ジョブが検索された場合に、該複数の印刷ジョブに共通の識別情報を付与し、該複数の印刷ジョブを、前記印刷装置を出力先とするプリントキューに登録する第2登録手段と、
前記印刷装置から、前記共通の識別情報が付与されている前記複数の印刷ジョブの一つに転送許可が通知された場合、該複数の印刷ジョブを一括して前記印刷装置に転送する転送手段とを備えることを特徴とするプリントシステム。
A printing system in which a printing device and an information processing device are connected,
The information processing apparatus is
A first registration means for registering a print job with identification information associated with the user;
Input means for inputting specific information for selecting a print job to be printed from the printing apparatus;
A search unit for searching for a print job in which the identification information given by the first registration unit corresponds to the specific information input by the input unit from the print job registered by the first registration unit;
When a plurality of print jobs are searched by the search means, common identification information is given to the plurality of print jobs, and the plurality of print jobs are registered in a print queue having the printing apparatus as an output destination. 2 registration means;
A transfer unit configured to transfer the plurality of print jobs to the printing apparatus in a batch when transfer permission is notified from the printing apparatus to one of the plurality of print jobs to which the common identification information is assigned; A printing system comprising:
印刷装置に接続可能な情報処理装置による印刷ジョブの転送制御方法であって、
印刷ジョブにユーザに関連した識別情報を付与して予め定められたキューに登録する第1登録工程と、
印刷対象の印刷ジョブを選択するための特定情報を入力する入力工程と、
前記予め定められたキューに登録された印刷ジョブから、前記第1登録工程で付与された識別情報が前記入力工程で入力された特定情報と対応する印刷ジョブを検索する検索工程と、
前記検索工程により複数の印刷ジョブが検索された場合に、該複数の印刷ジョブに共通の識別情報を付与して、該複数の印刷ジョブを、出力先の印刷装置に関連するプリントキューに登録する第2登録工程と、
前記プリントキューに登録された前記共通の識別情報が付与されている前記複数の印刷ジョブの一つの転送が許可された場合に、当該複数の印刷ジョブを一括して印刷装置に転送する転送工程とを備えることを特徴とする印刷ジョブの転送制御方法。
A print job transfer control method by an information processing apparatus connectable to a printing apparatus,
A first registration step of adding identification information related to the user to the print job and registering it in a predetermined queue;
An input process for inputting specific information for selecting a print job to be printed;
A search step of searching for a print job in which the identification information given in the first registration step corresponds to the specific information input in the input step from the print jobs registered in the predetermined queue;
When a plurality of print jobs are searched by the search step, common identification information is given to the plurality of print jobs, and the plurality of print jobs are registered in a print queue related to the output destination printing apparatus. A second registration step;
A transfer step of collectively transferring the plurality of print jobs to a printing apparatus when one transfer of the plurality of print jobs to which the common identification information registered in the print queue is given is permitted; A transfer control method for a print job, comprising:
印刷装置と情報処理装置が接続されたプリントシステムにおける印刷ジョブの転送制御方法であって、
前記情報処理装置が、ユーザに関連した識別情報を印刷ジョブに付与して登録する第1登録工程と、
前記情報処理装置が前記印刷装置から印刷対象の印刷ジョブを選択するための特定情報を入力する入力工程と、
前記情報処理装置が、前記第1登録工程で登録された印刷ジョブから、前記第1登録工程で付与された識別情報が前記入力工程で入力された特定情報と対応する印刷ジョブを検索する検索工程と、
前記情報処理装置が、前記検索工程により複数の印刷ジョブが検索された場合に、該複数の印刷ジョブに共通の識別情報を付与し、該複数の印刷ジョブを、前記印刷装置を出力先とするプリントキューに登録する第2登録工程と、
前記印刷装置から、前記共通の識別情報が付与されている前記複数の印刷ジョブの一つに転送許可が通知された場合、該複数の印刷ジョブを一括して前記印刷装置に転送する転送工程とを備えることを特徴とする印刷ジョブの転送制御方法。
A print job transfer control method in a print system in which a printing apparatus and an information processing apparatus are connected,
A first registration step in which the information processing apparatus assigns and registers identification information related to a user to a print job;
An input step in which the information processing apparatus inputs specific information for selecting a print job to be printed from the printing apparatus;
A search step in which the information processing apparatus searches for a print job in which the identification information given in the first registration step corresponds to the specific information input in the input step from the print job registered in the first registration step. When,
When the information processing apparatus searches for a plurality of print jobs in the search step, the information processing apparatus assigns common identification information to the plurality of print jobs, and uses the plurality of print jobs as the output destination. A second registration step of registering in the print queue;
A transfer step of collectively transferring the plurality of print jobs to the printing device when transfer permission is notified from the printing device to one of the plurality of print jobs to which the common identification information is assigned; A transfer control method for a print job, comprising:
請求項9又は10に記載の印刷ジョブの転送制御方法をコンピュータに実行させるための制御プログラム。   A control program for causing a computer to execute the print job transfer control method according to claim 9. 請求項9又は10に記載の印刷ジョブの転送制御方法をコンピュータに実行させるための制御プログラムを格納したコンピュータ可読媒体。   A computer-readable medium storing a control program for causing a computer to execute the print job transfer control method according to claim 9.
JP2006254977A 2006-09-20 2006-09-20 Information processor, print system, and transfer control method of print job Withdrawn JP2008077355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006254977A JP2008077355A (en) 2006-09-20 2006-09-20 Information processor, print system, and transfer control method of print job

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006254977A JP2008077355A (en) 2006-09-20 2006-09-20 Information processor, print system, and transfer control method of print job

Publications (1)

Publication Number Publication Date
JP2008077355A true JP2008077355A (en) 2008-04-03

Family

ID=39349349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006254977A Withdrawn JP2008077355A (en) 2006-09-20 2006-09-20 Information processor, print system, and transfer control method of print job

Country Status (1)

Country Link
JP (1) JP2008077355A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008160643A (en) * 2006-12-26 2008-07-10 Murata Mach Ltd Data processor
JP2009303008A (en) * 2008-06-16 2009-12-24 Konica Minolta Business Technologies Inc Print system, image forming apparatus, pull-print method and pull-print program
JP2014073612A (en) * 2012-10-03 2014-04-24 Konica Minolta Inc Printing system, printing device and control method thereof, and computer program
JP2014137700A (en) * 2013-01-16 2014-07-28 Toshiba Tec Corp Information processing device and program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008160643A (en) * 2006-12-26 2008-07-10 Murata Mach Ltd Data processor
JP2009303008A (en) * 2008-06-16 2009-12-24 Konica Minolta Business Technologies Inc Print system, image forming apparatus, pull-print method and pull-print program
US8279474B2 (en) 2008-06-16 2012-10-02 Konica Minolta Business Technologies, Inc. Printing system, image forming apparatus, pull printing method, pull printing program embodied on computer readable medium
JP2014073612A (en) * 2012-10-03 2014-04-24 Konica Minolta Inc Printing system, printing device and control method thereof, and computer program
US9176699B2 (en) 2012-10-03 2015-11-03 Konica Minolta, Inc. Printing system, printing device, method for controlling the printing device, and computer-readable storage medium for computer program, for executing a plurality of print jobs based on group information
JP2014137700A (en) * 2013-01-16 2014-07-28 Toshiba Tec Corp Information processing device and program

Similar Documents

Publication Publication Date Title
JP4869031B2 (en) Printing system, server apparatus, and job control method
JP3634784B2 (en) Information processing method and print control apparatus
EP1501008B1 (en) Imformation processing apparatus, information processing method, program, and computer-readable storage medium
JP4182116B2 (en) PRINT CONTROL DEVICE, ITS CONTROL METHOD, AND COMPUTER PROGRAM
JP5383254B2 (en) Information processing apparatus, control method therefor, and program
EP1862897A2 (en) Information processing apparatus, printing system, and monitoring method
JP2008129887A (en) Secure print system and method
JP2005173919A (en) Information processing device, information processing system and method, information processing program, and storage media
JP3774702B2 (en) Print control program and information processing apparatus
JP6000828B2 (en) Information processing apparatus, print server system, control method thereof, and program
JP2011253568A (en) Printing system, server device and job control method
JP2008059372A (en) Printing controller and its method
JP5661346B2 (en) Printing system and printing control method
JP4977113B2 (en) Printing system, bibliographic information server, printing apparatus, method and program
JP2008077355A (en) Information processor, print system, and transfer control method of print job
JP2008097226A (en) Information processing device and method
JP2014139814A (en) Information processing unit and program
JP2009037488A (en) Method for controlling print job, its print system, information processor, and printer
JP2021192190A (en) Printing system
JP2007025970A (en) Pull print system
JPH06348436A (en) Remote printing system
JP2008107921A (en) Pull print server and its control method
JP2012221334A (en) Image formation system and method for processing the same, image forming apparatus, printing management server, print server, control method and program
JP2007004680A (en) Printing control device, printing control method and printing control program
JP2008257319A (en) Printing system, printing apparatus, authenticated printing execution method and program

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: 20091201