Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4835323B2 - Information processing apparatus, printing apparatus, information processing method, and program - Google Patents
[go: Go Back, main page]

JP4835323B2 - Information processing apparatus, printing apparatus, information processing method, and program - Google Patents

Information processing apparatus, printing apparatus, information processing method, and program Download PDF

Info

Publication number
JP4835323B2
JP4835323B2 JP2006226815A JP2006226815A JP4835323B2 JP 4835323 B2 JP4835323 B2 JP 4835323B2 JP 2006226815 A JP2006226815 A JP 2006226815A JP 2006226815 A JP2006226815 A JP 2006226815A JP 4835323 B2 JP4835323 B2 JP 4835323B2
Authority
JP
Japan
Prior art keywords
signal
connection
information processing
connection device
power supply
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
Application number
JP2006226815A
Other languages
Japanese (ja)
Other versions
JP2008052438A (en
Inventor
義奈朗 北原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2006226815A priority Critical patent/JP4835323B2/en
Publication of JP2008052438A publication Critical patent/JP2008052438A/en
Application granted granted Critical
Publication of JP4835323B2 publication Critical patent/JP4835323B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Information Transfer Systems (AREA)

Description

本発明は、情報処理装置、印刷装置、情報処理方法及びプログラムに関する。   The present invention relates to an information processing apparatus, a printing apparatus, an information processing method, and a program.

従来、情報処理装置としては、USBデバイスが接続されこのデバイスの電源がオンとなると、接続されたUSBデバイスの転送速度を把握すると共にバスリセット信号を発しこのUSBデバイスとの間の通信を開始するものが提案されている(例えば、特許文献1参照)。この特許文献1に記載された装置では、USBデバイスが情報処理装置に接続されたあと、USBデバイスの備えるコントローラの初期化が終了してから、USBデバイスが、電源オン及び転送速度を伝えるD+の信号をプルアップするため、情報処理装置が電源オンを検知してバスリセット信号を発しても、USBデバイス側では既に通信準備が整っており、USBデバイスと情報処理装置との間で正常に通信を開始することができる。
特開平11−288338号公報
Conventionally, as an information processing apparatus, when a USB device is connected and the power of this device is turned on, the transfer speed of the connected USB device is grasped and a bus reset signal is issued to start communication with the USB device. The thing is proposed (for example, refer patent document 1). In the apparatus described in Patent Document 1, after the USB device is connected to the information processing apparatus, the initialization of the controller included in the USB device is completed, and then the USB device transmits the power on and the transfer speed. Even if the information processing device detects power-on and issues a bus reset signal to pull up the signal, the USB device is already ready for communication, and the USB device and the information processing device communicate normally. Can start.
JP-A-11-288338

ところで、この特許文献1に記載された情報処理装置では、例えば情報処理装置から電力の供給を受けるUSBデバイスなどが接続されこのUSBデバイスが電源オンとなったときに、何らかの原因で信号の出力が不安定になり、実際はD+側をプルアップした信号を出力しなければならないところ、D−側をプルアップした信号が一瞬だけ先に出力されてしまうことがあった。このような場合は、情報処理装置側では、USBデバイスの対応する転送速度を誤って設定してしまい、その後の通信を正常に行えない場合があった。   By the way, in the information processing apparatus described in Patent Document 1, for example, when a USB device that receives power supply from the information processing apparatus is connected and the USB device is turned on, a signal is output for some reason. The signal becomes unstable and, in fact, a signal with the D + side pulled up must be output, but the signal with the D− side pulled up may be output for a moment. In such a case, on the information processing apparatus side, the corresponding transfer speed of the USB device is set incorrectly, and subsequent communication may not be performed normally.

本発明は、このような課題に鑑みなされたものであり、接続された機器に対応する転送速度をより確実に設定することができる情報処理装置、印刷装置、情報処理方法及びプログラムを提供することを目的とする。   The present invention has been made in view of such problems, and provides an information processing apparatus, a printing apparatus, an information processing method, and a program capable of more reliably setting a transfer speed corresponding to a connected device. With the goal.

本発明は、上述の目的を達成するために以下の手段を採った。   The present invention adopts the following means in order to achieve the above-mentioned object.

本発明の情報処理装置は、
接続機器への電力供給線が接続され前記接続機器との間で情報をやりとり可能に接続する接続手段と、
前記接続手段に接続機器が接続されたとき又は前記接続手段に接続されている接続機器のオフ信号を入力したときに前記接続されている接続機器が対応する転送速度に関する第1信号及び第2信号のうちいずれかの信号を前記接続手段を介して前記接続機器から取得する信号取得手段と、
前記オフ信号を入力したときには前記接続手段を介した前記接続機器への電力供給を停止する供給制御手段と、
前記信号取得手段によって取得された信号が前記第1信号であるときには前記接続機器が第1転送速度に対応しているものと判定し、前記信号取得手段によって取得された信号が前記第2信号であるときには前記接続機器が前記第1転送速度と異なる第2転送速度に対応しているものと判定する転送速度判定手段と、
前記信号取得手段によって取得された信号が前記第1信号であるときには、前記供給制御手段が前記オフ信号の入力により前記接続機器への電力供給を停止したとしても前記接続機器の動作可能な状態が維持されるよう又は該状態で前記接続機器のオフ信号を前記信号取得手段及び前記供給制御手段へ出力し、その後前記信号取得手段によって取得された信号を用いて前記転送速度判定手段が判定した判定結果に基づいて前記接続された接続機器との間の転送速度を設定する転送速度設定手段と、
を備えたものである。
The information processing apparatus of the present invention
A connection means for connecting a power supply line to a connected device and connecting the connected device so that information can be exchanged;
When a connection device is connected to the connection means, or when an off signal of the connection device connected to the connection means is input, a first signal and a second signal relating to a transfer rate corresponding to the connection device connected Signal acquisition means for acquiring any of the signals from the connection device via the connection means,
Supply control means for stopping power supply to the connection device via the connection means when the off signal is input;
When the signal acquired by the signal acquisition means is the first signal, it is determined that the connected device is compatible with the first transfer rate, and the signal acquired by the signal acquisition means is the second signal. Transfer speed determination means for determining that the connected device is compatible with a second transfer speed different from the first transfer speed;
When the signal acquired by the signal acquisition unit is the first signal, even if the supply control unit stops the power supply to the connection device due to the input of the off signal, the connected device is operable. The determination that the transfer speed determination means determines using the signal acquired by the signal acquisition means after that the connected device off signal is output to the signal acquisition means and the supply control means so as to be maintained or in this state A transfer rate setting means for setting a transfer rate between the connected devices based on the result; and
It is equipped with.

この情報処理装置では、接続手段に接続機器が接続されたとき又は接続手段に接続されている接続機器のオフ信号を入力したときに、この接続されている接続機器の対応する転送速度に関する第1信号及び第2信号のうちいずれかの信号を接続手段を介して取得し、オフ信号を入力したときには接続機器への電力の供給を停止し、取得した信号が第1信号であるときには接続機器が第1転送速度に対応しているものと判定し、取得した信号が第2信号であるときには接続機器が前記第1転送速度と異なる第2転送速度に対応しているものと判定し、取得した信号が第1信号であるときには接続機器への電力供給を停止したとしても接続機器の動作可能な状態が維持されるよう又はそのような状態で接続機器へのオフ信号を出力し、その後、取得した信号を用いて判定した判定結果に基づいて接続された接続機器との間の転送速度を設定する。即ち、第1信号を取得したときには、接続機器の動作可能な状態が維持されるよう又はそのような状態でオフ信号を出力し、接続機器から転送速度に関する信号を再取得し、再取得した信号に基づいて接続された接続機器との間の転送速度を設定するのである。このように、接続機器の動作可能な状態が維持される状態でオフ信号を出力することにより再度同じ信号が出力されるのを抑制し、接続機器から出力された信号を再確認するため、接続された機器に対応する転送速度をより確実に設定することができる。ここで、「接続機器が対応する転送速度に関する第1信号」は、第2信号よりも取得する頻度の低い信号であるものとしてもよいし、取得する予定のない信号であるものとしてもよい。こうすれば、取得する可能性の低い第1信号が正しいものか否かを確認することができる。   In this information processing apparatus, when a connection device is connected to the connection unit or when an off signal of the connection device connected to the connection unit is input, the first transfer rate corresponding to the connection device connected is first. One of the signal and the second signal is acquired via the connection means, and when the off signal is input, the supply of power to the connected device is stopped, and when the acquired signal is the first signal, the connected device It is determined that it corresponds to the first transfer rate, and when the acquired signal is the second signal, it is determined that the connected device is compatible with a second transfer rate different from the first transfer rate, and acquired. When the signal is the first signal, even if the power supply to the connected device is stopped, the operable state of the connected device is maintained or the off signal is output to the connected device in such a state. Setting the transfer speed between the connected connection device based on the determined determination result using the signal. That is, when the first signal is acquired, an off signal is output so that the operable state of the connected device is maintained, or in such a state, a signal related to the transfer speed is reacquired from the connected device, and the reacquired signal is acquired. The transfer speed between the connected devices is set based on the above. In this way, it is possible to suppress the output of the same signal again by outputting the off signal while the operable state of the connected device is maintained, and to reconfirm the signal output from the connected device. The transfer rate corresponding to the selected device can be set more reliably. Here, the “first signal related to the transfer rate supported by the connected device” may be a signal that is acquired less frequently than the second signal, or may be a signal that is not scheduled to be acquired. In this way, it is possible to confirm whether or not the first signal that is unlikely to be acquired is correct.

本発明の情報処理装置において、前記転送速度設定手段は、前記接続機器の動作可能な状態が維持されるよう前記接続機器へのオフ信号を出力するに際して、前記供給制御手段が前記オフ信号の入力により前記接続機器への電力供給を停止したとしても前記接続機器が動作可能である所定時間だけ前記接続手段に接続された接続機器へのオフ信号を前記信号取得手段及び前記供給制御手段へ出力するものとしてもよい。こうすれば、比較的簡単に接続機器の動作可能な状態が維持される状態で接続機器から転送速度に関する信号を再取得することができる。   In the information processing apparatus of the present invention, when the transfer rate setting unit outputs an off signal to the connected device so that the operable state of the connected device is maintained, the supply control unit inputs the off signal. Even if the power supply to the connection device is stopped by the above, an off signal to the connection device connected to the connection means is output to the signal acquisition means and the supply control means for a predetermined time during which the connection device is operable. It may be a thing. By so doing, it is possible to reacquire a signal relating to the transfer rate from the connected device while maintaining the operable state of the connected device relatively easily.

本発明の情報処理装置において、前記接続手段は、前記供給制御手段が前記オフ信号を入力し前記接続機器への電力の供給を停止しようとしても前記接続機器への電力供給が停止しないよう前記供給制御手段が制御する電力供給線とは別の電力供給線により電力が供給されているものとしてもよい。こうすれば、確実に接続機器の動作可能な状態が維持される状態で接続機器から転送速度に関する信号を再取得することができる。   In the information processing apparatus according to the aspect of the invention, the connection unit may prevent the supply of power to the connection device from being stopped even if the supply control unit inputs the off signal and stops supply of power to the connection device. The power may be supplied by a power supply line different from the power supply line controlled by the control means. In this way, it is possible to re-acquire a signal related to the transfer rate from the connected device in a state where the operable state of the connected device is reliably maintained.

本発明の情報処理装置において、前記接続手段は、前記接続機器としてのUSB機器と接続可能であり、前記転送速度判定手段は、前記信号取得手段が前記接続された接続機器から前記第2信号を取得したときには前記USB機器が前記第1転送速度よりも高速である第2転送速度に対応しているものと判定するものとしてもよい。USB機器は、情報処理装置に接続され、情報処理装置から電力供給を受けると共に情報の入出力を行うことが多いため、本発明を適用する意義が高い。また、より確実に第1転送速度よりも高速な第2転送速度に設定することができる。   In the information processing apparatus according to the aspect of the invention, the connection unit may be connected to a USB device as the connection device, and the transfer speed determination unit may receive the second signal from the connection device to which the signal acquisition unit is connected. When acquired, the USB device may be determined to be compatible with a second transfer speed that is higher than the first transfer speed. A USB device is connected to an information processing apparatus, receives power supply from the information processing apparatus, and frequently inputs and outputs information, and therefore, the significance of applying the present invention is high. In addition, it is possible to set the second transfer speed higher than the first transfer speed more reliably.

本発明の情報処理装置において、前記転送速度設定手段は、前記接続手段を介して供給された電力によって動作する前記接続機器が該接続手段へ接続されたあと、前記信号取得手段によって取得された信号が前記第1信号であるときには、前記供給制御手段が前記オフ信号の入力により前記接続機器への電力供給を停止したとしても前記接続機器の動作可能な状態が維持されるよう又は該状態で前記接続機器へのオフ信号を前記信号取得手段及び前記供給制御手段へ出力するものとしてもよい。接続手段から供給された電力で動作する接続機器の接続時には、この接続機器の電力状態などが安定せずノイズなどの信号が出力されることが多い。ここでは、接続手段から供給された電力で動作する接続機器が接続されたときに接続機器から転送速度に関する信号を再取得するため、接続された機器に対応する転送速度を効率よくより確実に設定することができる。   In the information processing apparatus of the present invention, the transfer rate setting means may be configured such that the signal acquired by the signal acquisition means after the connection device that operates with the power supplied via the connection means is connected to the connection means. Is the first signal, the supply control means maintains the operable state of the connected device even if the supply control means stops the power supply to the connected device due to the input of the off signal. An off signal to the connected device may be output to the signal acquisition unit and the supply control unit. When connecting a connection device that operates with the power supplied from the connection means, the power state of the connection device is not stable and a signal such as noise is often output. Here, when a connected device that operates with the power supplied from the connection means is connected, a transfer speed signal is re-acquired from the connected device, so the transfer rate corresponding to the connected device is set more efficiently and reliably. can do.

本発明の印刷装置は、上述したいずれかに記載の情報処理装置と、着色剤を用いて印刷媒体へ画像を印刷可能な印刷処理手段と、前記情報処理装置から取得した情報に基づいて画像を印刷媒体へ印刷するよう前記印刷処理手段を制御する印刷制御手段と、を備えたものである。印刷装置は、外部記憶装置(例えばUSBメモリやメモリカード)などの接続機器と接続し情報を取得して印刷することが多いため、本発明を適用する意義が高い。   The printing apparatus of the present invention includes an information processing apparatus according to any one of the above, a print processing unit capable of printing an image on a print medium using a colorant, and an image based on information acquired from the information processing apparatus. Print control means for controlling the print processing means to print on a print medium. Since a printing apparatus is often connected to a connected device such as an external storage device (for example, a USB memory or a memory card) to acquire information for printing, it is highly meaningful to apply the present invention.

本発明の情報処理方法は、
接続機器への電力供給線が接続され前記接続機器との間で情報をやりとり可能に接続する接続手段、を備えた情報処理装置を利用した情報処理方法であって、
(a)前記接続手段に接続機器が接続されたとき又は前記接続手段に接続されている接続機器のオフ信号を入力したときに前記接続されている接続機器の対応する転送速度に関する第1信号及び第2信号のうちいずれかの信号を前記接続手段を介して前記接続機器から取得するステップと、
(b)前記オフ信号を入力したときには前記接続手段を介した前記接続機器への電力供給を停止するステップと、
(c)前記ステップ(a)で取得した信号が前記第1信号であるときには前記接続機器が第1転送速度に対応しているものと判定し、前記ステップ(b)で取得した信号が前記第2信号であるときには前記接続機器が前記第1転送速度と異なる第2転送速度に対応しているものと判定するステップと、
(d)前記ステップ(a)で取得した信号が前記第1信号であるときには、前記ステップ(b)で前記オフ信号の入力により前記接続機器への電力供給を停止したとしても前記接続機器の動作可能な状態が維持されるよう又は該状態で前記接続機器のオフ信号を出力し、その後前記ステップ(a)で取得した信号を用いて前記ステップ(c)で判定した判定結果に基づいて前記接続された接続機器との間の転送速度を設定するステップと、
を含むものである。
The information processing method of the present invention includes:
An information processing method using an information processing apparatus including a connection unit that is connected to a power supply line to a connection device and is capable of exchanging information with the connection device,
(A) when a connection device is connected to the connection means or when an off signal of the connection device connected to the connection means is input, a first signal relating to a transfer rate corresponding to the connected connection device; Acquiring any one of the second signals from the connection device via the connection means;
(B) stopping the power supply to the connection device via the connection means when the off signal is input;
(C) When the signal acquired in step (a) is the first signal, it is determined that the connected device is compatible with the first transfer rate, and the signal acquired in step (b) is the first signal. Determining that the connected device is compatible with a second transfer rate different from the first transfer rate when there are two signals;
(D) When the signal acquired in the step (a) is the first signal, the operation of the connected device is performed even if the power supply to the connected device is stopped by the input of the off signal in the step (b). Based on the determination result determined in the step (c) using the signal acquired in the step (a) after the off signal of the connected device is output so that the possible state is maintained or in the state Setting a transfer speed with the connected device,
Is included.

この情報処理方法では、接続手段に接続機器が接続されたとき又は接続手段に接続されている接続機器のオフ信号を入力したときに、この接続されている接続機器の対応する転送速度に関する第1信号及び第2信号のうちいずれかの信号を接続手段を介して取得し、オフ信号を入力したときには接続機器への電力の供給を停止し、取得した信号が第1信号であるときには接続機器が第1転送速度に対応しているものと判定し、取得した信号が第2信号であるときには接続機器が前記第1転送速度と異なる第2転送速度に対応しているものと判定し、取得した信号が第1信号であるときには接続機器への電力供給を停止したとしても接続機器の動作可能な状態が維持されるよう又はそのような状態で接続機器へのオフ信号を出力し、その後、取得した信号を用いて判定した判定結果に基づいて接続された接続機器との間の転送速度を設定する。即ち、第1信号を取得したときには、接続機器の動作可能な状態が維持されるよう又はそのような状態でオフ信号を出力し、接続機器から転送速度に関する信号を再取得し、再取得した信号に基づいて接続された接続機器との間の転送速度を設定するのである。このように、接続機器の動作可能な状態が維持される状態でオフ信号を出力することにより再度同じ信号が出力されるのを抑制し、接続機器から出力された信号を再確認するため、接続された機器に対応する転送速度をより確実に設定することができる。なお、この情報処理方法において、上述した情報処理装置の種々の態様を採用してもよいし、また、上述した情報処理装置の各機能を実現するようなステップを追加してもよい。   In this information processing method, when the connection device is connected to the connection means or when an off signal of the connection device connected to the connection means is input, the first transfer rate corresponding to the connection device connected is first. One of the signal and the second signal is acquired via the connection means, and when the off signal is input, the supply of power to the connected device is stopped, and when the acquired signal is the first signal, the connected device It is determined that it corresponds to the first transfer rate, and when the acquired signal is the second signal, it is determined that the connected device is compatible with a second transfer rate different from the first transfer rate, and acquired. When the signal is the first signal, even if the power supply to the connected device is stopped, the operable state of the connected device is maintained or the off signal is output to the connected device in such a state. Setting the transfer speed between the connected connection device based on the determined determination result using the signal. That is, when the first signal is acquired, an off signal is output so that the operable state of the connected device is maintained, or in such a state, a signal related to the transfer speed is reacquired from the connected device, and the reacquired signal is acquired. The transfer speed between the connected devices is set based on the above. In this way, it is possible to suppress the output of the same signal again by outputting the off signal while the operable state of the connected device is maintained, and to reconfirm the signal output from the connected device. The transfer rate corresponding to the selected device can be set more reliably. In this information processing method, various aspects of the information processing apparatus described above may be adopted, and steps for realizing each function of the information processing apparatus described above may be added.

本発明のプログラムは、上述した情報処理方法の各ステップを1又は複数のコンピュータに実現させるためのものである。このプログラムは、コンピュータが読み取り可能な記録媒体(例えばハードディスク、ROM、FD、CD、DVDなど)に記録されていてもよいし、伝送媒体(インターネットやLANなどの通信網)を介してあるコンピュータから別のコンピュータへ配信されてもよいし、その他どのような形で授受されてもよい。このプログラムを一つのコンピュータに実行させるか又は複数のコンピュータに各ステップを分担して実行させれば、上述した情報処理方法の各ステップが実行されるため、情報処理方法と同様の作用効果が得られる。   The program of the present invention is for causing one or more computers to realize each step of the information processing method described above. This program may be recorded on a computer-readable recording medium (for example, hard disk, ROM, FD, CD, DVD, etc.), or from a computer via a transmission medium (communication network such as the Internet or LAN). It may be distributed to another computer, or may be exchanged in any other form. If this program is executed by a single computer or if each step is shared and executed by a plurality of computers, each step of the information processing method described above is executed, so that the same effect as the information processing method can be obtained. It is done.

次に本発明を具現化した一実施形態について図面を用いて説明する。図1は、本発明の一例を表すプリンタ20の構成の概略を示す構成図である。本実施形態のプリンタ20は、装置全体の制御を司るメインコントローラ21と、例えば電気通信回線としてのLANに接続された外部機器との間で情報の送受信が可能なネットワークインターフェース(I/F)26と、記録紙Sへ画像を印刷するプリンタ部30と、周辺機器としてのUSBデバイスとの接続及び接続解除可能であると共に装着されたメモリカード50や光ディスク(DVD−RWやDVD−RAMなど)と情報のやりとりを行うUSB装置40と、を備えている。メインコントローラ21は、CPU22を中心とするマイクロプロセッサとして構成されており、各種処理プログラムを記憶したROM23と、一時的にデータを記憶したりデータを保存したりするRAM24と、を備えている。このメインコントローラ21は、バス28を介してプリンタASIC32などと接続されている。RAM24には、印刷データを格納する図示しない印刷バッファ領域などが設けられている。   Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram showing an outline of the configuration of a printer 20 representing an example of the present invention. The printer 20 of the present embodiment includes a network interface (I / F) 26 that can transmit and receive information between a main controller 21 that controls the entire apparatus and an external device connected to a LAN as an electric communication line, for example. A printer unit 30 that prints an image on the recording paper S, and a memory card 50 and an optical disk (DVD-RW, DVD-RAM, etc.) that can be connected to and disconnected from a USB device as a peripheral device. And a USB device 40 for exchanging information. The main controller 21 is configured as a microprocessor centered on a CPU 22 and includes a ROM 23 that stores various processing programs and a RAM 24 that temporarily stores data and stores data. The main controller 21 is connected to a printer ASIC 32 and the like via a bus 28. The RAM 24 is provided with a print buffer area (not shown) for storing print data.

プリンタ部30は、プリンタ機構31と、プリンタASIC(Application Specific Integrated Circuit)32とを備えている。プリンタ機構31は、ブラック・シアン・マゼンタ・イエローなど各色のインクを個別に収容したインクカートリッジ34と、インクカートリッジ34から供給された各インクに圧力をかける圧力発生部35と、圧力発生部35で加圧されたインクを記録紙Sに吐出するインク吐出口36と、記録紙Sを搬送する搬送ローラ38とを備えている。圧力発生部35は、圧電素子に電圧をかけることによりこの圧電素子を変形させてインクを加圧する方式を採用している。なお、この圧力発生部35は、発熱抵抗体(例えばヒータなど)に電圧をかけインクを加熱して発生した気泡によりインクを加圧する方式を採用してもよい。プリンタASIC32は、プリンタ機構31を制御する機能を備えたICチップであり、RAM24に設けられた印刷バッファ内の印刷データをラスタデータに展開し該展開した展開データを記録紙Sに印刷するようにプリンタ機構31を制御するものである。   The printer unit 30 includes a printer mechanism 31 and a printer ASIC (Application Specific Integrated Circuit) 32. The printer mechanism 31 includes an ink cartridge 34 that individually stores ink of each color such as black, cyan, magenta, and yellow, a pressure generator 35 that applies pressure to each ink supplied from the ink cartridge 34, and a pressure generator 35. An ink discharge port 36 for discharging the pressurized ink onto the recording paper S and a transport roller 38 for transporting the recording paper S are provided. The pressure generating unit 35 employs a method in which a voltage is applied to the piezoelectric element to deform the piezoelectric element and pressurize the ink. The pressure generator 35 may employ a method in which ink is pressurized with bubbles generated by applying voltage to a heating resistor (for example, a heater) to heat the ink. The printer ASIC 32 is an IC chip having a function of controlling the printer mechanism 31, and develops print data in the print buffer provided in the RAM 24 into raster data and prints the developed data on the recording paper S. The printer mechanism 31 is controlled.

USB装置40は、ポート1〜4を有するHUB41と、携帯用の記憶媒体であるメモリカード50を装着部としてのスロット42aへ装着・取外し可能であるカードリーダ42と、例えばUSBメモリ47や外部記憶装置(例えば外付けHDD)などのUSBデバイスが接続可能な外部接続端子46と、DVD−RWなどの光ディスクにデータを書き込み消去可能なドライブである内蔵ドライブ48と、USB装置40の全体を制御するUSBホストコントローラ40aと、USBホストコントローラ40aとCPU22とがアクセス可能であり一時的に情報を記憶可能な共有メモリ49と、を備えている。HUB41は、HUB41を制御するHUBコントローラ41aを備えており、ポート1にカードリーダ42が接続され、ポート2に外部接続端子46が接続され、ポート3に内蔵ドライブ48が接続され、ポート4は空きポートとなっており、これら接続された機器とUSBホストコントローラ40aとの間の情報のやりとりを仲介する機器である。HUBコントローラ41aは、外部接続端子46へUSBデバイスが新たに接続されたときには、このUSBデバイスの対応する転送速度に関する信号を取得し、USBホストコントローラ40aからUSBデバイスが接続されているポートへ電力供給停止の指令を受けると、そのポートへの電力供給を停止し、そのポートの転送速度の情報(スピード情報)をリセットすると共にそのポートに接続されたUSBデバイスの対応する転送速度に関する信号を取得する機能を有している。また、HUBコントローラ41aは、取得した信号に基づいて、HUB41に接続されたUSBデバイスがフルスピードに対応しているか、ロースピードに対応しているかを検出したり、HUB41へのUSBデバイスの接続やHUB41からのUSBデバイスの接続解除を監視したりする機能を有している。このHUB41とUSBホストコントローラ40aとの間には、HUB41の各ポートに接続された機器へUSBホストコントローラ40aから電力を供給する電力供給ライン(VBUS)や「D+」信号を送信する「D+」信号ライン,「D−」信号を送信する「D−」信号ライン,グランド電位に接続されたGNDラインの4本のラインが接続されている。また、HUB41のポート1とカードリーダ42と、HUB41のポート3と内蔵ドライブ48との間にも同様に各ポートごとに電力供給ラインや「D+」信号ライン,「D−」信号ライン,GNDラインの4本のラインが接続されている。外部接続端子46には、HUB41のポート2からの「D+」信号ライン,「D−」信号ライン,GNDラインの3本のラインが接続されていると共に、HUB41のポート4からの電力供給ラインが接続されている。したがって、USBホストコントローラ40aからの指令を受けてHUBコントローラ41aがポート2への電力供給の停止を実行したとしても、外部接続端子46に接続されたUSBデバイスへポート4から電力が供給されるようになっている。なお、実際にポート2へ接続されたUSBデバイスへの電力供給を停止したい場合、USBホストコントローラ40aは、ポート4に対して電力供給を停止する指令をHUBコントローラ41aへ出力させればよい。   The USB device 40 includes a HUB 41 having ports 1 to 4, a card reader 42 capable of mounting / removing a memory card 50, which is a portable storage medium, in a slot 42 a serving as a mounting unit, a USB memory 47, an external storage, for example An external connection terminal 46 to which a USB device such as a device (for example, an external HDD) can be connected, an internal drive 48 that is a drive capable of writing and erasing data on an optical disk such as a DVD-RW, and the entire USB device 40 are controlled. A USB host controller 40a, and a shared memory 49 that can be accessed by the USB host controller 40a and the CPU 22 and can temporarily store information are provided. The HUB 41 includes a HUB controller 41a that controls the HUB 41. The card reader 42 is connected to the port 1, the external connection terminal 46 is connected to the port 2, the internal drive 48 is connected to the port 3, and the port 4 is empty. It is a port and is a device that mediates exchange of information between these connected devices and the USB host controller 40a. When a USB device is newly connected to the external connection terminal 46, the HUB controller 41a acquires a signal related to the transfer speed corresponding to the USB device, and supplies power from the USB host controller 40a to the port to which the USB device is connected. When the stop command is received, the power supply to the port is stopped, the transfer speed information (speed information) of the port is reset, and a signal related to the corresponding transfer speed of the USB device connected to the port is acquired. It has a function. Further, the HUB controller 41a detects whether the USB device connected to the HUB 41 is compatible with full speed or low speed based on the acquired signal, and connects the USB device to the HUB 41. It has a function of monitoring the disconnection of the USB device from the HUB 41. Between the HUB 41 and the USB host controller 40a, a power supply line (VBUS) for supplying power from the USB host controller 40a to a device connected to each port of the HUB 41 and a “D +” signal for transmitting a “D +” signal Four lines of a line, a “D−” signal line for transmitting a “D−” signal, and a GND line connected to the ground potential are connected. Similarly, between the port 1 of the HUB 41 and the card reader 42, and between the port 3 of the HUB 41 and the built-in drive 48, a power supply line, a “D +” signal line, a “D−” signal line, and a GND line are also provided for each port. These four lines are connected. The external connection terminal 46 is connected to three lines of the “D +” signal line, the “D−” signal line, and the GND line from the port 2 of the HUB 41, and a power supply line from the port 4 of the HUB 41. It is connected. Therefore, even if the HUB controller 41a stops the power supply to the port 2 in response to a command from the USB host controller 40a, the power is supplied from the port 4 to the USB device connected to the external connection terminal 46. It has become. When it is desired to stop power supply to the USB device actually connected to the port 2, the USB host controller 40a may output a command to the port 4 to stop power supply to the HUB controller 41a.

次に、こうして構成された本実施形態のプリンタ20の動作、まず、外部接続端子46に新たにUSBデバイスが接続されたときの動作について説明する。図2は、USBホストコントローラ40aによって実行される転送速度設定処理ルーチンの一例を示すフローチャートであり、図3がHUBコントローラ41aによって実行される転送速度検出処理ルーチンの一例を示すフローチャートである。USB装置40では、外部接続端子46へ接続されたUSBデバイスの対応する転送速度をHUBコントローラ41aが検出し、この検出結果をもとにこのUSBデバイスとの間の通信速度をUSBホストコントローラ40aが設定する。まず、USBホストコントローラ40aにより実行される転送速度設定処理ルーチンから説明する。このルーチンは、USBホストコントローラ40aに記憶され、プリンタ20の電源がオンされたあと繰り返し実行される。   Next, the operation of the printer 20 of this embodiment configured as described above, first, the operation when a USB device is newly connected to the external connection terminal 46 will be described. FIG. 2 is a flowchart showing an example of a transfer rate setting process routine executed by the USB host controller 40a, and FIG. 3 is a flowchart showing an example of a transfer rate detection process routine executed by the HUB controller 41a. In the USB device 40, the HUB controller 41a detects the transfer speed corresponding to the USB device connected to the external connection terminal 46, and the USB host controller 40a determines the communication speed with the USB device based on the detection result. Set. First, a transfer rate setting process routine executed by the USB host controller 40a will be described. This routine is stored in the USB host controller 40a, and is repeatedly executed after the printer 20 is turned on.

このルーチンを実行すると、まず、USBホストコントローラ40aは、新たにUSBデバイスが外部接続端子46へ接続されたか否かを判定する(ステップS100)。この新たにUSBデバイスが外部接続端子46へ接続されたか否かの判定は、HUBコントローラ41aの図示しないメモリに記憶された接続情報をポーリングすることにより入力して行うものとした。新たにUSBデバイスが外部接続端子46へ接続されていないと判定されたときには、そのままこのルーチンを終了し、新たにUSBデバイスが外部接続端子46へ接続されたと判定されたときには、ポートリセット実行指令をHUB41へ出力する(ステップS110)。このポートリセット実行指令は、USBデバイスが接続されたポート(ここではポート2)の初期化を行う指令である。なお、このポートリセット実行指令を受けたHUBコントローラ41aは、指定されたポート(ここではポート2)のリセットを実行する。次に、HUBコントローラ41aのメモリに記憶されたスピード情報を取得し(ステップS120)、取得したスピード情報を用いて、接続されたUSBデバイスの対応する転送速度を判定する(ステップS130)。このスピード情報は、後述する図3の転送速度検出処理ルーチンでHUBコントローラ41aが検出して記憶する、ポートに接続されたUSBデバイスの転送速度に関する情報であり、上記ポートリセットによってもリセットされずポートリセット前の値が保持されるものとした。また、USBホストコントローラ40aからHUBコントローラ41aへの新たなUSBデバイスの接続検出のポーリングには比較的長い間隔(例えば数秒など)があるため、新たに接続されたUSBデバイスのスピード情報は、ステップS110でのポートリセット実行指令の出力時には、後述する転送速度検出処理ルーチンで既にHUBコントローラ41aに記憶されているものとした。さて、接続されたUSBデバイスの対応する転送速度がフルスピードであると判定されたときには、このUSBデバイスとの間の通信速度をフルスピード通信に設定し(ステップS140)、このルーチンを終了する。   When this routine is executed, the USB host controller 40a first determines whether or not a USB device is newly connected to the external connection terminal 46 (step S100). The determination as to whether or not the USB device is newly connected to the external connection terminal 46 is performed by inputting connection information stored in a memory (not shown) of the HUB controller 41a by polling. When it is determined that the USB device is not newly connected to the external connection terminal 46, this routine is terminated, and when it is determined that the USB device is newly connected to the external connection terminal 46, a port reset execution command is issued. It outputs to HUB41 (step S110). This port reset execution command is a command for initializing the port to which the USB device is connected (here, port 2). The HUB controller 41a that has received this port reset execution command resets the designated port (here, port 2). Next, the speed information stored in the memory of the HUB controller 41a is acquired (step S120), and the transfer speed corresponding to the connected USB device is determined using the acquired speed information (step S130). This speed information is information related to the transfer speed of the USB device connected to the port, which is detected and stored by the HUB controller 41a in the transfer speed detection processing routine of FIG. 3 to be described later. It was assumed that the value before reset was retained. Further, since polling for detecting the connection of a new USB device from the USB host controller 40a to the HUB controller 41a has a relatively long interval (for example, several seconds), the speed information of the newly connected USB device is obtained in step S110. At the time of output of the port reset execution command, the HUB controller 41a is already stored in the transfer speed detection processing routine described later. When it is determined that the transfer speed corresponding to the connected USB device is full speed, the communication speed with the USB device is set to full speed communication (step S140), and this routine is terminated.

一方、接続されたUSBデバイスの対応する転送速度がロースピードであると判定されたときには、接続されたポート2の電力供給のオフ・オン指令をHUBコントローラ41aへ出力する(ステップS150)。この電力供給のオフ・オン指令については後述する。続いて、ポートリセット実行指令をHUBコントローラ41aへ出力し(ステップS160)、ポートリセット前にHUBコントローラ41aのメモリに記憶されたスピード情報を取得し(ステップS170)、接続されたUSBデバイスの対応する転送速度を再度調べる(ステップS180)。接続されたUSBデバイスの対応する転送速度がフルスピードであると判定されたときには、このUSBデバイスとの間の通信速度をフルスピード通信に設定し(ステップS140)、このルーチンを終了する。一方、接続されたUSBデバイスの対応する転送速度がロースピードであると判定されたときには、検出結果が正しいものとして、このUSBデバイスとの間の通信速度をロースピード通信に設定し(ステップS190)、このルーチンを終了する。   On the other hand, when it is determined that the corresponding transfer speed of the connected USB device is low speed, the power supply off / on command of the connected port 2 is output to the HUB controller 41a (step S150). This power supply off / on command will be described later. Subsequently, the port reset execution command is output to the HUB controller 41a (step S160), the speed information stored in the memory of the HUB controller 41a before the port reset is acquired (step S170), and the corresponding USB device is supported. The transfer rate is checked again (step S180). When it is determined that the corresponding transfer speed of the connected USB device is full speed, the communication speed with the USB device is set to full speed communication (step S140), and this routine is ended. On the other hand, when it is determined that the corresponding transfer speed of the connected USB device is low speed, the communication speed with the USB device is set to low speed communication assuming that the detection result is correct (step S190). This routine is terminated.

ここで、ステップS120〜S190の処理について説明する。USB装置40では、ロースピードのみに対応するUSBデバイス(例えばマウスやキーボードなど)の接続についてもサポートされているが、このような機器が外部接続端子46へ接続されることは予定されていない。このように、ロースピードデバイスが外部接続端子46へ接続されたと判定されたときには、外部接続端子46を介して電力供給を得て動作するフルスピードデバイスであるUSBメモリ47などがUSBデバイスとして外部接続端子46へ接続されたときに、ノイズなどが出力されて誤判定した可能性がある。また、HUBコントローラ41aは、指定されたポートのオフ指令を受けるとそのポートのスピード情報をリセットしこのスピード情報を再取得する機能を有している。このため、ポート2に対して電力供給を停止する指令を出力し、HUBコントローラ41aにUSBデバイスの対応する転送速度を再度検出させるのである。   Here, the processing of steps S120 to S190 will be described. Although the USB device 40 supports connection of a USB device (for example, a mouse or a keyboard) that supports only low speed, such a device is not planned to be connected to the external connection terminal 46. As described above, when it is determined that the low-speed device is connected to the external connection terminal 46, the USB memory 47, which is a full-speed device that operates by obtaining power supply via the external connection terminal 46, is externally connected as a USB device. When connected to the terminal 46, there is a possibility that noise or the like is output and an erroneous determination is made. Further, the HUB controller 41a has a function of resetting the speed information of the port and reacquiring the speed information when receiving an off command of the designated port. For this reason, a command to stop power supply is output to the port 2, and the HUB controller 41a is made to detect again the transfer rate corresponding to the USB device.

次に、HUBコントローラ41aにより実行される転送速度検出処理ルーチンについて説明する。このルーチンは、HUBコントローラ41aに記憶され、プリンタ20の電源がオンされたあと繰り返し実行される。このルーチンを開始すると、HUBコントローラ41aは、新たにUSBデバイスが外部接続端子46へ接続されたか否かを判定する(ステップS200)。この新たにUSBデバイスが外部接続端子46へ接続されたか否かの判定は、所定間隔でポート2をポーリングにより確認して検出するものとした。新たにUSBデバイスが外部接続端子46へ接続されたと判定されたときには、接続されたUSBデバイスの対応する転送速度に関する信号(「D+」がオン又は「D−」がオン)を取得し(ステップS210)、取得した信号を調べる(ステップS220)。ここでは、「D+」信号ラインの「D+」信号がオンであるときにフルスピード信号を取得したものと判定し、「D−」信号ラインの「D−」信号がオンであるときにロースピード信号を取得したものと判定する。続いて、フルスピード信号を取得したと判定されたときには、USBデバイスが対応する転送速度がフルスピードであると検出し(ステップS230)、ロースピード信号を取得したと判定されたときには、USBデバイスが対応する転送速度がロースピードであると検出する(ステップS240)。ステップS240のあと、又は、ステップS230のあと、USBデバイスのスピード情報を図示しないHUBコントローラ41aのメモリに記憶させる(ステップS250)。   Next, a transfer rate detection processing routine executed by the HUB controller 41a will be described. This routine is stored in the HUB controller 41a, and is repeatedly executed after the printer 20 is turned on. When this routine is started, the HUB controller 41a determines whether or not a USB device is newly connected to the external connection terminal 46 (step S200). Whether or not the USB device is newly connected to the external connection terminal 46 is determined by detecting the port 2 by polling at predetermined intervals. When it is determined that a USB device is newly connected to the external connection terminal 46, a signal (“D +” is on or “D−” is on) corresponding to the connected USB device is acquired (step S210). The obtained signal is examined (step S220). Here, it is determined that the full speed signal has been acquired when the “D +” signal of the “D +” signal line is on, and the low speed is obtained when the “D−” signal of the “D−” signal line is on. It is determined that the signal has been acquired. Subsequently, when it is determined that the full speed signal has been acquired, it is detected that the transfer speed supported by the USB device is full speed (step S230), and when it is determined that the low speed signal has been acquired, the USB device is It is detected that the corresponding transfer speed is low speed (step S240). After step S240 or after step S230, the speed information of the USB device is stored in the memory of the HUB controller 41a (not shown) (step S250).

ステップS250のあと、または、ステップS200で新たにUSBデバイスが外部接続端子46へ接続されていないと判定されたあと、上述の転送速度設定処理ルーチンのステップS150で出力されたポート2の電力供給のオフ・オン指令をUSBホストコントローラ40aから入力したか否かを判定し(ステップS260)、ポート2の電力供給のオフ・オン指令をUSBホストコントローラ40aから入力していないと判定されたときには、そのままこのルーチンを終了する。   After step S250, or after it is determined in step S200 that a new USB device is not connected to the external connection terminal 46, the power supply of the port 2 output in step S150 of the transfer speed setting processing routine described above is performed. It is determined whether or not an off / on command is input from the USB host controller 40a (step S260). When it is determined that an off / on command for supplying power to the port 2 is not input from the USB host controller 40a, This routine ends.

一方、ポート2の電力供給のオフ・オン指令をUSBホストコントローラ40aから入力したと判定されたときには、指令されたポート2への電力供給のオフ・オンを実行し(ステップS270)、指令されたポートのスピード情報をHUBコントローラ41aのメモリからクリアし(ステップS280)、接続されたUSBデバイスの対応する転送速度に関する信号を再度取得し(ステップS210)、接続されたUSBデバイスからロースピード信号を取得したか、フルスピード信号を取得したかを再度判定する(ステップS220)。ステップS270では、HUBコントローラ41aはポート2に対する電力供給をオフするが、外部接続端子46への電力供給ラインがポート4に接続されているため、このステップS210での処理は、外部接続端子46に接続されたUSBメモリ47には電力が供給されている状態で、このUSBメモリ47の対応する転送速度に関する信号をUSBメモリ47から取得する処理となる。ここで、外部接続端子46に接続されたUSBメモリ47に電力が供給されている状態が維持されるため、電力供給のオフ・オンによりUSBデバイスの接続時と同様にノイズなどが出力されてしまうのを抑制可能である。このように、USBホストコントローラ40aからポート2の電力供給のオフ・オン指令を入力したときには、形式的にポート2の電力供給をオフし、HUBコントローラ41aが外部接続端子46に接続されたUSBデバイスから転送速度に関する信号を再取得し、このデバイスがサポートする転送速度を検出し直すのである。   On the other hand, when it is determined that the power supply off / on command for the port 2 is input from the USB host controller 40a, the power supply to the commanded port 2 is turned off / on (step S270). The port speed information is cleared from the memory of the HUB controller 41a (step S280), a signal related to the transfer speed corresponding to the connected USB device is acquired again (step S210), and a low speed signal is acquired from the connected USB device. It is determined again whether a full speed signal has been acquired (step S220). In step S270, the HUB controller 41a turns off the power supply to the port 2, but since the power supply line to the external connection terminal 46 is connected to the port 4, the processing in this step S210 is performed on the external connection terminal 46. This is a process of acquiring a signal related to the transfer speed corresponding to the USB memory 47 from the USB memory 47 in a state where power is supplied to the connected USB memory 47. Here, since the state in which power is supplied to the USB memory 47 connected to the external connection terminal 46 is maintained, noise and the like are output in the same manner as when the USB device is connected due to the power supply being turned on / off. Can be suppressed. As described above, when the port 2 power supply off / on command is input from the USB host controller 40 a, the USB device is formally turned off and the HUB controller 41 a is connected to the external connection terminal 46. The signal regarding the transfer rate is re-acquired from and the transfer rate supported by this device is detected again.

最後に、図4に示す、USBホストコントローラ40aとUSBメモリ47との間の転送速度を設定する処理をタイミングチャートを用いて説明する。図4は、転送速度を設定する処理のタイミングチャートである。なお、図2の転送速度設定処理ルーチン及び図3の転送速度検出処理ルーチンに示したステップ番号と同一のステップ番号を以下の説明で用いる。ここでは、外部接続端子46からの電力供給を得て動作するフルスピードデバイスであるUSBメモリ47がUSBデバイスとして外部接続端子46へ接続された場合について説明する。外部接続端子46へUSBメモリ47が接続されると、HUBコントローラ41aは、それを検知し、USBメモリ47が対応する転送速度に関する信号(「D+」がオン又は「D−」がオン)をUSBメモリ47から取得する(時刻t1)。ここで、USBメモリ47が接続されたときに、実際は「D+」のオン信号をUSBメモリ47が出力するはずが、ノイズなどにより「D−」のオン信号が先に出力されてしまうことがある(時刻t1〜t2)。この場合、HUBコントローラ41aは、USBメモリ47がロースピードデバイスであると誤検出してしまう(ステップS240)。この直後にUSBホストコントローラ40aがポートリセット実行指令を出力し(ステップS110)、これを受けたHUBコントローラ41aがポートリセットを実行する(時刻t3)。続いて、USBホストコントローラ40aが、接続の予定されていないロースピードデバイスが接続されたものと判定し(ステップS130)、ポート2へ電力供給のオフ・オン指令を出力し(ステップS150,時刻t4)、USBメモリ47の対応する転送速度の検出を再度促す。これを受けたHUBコントローラ41aがポート2へ電力供給のオフ・オンを実行する(ステップS270,時刻t4)。このとき、実際にはポート4からの電力供給があり電力供給がオフされないため、USBメモリ47でのノイズの発生などが抑えられた状態で再度転送速度の検出が行われる。したがって、HUBコントローラ41aは、USBメモリ47がフルスピードデバイスであると正しく検出可能である(ステップS230)。そして、USBホストコントローラ40aがポートリセット実行指令を行い(ステップS160)、これを受けたHUBコントローラ41aがポートリセットを実行し(時刻t5)、USBホストコントローラ40aがフルスピードデバイスが接続されたものと判定し(ステップS170)、バス状態をフルスピード通信に設定し(ステップS140,時刻t6)、この処理を終了する。なお、再度の転送速度の検出によってもロースピードデバイスが接続されたものと判定されたときには、バス状態をロースピード通信に設定する(ステップS180)。このように、接続が予定されていないロースピードデバイスの接続が検出されたときには、形式的にポート2の電力供給をオフし、接続されたデバイスの転送速度を再検出するのである。   Finally, the process of setting the transfer speed between the USB host controller 40a and the USB memory 47 shown in FIG. 4 will be described using a timing chart. FIG. 4 is a timing chart of processing for setting the transfer rate. The same step numbers as those shown in the transfer rate setting processing routine of FIG. 2 and the transfer rate detection processing routine of FIG. 3 are used in the following description. Here, a case will be described in which a USB memory 47, which is a full-speed device that operates with power supplied from the external connection terminal 46, is connected to the external connection terminal 46 as a USB device. When the USB memory 47 is connected to the external connection terminal 46, the HUB controller 41a detects this, and sends a signal related to the transfer speed supported by the USB memory 47 ("D +" is on or "D-" is on). Obtained from the memory 47 (time t1). Here, when the USB memory 47 is connected, the USB memory 47 should actually output the “D +” on signal, but the “D−” on signal may be output first due to noise or the like. (Time t1 to t2). In this case, the HUB controller 41a erroneously detects that the USB memory 47 is a low speed device (step S240). Immediately after this, the USB host controller 40a outputs a port reset execution command (step S110), and the HUB controller 41a receiving the command executes port reset (time t3). Subsequently, the USB host controller 40a determines that a low-speed device that is not scheduled to be connected is connected (step S130), and outputs a power supply off / on command to the port 2 (step S150, time t4). ), Prompting the detection of the corresponding transfer speed of the USB memory 47 again. Receiving this, the HUB controller 41a turns off / on the power supply to the port 2 (step S270, time t4). At this time, since the power is actually supplied from the port 4 and the power supply is not turned off, the transfer speed is detected again in a state where the generation of noise in the USB memory 47 is suppressed. Therefore, the HUB controller 41a can correctly detect that the USB memory 47 is a full speed device (step S230). Then, the USB host controller 40a issues a port reset execution command (step S160), and the HUB controller 41a receiving the command executes port reset (time t5), and the USB host controller 40a is connected to the full speed device. A determination is made (step S170), the bus state is set to full-speed communication (step S140, time t6), and this process ends. If it is determined that the low speed device is connected by detecting the transfer speed again, the bus state is set to low speed communication (step S180). As described above, when the connection of the low-speed device that is not scheduled to be connected is detected, the power supply of the port 2 is formally turned off, and the transfer speed of the connected device is detected again.

その後、このように設定された転送速度により、ユーザの指示に基づいて、USBメモリ47から外部接続端子46やHUB41、共有メモリ49を介して画像ファイルを取得すると、CPU22は、取得した画像ファイルを印刷データに変換し変換した印刷データをRAM24に設けられた印刷バッファ内に格納し、この印刷データに基づいて記録紙Sへ画像を印刷する。ここで、印刷処理は、CPU22がプリンタASIC32に画像ファイルの印刷を指令し、指令されたプリンタASIC32がプリンタ機構31を制御することにより実行される。印刷が指令されると、プリンタASIC32は、RAM24に記憶されている印刷データをラスタデータに展開し、図示しない駆動モータを駆動して搬送ローラ38を回転させて記録紙Sを搬送し、圧力発生部35への電圧を制御することにより、展開したラスタデータに基づいて記録紙Sに画像を印刷する。   Thereafter, when the image file is acquired from the USB memory 47 via the external connection terminal 46, the HUB 41, and the shared memory 49 based on the user's instruction at the transfer speed set in this way, the CPU 22 acquires the acquired image file. The print data converted into print data is stored in a print buffer provided in the RAM 24, and an image is printed on the recording paper S based on the print data. Here, the printing process is executed by the CPU 22 instructing the printer ASIC 32 to print an image file, and the instructed printer ASIC 32 controls the printer mechanism 31. When printing is instructed, the printer ASIC 32 develops the print data stored in the RAM 24 into raster data, drives a drive motor (not shown) to rotate the transport roller 38, and transports the recording paper S to generate pressure. By controlling the voltage to the unit 35, an image is printed on the recording paper S based on the developed raster data.

ここで、本実施形態の構成要素と本発明の構成要素との対応関係を明らかにする。本実施形態の外部接続端子46が本発明の接続手段に相当し、HUBコントローラ41aが信号取得手段,供給制御手段及び転送速度判定手段に相当し、USBホストコントローラ40aが転送速度設定手段に相当し、プリンタ部30が印刷処理手段に相当し、CPU22及びプリンタASIC32が印刷制御手段に相当する。また、USBデバイス(USBメモリ47)が接続機器に相当し、「D−」信号が第1信号に相当し、「D+」信号が第2信号に相当し、USB転送のロースピードが第1転送速度に相当し、USB転送のフルスピードが第2転送速度に相当し、記録紙Sが印刷媒体に相当する。なお、本実施形態では、プリンタ20の動作を説明することにより本発明の情報処理方法の一例も明らかにしている。   Here, the correspondence between the components of the present embodiment and the components of the present invention will be clarified. The external connection terminal 46 of this embodiment corresponds to connection means of the present invention, the HUB controller 41a corresponds to signal acquisition means, supply control means, and transfer speed determination means, and the USB host controller 40a corresponds to transfer speed setting means. The printer unit 30 corresponds to print processing means, and the CPU 22 and the printer ASIC 32 correspond to print control means. The USB device (USB memory 47) corresponds to the connected device, the “D−” signal corresponds to the first signal, the “D +” signal corresponds to the second signal, and the low speed of USB transfer is the first transfer. The full speed of USB transfer corresponds to the second transfer speed, and the recording paper S corresponds to the print medium. In this embodiment, an example of the information processing method of the present invention is also clarified by describing the operation of the printer 20.

以上詳述した本実施形態のプリンタ20によれば、外部接続端子46にUSBデバイスとしてのUSBメモリ47が接続されたとき又は外部接続端子46に接続されているUSBメモリ47への電力供給のオフ信号を入力したときに、この接続されているUSBメモリ47の対応する転送速度に関する「D+」信号及び「D−」信号のうちいずれかの信号を外部接続端子46を介して取得し、オフ信号を入力したときにはUSBメモリ47への電力の供給を停止し、取得した信号が「D−」信号であるときにはUSBメモリ47がロースピードに対応しているものと判定し、取得した信号が「D+」信号であるときにはUSBメモリ47がロースピードよりも高速なフルスピードに対応しているものと判定し、取得した信号が「D−」信号であるときにはUSBメモリ47への電力供給を停止したとしてもUSBメモリ47の動作可能な状態が維持される状態でUSBメモリ47へのオフ信号を出力し、その後、取得した信号を用いて判定した判定結果に基づいて接続されたUSBメモリ47との間の転送速度を設定する。即ち、USBデバイスの接続時に、取得する予定のない「D−」信号を取得したときには、USBメモリ47の動作可能な状態が維持される状態でオフ信号を出力し、USBメモリ47から転送速度に関する信号を再取得し、再取得した信号に基づいてUSBメモリ47との間の転送速度を設定するのである。このように、USBメモリ47の動作可能な状態が維持される状態でオフ信号を出力することにより再度同じ信号が出力されるのを抑制し、USBメモリ47から出力された信号を再確認するため、接続されたUSBデバイスに対応する転送速度をより確実に設定することができる。   According to the printer 20 of the present embodiment described in detail above, the power supply to the USB memory 47 connected to the external connection terminal 46 is turned off when the USB memory 47 as the USB device is connected to the external connection terminal 46. When a signal is input, one of the “D +” signal and the “D−” signal related to the transfer speed corresponding to the connected USB memory 47 is acquired via the external connection terminal 46, and the off signal Is input, the power supply to the USB memory 47 is stopped. When the acquired signal is a “D−” signal, it is determined that the USB memory 47 is compatible with the low speed, and the acquired signal is “D +”. ”Signal, it is determined that the USB memory 47 supports full speed higher than low speed, and the acquired signal is“ D− ”signal. When the power supply to the USB memory 47 is stopped, an off signal is output to the USB memory 47 in a state where the operable state of the USB memory 47 is maintained, and then the determination is performed using the acquired signal. Based on the result, the transfer speed with the connected USB memory 47 is set. That is, when a “D-” signal that is not scheduled to be acquired is acquired when the USB device is connected, an off signal is output while the operable state of the USB memory 47 is maintained, and the transfer rate from the USB memory 47 is related. The signal is reacquired, and the transfer speed with the USB memory 47 is set based on the reacquired signal. In this way, by outputting the off signal while the operable state of the USB memory 47 is maintained, the same signal is prevented from being output again, and the signal output from the USB memory 47 is reconfirmed. The transfer speed corresponding to the connected USB device can be set more reliably.

また、外部接続端子46は、HUBコントローラ41aが制御するポート2の電力供給ラインとは別のポート4の電力ラインにより電力が供給されているため、確実にUSBメモリ47の動作可能な状態が維持される状態でUSBメモリ47から転送速度に関する信号を再取得することができる。更に、USBデバイスは、プリンタ20から電力供給を受けると共に情報の入出力を行うことが多いため、本発明を適用する意義が高い。更にまた、プリンタ20など、印刷装置は、外部記憶装置(例えばUSBメモリ47やメモリカード、HDD)などのUSBデバイスと接続し情報を取得して印刷することが多いため、本発明を適用する意義が高い。   Further, since the external connection terminal 46 is supplied with power from the power line of the port 4 different from the power supply line of the port 2 controlled by the HUB controller 41a, the USB memory 47 can be reliably operated. In this state, a signal related to the transfer speed can be reacquired from the USB memory 47. Furthermore, since the USB device often receives power supply from the printer 20 and inputs / outputs information, it is highly meaningful to apply the present invention. Furthermore, since a printing apparatus such as the printer 20 is often connected to a USB device such as an external storage device (for example, a USB memory 47, a memory card, or an HDD) to acquire and print information, the significance of applying the present invention is great. Is expensive.

なお、本発明は上述した実施形態に何ら限定されることはなく、本発明の技術的範囲に属する限り種々の態様で実施し得ることはいうまでもない。   It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that the present invention can be implemented in various modes as long as it belongs to the technical scope of the present invention.

例えば、上述した実施形態では、外部接続端子46は、HUBコントローラ41aが制御するポート2の電力供給ラインとは別のポート4の電力供給ラインにより電力が供給されているものとしたが、ポート4とは別の場所、例えば、USBホストコントローラ40aやHUBコントローラ41a,メインコントローラ21などから電力供給を受けるものとしてもよい。こうしても、接続されたUSBデバイスに対応する転送速度をより確実に設定することができる。   For example, in the above-described embodiment, the external connection terminal 46 is supplied with power from the power supply line of the port 4 different from the power supply line of the port 2 controlled by the HUB controller 41a. It is also possible to receive power supply from a different location, for example, USB host controller 40a, HUB controller 41a, main controller 21 or the like. Even in this case, the transfer speed corresponding to the connected USB device can be set more reliably.

上述した実施形態では、外部接続端子46は、HUBコントローラ41aが制御するポート2の電力供給ラインとは別のポート4の電力供給ラインにより電力が供給されているものとしたが、図5に示すプリンタ20Bのように、外部接続端子46は、HUBコントローラ41aが制御するポート2の電力供給ラインにより電力が供給されているものとし、USBホストコントローラ40aは、HUBコントローラ41aがオフ信号の入力によりUSBメモリ47への電力供給を停止したとしてもUSBメモリ47が動作可能である所定時間だけ外部接続端子46に接続されたUSBメモリ47へのオフ信号をHUBコントローラ41aへ出力するものとしてもよい。具体的には、HUBコントローラ41aが電力供給をオフしたとしてもUSBメモリ47の動作が停止しないように、高速で電力供給のオフ・オンを実行する。図6は、転送速度を設定する処理の別のタイミングチャートである。図6に示すように、USBホストコントローラ40aが、接続の予定されていないロースピードデバイスが接続されたものと判定したあと、ポート2へ電力供給のオフ・オン指令を出力し(時刻t4)、USBメモリ47の対応する転送速度の検出を再度促す。これを受けたHUBコントローラ41aがポート2へ電力供給のオフ・オンを実行する(時刻t4)。このとき、USBメモリ47が動作可能な状態を保持可能なように、高速でオフ・オンが実行されるため、USBメモリ47での電力オフ・オンによるノイズの発生などが抑えられた状態で再度転送速度の検出が行われる。したがって、HUBコントローラ41aは、USBメモリ47がフルスピードデバイスであると正しく検出可能である。こうすれば、比較的簡単にUSBデバイスとしてのUSBメモリ47の動作可能な状態が維持される状態でUSBメモリ47から転送速度に関する信号を再取得することができる。   In the embodiment described above, the external connection terminal 46 is supplied with power by the power supply line of the port 4 different from the power supply line of the port 2 controlled by the HUB controller 41a. Like the printer 20B, the external connection terminal 46 is supplied with power from the power supply line of the port 2 controlled by the HUB controller 41a, and the USB host controller 40a is connected to the USB when the HUB controller 41a receives an off signal. Even if the power supply to the memory 47 is stopped, an off signal to the USB memory 47 connected to the external connection terminal 46 may be output to the HUB controller 41a for a predetermined time during which the USB memory 47 can operate. Specifically, even if the HUB controller 41a turns off the power supply, the power supply is turned off / on at a high speed so that the operation of the USB memory 47 does not stop. FIG. 6 is another timing chart of the process for setting the transfer rate. As shown in FIG. 6, after the USB host controller 40a determines that a low-speed device that is not scheduled to be connected is connected, it outputs a power supply off / on command to the port 2 (time t4). It prompts again to detect the corresponding transfer rate of the USB memory 47. Receiving this, the HUB controller 41a turns off / on the power supply to the port 2 (time t4). At this time, the USB memory 47 is turned off and on at a high speed so that the operable state can be maintained. Therefore, the generation of noise due to power off and on in the USB memory 47 is suppressed again. The transfer speed is detected. Therefore, the HUB controller 41a can correctly detect that the USB memory 47 is a full speed device. In this way, it is possible to re-acquire a signal relating to the transfer speed from the USB memory 47 in a state where the operable state of the USB memory 47 as the USB device is maintained relatively easily.

上述した実施形態では、外部接続端子46に接続されたUSBデバイスが電力供給を必要とするしないにかかわらず「D−」信号を取得したときには、電力供給のオフ・オンを実行するものとしたが、外部接続端子46から供給された電力によって動作するUSBデバイスが外部接続端子46へ接続されたか否かを判定し、外部接続端子46からの供給電力により動作するデバイスが接続され、且つHUBコントローラ41aが「D−」信号を取得したときには、USBホストコントローラ40aがUSBデバイスへの電力供給のオフ信号をHUBコントローラ41aへ出力するものとしてもよい。外部接続端子46から供給された電力で動作するUSBデバイスの接続時には、このUSBメモリ47の電力状態などが安定せずノイズなどの信号が出力されることが多い。ここでは、外部接続端子46から供給された電力で動作するUSBメモリ47が接続されたときにUSBメモリ47から転送速度に関する信号を再取得するため、効率よく、接続されたUSBデバイスに対応する転送速度をより確実に設定することができる。   In the above-described embodiment, the power supply is turned off / on when the USB device connected to the external connection terminal 46 acquires the “D−” signal regardless of whether the power supply is required. Then, it is determined whether or not a USB device that operates with power supplied from the external connection terminal 46 is connected to the external connection terminal 46, a device that operates with power supplied from the external connection terminal 46 is connected, and the HUB controller 41a. May acquire the “D−” signal, the USB host controller 40a may output an off signal for power supply to the USB device to the HUB controller 41a. When a USB device that operates with the power supplied from the external connection terminal 46 is connected, the power state of the USB memory 47 is not stable and a signal such as noise is often output. In this case, when the USB memory 47 that operates with the power supplied from the external connection terminal 46 is connected, a signal related to the transfer speed is reacquired from the USB memory 47, so that the transfer corresponding to the connected USB device is efficiently performed. The speed can be set more reliably.

上述した実施形態では、「D−」信号は、取得する予定のない信号であるものとしたが、「D−」信号」は、「D+」信号よりも取得する頻度の低い信号であるものとしてもよい。また、上述した実施形態では、「D−」信号を取得したときに(即ちローデバイスの接続を検出したとき)、電力供給のオフ信号を出力してUSBデバイスの転送速度を再検出するものとしたが、「D+」信号を取得したときに(即ちフルスピードデバイスの接続を検出したとき)、電力供給のオフ信号を出力してUSBデバイスの転送速度を再検出するものとしてもよい。また、上述した実施形態では、ロースピードデバイスと、フルスピードデバイスとを検出するものとしたが、フルスピードデバイスの検出後に、ハイスピードデバイスの検出を行ってもよい。   In the embodiment described above, the “D−” signal is a signal that is not scheduled to be acquired, but the “D−” signal is a signal that is acquired less frequently than the “D +” signal. Also good. In the above-described embodiment, when the “D−” signal is acquired (that is, when the connection of the raw device is detected), the power supply off signal is output to detect the transfer speed of the USB device again. However, when the “D +” signal is acquired (that is, when connection of a full-speed device is detected), a power supply off signal may be output to redetect the transfer speed of the USB device. In the above-described embodiment, the low speed device and the full speed device are detected. However, the high speed device may be detected after the full speed device is detected.

上述した実施形態では、USBホストコントローラ40aが転送速度設定処理ルーチンを実行し、HUBコントローラ41aが転送速度検出処理ルーチンを実行するものとしたが、2つのコントローラを用いて行うものとすれば、これらのルーチンは、どのコントローラ(例えばメインコントローラ21など)で実行しても構わない。   In the above-described embodiment, the USB host controller 40a executes the transfer rate setting process routine, and the HUB controller 41a executes the transfer rate detection process routine. This routine may be executed by any controller (for example, the main controller 21).

上述した実施形態では、インクジェット方式を採用し着色剤としてインクを利用するフルカラーのプリンタ20としたが、電子写真方式を採用し着色剤としてトナーを利用するカラーレーザプリンタや、熱転写方式を採用し着色剤としてインクリボンを利用するカラープリンタや、ドットインパクト方式を採用し着色剤としてインクリボンを利用するプリンタとしてもよいし、これらのモノクロプリンタとしてもよい。また、FAX機やコピー機などの印刷装置としてもよい。また、USB装置40を用いて本発明を説明したが、同様の構成を有するものであれば、特にUSB装置に限定されずに本発明を適用することができる。   In the above-described embodiment, the full-color printer 20 that employs an ink jet method and uses ink as a colorant is used. However, a color laser printer that employs an electrophotographic method and uses toner as a colorant, or a thermal transfer method that employs color A color printer that uses an ink ribbon as an agent, a printer that employs a dot impact method and uses an ink ribbon as a colorant, or a monochrome printer of these may be used. Also, a printing apparatus such as a FAX machine or a copier may be used. Although the present invention has been described using the USB device 40, the present invention can be applied to any device having a similar configuration without being limited to the USB device.

本発明の一例を表すプリンタ20の構成の概略を示す構成図である。1 is a configuration diagram illustrating an outline of a configuration of a printer 20 illustrating an example of the present invention. 転送速度設定処理ルーチンの一例を示すフローチャートである。It is a flowchart which shows an example of a transfer rate setting process routine. 転送速度検出処理ルーチンの一例を示すフローチャートである。7 is a flowchart illustrating an example of a transfer rate detection processing routine. 転送速度を設定する処理の一例を示すタイミングチャートである。It is a timing chart which shows an example of the process which sets a transfer rate. 別のプリンタ20Bの構成の概略を示す構成図である。It is a block diagram which shows the outline of a structure of another printer 20B. 転送速度を設定する処理の一例を示す別のタイミングチャートである。It is another timing chart which shows an example of the process which sets a transfer rate.

符号の説明Explanation of symbols

20,20B プリンタ、21 メインコントローラ、22 CPU、23 ROM、24 RAM、26 I/F、28 バス、30 プリンタ部、31 プリンタ機構、32 プリンタASIC、34 インクカートリッジ、35 圧力発生部、36 インク吐出口、38 搬送ローラ、40 USB装置、40a USBホストコントローラ、41 HUB、41a HUBコントローラ、42 カードリーダ、42a スロット、46 外部接続端子、47 USBメモリ、48 内蔵ドライブ、49 共有メモリ、50 メモリカード、S 記録紙。   20, 20B Printer, 21 Main controller, 22 CPU, 23 ROM, 24 RAM, 26 I / F, 28 Bus, 30 Printer unit, 31 Printer mechanism, 32 Printer ASIC, 34 Ink cartridge, 35 Pressure generating unit, 36 Ink discharge Exit, 38 transport roller, 40 USB device, 40a USB host controller, 41 HUB, 41a HUB controller, 42 card reader, 42a slot, 46 external connection terminal, 47 USB memory, 48 built-in drive, 49 shared memory, 50 memory card, S Recording paper.

Claims (8)

接続機器への電力供給線が接続され前記接続機器との間で情報をやりとり可能に接続する接続手段と、
前記接続手段に接続機器が接続されたとき又は前記接続手段に接続されている接続機器のオフ信号を入力したときに前記接続されている接続機器が対応する転送速度に関する第1信号及び第2信号のうちいずれかの信号を前記接続手段を介して前記接続機器から取得する信号取得手段と、
前記オフ信号を入力したときには前記接続手段を介した前記接続機器への電力供給を停止する供給制御手段と、
前記信号取得手段によって取得された信号が前記第1信号であるときには前記接続機器が第1転送速度に対応しているものと判定し、前記信号取得手段によって取得された信号が前記第2信号であるときには前記接続機器が前記第1転送速度と異なる第2転送速度に対応しているものと判定する転送速度判定手段と、
前記信号取得手段によって取得された信号が前記第1信号であるときには、前記供給制御手段が前記オフ信号の入力により前記接続機器への電力供給を停止したとしても前記接続機器の動作可能な状態が維持されるよう又は該状態で前記接続機器のオフ信号を前記信号取得手段及び前記供給制御手段へ出力し、その後前記信号取得手段によって取得された信号を用いて前記転送速度判定手段が判定した判定結果に基づいて前記接続された接続機器との間の転送速度を設定する転送速度設定手段と、
を備えた情報処理装置。
A connection means for connecting a power supply line to a connected device and connecting the connected device so that information can be exchanged;
When a connection device is connected to the connection means, or when an off signal of the connection device connected to the connection means is input, a first signal and a second signal relating to a transfer rate corresponding to the connection device connected Signal acquisition means for acquiring any of the signals from the connection device via the connection means,
Supply control means for stopping power supply to the connection device via the connection means when the off signal is input;
When the signal acquired by the signal acquisition means is the first signal, it is determined that the connected device is compatible with the first transfer rate, and the signal acquired by the signal acquisition means is the second signal. Transfer speed determination means for determining that the connected device is compatible with a second transfer speed different from the first transfer speed;
When the signal acquired by the signal acquisition unit is the first signal, even if the supply control unit stops the power supply to the connection device due to the input of the off signal, the connected device is operable. The determination that the transfer speed determination means determines using the signal acquired by the signal acquisition means after that the connected device off signal is output to the signal acquisition means and the supply control means so as to be maintained or in this state A transfer rate setting means for setting a transfer rate between the connected devices based on the result; and
An information processing apparatus comprising:
前記転送速度設定手段は、前記接続機器の動作可能な状態が維持されるよう前記接続機器へのオフ信号を出力するに際して、前記供給制御手段が前記オフ信号の入力により前記接続機器への電力供給を停止したとしても前記接続機器が動作可能である所定時間だけ前記接続手段に接続された接続機器へのオフ信号を前記信号取得手段及び前記供給制御手段へ出力する、請求項1に記載の情報処理装置。   When the transfer speed setting means outputs an off signal to the connection device so that the operable state of the connection device is maintained, the supply control means supplies power to the connection device by the input of the off signal. 2. The information according to claim 1, wherein an off signal to the connection device connected to the connection unit is output to the signal acquisition unit and the supply control unit for a predetermined time during which the connection device is operable even if the connection is stopped. Processing equipment. 前記接続手段は、前記供給制御手段が前記オフ信号を入力し前記接続機器への電力の供給を停止しようとしても前記接続機器への電力供給が停止しないよう、前記供給制御手段が制御する電力供給線とは別の電力供給線により電力が供給されている、請求項1に記載の情報処理装置。   The connection means supplies power controlled by the supply control means so that power supply to the connection device does not stop even if the supply control means inputs the off signal and stops supplying power to the connection device. The information processing apparatus according to claim 1, wherein power is supplied from a power supply line different from the line. 前記接続手段は、前記接続機器としてのUSB機器と接続可能であり、
前記転送速度判定手段は、前記信号取得手段が前記接続された接続機器から前記第2信号を取得したときには前記USB機器が前記第1転送速度よりも高速である第2転送速度に対応しているものと判定する、請求項1〜3のいずれかに記載の情報処理装置。
The connection means is connectable with a USB device as the connection device,
The transfer speed determination means corresponds to a second transfer speed at which the USB device is faster than the first transfer speed when the signal acquisition means acquires the second signal from the connected device. The information processing apparatus according to claim 1, wherein the information processing apparatus is determined to be a thing.
前記転送速度設定手段は、前記接続手段を介して供給された電力によって動作する前記接続機器が該接続手段へ接続されたあと、前記信号取得手段によって取得された信号が前記第1信号であるときには、前記供給制御手段が前記オフ信号の入力により前記接続機器への電力供給を停止したとしても前記接続機器の動作可能な状態が維持されるよう又は該状態で前記接続機器へのオフ信号を前記信号取得手段及び前記供給制御手段へ出力する、請求項1〜4のいずれかに記載の情報処理装置。   When the signal acquired by the signal acquisition unit is the first signal after the connection device operating with the power supplied through the connection unit is connected to the connection unit, the transfer rate setting unit is Even if the supply control means stops the power supply to the connection device by the input of the off signal, the operable state of the connection device is maintained or the off signal to the connection device in the state is maintained. The information processing apparatus according to claim 1, wherein the information processing apparatus outputs the signal to the signal acquisition unit and the supply control unit. 請求項1〜5のいずれかに記載の情報処理装置と、
着色剤を用いて印刷媒体へ画像を印刷可能な印刷処理手段と、
前記情報処理装置から取得した情報に基づいて画像を印刷媒体へ印刷するよう前記印刷処理手段を制御する印刷制御手段と、
を備えた印刷装置。
An information processing apparatus according to any one of claims 1 to 5,
Print processing means capable of printing an image on a print medium using a colorant;
Print control means for controlling the print processing means to print an image on a print medium based on information acquired from the information processing apparatus;
Printing device with
接続機器への電力供給線が接続され前記接続機器との間で情報をやりとり可能に接続する接続手段、を備えた情報処理装置を利用した情報処理方法であって、
(a)前記接続手段に接続機器が接続されたとき又は前記接続手段に接続されている接続機器のオフ信号を入力したときに前記接続されている接続機器の対応する転送速度に関する第1信号及び第2信号のうちいずれかの信号を前記接続手段を介して前記接続機器から取得するステップと、
(b)前記オフ信号を入力したときには前記接続手段を介した前記接続機器への電力供給を停止するステップと、
(c)前記ステップ(a)で取得した信号が前記第1信号であるときには前記接続機器が第1転送速度に対応しているものと判定し、前記ステップ(b)で取得した信号が前記第2信号であるときには前記接続機器が前記第1転送速度と異なる第2転送速度に対応しているものと判定するステップと、
(d)前記ステップ(a)で取得した信号が前記第1信号であるときには、前記ステップ(b)で前記オフ信号の入力により前記接続機器への電力供給を停止したとしても前記接続機器の動作可能な状態が維持されるよう又は該状態で前記接続機器のオフ信号を出力し、その後前記ステップ(a)で取得した信号を用いて前記ステップ(c)で判定した判定結果に基づいて前記接続された接続機器との間の転送速度を設定するステップと、
を含む情報処理方法。
An information processing method using an information processing apparatus including a connection unit that is connected to a power supply line to a connection device and is capable of exchanging information with the connection device,
(A) when a connection device is connected to the connection means or when an off signal of the connection device connected to the connection means is input, a first signal relating to a transfer rate corresponding to the connected connection device; Acquiring any one of the second signals from the connection device via the connection means;
(B) stopping the power supply to the connection device via the connection means when the off signal is input;
(C) When the signal acquired in step (a) is the first signal, it is determined that the connected device is compatible with the first transfer rate, and the signal acquired in step (b) is the first signal. Determining that the connected device is compatible with a second transfer rate different from the first transfer rate when there are two signals;
(D) When the signal acquired in the step (a) is the first signal, the operation of the connected device is performed even if the power supply to the connected device is stopped by the input of the off signal in the step (b). Based on the determination result determined in the step (c) using the signal acquired in the step (a) after the off signal of the connected device is output so that the possible state is maintained or in the state Setting a transfer speed with the connected device,
An information processing method including:
請求項7に記載の情報処理方法の各ステップを1以上のコンピュータに実行させるためのプログラム。   A program for causing one or more computers to execute each step of the information processing method according to claim 7.
JP2006226815A 2006-08-23 2006-08-23 Information processing apparatus, printing apparatus, information processing method, and program Expired - Fee Related JP4835323B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006226815A JP4835323B2 (en) 2006-08-23 2006-08-23 Information processing apparatus, printing apparatus, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006226815A JP4835323B2 (en) 2006-08-23 2006-08-23 Information processing apparatus, printing apparatus, information processing method, and program

Publications (2)

Publication Number Publication Date
JP2008052438A JP2008052438A (en) 2008-03-06
JP4835323B2 true JP4835323B2 (en) 2011-12-14

Family

ID=39236445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006226815A Expired - Fee Related JP4835323B2 (en) 2006-08-23 2006-08-23 Information processing apparatus, printing apparatus, information processing method, and program

Country Status (1)

Country Link
JP (1) JP4835323B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5700514B2 (en) * 2010-10-27 2015-04-15 アルパイン株式会社 Communication speed control device and communication speed control method
JP5819678B2 (en) * 2011-08-30 2015-11-24 ルネサスエレクトロニクス株式会社 USB hub and control method of USB hub
JP5738779B2 (en) 2012-01-30 2015-06-24 株式会社日立製作所 Supply capability estimation system, method, and program
JP5477456B2 (en) * 2012-12-04 2014-04-23 株式会社バッファロー Peripheral device and method for connecting host device and peripheral device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001177543A (en) * 1999-12-16 2001-06-29 Onkyo Corp Bus connection equipment and equipment connection system
JP2002041441A (en) * 2000-07-27 2002-02-08 Canon Inc Communication device connection device and peripheral device having connection function
JP4450692B2 (en) * 2004-08-06 2010-04-14 日立オムロンターミナルソリューションズ株式会社 USB connection system, USB device, and host

Also Published As

Publication number Publication date
JP2008052438A (en) 2008-03-06

Similar Documents

Publication Publication Date Title
JP5310715B2 (en) Image recording apparatus and program
US20040184081A1 (en) Printing system involving print preparing operation
WO2004097621A1 (en) Device and method for guiding maintenance for pc peripheral apparatus
US7113294B2 (en) Ink jet recording apparatus and controlling method with selective clock signal supply
JP4420053B2 (en) Information management apparatus, information management method and program thereof
JP4835323B2 (en) Information processing apparatus, printing apparatus, information processing method, and program
KR100636190B1 (en) An image forming apparatus and method for automatically recognizing the type of thermal transfer head and printing an image
US20100146305A1 (en) Electronic Apparatus and Method of Controlling the Same
US20090009800A1 (en) Image forming apparatus and image forming method
JP2008046857A (en) Information processing apparatus, information processing method, and program thereof
JP2005208811A (en) Data transfer device, data transfer method, and recording system
JP5772872B2 (en) Image recording apparatus and program
JP4018514B2 (en) Recording apparatus, power supply control method, storage medium storing computer-readable program, and program
JP4350404B2 (en) Recording apparatus and control method thereof
JP4747982B2 (en) Information processing apparatus, information providing apparatus, method and program thereof
JP2008046858A (en) USB device, printing device, USB device control method and program
JP5434419B2 (en) Printing device
JP4447861B2 (en) RECORDING SYSTEM, RECORDING SYSTEM CONTROL METHOD, PROGRAM
JP2005149211A (en) Data recording apparatus and data rewriting method
JP2008044223A (en) Information processing apparatus, printing apparatus, information processing method, and program
JP2006347025A (en) Image forming apparatus, printing method, and program
JP4545415B2 (en) Printer
JP2011118597A (en) Printing control device, printing control method, storage medium storing computer readable program, and program
JP5434497B2 (en) Printer, printer control method, and program
JP2003330687A (en) Image forming device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20090714

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090721

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20090721

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20090722

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110826

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: 20110830

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110912

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141007

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4835323

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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