JP3750867B2 - Printing device - Google Patents
Printing device Download PDFInfo
- Publication number
- JP3750867B2 JP3750867B2 JP2005165978A JP2005165978A JP3750867B2 JP 3750867 B2 JP3750867 B2 JP 3750867B2 JP 2005165978 A JP2005165978 A JP 2005165978A JP 2005165978 A JP2005165978 A JP 2005165978A JP 3750867 B2 JP3750867 B2 JP 3750867B2
- Authority
- JP
- Japan
- Prior art keywords
- printing
- usb
- image source
- request command
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Television Signal Processing For Recording (AREA)
- Facsimiles In General (AREA)
- Studio Devices (AREA)
Description
本発明は、例えばデジタルカメラとデジタルプリンタとをUSBのような主従関係をもつ通信インタフェースで接続した印刷システムなどに好適な、装置間の通信制御の方法の改良に関する。 The present invention relates to an improvement in a communication control method between apparatuses, which is suitable for a printing system in which a digital camera and a digital printer are connected by a communication interface having a master-slave relationship such as USB.
主従関係をもつ通信インタフェースの一つとして、USBが知られている。すなわち、USBで相互接続された2つの装置のうち、一方の装置は、通信の主導権を握る「USBホスト」であり、他方の装置は、USBホストからの制御コマンドに応答して従属的に動作する「USBデバイス」である。 USB is known as one of communication interfaces having a master-slave relationship. That is, of the two devices interconnected by USB, one device is the “USB host” that takes the initiative in communication, and the other device is dependent on the control command from the USB host. It is a working “USB device”.
USBは、パーソナルコンピュータと周辺機器間の通信インタフェースとして広く普及している。USBをサポートする一般のパーソナルコンピュータ用オペレーティングシステム(OS)は、USBホストとしてのUSBコントローラを標準装備している。当然、USBをサポートする周辺機器は、USBデバイスとしてのUSBコントローラを装備することになる。 USB is widely used as a communication interface between personal computers and peripheral devices. A general personal computer operating system (OS) that supports USB has a USB controller as a USB host as standard equipment. Naturally, peripheral devices that support USB will be equipped with a USB controller as a USB device.
USBデバイスには、通信制御方法において異なる複数のクラス(種類)がある。USBの規格に定められたデバイスクラスとして、ストレージクラス、HIDクラス、STIクラス及びプリンタクラスなどがある。規格で定められたいずれかのデバイスクラスのUSBデバイスして周辺機器が機能する限り、パーソナルコンピュータ用OSに標準装備されたUSBコントローラは、その周辺機器と正常に通信可能である。しかし、もし、周辺機器が規格外のデバイスクラス(例えば、周辺機器メーカがオリジナルに定めたクラス)として動作する場合には、パーソナルコンピュータ用OSに標準装備のUSBコントローラがその周辺機器と正常に通信できる保証は無い。 USB devices have multiple classes (types) that differ in communication control methods. Device classes defined in the USB standard include a storage class, an HID class, an STI class, and a printer class. As long as the peripheral device functions as a USB device of one of the device classes defined in the standard, the USB controller provided as a standard in the personal computer OS can normally communicate with the peripheral device. However, if the peripheral device operates as a non-standard device class (for example, a class originally defined by the peripheral device manufacturer), the standard USB controller in the personal computer OS communicates normally with the peripheral device. There is no guarantee that can be made.
さて、パーソナルコンピュータの周辺機器の一つに、デジタルカメラがある。上述したようなUSBの普及により、デジタルカメラにおいても、USBデバイスとしての機能を備えた機種が主流になっている。デジタルカメラの場合、その望ましいデバイスクラスは「ストレージクラス」であると考えられる。何故なら、そうすると、パーソナルコンピュータは、デジタルカメラをデータストレージとして扱って、デジタルカメラ内のディレクトリを自由に探索して所望の画像ファイルを自由に読み書きできるからである。 One of the peripheral devices of personal computers is a digital camera. Due to the widespread use of USB as described above, models with functions as USB devices have become mainstream in digital cameras. In the case of a digital camera, the desired device class is considered to be the “storage class”. This is because the personal computer can treat the digital camera as data storage, freely search a directory in the digital camera, and freely read and write a desired image file.
ところで、インクジェットプリンタやレーザプリンタなどのデジタルプリンタにおいて、パーソナルコンピュータの仲介なしに直接的にデジタルカメラと接続して、デジタルカメラから直接的に画像データを読み込んで印刷することができる、直接接続式のデジタルプリンタが知られている。この直接接続式のプリンタにおいても、デジタルカメラとの通信インタフェースとして、USBが好まれている。その場合、プリンタがUSBホストとして機能し、デジタルカメラがストレージクラスのUSBデバイスとして機能することが好ましいと考えられる。何故なら、そうすれば、デジタルカメラは、ストレージクラスのUSBデバイスとして機能可能でありさえすれば、パーソナルコンピュータにも接続可能であるし、且つ、直接接続式プリンタにも接続可能だからである。 By the way, in a digital printer such as an ink jet printer or a laser printer, it is possible to connect directly to a digital camera without mediation of a personal computer, and to read and print image data directly from the digital camera. Digital printers are known. Also in this direct connection type printer, USB is preferred as a communication interface with a digital camera. In that case, it is preferable that the printer functions as a USB host and the digital camera functions as a storage class USB device. This is because a digital camera can be connected to a personal computer as long as it can function as a storage-class USB device, and it can also be connected to a directly connected printer.
このようにプリンタがUSBホストとして、デジタルカメラがストレージクラスのUSBデバイスとして動作する直接接続式の印刷システムでは、プリンタは、デジタルカメラを、単なるデータストレージとして取り扱うことになる。この場合、USBの規格によれば、USBホストたるプリンタの方から主体的に制御コマンドをUSBデバイスたるデジタルカメラに送るための手段は提供されているのであるが、その逆に、USBデバイスたるデジタルカメラの方から主体的に制御コマンドをUSBホストたるプリンタに送るための手段は提供されていない(つまり、規格では定義されていない)。その結果、USBの規格にそのまま従うだけでは、次のような問題が生じる。 Thus, in a direct connection type printing system in which the printer operates as a USB host and the digital camera operates as a storage class USB device, the printer handles the digital camera as a simple data storage. In this case, according to the USB standard, a means for sending a control command to a digital camera as a USB device is provided from a printer as a USB host, but conversely, a digital as a USB device is provided. No means is provided to send control commands from the camera to the printer that is the USB host (that is, it is not defined in the standard). As a result, just following the USB standard causes the following problems.
すなわち、上記のような直接接続式の印刷システムにおいて、印刷対象画像の選択、印刷条件の設定、及び印刷要求などのユーザ操作を、プリンタを使って行なうことは可能であるが、逆に、デジタルカメラを使って行なうことが困難である。しかし、ユーザにとっては、プリンタのよりむしろデジタルカメラを使って上記操作が行なえる方が、使い易いに違いない。何故なら、デジタルカメラは片手で持って手軽に操作できるし、デジタルカメラの高精細なカラー液晶表示パネル上で画像を参照し選択できるからである。 That is, in the direct connection type printing system as described above, it is possible to perform user operations such as selection of an image to be printed, setting of printing conditions, and a printing request using a printer. Difficult to do with a camera. However, it must be easy for the user to perform the above operation using a digital camera rather than a printer. This is because the digital camera can be easily operated by holding it with one hand, and can be selected by referring to the image on the high-definition color liquid crystal display panel of the digital camera.
類似の問題は、上述した直接接続式の印刷システムだけに限らず、主従関係をもった通信インタフェースを使用する他の種類のシステムにおいても、存在する可能性がある。 Similar problems may exist not only in the direct connection printing system described above, but also in other types of systems that use communication interfaces with master-slave relationships.
従って、本発明の目的は、USBのような主従関係を有する通信インタフェースを介して、デジタルプリンタのような画像出力装置と、デジタルカメラのような画像ソース装置とを接続した場合に、通信制御上従属的な立場にある画像ソース装置側でのボタン操作によって、画像出力装置の制御が行なえるようにすることにある。 Accordingly, an object of the present invention is to control communication when an image output device such as a digital printer and an image source device such as a digital camera are connected via a communication interface having a master-slave relationship such as USB. An object of the present invention is to control the image output device by operating a button on the image source device side in a subordinate position.
本発明の一つの態様に従う印刷装置は、画像ファイルを含む各種リソースファイルを記録したデータストレージと、USBデバイスコントローラとを備えるUSBデバイスたる画像ソース装置とUSBインタフェースを介して接続されるUSBホストたる印刷装置である。そして、前記画像ソース装置から前記USBインタフェースを通じて、ユーザ所望の印刷条件設定に従う印刷動作をリクエストするための印刷リクエストコマンドを受信するとともに、前記画像ソース装置を制御することにより、前記印刷条件設定に従う印刷動作を実行するために必要とする所望のリソースファイルを、前記画像ソース装置のデータストレージから読み込むUSBホストコントローラと、受信された前記印刷リクエストコマンドに応えて、前記リソースファイルを用いてリクエストされた印刷条件に従う印刷動作を実行する印刷手段とを備える。 According to one aspect of the present invention, a printing apparatus is a USB host connected via an USB interface to an image source apparatus that is a USB device including a data storage in which various resource files including image files are recorded and a USB device controller. Device. A print request command for requesting a print operation according to a user-desired print condition setting is received from the image source device through the USB interface, and printing according to the print condition setting is performed by controlling the image source device. A USB host controller that reads a desired resource file required to execute an operation from the data storage of the image source device, and a print requested using the resource file in response to the received print request command Printing means for executing a printing operation according to the conditions.
好適な実施形態では、前記USBホストコントローラが、周期的に「InterruptIn」コマンドを前記画像ソース装置に送り、前記画像ソース装置のUSBデバイスコントローラが、前記「InterruptIn」コマンドを受けたときに前記印刷リクエストコマンドが生成されていたならば、前記USBホストコントローラは前記印刷リクエストコマンドを取得するようにしてもよい。 In a preferred embodiment, the USB host controller periodically sends an “InterruptIn” command to the image source device, and the print request is received when the USB device controller of the image source device receives the “InterruptIn” command. If a command has been generated, the USB host controller may acquire the print request command.
好適な実施形態では、前記USBホストコントローラは、前記画像ソース装置から印刷中止リクエストコマンドをさらに受信し、前記印刷手段は、前記USBホストコントローラが前記印刷中止リクエストコマンドを受信すると、印刷動作を中止するようにしてもよい。 In a preferred embodiment, the USB host controller further receives a print cancel request command from the image source device, and the printing unit stops the printing operation when the USB host controller receives the print cancel request command. You may do it.
好適な実施形態では、前記USBホストコントローラが、周期的に「InterruptIn」コマンドを前記画像ソース装置に送り、前記画像ソース装置のUSBデバイスコントローラが、前記「InterruptIn」コマンドを受けたときに前記印刷中止リクエストコマンドが生成されていたならば、前記USBホストコントローラは前記印刷中止リクエストコマンドを取得するようにしてもよい。 In a preferred embodiment, the USB host controller periodically sends an “InterruptIn” command to the image source device, and the USB device controller of the image source device receives the “InterruptIn” command. If a request command has been generated, the USB host controller may acquire the print cancel request command.
好適な実施形態では、前記USBホストコントローラが、前記画像ソース装置のUSBデバイスコントローラを制御することにより、周期的に前記データストレージ内を調べ、前記データストレージ内に前記リクエストコマンドのファイルが見つかれば、前記リクエストコマンドのファイルを読み込んでもよい。 In a preferred embodiment, the USB host controller periodically checks the data storage by controlling the USB device controller of the image source device, and if the request command file is found in the data storage, The request command file may be read.
好適な実施形態では、前記リクエストコマンドには、印刷したい画像ファイルの指定を含む前記印刷条件設定が記述されていてもよい。 In a preferred embodiment, the request command may describe the print condition setting including designation of an image file to be printed.
好適な実施形態では、前記印刷リクエストコマンドを受け入れると、当該印刷リクエストコマンドを受け入れた旨のメッセージを前記画像ソース装置へ送信するようにしてもよい。 In a preferred embodiment, when the print request command is accepted, a message indicating that the print request command is accepted may be transmitted to the image source device.
好適な実施形態では、前記画像ソース装置のデータストレージに記録されている前記画像ファイルはJPEG又はその他の汎用形式であり、前記USBホストコントローラは、前記JPEG又はその他の汎用形式の画像ファイルを印刷に適した当該印刷装置に依存した形式のデータに変換する手段をさらに有していてもよい。 In a preferred embodiment, the image file recorded in the data storage of the image source device is JPEG or other general-purpose format, and the USB host controller prints the JPEG or other general-purpose image file. There may be further provided means for converting the data into a format depending on a suitable printing apparatus.
好適な実施形態では、前記USBホストコントローラは、当該USBホストコントローラが必要とする複数のリソースファイルを、当該USBホストコントローラの都合に合わせて必要が生じた都度に前記データストレージから読み込むようにしてもよい。 In a preferred embodiment, the USB host controller may read a plurality of resource files required by the USB host controller from the data storage whenever necessary according to the convenience of the USB host controller. Good.
好適な実施形態では、前記USBホストコントローラは、さらに、前記画像ソース装置からステータス要求コマンドを受信すると、前記印刷装置のステータスを前記画像ソース装置へ送ることもできる。 In a preferred embodiment, the USB host controller may further send the status of the printing device to the image source device upon receiving a status request command from the image source device.
好適な実施形態では、前記USBホストコントローラが、周期的に「InterruptIn」コマンドを前記画像ソース装置に送り、前記画像ソース装置のUSBデバイスコントローラが、前記「InterruptIn」コマンドを受けたときに前記ステータス要求コマンドが生成されていたならば、前記USBホストコントローラは前記ステータス要求コマンドを取得することができる。 In a preferred embodiment, the USB host controller periodically sends an “InterruptIn” command to the image source device, and the status request when the USB device controller of the image source device receives the “InterruptIn” command. If a command has been generated, the USB host controller can obtain the status request command.
図1は、本発明に従う直接接続式の印刷システムの一実施形態の全体構成を示す。 FIG. 1 shows an overall configuration of an embodiment of a direct connection type printing system according to the present invention.
図1に示すように、デジタルカメラ(DSC:Digital Still Camera)10と、カラーインクジェットプリンタやカラーレーザプリンタのようなデジタルプリンタ20とが、USB通信インタフェースケーブル30を介して直接接続されている。デジタルカメラ10は、写真の画像ファイル(例えば、JPEGファイル又はその他の汎用形式ファイル)を保存するためのメモリ11と、写真を撮影して電気信号に変換するための撮影装置13と、このカメラ10の各部の動作を制御するためのカメラコントローラ15と、デジタルプリンタ20のようなUSBホストと通信するためのUSBデバイスコントローラ17とを備えている。
As shown in FIG. 1, a digital camera (DSC: Digital Still Camera) 10 and a
カメラコントローラ15は、図示しないが、シャッターボタンを始めとする各種の操作ボタン及びカラー液晶表示パネルなどを備えている。そして、カメラコントローラ15は、シャッターボタン操作に応答して撮影装置13を駆動して写真を撮影させたり、撮影された写真の電気信号を撮影装置13から受けて画像ファイルを作成してメモリ11に書き込んだり、所定の画像参照ボタン操作に応答してメモリ11から所望の画像を読み出してカラー液晶表示パネルに表示したりする。さらに、カメラコントローラ15は、定期的にプリンタステータスの取得を要求する制御コマンド(プリンタステータス要求)を生成したり、ユーザの画像選択ボタン操作に応答して印刷対象の画像ファイルをメモリ11内から選択したり、ユーザの印刷設定ボタン操作に応答して印刷条件(例えば、印刷枚数、用紙種類、用紙サイズ、印刷品質、画像補正、印刷レイアウト、印刷対象画像など)の設定を表した印刷設定データを生成したり、上記画像選択ボタン操作に引き続くユーザの印刷要求ボタン操作に応答して上記印刷設定データを含んだ印刷実行を要求する制御コマンド(印刷要求)を生成したり、ユーザの印刷中止ボタン操作に応答して印刷中止を要求する制御コマンド(印刷中止要求)を生成したりする。
Although not shown, the
USBデバイスコントローラ17は、USBのストレージクラスのデバイスとしてUSBの規格に従いUSBホストと通信する機能をもち、よって、USBホストをして、メモリ11内の様々なディレクトリを探索し所望の画像ファイルを自由に読み書きすることを可能ならしめる。さらに、USBデバイスコントローラ17は、本発明の原理に従がった追加の機能をもつ。すなわち、この追加の機能により、USBデバイスコントローラ17は、上述したカメラコントローラ15が生成したプリンタステータス要求や印刷要求や印刷中止要求などの制御コマンドを、後述する方法によって、デジタルカメラ10の方から主体的に送信するのと実質的に同等の態様で(つまり、それらの制御コマンドが生成された時に実質的に遅滞無く直ちに)、デジタルプリンタ20に送信することができる。
The
デジタルプリンタ20は、デジタルカメラ10からのプリンタステータス要求や印刷要求や印刷中止要求などに応答してプリンタステータスの返信や印刷対象画像のメモリ11からの読み込みや印刷画像のレンダリングやその他の各種の制御を行なう印刷コントローラ21と、USBホストとしてUSBデバイスと通信するためのUSBホストコントローラ25と、印刷コントローラ21の制御下でプリントアウトを出力する印刷エンジン23などを備える。
The
印刷コントローラ21は、JPEGファイル又はその他の汎用形式ファイルのような汎用圧縮フォーマットの画像ファイルをデジタルカメラ10から受信して、それを伸張してビットマップ画像データにする機能と、そのビットマップ画像データのRGB画素値をCMYK画素値へ変換する色変換機能と、そのビットマップ画像データの多階調の画素値をドットと空白を表すような面積階調の画素値に変換するハーフトーニング機能とを備えている。そのため、デジタルカメラ10は、メモリ11内にあるJPEGファイルのような印刷対象の画像ファイルを伸張したり色変換したりハーフトーニングしたりする機能を具備する必要は無く、その画像ファイルをそのままデジタルプリンタ20に提供すればよい。その結果、デジタルカメラ10の構成は、デジタルプリンタ20の機種毎にカスタマイズする必要がなく、汎用的なもので良いというメリットが得られる。
The print controller 21 receives a general compression format image file such as a JPEG file or other general format file from the
USBホストコントローラ25は、ストレージクラスのUSBデバイスとして機能するデジタルカメラ10内のメモリ11に、USBの規格に従ってアクセスすることで、所望のディレクトリの所望のデータを読み書きする機能をもつ。さらに、USBホストコントローラ25は、本発明の原理に従う追加の機能を有する。すなわち、この追加の機能によって、USBホストコントローラ25は、デジタルカメラ10から、上述のプリンタステータス要求や印刷要求や印刷中止要求などを、後述する方法によって、デジタルカメラ10の方から主体的に送信されたのと実質的に同等の態様で(つまり、それらの制御コマンドが生成された時に実質的に遅滞無く直ちに)、デジタルカメラ10から受信することができる。
The
このように、デジタルカメラ10のUSBデバイスコントローラ17とデジタルプリンタ20のUSBデバイスコントローラ25がもつ本発明の原理に従う追加の機能によって、デジタルカメラ10の方から実質的に主体的に印刷条件設定や印刷要求などの制御又は働きかけをデジタルプリンタ20に対して行なうことができる。ここで注目すべきことは、後述の説明から理解されるように、この追加の機能は、USBの規格で定められたUSBホストとUSBストレージクラスデバイス間の通信機能を全く阻害していない(つまり、それを有効に生かしたままである)点である。従って、デジタルカメラ10をUSBを介してパーソナルコンピュータに接続した場合、そのパーソナルコンピュータのOSに標準装備のUSBホストコントローラが、デジタルカメラ10をUSBストレージクラスデバイスとして認識して正常に通信することができるのである(勿論、上記追加の機能はパーソナルコンピュータに無視されることなるが)。このことは、デジタルカメラ10をパーソナルコンピュータにUSBで接続する場合に、デジタルカメラ10専用の特別のUSBコントローラをパーソナルコンピュータにインストールする必要が無いことを意味し、これはユーザにとって大きなメリットである。
As described above, the
以下、上記の追加の機能について詳細に説明する。 Hereinafter, the additional function will be described in detail.
図2は、デジタルカメラ10のUSBデバイスコントローラ17とデジタルプリンタ20のUSBホストコントローラ25が通信するときに使用する論理的なパイプ(論理的な通信チャネル)を示す。
FIG. 2 shows logical pipes (logical communication channels) used when the
図2に示すように、USBデバイスコントローラ17とUSBホストコントローラ25との間では、コントロールパイプ41、バルクパイプ43及びインタラプトパイプ45という3種類の通信パイプが使用される。ここで、コントロールパイプ41は、デジタルカメラ10からデジタルプリンタ20へ及びその逆方向への各種制御コマンドの伝送に使用される。バルクパイプ43は、デジタルカメラ10からデジタルプリンタ20への画像ファイルの伝送や、デジタルプリンタ20からデジタルカメラ10へのプリンタステータスデータの伝送のようなデータ伝送に使用される。また、インタラプトパイプ45は、デジタルプリンタ20からデジタルカメラ10への「Interrupt In」というリクエスト問合せコマンドの伝送に使用される。
As shown in FIG. 2, three types of communication pipes, that is, a
上述の3種類のパイプは、いずれもUSBの規格で定義されている。しかし、USB規格では、USBストレージデバイスの通信に関しては、インタラプトパイプ45の使用に関して何の規定も無い。この実施形態では、インタラプトパイプ45を有効活用することで、USBストレージタイプデバイスたるデジタルカメラ10から実質的に主体的に、各種の制御コマンドをUSBホストたるデジタルプリンタ20へ送ることができる。すなわち、デジタルプリンタ20は、デジタルカメラ10とUSBで接続されている間、例えば1m秒に最低1回というようなユーザから見て非常に高速な速度で周期的に、「Interrupt In」コマンドをインタラプトパイプ45を通じてデジタルカメラ10に送る。デジタルカメラ10は、「Interrupt In」コマンドを受ける都度、それに対する応答を、コントロールパイプ41を通じてデジタルプリンタ20を返すことなる。その場合、「Interrupt In」コマンドを受けた時点で上述したプリンタステータス要求、印刷要求或るいは印刷中止要求等の制御コマンドがデジタルカメラ10内で発生してしたならば、デジタルカメラ10は、その制御コマンドを、上記「Interrupt In」コマンドに対する応答として、デジタルプリンタ20を返す。デジタルプリンタ20は、その返送された制御コマンドを解釈して、デジタルカメラ10の要求する動作(例えば、プリンタステータスの返送、印刷の実行、或るいは印刷の中止など)を実行することになる。その結果、デジタルカメラ10による実質的に自主的な制御でデジタルプリンタ20を動作させることが可能になる。
The above three types of pipes are all defined by the USB standard. However, in the USB standard, there is no provision regarding the use of the interrupt
なお、デジタルプリンタ20は、上記の印刷要求に応答して印刷を実行する際、デジタルカメラ10がストレージクラスであるということを利用して、印刷に必要な各種のデータリソース(例えば、印刷対象の画像ファイルや印刷ページレイアウトの定義ファイルなど)を勝手にデジタルカメラ10から読み込む。そのため、デジタルカメラ10は、上述した印刷に必要なデータリソースに関しては、それを自分のメモリ11内に記録しておいて、デジタルプリンタ20からの読出し要求に応答してそれを読み出すという、ストレージクラスとしての動作を行なえばよいことになる。
The
以下、より具体的に説明する。 More specific description will be given below.
図3、図4及び図5は、デジタルプリンタ20とデジタルカメラ10間のUSBによる通信の流れの一例を示す。
3, 4, and 5 show an example of the flow of communication between the
図3は、デジタルプリンタ20とデジタルカメラ10間のUSBによる通信接続が確立された当初に行なわれる初期的な通信の流れの例を示す。
FIG. 3 shows an example of an initial communication flow performed when the USB communication connection between the
デジタルプリンタ20とデジタルカメラ10に既に電源が入っている状態で両者がUSB通信ケーブルで接続されたとき、又は、デジタルプリンタ20とデジタルカメラ10が既にUSB通信ケーブルで接続されている状態で両者が共に電源の入った状態になったとき、両者間にUSBの通信接続が確立される。USBの通信接続が確立されると、デジタルプリンタ20のUSBホストコントローラ25が、デジタルカメラ10のUSBデバイスコントローラ17から、そのUSBデバイスとしての構成を記述した「デバイスディスクリプタ」を取得する(ステップS1)。デジタルカメラ10からのデバイスディスクリプタには、デジタルカメラ10がストレージクラスのデバイスであることを記述した「インタフェースディスクリプタ」が含まれている。そして、そのインタフェースディスクリプタには、デジタルカメラ10が使用するUSBの複数のエンドポイント(図2に示した3種類のパイプ41,43,45の何れかを使ってパケットを送信又は受信するエンドポイント)を列挙した「ストリングディスクリプタ」が含まれている。このストリングディスクリプタには、具体的には、USB規格で定まったストレージクラスのデバイスが持つべきエンドポイント(例えば、「Bulk Out(バルクアウト)」エンドポイントや「Bulk In (バルクイン)」エンドポイント)に加えて、本発明の原理に従った追加のエンドポイントである「Interrupt In」エンドポイントが記述されている。従って、デジタルプリンタ20のUSBホストコントローラ25は、そのインタフェースディスクリプタ及びそのストリングディスクリプタから、デジタルカメラ10がストレージクラスのデバイスであって、かつ、「Interrupt In」コマンド(USBデバイス側のリクエストを問い合わせるコマンド)を使用するデバイスであることを認識する。
When both the
因みに、デジタルプリンタ20をパーソナルコンピュータのUSBポートに接続した場合、上記と同内容のデバイスディスクリプタがパーソナルコンピュータに送られるが、しかし、パーソナルコンピュータのOSに標準装備のUSBホストコントローラは、上述した追加の「Interrupt In」エンドポイントを無視することになる。従って、デジタルプリンタ20は、パーソナルコンピュータに対しては、「Interrupt In」は使用しない通常のストレージクラスのデバイスとして動作することになる。
Incidentally, when the
さて、デジタルカメラ10のデバイススプリプタを取得したプリンタ20は、その時点から所定の短い時間以内(例えば、1秒以内)に、コントロールパイプ41を通じてデジタルカメラ10に「プリンタプロトコル確認コマンド」を送り(S4)、それにより、プリンタ20が使用する通信プロトコルのタイプ(すなわち、「Interrupt In」コマンドを使用するタイプであること)やプロトコルバージョンなどを通知する。
The
通信接続が確立した後、プリンタ20は、例えば1m秒以内に1回というような高速なレートで周期的に、「Interrupt In」コマンドを、インタラプトパイプ45を通じてデジタルカメラ10に送信する(S2,S5など)。デジタルカメラ10は、「Interrupt In」コマンドを受信する都度、その時点で何らかの制御コマンドがデジタルカメラ10内で発生しているか否かを調べ、何の制御コマンドも無ければ、要求なしを意味する「Nak」メッセージを、「Interrupt In」コマンドに対するリプライとしてコントロールパイプ41を通じてプリンタ20に返す(S3など)。一方、「Interrupt In」コマンドを受信した時点でデジタルカメラ10内に何らかの制御コマンドが発生していれば、デジタルカメラ10は、その制御コマンドを、「Interrupt In」コマンドに対するリプライとしてコントロールパイプ41を通じてプリンタ20に返す(S6など)。
After the communication connection is established, the
そのような制御コマンドには、既に説明したように、プリンタステータス要求、印刷要求及び印刷中止要求などがある。例えば、図3のステップS6では、プリンタステータス要求が、ステップS5の「Interrupt In」コマンドに対するリプライとしてプリンタ20に返されている。プリンタステータス要求を受けたプリンタ20は、最新のプリンタステータスを調べ、そのプリンタステータスを示したデータを、バルクパイプ45を通じてデジタルカメラ10のメモリ11内の所定ディレクトに書き込み(S7)、それにより、デジタルカメラ10は最新のプリンタステータスを知る(そして、図示してないが、そのプリンタステータスを液晶表示パネルなどに表示する)。
As described above, such control commands include a printer status request, a print request, and a print cancel request. For example, in step S6 in FIG. 3, a printer status request is returned to the
プリンタ20は、また、通信接続が確立した後、印刷要求を受け入れることが可能な状態になると、その状態になってから最初にプリンタステータス要求を受けたときに(S6)、デジタルカメラ10にプリンタステータスデータを通知する(S7)だけでなく、印刷要求が受け入れ可能であることを通知するためのメッセージを、コントロールパイプ41を通じてデジタルカメラ10に送信する(S8)。
When the
なお、プリンタステーをタス要求がデジタルカメラ10で発生する時期は、デジタルカメラ10の設計次第で如何様にもなるが、例えば、プリンタ20に印刷要求を発してから印刷が完了するまでの間や、プリンタ20に印刷中止要求を発してから印刷が中止されるまでの間などにおいて、例えば5秒間隔や1秒間隔などの定期的な時期とすることができる。
It should be noted that the timing when the status request for the printer status is generated in the
図4は、デジタルカメラ10から印刷要求が発されてプリンタ20で印刷が実行される場合の通信手順の例を示す。
FIG. 4 shows an example of a communication procedure when a print request is issued from the
図4に示すように、プリンタ20は、既に説明したように、デジタルカメラ10と接続されている間、高速なレートで周期的に「Interrupt In」コマンドをデジタルカメラ10に送り続ける(S11,S13,S17,S21,S25)。ステップS13のように或る「Interrupt In」コマンドを受けたとき、印刷要求が発生していれば、デジタルカメラ10は、ステップS14に示すように、その印刷要求を「Interrupt In」コマンドに対するリプライとして、コントロールパイプ41を通じてプリンタ20に返送する。この印刷要求には、ユーザの指定した印刷条件を示した印刷設定データが含まれている。この印刷設定データには、印刷枚数、用紙サイズ、印刷品質、画像補正方法などの一般的な印刷条件の他、印刷対象の画像ファイルのメモリ11内でのパス名とファイル名や、さらに、所定の印刷ページレイアウト(1ページ内に印刷する1又は複数の画像の配置や寸法、写真フレームや挿入文字や挿入図画などの修飾の配置や寸法やパス名・ファイル名など)を使用して印刷する場合には、その印刷ページレイアウトを定義したレイアウトファイルのメモリ11内でのパス名とファイル名などが記述されている。
As shown in FIG. 4, as described above, the
上記のような印刷要求を受けたプリンタ20は、ステップS15で、その印刷要求によって要求された印刷に必要なリソースファイルをデジタルカメラ10のメモリ11から読み込むためのコマンド(リソースファイル要求コマンド)をデジタルカメラ10に送り、それに応答したデジタルカメラ10のストレージクラスUSBデバイスコントローラ17の仲介により、ステップS16で、その印刷に必要なリソースファイルをデジタルカメラ10のメモリ11から主体的に読み込み、そして、読み込んだリソースファイル使って印刷を実行する。ここで、印刷に必要なリソースファイルとは、例えば、印刷対象の画像ファイル(そのパス名やファイル名は印刷要求に書かれている)や、所定の印刷ページレイアウトを使用する場合には、その印刷ページレイアウトを定義したレイアウトファイル(そのパス名やファイル名は印刷要求に書かれている)や、印刷ページレイアウトで使用される写真フレームや挿入文字や挿入図画などのファイル(そのパス名やファイル名はレイアウトファイルに書かれている)などである。これらのリソースファイルは、プリンタ20が勝手にデジタルカメラ10のメモリ11から読み込んで、伸張や色変換やハーフトーニングなどの処理を施すので、デジタルカメラ10としては、特別に複雑な処理を行なう必要はない。
In step S15, the
さて、印刷要求を受け入れた後も、プリンタ20は、高速レートで周期的に「Interrupt In」コマンドをデジタルカメラ10に送り続ける。そして、印刷要求を受け入れた後の「Interrupt In」コマンドに対して、デジタルカメラ10からステップS18のように、プリンタステータス要求が最初に返送されたとき、プリンタ20は、プリンタステータスを通知する(S19)とともに、印刷要求を受け入れた旨のメッセージを、コントロールパイプ41を通じてデジタルカメラ10に送る(S20)。この印刷要求受入メッセージには、その印刷ジョブをデジタルカメラ10の側で識別するためのid番号(図の例では「01」)が記述されている。それにより、デジタルカメラ10は、先ほど送出したid番号「01」の印刷ジョブの印刷要求がプリンタ20に受け入れられて、その印刷処理が開始されたことを認識する。デジタルカメラ10は、以後、そのid番号「01」の印刷ジョブに関して印刷完了の通知をプリンタ20から受けるまで、新しい印刷ジョブの印刷要求を発しないよう、デジタルカメラ10自身の動作を制御することができる。
Even after accepting the print request, the
印刷を行なっている間、プリンタ20は、「Interrupt In」コマンドに対するリプライとしてプリンタステータス要求を受ける(S22)都度、プリンタステータスを通知する(S23)だけでなく、最新の印刷状態(例えば、印刷未完了の残り枚数又は印刷完了枚数)を調べて、それを示すメッセージを、コントロールパイプ41を通じてデジタルカメラ10に送信する(S24)。
While printing is in progress, the
また、印刷が完了すると、プリンタ20は、完了後に最初に「Interrupt In」コマンドに対するリプライとしてプリンタステータス要求を受けたとき(S26)、プリンタステータスを通知する(S27)だけでなく、印刷が完了した旨のメッセージを、コントロールパイプ41を通じてデジタルカメラ10に送信する(S28)。この印刷完了メッセージには、完了した印刷ジョブのid番号が含まれているので、デジタルカメラ10は、そのid番号からどの印刷ジョブが完了したかを認識できる。印刷ジョブが完了すると、デジタルカメラ10は、新しい印刷ジョブの印刷要求を発行できるように、デジタルカメラ10自身の動作を制御することができる。
When printing is completed, when the
図5は、デジタルカメラ10から印刷要求が発された後に印刷中止要求が発された場合の通信手順の例を示す。
FIG. 5 shows an example of a communication procedure when a print stop request is issued after a print request is issued from the
図5において、印刷要求が発されて印刷が実行されるステップS13〜S24の手順は、既に説明した図4のステップS13〜S24の手順と同様である。その後、印刷が完了しないうちに、デジタルカメラ10で印刷中止要求が発生すると、その直後の「Interrupt In」コマンド(S25)に対するリプライとして、その印刷中止要求がデジタルカメラ10からコントロールパイプ41を通じてプリンタ20に送られる(S31)。印刷中止要求には、中止したい印刷ジョブのid番号が含まれている。
In FIG. 5, the procedure of steps S13 to S24 in which a print request is issued and printing is performed is the same as the procedure of steps S13 to S24 of FIG. 4 already described. Thereafter, if a print stop request is generated in the
印刷中止要求を受けたプリンタ20は、そのid番号の印刷ジョブの実行を中止する。そして、プリンタ20は、印刷を中止した後、最初に「Interrupt In」コマンドに対するリプライとしてプリンタステータス要求を受けたとき(S33)、プリンタステータスを通知する(S34)だけでなく、印刷を中止した旨のメッセージを、コントロールパイプ41を通じてデジタルカメラ10に送信する(S35)。この印刷中止メッセージには、中止した印刷ジョブのid番号が含まれているので、デジタルカメラ10は、そのid番号からどの印刷ジョブが中止されたかを認識できる。
The
以上のようにして、デジタルカメラ10は、プリンタ20に対してストレージクラスのUSBデバイスとして動作しつつ、プリンタ20から頻繁に来る「Interrupt In」コマンド(リクエスト問合せ)に対するリプライとして、デジタルカメラ10内で発生した各種の要求(制御コマンド)をプリンタ20に返送することによって、実質的にデジタルカメラ10からの主体的な制御でプリンタ20を動作させることができる。
As described above, the
図6及び図7は、本発明の別の実施形態にかかる直接接続式の印刷システムの通信手順の例を示す。 6 and 7 show examples of communication procedures of a direct connection type printing system according to another embodiment of the present invention.
この実施形態では、上述した「Interrupt In」コマンドを使用する追加の機能は使われず、
デジタルカメラ10は全く通常のストレージクラスのUSBデバイスとして動作する。デジタルカメラ10で発生したプリンタステータス要求や印刷要求や印刷中止などのあらゆる制御コマンドは、どのようなコマンドであるかを示す特定のファイル名又は特定の識別子の付いたファイル(例えばテキストファイルであり、以下、「コマンドファイル」という)の形でメモリ11内の所定のディレクトリに書き込まれる。プリンタ20は、例えば1m秒に最低1回というようなユーザにとっては非常に高速のレートで周期的に、メモリ11内の上記所定ディレクトリにコマンドファイルが在るか否かチェックし、有れば、そのコマンドファイルを読み込むことで、デジタルカメラ10からの制御コマンドを認識する。これにより、実質的にデジタルカメラ10からの主体的な制御でプリンタ20を動作させることができる。
In this embodiment, the additional function using the “Interrupt In” command described above is not used.
The
以下、具体的な通信手順の例を説明する。 Hereinafter, an example of a specific communication procedure will be described.
図6のステップS51に示すように、デジタルカメラ10内のメモリ11には、例えば「\printjob」、「\printsts」及び「\imgdata」というような名称の3種類のディレクトリが予め設けられている。「\printjob」ディレクトリには、デジタルカメラ10の印刷要求に相当するファイル(以下、「印刷要求ファイル」という)が格納される。ここで、1つの印刷ジョブに係る「印刷要求ファイル」は、この実施形態では後述するように、2種類のファイルのセットから成る。以下の説明では、その2種類のファイルを纏めて呼ぶとき「印刷要求ファイル」という。「\printsts」ディレクトリには、プリンタ20からの印刷ジョブの状態を示すメッセージ(例えば、前述の実施形態で説明した印刷要求受入メッセージや印刷状態メッセージなど)に相当する何種類かのファイルが格納される。また、「\imgdata」ディレクトリには、印刷で使用される様々な種類のリソースファイル、例えば、撮影された写真の画像ファイルや、特定の印刷ページレイアウトを定義したレイアウトファイルや、その特定の印刷ページレイアウトで使用される写真フレームや挿入文字や挿入図画などの画像ファイルや文字ファイルなどが格納される。なお、図6では、「\imgdata」ディレクトリに1つの画像ファイルと1つのレイアウトファイルしか存在しないが、実際には、複数の画像ファイルと複数のレイアウトファイルが存在するのが通常である。
As shown in step S51 of FIG. 6, the
デジタルカメラ10だけでなく、デジタルプリンタ20も、上述したメモリ11内の3種類のディレクトリと、それが何の用途に用いられ、そこに書かれるファイルのファイル前いや識別子が何を意味しているかについての知識を、予め有している。この知識は、デジタルプリンタ20に予め固定的にプログラムされていてもよいし、或るいは、そうではなく、デジタルカメラ10とデジタルプリンタ20との間のUSB通信接続が確立されたときに、デジタルカメラ10からのデバイスデスクリプタ又は別の特別な宣言文によって、デジタルプリンタ20に通知されるようになっていてもよい。
Not only the
図6のステップS41で、ユーザがデジタルカメラ10を用いて、印刷対象の画像を選択し、使用したい印刷ページレイアウトを指定し、そして印刷条件を設定する等の印刷準備ためのボタン操作を行なった上で印刷実行を命じるボタン操作を行なったとする。すると、ステップS42で、デジタルカメラ10はそのボタン操作に応答して、印刷対象の画像及び使用する印刷ページレイアウトを指定した(例えば、その画像ファイルのパス名とファイル名、及びそのレイアウトファイルのパス名とファイル名等を指定した)「画像・レイアウト指定ファイル」と、使用する印刷条件の設定を記述した「印刷設定ファイル」とを作成して、その2つのファイルのセット(つまり、上述した「印刷要求ファイル」)を、メモリ11の「\printjob」ディレクトリに書き込む。
In step S41 of FIG. 6, the user selects a print target image using the
一方、プリンタ20は、ステップS61,S62,S63などに示すように、例えば1m秒に最低1回というような高速レートで周期的に、メモリ11の「\printjob」ディレクトリをチェックする。ステップS561のように、「\printjob」ディレクトリに印刷要求ファイが存在しなければ、プリンタ20は何もしない。しかし、ステップS62のように、「\printjob」ディレクトリに印刷要求ファイル(すなわち、画像・レイアウト指定ファイルと印刷設定ファイル)が存在すれば、プリンタ20はその印刷要求ファイルを読み込む。そして、プリンタ20は、その印刷要求ファイルに記述されている印刷対象の画像ファイルのパス名とファイル名及びそのレイアウトファイルのパス名とファイル名を把握して、メモリ11の「\imgdata」ディレクトリから、その画像ファイルとレイアウトファイルを読み込む。さらに、プリンタ20は、図示してないが、レイアウトファイルに記述されている写真フレーム、挿入文字又は挿入図画などの画像ファイル又は文字ファイルのパス名とファイル名を把握して、メモリ11の「\imgdata」ディレクトリから、その写真フレーム、挿入文字又は挿入図画などの画像ファイル又は文字ファイを読み込む。そして、プリンタ20は、それら読み込んだリソースファイルを用いて、上述の印刷要求ファイル(特に印刷設定ファイル)に記述されていた印刷条件設定に従って、印刷処理を開始する。同時に、プリンタ20は、印刷要求を受け入れたことを示す「印刷要求受入ファイル」(そこには、対応する印刷ジョブのid番号が書かれている)を、メモリ11の「\printsts」ディレクトリに書き込む。
On the other hand, as shown in steps S61, S62, S63, etc., the
また、プリンタ20は、ステップS63に示すように、周期的チェックの結果、「\printjob」ディレクトリに既に読み込んだものと同じ印刷要求ファイルしか存在しない場合には、その既に読み込んだ印刷要求ファイルに基づく印刷処理を続行する。
Further, as shown in step S63, if the
また、プリンタ20は、ステップS64に示すように、印刷処理を開始した後、周期的に又は印刷状態が変化した都度、最新の印刷状態(例えば、未印刷の残り枚数又は印刷完了枚数)が記述された印刷状態ファイルを、メモリ11の「\printsts」ディレクトリに書き込む。印刷状態ファイルの書き込み方法としては、この実施形態では「上書き」(すなわち、前の印刷要求受入ファイル又は印刷状態ファイルを消去して、新しい印刷状態ファイルを書き込む方法)を採用するが、必ずしもそうである必要は無く、「追記」(すなわち、前の印刷要求受入ファイル又は印刷状態ファイルを消去せずに、新しい印刷状態ファイルを書き込む方法)であってもよい。
In addition, as shown in step S64, the
一方、デジタルカメラ10は、ステップS42で印刷要求を発した後、ステップS43,S44などに示すように、周期的に(望ましくは、プリンタ20と同様の高速レートで)、メモリ11の「\printjob」及び「\printsts」ディレクトリをチェックする。その結果、ステップS43のように、「\printsts」ディレクトリにプリンタ20からの印刷要求受入ファイルが存在すれば、デジタルカメラ10は、その印刷要求受入ファイルを読むことで、先刻発した印刷要求がプリンタ20に受け入れられたことを確認する。ステップS44に示すように、「\printsts」ディレクトリに印刷状態ファイルが存在すれば、デジタルカメラ10は、その印刷状態ファイルを読むことで、最新の印刷状態を確認する。
On the other hand, after issuing a print request in step S42, the
以上に後続する通信手順は図7に示されている。 The subsequent communication procedure is shown in FIG.
図7のステップS65に示すように、プリンタ20は、印刷が完了すると、メモリ11の「\printjob」ディレクトリから完了した印刷ジョブの印刷要求ファイルを消去し、そして、メモリ11の「\printsts」ディレクトリに、印刷が完了したことを示す「印刷完了ファイル」(完了した印刷ジョブのid番号が書かれている)を書き込む。すると、ステップS45に示すように、デジタルカメラ10は、周期チェックの際に、「\printsts」ディレクトリ内の印刷完了ファイルを見つけ、それを読むことで、どの印刷ジョブが完了したかを確認する。
As shown in step S65 of FIG. 7, when printing is completed, the
その後、ステップS46に示すように、デジタルカメラ10は、周期チェックの際に、「\printjob」ディレクトリに印刷要求ファイルが存在しないことを確認すると、新たな印刷要求を発することが可能な状態になる。そして、ステップS47に示すように、ユーザが新たな印刷要求のためのボタン操作を行なうと、デジタルカメラ10は、ステップS48に示すように、既に説明したと同じ手順で新たな印刷要求ファイルを作成して「\printsts」ディレクトリに書き込む。以後、既に説明したと同様な手順で、その新たな印刷要求がプリンタ20に読み込まれて(S67)、それに従った印刷処理が行なわれる。
Thereafter, as shown in step S46, when the
以上のようにして、デジタルカメラ10は制御コマンドをファイルの形でメモリ11内の所定ディレクトリに書き込み、プリンタ20は頻繁にそのディレクトリを監視して、コマンドファイルが書き込まれば直ちに読み込むことによって、デジタルカメラ10はプリンタ20に対して通常のストレージとして機能するだけであっても、実質的にデジタルカメラ10から主体的にプリンタ20を制御することが可能である。
As described above, the
以上、本発明の実施形態を説明したが、これは本発明の説明のための例示であり、この実施形態のみに本発明の範囲を限定する趣旨ではない。従って、本発明は、その要旨を逸脱することなく、他の様々な形態で実施することが可能である。 As mentioned above, although embodiment of this invention was described, this is an illustration for description of this invention, and is not the meaning which limits the scope of the present invention only to this embodiment. Therefore, the present invention can be implemented in various other forms without departing from the gist thereof.
10 デジタルカメラ
11 メモリ
15 カメラコントローラ
17 ストレージクラスのUSBデバイスコントローラ
20 デジタルプリンタ
21 印刷コントローラ
25 USBホストコントローラ
41 コントロールパイプ
43 バルクパイプ
45 インタラプトパイプ
10
Claims (13)
前記画像ソース装置から前記USBインタフェースを通じて、ユーザ所望の印刷条件設定に従う印刷動作をリクエストするための印刷リクエストコマンドを受信するとともに、前記画像ソース装置を制御することにより、前記印刷条件設定に従う印刷動作を実行するために必要とする所望のリソースファイルを、前記画像ソース装置のデータストレージから読み込むUSBホストコントローラと、
受信された前記印刷リクエストコマンドに応えて、前記リソースファイルを用いてリクエストされた印刷条件に従う印刷動作を実行する印刷手段とを備え、
前記USBホストコントローラが、周期的に「InterruptIn」コマンドを前記画像ソース装置へ送り、
前記画像ソース装置のUSBデバイスコントローラが、前記「InterruptIn」コマンドを受けたときに前記印刷リクエストコマンドが生成されていたならば、前記USBホストコントローラは前記印刷リクエストコマンドを取得することを特徴とする印刷装置。 In a printing device that is a USB host connected via a USB interface to an image source device that is a USB device that includes a data storage that records various resource files including image files and a USB device controller.
A print request command for requesting a print operation according to a user-desired print condition setting is received from the image source device through the USB interface, and the print operation according to the print condition setting is controlled by controlling the image source device. A USB host controller that reads a desired resource file required for execution from the data storage of the image source device;
In response to the received print request command, printing means for executing a printing operation according to the requested printing condition using the resource file,
The USB host controller periodically sends an “InterruptIn” command to the image source device,
The USB host controller acquires the print request command if the print request command is generated when the USB device controller of the image source apparatus receives the “InterruptIn” command. apparatus.
前記印刷手段は、前記USBホストコントローラが前記印刷中止リクエストコマンドを受信すると、印刷動作を中止する請求項1に記載の印刷装置。 The USB host controller further receives a print stop request command from the image source device;
The printing apparatus according to claim 1, wherein the printing unit stops a printing operation when the USB host controller receives the print stop request command.
前記画像ソース装置のUSBデバイスコントローラが、前記「InterruptIn」コマンドを受けたときに前記印刷中止リクエストコマンドが生成されていたならば、前記USBホストコントローラは前記印刷中止リクエストコマンドを取得する、請求項2記載の印刷装置。 The USB host controller periodically sends an “InterruptIn” command to the image source device,
The USB host controller acquires the print stop request command if the print stop request command is generated when the USB device controller of the image source device receives the “InterruptIn” command. The printing apparatus as described.
前記画像ソース装置から前記USBインタフェースを通じて、ユーザ所望の印刷条件設定に従う印刷動作をリクエストするための印刷リクエストコマンドを受信するとともに、前記画像ソース装置を制御することにより、前記印刷条件設定に従う印刷動作を実行するために必要とする所望のリソースファイルを、前記画像ソース装置のデータストレージから読み込むUSBホストコントローラと、
受信された前記印刷リクエストコマンドに応えて、前記リソースファイルを用いてリクエストされた印刷条件に従う印刷動作を実行する印刷手段とを備え、
前記USBホストコントローラが、前記画像ソース装置のUSBデバイスコントローラを制御することにより、周期的に前記データストレージ内を調べ、前記データストレージ内に前記リクエストコマンドのファイルが見つかれば、前記リクエストコマンドのファイルを読み込む印刷装置。 In a printing device that is a USB host connected via a USB interface to an image source device that is a USB device that includes a data storage that records various resource files including image files and a USB device controller.
A print request command for requesting a print operation according to a user-desired print condition setting is received from the image source device through the USB interface, and the print operation according to the print condition setting is controlled by controlling the image source device. A USB host controller that reads a desired resource file required for execution from the data storage of the image source device;
In response to the received print request command, printing means for executing a printing operation according to the requested printing condition using the resource file,
The USB host controller periodically checks the data storage by controlling the USB device controller of the image source device. If the request command file is found in the data storage, the request command file is The printing device to read.
前記USBホストコントローラは、前記JPEG又はその他の汎用形式の画像ファイルを印刷に適した当該印刷装置に依存した形式のデータに変換する手段をさらに有する、請求項1〜6記載の印刷装置。 The image file recorded in the data storage of the image source device is JPEG or other general-purpose format,
The printing apparatus according to claim 1, wherein the USB host controller further includes means for converting the image file in the JPEG or other general-purpose format into data in a format dependent on the printing apparatus suitable for printing.
前記画像ソース装置のUSBデバイスコントローラが、前記「InterruptIn」コマンドを受けたときに前記ステータス要求コマンドが生成されていたならば、前記USBホストコントローラは前記ステータス要求コマンドを取得する、請求項1〜9のいずれか一項に記載の印刷装置。 The USB host controller periodically sends an “InterruptIn” command to the image source device,
10. The USB host controller acquires the status request command if the status request command is generated when the USB device controller of the image source device receives the “InterruptIn” command. The printing apparatus as described in any one of.
「InterruptIn」コマンドを周期的に前記画像ソース装置に送信するステップと、
前記画像ソース装置が、前記「InterruptIn」コマンドを受けたときに、ユーザ所望の印刷条件設定に従う印刷動作をリクエストするための印刷リクエストコマンドが生成されていたならば、当該印刷リクエストコマンドを受信するステップと、
前記画像ソース装置を制御することにより、前記印刷条件設定に従う印刷動作を実行するために必要とする所望のリソースファイルを、前記画像ソース装置のデータストレージから読み込むステップと、
前記受信した前記印刷リクエストコマンドに応えて、前記読み込んだリソースファイルを用いてリクエストされた印刷条件に従う印刷動作を実行するステップと、有する印刷方法。 A method in which an image source device that is a USB device having a data storage that records various resource files including image files and a printing device that is a USB host connected via a USB interface perform printing.
Periodically sending an “InterruptIn” command to the image source device;
When the image source device receives the “InterruptIn” command, if a print request command for requesting a printing operation in accordance with a user-desired printing condition setting has been generated, receiving the print request command When,
Reading a desired resource file required to execute a printing operation according to the print condition setting from the data storage of the image source device by controlling the image source device;
Executing a printing operation according to the requested printing condition using the read resource file in response to the received print request command.
The printing method according to claim 11, further comprising a step of sending a status of the printing apparatus to the image source apparatus when a status request command is received from the image source apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005165978A JP3750867B2 (en) | 2005-06-06 | 2005-06-06 | Printing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005165978A JP3750867B2 (en) | 2005-06-06 | 2005-06-06 | Printing device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004328508A Division JP3750863B2 (en) | 2004-11-12 | 2004-11-12 | Image output system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005343174A JP2005343174A (en) | 2005-12-15 |
JP3750867B2 true JP3750867B2 (en) | 2006-03-01 |
Family
ID=35495968
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005165978A Expired - Fee Related JP3750867B2 (en) | 2005-06-06 | 2005-06-06 | Printing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3750867B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5608980B2 (en) * | 2009-01-27 | 2014-10-22 | セイコーエプソン株式会社 | Document camera and image display system |
-
2005
- 2005-06-06 JP JP2005165978A patent/JP3750867B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005343174A (en) | 2005-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20110102608A1 (en) | Image output system including a plurality of units connected by communications with master-slave relation | |
JP3530847B2 (en) | Printing apparatus, control method therefor, and printing system | |
KR100899149B1 (en) | Image supply device, control method of the device, and printing system | |
US7428068B2 (en) | Printing system, printing system control method, program and storage medium | |
JP2004013348A (en) | Digital camera, its control method and print system | |
US7317550B2 (en) | Printing utilizing external storage | |
JP3673779B2 (en) | Image supply apparatus, control method therefor, and print system | |
JP3636359B2 (en) | A system with multiple devices that are connected in a master-slave relationship | |
JP3636358B2 (en) | Image output system | |
JP3750867B2 (en) | Printing device | |
JP3750863B2 (en) | Image output system | |
JP4259071B2 (en) | Printing system | |
JP3750866B2 (en) | Image source device | |
JP4117576B2 (en) | Image source apparatus and printing apparatus | |
JP3750865B2 (en) | Image source device | |
JP4117575B2 (en) | Image output system | |
JP2003259274A (en) | System provided with data source device and data utilizing device connected by communication | |
KR100943743B1 (en) | Methods for providing data for printing operation, printing method, and apparatus for the same | |
JP2003304367A (en) | Record control apparatus and control method for the same | |
JP2008027217A (en) | Printing system with information processor and printing apparatus | |
JP4047147B2 (en) | Recording apparatus and control method thereof | |
JP4078333B2 (en) | Image processing apparatus, image supply apparatus, control method therefor, and printing system | |
KR20060023780A (en) | Photo printer and method for setting pringing option thereof | |
JP2007311932A (en) | Image printing system, printer, control method of printer, image storage device, and control method of image storage device | |
JP2006318359A (en) | Usb system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20051011 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20051118 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20051201 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 3750867 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091216 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101216 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101216 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111216 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111216 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121216 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121216 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131216 Year of fee payment: 8 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |