JP2009020752A - Print job generation device and program - Google Patents
Print job generation device and program Download PDFInfo
- Publication number
- JP2009020752A JP2009020752A JP2007183535A JP2007183535A JP2009020752A JP 2009020752 A JP2009020752 A JP 2009020752A JP 2007183535 A JP2007183535 A JP 2007183535A JP 2007183535 A JP2007183535 A JP 2007183535A JP 2009020752 A JP2009020752 A JP 2009020752A
- Authority
- JP
- Japan
- Prior art keywords
- print job
- job
- printing
- current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
この発明は、印刷ジョブ生成装置、及びプログラムに関する。 The present invention relates to a print job generation device and a program.
従来、ネットワークにかかる負荷を抑制可能な印刷データ加工システムが知られている(例えば、特許文献1参照)。特許文献1に記載の印刷データ加工システムでは、クライアントからサーバへ送信される印刷データ(印刷ジョブ)として、プリンタが解釈可能でかつEMF(Enhanced Metafile)形式の印刷データよりもデータ量が少ないRAW(Ready to Print)データ、またはRAWデータに変換可能な中間形式の印刷データであるEMF形式の印刷データのいずれか一方が、利用者により送信される印刷データの形式として予め設定されており、利用者からクライアントに印刷の指示が入力されると、クライアントは、予め設定された内容に基づいてRAWデータまたはEMF形式の印刷データをサーバに出力する。サーバは、入力された印刷データがRAWデータである場合にはRAWデータを未処理のままプリンタに出力し、入力された印刷データがEMF形式の印刷データである場合にはRAWデータに変換してからプリンタに出力する。これにより、クライアントからサーバへ送信される印刷データとしてRAWデータが送信されるように利用者が予め設定することで、EMF形式の印刷データが送信された場合と比較して、ネットワーク上に流れるデータ量が低減され、ネットワークにかかる負荷が抑制される。
本発明は、印刷ジョブの形式を予め設定した従来技術の場合と比較して、印刷の開始から終了までの処理効率が良好となる印刷ジョブ生成装置を提供することを目的とする。 An object of the present invention is to provide a print job generation apparatus that has a better processing efficiency from the start to the end of printing than in the case of a conventional technique in which a print job format is set in advance.
上記目的を達成するために、請求項1に記載の発明の印刷ジョブ生成装置は、印刷対象のデータ及び該印刷対象のデータの印刷を実行する際の印刷条件に基づいて印刷ジョブを生成するジョブ生成手段と、前記印刷条件、前記印刷ジョブに基づいて印刷を実行する印刷実行装置の制御を行うようにネットワークを介して前記ジョブ生成手段に接続されたサーバに設けられた演算手段の現在の使用率、前記ネットワークの現在の帯域使用率、前記印刷実行装置の現在の印刷状況、並びに前記ジョブ生成手段及び前記ジョブ生成手段によってジョブが生成される際に一時的に使用される記憶手段の現在の使用率の少なくとも1つを検出する検出手段と、前記検出手段の検出結果に基づいて、前記印刷実行装置に解釈可能なプリンタ言語で記述された印刷ジョブを生成するか、前記プリンタ言語で記述された印刷ジョブに変換可能な中間形式の印刷ジョブを生成するか、または前記中間形式及び前記プリンタ言語の記述が混在した印刷ジョブを生成するように前記ジョブ生成手段を制御する制御手段とを含んで構成されている。 In order to achieve the above object, a print job generation device according to claim 1 generates a print job based on print target data and a print condition when executing printing of the print target data. Current use of a generation unit and a calculation unit provided in a server connected to the job generation unit via a network so as to control a print execution apparatus that executes printing based on the print condition and the print job Rate, the current bandwidth usage rate of the network, the current printing status of the print execution device, and the current of the storage means temporarily used when the job is generated by the job generation means and the job generation means A detection unit that detects at least one of the usage rates and a printer language that can be interpreted by the print execution device based on a detection result of the detection unit. Generate a print job, generate a print job in an intermediate format that can be converted into a print job described in the printer language, or generate a print job in which the description in the intermediate format and the printer language are mixed Control means for controlling the job generation means.
また、請求項2に記載の発明の印刷ジョブ生成装置は、前記制御手段を、前記検出手段によって前記ジョブ生成手段及び前記記憶手段の現在の使用率が検出された場合には、前記検出手段の検出結果に基づいて、前記プリンタ言語で記述された印刷ジョブを生成するか、前記中間形式の印刷ジョブを生成するか、または前記印刷対象のデータにイメージデータが含まれているときに該イメージデータを中間形式に変換すると共にテキストデータが含まれているときに該テキストデータをプリンタ言語の記述に変換することにより前記中間形式及び前記プリンタ言語の記述が混在した印刷ジョブを生成するように前記ジョブ生成手段を制御するようにしたものである。 According to a second aspect of the present invention, in the print job generation apparatus according to the second aspect, when the current usage rate of the job generation unit and the storage unit is detected by the detection unit, Based on the detection result, a print job described in the printer language is generated, an intermediate format print job is generated, or image data is included in the print target data. And converting the text data into a printer language description when the text data is included, thereby generating a print job in which the intermediate format and the printer language description are mixed. The generation means is controlled.
また、請求項3に記載の発明の印刷ジョブ生成装置は、前記制御手段を、前記検出手段によって前記印刷条件、前記サーバに設けられた演算手段の現在の使用率、前記ネットワークに現在の帯域使用率、前記印刷実行装置の現在の印刷状況の少なくとも1つが検出された場合には、前記検出手段の検出結果に基づいて、前記プリンタ言語で記述された印刷ジョブを生成するか、または前記中間形式の印刷ジョブを生成するように前記ジョブ生成手段を制御するようにしたものである。 According to a third aspect of the present invention, there is provided the print job generation apparatus according to the third aspect, wherein the control unit causes the detection unit to detect the print condition, a current usage rate of a calculation unit provided in the server, and a current bandwidth usage in the network. If at least one of the current print status of the print execution device is detected, a print job described in the printer language is generated based on the detection result of the detection means, or the intermediate format The job generation means is controlled to generate a print job.
また、上記目的を達成するために、請求項4に記載の発明のプログラムは、コンピュータを前記印刷対象のデータ及び該印刷対象のデータの印刷を実行する際の印刷条件に基づいて印刷ジョブを生成するジョブ生成手段及び前記ジョブ生成手段によってジョブが生成される際に一時的に使用される記憶手段の現在の使用率、前記印刷条件、前記印刷ジョブに基づいて印刷を実行する印刷実行装置の制御を行うようにネットワークを介して前記ジョブ生成手段に接続されたサーバに設けられた演算手段の現在の使用率、前記ネットワークの現在の帯域使用率、並びに前記印刷実行装置の現在の印刷状況の少なくとも1つを検出する手段、及び検出結果に基づいて、前記印刷実行装置に解釈可能なプリンタ言語で記述された印刷ジョブを生成するか、前記プリンタ言語で記述された印刷ジョブに変換可能な中間形式の印刷ジョブを生成するか、または前記中間形式及び前記プリンタ言語の記述が混在した印刷ジョブを生成するように前記ジョブ生成手段を制御する手段として機能させる。 In order to achieve the above object, a program according to a fourth aspect of the invention generates a print job based on print data when the computer executes printing of the print target data and the print target data. Control of a print execution apparatus that performs printing based on the current usage rate of the storage unit that is temporarily used when the job generation unit generates a job and the job generation unit, the print condition, and the print job At least a current usage rate of a computing unit provided in a server connected to the job generation unit via a network, a current bandwidth usage rate of the network, and a current printing status of the print execution apparatus Based on the detection means and the detection result, a print job described in a printer language that can be interpreted by the print execution apparatus is generated. Generating an intermediate format print job that can be converted into a print job described in the printer language, or controlling the job generation means to generate a print job in which the intermediate format and the description of the printer language are mixed Function as a means to
請求項1に係る発明の印刷ジョブ生成装置によれば、印刷ジョブの形式を予め設定した従来技術の場合と比較して、印刷の開始から終了までの処理効率が良好となる。 According to the print job generation apparatus of the first aspect of the present invention, the processing efficiency from the start to the end of printing is improved as compared with the case of the prior art in which the format of the print job is set in advance.
請求項2に係る発明の印刷ジョブ生成装置によれば、ジョブ生成手段及び記憶手段の現在の使用率が検出された場合には、検出結果に基づいて、プリンタ言語で記述された印刷ジョブを生成するか、中間形式の印刷ジョブを生成するか、または印刷対象のデータにイメージデータが含まれているときにイメージデータを中間形式に変換すると共にテキストデータが含まれているときにテキストデータをプリンタ言語の記述に変換することにより中間形式及びプリンタ言語の記述が混在した印刷ジョブを生成することができる。 According to the print job generating apparatus of the second aspect, when the current usage rate of the job generating unit and the storage unit is detected, a print job described in the printer language is generated based on the detection result. Or generate an intermediate format print job, or convert image data to intermediate format when the data to be printed contains image data, and print text data when text data is included By converting to a language description, it is possible to generate a print job in which an intermediate format and a printer language description are mixed.
請求項3に係る発明の印刷ジョブ生成装置によれば、印刷条件、サーバに設けられた演算手段の現在の使用率、ネットワークに現在の帯域使用率、印刷実行装置の現在の印刷状況の少なくとも1つが検出された場合には、検出結果に基づいて、プリンタ言語で記述された印刷ジョブを生成するか、または中間形式の印刷ジョブを生成することができる。
According to the print job generating apparatus of the invention of
請求項4に係る発明のプログラムによれば、印刷ジョブの形式を予め設定した従来技術の場合と比較して、印刷の開始から終了までの処理効率が良好となる。 According to the program of the invention of claim 4, the processing efficiency from the start to the end of printing is improved as compared with the case of the prior art in which the format of the print job is set in advance.
以下、図面を参照して、本発明の印刷ジョブ生成装置の実施の形態を詳細に説明する。 Hereinafter, an embodiment of a print job generation apparatus according to the present invention will be described in detail with reference to the drawings.
図1に示すように、本発明の実施の形態の印刷システム10は、印刷対象のデータ及びこの印刷対象のデータの印刷を実行する際の印刷条件に基づいて印刷ジョブを生成する印刷ジョブ生成装置としてのクライアント12、クライアント12から入力された印刷ジョブに対して処理を施して印刷ジョブを出力するサーバ14、及びサーバ14から入力された印刷ジョブに基づいて印刷を実行する印刷実行装置としてのプリンタ16がネットワーク18を介して相互に接続されている。
As shown in FIG. 1, a
なお、本実施の形態では、クライアント12及びサーバ14は、OSとしてWindows(登録商標)が搭載された例について、以下、説明する。 In the present embodiment, an example in which Windows (registered trademark) is installed as an OS in the client 12 and the server 14 will be described below.
クライアント12は、OS等の基本プログラムが記憶された記憶媒体としてのROM12a、下記で詳細を説明する印刷ジョブ生成処理ルーチンを実行するためのプログラム及び各種処理ルーチンを実行するためのプログラムが記憶された記憶媒体としてのHDD(ハード ディスク ドライブ)12b、プログラムをROM12a及びHDD12bから読み出して実行するCPU12c、データを一時的に記憶するRAM12d、及びI/O(入出力)ポート12e等を含んで構成されたパーソナルコンピュータで構成されており、これらROM12a、HDD12b、CPU12c、RAM12d、及びI/Oポート12eは互いにバス12fで接続されている。
The client 12 stores a
サーバ14は、OS等の基本プログラムが記憶された記憶媒体としてのROM14a、下記で詳細を説明するプリンタ16への印刷ジョブ出力処理ルーチンを実行するためのプログラム及び各種処理ルーチンを実行するためのプログラムが記憶された記憶媒体としてのHDD(ハード ディスク ドライブ)14b、プログラムをROM14a及びHDD14bから読み出して実行するCPU14c、データを一時的に記憶するRAM14d、及びI/O(入出力)ポート14e等を含んで構成されたパーソナルコンピュータで構成されており、これらROM14a、HDD14b、CPU14c、RAM14d、及びI/Oポート14eは互いにバス14fで接続されている。
The server 14 includes a ROM 14a as a storage medium storing a basic program such as an OS, a program for executing a print job output processing routine to the
なお、サーバ14は、プリンタ16の印刷状態、例えば、スプールのキューに記憶された印刷待ちジョブの個数(印刷待ちジョブ情報)などを所定時間毎(例えば、5秒毎)に監視してHDD14bに記憶しており、HDD14bに記憶された印刷待ちジョブ情報を所定時間毎(例えば、5秒毎)に更新する。このため、クライアント12からサーバ14にプリンタ16の印刷待ちジョブ情報の送信要求があった場合には、サーバ14は、HDD14bから印刷待ちジョブ情報を読み込んで、読み込んだ印刷待ちジョブ情報をクライアント12へ送信する。
The server 14 monitors the print status of the
また、サーバ14は、サーバ14のCPU14cの負荷状態、例えば、CPU14cの使用率を所定時間毎(例えば、1秒毎)に、例えばWindows(登録商標)のタスクマネージャのプログラムを実行することにより検出してHDD14bに記憶しており、HDD14bに記憶されたCPU14cの使用率を所定時間毎(例えば、1秒毎)に更新する。このため、クライアント12からサーバ14に、サーバ14の負荷状態に関する情報(負荷情報)の送信要求があった場合には、サーバ14は、HDD14bからCPU14cの使用率を読み込んで、読み込んだCPU14cの使用率をクライアント12へ送信する。
Further, the server 14 detects the load state of the
次に、クライアント12のCPU12cが実行する印刷ジョブ生成処理ルーチンについて図2及び図3を用いて説明する。なお、本実施の形態において、この印刷ジョブ生成処理ルーチンは、ユーザの所望の印刷条件で印刷対象のデータに基づいた印刷が実行されるように、クライアント12の受付手段、例えばキーボード(図示せず)やマウス(図示せず)をユーザが操作することにより入力された印刷の実行の指示をCPU12cが検出した場合に実行される。なお、上記の印刷条件には、例えば、複数のページ(Nページ)の各々を縮小して1つのページに印刷する(例えば、Nup)こと、及び印刷の実行先のプリンタに関する情報(例えば、ネットワーク上の位置情報(IPアドレス))などが含まれており、このような印刷条件による印刷はWindows(登録商標)のプリントプロセッサの機能を用いて実現できる。また、上記の印刷対象のデータには、テキストデータ及びイメージデータの少なくとも一方のデータが含まれる。
Next, a print job generation processing routine executed by the
まず、ステップ100で、プリンタ16の印刷待ちジョブ情報の送信要求をサーバ14に対して行う。
First, in step 100, a transmission request for job waiting print information of the
次のステップ102で、サーバ14から印刷待ちジョブ情報を受信した場合には、次のステップ104で、印刷待ちジョブ情報から得られる印刷待ちジョブの個数が所定値、例えば1以上であるか否かを判断することにより、印刷待ちジョブがあるか否かを判断する。すなわち、ステップ104では、印刷待ちジョブがあると判断された場合には、プリンタ16の現在の印刷状況が直ちに印刷を実行できる状況でなく、印刷待ちジョブがないと判断された場合には、プリンタ16の現在の印刷状況が直ちに印刷を実行できる状況である、とプリンタ16の現在の印刷状況を検出している。
When print waiting job information is received from the server 14 at the
ステップ104で、印刷待ちジョブがあったと判断された場合には、次のステップ106で、上述した印刷の実行の指示があった印刷対象のデータ及び印刷条件に基づいて、プリンタ16で解釈可能なプリンタ言語で記述された印刷ジョブに変換可能な中間形式の印刷ジョブを生成する。
If it is determined in
すなわち、クライアント12にプリンタ16による印刷の実行の指示がユーザにより行われてから、サーバ14がプリンタ16へ印刷ジョブを出力してプリンタ16で印刷が完了するまでの時間は、クライアント12で中間形式の印刷ジョブを生成した場合のほうが、クライアント12でプリンタ言語で記述された印刷ジョブを生成した場合と比較して長くなる。これは、クライアント12で中間形式の印刷ジョブを生成すると、サーバ14で、中間形式の印刷ジョブをプリンタ16が解釈可能なプリンタ言語で記述された印刷ジョブに変換する処理を行うため、この処理に時間を要するからである。そこで、ステップ104で印刷待ちジョブがあると判断された場合には、クライアント12から印刷ジョブを出力しても、プリンタ16で印刷が直ちに実行されないため、クライアント12では、直ちに印刷ジョブを生成する必要がなく、生成する際に負荷が軽い印刷ジョブを生成するのが好ましい。このような理由から、ステップ106では、クライアント12が、プリンタ16が解釈可能なプリンタ言語で記述された印刷ジョブを生成した場合と比較して、直ちに生成することはできないが、生成する際にCPU12cの負荷が軽減される中間形式の印刷ジョブを生成する。
That is, the time from when the user instructs the client 12 to execute printing by the
換言すると、ステップ106では、ステップ106での処理をCPU12cが実行することにより、プリンタ16に解釈可能なプリンタ言語で記述された印刷ジョブに変換可能な中間形式の印刷ジョブを生成するようにCPU12c自身が制御される、ということになる。
In other words, in
次のステップ120では、生成した印刷ジョブをサーバ14のスプール(HDD14b)に出力し、本印刷ジョブ生成処理ルーチンを終了する。
In the
一方、ステップ104で、印刷待ちジョブがなかったと判断された場合には、次のステップ108で、印刷条件の中に、生成される印刷ジョブが中間形式の印刷ジョブであることを必須とする印刷条件が含まれているか否かを判断することにより、所定の印刷条件を検出する。このような印刷条件としては、例えば、複数のページ(Nページ)の各々を縮小して1つのページに印刷する(例えば、Nup)印刷条件がある。
On the other hand, if it is determined in
ステップ108で、中間形式の印刷ジョブであることを必須とする印刷条件が含まれていたと判断された場合には、中間形式の印刷ジョブを生成する必要があるので、次のステップ106で、中間形式の印刷ジョブを生成する。
If it is determined in
一方、ステップ108で中間形式の印刷ジョブであることを必須とする印刷条件が含まれていないと判断された場合には、次のステップ110で印刷(印刷ジョブを生成することも含む)をフォアグラウンドで行うか否かをWindows(登録商標)から提供される印刷時の設定を判断することにより、印刷時の負荷設定を判断する。すなわち、ステップ110では、印刷時の負荷設定を判断することにより、所定の印刷条件を検出する。
On the other hand, if it is determined in
ステップ110で、否定判断がされた場合、すなわち、印刷をバックグラウンドで行う設定であると判断された場合には、印刷ジョブを生成する際のCPU12cの負荷をより軽減する必要があるため、次のステップ106に進み、中間形式の印刷ジョブを生成する。これは、中間形式の印刷ジョブを生成する場合のほうが、プリンタ言語で記述された印刷ジョブを生成する場合よりもCPU12cの負荷が軽いためである。
If a negative determination is made in
一方、ステップ110で、肯定判断がされた場合には、次のステップ112で、CPU12c及びメモリ(RAM12d)の現在の使用率を、例えばWindows(登録商標)のタスクマネージャのプログラムを実行することにより検出する。
On the other hand, if an affirmative determination is made in
次のステップ114では、ステップ112で検出したCPU12cの現在の使用率が、第1の所定値、例えば30%以下であるか否かを判断し、肯定判断がされた場合、すなわち30%以下であると判断された場合には、次のステップ126へ進み、否定判断がされた場合、すなわち30%より大きいと判断された場合には、次のステップ116へ進む。
In the
ステップ116では、ステップ112で検出したCPU12cの現在の使用率が、ステップ114における第1の所定値より大きい第2の所定値、例えば60%以下であるか否かを判断する。なお、第2の所定値については、例えば、実験的又は統計的に、CPU12cが、負荷が軽い中間形式の印刷ジョブを生成することは容易(例えば、所定時間以内に印刷ジョブが生成可能)だが、負荷がかかるプリンタ言語で記述された印刷ジョブを生成することは容易でないときのCPU12cの使用率を求めておき、この求めたCPU12cの使用率を第2の所定値として設定しておけばよい。
In
ステップ116で、ステップ112で検出したCPU12cの現在の使用率が、第2の所定値より大きいと判断された場合には、次のステップ118で、上述した印刷の実行の指示があった印刷対象のデータ及び印刷条件に基づいて、プリンタ16で解釈可能なプリンタ言語で記述された印刷ジョブに変換可能な中間形式の印刷ジョブを生成し、次のステップ120へ進む。
If it is determined in
換言すると、ステップ118では、ステップ118での処理をCPU12cが実行することにより、プリンタ16に解釈可能なプリンタ言語で記述された印刷ジョブに変換可能な中間形式の印刷ジョブを生成するようにCPU12c自身が制御される、ということになる。
In other words, in
一方、ステップ116で、ステップ112で検出したCPU12cの現在の使用率が、第2の所定値以下であると判断された場合には、次のステップ122で、ステップ112で検出したメモリ(RAM12d)の現在の使用率が第3の所定値、例えば50%以下であるか否かを判断する。なお、第3の所定値については、例えば、実験的又は統計的に、印刷対象のデータのうちデータ容量が比較的少ないテキストデータからなるテキスト部に対してはプリンタ言語で印刷ジョブの対応する部分を生成し、データ容量が比較的多いイメージデータからなるイメージ部に対しては中間形式で印刷ジョブの対応する部分を生成することにより印刷ジョブを生成した場合に、CPU12cにかかる負荷が低くなりかつメモリが圧迫されないときのメモリの使用率の最大値を求めておき、この求めたメモリの使用率の最大値を第3の所定値として設定しておけばよい。
On the other hand, if it is determined in
ステップ122で、50%以下であると判断された場合には、次のステップ124で、上述した印刷の実行の指示があった印刷対象のデータ及び印刷条件に基づいて、印刷対象となるデータのうち、テキストデータからなるテキスト部が含まれている場合にはこのテキスト部に対してはプリンタ言語で印刷ジョブの対応する部分を生成し、イメージデータからなるイメージ部が含まれている場合にはこのイメージ部に対しては中間形式で印刷ジョブの対応する部分を生成することにより印刷ジョブを生成し、ステップ120へ進む。これにより、中間形式及びプリンタ言語の記述が混在した印刷ジョブが生成される。
If it is determined in
すなわち、ステップ124では、ステップ124での処理をCPU12cが実行することにより、中間形式のデータ及びプリンタ言語で記述されたデータが混在した印刷ジョブを生成するようにCPU12c自身が制御される。
In other words, in
一方、ステップ122で、50%より大きいと判断された場合には、次のステップ126で、上述した印刷の実行の指示に含まれている印刷の実行先のプリンタが、ネットワーク接続であるか否かを判断する。例えば、ステップ126では、各プリンタ毎に、クライアント12とネットワークによって接続されているのか、それとも、クライアント12とダイレクトに接続されているのかを示す情報を予めユーザによってHDD12bに記憶させておき、この情報をHDD12bから読み込んで印刷の実行先のプリンタがネットワーク接続であるか否かを判断する。
On the other hand, if it is determined in
ステップ126で否定判断、すなわち印刷の実行先のプリンタが、クライアント12とダイレクトに接続されていると判断された場合には、次のステップ142で、上述した印刷の実行の指示があった印刷対象のデータ及び印刷条件に基づいて、プリンタ16で解釈可能なプリンタ言語で記述された印刷ジョブを生成し、ステップ120へ進む。
If the determination in
すなわち、ステップ142では、ステップ142での処理をCPU12cが実行することにより、プリンタ16に解釈可能なプリンタ言語で記述された印刷ジョブを生成するようにCPU12c自身が制御される。
That is, in
一方、ステップ126で肯定判断、すなわち印刷の実行先のプリンタが、クライアント12とネットワークによって接続されていると判断された場合には、次のステップ128で、クライアント12とサーバ14とが接続されているネットワーク18の現在の帯域使用率を、例えばWindows(登録商標)のネットワークモニタのプログラムを実行することにより検出する。
On the other hand, if the determination in
次のステップ130では、ステップ128で検出したネットワーク18の現在の帯域使用率が第4の所定値、例えば35%以上であるか否かを判断する。なお、第4の所定値については、例えば、実験的又は統計的に、コリジョンの発生が多くなり、遅延や通信エラーが発生し易くなる帯域使用率の最小値を求めておき、この求めた帯域使用率の最小値を第4の所定値として設定しておけばよい。
In the
次のステップ132では、プリントサーバとしてのサーバ14がネットワーク内に存在するか否かを判断する。例えば、ステップ132では、プリントサーバが存在する場合にはその存在を示す情報を予めユーザによってHDD12bに記憶させておき、この情報をHDD12bから読み込んでプリントサーバがネットワーク内に存在するか否かを判断する。
In the
ステップ132で、否定判断、すなわちプリントサーバがネットワーク内に存在しないと判断された場合には、次のステップ142へ進み、一方、肯定判断、すなわちプリントサーバがネットワーク内に存在すると判断された場合には、次のステップ134で、サーバ14の負荷情報の送信要求をサーバ14に対して行う。
If the determination in
次のステップ136で、サーバ14から負荷情報を受信した場合には、次のステップ138で、負荷情報から得られるCPU14cの現在の使用率が第5の所定値、例えば30%以下であるか否かを判断する。なお、第5の所定値については、例えば、実験的又は統計的に、CPU14cが、中間形式の印刷ジョブをプリンタ言語で記述された印刷ジョブに変換することが容易(例えば、所定時間以内に変換可能)であるときのCPU14cの使用率を求めておき、この求めたCPU14cの使用率の最大値を所定値として設定しておけばよい。
When the load information is received from the server 14 in the
すなわち、ステップ134及びステップ136では、サーバ14のCPU14cの現在の使用率を検出する。
That is, in step 134 and step 136, the current usage rate of the
ステップ138で、否定判断がされた場合には、次のステップ142へ進み、一方、肯定判断がされた場合には、次のステップ140で、上述した印刷の実行の指示があった印刷対象のデータ及び印刷条件に基づいて、プリンタ16で解釈可能なプリンタ言語で記述された印刷ジョブに変換可能な中間形式の印刷ジョブを生成し、次のステップ120へ進む。すなわち、ステップ140では、ステップ140での処理をCPU12cが実行することにより、プリンタ16に解釈可能なプリンタ言語で記述された印刷ジョブに変換可能な中間形式の印刷ジョブを生成するようにCPU12c自身が制御される。
If a negative determination is made in
次に、サーバ14のCPU14cが行うプリンタへの印刷ジョブ出力処理ルーチンについて図4を用いて説明する。なお、本実施の形態において、このプリンタへの印刷ジョブ出力処理ルーチンは、クライアント12から印刷ジョブが入力されてサーバ14のHDD14bのスプールディレクトリに、入力された印刷ジョブが記憶されたことをCPU14cが検出した場合に実行される。
Next, a print job output processing routine to the printer performed by the
まず、ステップ200で、先頭の印刷ジョブ、すなわち、スプールディレクトリに最も早く記憶された印刷ジョブを取り出す。
First, in
次のステップ202では、取り出した印刷ジョブのテキスト部及びイメージ部が中間形式の印刷ジョブであるか否かを判断する。
In the
ステップ202で肯定判断がされた場合には、次のステップ204で、取り出した印刷ジョブをプリンタ言語で記述された印刷ジョブに変換し、次のステップ210へ進む。
If an affirmative determination is made in
一方、ステップ202で否定判断がされた場合には、次のステップ206で、取り出した印刷ジョブが、テキスト部が中間形式でかつイメージ部がプリンタ言語で記述された印刷ジョブであるか否かを判断する。
On the other hand, if a negative determination is made in
ステップ206で、肯定判断がされた場合には、次のステップ208で、取り出した印刷ジョブのテキスト部のみをプリンタ言語で記述された印刷ジョブに変換し、次のステップ210へ進む。
If an affirmative determination is made in
一方、ステップ206で、否定判断がされた場合には、次のステップ210で、プリンタ16に、プリンタ言語で記述された印刷ジョブを出力する。
On the other hand, if a negative determination is made in
以上、説明した印刷ジョブ生成処理及びプリンタへの印刷ジョブ出力処理によって、クライアント12から出力された印刷ジョブに基づいた印刷が、プリンタ16によって実行される。
As described above, the
なお、本実施の形態において、印刷ジョブ生成処理では、ステップ104でプリンタ16の現在の印刷状況を検出し、ステップ108及びステップ110で印刷条件を検出し、ステップ112でCPU12c及びメモリ(RAM12d)の現在の使用率を検出し、ステップ128でネットワーク18の現在の帯域使用率を検出し、ステップ134及びステップ136でサーバ14のCPU14cの現在の使用率を検出して、検出結果に基づいて、ステップ106、ステップ118、ステップ124、ステップ140、またはステップ142で対応する印刷ジョブを生成する例について説明したが、本発明はこれに限られず、プリンタ16の現在の印刷状況、印刷条件、クライアント12のCPU12c及びメモリ(RAM12d)の現在の使用率、ネットワーク18の現在の帯域使用率、及びサーバ14のCPU14cの現在の使用率の少なくとも1つを検出して、その検出結果に基づいて、対応する印刷ジョブを生成するようにしてもよい。この場合に、例えば、ステップ104で否定判断、ステップ108で否定判断、ステップ110で肯定判断、ステップ114で肯定判断、ステップ122で否定判断、及びステップ130で肯定判断の少なくとも1つの判断がされた場合には、プリンタ16で解釈可能なプリンタ言語で記述された印刷ジョブを生成するために、ステップ142に進むようにしてもよい。このとき、下記の表1に示すように、プリンタ16の現在の印刷状況、印刷条件、クライアント12のCPU12c及びメモリ(RAM12d)の現在の使用率、ネットワーク18の現在の帯域使用率、及びサーバ14のCPU14cの現在の使用率の少なくとも1つの検出結果に基づいて、クライアント12は、中間形式の印刷ジョブを生成するか、プリンタ言語で記述された印刷ジョブを生成するか、または前記中間形式及び前記プリンタ言語の記述が混在した印刷ジョブを生成する。
In this embodiment, in the print job generation process, the current printing status of the
10 印刷システム
12 クライアント
12c CPU
14 サーバ
14c CPU
16 プリンタ
18 ネットワーク
10 Printing System 12
14
16 Printer 18 Network
Claims (4)
前記印刷条件、前記印刷ジョブに基づいて印刷を実行する印刷実行装置の制御を行うようにネットワークを介して前記ジョブ生成手段に接続されたサーバに設けられた演算手段の現在の使用率、前記ネットワークの現在の帯域使用率、前記印刷実行装置の現在の印刷状況、並びに前記ジョブ生成手段及び前記ジョブ生成手段によってジョブが生成される際に一時的に使用される記憶手段の現在の使用率の少なくとも1つを検出する検出手段と、
前記検出手段の検出結果に基づいて、前記印刷実行装置に解釈可能なプリンタ言語で記述された印刷ジョブを生成するか、前記プリンタ言語で記述された印刷ジョブに変換可能な中間形式の印刷ジョブを生成するか、または前記中間形式及び前記プリンタ言語の記述が混在した印刷ジョブを生成するように前記ジョブ生成手段を制御する制御手段と、
を含む印刷ジョブ生成装置。 Job generation means for generating a print job based on print target data and print conditions when executing printing of the print target data;
A current usage rate of a computing unit provided in a server connected to the job generation unit via a network so as to control a print execution apparatus that performs printing based on the print condition, the print job, and the network Current bandwidth usage rate, current printing status of the print execution device, and current usage rate of the storage unit temporarily used when the job is generated by the job generation unit and the job generation unit Detecting means for detecting one;
Based on the detection result of the detection means, a print job described in a printer language that can be interpreted by the print execution apparatus is generated, or an intermediate format print job that can be converted into a print job described in the printer language is generated. Control means for controlling the job generation means to generate or generate a print job in which the description of the intermediate format and the printer language is mixed;
A print job generation device.
印刷対象のデータ及び該印刷対象のデータの印刷を実行する際の印刷条件に基づいて、印刷ジョブを生成するジョブ生成手段及び前記ジョブ生成手段によってジョブが生成される際に一時的に使用される記憶手段の現在の使用率、前記印刷条件、前記印刷ジョブに基づいて印刷を実行する印刷実行装置の制御を行うようにネットワークを介して前記ジョブ生成手段に接続されたサーバに設けられた演算手段の現在の使用率、前記ネットワークの現在の帯域使用率、並びに前記印刷実行装置の現在の印刷状況の少なくとも1つを検出する手段、及び
検出結果に基づいて、前記印刷実行装置に解釈可能なプリンタ言語で記述された印刷ジョブを生成するか、前記プリンタ言語で記述された印刷ジョブに変換可能な中間形式の印刷ジョブを生成するか、または前記中間形式及び前記プリンタ言語の記述が混在した印刷ジョブを生成するように前記ジョブ生成手段を制御する手段
として機能させるためのプログラム。 A computer generates a print job based on data to be printed and printing conditions for executing printing of the data to be printed, and temporarily used when a job is generated by the job generation unit Provided in a server connected to the job generation unit via a network so as to control a print execution apparatus that executes printing based on the current usage rate of the storage unit, the printing condition, and the print job. Means for detecting at least one of the current usage rate of the computing means, the current bandwidth usage rate of the network, and the current printing status of the print execution device, and interpretable to the print execution device based on the detection result Print in an intermediate format that can be generated or converted to a print job written in the printer language ® either generate a blanking or the intermediate form and the program for the printer language descriptions to function as means for controlling said job generating unit to generate a print job mix.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007183535A JP2009020752A (en) | 2007-07-12 | 2007-07-12 | Print job generation device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007183535A JP2009020752A (en) | 2007-07-12 | 2007-07-12 | Print job generation device and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009020752A true JP2009020752A (en) | 2009-01-29 |
Family
ID=40360335
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007183535A Pending JP2009020752A (en) | 2007-07-12 | 2007-07-12 | Print job generation device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009020752A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8863142B2 (en) | 2011-02-28 | 2014-10-14 | Sharp Kabushiki Kaisha | Image forming apparatus |
-
2007
- 2007-07-12 JP JP2007183535A patent/JP2009020752A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8863142B2 (en) | 2011-02-28 | 2014-10-14 | Sharp Kabushiki Kaisha | Image forming apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7936468B2 (en) | Systems and methods for load balancing toner use in a printer pool | |
US8823993B2 (en) | Print job distribution within a printing system | |
US20110299112A1 (en) | Cloud computing system, method for processing document, and storage medium for same | |
JP2013041449A (en) | Print control program, information processing apparatus and recording medium | |
US8749826B2 (en) | Information processing apparatus, control method and recording medium | |
US9507544B2 (en) | Information processing apparatus, recording medium, and control method to process print data using filters | |
US20100182627A1 (en) | Printing control apparatus and control method thereof | |
JP2012059093A (en) | Printer controller, printing system and program | |
JP2007257592A (en) | Printing system, information processor, and printer | |
JP2009251801A (en) | Printing control apparatus and printing control program | |
JP6067039B2 (en) | Image processing apparatus, image processing method and program for obtaining predicted value of time required for printing | |
JP2009053789A (en) | Information processor, program, and computer-readable recording medium | |
JP2023018114A (en) | Program, information processing device, and method for controlling information processing device | |
JP2009020752A (en) | Print job generation device and program | |
JP5857594B2 (en) | Distributed printing system and printing apparatus | |
JP2011090599A (en) | Information processing apparatus and method | |
US8914591B2 (en) | Information processing apparatus, method for controlling same | |
US11216230B2 (en) | Job transmission device, job processing device, program, and job transmission method performed by job transmission device | |
JP7215031B2 (en) | Printing system, printing method and program | |
JP2010218325A (en) | Printing controller and printing system | |
JP2008198042A (en) | Print control device, print control program and recording medium | |
JP2015176604A (en) | Image forming system, information processor, and image forming apparatus | |
JP2006164153A (en) | Connection management and user processing | |
JP2016018328A (en) | Information processor, control method and program | |
JP2007264750A (en) | Data processing system, data processing method, program, and storage medium |