JP2006190218A - Printing system and method - Google Patents
Printing system and method Download PDFInfo
- Publication number
- JP2006190218A JP2006190218A JP2005003157A JP2005003157A JP2006190218A JP 2006190218 A JP2006190218 A JP 2006190218A JP 2005003157 A JP2005003157 A JP 2005003157A JP 2005003157 A JP2005003157 A JP 2005003157A JP 2006190218 A JP2006190218 A JP 2006190218A
- Authority
- JP
- Japan
- Prior art keywords
- configuration information
- device configuration
- printing
- stored
- communication
- 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 printing system comprising a host device that issues a print request and a printing device that performs printing in response to the print request, and more particularly, to host bidirectional communication including transfer of print data using the same communication path. The present invention relates to a printing system and a printing method performed between an apparatus and a printing apparatus.
印刷要求を出すホスト装置と、その印刷要求を伝送路経由で受け取って印刷出力を行う印刷装置から成る従来より良く知られている印刷システムでは、ホスト装置から印刷装置への印刷データの転送だけでなく、印刷装置からホスト装置へのデータの転送があり、この印刷装置からのデータを用いてシステムの最適化を図ったりすることが一般に行われている。例えば、印刷装置が機種によって異なる機能を有する場合にホスト装置側で機種に適応した機能を設定するために、あるいは印刷装置を複数のホスト装置で共用する場合に印刷要求時の印刷装置の機器構成や動作状態に適応した設定や動作をさせるために必要な情報として、ホスト装置側で各印刷装置の機器構成情報や印刷要求時の印刷装置の動作状態情報など印刷装置の機器情報を取得したりするのである。その背景には、近年、印刷装置の多機能化が進み、ステープルや両面印刷、電子ソートといった多彩な機能を有するようになってきたために、このような機能をホスト装置から利用するためには、印刷装置に印刷要求を出すホスト装置の例えばプリンタドライバが機器のオプション構成(ステープルや両面印刷、電子ソートといった機能を有する例では、フィニッシャや両面印刷機構、増設ハードディスクなどの装備)を確実に把握していなければならないということがあった。
このような多彩な機能の利用は機器構成情報をプリンタドライバなどに設定することにより可能になるが、利用者側で確実な機器構成情報設定(印刷モード設定)をあらかじめ行うことは困難を伴う。そのため、プリンタドライバでは双方向通信インタフェースにより印刷装置側と通信して機器構成情報を取得し、自動設定することが多い。
従来の印刷システムで利用している双方向通信インタフェースにも各種方式がある。例えばIEEE1284(パラレルインタフェース)など直結型インタフェースの場合には、機器情報の取得の際、まず問い合わせコマンドを送信するが、このコマンドの送信は印刷データと同じ通信経路(例えば物理的に1つの伝送路に複数設定できる仮想的な通信路)を用い、問い合わせコマンド送信後、問い合わせの結果を受信することが多い。この場合、印刷データと同じ通信経路であるので、その通信経路が使用できない場合、例えば印刷装置がエラーで中止状態にあったり、印刷中でデータが流れていたりする場合には、問い合わせコマンドを送信できず、印刷のための一連の通信を行えないので、ホスト装置側の処理が中止されてしまう。
一方、特許文献1に示された従来技術では、図3に示したように、LAN上に複数のクライアントPC21とサーバコンピュータ22と複数の印刷装置23を備え、クライアントPC21からの印刷要求を印刷装置23が実行するが、その際、サーバコンピュータ22は、複数の印刷装置23内のリソースデータ(機器構成情報)およびそのリソースデータの属性情報(作成日や更新回数)を取得し、取得したリソースデータおよび前記属性情報を保持し、各印刷装置23のリソースデータの更新状況を前記属性情報に基づき判断する。また、保持したリソースデータおよび前記属性情報をキャッシュ的に用いる。
Although such various functions can be used by setting device configuration information in a printer driver or the like, it is difficult to perform reliable device configuration information setting (print mode setting) in advance on the user side. For this reason, printer drivers often communicate with the printing apparatus side via a bidirectional communication interface to acquire device configuration information and automatically set it.
There are various types of bidirectional communication interfaces used in conventional printing systems. For example, in the case of a direct connection type interface such as IEEE1284 (parallel interface), when acquiring device information, an inquiry command is first transmitted. In many cases, the result of the inquiry is received after sending the inquiry command. In this case, since the communication path is the same as the print data, if the communication path cannot be used, for example, if the printing device is in an aborted state due to an error or if data is flowing during printing, an inquiry command is sent. This is impossible, and a series of communications for printing cannot be performed, so that the processing on the host device side is stopped.
On the other hand, in the prior art disclosed in Patent Document 1, as shown in FIG. 3, a plurality of
前記したように、従来技術においては、機器構成情報取得のための問い合わせコマンド送信時、例えば印刷装置がエラーで中止状態にあったり、印刷中で印刷データが流れていたりすると、問い合わせコマンドを送信できず、印刷のための一連の通信を行えないので、ホスト装置側の処理が中止されてしまうという問題があった。
そのため、当出願者による先願では、機器構成情報取得のための問い合わせコマンドを送信できない場合、代わりに過去の通信結果を用いて処理することにより印刷のための通信を続行させている。しかし、機器構成情報をキャッシュ的に用いるような方法を講じていないので、問い合わせコマンドを送信する場合には、その分だけ余分に通信時間を要する。
また、特許文献1に示された従来技術では、機器構成情報をキャッシュ的に取得しているが、それにより、実際の機器構成と得られた機器構成情報との乖離が利用者の意図より大きくなるということがあった。
本発明の目的は、このような従来技術の問題を解決しようとするものであり、具体的には、印刷装置の機器構成情報をキャッシュ的に取得することにより印刷を行う際の通信時間を短縮できるようにするとともに、実際の機器構成と得られた機器構成情報との乖離が利用者の意図より大きくなるのを回避できる印刷システムなどを提供することにある。
As described above, in the prior art, when an inquiry command for acquiring device configuration information is transmitted, for example, if the printing apparatus is in an aborted state due to an error or print data is flowing during printing, the inquiry command can be transmitted. Therefore, since a series of communications for printing cannot be performed, there is a problem that processing on the host device side is stopped.
Therefore, in the prior application by the present applicant, when an inquiry command for acquiring device configuration information cannot be transmitted, communication for printing is continued by processing using a past communication result instead. However, since a method for using the device configuration information in a cache manner is not taken, when an inquiry command is transmitted, an extra communication time is required.
In the prior art disclosed in Patent Document 1, the device configuration information is acquired in a cache manner, and as a result, the difference between the actual device configuration and the obtained device configuration information is larger than the user's intention. There was to be.
An object of the present invention is to solve such a problem of the prior art. Specifically, the communication time when printing is shortened by acquiring the device configuration information of the printing apparatus in a cache manner. Another object of the present invention is to provide a printing system that can prevent the deviation between the actual device configuration and the obtained device configuration information from becoming larger than the user's intention.
前記した課題を解決するために、請求項1記載の発明では、同一の通信経路を用いて印刷データの転送を含む双方向通信をホスト装置と印刷装置との間で行う印刷システムにおいて、機器構成情報取得のための問い合わせコマンドを前記印刷装置へ出した際、当該コマンドの双方向通信に成功した場合、該双方向通信の通信結果として取得した機器構成情報を記憶することにより最新の機器構成情報を記憶しておく機器情報記憶手段と、該機器情報記憶手段に記憶されている前記最新の機器構成情報を用いるか否かをあらかじめ設定しておく設定手段と、制御手段とを備え、前記制御手段は前記設定手段により前記最新の機器構成情報を用いる旨が設定されていた場合、アプリケーション処理側から印刷依頼があったとき、前記最新の機器構成情報が保存されているか否かを判定し、前記機器構成情報が保存されていたならば、問い合わせコマンドを出す代わりに前記機器構成情報に基づいた印刷要求を前記印刷装置へ出すための通信処理へ進むように制御することを特徴とする。
また、請求項2記載の発明では、請求項1記載の印刷システムにおいて、前記制御手段は前記問い合わせコマンドを周期的に出し、そのときに取得した機器構成情報をその都度記憶するように制御することを特徴とする。
また、請求項3記載の発明では、請求項1または請求項2記載の印刷システムにおいて、前記制御手段は機器構成情報が保存されているか否かを判定したとき、機器構成情報が保存されていなければ、前記問い合わせコマンドを出して前記機器構成情報を取得し、当該機器構成情報を保存するとともに、その機器構成情報に基づいた印刷要求を印刷装置へ出すための通信処理へ進むように制御することを特徴とする。
また、請求項4記載の発明では、請求項1または請求項2記載の印刷システムにおいて、前記制御手段は前記設定手段により前記最新の機器構成情報を用いない旨が設定されていた場合、アプリケーション処理側から印刷依頼があったとき、前記問い合わせコマンドを出して前記機器構成情報を取得し、当該機器構成情報に基づいた印刷要求を前記印刷装置へ出すための通信処理へ進むように制御することを特徴とする。
In order to solve the above-described problem, according to the first aspect of the present invention, in the printing system that performs bidirectional communication including transfer of print data between the host apparatus and the printing apparatus using the same communication path, the device configuration When an inquiry command for information acquisition is issued to the printing apparatus, when the two-way communication of the command is successful, the latest device configuration information is stored by storing the device configuration information acquired as a communication result of the two-way communication. Device information storage means for storing the information, setting means for setting in advance whether or not to use the latest device configuration information stored in the device information storage means, and control means. When the setting means has set that the latest device configuration information is to be used, when the application processing side issues a print request, the latest device configuration information It is determined whether or not information is stored. If the device configuration information is stored, communication processing for issuing a print request based on the device configuration information to the printing apparatus instead of issuing an inquiry command is performed. It is characterized by controlling to proceed.
According to a second aspect of the present invention, in the printing system according to the first aspect, the control means periodically issues the inquiry command and controls to store the device configuration information acquired at that time each time. It is characterized by.
According to a third aspect of the present invention, in the printing system according to the first or second aspect, when the control unit determines whether the device configuration information is stored, the device configuration information must be stored. For example, the device obtains the device configuration information by issuing the inquiry command, stores the device configuration information, and controls to proceed to a communication process for issuing a print request based on the device configuration information to the printing apparatus. It is characterized by.
According to a fourth aspect of the present invention, in the printing system according to the first or second aspect, when the control unit is set to not use the latest device configuration information by the setting unit, application processing is performed. Control to proceed to a communication process for issuing the inquiry command to obtain the device configuration information and issuing a print request based on the device configuration information to the printing apparatus when a print request is received from the side. Features.
また、請求項5記載の発明では、請求項4記載の印刷システムにおいて、前記制御手段は前記印刷装置側または通信経路の事情により印刷装置に対して問い合わせコマンドを送信できない場合、保存されている機器構成情報に基づいた印刷要求を印刷装置へ出すための通信処理へ進むように制御することを特徴とする。
また、請求項6記載の発明では、請求項1乃至請求項5のいずれか一項に記載の印刷システムにおいて、前記制御手段は取得した機器構成情報を記憶しておくライフタイムを指定するライフタイム指定手段を備え、当該機器構成情報の記憶時から指定されたライフタイムが経過してもその機器構成情報が記憶されていた場合、その機器構成情報を消去するように制御することを特徴とする。
また、請求項7記載の発明では、請求項1乃至請求項5のいずれか一項に記載の印刷システムにおいて、前記制御手段は前記問い合わせコマンドを周期的に前記印刷装置へ出したときに当該コマンドの双方向通信に連続して所定回数失敗した場合、または前記印刷装置の電源断を検出したとき、記憶されている機器構成情報を消去するように制御することを特徴とする。
また、請求項8記載の発明では、請求項1乃至請求項7のいずれか一項に記載の印刷システムにおいて、前記制御手段は記憶されている機器構成情報の消去を指示する消去指示手段を備え、該消去指示手段により前記機器構成情報の消去が指示されたとき、記憶されている機器構成情報を消去するように制御することを特徴とする。
According to a fifth aspect of the present invention, in the printing system according to the fourth aspect, when the control unit cannot transmit an inquiry command to the printing apparatus due to the printing apparatus side or a communication path, the stored device is stored. Control is performed to proceed to a communication process for issuing a print request based on the configuration information to the printing apparatus.
According to a sixth aspect of the present invention, in the printing system according to any one of the first to fifth aspects, the control means specifies a lifetime for storing the acquired device configuration information. The apparatus includes a specifying unit, and controls to delete the device configuration information when the device configuration information is stored even after the specified lifetime has elapsed since the storage of the device configuration information. .
According to a seventh aspect of the present invention, in the printing system according to any one of the first to fifth aspects, when the control means periodically issues the inquiry command to the printing apparatus, the command When the two-way communication is continuously failed a predetermined number of times, or when a power-off of the printing apparatus is detected, the stored device configuration information is controlled to be erased.
According to an eighth aspect of the present invention, in the printing system according to any one of the first to seventh aspects, the control means includes an erasure instruction means for instructing erasure of stored device configuration information. The erasing instruction means controls to erase the stored device configuration information when instructed to erase the device configuration information.
また、請求項9記載の発明では、同一の通信経路を用いて印刷データの転送を含む双方向通信をホスト装置と印刷装置との間で行なって印刷を実行する印刷方法において、機器構成情報取得のための問い合わせコマンドを印刷装置へ出した際、その双方向通信に成功した場合、その通信結果として取得した機器構成情報を記憶することにより最新の機器構成情報を記憶しておき、記憶されている前記最新の機器構成情報を用いる旨が設定されていた場合、アプリケーション処理側から印刷依頼があったとき、前記最新の機器構成情報が保存されているか否かを判定し、前記機器構成情報が保存されていたならば、問い合わせコマンドを出す代わりにその機器構成情報に基づいた印刷要求を印刷装置へ出すための通信処理へ進み、前記機器構成情報が保存されていなければ、前記問い合わせコマンドを出して前記機器構成情報を取得し、その機器構成情報に基づいた印刷要求を印刷装置へ出すための通信処理へ進む構成にした。
また、請求項10記載の発明では、請求項9記載の発明において、前記最新の機器構成情報を用いない旨が設定されていた場合、アプリケーション処理側から印刷依頼があったとき、前記問い合わせコマンドを出して機器構成情報を取得し、その機器構成情報に基づいた印刷要求を印刷装置へ出すための通信処理へ進む構成にした。
また、請求項11記載の発明では、請求項10記載の発明において、アプリケーション処理側から印刷依頼があったときに前記印刷装置側または通信経路の事情により印刷装置に対して問い合わせコマンドを送信できない場合、保存されている機器構成情報に基づいた印刷要求を印刷装置へ出すための通信処理へ進む構成にした。
According to a ninth aspect of the present invention, in the printing method for executing printing by performing bidirectional communication including transfer of print data between the host device and the printing device using the same communication path, the device configuration information is acquired. When the two-way communication is successful when issuing an inquiry command for the printer, the latest device configuration information is stored by storing the device configuration information acquired as a result of the communication. If it is set to use the latest device configuration information, when there is a print request from the application processing side, it is determined whether or not the latest device configuration information is stored, and the device configuration information is If stored, instead of issuing an inquiry command, the process proceeds to communication processing for issuing a print request based on the device configuration information to the printing apparatus, and the device configuration If not broadcast is stored, and the configuration in which the query by issuing the command to acquire the device configuration information, the process proceeds to the communication processing for issuing a print request based on the device configuration information to the printing apparatus.
Further, in the invention described in claim 10, in the invention described in claim 9, when it is set that the latest device configuration information is not used, when the application processing side issues a print request, the inquiry command is issued. The device configuration information is acquired, and the process proceeds to communication processing for issuing a print request based on the device configuration information to the printing apparatus.
Further, in the invention described in
本発明によれば、請求項1記載の発明では、機器構成情報取得のための問い合わせコマンドを印刷装置へ出してその双方向通信に成功したとき、その通信結果として取得した機器構成情報を記憶することにより最新の機器構成情報を記憶しておき、その最新の機器構成情報を用いる旨が設定されていた場合、アプリケーション処理側から印刷依頼があったとき、最新の機器構成情報が保存されているか否かを判定し、機器構成情報が保存されていたならば、問い合わせコマンドを出す代わりにその機器構成情報に基づいた印刷要求を印刷装置へ出すための通信処理へ進むことができるので、印刷を行う際の通信時間を短縮できるし、状況によっては問い合わせコマンドを出して実際の機器構成と得られた機器構成情報との乖離を小さくする選択も可能になる。
また、請求項2記載の発明では、請求項1記載の発明において、問い合わせコマンドを周期的に出し、そのときに取得した機器構成情報をその都度記憶できるので、記憶されている機器構成情報がより最新の情報になり、したがって、実際の機器構成と得られた機器構成情報との乖離を小さくできる。
また、請求項3記載の発明では、請求項1または請求項2記載の発明において、機器構成情報が保存されているか否かを判定したとき、機器構成情報が保存されていなければ、問い合わせコマンドを出して前記機器構成情報を取得し、その機器構成情報を保存するとともに、その機器構成情報に基づいた印刷要求を印刷装置へ出すための通信処理へ進むことができるので、機器構成情報が保存されていないために印刷できなくなる事態を回避できる。
According to the present invention, in the invention described in claim 1, when the inquiry command for acquiring the device configuration information is issued to the printing apparatus and the two-way communication is successful, the device configuration information acquired as the communication result is stored. If the latest device configuration information is stored and it is set to use the latest device configuration information, is the latest device configuration information saved when an application processing request is received? If the device configuration information has been stored, instead of issuing an inquiry command, it is possible to proceed to a communication process for issuing a print request based on the device configuration information to the printing apparatus. It is possible to shorten the communication time when performing, and in some situations, issue an inquiry command to reduce the difference between the actual device configuration and the obtained device configuration information. It also becomes possible.
Further, in the invention described in
Further, in the invention described in
また、請求項4記載の発明では、請求項1または請求項2記載の発明において、最新の機器構成情報を用いない旨が設定されていた場合、アプリケーション処理側から印刷依頼があったとき、問い合わせコマンドを出して機器構成情報を取得し、その機器構成情報に基づいた印刷要求を印刷装置へ出すための通信処理へ進むことができるので、実際の機器構成と得られた機器構成情報との乖離が利用者の意図より大きくなるのを回避できる。
また、請求項5記載の発明では、請求項4記載の発明において、印刷装置側または通信経路の事情により印刷装置に対して問い合わせコマンドを送信できない場合、保存されている機器構成情報に基づいた印刷要求を印刷装置へ出すための通信処理へ進むことがきるので、問い合わせコマンドを送信できないために印刷できなくなる事態を回避できる。
また、請求項6記載の発明では、請求項1乃至請求項5のいずれか一項に記載の発明において、当該機器構成情報の記憶時から指定されたライフタイムが経過してもその機器構成情報が記憶されていた場合、その機器構成情報を消去できるので、古い機器構成情報が用いられてしまうという事態を回避できる。
また、請求項7記載の発明では、請求項1乃至請求項5のいずれか一項に記載の発明において、問い合わせコマンドを周期的に印刷装置へ出したときにその双方向通信に連続して所定回数失敗した場合、または印刷装置の電源断を検出したとき、記憶されている機器構成情報を消去できるので、請求項6記載の発明の場合と同様に、古い機器構成情報が用いられてしまうという事態を回避できる。
また、請求項8記載の発明では、請求項1乃至請求項7のいずれか一項に記載の発明において、消去が指示されたときに記憶されている機器構成情報を消去できるので、利用者の意図に応じて、実際の機器構成から乖離していない機器構成情報を得ることができる。
Also, in the invention described in
Further, in the invention described in
Further, in the invention according to
According to a seventh aspect of the present invention, in the invention according to any one of the first to fifth aspects, when an inquiry command is periodically issued to the printing apparatus, the bi-directional communication is continuously performed. Since the stored device configuration information can be erased when the number of times fails or when the power supply of the printing apparatus is detected, the old device configuration information is used as in the case of the invention of
Further, in the invention according to
また、請求項9記載の発明では、機器構成情報取得のための問い合わせコマンドを印刷装置へ出してその双方向通信に成功したとき、その通信結果として取得した機器構成情報を記憶することにより最新の機器構成情報を記憶しておき、記憶されている最新の機器構成情報を用いる旨が設定されていた場合、アプリケーション処理側から印刷依頼があったとき、前記最新の機器構成情報が保存されているか否かを判定し、機器構成情報が保存されていたならば、問い合わせコマンドを出す代わりにその機器構成情報に基づいた印刷要求を印刷装置へ出すための通信処理へ進み、機器構成情報が保存されていなければ、問い合わせコマンドを出して機器構成情報を取得し、その機器構成情報に基づいた印刷要求を印刷装置へ出すための通信処理へ進むので、印刷を行う際の通信時間を短縮できるし、状況によっては問い合わせコマンドを出して実際の機器構成と得られた機器構成情報との乖離を小さくする選択も可能になる。また、機器構成情報が保存されていないために印刷できなくなる事態を回避できる。
また、請求項10記載の発明では、請求項9記載の発明において、最新の機器構成情報を用いない旨が設定されていた場合、アプリケーション処理側から印刷依頼があったとき、問い合わせコマンドを出して機器構成情報を取得し、その機器構成情報に基づいた印刷要求を印刷装置へ出すための通信処理へ進むので、実際の機器構成と得られた機器構成情報との乖離が利用者の意図より大きくなるのを回避できる。
また、請求項11記載の発明では、請求項10記載の発明において、アプリケーション処理側から印刷依頼があったときに印刷装置側または通信経路の事情により印刷装置に対して問い合わせコマンドを送信できない場合、保存されている機器構成情報に基づいた印刷要求を印刷装置へ出すための通信処理へ進むので、問い合わせコマンドを送信できないために印刷できなくなる事態を回避できる。
According to the ninth aspect of the present invention, when the inquiry command for acquiring the device configuration information is issued to the printing apparatus and the two-way communication is successful, the latest device configuration information is stored as a result of the communication. Whether the latest device configuration information is stored when a print request is received from the application processing side when device configuration information is stored and the use of the latest stored device configuration information is set. If the device configuration information has been saved, instead of issuing an inquiry command, the process proceeds to a communication process for issuing a print request based on the device configuration information to the printing apparatus, and the device configuration information is saved. If not, a communication process to issue an inquiry command to acquire device configuration information and to issue a print request based on the device configuration information to the printing device Since the process proceeds, to be shortened communication time when printing, depending on the situation becomes possible selection to reduce the deviation of the device configuration information obtained from the actual device configuration issue the query command. Further, it is possible to avoid a situation in which printing cannot be performed because the device configuration information is not stored.
In the invention described in claim 10, in the invention described in claim 9, when it is set that the latest device configuration information is not used, an inquiry command is issued when a print request is issued from the application processing side. The device configuration information is acquired and the process proceeds to a communication process for issuing a print request based on the device configuration information to the printing apparatus. Therefore, the difference between the actual device configuration and the obtained device configuration information is larger than the user's intention. Can be avoided.
In the invention described in
以下、図面により本発明の実施形態を詳細に説明する。但し、この実施形態に記載される構成要素、種類、組み合わせ、形状、その相対位置などは特定的な記載がない限りこの説明の範囲をそれのみに限定する主旨ではなく、単なる説明例に過ぎない。
図1は本発明の一実施形態を示す印刷システムの構成ブロック図である。図示したように、この印刷システムは、通信インタフェース3を介して印刷要求などを出すホスト装置としてのコンピュータ1、その印刷要求などを受信して印刷を行う印刷装置であるプリンタ2から成る。
コンピュータ1上ではオペレーティングシステム(OS)13が動作し、そのOS13上でアプリケーションソフトウェア(アプリケーションプログラム)11やプリンタ状態表示モニタ12などが動作する。また、プリンタドライバ14がオペレーティングシステム13の1つのコンポーネントとして動作する。このプリンタドライバ14は通信モジュール15を使用してプリンタ2と通信することができる。通信モジュール15はプリンタドライバ14からだけでなく例えばプリンタ状態表示モニタ12などからも使用することができる。
また、プリンタ状態表示モニタ12はプリンタ2が異常状態か否かなどプリンタ2の状態を取得するための問い合わせコマンドを通信モジュール15経由で周期的に出し、取得したプリンタの状態を操作部17内の表示装置に表示させる。なお、この周期的に出す問い合わせコマンドでプリンタ状態だけでなく、プリンタ2の機器構成情報も取得するようにしてもよい。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. However, the components, types, combinations, shapes, relative positions, and the like described in this embodiment are not merely intended to limit the scope of this description unless otherwise specified, but are merely illustrative examples. .
FIG. 1 is a configuration block diagram of a printing system showing an embodiment of the present invention. As shown in the figure, this printing system comprises a computer 1 as a host device that issues a print request or the like via a
An operating system (OS) 13 operates on the computer 1, and application software (application program) 11, a printer
The printer status display monitor 12 periodically issues an inquiry command for acquiring the status of the
プリンタドライバ14は、アプリケーションソフトウェア11から受け取った文書データや指示情報をもとに、ラインや矩形や曲線などを表現するグラフィックコマンド、イメージコマンド、プリンタ2の有するフォントを指定するフォント指定コマンド、印刷モード情報(例えばステープル付き印刷、両面印刷、電子ソート付き印刷など)などを、プリンタ2が解釈可能なPDL(プリンタ記述言語)形式の印刷制御コマンドとして生成する。また、プリンタドライバ14は印刷モードの指定などを行う際に必要なプリンタの機器構成情報を取得するための処理を通信モジュール15経由で実行する。
一方、プリンタ2はコントローラと画像形成部から成り、コントローラはコンピュータ1からPDLで記述された印刷制御コマンドを受信し、それを印刷用イメージデータ(ビットマップデータ)に変換し、画像形成部がその印刷用イメージデータを用いて印刷(画像形成)を行う。
コンピュータ1とプリンタ2とを接続する通信インタフェース3は例えばIEEE1284パラレルインタフェースやUSBシリアルインタフェースなどローカルインタフェースである。図1に示したように、通信インタフェース3は、コンピュータ1からの情報をプリンタ側に書き込む書き込み経路3aと、プリンタ2からの情報をコンピュータ1が受け取るための読み込み経路3b、および制御用経路3cを持つ。このような構成で、プリンタドライバ14は、機器構成情報など機器情報をプリンタ2から取得するため、通信モジュール15を介し、通信インタフェース3の書き込み経路3aを経由して機器構成などを問い合わせるための問い合わせコマンドを送信し、読み込み経路3bから結果を受信する。一部の情報は、制御用経路3cから得られる。
通信モジュール15は、受信結果を処理して機器構成情報を得ると、得られた機器構成情報を記憶装置16に保存する。この機器構成情報は印刷モードの設定などに用いられる。なお、この印刷システムでは、印刷要求時、以前に取得した機器構成情報を代替させるというキャッシュ的な方法を用いるので、機器構成情報を利用した後でも、その機器構成情報を引き続き記憶装置16に保存・管理し、その後の利用時に参照可能にする。
The
On the other hand, the
The
When the
前記したように、この印刷システムでは、印刷データと問い合わせコマンドを同じ通信経路を経由して送信している。したがって、印刷中で印刷データが流れていたりする場合に問い合わせコマンドが発生すると、通信を確立できないので、一般にはその後の処理が中止されてしまうという問題が生じる。
そのような問題を解決するために、以下に示した実施例の印刷システムでは、プリンタ2の機器構成などはそれほど頻繁に変更されないということを前提にして、通信結果をキャッシュ的に用いる。これにより、通信時間を短縮させることができる。しかし、その場合、取得した機器構成情報の機器構成と実際の機器構成との間に乖離が生じることもある。
そこで、この実施例の印刷システムでは、機器構成情報取得のための問い合わせコマンドをプリンタ2へ出した際、その双方向通信に成功したならば、その通信結果として取得した機器構成情報のうち最新の機器構成情報を記憶しておく構成にする一方で、その最新の機器構成情報を用いるか否か、つまり印刷モードなどの設定に際して実際の機器構成からの若干の乖離を許すか否かをあらかじめ利用者に設定させ、乖離を許す旨が設定されていた場合にアプリケーション処理側から印刷依頼があったときには最新の(直前成功時の)機器構成情報が保存されているか否かを判定し、機器構成情報が保存されていたならば、問い合わせコマンドを出すことなくその機器構成情報に基づいた印刷要求をプリンタ2へ出すための通信処理へ進む。
なお、この実施例では、請求項記載の機器情報記憶手段がプリンタドライバ14、通信モジュール15、および記憶装置16により実現され、設定手段がアプリケーションソフト11、オペレーティングシステム13、操作部17などにより実現される。また、取得した機器構成情報を記憶しておくライフタイムを指定するライフタイム指定手段がオペレーティングシステム13や操作部17などにより実現され、当該機器構成情報の記憶時から指定されたライフタイムが経過してもその機器構成情報が記憶されていた場合、その機器構成情報を消去する。また、問い合わせコマンドを周期的にプリンタ2へ出したときにその双方向通信に連続して所定回数失敗した場合や、プリンタ2の電源断を検出したとき、記憶されている機器構成情報を消去する。また、記憶されている機器構成情報の消去を指示する消去指示手段がオペレーティングシステム13や操作部17などにより実現され、その消去指示手段により消去が指示されたとき、記憶されている機器構成情報を消去する。このような消去を行うのは、古くなった機器構成情報を使わないようにするためである。
As described above, in this printing system, the print data and the inquiry command are transmitted via the same communication path. Accordingly, if an inquiry command is generated when print data is flowing during printing, communication cannot be established, so that the subsequent processing is generally stopped.
In order to solve such a problem, in the printing system of the embodiment shown below, the communication result is used in a cache manner on the assumption that the device configuration of the
Therefore, in the printing system of this embodiment, when the inquiry command for acquiring the device configuration information is issued to the
In this embodiment, the device information storage means described in the claims is realized by the
図2に、この実施例の動作フローを示す。以下、図2に従って、この動作フローを説明する。
この実施例では、プリンタドライバ14が通信モジュール15を介して機器構成情報取得のための問い合わせコマンドをプリンタ2へ出し、その双方向通信に成功してその通信結果として機器構成情報を取得した際、その機器構成情報をその都度記憶装置16に記憶することにより最新の機器構成情報を記憶しておく。また、前記したような機器構成情報消去も行なっているものとする。さらに、実際の機器構成からの若干の乖離を許すか否かを操作部17によりあらかじめ利用者に設定させておく。
そして、アプリケーションソフト11から印刷依頼があったとき、プリンタドライバ14は、まず、実際の機器構成からの若干の乖離を許す設定か否かを判定し(S1)、乖離を許す設定であれば(S1でYes)、直前成功時の機器構成情報−1が保存されているか否かを判定する(S2)。そして、機器構成情報−1が保存されていたならば(S2でYes)、問い合わせコマンドを出すことなく、その機器構成情報−1をそのときのプリンタ2の機器構成情報とする(S3)。
続いて、プリンタドライバ14はその機器構成情報に基づいた印刷要求をプリンタ2へ出すための通信処理へ進む(S4)。
それに対して、機器構成情報−1が消去されてしまっていて保存されていなければ(S2でNo)、プリンタドライバ14は通信モジュール15を介して機器構成情報取得のための問い合わせコマンドをプリンタ2へ出す通信処理を行う(S5)。そして、成功すれば(S6でYes)、通信モジュール15は通信結果を機器構成情報−1として記憶装置16に記憶し(S7)、ステップS4へ進む。また、その通信処理に失敗すれば(S6でNo)、以後の通信処理を中断して(S8)、この動作フローを終了させる。
一方、ステップS1において、乖離を許さない設定であれば(S1でNo)、機器構成情報を得るための問い合わせコマンドをプリンタ2へ出せるか否かを判定する(S9)。そして、出すことができれば(S9でYes)、問い合わせコマンドを出し(S5)、プリンタ側も応答できて機器構成情報の取得に成功すれば(S6でYes)、ステップS7以下を実行する。また、通信経路が使用中だったりして問い合わせコマンドを出せなければ(S9でNo)、ステップS2以下を実行する。
こうして、この実施例によれば、印刷装置の機器構成情報を印刷装置へ必ずしも問い合わせコマンドを出さずにキャッシュ的に取得できるので、印刷を行う際の通信時間を短縮できるし、利用者が望むならば印刷時に問い合わせコマンドを出して機器構成情報を取得することにより、実際の機器構成と得られた機器構成情報との乖離が利用者の意図より大きくなるのを回避できる。なお、前記した、問い合わせコマンドを周期的に出して記憶されている機器構成情報を更新する構成では、より最新の機器構成情報を用いることができ、実際の機器構成と得られた機器構成情報との乖離を少なくすることができる。
FIG. 2 shows an operation flow of this embodiment. The operation flow will be described below with reference to FIG.
In this embodiment, when the
When a print request is received from the
Subsequently, the
On the other hand, if the device configuration information-1 has been deleted and has not been saved (No in S2), the
On the other hand, if the setting is not allowed in step S1 (No in S1), it is determined whether or not an inquiry command for obtaining device configuration information can be issued to the printer 2 (S9). If it can be issued (Yes in S9), an inquiry command is issued (S5), and if the printer side can respond and acquisition of device configuration information is successful (Yes in S6), Step S7 and subsequent steps are executed. If the inquiry command cannot be issued because the communication path is in use (No in S9), step S2 and subsequent steps are executed.
Thus, according to this embodiment, the device configuration information of the printing apparatus can be acquired in a cache without necessarily issuing an inquiry command to the printing apparatus, so that the communication time for printing can be shortened, and if the user desires For example, by issuing an inquiry command at the time of printing and acquiring the device configuration information, it is possible to avoid the difference between the actual device configuration and the obtained device configuration information being larger than the user's intention. In the above-described configuration in which the inquiry configuration command is periodically issued to update the stored device configuration information, the latest device configuration information can be used, and the actual device configuration and the obtained device configuration information Can be reduced.
1 コンピュータ
2 プリンタ
3 通信インタフェース
11 アプリケーションソフトウェア
12 プリンタ状態表示モニタ
13 オペレーティングシステム
14 プリンタドライバ
15 通信モジュール
16 記憶装置
17 操作部
DESCRIPTION OF SYMBOLS 1
Claims (11)
11. The printing method according to claim 10, wherein when an application processing side makes a print request, an inquiry command cannot be transmitted to the printing apparatus due to circumstances of the printing apparatus side or a communication path, the stored device configuration information is stored. A printing method comprising: proceeding to a communication process for issuing a printing request based on a printing apparatus to the printing apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005003157A JP2006190218A (en) | 2005-01-07 | 2005-01-07 | Printing system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005003157A JP2006190218A (en) | 2005-01-07 | 2005-01-07 | Printing system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006190218A true JP2006190218A (en) | 2006-07-20 |
Family
ID=36797349
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005003157A Pending JP2006190218A (en) | 2005-01-07 | 2005-01-07 | Printing system and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006190218A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008097573A (en) * | 2006-09-15 | 2008-04-24 | Ricoh Co Ltd | Information processing apparatus, method, system, program product, and recording medium thereof |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10272806A (en) * | 1997-03-31 | 1998-10-13 | Nec Corp | Printer system |
JP2000052610A (en) * | 1998-08-11 | 2000-02-22 | Fuji Xerox Co Ltd | Image-processing apparatus and printer apparatus |
JP2000132477A (en) * | 1998-10-22 | 2000-05-12 | Canon Inc | Network device management method and device, storage medium storing network device management program and network device management program transmission device |
JP2000148632A (en) * | 1998-11-13 | 2000-05-30 | Canon Inc | Method and device for managing information of network device and storage medium |
JP2000357145A (en) * | 1999-06-15 | 2000-12-26 | Canon Inc | Device and method for network device management |
JP2001265690A (en) * | 2000-03-15 | 2001-09-28 | Omron Corp | Information processing system, information processor and recording medium |
JP2002215485A (en) * | 2001-01-24 | 2002-08-02 | Canon Inc | Network device controller |
JP2004208472A (en) * | 2002-12-26 | 2004-07-22 | Matsushita Electric Works Ltd | Gateway unit, remote monitoring system, program, and recording medium |
JP2004252785A (en) * | 2003-02-20 | 2004-09-09 | Ricoh Co Ltd | Printer unit information setting method, picture printing system and computer readable storage medium |
-
2005
- 2005-01-07 JP JP2005003157A patent/JP2006190218A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10272806A (en) * | 1997-03-31 | 1998-10-13 | Nec Corp | Printer system |
JP2000052610A (en) * | 1998-08-11 | 2000-02-22 | Fuji Xerox Co Ltd | Image-processing apparatus and printer apparatus |
JP2000132477A (en) * | 1998-10-22 | 2000-05-12 | Canon Inc | Network device management method and device, storage medium storing network device management program and network device management program transmission device |
JP2000148632A (en) * | 1998-11-13 | 2000-05-30 | Canon Inc | Method and device for managing information of network device and storage medium |
JP2000357145A (en) * | 1999-06-15 | 2000-12-26 | Canon Inc | Device and method for network device management |
JP2001265690A (en) * | 2000-03-15 | 2001-09-28 | Omron Corp | Information processing system, information processor and recording medium |
JP2002215485A (en) * | 2001-01-24 | 2002-08-02 | Canon Inc | Network device controller |
JP2004208472A (en) * | 2002-12-26 | 2004-07-22 | Matsushita Electric Works Ltd | Gateway unit, remote monitoring system, program, and recording medium |
JP2004252785A (en) * | 2003-02-20 | 2004-09-09 | Ricoh Co Ltd | Printer unit information setting method, picture printing system and computer readable storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008097573A (en) * | 2006-09-15 | 2008-04-24 | Ricoh Co Ltd | Information processing apparatus, method, system, program product, and recording medium thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7907515B2 (en) | Network interface switching in multi-interface apparatus | |
US8773691B2 (en) | Printing control apparatus, printing control method, and storage medium | |
US20020030851A1 (en) | Information processing apparatus, distributed printing controlling method, storing medium and program | |
US9389815B2 (en) | Control device | |
EP2544085A2 (en) | Printing apparatus, program, printing system and printing method | |
JP2007007873A (en) | Apparatus for accepting operation request, program, recording medium, method for controlling operation request accepting apparatus, communication system, and method for operating communication system | |
US9612781B2 (en) | Printing system and information processing apparatus, method, and program for controlling job transmission based on authentication setting of an image forming apparatus | |
JP4932324B2 (en) | Operation request receiving apparatus, program, recording medium, operation request receiving apparatus control method, communication system, and communication system operation method | |
US8649049B2 (en) | Image forming apparatus, job management method, and storage medium in which a job designated in a job list for reprinting can be securely reprinted | |
JP4926807B2 (en) | Information processing apparatus and information processing method | |
JP4774078B2 (en) | Information processing device | |
JP2001236298A (en) | Data processor, printing system and method for controlling setting of driver software for them | |
US20160350039A1 (en) | Information processing apparatus, control method, and storage medium | |
JP2011128794A (en) | Information processing method, information processing apparatus, and computer program | |
JP2023001176A (en) | Information processing device and program | |
US8289544B2 (en) | Printing system and printing device for providing time designating function for executing printing operation | |
JP5683781B2 (en) | Power saving mode control method and system | |
US8363236B2 (en) | Information processing apparatus, device management method, and computer-readable storage medium | |
JP4246620B2 (en) | Information processing apparatus, information processing system, information processing method, program, and recording medium | |
JP4886501B2 (en) | Printing apparatus, printing control method, and program | |
JP2006190218A (en) | Printing system and method | |
JP2004152140A (en) | Image forming apparatus, information processor, power source control method, computer-readable recording medium, and program | |
JP2006178789A (en) | Printing system and printing method | |
JP2013111799A (en) | Printer and method for controlling the same | |
JP2013129092A (en) | Image forming apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071128 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20071205 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100129 |
|
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: 20100402 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100622 |