JP2005136858A - Image reading apparatus - Google Patents
Image reading apparatus Download PDFInfo
- Publication number
- JP2005136858A JP2005136858A JP2003372758A JP2003372758A JP2005136858A JP 2005136858 A JP2005136858 A JP 2005136858A JP 2003372758 A JP2003372758 A JP 2003372758A JP 2003372758 A JP2003372758 A JP 2003372758A JP 2005136858 A JP2005136858 A JP 2005136858A
- Authority
- JP
- Japan
- Prior art keywords
- transfer
- printer device
- print data
- image reading
- image
- 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.)
- Granted
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Facsimiles In General (AREA)
Abstract
Description
本発明は、画像読取装置に関し、詳しくは読取った原稿の画像データに基づいて生成したプリントデータを通信ケーブルを介してプリンタ装置に転送する画像読取装置に関するものである。 The present invention relates to an image reading apparatus, and more particularly to an image reading apparatus that transfers print data generated based on image data of a read original to a printer apparatus via a communication cable.
原稿の画像データをファクシミリ送信する際に、NSS(非標準機能設定信号)にて発信元ID、送信文書の総ページ数等の情報の他に、文書識別子を送信した後に送信原稿の画像データをファクシミリ送信するファクシミリ装置がある(例えば、特許文献1参照。)。 When transmitting image data of a document by facsimile, in addition to information such as a transmission source ID and the total number of pages of a transmitted document by NSS (non-standard function setting signal), image data of the transmitted document is transmitted after transmitting a document identifier. There is a facsimile apparatus that performs facsimile transmission (for example, see Patent Document 1).
この送信側のファクシミリ装置は、通信エラーが発生した際に一旦回線を切断し、設定時間を経過した後に再度発呼してNSSにて文書識別子を送信して残りの画像データを送信する処理を行う。一方、受信側のファクシミリ装置では、通信エラー発生前にファクシミリ受信した画像データとともに文書識別子を格納する。そして、通信エラー発生後にファクシミリ受信した画像データに付与されている文書識別子が通信エラー発生前に格納した文書識別子と同一のものであれば、同一原稿の画像データとして通信エラー発生前にファクシミリ受信した画像データと通信エラー発生後にファクシミリ受信した画像データとを結合してプリントデータを生成し、LANを介してプリンタ装置へ出力する処理を行う。したがって、受信側のファクシミリ装置では、通信エラーにより分割された画像データを結合してプリンタ装置へ出力することにより、元々同一原稿のものであった画像データの画像をプリンタ装置において一括して印刷させることができる。 This facsimile machine on the transmission side disconnects the line once when a communication error occurs, calls again after the set time has elapsed, transmits the document identifier at the NSS, and transmits the remaining image data. Do. On the other hand, the facsimile machine on the receiving side stores the document identifier together with the image data received by facsimile before the occurrence of the communication error. If the document identifier assigned to the image data received by facsimile after the occurrence of the communication error is the same as the document identifier stored before the occurrence of the communication error, the image data of the same document was received by facsimile before the communication error. The image data and the image data received by facsimile after the occurrence of a communication error are combined to generate print data, which is output to the printer device via the LAN. Therefore, in the facsimile apparatus on the receiving side, the image data divided by the communication error are combined and output to the printer apparatus, so that the image of the image data originally of the same original is printed in a batch on the printer apparatus. be able to.
一方、読取った原稿の画像データを、USB(Universal Serial Bus)ケーブル等により直接接続されたプリンタ装置に転送して印刷させることができる画像読取装置(スキャナ)がある。この画像読取装置及びプリンタ装置を使用して複写(コピー)処理が行われる場合、画像読取装置は読取った原稿の画像データに基づいてプリントデータを生成し、該プリントデータをUSBケーブル介してプリンタ装置へ転送し、プリンタ装置は、画像読取装置から受信したプリントデータを解析して用紙上に印刷画像を形成する。 On the other hand, there is an image reading device (scanner) that can transfer image data of a read original to a printer device directly connected by a USB (Universal Serial Bus) cable or the like and print it. When copying (copying) processing is performed using the image reading apparatus and the printer apparatus, the image reading apparatus generates print data based on the image data of the read original, and the print data is transmitted to the printer apparatus via the USB cable. The printer device analyzes the print data received from the image reading device and forms a print image on the paper.
したがって、画像読取装置は自装置内に画像データの画像を用紙に記録する印刷手段を備えることなくプリンタ装置に印刷処理を行わせることができる。このプリンタ装置にプリントデータを転送する画像読取装置において、プリントデータ転送中にUSBケーブルが抜けてプリンタ装置との接続が切断された場合、転送エラーが発生する。この転送エラーが発生した後に転送エラー発生前に接続されていたプリンタ装置が再接続された場合に、画像読取装置は転送エラーにより転送できなかった残りのプリントデータを転送することで、記録紙が無駄に使用されるのを防止することができる。
しかしながら、上記の転送エラー発生後に、転送エラー発生前に接続されていたものと異なるプリンタ装置が接続された場合には、同じプリントデータが異なるプリンタ装置に転送されることになり、同一原稿をコピーしたものでありながら、転送エラー発生前にプリントデータを記録した記録紙と、転送エラー発生後にプリントデータを記録した記録紙とで画質の異なるという問題点がある。 However, if a printer device different from the one connected before the transfer error occurs after the transfer error occurs, the same print data will be transferred to a different printer device, and the same document will be copied. However, there is a problem that the image quality differs between the recording paper on which the print data is recorded before the transfer error occurs and the recording paper on which the print data is recorded after the transfer error occurs.
本発明は、かかる課題に鑑みてなされたものであり、読取った原稿の画像データに基づいて生成したプリントデータを通信ケーブルを介してプリンタ装置に転送する画像読取装置において、プリントデータ転送中に通信ケーブルによるプリンタ装置との接続が切断されて転送エラーが発生した後、プリンタ装置が接続された場合に、適切なエラーリカバリー処理を行うことができる画像読取装置を提供することを目的とする。 The present invention has been made in view of the above problems, and an image reading apparatus that transfers print data generated based on image data of a read original to a printer apparatus via a communication cable is used for communication during print data transfer. It is an object of the present invention to provide an image reading apparatus capable of performing an appropriate error recovery process when a connection error is generated after a connection with a printer device by a cable is cut and a transfer error occurs.
上記目的を達成するために、請求項1記載の画像読取装置は、原稿の画像データを読取る画像読取手段と、読取った画像データに基づいてプリントデータを生成するプリントデータ生成手段と、生成されたプリントデータを通信ケーブルを介してプリンタ装置に転送する転送手段と、前記通信ケーブルによるプリンタ装置との接続状態を検出する検出手段と、前記転送手段によるプリントデータ転送中にプリンタ装置との接続が切断されたことを前記検出手段が検出した場合に、前記プリントデータの未転送ページに関する情報を記憶する記憶手段と、前記プリンタ装置との接続が切断された後にプリンタ装置が再接続されたことを前記検出手段が検出した場合に、再接続されたプリンタ装置が前記切断前に接続されていたプリンタ装置であるか否かを判断する判断手段と、該判断手段が前記切断前に接続されていたプリンタ装置が再接続されたと判断した場合に前記記憶手段に記憶されている前記情報に基づいて前記転送手段に前記プリントデータの未転送ページを転送させ、異なるプリンタ装置が接続されたと判断した場合には前記転送手段に前記プリントデータを先頭ページから改めて転送させる転送制御を行う転送制御手段とを備えることを特徴としている。 To achieve the above object, an image reading apparatus according to claim 1 is generated by an image reading means for reading image data of a document, a print data generation means for generating print data based on the read image data, and Transfer means for transferring print data to a printer device via a communication cable, detection means for detecting a connection state with the printer device via the communication cable, and disconnection from the printer device during print data transfer by the transfer means When the detection means detects that the printer device has been disconnected, the storage device for storing information relating to the untransferred page of the print data and the printer device are disconnected after the connection with the printer device is disconnected. When the detection means detects, the reconnected printer device is a printer device connected before the disconnection. Determining means for determining whether or not to the transfer means based on the information stored in the storage means when the determining means determines that the printer device connected before the disconnection has been reconnected. Transfer control means for transferring the untransferred page of the print data and performing transfer control for causing the transfer means to transfer the print data again from the first page when it is determined that a different printer is connected. It is said.
請求項2記載の画像読取装置は、請求項1に記載の画像読取装置において、前記転送制御手段は、プリントデータ転送中に前記通信ケーブルによるプリンタ装置との接続が切断されてから設定時間内にプリンタ装置が再接続されたことを前記検出手段が検出した場合に前記転送制御を行い、前記設定時間を経過した後にプリンタ装置が再接続されたことを前記検出手段が検出した場合には、前記判断手段の判断結果に関わらず前記転送手段に前記プリントデータを先頭ページから改めて転送させることを特徴としている。 According to a second aspect of the present invention, in the image reading apparatus according to the first aspect, the transfer control means is within a set time after the connection with the printer device via the communication cable is disconnected during the print data transfer. When the detection unit detects that the printer device has been reconnected, the transfer control is performed, and when the detection unit detects that the printer device has been reconnected after the set time has elapsed, Regardless of the determination result of the determination means, the transfer means transfers the print data again from the first page.
請求項3記載の画像読取装置は、請求項1又は2に記載の画像読取装置において、前記画像読取手段は、画像読取動作を実行中に、前記検出手段により前記接続が切断されたことを検出した場合には、実行中であるジョブの画像読取りが完了するまで画像読取動作を継続して行うことを特徴としている。
The image reading apparatus according to
請求項4記載の画像読取装置は、原稿の画像データを読取る画像読取手段と、読取った画像データに基づいてプリントデータを生成するプリントデータ生成手段と、生成されたプリントデータを通信ケーブルを介してプリンタ装置に転送する転送手段と、前記通信ケーブルを介して前記プリンタ装置の識別情報を取得する識別情報取得手段と、前記通信ケーブルによるプリンタ装置との接続状態を検出する検出手段と、プリントデータ転送中に前記検出手段の検出結果に基づいて転送エラーの発生を監視する監視手段と、前記転送エラーが発生した際に、前記プリントデータの未転送ページに関する情報を記憶する記憶手段と、前記転送エラー発生後にプリンタ装置が再接続されたことを前記検出手段が検出した場合に、前記識別情報取得手段が前記転送エラー発生前に取得した識別情報と再接続されたプリンタ装置から取得した識別情報とが一致するか否かを判断する判断手段と、これにより識別情報が一致すると判断された場合には前記記憶手段に記憶されている前記情報に基づいて前記転送手段に前記プリントデータの未転送ページを転送させ、一致しないと判断された場合には前記転送手段に前記プリントデータを先頭ページから転送させる転送制御を行う転送制御手段とを備えることを特徴としている。
The image reading apparatus according to
請求項1に記載の画像読取装置によれば、プリントデータ転送中に通信ケーブルによるプリンタ装置との接続が一旦切断されてから接続が切断される前と同じプリンタ装置が再接続された場合には、プリントデータの未転送ページを転送するので、プリントデータを先頭ページから改めて転送するといった無駄な処理を行うことなく効率よくプリントデータを転送することができる。また、プリントデータ転送中に通信ケーブルによるプリンタ装置との接続が一旦切断されてから接続が切断される前と異なるプリンタ装置が接続された場合には、プリントデータを先頭ページから改めて転送するので、同一原稿の画像を記録した記録紙においてその画質が異なることはない。 According to the image reading apparatus of the first aspect, when the connection with the printer device by the communication cable is once disconnected during the print data transfer, and the same printer device is reconnected before the connection is disconnected. Since the untransferred page of the print data is transferred, the print data can be transferred efficiently without performing unnecessary processing such as transferring the print data from the first page again. Also, if the printer is connected to the printer device via the communication cable during the print data transfer and the printer device is different from that before the connection is disconnected, the print data is transferred again from the first page. There is no difference in image quality between recording sheets on which images of the same document are recorded.
請求項2に記載の画像読取装置によれば、プリントデータ転送中に通信ケーブルによるプリンタ装置との接続が切断されてから切断前に接続されていたものと同じプリンタ装置が再接続された場合に、接続が切断される前にプリンタ装置から排出された記録紙と、プリンタ装置が再接続された後に排出された記録紙が同じ原稿の画像を記録したものであるということをユーザが認識できなくなってしまうのを防止することができる。 According to the image reading device of the second aspect, when the connection with the printer device by the communication cable is disconnected during the print data transfer and the same printer device as that connected before the disconnection is reconnected. The user cannot recognize that the recording paper ejected from the printer device before the connection is disconnected and the recording paper ejected after the printer device is reconnected are images of the same document. Can be prevented.
請求項3に記載の画像読取装置によれば、転送エラー発生時に原稿の画像読取動作が完了していない場合には、原稿の画像読取動作は継続して行われるので、プリンタ装置との接続が切断された際に原稿の画像読取動作を一旦中止し、プリンタ装置が再接続された後に原稿の画像読取動作を再開する場合に比べ、原稿の読取動作の開始からプリンタ装置における印刷処理の完了までにかかる時間を短縮することができる。 According to the third aspect of the present invention, if the document image reading operation is not completed when a transfer error occurs, the document image reading operation is continuously performed. Compared to when the document image reading operation is temporarily stopped when the document is disconnected and the image reading operation of the document is resumed after the printer device is reconnected, from the start of the document reading operation to the completion of the printing process in the printer device. It is possible to reduce the time required for
請求項4に記載の画像読取装置によれば、転送エラー発生後に、転送エラー発生前と同じプリンタ装置が再接続された場合にはプリントデータの未転送ページを転送するので、プリントデータを先頭ページから改めて転送するといった無駄な処理を行うことなくプリントデータを効率よく転送することができる。また、転送エラー発生後に、転送エラー発生前と異なるプリンタ装置が接続された場合には、プリントデータが先頭ページから改めて転送されるので、同一原稿の画像を記録した記録紙においてその画質が異なることはない。 According to the image reading device of the present invention, after the transfer error occurs, when the same printer device as that before the transfer error is reconnected, the untransferred page of the print data is transferred. Therefore, print data can be efficiently transferred without performing unnecessary processing such as transferring again. Also, if a printer device different from the one before the transfer error is connected after the transfer error occurs, the print data is transferred again from the first page, so that the image quality of the recording paper on which the image of the same document is recorded is different. There is no.
以下、本発明の実施形態に係る画像読取装置について、図面に基づき説明する。図1は、この画像読取装置1の構成例を示したブロック図である。この画像読取装置1は、図示するように制御部(MPU:Microprocessing Unit)2、原稿読取部3、画像処理回路4、コーデック(CODEC:Coder and Decoder)5、操作部6、表示部7、画像メモリ8、PDL変換回路9、通信部10、USBホストコントローラ11、ROM(Read Only Memory)12、及びRAM(Random Access Memory)13を備えたものであって、各部2乃至13は、バス14によって通信可能に接続されている。
Hereinafter, an image reading apparatus according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration example of the image reading apparatus 1. As shown in the figure, the image reading apparatus 1 includes a control unit (MPU: Microprocessing Unit) 2, a
制御部2は、所定のプログラムに従って画像読取装置1を構成する各部を制御するものである。原稿読取部3は、原稿の画像データを読取る画像読取手段として機能するものであり、カラー原稿の画像データを読み取ることができる機構を備えたものである。原稿読取部3は、図示しないがカラーラインセンサ(CCD:Charge Coupled Device)、A/Dコンバータ等を具備し、カラーラインセンサにより原稿を読取って、A/D変換及び、シェーディング補正、ずれ/ライン補正等の画像処理を施したRGB表色系(RGB color system)の画像データを生成して所定の出力先へ出力する。
The
画像処理回路4は、原稿読取部3から出力されたRGB表色系の画像データに対して所定の画像処理を施すものである。ここで行われる画像処理は、具体的にはRGB表色系の画像データをYCrCb表色系又はL*a*b*表色系の画像データに変換する入力色変換処理、拡大/縮小、地色補正、L*a*b*表色系の画像データに対して各成分1ビットのCMYKの出力色表色系の画像データに変換する出力色変換処理、出力色変換された画像データに誤差拡散処理を施して二値化する処理などであり、原稿読取部3で読取られた原稿の画像データの使用用途などに応じて必要な画像処理がこの画像処理回路4において行われる。
The
コーデック5は、画像処理回路4から出力された画像データ等をJPEG(Joint Photographic Experts Group)、MH(Modified Huffman)、MR(Modified Read)、MMR(Modified Modified Read)、JBIG(Joint Bi-level Image Group)方式等により圧縮符号化し、ファクシミリ受信した画像データ等を復号する。
The
操作部6は、原稿読取部3に原稿の読取開始を指示するためのスタートキー、ファクシミリ番号やコピー部数等を入力するためのテンキー、各種設定を行うためのカーソルキーなど、表示部7と連動した各種操作キーを備えている。表示部7は、図示しないが各種の設定状態や画像読取装置1の動作状態などを文字や図形などで表示する液晶表示装置(LCD:Liquid Crystal Display)や、点灯又は消灯で表示するLEDランプ、所定の警告音を鳴動するスピーカなどを備えている。
The
画像メモリ8は、コーデック5によって圧縮符号化された画像データ、画像処理回路4から圧縮符号化されずに直接出力された画像データ、外部の装置からファクシミリ受信した画像データ、PDL変換回路9で生成されたプリントデータを格納する。
The
PDL変換回路9は、画像メモリ8に格納された画像データを、例えばPostScript、ESC/PageなどのPDL(Page Description Language)に変換してプリントデータ(PDLデータ)を生成するプリントデータ生成手段として機能する。このPDL変換回路9において生成されたプリントデータは、USBホストコントローラ11によってUSBケーブル(通信ケーブル)15を介してプリンタ装置16に転送されると共に、プリンタ装置16へのプリントデータの全ページの転送が完了するまで画像メモリ8の所定領域に格納される。
The
通信部10は、モデム17及びNCU(Network Control Unit)18を備えている。モデム17は、例えばITU−T(国際電気通信連合電気通信標準化部門)の勧告V.34規格又はこれと同様のものに従った送受信データの変調及び復調を行うものである。NCU18は、電話回線を制御して電話をかけたり、切ったりする回線網制御装置であり、PSTN(Public Switched Telephone Network)19に接続されている。
The
USBホストコントローラ11は、USB(Universal Serial Bus)のホストコントローラ機能を実行するものであり、このUSBホストコントローラ11に設けられたUSBポート20及びプリンタ装置のUSBポート20にUSBケーブル15の両端がそれぞれ接続されることにより、画像読取装置1はプリントデータなどの各種データをUSBケーブル15を介してプリンタ装置16に転送することができる。この制御部2の制御命令に従ってプリントデータを転送するUSBホストコントローラ11、USBケーブル15が転送手段として機能する。
The
実際にUSBケーブル15の両端のコネクタがそれぞれ画像読取装置1とプリンタ装置16のUSBポート20に接続されると、USBホストコントローラ11は、プリンタ装置16が接続されたことを電気的に検出する。また、逆に画像読取装置1とプリンタ装置16とを接続していたUSBケーブル15がユーザ等によってUSBポート20から引きぬかれて画像読取装置1とプリンタ装置16の接続が切断されたことも電気的に検出し、USBホストコントローラ11がUSBケーブル15によるプリンタ装置16との接続状態を検出する検出手段として機能する。制御部2は、プリントデータの転送中にUSBホストコントローラ11の検出結果に基づいて、転送エラーが発生したか否か、すなわち、USBホストコントローラ11によるプリントデータの転送中にUSBケーブル15がUSBポート20から抜けたか否かを監視するものであり、監視手段として機能する。
When the connectors at both ends of the
また、USBホストコントローラ11は、USBケーブル15によってプリンタ装置16が接続されたことを電気的に検出すると、接続先デバイスであるプリンタ装置16との間でネゴシエーションを行って同プリンタ装置16の識別情報を取得するようになっており、USBホストコントローラ11が識別情報取得手段として機能する。なお、取得した識別情報は、具体的にはプリンタ装置16のメーカ名、モデル名、対応するPDLの種類などである。
When the
ROM12は、制御部2によりこの画像読取装置1の各部の動作が制御されるための各種プログラムを記憶している。RAM13は、制御部2の主メモリ、ワークエリア等として機能し、ファクシミリ番号などの他に、USBホストコントローラ11がプリンタ装置16との間で行ったネゴシエーションにより取得したプリンタ装置16の識別情報を記憶する。
The
また、記憶手段であるRAM13には、プリンタ装置16の識別情報に加えて、プリントデータの未転送ページに関する情報が記憶される。ここで、プリントデータの未転送ページに関する情報は、USBケーブル15を介してプリンタ装置16にプリントデータを転送中に、USBケーブル15がUSBポート20から外されてプリンタ装置16との接続が切断されて転送エラーが発生した場合に、その接続が切断された時点においてプリンタ装置16に転送されていない未転送のプリントデータのページに関する情報である。例えば、10ページの原稿を読取ってプリントデータを生成しプリンタ装置16に転送して印刷処理を行わせる場合に、6ページ目のプリントデータを転送中に転送エラーが発生すると、6ページ目以降のプリントデータが転送されていないということを表す情報が未転送ページに関する情報としてRAM13に記憶される。
Further, in addition to the identification information of the printer device 16, information related to the untransferred page of the print data is stored in the
なお、プリントデータ転送中にプリンタ装置16とのUSBケーブル15による接続が一旦切断された後、プリンタ装置がUSBケーブル15によって再接続された場合には、USBホストコントローラ11は再接続されたプリンタ装置の識別情報を新たに取得する。ここで、制御部2は、既にRAM13に記憶されている識別情報とUSBホストコントローラ11が再接続されたプリンタ装置から新たに取得した識別情報が一致するか否かを判断する判断手段として機能する。これにより、再接続されたプリンタ装置がUSBケーブル15による接続が切断される前に接続されていたプリンタ装置16であるか否かを判断することができる。この制御部2による判断が行われた後、前記接続が切断される前に既にRAM13に記憶されていた識別情報は、USBホストコントローラ11が再接続されたプリンタ装置から新たに取得した識別情報に更新される。
If the printer device 16 is once disconnected from the
そして、転送制御手段である制御部2は、この判断結果に基づいてプリントデータの転送制御を行う。具体的には、RAM13に記憶されている識別情報と新たに取得した識別情報が一致すると判断した場合には、接続が切断される直前に接続されていたプリンタ装置16が再接続されたものとして、RAM13に記憶されているプリントデータの未転送ページに関する情報に基づいて、USBホストコントローラ11に画像メモリ8に格納されているプリントデータの未転送ページを転送させる。逆に、RAM13に記憶している識別情報と新たに取得した識別情報が一致しないと判断した場合には、接続が切断される前に接続されていたプリンタ装置16と異なるプリンタ装置が接続されたものとして、USBホストコントローラ11に画像メモリ8に格納されているプリントデータを先頭ページから改めて転送させる。なお、転送エラーが発生してから予め設定された設定時間を経過した後にプリンタ装置16がUSBケーブル15によって再接続された場合には、制御部2は、再接続されたプリンタ装置が転送エラー発生前に接続されていたプリンタ装置16であるか否かに関わらずUSBホストコントローラ11にプリントデータを先頭ページから改めて転送させる。
The
プリンタ装置16は、USBケーブル15により直接画像読取装置1と接続されてプリントデータを受信し、受信したプリントデータに基づいて印刷処理を行うための装置であり、カラー画像データの画像を用紙に記録する機構を備えたものである。具体的には、受信したプリントデータを展開してビットマップデータを生成し、生成したビットマップデータの画像を、1ページ毎に例えば電子写真方式により用紙に記録する。
The printer device 16 is a device that is directly connected to the image reading device 1 via the
上記のように構成された画像読取装置1は、USBケーブル15によってプリンタ装置16と接続された状態で、原稿読取部3で読取られた原稿の画像データ、又は外部の装置からファクシミリ受信した画像データに基づいて生成されたプリントデータは、USBケーブル15を介してプリンタ装置16へと転送され、プリンタ装置16において印刷処理が行われるようになっている。
The image reading device 1 configured as described above is connected to the printer device 16 via the
次に上記構成を備える画像読取装置1とプリンタ装置16がUSBケーブル15により接続され複写(コピー)処理が行われるに際して画像読取装置1において実行される処理動作について、図2乃至図4に示すフローチャートに基づいて説明する。なお、以下のフローチャートに基づいて説明する画像読取装置1の処理動作は、ROM12に格納されている制御プログラムに基づき制御部2が発行する命令に従って行われる。
Next, processing operations executed in the image reading apparatus 1 when the image reading apparatus 1 having the above configuration and the printer apparatus 16 are connected by the
ユーザ等によって、画像読取装置1とプリンタ装置16のUSBポート20にUSBケーブル15が接続されると、画像読取装置1のUSBホストコントローラ11は、プリンタ装置16とのUSBケーブル15による接続を電気的に検出する(S1)。画像読取装置1のUSBホストコントローラ11は、接続先であるプリンタ装置16に所定信号を出力するなどして識別情報を要求し(S2)、プリンタ装置16からの応答として返信されてきた識別情報を受信して(S3)、これをRAM13の所定領域に記憶する(S4)。
When the
このようにして画像読取装置1とプリンタ装置16とがUSBケーブル15によって接続された状態で、制御部2は画像読取装置1の原稿読取部3にユーザにより原稿がセットされ、複写(コピー)処理を開始するための操作(スタートキーの押下等)が行われたか否かに基づいて原稿の読取開始命令があったか否かを判断し(S11)、原稿の読取開始命令があったと判断した場合には(S11:YES)、原稿の画像データを読取り、プリントデータを生成する(S12)。
In this way, with the image reading device 1 and the printer device 16 connected by the
具体的には、カラー原稿の画像データを読取る場合には、原稿読取部3がカラー原稿の画像を読取ってRGB表色系のカラー画像データを出力し、画像処理回路4は原稿読取部3から出力されたRGB表色系のカラー画像データに対してL*a*b*表色系の画像データへと変換する入力色変換処理を行った後、拡大/縮小、地色補正などの画像処理を施す。そして、コーデック5は画像処理回路4において所定の画像処理が施されたカラー画像データをJPEG方式により圧縮符号化し、PDL変換回路9は、JPEG方式により圧縮符号化されたカラー画像データに基づいてプリントデータを生成する。なお、画像処理回路4において画像処理が施された画像データをコーデック5を介さずPDL変換回路9へ直接出力し、PDL変換回路9において圧縮符号化されていない画像データに基づいてプリントデータを生成するようにしてもよい。
Specifically, when reading image data of a color document, the
続いて、制御部2は生成されたプリントデータを画像メモリ8に格納し(S13)、USBホストコントローラ11にプリントデータをUSBケーブル15を介してプリンタ装置16に転送させる(S14)。続いて、制御部2は、プリントデータの転送中、プリンタ装置16とのUSBケーブル15による接続が切断されたか否かをUSBホストコントローラ11の検出結果に基づいて判断する(S15)。そして、接続が切断されていないと判断した場合(S15:NO)、プリントデータの全ページの転送が完了したか否かを判断し(S16)、完了したと判断した場合には(S16:YES)、S13において画像メモリ8に格納したプリントデータを消去する(S17)。
Subsequently, the
一方、制御部2はプリントデータの全ページの転送が完了していないと判断した場合には(S16:NO)、引き続き残りのプリントデータをプリンタ装置16に転送すると共に(S14)、S15の処理を行って接続が切断されたか否かを監視する(S15)。ここで、接続が切断されたと判断した場合(S15:YES)、すなわちUSBケーブル15がUSBポート20から外れたと判断した場合には、制御部2はプリントデータ転送中にカウントしていた転送ページに関する情報に基づいて接続が切断された時に転送中であったプリントデータのページ番号を判断し、未転送ページに関する情報をRAM13に記憶させる(S18)。なお、ここでは未転送ページに関する情報を記憶させるようにしているが、既転送ページに関する情報を記憶させるようにしてもよい。
On the other hand, if the
そして、制御部2は、所定の警告を報知すると共に、USBケーブル15によるプリンタ装置の再接続を要求する旨の情報を報知する(S19)。具体的には、「転送エラーが発生しました」、「プリンタ装置を接続してください」等のメッセージを表示部7の備える液晶表示装置に表示させる。なお、この表示と共に表示部7の備えるスピーカから所定の警告音を鳴動させるようにしてもよい。
Then, the
次に、制御部2は、原稿読取部3における原稿の画像読取動作が完了しているか否かを判断し(S20)、完了していないと判断した場合(S20:NO)、すなわち画像読取動作を実行中に、USBホストコントローラ11によりUSBケーブル15によるプリンタ装置16との接続が切断されたことを検出した場合に、原稿読取部3は実行中であるジョブの画像読取りが完了するまで原稿の画像読取動作を継続して行う(S21)。そして、制御部2はUSBケーブル15がUSBポート20に挿し込まれてプリンタ装置が再接続されたか否かを判断し(S22)、再接続されたと判断した場合には(S22:YES)、前記S1乃至S4と同様の処理を行ってプリンタ装置16の識別情報を取得して記憶する(S23)。
Next, the
そして、制御部2はS15においてプリンタ装置16との接続が切断されたと判断してから設定時間を経過したか否かを判断する(S24)。そして、設定時間を経過していないと判断した場合には(S24:NO)、S23で取得した識別情報と予めRAM13に記憶されている識別情報とが一致するか否かを判断し(S25)、一致すると判断した場合には(S25:YES)、S18においてRAM13が記憶した未転送ページに関する情報に基づいて、USBホストコントローラ11が画像メモリ8に格納されているプリントデータの未転送ページを転送する(S26)。一方、制御部2は、S24においてプリンタ装置16との接続が切断されてから設定時間が経過したと判断した場合(S24:YES)、及びS25においてプリンタ装置の再接続後に取得した識別情報が予めRAM13に記憶されている識別情報と一致しないと判断した場合に(S25:NO)、USBホストコントローラ11が画像メモリ8に格納されているプリントデータを先頭ページから改めて転送する(S27)。
Then, the
そして、制御部2はプリントデータの全ページの転送が完了したか否かを判断し(S16)、完了したと判断した場合には(S16:YES)、画像メモリ8に格納されているプリントデータを消去する(S17)。
Then, the
以上説明したように、プリントデータ転送中にUSBケーブル15によるプリンタ装置との接続が切断される転送エラーが発生した後、プリンタ装置が再接続された場合に、その再接続されたプリンタ装置が転送エラー発生前に接続されていたプリンタ装置16であるか否かに基づいて、プリントデータの未転送ページを転送する処理、又はプリントデータを先頭ページから再転送する処理が行われる。
As described above, when a transfer error occurs in which the connection with the printer device via the
なお、画像読取装置1とプリンタ装置16とを接続する通信ケーブルは、プリンタ装置16との間で各種データを転送可能で且つ抜き差し可能なものであればUSBケーブル15に限定されるものではなく、例えばLANケーブルやパラレルケーブル等でもよい。また、本実施の形態では原稿読取部3において読取られた原稿の画像データに基づいて生成されたプリントデータをプリンタ装置16に転送する場合について説明したが、通信部10によってファクシミリ受信した画像データに基づいて生成したプリントデータの転送中に転送エラーが発生し、プリンタ装置が再接続された場合にもプリントデータの未転送ページを転送する処理、又はプリントデータを先頭ページから改めて転送する処理が行われる。
The communication cable for connecting the image reading apparatus 1 and the printer apparatus 16 is not limited to the
通信ケーブルを介してプリンタ装置にプリントデータを転送して印刷を行わせることができる各種装置に適用可能である。 The present invention can be applied to various apparatuses that can perform printing by transferring print data to a printer apparatus via a communication cable.
1 画像読取装置
2 制御部(MPU)
3 原稿読取部
5 コーデック
8 画像メモリ
9 PDL変換回路
11 USBホストコントローラ
12 ROM
13 RAM
15 USBケーブル
16 プリンタ装置
20 USBポート
1
3
13 RAM
15 USB cable 16
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003372758A JP4571388B2 (en) | 2003-10-31 | 2003-10-31 | Image reading device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003372758A JP4571388B2 (en) | 2003-10-31 | 2003-10-31 | Image reading device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005136858A true JP2005136858A (en) | 2005-05-26 |
JP4571388B2 JP4571388B2 (en) | 2010-10-27 |
Family
ID=34649042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003372758A Expired - Fee Related JP4571388B2 (en) | 2003-10-31 | 2003-10-31 | Image reading device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4571388B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007050640A (en) * | 2005-08-19 | 2007-03-01 | Seiko Epson Corp | Printing device, method for controlling printing device, control program and recording medium recording this program |
JP2009048260A (en) * | 2007-08-14 | 2009-03-05 | Seiko Epson Corp | Composite processor, and method for controlling the same |
-
2003
- 2003-10-31 JP JP2003372758A patent/JP4571388B2/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007050640A (en) * | 2005-08-19 | 2007-03-01 | Seiko Epson Corp | Printing device, method for controlling printing device, control program and recording medium recording this program |
JP2009048260A (en) * | 2007-08-14 | 2009-03-05 | Seiko Epson Corp | Composite processor, and method for controlling the same |
Also Published As
Publication number | Publication date |
---|---|
JP4571388B2 (en) | 2010-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2005138531A (en) | Image processing apparatus | |
JP4571388B2 (en) | Image reading device | |
JP2001086349A (en) | Image communications equipment and method therefor | |
JP4136278B2 (en) | Image communication apparatus and method | |
JP4300979B2 (en) | Image data receiver | |
JPH07203175A (en) | Color image transmitter and color image receiver | |
JP4908697B2 (en) | Image processing apparatus, image processing control method, storage medium, and program | |
JP2005110085A (en) | Image reading apparatus | |
JP3703770B2 (en) | Compound machine | |
JP2003189074A (en) | Facsimile communication apparatus | |
JP3482307B2 (en) | Facsimile machine | |
JP4350782B2 (en) | Image communication apparatus and control method thereof | |
JP4115496B2 (en) | Image communication apparatus and control method thereof | |
JP2005117422A (en) | Communication system | |
JP2005130377A (en) | Image transmission method and image transmission apparatus | |
JP2004194277A (en) | Color image communication device and color image communication method | |
JP2005099223A (en) | Image forming apparatus | |
JP2007281561A (en) | Communication controller, communication control method and communication control program | |
JPH10173853A (en) | Facsimile system | |
JP2004072309A (en) | Facsimile equipment and facsimile system | |
JP2004236149A (en) | Image reading system and control method of information processing terminal | |
JP2005130103A (en) | Image processing device | |
JP2005039488A (en) | Facsimile machine | |
JP2005123867A (en) | Image processing apparatus | |
JP2000022918A (en) | Device and method for image transmission |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060818 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20081029 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081104 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090122 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090311 |
|
A911 | Transfer of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20090330 |
|
A912 | Removal of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20090417 |
|
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: 20100812 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130820 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |