JP2006048155A - Print system - Google Patents
Print system Download PDFInfo
- Publication number
- JP2006048155A JP2006048155A JP2004224461A JP2004224461A JP2006048155A JP 2006048155 A JP2006048155 A JP 2006048155A JP 2004224461 A JP2004224461 A JP 2004224461A JP 2004224461 A JP2004224461 A JP 2004224461A JP 2006048155 A JP2006048155 A JP 2006048155A
- Authority
- JP
- Japan
- Prior art keywords
- information
- communication
- printer
- cache
- category
- 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
本発明は、ローカル接続(IEEE1284、USBなど)によるプリントシステムに関する。 The present invention relates to a printing system using a local connection (IEEE1284, USB, etc.).
プリンタが単機能ではなく、ステープルや両面印刷、電子ソートなどの多彩な機能を有するようになってきた昨今においては、プリンタドライバが機器のオプション構成、すなわちフィニッシャーや両面ユニット、増設ハードディスクなどの装着を確実に把握している必要がある。これをユーザに確実に設定させることは難しいため、プリンタドライバは機器と通信して機器構成情報を取得する双方向通信機能を有することが多い。コンピュータとプリンタが双方向通信手段で接続されたプリントシステムに関連して、例えば、特許文献1〜3が知られている。
双方向通信の方式はいろいろと存在するが、IEEE1284(パラレルインタフェース)やUSBなどの直結型インタフェースでは、印刷データと同じ経路を使用して問い合わせコマンドを送信し、結果を受信するという方式が多い。この場合、印刷データと同じ経路であるため、その経路が使用できない場合、たとえばプリンタがエラーであったり、印刷中でデータが流れていたりする場合には双方向通信はできない。しかしユーザの視点から見ると、プリンタの状態によって双方向通信が成功したりしなかったりするのは分かりにくい。
また、双方向通信の重要性は上記に述べたとおりであるが、コンピュータとプリンタ間の通信処理はコンピュータ内での処理に比べ時間がかかるのが普通である。一方で双方向通信処理はプリンタドライバのユーザインタフェース表示処理内で行うため、処理時間はそのままユーザにとっての使い勝手に直結する。
本発明は、通信結果の使われ方ではなく、通信で取得すべき情報の種類によってキャッシュを行うかどうかを決めることで、機器の状態との乖離を回避しながらキャッシュ情報を活用したプリントシステムを提供することを目的とする。
There are various two-way communication methods. In direct connection type interfaces such as IEEE1284 (parallel interface) and USB, there are many methods in which an inquiry command is transmitted and a result is received using the same route as print data. In this case, since the route is the same as the print data, bi-directional communication is not possible when the route cannot be used, for example, when the printer has an error or data is flowing during printing. However, from the user's point of view, it is difficult to understand whether two-way communication is successful or not depending on the status of the printer.
The importance of bidirectional communication is as described above, but communication processing between a computer and a printer usually takes more time than processing in the computer. On the other hand, since the bidirectional communication process is performed in the user interface display process of the printer driver, the processing time is directly connected to the convenience for the user.
The present invention provides a print system that utilizes cache information while avoiding a deviation from the state of the device by determining whether to perform caching according to the type of information to be acquired through communication, rather than how the communication result is used. The purpose is to provide.
上記目的を達成するために、請求項1記載の発明は、コンピュータと、プリンタドライバ及び他のユーティリティと双方向通信を行うプリンタとからなるプリントシステムにおいて、機器情報取得用の問い合わせコマンドが送信できない場合、直前の通信結果を使用して処理することで擬似的に通信を確立させる擬似通信手段と、前記直前の通信結果をキャッシュ値とし、キャッシュを使用するか否かを情報のカテゴリごとに切り替えるカテゴリ切替手段と、を備えたことを特徴とする。
請求項2記載の発明は、請求項1記載のプリントシステムにおいて、カテゴリ毎のキャッシュ制御を行うプリントシステムを主要な特徴とする。
In order to achieve the above object, the invention described in
According to a second aspect of the present invention, the print system according to the first aspect is characterized in that the print system performs cache control for each category.
本発明によれば、コンピュータと、プリンタドライバやそのほかのユーティリティと双方向通信を行うプリンタとからなるプリントシステムにおいて、機器情報取得用の問い合わせコマンドが送信できない場合、直前の通信結果を使用して処理することで擬似的に通信を確立させる機能を有し、さらに、その直前の通信結果をキャッシュ値とし、キャッシュを使用するかどうかを情報のカテゴリごとに切り替える機能を有することで、機器の状態との乖離を回避しながらキャッシュ情報を活用したプリントシステムを提供することができる。 According to the present invention, in a printing system including a computer and a printer that performs bidirectional communication with a printer driver and other utilities, when an inquiry command for device information acquisition cannot be transmitted, processing is performed using the immediately preceding communication result. In addition, it has a function to establish communication in a pseudo manner, and also has a function to switch whether to use the cache for each category of information by using the communication result immediately before as a cache value, It is possible to provide a print system that utilizes cache information while avoiding the divergence.
以下、図面を参照して、本発明の実施形態を詳細に説明する。
図1は本発明の実施の形態に係るプリントシステムの構成図である。本プリントシステムは、コンピュータ1とプリンタ2が、ローカルインタフェース3(例としてはIEEE1284(パラレルインタフェース)、USBインタフェースなど)で接続されることで構成されている。
コンピュータ1では、アプリケーションソフト11、プリンタ状態表示モニタ12が、公知のオペレーティングシステム13の上で動作する。プリンタドライバ14は、オペレーティングシステム13の一コンポーネントとして動作する。
また、プリンタドライバ14は、通信モジュール15を使用して機器と通信することができる。通信モジュール15はプリンタドライバ14だけでなく、他のアプリケーション、たとえばプリンタ状態表示モニタ12などからも呼ばれることができる。
ローカルインタフェース3は、コンピュータ1からのデータを書込む書込み経路31と、機器からのデータを受け取るための読込み経路32、そして制御用経路33(IEEE1284の場合、Device ID要求とその応答など)を持つ。
通信モジュール15は、機器構成などの情報を取得するため、ローカルインタフェース3の書込み経路31を経由して機器構成を問い合わせるためのコマンドを送信し、読込み経路32から結果を受信する。一部の情報は制御用経路33から得られる。通信モジュール15は、受信結果を処理して機器構成を得ることができる。
通信モジュール15は、このようにして得られた機器構成をプリンタ情報データ16として保存する。保存形式は通信モジュール15の起動・終了とは独立して永続性があるものが望ましい。ファイル、レジストリ(Microsoft社のWindows(登録商標)OSが提供しているデータ保管手順)などが考えられる。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a configuration diagram of a print system according to an embodiment of the present invention. This print system is configured by connecting a
In the
Further, the printer driver 14 can communicate with a device using the communication module 15. The communication module 15 can be called not only from the printer driver 14 but also from other applications such as the printer status display monitor 12.
The
The communication module 15 transmits a command for inquiring about the device configuration via the write path 31 of the
The communication module 15 stores the device configuration thus obtained as printer information data 16. It is desirable that the storage format is permanent independent of the activation / termination of the communication module 15. A file, a registry (a data storage procedure provided by a Windows (registered trademark) OS of Microsoft Corporation), or the like can be considered.
図2は本発明のプリントシステムにおける基本動作のフローチャートである。まず、通信処理が開始されると、プリンタ情報の鮮度が必要かを判断する(S1)。必要であれば直前の成功時のプリンタ情報(1)が有るか否かをチェックし(S2)、ある場合は情報(1)を通信結果としてキャッシュ値を利用してもよい情報か否かを判断して(S4)、キャッシュでも有用であれば通信成功とする。ステップS4でキャッシュでは意味がなければ通信を失敗とする。ステップS1で鮮度が必要であれば機器は現在機器構成情報の問い合わせが可能かを判断し(S5)不可能であればステップS2に進み、可能であればプリンタと通信して情報を取得し(S6)、通信が成功した場合(S7ではいの場合)通信結果をプリンタ情報(1)として保存する(S8)。
プリンタ2から取得すべき情報の鮮度が必要かどうか(判断A)で処理が分かれる。情報の鮮度が不要である場合は、通信モジュール15はプリンタ情報データ16を読込み、その値を通信の結果として返す。
情報の鮮度の要否については情報の使われ方による。たとえばプリンタ状態表示モニタ12がプリンタの機器構成、すなわち装着オプションなどをビットマップ表示する場合には、機器構成は表示だけの問題であるため、必ずしも最新である必要ではない。しかし、プリンタドライバ14については機器構成を制御、たとえば両面ユニットが装着されている場合のみ両面機能を有効にするなどといった処理に使用するため、情報の鮮度を必要とする。
FIG. 2 is a flowchart of basic operations in the printing system of the present invention. First, when the communication process is started, it is determined whether the printer information needs to be fresh (S1). If necessary, it is checked whether there is printer information (1) at the time of the previous success (S2). If there is, it is determined whether the information (1) can be used as a result of communication and the cache value is usable. Judgment is made (S4), and if the cache is useful, the communication is successful. If there is no meaning in the cache in step S4, communication is failed. If freshness is required in step S1, the device determines whether it is currently possible to query device configuration information (S5). If not, the device proceeds to step S2, and if possible, communicates with the printer to obtain information ( S6) If the communication is successful (if S7 is negative), the communication result is saved as printer information (1) (S8).
Processing is divided depending on whether or not the freshness of information to be acquired from the
Whether information freshness is necessary depends on how the information is used. For example, when the printer status display monitor 12 displays a printer device configuration, that is, a mounting option or the like in a bitmap display, the device configuration is only a display problem, and is not necessarily the latest. However, since the printer driver 14 is used for processing such as controlling the device configuration, for example, enabling the double-sided function only when the double-sided unit is installed, the information needs to be fresh.
プリンタ2の情報を取得する必要がある場合、実際に必要な情報が取得可能な状態であるかどうかをチェックする。具体的には、ローカルインタフェース3の書込み経路32に、機器情報の問い合わせコマンドを書込むことができる状態かどうかをチェックする。
この方法として、実際に書込んでみてエラーをチェックする方法、機器のステータスをチェックして判断する方法があるが、書込んでみてエラーをチェックする方法だと、オペレーティングシステム11の実装によってはタイムアウトまで時間がかかったり、後の印刷処理を含む通信に影響を及ぼしたりすることがあるため、機器のステータスをチェックする方法の方が適切である。
書込み経路32が有効かどうかのチェック方法としては、プリンタ2の実装によるが、制御用経路33経由で返すようにする、あるいは、たとえば制御用経路33の直後の読込み経路31に読込み要求をかけたときに返すようにする、などの方法がある。
情報が取得可能である場合は、通信モジュール15はプリンタ2から情報を取得し、その結果をプリンタ情報データ16に保存する。情報取得が不可能な場合は、通信モジュール15はプリンタ情報データ16の内容を通信結果として返す。ただし、キャッシュした値を有効なものとして扱わない場合もある(判断B)。
When it is necessary to acquire information of the
As this method, there are a method of checking the error by actually writing it, and a method of checking and judging the status of the device. However, depending on the implementation of the operating system 11, a time-out may occur depending on the implementation of the operating system 11. The method of checking the status of the device is more appropriate because it may take a long time or may affect the communication including later printing processing.
A method for checking whether the writing path 32 is valid depends on the implementation of the
If the information can be acquired, the communication module 15 acquires information from the
本発明の要旨は、上記処理、とくに図2の「判断A」「判断B」を、情報のカテゴリごとに使い分けることができる、というものである。請求項1は判断Bを、請求項2は判断Aを、それぞれカテゴリごとに使い分けるという発明になる。図3は、情報カテゴリによる判断の例である。
請求項1の例として、プリンタ2のステータス、すなわち待機状態、カバーオープン、紙詰まりなどはキャッシュ値を取っても意味がないため、判断Bは「キャッシュでは意味なし」となる。一方、プリンタ2の機器構成はそれほど頻繁に変動するものではないため、「キャッシュでも有用」となる。
請求項2の例として、プリンタ2の機器構成は、頻繁に変動しないとはいえ取得できるのであれば取得した方がよい。すなわち判断Aは「鮮度は必要」である。一方で、一度取得した後は変わらない永続性のある情報、たとえばプリンタ2のシリアル番号などについては「鮮度は不要」である。
もちろん判断Bは、情報カテゴリだけではなく情報の応用、すなわちプリンタドライバ14で使用されるか、プリンタ状態表示モニタ12で使用されるか、でも変わりうる。
本実施形態においては、図2の判断Bを情報カテゴリごとに持つことができるので、鮮度が必要な情報がそのときに取れないときには、通信失敗を利用者に通知し、鮮度が不要な情報についてはキャッシュを有効に活用してプリンタ2の状態を隠蔽する、などといったことができるようになる。
また、図2の判断Aを情報カテゴリごとに持つことができるので、永続性のある情報については毎回通信を行うことなく、一度きりの通信とすることで、通信コストを削減することができる。
The gist of the present invention is that the above-described processing, in particular, “determination A” and “determination B” in FIG. 2 can be properly used for each category of information.
As an example of
As an example of
Of course, the decision B can change not only in the information category but also in the application of information, that is, whether it is used by the printer driver 14 or the printer status display monitor 12.
In this embodiment, it is possible to have the judgment B of FIG. 2 for each information category. Therefore, when information that requires freshness cannot be obtained at that time, a communication failure is notified to the user, and information that does not require freshness is used. Can effectively use the cache to conceal the state of the
In addition, since it is possible to have the judgment A of FIG. 2 for each information category, communication cost can be reduced by performing communication once for persistent information without performing communication every time.
1 コンピュータ、2 プリンタ、3 ローカルインタフェース、11 アプリケーションソフト、12 プリンタ状態表示モニタ、13 オペレーティングシステム、14 プリンタドライバ、15 通信モジュール 1 Computer, 2 Printer, 3 Local interface, 11 Application software, 12 Printer status display monitor, 13 Operating system, 14 Printer driver, 15 Communication module
Claims (2)
2. The printing system according to claim 1, wherein cache control is performed for each category.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004224461A JP2006048155A (en) | 2004-07-30 | 2004-07-30 | Print system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004224461A JP2006048155A (en) | 2004-07-30 | 2004-07-30 | Print system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006048155A true JP2006048155A (en) | 2006-02-16 |
Family
ID=36026664
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004224461A Pending JP2006048155A (en) | 2004-07-30 | 2004-07-30 | Print system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006048155A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9836258B2 (en) | 2015-05-29 | 2017-12-05 | Canon Kabushiki Kaisha | Information processing apparatus, control method, and non-transitory computer-readable recording medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1093630A (en) * | 1996-07-15 | 1998-04-10 | At & T Corp | Communication network traffic reporting system |
JPH10303931A (en) * | 1997-02-03 | 1998-11-13 | Canon Inc | Network device controller and method |
JP2000017961A (en) * | 1998-06-30 | 2000-01-18 | France Bed Co Ltd | Door device of furniture or fittings, etc. |
JP2000148632A (en) * | 1998-11-13 | 2000-05-30 | Canon Inc | Method and device for managing information of network device and storage medium |
JP2002094520A (en) * | 2000-09-11 | 2002-03-29 | Ricoh Co Ltd | Computer, two-way communication system using it for component, its control method and recording medium for recording its control program |
-
2004
- 2004-07-30 JP JP2004224461A patent/JP2006048155A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1093630A (en) * | 1996-07-15 | 1998-04-10 | At & T Corp | Communication network traffic reporting system |
JPH10303931A (en) * | 1997-02-03 | 1998-11-13 | Canon Inc | Network device controller and method |
JP2000017961A (en) * | 1998-06-30 | 2000-01-18 | France Bed Co Ltd | Door device of furniture or fittings, etc. |
JP2000148632A (en) * | 1998-11-13 | 2000-05-30 | Canon Inc | Method and device for managing information of network device and storage medium |
JP2002094520A (en) * | 2000-09-11 | 2002-03-29 | Ricoh Co Ltd | Computer, two-way communication system using it for component, its control method and recording medium for recording its control program |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9836258B2 (en) | 2015-05-29 | 2017-12-05 | Canon Kabushiki Kaisha | Information processing apparatus, control method, and non-transitory computer-readable recording medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20160134774A1 (en) | Information processing device, method, and program | |
US7990558B2 (en) | Information processing apparatus and data output management system to restrict printing operations | |
US20060095924A1 (en) | Method for installing driver software, information processing apparatus that employs the method, computer program for performing the method, and storage medium for storing the computer program | |
US9152365B2 (en) | Image processing apparatus, network system, information processing method, program, and storage medium | |
JP4926748B2 (en) | Information processing apparatus and control method thereof | |
US8332843B2 (en) | Information processing apparatus and control method for installing driver software | |
US8059306B2 (en) | System and method for controlling print device | |
JP3789062B2 (en) | Information processing apparatus, data processing method, and storage medium storing computer-readable program | |
US20140009774A1 (en) | Print processing system | |
US20080151295A1 (en) | Method of setting up port of network printing device automatically and network printing device thereof | |
JP4437782B2 (en) | Image forming apparatus and printing system | |
US9077837B2 (en) | Image processing apparatus | |
JP2006048155A (en) | Print system | |
US8270017B2 (en) | Network card device for determining permissibility for processing data from a data source and method of controlling the same | |
US7533200B2 (en) | Printer, processing method, program, and storage medium | |
JP2007179371A (en) | Printing system | |
JP2005335390A (en) | Lengthening of life span of printer | |
US20190325761A1 (en) | Information processing device, method, and program | |
JP4641355B2 (en) | Proxy processing management system, proxy processing management device, control method, and storage medium | |
US20100157364A1 (en) | Printing control method and printing control terminal device | |
JP5034802B2 (en) | Printer | |
JP2005122224A (en) | External electronic storage medium having virtual information processing device function and virtual printing device function | |
JP2005346738A (en) | Server, printer appliance information producing device, printer appliance information setting method, printer appliance information producing method, program and recording medium | |
JP2005018153A (en) | Font management device | |
JP2007066145A (en) | Image forming system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070524 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070622 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20070706 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20070706 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090525 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100202 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100401 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100706 |