JP2005182101A - Automatic printing control method - Google Patents
Automatic printing control method Download PDFInfo
- Publication number
- JP2005182101A JP2005182101A JP2003417462A JP2003417462A JP2005182101A JP 2005182101 A JP2005182101 A JP 2005182101A JP 2003417462 A JP2003417462 A JP 2003417462A JP 2003417462 A JP2003417462 A JP 2003417462A JP 2005182101 A JP2005182101 A JP 2005182101A
- Authority
- JP
- Japan
- Prior art keywords
- printer
- printing
- output data
- count value
- 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
Abstract
Description
本発明は、複数台のプリンタ装置が接続されたコンピュータ装置において行われるプリント制御方法に関する。 The present invention relates to a print control method performed in a computer apparatus to which a plurality of printer apparatuses are connected.
複数台のプリンタ装置がネットワークにより接続される一般的なネットワーク環境では、プリント出力データ元であるコンピュータ装置とそのプリント出力データ先であるプリンタ装置とは1対1で対応するように設定される。例えば、使用者がコンピュータ装置側で、印刷させるプリンタ装置を特定するプリンタ名を明示的に指定することで、上記1対1対応の設定が行われる。 In a general network environment in which a plurality of printer devices are connected via a network, the computer device that is the print output data source and the printer device that is the print output data destination are set to have a one-to-one correspondence. For example, the above-described one-to-one setting is performed when the user explicitly specifies the printer name for specifying the printer device to be printed on the computer device side.
そこで、最近では、上記のようなネットワーク環境において、印刷待ち時間が少なく、効率的な印刷処理を行える技術が種々提案されている。そのような技術の一例として、特開平4-85618号公報には、ネットワークにより接続された複数のプリンタ装置のうちから最も印刷待ちの少ないプリンタ装置を自動的に選択できるようにしたデータ処理装置が開示されている。 Thus, recently, various technologies have been proposed that can perform efficient print processing with a short print waiting time in the network environment as described above. As an example of such a technique, Japanese Patent Application Laid-Open No. 4-85618 discloses a data processing device that can automatically select a printer device with the least waiting for printing from a plurality of printer devices connected by a network. It is disclosed.
このデータ処理装置では、キーボードやマウス等の入力装置およびCRT等の表示装置が接続されたデータ処理装置と印刷装置を制御する印刷制御装置とがネットワークにより接続されている。ネットワークには、さらに入力装置および表示装置が接続されたデータ処理装置と印刷装置を制御する印刷制御装置とが同様に接続されている。 In this data processing device, a data processing device to which an input device such as a keyboard and a mouse and a display device such as a CRT are connected and a print control device that controls the printing device are connected via a network. A data processing apparatus to which an input device and a display device are further connected and a print control apparatus for controlling the printing apparatus are similarly connected to the network.
データ処理装置は、入力装置からの印刷要求に伴い印刷データが与えられた際に、複数台の印刷装置を選択してそれを表示装置に表示させるとともに、その中から選択された印刷装置に対して印刷データをネットワークを介して送信する。 When print data is given in response to a print request from an input device, the data processing device selects a plurality of printing devices and displays them on the display device. Print data via the network.
各印刷制御装置は、ネットワークを介して与えられた印刷データを印刷装置に出力転送しその印刷動作を制御すると共に、印刷データの印刷待ち行列に基づく印刷負荷状態を定期的に検査する。この検査結果は、ネットワークを介して各データ処理装置へ送られる。 Each print control device outputs and transfers the print data given via the network to the print device to control the print operation, and periodically checks the print load state based on the print queue of the print data. This inspection result is sent to each data processing apparatus via the network.
上述のように構成されるデータ処理装置では、入力装置からの印刷要求に伴い印刷データが与えられると、データ処理装置が各印刷制御装置からの印刷負荷状態の検査情報に基づいて、印刷待ち行列の少ない方の印刷装置を選択し、その選択した印刷装置に対して印刷データを送信する。これにより、印刷待ち時間が少なくなり、印刷装置の利用効率が向上する。 In the data processing apparatus configured as described above, when print data is given in response to a print request from the input apparatus, the data processing apparatus performs a print queue based on the print load state inspection information from each print control apparatus. The printer with the smaller number is selected, and print data is transmitted to the selected printer. Thereby, the printing waiting time is reduced, and the utilization efficiency of the printing apparatus is improved.
上記のデータ処理装置と同様のものとして、特開平7-129337号公報には、現在の印刷装置における状態から印刷条件に応じて最適な物理印刷装置、例えば、印刷装置の中で保留中のプリンタ出力要求数が最も少ない印刷装置を指定して、印刷データを送出するようにしたシステムが開示されている。このようなシステム構成を採用することにより、各印刷装置に送出されるそれぞれの印刷データの送出先が平均化され、印刷装置をシステムとして全体的に有効に利用することができる。 As similar to the above data processing apparatus, Japanese Patent Application Laid-Open No. 7-129337 discloses an optimum physical printing apparatus according to printing conditions from the current state of the printing apparatus, for example, a printer pending in the printing apparatus A system is disclosed that designates a printing apparatus with the smallest number of output requests and sends print data. By adopting such a system configuration, the destinations of the print data sent to each printing apparatus are averaged, and the printing apparatus can be effectively used as a whole system.
上述の各公報に記載のものの他、特開平5-108582号公報には、プリント出力データ要求を行おうとしたプリンタ装置が、すでに他の複数のコンピュータ装置からのプリント出力データ要求を受けて待ち状態にあり、その待ち状態となっているプリント出力データ要求数が一定数以上のときに、あるいは故障等により印刷停止状態にあるときに、別のプリンタ装置を代用するようにしたシステムが開示されている。このようなシステム構成を採用することによって、負荷を分散してプリント出力データの効率を向上することができる。 In addition to those described in the above-mentioned publications, Japanese Patent Application Laid-Open No. 5-108582 discloses that a printer device that has requested print output data has already been in a waiting state in response to print output data requests from other computer devices. A system is disclosed that substitutes another printer device when the number of print output data requests in the waiting state exceeds a certain number or when the print output data is in a stopped state due to a failure or the like. Yes. By adopting such a system configuration, it is possible to distribute the load and improve the efficiency of print output data.
しかしながら、上述した従来技術のそれぞれにおいては、以下のような問題がある。 However, each of the above-described conventional techniques has the following problems.
特開平4-85618号公報および特開平7-129337号公報に記載のものにおいては、印刷データを送出する先のプリンタ装置が印刷可能かどうか(例えば、故障等により印刷停止状態になっていないか)等を確認せずに印刷データを送出するため、故障等により印刷停止状態にあるプリンタ装置に対しても印刷データが送出されてしまうという問題がある。 In the devices described in Japanese Patent Application Laid-Open Nos. 4-85618 and 7-129337, whether or not the printer device to which the print data is sent can be printed (for example, whether it is in a print stop state due to a failure, etc. ) Or the like is transmitted without confirming the print data, and therefore, there is a problem in that the print data is also transmitted to the printer apparatus in a print stop state due to a failure or the like.
特開平5-108582号公報に記載のものにおいては、故障中のプリンタ装置に対して印刷データが送出されることはないものの、保留中のプリント出力データ要求数が一定数以上になった場合にのみ他のプリンタ装置に印刷データを送出するように構成されているため、他に印刷可能な状態のプリンタ装置があっても、保留中のプリント出力データ要求数が一定数以上にならない限りはその印刷可能な状態のプリンタ装置を使用することはできず、その分だけプリント出力データの効率は悪くなる。 In the one described in Japanese Patent Application Laid-Open No. 5-108582, print data is not sent to the printer in failure, but the number of pending print output data requests exceeds a certain number. Since it is configured to send print data only to other printer devices, even if there are other printer devices in a printable state, as long as the number of pending print output data requests does not exceed a certain number, The printer device in a printable state cannot be used, and the efficiency of the print output data is reduced accordingly.
本発明の目的は、印刷中のプリンタ装置や故障等により印刷停止状態にあるプリンタ装置に対してプリント出力データが送出されることのない、印刷待ち時間の少ない自動プリント制御方法を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide an automatic print control method with a low print waiting time, in which print output data is not sent to a printer device that is printing or a printer device that is in a print stop state due to a failure or the like. is there.
上記目的を達成するために、本発明の自動プリント制御方法は、1台のコンピュータ装置と該コンピュータ装置からのプリント出力データを印刷するための複数台のプリンタ装置とが接続され、前記コンピュータ装置が、前記複数台のプリンタ装置のうちから印刷可能な状態にあるプリンタ装置を探索し、該探索で印刷可能な状態にあるとされたプリンタ装置に対してカウント値を取得し、アプリケーション側のカウント値とプリンタのカウント値を比較することによってプリンタの空きバッファを検出して、空きバッファのあるプリンタへプリント出力データを送出する。 In order to achieve the above object, an automatic print control method according to the present invention comprises a computer device connected to a plurality of printer devices for printing print output data from the computer device. The printer device that is in a printable state is searched from among the plurality of printer devices, the count value is obtained for the printer device that is determined to be printable by the search, and the count value on the application side Is compared with the count value of the printer to detect the empty buffer of the printer and send the print output data to the printer having the empty buffer.
本発明によれば、従来のように印刷処理中のプリンタ装置に対して印刷データが送出されることがなく、印刷可能な状態のプリンタ装置があれば、即座に印刷を行うことができ、エラーが発生した場合にも他のプリンタに印刷を振り替えることができるので、印刷待ち時間の少ない自動プリント制御方法を提供することができる。 According to the present invention, print data is not sent to a printer device that is in the process of printing as in the prior art, and if there is a printer device in a printable state, printing can be performed immediately and an error can occur. Since the printing can be transferred to another printer even when the error occurs, it is possible to provide an automatic print control method with a small printing waiting time.
次に、本発明の実施形態について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.
本発明の自動プリント制御方法の一実施形態を図1に示す。この自動プリント制御方法では、プログラム制御により動作するコンピュータ装置1と、コンピュータ装置1からのプリント出力データを印刷するための複数台のプリンタ装置2とがUSBケーブルのネットワーク3により接続されている。
An embodiment of the automatic print control method of the present invention is shown in FIG. In this automatic print control method, a
このコンピュータ装置1におけるプリンタの設定には、使用者が、特定のコードを登録する場合と、予め用意された接続可能なプリンタ装置のリストのうちから印刷を行わせるプリンタ装置を選択し、その選択したプリンタ装置に対応するプリンタ名(特定のプリンタ名)を登録する場合がある。前者の場合には、使用者がコンピュータ装置1から印刷要求を出力すると、該コンピュータ装置1が、ネットワーク3により接続された複数台のプリンタ装置2のうちから印刷可能な状態にあるプリンタ装置を探索し、探索で印刷可能な状態にあるとされたプリンタ装置に対してプリント出力データを送出することにより印刷が行われる。後者の場合には、1対1で対応づけられたプリンタ装置でのみ印刷が行われる。本形態では、前者の場合の動作を実現するために、コンピュータ装置1およびプリンタ装置2は以下のような構成になっている。
In the setting of the printer in the
コンピュータ装置1は、特定の仕事を行わせるアプリケーション部10と、該アプリケーション部10とプリンタ装置2とのインターフェースを主な役割とするインターフェース部11と、プリンタ装置2の制御を行うプリンタドライバ12とを有する。
The
インターフェース部11は、アプリケーション部10からの印刷要求があると、プリンタドライバ12に対して、ネットワーク3により接続されたプリンタ装置2の状態を問い合わせ、該問い合わせに対するプリンタドライバ12からの報告に基づいて、印刷可能な状態にあるプリンタ装置を探索する。この他、インターフェース部11は、上記探索で印刷可能な状態にあるとされたプリンタ装置を指定して、アプリケーション部10からのプリント出力データをプリンタドライバ12に送出する。プリンタドライバ12は、インターフェース部11からの問い合わせに応じて、ネットワーク3により接続されたプリンタ装置2と順次通信して現在のプリンタの状態の報告を受けとり、インターフェース部11が指定したプリンタ装置に対して、アプリケーション部10からのプリント出力データを送出して印刷させる。
When there is a print request from the
プリンタ装置2は、プリンタドライバ12に対して現在のプリンタの状態を報告するプリンタ状態報告部を有する。
The
次に、上述のように構成される自動認識プリント方法の全体の動作について説明する。図2に、本形態の自動認識プリント方式における印刷処理の流れを示す。以下、図2を参照しながら、印刷処理を説明する。 Next, the overall operation of the automatic recognition printing method configured as described above will be described. FIG. 2 shows the flow of printing processing in the automatic recognition printing method of this embodiment. Hereinafter, the printing process will be described with reference to FIG.
まず、使用者がコンピュータ装置1にて印刷要求を行うと、コンピュータ装置1では、アプリケーション部10からインターフェース部11へ印刷要求とともにプリント出力データが送出される。印刷要求を受けたインターフェース部11は、使用者によって設定されたプリンタ名が、特定のコードか、特定のプリンタ名かを確認する。
First, when a user makes a print request on the
プリンタの設定の確認が特定のコードであった場合は、インターフェース部11は、複数台のプリンタ装置2のうちからプリンタ装置を1つ指定してプリンタドライバ12に対してその指定したプリンタ装置のプリンタの印刷ジョブ数を問い合わせる(ステップS10)。インターフェース部11からの問い合わせを受けたプリンタドライバ12は、指定されたプリンタ装置と通信して、そのプリンタ装置のプリンタ状態報告部から現在のプリンタのジョブ数の報告を受け、報告をインターフェース部11に送出する。
If the confirmation of the printer setting is a specific code, the
インターフェース部11は、プリンタドライバ12から受け取った報告に基づいて、指定したプリンタ装置が印刷処理中(Busy)であるか、印刷可能な状態(Ready)であるかを確認する(ステップS11)。プリンタドライバ12からの報告が印刷処理中(Busy)である場合は、インターフェース部11は、複数台のプリンタ装置2のうちから別のプリンタ装置を1つ指定してプリンタドライバ12に対してその指定したプリンタ装置のプリンタの状態を問い合わせる。この処理は、プリンタドライバ12から印刷可能な状態(Ready)である旨の報告がなされるまで、すなわち、印刷可能な状態のプリンタ装置が見つかるまで繰返し行われる。
Based on the report received from the
プリンタドライバ12から印刷可能な状態(Ready)である旨の報告がなされると、インターフェース部11は、プリンタの既に印刷した枚数をカウント値として取得する(ステップS12)。アプリケーション部10は、取得した値を記憶されている送信枚数のカウント値と比較して差が1以下の時には、プリンタに空きバッファがあると判断し、アプリケーション部10からのプリント出力データをプリンタドライバ12に送出し(ステップS13,S14)、アプリケーション部10の送信済みのカウント値を1加える(ステップS15)。
When the
インターフェース部11からプリント出力データを受け取ったプリンタドライバ12は、インターフェース部11が指定した、印刷可能な状態にあるプリンタ装置に対して、そのプリント出力データを送出する。これにより、インターフェース部11が指定した、印刷可能な状態にあるプリンタ装置で、プリント出力データが印刷されることになる。カウント値の差が1より大きかった場合には別のプリンタに切り替える(ステップS16)。
The
上述のステップS11におけるプリンタの設定の確認が特定のプリンタ名であった場合は、インターフェース部11は、プリンタドライバ12に対して、その特定のプリンタ名に対応するプリンタ装置を指定してアプリケーション部10からのプリント出力データを送出する。そして、プリンタドライバ12が、インターフェース部11にて指定されたプリンタ装置に対して、受け取ったプリント出力データを送出する。
If the confirmation of the printer setting in step S11 described above is a specific printer name, the
次に、図3を参照し、プリンタにエラーが発生した場合の処理方法について説明する。
本実施例では、プリンタに2印画分のバッファがある場合で説明する。
印刷ジョブを確認し、印刷ジョブがある場合にはそのプリンタのステータスの取得は行わない(ステップS20)。印刷ジョブがない場合には、プリンタのステータスを取得しエラーが発生していないか確認する(ステップS21、S22)。ここで、印刷ジョブがある場合にステータスの取得を行うと、プリンタに印刷ジョブが無くなってステータスが取得できるまでアプリケーション部10が待ってしまうのを防ぐために、印刷ジョブがある場合にはステータスの取得はしないように構成している。
Next, a processing method when an error occurs in the printer will be described with reference to FIG.
In this embodiment, a case where the printer has a buffer for two prints will be described.
The print job is confirmed, and if there is a print job, the printer status is not acquired (step S20). If there is no print job, the printer status is acquired to check whether an error has occurred (steps S21 and S22). Here, if the status is acquired when there is a print job, the status is acquired when there is a print job in order to prevent the
エラーが発生している場合には、プリンタの印刷枚数のカウント値を取り込み(ステップS23)、アプリケーション側の送信枚数のカウント値との差を比較する。カウント値の差が2の場合には(ステップS24)アプリケーション部10はプリンタに送信した印刷データの前回、前々回のデータを他のプリンタに送信し直す(ステップS25、S27)。ステップS24でカウント値が1の場合にはステップS26に進み、アプリケーション部10は、プリンタに送信した前回の印刷データを他のプリンタに送信し直す。このため、エラーで止まってしまったプリンタがあっても他のプリンタに振り替えて印刷することができるので、高速に多数枚の印刷処理をすることができる。
If an error has occurred, the count value of the number of printed sheets of the printer is fetched (step S23), and the difference from the count value of the number of transmitted sheets on the application side is compared. When the difference between the count values is 2 (step S24), the
1 コンピュータ装置
2 プリンタ
3 ネットワーク
10 アプリケーション部
11 インターフェース部
12 プリンタドライバ
DESCRIPTION OF
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003417462A JP2005182101A (en) | 2003-12-16 | 2003-12-16 | Automatic printing control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003417462A JP2005182101A (en) | 2003-12-16 | 2003-12-16 | Automatic printing control method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005182101A true JP2005182101A (en) | 2005-07-07 |
Family
ID=34779951
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003417462A Pending JP2005182101A (en) | 2003-12-16 | 2003-12-16 | Automatic printing control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005182101A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007034757A (en) * | 2005-07-28 | 2007-02-08 | Ricoh Printing Systems Ltd | Distributed printing system |
JP2007272503A (en) * | 2006-03-31 | 2007-10-18 | Toray Eng Co Ltd | Printing system and printing method |
-
2003
- 2003-12-16 JP JP2003417462A patent/JP2005182101A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007034757A (en) * | 2005-07-28 | 2007-02-08 | Ricoh Printing Systems Ltd | Distributed printing system |
JP4485426B2 (en) * | 2005-07-28 | 2010-06-23 | 株式会社リコー | Distributed printing system |
JP2007272503A (en) * | 2006-03-31 | 2007-10-18 | Toray Eng Co Ltd | Printing system and printing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8804162B2 (en) | Information processing apparatus, printing system, monitoring method, program, and storage medium | |
US8009310B2 (en) | Print control program, method of controlling printing apparatus, and print control unit | |
US8553254B2 (en) | Means to reduce a load on a computer and efficiently manage printing jobs or printing devices jobs | |
KR100363160B1 (en) | Network printing system and processing of waiting job in case of printing error | |
US8749817B2 (en) | Information processing apparatus, method, medium, and system for print job transmission | |
US20040136030A1 (en) | Print job management system | |
JP2007094721A (en) | Printing system | |
JP2011128794A (en) | Information processing method, information processing apparatus, and computer program | |
US8085422B2 (en) | Printing system, printing apparatus, and printing method | |
JP2007164480A (en) | Printing system and method | |
US6883038B2 (en) | Print device and method of acquiring print data with a data link or network | |
JP2006228099A (en) | Server, and method and program for issuing print request | |
JP2005182101A (en) | Automatic printing control method | |
JP2011090599A (en) | Information processing apparatus and method | |
JP2008068441A (en) | Image forming apparatus, image forming method, and program | |
US11151431B2 (en) | Printer and computer-readable medium storing computer-readable instructions | |
JP2003140867A (en) | Network print system and information processing device | |
JP2005275905A (en) | Network device, network printer, output job transfer control program, print job transfer control program, output job transfer control method and print job transfer control method | |
JP2001134388A (en) | Controller for image forming device and printing job monitoring method | |
JP2009184288A (en) | Image printing equipment, printing job transferring method, and printing job transferring program | |
US7433071B2 (en) | Printing method and apparatus of multi function product and computer-readable recording medium for storing computer program for controlling the product | |
JPH11345102A (en) | System and method for automatically controlling print | |
JP2004046581A (en) | Network image output system | |
JP3125997B2 (en) | Print information output device and print system | |
JP2009163634A (en) | Printer, printing system, print management method, print management program, and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20061215 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20070607 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090106 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090227 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20090227 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090728 |