JP2010092149A - Print time control apparatus, method, and program - Google Patents
Print time control apparatus, method, and program Download PDFInfo
- Publication number
- JP2010092149A JP2010092149A JP2008259461A JP2008259461A JP2010092149A JP 2010092149 A JP2010092149 A JP 2010092149A JP 2008259461 A JP2008259461 A JP 2008259461A JP 2008259461 A JP2008259461 A JP 2008259461A JP 2010092149 A JP2010092149 A JP 2010092149A
- Authority
- JP
- Japan
- Prior art keywords
- printing
- protocol data
- time control
- control device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 24
- 230000005540 biological transmission Effects 0.000 claims description 8
- 230000006870 function Effects 0.000 description 7
- 238000001914 filtration Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Facsimiles In General (AREA)
Abstract
Description
本発明は、印刷時間制御機器、方法、及び、プログラムに関し、更に詳しくは、プリンタに対する印刷制御を行う印刷時間制御機器、方法、及び、プログラムに関する。 The present invention relates to a printing time control device, method, and program, and more particularly, to a printing time control device, method, and program for performing print control for a printer.
プリンタにおける印刷を制御するシステム(装置)がある。例えば、特許文献1には、夜間等の業務時間外における印刷出力のセキュリティを確保しつつ、その印刷出力の出力し忘れを防止できるプリンタが記載されている。特許文献1では、プリンタは、実行要求された印刷ジョブについて、そのジョブが用紙出力禁止対象であるか否かを判定する。プリンタは、現在時刻が、設定された用紙出力禁止期間内にあるとき、用紙出力禁止対象と判定する。プリンタは、用紙出力禁止対象と判定すると、その印刷ジョブを、用紙出力禁止期間以後の所定時刻を出力予定時刻とする時刻指定ジョブに種別変更し、その予定時刻が到来した時点で印刷出力を行う。 There is a system (device) that controls printing in a printer. For example, Patent Document 1 describes a printer that can prevent forgetting to output a print output while ensuring the security of the print output outside business hours such as at night. In Patent Document 1, the printer determines whether or not a print job requested to be executed is a paper output prohibition target. The printer determines that the paper output is prohibited when the current time is within the set paper output prohibition period. When the printer determines that the paper output is prohibited, the printer changes the type of the print job to a time designation job having a predetermined time after the paper output prohibited period as an output scheduled time, and prints out when the scheduled time arrives. .
また、特許文献2には、セキュリティを向上するのに好適な認証出力システムが記載されている。この認証出力システムは、クライアントとサーバとで構成される。ホスト端末(クライアント)は、印刷を許可する印刷許可時間帯を設定し、許可時間帯情報及び認証情報を含む印刷データをプリントサーバに送信する。プリントサーバは、受信した印刷データを記憶装置に保存する。プリントサーバは、認証カードが与えられると、認証カードから認証情報を読み出し、記憶装置の中から、読み出した認証情報に対応する印刷データを検索する。プリントサーバは、検索された印刷データに含まれる許可時間帯情報に基づいて、認証情報を取得した時刻が、許可時間帯に属するか否かを判定する。プリントサーバは、許可時間帯に属すると判定すると、検索された印刷データを、ネットワークプリンタに出力する。 Patent Document 2 describes an authentication output system suitable for improving security. This authentication output system includes a client and a server. The host terminal (client) sets a print permission time zone for permitting printing, and transmits print data including the permitted time zone information and authentication information to the print server. The print server stores the received print data in the storage device. When the authentication card is given, the print server reads the authentication information from the authentication card, and searches the storage device for print data corresponding to the read authentication information. The print server determines whether or not the time when the authentication information is acquired belongs to the permission time zone based on the permission time zone information included in the searched print data. If the print server determines that it belongs to the permitted time zone, it outputs the retrieved print data to the network printer.
ここで、現在時刻に基づいてフィルタリングを行うネットワーク装置が、特許文献3に記載されている。特許文献3に記載のネットワーク装置(ルータ装置)は、IP(Internet Protocol)パケットを受信した際に実行されるフィルタリングの条件が記述されたフィルタリングテーブルを有する。ルータ装置は、フィルタリングテーブルのエントリが適用される適用時刻の範囲を設定すると共に、現在時刻が適用時刻の範囲内か範囲外かに応じて、エントリを有効又は無効とする。特許文献3では、特定の時間だけ適用するようにフィルタリングテーブルのエントリを設定することで、ネットワーク内のIPパケットの流れを、時間ごとに制御することができるとしている。 Here, Patent Document 3 describes a network device that performs filtering based on the current time. The network device (router device) described in Patent Literature 3 has a filtering table in which filtering conditions executed when an IP (Internet Protocol) packet is received are described. The router device sets an application time range to which the entry of the filtering table is applied, and validates or invalidates the entry depending on whether the current time is within or outside the application time range. In Patent Document 3, it is assumed that the flow of IP packets in a network can be controlled for each time by setting an entry in a filtering table so that it is applied only for a specific time.
特許文献1では、プリンタ自体の機能で、印刷時間の制御を行っている。このため、印刷時間の制限を実現するためには、全てのプリンタを、印刷時間を制限する機能を有するプリンタに入れ替える必要がある。また、特許文献2では、印刷時間を制限する機能を有するソフトウェアを組み込んだプリントサーバを設置した上で、クライアント側の印刷出力先の設定を全てプリントサーバに変更し、プリントサーバに出力先のプリンタのドライバを組み込むといった作業が必要である。このように、特許文献1及び特許文献2では、印刷時間を制限する機能を、既存の印刷環境に組み入れることが煩雑であった。 In Patent Document 1, the printing time is controlled by the function of the printer itself. For this reason, in order to realize the limitation of the printing time, it is necessary to replace all the printers with printers having a function of limiting the printing time. Further, in Patent Document 2, after setting up a print server in which software having a function for limiting the printing time is installed, all the settings of the print output destination on the client side are changed to the print server, and the output destination printer It is necessary to install such drivers. As described above, in Patent Literature 1 and Patent Literature 2, it is complicated to incorporate a function for limiting the printing time into an existing printing environment.
特許文献3は、対象プロトコルがインターネットプロトコルである。仮に、特許文献3を印刷プロトコルに適用することを考える。特許文献3では、パケットの受信時刻に従って、パケットをパケットの単位でフィルタリングするため、エントリ適用の開始時刻をまたいで一連のパケットが到着するような場合は、エントリが有効化されるまではパケットが通過し、エントリ有効化後はパケットが破棄されることが考えられる。この場合、中途半端なデータが流れることになり、印刷を行うことができない。 In Patent Document 3, the target protocol is the Internet protocol. Suppose that Patent Document 3 is applied to a printing protocol. In Patent Document 3, since packets are filtered in units of packets according to the reception time of packets, when a series of packets arrive across the entry application start time, the packets are not received until the entry is validated. It is considered that the packet is discarded after the entry is validated. In this case, halfway data flows and printing cannot be performed.
本発明は、既存の印刷環境の変更を必要とせず、かつ、印刷許可時間帯の切り替わり時に印刷に支障がでることを回避できる印刷時間制御機器、方法、及び、プログラムを提供することを目的とする。 It is an object of the present invention to provide a printing time control device, method, and program that do not require a change in the existing printing environment and that can prevent printing from being hindered when the printing permission time zone is switched. To do.
上記目的を達成するために、本発明の印刷時間制御機器は、クライアント端末側から送信された印刷プロトコルデータについて、印刷許可の時間帯、及び、印刷不許可の時間帯の少なくとも一方を設定する設定情報記憶部を参照して、印刷ジョブごとに、前記印刷プロトコルデータの受信時刻と印刷許可/不許可の時間帯とを比較し、該比較結果に基づいて、前記印刷プロトコルデータを印刷機器に向けて出力するか否かを判定する判定部と、前記判定部での判定結果に従って、印刷プロトコルデータを印刷機器に向けて出力し、或いは、印刷プロトコルデータの印刷機器への出力を抑止する実行部とを備えることを特徴とする。 In order to achieve the above object, the printing time control device of the present invention sets, for the printing protocol data transmitted from the client terminal side, at least one of a printing permission time zone and a printing permission time zone. With reference to the information storage unit, for each print job, the reception time of the print protocol data is compared with a print permission / non-permission time zone, and the print protocol data is directed to the printing device based on the comparison result. And a determination unit that determines whether to output the print protocol data to the printing device according to the determination result of the determination unit, or an execution unit that suppresses output of the print protocol data to the printing device It is characterized by providing.
本発明の印刷時間制御方法は、印刷時間制御機器における印刷時間制御方法であって、前記印刷時間制御機器が、クライアント端末側から送信された印刷プロトコルデータについて、印刷許可の時間帯、及び、印刷不許可の時間帯の少なくとも一方を設定する設定情報記憶部を参照して、印刷ジョブごとに、前記印刷プロトコルデータの受信時刻と印刷許可/不許可の時間帯とを比較し、該比較の結果に基づいて、前記印刷プロトコルデータを印刷機器に向けて出力するか否かを判定する判定ステップと、前記印刷時間制御機器が、前記判定ステップでの判定結果に従って、印刷プロトコルデータを印刷機器に向けて出力し、或いは、印刷プロトコルデータの印刷機器への出力を抑止する出力制御ステップとを有することを特徴とする。 The printing time control method of the present invention is a printing time control method in a printing time control device, wherein the printing time control device prints a print permission time zone and prints the print protocol data transmitted from the client terminal side. The setting information storage unit that sets at least one of the non-permitted time zones is referred to, and for each print job, the reception time of the print protocol data and the print permitted / non-permitted time zone are compared, and the result of the comparison A determination step for determining whether to output the print protocol data to a printing device, and the printing time control device directs the print protocol data to the printing device according to the determination result in the determination step. And an output control step for suppressing output of the print protocol data to the printing device.
本発明のプログラムは、コンピュータに、クライアント端末側から送信された印刷プロトコルデータについて、印刷許可の時間帯、及び、印刷不許可の時間帯の少なくとも一方を設定する設定情報記憶部を参照して、印刷ジョブごとに、前記印刷プロトコルデータの受信時刻と印刷許可/不許可の時間帯とを比較し、該比較結果に基づいて、前記印刷プロトコルデータを印刷機器に向けて出力するか否かを判定する判定処理と、前記判定処理での判定結果に従って、印刷プロトコルデータを印刷機器に向けて出力し、或いは、印刷プロトコルデータの印刷機器への出力を抑止する出力制御処理とを実行させることを特徴とする。 The program of the present invention refers to a setting information storage unit that sets at least one of a print permission time zone and a print non-permission time zone for the print protocol data transmitted from the client terminal side to the computer. For each print job, the print protocol data reception time is compared with a print permission / denial time zone, and it is determined whether or not to output the print protocol data to a printing device based on the comparison result. And determining whether to output the print protocol data to the printing device or to suppress the output of the print protocol data to the printing device according to the determination result of the determination processing. And
本発明の印刷時間制御機器、方法、及び、プログラムは、既存の印刷環境の変更を必要とせず、かつ、印刷許可の時間帯の切り替わり時に印刷に支障がでることを回避しつつ、印刷の許可/不許可を制御することができる。 The printing time control device, method, and program of the present invention do not require a change in the existing printing environment, and allow printing while avoiding troubles in printing when the printing permission time zone is changed. / Control disapproval.
以下、図面を参照し、本発明の実施の形態を詳細に説明する。図1は、本発明の一実施形態の印刷時間制御機器を含むネットワークシステムを示している。このネットワークシステムは、管理用PC50と、印刷時間制御機器20と、印刷機器10とを有する。印刷機器10は、プリンタや複合機などの印刷装置である。HUB/ルーター30は、ネットワークデータの中継機器である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 shows a network system including a printing time control device according to an embodiment of the present invention. This network system includes a
管理用PC(管理者用端末)50及びクライアントPC(クライアント端末)40は、パーソナルコンピュータ等のコンピュータシステムである。クライアントPC40は、印刷機器10に印刷データを送信する。管理用PC50は、印刷時間制御機器20に、印刷時間制御機器20がサポートする印刷時間制御コマンドを送信し、印刷時間制御機器20に対して印刷許可/不許許可の時間設定を行う。
The management PC (manager terminal) 50 and the client PC (client terminal) 40 are computer systems such as personal computers. The client PC 40 transmits print data to the
印刷時間制御機器20は、クライアントPC40から印刷機器10までの経路上、図1では、印刷機器10とHUB/ルーター30との間に設置される。印刷時間制御機器20は、ネットワークポートを2つ有する。2つのネットワークポートのうちの一方(IN)は、クライアントPC40側のネットワークに接続され、他方(OUT)は、印刷機器10側のネットワークに接続される。
The printing
印刷時間制御機器20は、ブリッジやルーター、或いは、2つのネットワークポートを有するサーバなどで構成できる。印刷時間制御機器20は、例えば、フラッシュメモリなどのメモリを有しており、フラッシュメモリに記憶されたプログラムに従って動作する。印刷時間制御機器20は、固有のネットワークアドレスを持っている。
The printing
システム運用に先立って、管理者は、管理用PC50を操作し、印刷時間制御機器20に、印刷時間制御コマンドを送信する。管理者は、印刷時間制御コマンドを用いて、印刷を許可する時間帯、又は、許可しない時間帯を指定する情報を設定する。時間帯の設定では、具体的には、日時、曜日、期間などを設定する。管理用PC50は、印刷時間制御機器20のアドレスを知っており、そのアドレスに向けて、印刷時間制御コマンドを送信する。
Prior to system operation, the administrator operates the management PC 50 and transmits a printing time control command to the printing
管理者は、印刷許可/不許可の時間帯の指定に加えて、現時点において印刷の許可/不許可を指示する印刷時間制御コマンドを送信することもできる。現時点での印刷の許可/不許可の指示は、印刷許可/不許可の時間帯指定による制御よりも優先するものとする。 In addition to specifying the time zone for printing permission / non-permission, the administrator can also send a printing time control command for instructing printing permission / rejection at the present time. The instruction for permitting / not permitting printing at the current time is given priority over control by specifying a time zone for permitting / not permitting printing.
図2は、印刷時間制御機器20の構成を示している。印刷時間制御機器20は、解析部101、時間情報設定部102、設定情報記憶部103、判定部104、実行部105、ログ情報記憶部106、及び、時刻タイマー107を有する。印刷時間制御機器20内の各部の機能は、コンピュータ上で所定のプログラムを実行することで実現できる。
FIG. 2 shows the configuration of the printing
解析部101は、印刷時間制御機器20に、HUB/ルーター30側のネットワークポートから入力されたネットワークデータを解析し、ネットワークデータが、印刷時間制御機器20に対する時間指定コマンド(印刷時間制御コマンド)であるか否かを判断する。解析部101は、ネットワークデータの送信先のIPアドレスが印刷時間制御機器20のIPアドレスであり、かつ、ポート番号が印刷時間制御コマンドで使用する特定のポート番号に一致するとき、印刷時間制御コマンドであると判断する。
The
解析部101は、HUB/ルーター30側のネットワークポートから入力されたネットワークデータが印刷時間制御コマンドであると判断すると、時間情報設定部102にネットワークデータを渡す。解析部101は、ネットワークデータが印刷時間制御コマンド以外であるときは、入力されたネットワークデータを判定部104に渡す。
When the
時間情報設定部102は、解析部101から印刷時間制御コマンドを受け取ると、受け取った印刷時間制御コマンドを解析する。時間情報設定部102は、印刷時間制御コマンドが、印刷を許可する時間帯、又は、印刷を許可しない時間帯を指定するコマンドであるときは、設定情報記憶部103に、時間帯情報を記録する。設定情報記憶部103は、印刷許可/不許可の少なくとも一方に関する情報を、時間単位で保持する。時間情報設定部102は、印刷時間制御コマンドが、現時点での印刷許可/不許可を示すコマンドであるときは、実行部105に、印刷許可/不許可の指示を行う。
When receiving the printing time control command from the
判定部104は、解析部101からネットワークデータを受け取ると、ネットワークデータ(パケット)の中身を参照し、ネットワークデータが印刷プロトコルデータであるか否かを判断する。判定部104は、ポート番号が印刷プロトコルのポート番号に一致するとき、ネットワークデータが印刷プロトコルデータであると判断する。判定部104は、ネットワークデータが印刷プロトコルデータでないときは、受け取ったネットワークデータを、そのまま印刷機器10側のネットワークポートから出力する。
When receiving the network data from the
判定部104は、ネットワークデータが印刷プロトコルデータであると判断すると、印刷ジョブごとに、印刷プロトコルデータの受け取り時刻(現時刻)と印刷許可/不許可の時間帯とを比較する。時刻タイマー107は、現時点の時刻をカウントする。判定部104は、設定情報記憶部103と時刻タイマー107とを参照し、現在時刻と印刷許可/不許可の時間帯情報とを比較する。判定部104は、現在時刻と印刷許可/不許可の時間帯情報との比較結果に基づいて、印刷プロトコルデータを印刷機器10に向けて出力すべきか否かを判定する。
When determining that the network data is the print protocol data, the
判定部104は、印刷プロトコルデータの受信時刻が印刷許可/不許可の時間帯に該当するか否かに応じて、印刷ジョブごとに、印刷時間制御機器20が印刷機器10に対して印刷プロトコルデータを出力すべきか否かを判定する。判定部104は、印刷ジョブの開始時に、つまりは、印刷プロトコルデータの先頭パケットを受け取ったときに、その時刻が印刷許可の時間帯の範囲内、又は、印刷不許可の時間帯の範囲外であるときは、印刷プロトコルデータを出力すると判定する。判定部104は、現時刻が印刷許可時間の範囲外、又は、印刷不許可の時間帯の範囲内にあるときは、印刷プロトコルデータの出力を抑止すると判定する。
The
判定部104は、印刷プロトコルデータの出力を抑止すると判定すると、つまり、印刷不許可と判定すると、不許可の印刷に関する情報を、ログ情報記憶部106に書き込む。ログ情報記憶部106は、印刷不許可時に印刷行為を行った印刷データに関する情報、具体的には、日時、印刷要求元のアドレスなどの情報を保持する。
If the
実行部105は、判定部104から、ネットワークデータを受け取る。実行部105は、受け取ったネットワークデータが印刷プロトコルデータでないときは、受け取ったネットワークデータを、そのまま印刷機器10側のネットワークポートから出力する。実行部105は、印刷プロトコルデータについては、判定部104での判定結果に従って、印刷プロトコルデータを印刷機器10に向けて出力し、或いは、印刷プロトコルデータの印刷機器10への出力を抑止する。実行部105は、判定部104にて印刷プロトコルデータを出力すると判定されたときは、判定部104から受け取った印刷プロトコルデータを、印刷機器10側のネットワークに出力する。実行部105は、判定部104にて印刷プロトコルデータを出力しないと判定されたときは、判定部104から受け取った印刷プロトコルデータを破棄する。
The
ただし、実行部は、印刷時間制御コマンドにて現時点での印刷の許可/不許可が指示されている場合は、判定部104での判定結果にかかわらず、印刷時間制御コマンドによる指示を優先する。例えば、管理者が管理用PC50を用いて現時点での印刷不許可を示す印刷時間制御コマンドを送信したとする。解析部101は、印刷時間制御コマンドを時間情報設定部102に渡し、時間情報設定部102は、印刷時間制御コマンドを解析して、実行部105に印刷不許可を指示する。この場合、実行部105は、判定部104にて印刷プロトコルデータを出力すると判定されたときでも、印刷プロトコルデータを破棄する。
However, the execution unit gives priority to the instruction by the printing time control command regardless of the determination result by the
判定部104は、処理中の印刷ジョブを管理するジョブ管理テーブル201を有している。図3に、ジョブ管理テーブル201のデータ例を示す。ジョブ管理テーブル201は、セッション番号、ジョブ開始を表すフラグ、及び、ジョブ取り扱いフラグのデータ項目を有する。ジョブ管理テーブル201のセッション番号には、処理中の印刷ジョブに対応する印刷プロトコルデータのセッション番号を格納する。判定部104は、新たな印刷ジョブを示す印刷プロトコルデータを受け取ると、ジョブ管理テーブル201のセッション番号に、印刷プロトコルデータのセッション番号を書き込む。また、判定部104は、ジョブ管理テーブル201のジョブ開始フラグに、ジョブ開始を表す“1”を書き込む。
The
判定部104は、印刷プロトコルデータの先頭パケットを受け取ると、時刻タイマー107と設定情報記憶部103とを参照して、パケット受信時刻と印刷許可/不許可の時間帯とを比較する。判定部104は、比較結果に基づいて印刷プロトコルデータを印刷機器10に出力するか否かを判定し、その判定結果を、ジョブ管理テーブル201のジョブ取り扱いフラグに保存する。より詳細には、判定部104は、印刷プロトコルデータを出力しないと判定したときは、ジョブ管理テーブル201のジョブ取り扱いフラグに、パケット破棄を表す“1”を書き込む。判定部104は、印刷プロトコルデータを出力すると判定したときは、ジョブ管理テーブル201のジョブ取り扱いフラグに、パケット出力を表す“0”を書き込む。
When the
判定部104は、解析部101から印刷プロトコルデータを受け取ると、ジョブ管理テーブル201を参照して、入力された印刷プロトコルデータが、処理中の印刷ジョブとは異なる新たな印刷ジョブのデータであるか否かを判断する。判定部104は、受け取った印刷プロトコルデータのセッション番号に一致するエントリのジョブ開始フラグが“0”、又は、該当するセッション番号が存在しないとき、受け取った印刷プロトコルデータが新たな印刷ジョブのデータであると判断する。
When the
判定部104は、受け取った印刷プロトコルデータが新たな印刷ジョブのデータであると判断すると、ジョブ管理テーブル201の該当するセッション番号のエントリのジョブ開始フラグを“1”に設定する。判定部104は、ジョブ管理テーブル201にセッション番号が存在しないときは、ジョブ管理テーブル201に新たなエントリを生成し、そのエントリにセッション番号を書き込むと共に、ジョブ開始フラグを“1”に設定する。
If the
また、判定部104は、受け取った印刷プロトコルデータが新たな印刷ジョブのデータであると判断すると、印刷プロトコルデータの先頭パケットの受信時刻と印刷許可/不許可の時間帯とを比較する。判定部104は、その比較結果に基づいて、印刷プロトコルデータを印刷機器10に出力するか否かの判定を行う。判定部104は、その判定結果をジョブ管理テーブル201のジョブ取り扱いフラグに保存する。以降、判定部104は、ジョブ管理テーブル201に格納済みのセッション番号の印刷プロトコルデータが入力されたときは、ジョブ管理テーブル201を参照して、その印刷プロトコルデータを印刷機器10に出力するか否かの判定結果を調べる。
If the
図4に、印刷時間制御コマンド受信時の印刷時間制御機器の動作手順を示す。印刷時間制御コマンドを用いた印刷許可/不許可の時間帯の設定は、クライアントPC40が印刷を行う前に実行しておく。管理者は、管理用PC50を用いて、印刷時間制御機器20に印刷時間制御コマンドを送信する。解析部101は、HUB/ルーター30側のネットワークポートから、印刷時間制御コマンドを表すネットワークデータを受信する(ステップA1)。解析部101は、受信したネットワークを解析し、印刷時間制御コマンドを時間情報設定部102に渡す(ステップA2)。
FIG. 4 shows an operation procedure of the printing time control device when the printing time control command is received. The setting of the print permission / non-permission time zone using the print time control command is executed before the
印刷時間制御コマンドは、印刷許可又は不許可の時間を指定するデータを含む。例えば、印刷時間制御コマンドは、月曜日から金曜日の9:00〜12:00及び13:00〜18:00までは印刷許可で、それ以外と火曜日は終日不許可といったデータを含む。時間情報設定部102は、印刷時間制御コマンドに含まれる印刷許可又は不許可の時間を指定するデータに従って、印刷許可/不許可の時間帯情報を、設定情報記憶部103に登録する(ステップA3)。これまでの動作で、印刷許可/不許可の時間帯情報が、印刷時間制御機器20に設定される。
The print time control command includes data that designates a time during which printing is permitted or not permitted. For example, the print time control command includes data such as printing permission from 9:00 to 12:00 and from 13:00 to 18:00 from Monday to Friday, and non-permission all day on Tuesdays. The time
図5に、印刷実行時の動作手順を示す。クライアントPC40は、印刷データを、印刷機器10に向けて出力する。この印刷データは、印刷プロトコルデータを表すネットワークデータとして、HUB/ルーター30を経由して、印刷時間制御機器20で受信される。解析部101は、HUB/ルーター30側のネットワークポートから、印刷プロトコルデータ(ネットワークデータ)を受信する(ステップB1)。解析部101は、受信したネットワークデータを、判定部104に渡す(ステップB2)。
FIG. 5 shows an operation procedure when executing printing. The
判定部104は、受け取ったネットワークデータを解析し、印刷プロトコルデータであると認識する。判定部104は、ジョブ管理テーブル201を参照して、受け取った印刷プロトコルデータが、新たな印刷ジョブのデータであるか否か、つまりは、印刷ジョブの最初のデータ(先頭パケット)であるか否かを判断する(ステップB3)。
The
パケットが先頭パケットであるか否かは、ジョブ管理テーブル201のジョブ開始フラグで判断できる。ジョブ開始フラグは、ジョブなし状態で“0”、ジョブあり状態で“1”とする。ジョブ開始フラグの初期状態は、“0”とする。判定部104は、ジョブ開始フラグが“0”のとき印刷プロトコルデータを受け取ると、そのパケットを印刷ジョブの先頭パケットと判断する。また、判定部104は、ジョブ管理テーブル201に、受け取った印刷プロトコルデータのセッション番号のエントリが存在しないときも、先頭パケットと判断する。
Whether or not the packet is the head packet can be determined by the job start flag in the job management table 201. The job start flag is “0” when there is no job and “1” when there is a job. The initial state of the job start flag is “0”. When the
判定部104は、ステップB3で受け取った印刷プロトコルデータが印刷ジョブの先頭パケットであると判断すると、ジョブ管理テーブル201に受け取った印刷プロトコルデータのセッション番号を書き込み、ジョブ開始フラグを“0”から“1”に変更する(ステップB4)。その後、判定部104は、時刻タイマー107と、設定情報記憶部103に記憶された印刷許可/不許可の時間情報とを比較する(ステップB5)。判定部104は、ステップB5の比較結果に基づいて、受け取った印刷プロトコルデータを、印刷機器10に向けて出力するか否かを判定する(ステップB6)。
When the
判定部104は、ステップB6の判定結果を、ジョブ管理テーブル201のジョブ取り扱いフラグに設定する(ステップB7)。判定部104は、印刷プロトコルデータを印刷機器10に出力すると判定したときは、ジョブ取り扱いフラグを、パケット出力を意味する“0”にセットする。判定部104は、印刷プロトコルデータの印刷機器10への出力を抑止すると判定したときは、ジョブ取り扱いフラグを、パケット破棄を意味する“1”にセットする。
The
判定部104は、ステップB3で、印刷プロトコルデータが先頭パケットでないと判断すると、ジョブ管理テーブル201のジョブ取り扱いフラグを調べる(ステップB8)。判定部104は、ステップB8では、ジョブ管理テーブル201にて、受け取った印刷プロトコルデータのセッション番号と同じセッション番号を検索し、検索されたエントリのジョブ取り扱いフラグを調べる。このジョブ取り扱いフラグは、印刷ジョブの先頭パケットを処理する際に、ステップB7で、ステップB6での判定結果に基づいて設定されている。
If the
判定部104は、ステップB7で設定したジョブ取り扱いフラグ、又は、ステップB8で調べたジョブ取り扱いフラグが、パケット破棄を意味するフラグであるか否かを判断する(ステップB9)。判定部104は、ジョブ取り扱いフラグがパケット破棄を意味するときは、印刷プロトコルデータの送信先のアドレスを、所定のアドレスに書き換える(ステップB10)。所定のアドレスは、印刷時間制御機器20のアドレスとする。判定部104は、アドレスの書換え後、印刷機器10への出力が抑止される印刷プロトコルデータの情報を、ログ情報記憶部106に書き込む(ステップB11)。判定部104は、ステップB11では、印刷プロトコルデータのパケットの受信時刻、出力元アドレス、出力先アドレスなどを、ログ情報記憶部106に書き込む。
The
判定部104は、ステップB9で、ジョブ取り扱いフラグが出力を意味するフラグであるときは、ステップB10のアドレスの書換え、及び、ステップB11のログ情報記憶部106への記録は行わない。判定部104は、印刷プロトコルデータを、実行部105に出力する(ステップB12)。実行部105は、ポート番号が印刷プロトコルを示すポート番号で、かつ、入力されたネットワークデータの送信先のアドレスが印刷時間制御機器20のアドレスであるか否かを判断する(ステップB13)。
If the job handling flag is a flag indicating output in step B9, the
実行部105は、ステップB13の判断の結果、印刷プロトコルデータの送信先アドレスが印刷時間制御機器20のアドレスのときは、その印刷プロトコルデータのパケットを破棄する(ステップB14)。実行部105は、ネットワークデータが印刷プロトコルデータではない、又は、印刷プロトコルデータの送信先が印刷時間制御機器20ではないときは、ネットワークデータの宛先を解析し、その宛先に向けて、印刷機器10側のネットワークポートから、ネットワークデータを出力する(ステップB15)。
If the result of determination in step B13 is that the transmission destination address of the print protocol data is the address of the print
印刷時間制御機器20は、図5に示す一連の処理を印刷プロトコルデータのパケットが到着するたびに行う。判定部104は、実行部105によるパケットの破棄(ステップB14)又はパケットの出力(ステップB15)後、印刷ジョブが終了(セッションが終了)したか否かを判断する。印刷ジョブの終了は、lprプロトコルなどの場合は、データの先頭でデータサイズを取得し、そのデータサイズ分のデータを送信し終わったか否かで判断してもよい。判定部104は、印刷ジョブが終了したときは、ジョブ管理テーブル201から、終了したセッションのセッション番号のエントリを削除する。また、ジョブ開始フラグを“1”から“0”に変更する。
The printing
図6に、現時点での印刷許可/不許可を指定する際の動作手順を示す。管理者は、管理用PC50を用いて、印刷時間制御機器20に、現時点での印刷許可又は不許可を指定する旨を含む印刷時間制御コマンドを送信する。解析部101は、HUB/ルーター30側のネットワークポートから、印刷時間制御コマンドを表すネットワークデータを受信する(ステップC1)。解析部101は、受信したネットワークを解析し、印刷時間制御コマンドを時間情報設定部102に渡す(ステップC2)。
FIG. 6 shows an operation procedure when designating whether printing is permitted / not permitted at the current time. The administrator uses the
時間情報設定部102は、印刷時間制御コマンドを解析し、現時点での印刷許可/不許可を指定するコマンドであることを認識する。時間情報設定部102は、印刷時間制御コマンドの内容に従って、実行部105に対して、印刷許可又は不許可を指示する(ステップC3)。実行部105は、指示に従って、印刷プロトコルデータの出力又は出力の抑止を行う(ステップC4)。
The time
実行部105は、ステップC3で印刷許可が指示されたときは、ステップC4で、印刷プロトコルデータのパケットを印刷機器10に向けて出力する。実行部105は、ステップC3で印刷不許可が指示されたときは、ステップC4で、印刷プロトコルデータのパケットを破棄する。ただし、実行部105は、現在処理中の印刷プロトコルデータについては、現在の取り扱いを継続する。例えば、実行部105は、ある印刷ジョブ(印刷プロトコルデータ)のパケットを印刷機器10に出力しているときに、時間情報設定部102から印刷不許可に指示を受けたときは、その印刷ジョブが終了するまでは、パケット出力を継続する。実行部105は、印刷不許可の指示を受けた以降に開始する印刷ジョブについては、印刷プロトコルデータのパケットを破棄する。
When printing permission is instructed in step C3, the
本実施形態では、印刷時間制御機器20は、クライアントPC40側から送信された印刷プロトコルデータについて、設定情報記憶部103を参照して、印刷ジョブごとに、印刷プロトコルデータの受信時刻と印刷許可/不許可の時間帯とを比較し、その比較結果に基づいて、印刷プロトコルデータを印刷機器10に向けて出力するか否かを判定する判定部104と、判定部104での判定結果に従って、印刷プロトコルデータを印刷機器10に向けて出力し、或いは、印刷プロトコルデータの印刷機器10への出力を抑止する実行部105とを備える。ネットワーク上の印刷データが通過する位置に、印刷時間制御機器20を配置することで、印刷データの印刷機器10への出力を、印刷許可/不許可の時間帯に合わせて、自動で制御することができる。
In the present embodiment, the print
本実施形態では、印刷時間制御機器20を用いて印刷可能な時間を制御しているので、印刷機器10自体に印刷可能な時間を制御する機能は不要である。また、プリントサーバを用いる場合と異なり、クライアントPC40側は、特に印刷時間制御機器20の存在を意識する必要がない。すなわち、プリントサーバに印刷機器10のドライバを組み込んだ上で、クライアントPC40の印刷出力先の設定をプリントサーバに変更するといった作業が不要である。本実施形態では、印刷プロトコルデータの経路上に印刷時間制御機器20を設置することで印刷可能な時間の制御が可能であり、既存の印刷環境の変更を伴わずに、印刷可能な時間の制御が可能である。
In the present embodiment, since the printable time is controlled using the printing
また、本実施形態では、印刷ジョブごとに、印刷プロトコルデータの出力又は出力の抑止を判定している。印刷ジョブの最初のパケットの受信時点で、現時刻と印刷許可/不許可の時間帯との比較を行い、後続するパケットを受信した際には、先頭のパケットに対する判定結果を用いる。このようにすることで、例えば、印刷ジョブの継続中に、時刻が印刷許可の時間帯から印刷不許可の時間帯へ変化したときでも、その印刷ジョブについては、印刷を継続することができる。従って、本実施形態では、印刷許可時間帯の切り替わり時に、印刷に支障がでることを回避することができる。 In this embodiment, the output of print protocol data or the suppression of output is determined for each print job. When the first packet of the print job is received, the current time is compared with the time period during which printing is permitted / not permitted, and when a subsequent packet is received, the determination result for the first packet is used. In this way, for example, even when the time changes from a print permission time zone to a print non-permission time zone during the continuation of the print job, printing can be continued for the print job. Therefore, in the present embodiment, it is possible to avoid a problem in printing when the print permission time zone is switched.
なお、上記実施形態では、実行部105は、印刷プロトコルデータの送信先のアドレスが印刷時間制御機器20のアドレスに一致するときに、パケットを破棄したが、パケットの破棄は、このやり方には限定されない。実行部105は、判定部104から判定結果を受け取り、印刷プロトコルデータの出力が抑止されるとの判定結果を受け取ったときに、パケットを破棄してもよい。また、図1では、印刷時間制御機器20とHUB/ルーター30とを別の装置として記載したが、印刷時間制御機器20は、HUB/ルーター30の機能の一部として構成されてもよい。
In the above embodiment, the
以上、本発明をその好適な実施形態に基づいて説明したが、本発明の印刷時間制御機器、方法、及び、プログラムは、上記実施形態にのみ限定されるものではなく、上記実施形態の構成から種々の修正及び変更を施したものも、本発明の範囲に含まれる。 Although the present invention has been described based on the preferred embodiment, the printing time control device, method, and program of the present invention are not limited to the above embodiment, and the configuration of the above embodiment. Various modifications and changes are also included in the scope of the present invention.
10:印刷機器
20:印刷時間制御機器
30:HUB/ルーター
40:クライアントPC
50:管理用PC
101:解析部
102:時間情報設定部
103:設定情報記憶部
104:判定部
105:実行部
106:ログ情報記憶部
107:時刻タイマー
201:ジョブ管理テーブル
10: Printing device 20: Printing time control device 30: HUB / router 40: Client PC
50: PC for management
101: Analysis unit 102: Time information setting unit 103: Setting information storage unit 104: Determination unit 105: Execution unit 106: Log information storage unit 107: Time timer 201: Job management table
Claims (11)
前記判定部での判定結果に従って、印刷プロトコルデータを印刷機器に向けて出力し、或いは、印刷プロトコルデータの印刷機器への出力を抑止する実行部とを備える印刷時間制御機器。 With respect to the print protocol data transmitted from the client terminal side, the print protocol data is set for each print job with reference to a setting information storage unit that sets at least one of a print permission time zone and a print non-permission time zone. A determination unit that compares the reception time with a print permission / non-permission time zone and determines whether or not to output the print protocol data to a printing device based on the comparison result;
A printing time control device comprising: an execution unit that outputs print protocol data to a printing device or suppresses output of the printing protocol data to the printing device according to a determination result in the determination unit.
前記解析部にて印刷時間制御コマンドであると判断されたネットワークデータを受け取り、前記印刷時間制御コマンドに従って、前記設定情報記憶部に、前記印刷許可/不許可の時間帯情報を登録する時間情報設定部とを更に備える、請求項1乃至4の何れか一に記載の印刷時間制御機器。 Network data including the printing protocol data and a printing time control command including information specifying at least the printing permission / non-permission time zone is received, and whether or not the received network data is the printing time control command. And determining that the network data is not the printing time control command, an analysis unit that passes the received network data to the determination unit;
Time information setting for receiving network data determined to be a printing time control command by the analysis unit and registering the print permission / non-permission time zone information in the setting information storage unit according to the printing time control command The printing time control device according to claim 1, further comprising a printing unit.
前記印刷時間制御機器が、クライアント端末側から送信された印刷プロトコルデータについて、印刷許可の時間帯、及び、印刷不許可の時間帯の少なくとも一方を設定する設定情報記憶部を参照して、印刷ジョブごとに、前記印刷プロトコルデータの受信時刻と印刷許可/不許可の時間帯とを比較し、該比較の結果に基づいて、前記印刷プロトコルデータを印刷機器に向けて出力するか否かを判定する判定ステップと、
前記印刷時間制御機器が、前記判定ステップでの判定結果に従って、印刷プロトコルデータを印刷機器に向けて出力し、或いは、印刷プロトコルデータの印刷機器への出力を抑止する出力制御ステップとを有する印刷時間制御方法。 A printing time control method in a printing time control device,
The print time control device refers to a setting information storage unit that sets at least one of a print permission time zone and a print non-permission time zone for the print protocol data transmitted from the client terminal side. Each time, the reception time of the print protocol data is compared with a print permission / non-permission time zone, and based on the result of the comparison, it is determined whether or not the print protocol data is output to the printing device. A determination step;
The printing time control device has an output control step in which the printing time control device outputs the printing protocol data to the printing device in accordance with the determination result in the determining step, or the output control step for suppressing output of the printing protocol data to the printing device. Control method.
前記印刷時間制御機器は、前記新規印刷ジョブ判断ステップで新たな印刷ジョブと判断すると、前記判定ステップを実行し、該判定ステップでの判定結果を前記ジョブ管理テーブルに保存する、請求項6に記載の印刷時間制御方法。 When printing protocol data is input, the printing time control device refers to a job management table for managing the print job being processed, and whether or not the input printing protocol data is new print job data. A new print job determination step for determining whether or not
7. The print time control device according to claim 6, wherein when the print time control device determines that the print job is a new print job in the new print job determination step, the print time control device executes the determination step and stores the determination result in the determination step in the job management table. Printing time control method.
前記印刷時間制御機器は、前記出力制御ステップでは、前記印刷プロトコルデータの送信先アドレスが前記アドレス書換えステップで書き換えられたアドレスと一致するとき、当該印刷プロトコルデータの印刷機器への出力を抑止する、請求項6乃至8の何れか一に記載の印刷時間制御方法。 When the printing time control device determines that the printing protocol data is not output to the printing device in the determining step, the printing time control device further includes an address rewriting step of rewriting a destination address of the printing protocol data to a predetermined address,
The printing time control device suppresses output of the printing protocol data to the printing device when the transmission destination address of the printing protocol data matches the address rewritten in the address rewriting step in the output control step. The printing time control method according to claim 6.
前記印刷時間制御機器が、前記受信ステップで受信したネットワークデータが前記印刷時間制御コマンドであるか否かを判断するコマンド判断ステップと、
前記印刷時間制御機器が、前記コマンド判断ステップで前記ネットワークデータが前記印刷時間制御コマンドであると判断すると、印刷時間制御コマンドに従って、前記設定情報記憶部に、前記印刷許可/不許可の時間帯情報を登録する時間帯情報設定ステップとを更に有する、請求項6乃至9の何れか一に記載の印刷時間制御方法。 A step of receiving, by the printing time control device, network data including the printing protocol data and a printing time control command including information specifying at least the printing permission / non-permission time zone;
A command determining step in which the printing time control device determines whether the network data received in the receiving step is the printing time control command;
When the print time control device determines that the network data is the print time control command in the command determination step, the print information control unit stores the print permission / non-permission time zone information according to the print time control command. The printing time control method according to claim 6, further comprising: a time zone information setting step for registering a printing time.
クライアント端末側から送信された印刷プロトコルデータについて、印刷許可の時間帯、及び、印刷不許可の時間帯の少なくとも一方を設定する設定情報記憶部を参照して、印刷ジョブごとに、前記印刷プロトコルデータの受信時刻と印刷許可/不許可の時間帯とを比較し、該比較結果に基づいて、前記印刷プロトコルデータを印刷機器に向けて出力するか否かを判定する判定処理と、
前記判定処理での判定結果に従って、印刷プロトコルデータを印刷機器に向けて出力し、或いは、印刷プロトコルデータの印刷機器への出力を抑止する出力制御処理とを実行させるプログラム。 On the computer,
With respect to the print protocol data transmitted from the client terminal side, the print protocol data is set for each print job with reference to a setting information storage unit that sets at least one of a print permission time zone and a print non-permission time zone. A determination process for determining whether or not to output the print protocol data to a printing device based on the comparison result,
A program for outputting print protocol data to a printing device or executing an output control process for suppressing output of the printing protocol data to the printing device according to a determination result in the determination processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008259461A JP4697614B2 (en) | 2008-10-06 | 2008-10-06 | Printing time control device, method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008259461A JP4697614B2 (en) | 2008-10-06 | 2008-10-06 | Printing time control device, method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010092149A true JP2010092149A (en) | 2010-04-22 |
JP4697614B2 JP4697614B2 (en) | 2011-06-08 |
Family
ID=42254821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008259461A Expired - Fee Related JP4697614B2 (en) | 2008-10-06 | 2008-10-06 | Printing time control device, method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4697614B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018025991A (en) * | 2016-08-10 | 2018-02-15 | 富士ゼロックス株式会社 | Control device, image processing device and program |
JP2019025735A (en) * | 2017-07-28 | 2019-02-21 | 富士ゼロックス株式会社 | Information processing apparatus and program |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002232453A (en) * | 2001-02-02 | 2002-08-16 | Nec Corp | Device and method for internet protocol filtering |
JP2002342053A (en) * | 2001-05-15 | 2002-11-29 | Canon Inc | Printing controller, printing control method and program |
JP2004139205A (en) * | 2002-10-16 | 2004-05-13 | Konica Minolta Holdings Inc | Image processing system |
JP2006025354A (en) * | 2004-07-09 | 2006-01-26 | Fujitsu Ltd | Method and apparatus for managing access |
JP2007283562A (en) * | 2006-04-13 | 2007-11-01 | Canon Inc | Printing system |
-
2008
- 2008-10-06 JP JP2008259461A patent/JP4697614B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002232453A (en) * | 2001-02-02 | 2002-08-16 | Nec Corp | Device and method for internet protocol filtering |
JP2002342053A (en) * | 2001-05-15 | 2002-11-29 | Canon Inc | Printing controller, printing control method and program |
JP2004139205A (en) * | 2002-10-16 | 2004-05-13 | Konica Minolta Holdings Inc | Image processing system |
JP2006025354A (en) * | 2004-07-09 | 2006-01-26 | Fujitsu Ltd | Method and apparatus for managing access |
JP2007283562A (en) * | 2006-04-13 | 2007-11-01 | Canon Inc | Printing system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018025991A (en) * | 2016-08-10 | 2018-02-15 | 富士ゼロックス株式会社 | Control device, image processing device and program |
JP2019025735A (en) * | 2017-07-28 | 2019-02-21 | 富士ゼロックス株式会社 | Information processing apparatus and program |
Also Published As
Publication number | Publication date |
---|---|
JP4697614B2 (en) | 2011-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1657864B1 (en) | Communication traffic control rule generation methods and systems | |
JP4165517B2 (en) | Network printing instruction method and program | |
JP5673557B2 (en) | Network system, controller, and network control method | |
CN108781207B (en) | Method and system for dynamically creating access control lists | |
JP5455605B2 (en) | Image forming apparatus, image forming system, control method thereof, and program | |
JP4507104B2 (en) | Information processing apparatus, communication control method, and communication control program | |
JP2008143043A (en) | Printer and program | |
JP7225737B2 (en) | Support program, information processing device, and printing method | |
US20060191006A1 (en) | Denial-of-service-attack protecting method, denial-of-service attack protecting system, denial-of-service attack protecting device, repeater, denial-of-service attack protecting program, and program for repeater | |
JP2006074705A (en) | Device for controlling communication service | |
JP5606084B2 (en) | Job processing apparatus, method, and program | |
JP4697614B2 (en) | Printing time control device, method, and program | |
US7631350B2 (en) | Transmitting data across firewalls | |
JP2005193590A (en) | Printing device | |
JP2007115102A (en) | Print indicating device and print indicating method | |
JP2005217828A (en) | Communication apparatus, communication control apparatus, communication system, and program | |
US20150058922A1 (en) | Method and apparatus for controlling network device | |
US7924449B2 (en) | Data processing apparatus, method, and program | |
JP2005108215A (en) | Snmp packet filtering for printer | |
JP2007288748A (en) | Switching hub, router and virtual lan system | |
US20030163732A1 (en) | Device-specific firewall | |
US8270017B2 (en) | Network card device for determining permissibility for processing data from a data source and method of controlling the same | |
JP7215274B2 (en) | Information processing device, control method for information processing device, and program | |
US20100191866A1 (en) | Information Processing Device, For Controlling The Same Method And Recording Medium | |
JP5095286B2 (en) | Communication control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20100218 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20100218 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100929 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101026 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101227 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110201 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110217 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4697614 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |