JP2005136858A - Image reading apparatus - Google Patents

Image reading apparatus Download PDF

Info

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
Application number
JP2003372758A
Other languages
Japanese (ja)
Other versions
JP4571388B2 (en
Inventor
Tetsuji Yamaguchi
哲治 山口
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2003372758A priority Critical patent/JP4571388B2/en
Publication of JP2005136858A publication Critical patent/JP2005136858A/en
Application granted granted Critical
Publication of JP4571388B2 publication Critical patent/JP4571388B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image reading apparatus for transferring print data generated on the basis of image data of a read original to a printer device via a communication cable capable of carrying out proper error recovery processing when the printer device is reconnected to the image reading apparatus after connection to the printer device by the communication cable is released during the transfer of the print data and a transfer error takes place. <P>SOLUTION: When the printer device is reconnected to the image reading apparatus after the occurrence of the transfer error due to the disconnection of the connected printer by the communication cable during the transfer of the print data generated on the basis of the read image data to the printer device via the communication cable, the image reading apparatus transfers un-transferred pages of the print data when the reconnected printer device is the printer device having been connected before the occurrence of the transfer error and transfers the print data from a top page when the printer device having been connected before the occurrence of the transfer error is a different printer device. <P>COPYRIGHT: (C)2005,JPO&NCIPI

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ケーブルが抜けてプリンタ装置との接続が切断された場合、転送エラーが発生する。この転送エラーが発生した後に転送エラー発生前に接続されていたプリンタ装置が再接続された場合に、画像読取装置は転送エラーにより転送できなかった残りのプリントデータを転送することで、記録紙が無駄に使用されるのを防止することができる。
特開平8−298581号公報
Therefore, the image reading apparatus can cause the printer apparatus to perform a printing process without including a printing unit that records an image of image data on a sheet in the apparatus. In the image reading apparatus that transfers print data to the printer apparatus, if the USB cable is disconnected and the connection with the printer apparatus is disconnected during the print data transfer, a transfer error occurs. After the transfer error occurs, when the printer device connected before the transfer error occurs is reconnected, the image reading device transfers the remaining print data that could not be transferred due to the transfer error. It is possible to prevent uselessness.
Japanese Patent Application Laid-Open No. 8-298581

しかしながら、上記の転送エラー発生後に、転送エラー発生前に接続されていたものと異なるプリンタ装置が接続された場合には、同じプリントデータが異なるプリンタ装置に転送されることになり、同一原稿をコピーしたものでありながら、転送エラー発生前にプリントデータを記録した記録紙と、転送エラー発生後にプリントデータを記録した記録紙とで画質の異なるという問題点がある。   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 claim 3, wherein the image reading unit detects that the connection has been disconnected by the detection unit during an image reading operation. In this case, the image reading operation is continuously performed until the image reading of the job being executed is completed.

請求項4記載の画像読取装置は、原稿の画像データを読取る画像読取手段と、読取った画像データに基づいてプリントデータを生成するプリントデータ生成手段と、生成されたプリントデータを通信ケーブルを介してプリンタ装置に転送する転送手段と、前記通信ケーブルを介して前記プリンタ装置の識別情報を取得する識別情報取得手段と、前記通信ケーブルによるプリンタ装置との接続状態を検出する検出手段と、プリントデータ転送中に前記検出手段の検出結果に基づいて転送エラーの発生を監視する監視手段と、前記転送エラーが発生した際に、前記プリントデータの未転送ページに関する情報を記憶する記憶手段と、前記転送エラー発生後にプリンタ装置が再接続されたことを前記検出手段が検出した場合に、前記識別情報取得手段が前記転送エラー発生前に取得した識別情報と再接続されたプリンタ装置から取得した識別情報とが一致するか否かを判断する判断手段と、これにより識別情報が一致すると判断された場合には前記記憶手段に記憶されている前記情報に基づいて前記転送手段に前記プリントデータの未転送ページを転送させ、一致しないと判断された場合には前記転送手段に前記プリントデータを先頭ページから転送させる転送制御を行う転送制御手段とを備えることを特徴としている。   The image reading apparatus according to claim 4 is an image reading unit that reads image data of a document, a print data generation unit that generates print data based on the read image data, and the generated print data via a communication cable. Transfer means for transferring to a printer apparatus; identification information acquisition means for acquiring identification information of the printer apparatus via the communication cable; detection means for detecting a connection state of the printer apparatus with the communication cable; and print data transfer Monitoring means for monitoring the occurrence of a transfer error based on the detection result of the detection means, storage means for storing information relating to an untransferred page of the print data when the transfer error occurs, and the transfer error If the detection means detects that the printer device has been reconnected after the occurrence, the identification information acquisition procedure Is determined to determine whether or not the identification information acquired before the occurrence of the transfer error matches the identification information acquired from the reconnected printer device, and if the identification information is determined to match, Based on the information stored in the storage unit, the transfer unit transfers the untransferred page of the print data, and when it is determined that they do not match, the transfer unit transfers the print data from the first page. And a transfer control means for performing transfer control.

請求項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 document reading unit 3, an image processing circuit 4, a codec (CODEC) 5, an operation unit 6, a display unit 7, an image. The memory 8, the PDL conversion circuit 9, the communication unit 10, the USB host controller 11, the ROM (Read Only Memory) 12, and the RAM (Random Access Memory) 13 are provided. It is connected so that it can communicate.

制御部2は、所定のプログラムに従って画像読取装置1を構成する各部を制御するものである。原稿読取部3は、原稿の画像データを読取る画像読取手段として機能するものであり、カラー原稿の画像データを読み取ることができる機構を備えたものである。原稿読取部3は、図示しないがカラーラインセンサ(CCD:Charge Coupled Device)、A/Dコンバータ等を具備し、カラーラインセンサにより原稿を読取って、A/D変換及び、シェーディング補正、ずれ/ライン補正等の画像処理を施したRGB表色系(RGB color system)の画像データを生成して所定の出力先へ出力する。   The control part 2 controls each part which comprises the image reading apparatus 1 according to a predetermined program. The document reading unit 3 functions as an image reading unit that reads image data of a document, and includes a mechanism that can read image data of a color document. Although not shown, the document reading unit 3 includes a color line sensor (CCD: Charge Coupled Device), an A / D converter, and the like, reads a document with the color line sensor, performs A / D conversion, shading correction, and deviation / line. RGB color system image data subjected to image processing such as correction is generated and output to a predetermined output destination.

画像処理回路4は、原稿読取部3から出力されたRGB表色系の画像データに対して所定の画像処理を施すものである。ここで行われる画像処理は、具体的にはRGB表色系の画像データをYCrCb表色系又はL*a*b*表色系の画像データに変換する入力色変換処理、拡大/縮小、地色補正、L*a*b*表色系の画像データに対して各成分1ビットのCMYKの出力色表色系の画像データに変換する出力色変換処理、出力色変換された画像データに誤差拡散処理を施して二値化する処理などであり、原稿読取部3で読取られた原稿の画像データの使用用途などに応じて必要な画像処理がこの画像処理回路4において行われる。   The image processing circuit 4 performs predetermined image processing on the RGB color system image data output from the document reading unit 3. Specifically, the image processing performed here is input color conversion processing for converting RGB color system image data into YCrCb color system data or L * a * b * color system image data, enlargement / reduction, ground Color correction, output color conversion processing that converts L * a * b * color system image data into CMYK output color color system image data of 1 bit for each component, error in output color converted image data The image processing circuit 4 performs necessary image processing in accordance with the intended use of the image data of the document read by the document reading unit 3.

コーデック5は、画像処理回路4から出力された画像データ等をJPEG(Joint Photographic Experts Group)、MH(Modified Huffman)、MR(Modified Read)、MMR(Modified Modified Read)、JBIG(Joint Bi-level Image Group)方式等により圧縮符号化し、ファクシミリ受信した画像データ等を復号する。   The codec 5 converts the image data output from the image processing circuit 4 into JPEG (Joint Photographic Experts Group), MH (Modified Huffman), MR (Modified Read), MMR (Modified Modified Read), JBIG (Joint Bi-level Image). The image data received by facsimile is decoded by compression encoding using the Group method.

操作部6は、原稿読取部3に原稿の読取開始を指示するためのスタートキー、ファクシミリ番号やコピー部数等を入力するためのテンキー、各種設定を行うためのカーソルキーなど、表示部7と連動した各種操作キーを備えている。表示部7は、図示しないが各種の設定状態や画像読取装置1の動作状態などを文字や図形などで表示する液晶表示装置(LCD:Liquid Crystal Display)や、点灯又は消灯で表示するLEDランプ、所定の警告音を鳴動するスピーカなどを備えている。   The operation unit 6 is linked with the display unit 7 such as a start key for instructing the document reading unit 3 to start reading a document, a numeric keypad for inputting a facsimile number, the number of copies, and the like, and a cursor key for performing various settings. Various operation keys are provided. Although not shown, the display unit 7 includes a liquid crystal display (LCD) that displays various setting states and operation states of the image reading device 1 with characters and graphics, an LED lamp that is turned on or off, A speaker that emits a predetermined warning sound is provided.

画像メモリ8は、コーデック5によって圧縮符号化された画像データ、画像処理回路4から圧縮符号化されずに直接出力された画像データ、外部の装置からファクシミリ受信した画像データ、PDL変換回路9で生成されたプリントデータを格納する。   The image memory 8 is image data compressed and encoded by the codec 5, image data directly output without compression encoding from the image processing circuit 4, image data received by facsimile from an external device, and generated by the PDL conversion circuit 9 Stored print data is stored.

PDL変換回路9は、画像メモリ8に格納された画像データを、例えばPostScript、ESC/PageなどのPDL(Page Description Language)に変換してプリントデータ(PDLデータ)を生成するプリントデータ生成手段として機能する。このPDL変換回路9において生成されたプリントデータは、USBホストコントローラ11によってUSBケーブル(通信ケーブル)15を介してプリンタ装置16に転送されると共に、プリンタ装置16へのプリントデータの全ページの転送が完了するまで画像メモリ8の所定領域に格納される。   The PDL conversion circuit 9 functions as print data generation means for converting the image data stored in the image memory 8 into PDL (Page Description Language) such as PostScript or ESC / Page to generate print data (PDL data). To do. The print data generated in the PDL conversion circuit 9 is transferred to the printer device 16 via the USB cable (communication cable) 15 by the USB host controller 11 and all pages of the print data to the printer device 16 are transferred. It is stored in a predetermined area of the image memory 8 until it is completed.

通信部10は、モデム17及びNCU(Network Control Unit)18を備えている。モデム17は、例えばITU−T(国際電気通信連合電気通信標準化部門)の勧告V.34規格又はこれと同様のものに従った送受信データの変調及び復調を行うものである。NCU18は、電話回線を制御して電話をかけたり、切ったりする回線網制御装置であり、PSTN(Public Switched Telephone Network)19に接続されている。   The communication unit 10 includes a modem 17 and an NCU (Network Control Unit) 18. The modem 17 is, for example, a recommendation V.16 of ITU-T (International Telecommunication Union Telecommunication Standardization Sector). Modulation and demodulation of transmission / reception data according to the 34 standard or the like. The NCU 18 is a line network control device that controls a telephone line to place or disconnect a telephone call, and is connected to a PSTN (Public Switched Telephone Network) 19.

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 host controller 11 executes a USB (Universal Serial Bus) host controller function, and both ends of the USB cable 15 are connected to the USB port 20 provided in the USB host controller 11 and the USB port 20 of the printer apparatus, respectively. By being connected, the image reading apparatus 1 can transfer various data such as print data to the printer apparatus 16 via the USB cable 15. The USB host controller 11 and the USB cable 15 that transfer print data according to the control command of the control unit 2 function as a transfer unit.

実際に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 cable 15 are actually connected to the USB port 20 of the image reading device 1 and the printer device 16, the USB host controller 11 electrically detects that the printer device 16 is connected. Conversely, the USB cable 15 that connected the image reading device 1 and the printer device 16 is pulled out of the USB port 20 by the user or the like, and the connection between the image reading device 1 and the printer device 16 is disconnected. And the USB host controller 11 functions as a detecting means for detecting the connection state with the printer device 16 via the USB cable 15. The control unit 2 determines whether a transfer error has occurred based on the detection result of the USB host controller 11 during transfer of print data, that is, the USB cable 15 is connected to the USB port during transfer of print data by the USB host controller 11. It is for monitoring whether or not it has exited 20 and functions as a monitoring means.

また、USBホストコントローラ11は、USBケーブル15によってプリンタ装置16が接続されたことを電気的に検出すると、接続先デバイスであるプリンタ装置16との間でネゴシエーションを行って同プリンタ装置16の識別情報を取得するようになっており、USBホストコントローラ11が識別情報取得手段として機能する。なお、取得した識別情報は、具体的にはプリンタ装置16のメーカ名、モデル名、対応するPDLの種類などである。   When the USB host controller 11 electrically detects that the printer device 16 is connected by the USB cable 15, the USB host controller 11 negotiates with the printer device 16 that is the connection destination device to identify the printer device 16. The USB host controller 11 functions as identification information acquisition means. The acquired identification information is specifically the manufacturer name, model name, and corresponding PDL type of the printer device 16.

ROM12は、制御部2によりこの画像読取装置1の各部の動作が制御されるための各種プログラムを記憶している。RAM13は、制御部2の主メモリ、ワークエリア等として機能し、ファクシミリ番号などの他に、USBホストコントローラ11がプリンタ装置16との間で行ったネゴシエーションにより取得したプリンタ装置16の識別情報を記憶する。   The ROM 12 stores various programs for the operation of each unit of the image reading apparatus 1 to be controlled by the control unit 2. The RAM 13 functions as a main memory, work area, and the like of the control unit 2 and stores identification information of the printer device 16 acquired by the USB host controller 11 through negotiation with the printer device 16 in addition to a facsimile number and the like. To do.

また、記憶手段である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 RAM 13 as a storage unit. Here, the information regarding the untransferred page of the print data is that the USB cable 15 is disconnected from the USB port 20 and the connection with the printer device 16 is disconnected while the print data is being transferred to the printer device 16 via the USB cable 15. When a transfer error occurs, information relating to a page of untransferred print data that has not been transferred to the printer device 16 when the connection is disconnected. For example, when a 10-page original is read to generate print data, and the print data is transferred to the printer device 16 to perform print processing, if a transfer error occurs during transfer of print data for the 6th page, the 6th and subsequent pages Information indicating that print data has not been transferred is stored in the RAM 13 as information relating to an untransferred page.

なお、プリントデータ転送中にプリンタ装置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 USB cable 15 during print data transfer and then reconnected by the USB cable 15, the USB host controller 11 determines that the printer device is reconnected. New identification information is acquired. Here, the control unit 2 functions as a determination unit that determines whether the identification information already stored in the RAM 13 matches the identification information newly acquired from the printer device to which the USB host controller 11 is reconnected. . Thereby, it can be determined whether or not the reconnected printer device is the printer device 16 connected before the connection by the USB cable 15 is disconnected. After the determination by the control unit 2 is made, the identification information already stored in the RAM 13 before the connection is disconnected is the identification information newly acquired from the printer device to which the USB host controller 11 is reconnected. Updated.

そして、転送制御手段である制御部2は、この判断結果に基づいてプリントデータの転送制御を行う。具体的には、RAM13に記憶されている識別情報と新たに取得した識別情報が一致すると判断した場合には、接続が切断される直前に接続されていたプリンタ装置16が再接続されたものとして、RAM13に記憶されているプリントデータの未転送ページに関する情報に基づいて、USBホストコントローラ11に画像メモリ8に格納されているプリントデータの未転送ページを転送させる。逆に、RAM13に記憶している識別情報と新たに取得した識別情報が一致しないと判断した場合には、接続が切断される前に接続されていたプリンタ装置16と異なるプリンタ装置が接続されたものとして、USBホストコントローラ11に画像メモリ8に格納されているプリントデータを先頭ページから改めて転送させる。なお、転送エラーが発生してから予め設定された設定時間を経過した後にプリンタ装置16がUSBケーブル15によって再接続された場合には、制御部2は、再接続されたプリンタ装置が転送エラー発生前に接続されていたプリンタ装置16であるか否かに関わらずUSBホストコントローラ11にプリントデータを先頭ページから改めて転送させる。   The control unit 2 serving as a transfer control unit performs print data transfer control based on the determination result. Specifically, if it is determined that the identification information stored in the RAM 13 and the newly acquired identification information match, it is assumed that the printer device 16 connected immediately before disconnection is reconnected. Based on the information related to the untransferred page of the print data stored in the RAM 13, the USB host controller 11 is caused to transfer the untransferred page of the print data stored in the image memory 8. Conversely, if it is determined that the identification information stored in the RAM 13 and the newly acquired identification information do not match, a printer device that is different from the printer device 16 that was connected before the connection was disconnected was connected. As an example, the print data stored in the image memory 8 is transferred again from the first page to the USB host controller 11. If the printer device 16 is reconnected by the USB cable 15 after a preset time has elapsed since the transfer error has occurred, the control unit 2 causes the reconnected printer device to generate a transfer error. Regardless of whether or not the printer device 16 was previously connected, the USB host controller 11 is caused to transfer print data from the first page anew.

プリンタ装置16は、USBケーブル15により直接画像読取装置1と接続されてプリントデータを受信し、受信したプリントデータに基づいて印刷処理を行うための装置であり、カラー画像データの画像を用紙に記録する機構を備えたものである。具体的には、受信したプリントデータを展開してビットマップデータを生成し、生成したビットマップデータの画像を、1ページ毎に例えば電子写真方式により用紙に記録する。   The printer device 16 is a device that is directly connected to the image reading device 1 via the USB cable 15 and receives print data, and performs print processing based on the received print data, and records an image of color image data on a sheet. It has a mechanism to do. Specifically, the received print data is expanded to generate bitmap data, and an image of the generated bitmap data is recorded on a sheet by, for example, an electrophotographic method for each page.

上記のように構成された画像読取装置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 USB cable 15 and the image data of the document read by the document reading unit 3 or the image data received by facsimile from an external device. The print data generated based on the above is transferred to the printer device 16 via the USB cable 15, and printing processing is performed in the printer device 16.

次に上記構成を備える画像読取装置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 USB cable 15 and copying (copying) processing is performed are shown in the flowcharts shown in FIGS. Based on The processing operation of the image reading apparatus 1 described based on the following flowchart is performed in accordance with a command issued by the control unit 2 based on a control program stored in the ROM 12.

ユーザ等によって、画像読取装置1とプリンタ装置16のUSBポート20にUSBケーブル15が接続されると、画像読取装置1のUSBホストコントローラ11は、プリンタ装置16とのUSBケーブル15による接続を電気的に検出する(S1)。画像読取装置1のUSBホストコントローラ11は、接続先であるプリンタ装置16に所定信号を出力するなどして識別情報を要求し(S2)、プリンタ装置16からの応答として返信されてきた識別情報を受信して(S3)、これをRAM13の所定領域に記憶する(S4)。   When the USB cable 15 is connected to the USB port 20 of the image reading device 1 and the printer device 16 by a user or the like, the USB host controller 11 of the image reading device 1 electrically connects the printer device 16 with the USB cable 15. (S1). The USB host controller 11 of the image reading apparatus 1 requests identification information by outputting a predetermined signal to the printer apparatus 16 that is the connection destination (S2), and the identification information returned as a response from the printer apparatus 16 is sent. This is received (S3) and stored in a predetermined area of the RAM 13 (S4).

このようにして画像読取装置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 USB cable 15, the control unit 2 sets a manuscript on the manuscript reading unit 3 of the image reading device 1, and performs a copying process. Based on whether or not an operation for starting the document (such as pressing the start key) has been performed, it is determined whether or not a document reading start command has been issued (S11). (S11: YES) reads the image data of the document and generates print data (S12).

具体的には、カラー原稿の画像データを読取る場合には、原稿読取部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 document reading unit 3 reads an image of the color document and outputs RGB color system color image data, and the image processing circuit 4 receives the image data from the document reading unit 3. Image processing such as enlargement / reduction, ground color correction, etc. after input color conversion processing for converting the output RGB color system color image data into L * a * b * color system image data Apply. The codec 5 compresses and encodes the color image data subjected to predetermined image processing in the image processing circuit 4 by the JPEG method, and the PDL conversion circuit 9 prints based on the color image data compressed and encoded by the JPEG method. Generate data. The image data that has undergone image processing in the image processing circuit 4 is directly output to the PDL conversion circuit 9 without going through the codec 5, and print data is generated based on the image data that has not been compression-encoded in the PDL conversion circuit 9. You may make it do.

続いて、制御部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 control unit 2 stores the generated print data in the image memory 8 (S13), and causes the USB host controller 11 to transfer the print data to the printer device 16 via the USB cable 15 (S14). Subsequently, the control unit 2 determines whether the connection with the printer device 16 via the USB cable 15 is disconnected during the transfer of the print data based on the detection result of the USB host controller 11 (S15). If it is determined that the connection has not been disconnected (S15: NO), it is determined whether or not the transfer of all pages of the print data has been completed (S16). If it is determined that the transfer has been completed (S16: YES) ), The print data stored in the image memory 8 in S13 is deleted (S17).

一方、制御部2はプリントデータの全ページの転送が完了していないと判断した場合には(S16:NO)、引き続き残りのプリントデータをプリンタ装置16に転送すると共に(S14)、S15の処理を行って接続が切断されたか否かを監視する(S15)。ここで、接続が切断されたと判断した場合(S15:YES)、すなわちUSBケーブル15がUSBポート20から外れたと判断した場合には、制御部2はプリントデータ転送中にカウントしていた転送ページに関する情報に基づいて接続が切断された時に転送中であったプリントデータのページ番号を判断し、未転送ページに関する情報をRAM13に記憶させる(S18)。なお、ここでは未転送ページに関する情報を記憶させるようにしているが、既転送ページに関する情報を記憶させるようにしてもよい。   On the other hand, if the control unit 2 determines that the transfer of all pages of the print data has not been completed (S16: NO), it continues to transfer the remaining print data to the printer device 16 (S14), and the process of S15. To monitor whether or not the connection is disconnected (S15). Here, when it is determined that the connection is disconnected (S15: YES), that is, when it is determined that the USB cable 15 is disconnected from the USB port 20, the control unit 2 relates to the transfer page counted during print data transfer. Based on the information, the page number of the print data being transferred when the connection is disconnected is determined, and information relating to the untransferred page is stored in the RAM 13 (S18). Here, information related to untransferred pages is stored, but information related to already transferred pages may be stored.

そして、制御部2は、所定の警告を報知すると共に、USBケーブル15によるプリンタ装置の再接続を要求する旨の情報を報知する(S19)。具体的には、「転送エラーが発生しました」、「プリンタ装置を接続してください」等のメッセージを表示部7の備える液晶表示装置に表示させる。なお、この表示と共に表示部7の備えるスピーカから所定の警告音を鳴動させるようにしてもよい。   Then, the control unit 2 notifies a predetermined warning and also notifies information indicating that a reconnection of the printer device by the USB cable 15 is requested (S19). Specifically, messages such as “Transfer error has occurred” and “Please connect the printer” are displayed on the liquid crystal display device of the display unit 7. In addition, you may make it sound a predetermined warning sound from the speaker with which the display part 7 is provided with this display.

次に、制御部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 control unit 2 determines whether or not the image reading operation of the document in the document reading unit 3 is completed (S20), and when it is determined that it is not completed (S20: NO), that is, the image reading operation. When the USB host controller 11 detects that the connection with the printer device 16 via the USB cable 15 is disconnected during execution of the document, the document reading unit 3 reads the document until the image reading of the job being executed is completed. The image reading operation is continued (S21). Then, the control unit 2 determines whether the USB cable 15 is inserted into the USB port 20 and the printer device is reconnected (S22). If it is determined that the printer device is reconnected (S22: YES), The same processing as S1 to S4 is performed to acquire and store the identification information of the printer device 16 (S23).

そして、制御部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 control unit 2 determines whether or not the set time has elapsed since it was determined that the connection with the printer device 16 was disconnected in S15 (S24). If it is determined that the set time has not elapsed (S24: NO), it is determined whether or not the identification information acquired in S23 matches the identification information stored in the RAM 13 in advance (S25). If it is determined that they match (S25: YES), the USB host controller 11 transfers the untransferred page of the print data stored in the image memory 8 based on the information about the untransferred page stored in the RAM 13 in S18. (S26). On the other hand, when the control unit 2 determines that the set time has elapsed since the connection with the printer device 16 is disconnected in S24 (S24: YES), and the identification information acquired after the reconnection of the printer device in S25 is previously stored. When it is determined that it does not match the identification information stored in the RAM 13 (S25: NO), the USB host controller 11 transfers the print data stored in the image memory 8 again from the first page (S27).

そして、制御部2はプリントデータの全ページの転送が完了したか否かを判断し(S16)、完了したと判断した場合には(S16:YES)、画像メモリ8に格納されているプリントデータを消去する(S17)。   Then, the control unit 2 determines whether or not the transfer of all pages of the print data has been completed (S16). If it is determined that the transfer has been completed (S16: YES), the print data stored in the image memory 8 is determined. Is deleted (S17).

以上説明したように、プリントデータ転送中にUSBケーブル15によるプリンタ装置との接続が切断される転送エラーが発生した後、プリンタ装置が再接続された場合に、その再接続されたプリンタ装置が転送エラー発生前に接続されていたプリンタ装置16であるか否かに基づいて、プリントデータの未転送ページを転送する処理、又はプリントデータを先頭ページから再転送する処理が行われる。   As described above, when a transfer error occurs in which the connection with the printer device via the USB cable 15 is disconnected during print data transfer, when the printer device is reconnected, the reconnected printer device transfers Based on whether or not the printer device 16 was connected before the error occurred, a process of transferring an untransferred page of print data or a process of transferring the print data again from the first page is performed.

なお、画像読取装置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 USB cable 15 as long as various data can be transferred to and from the printer apparatus 16 and can be inserted and removed. For example, a LAN cable or a parallel cable may be used. In the present embodiment, the case where the print data generated based on the image data of the document read by the document reading unit 3 is transferred to the printer device 16 has been described. Even if a transfer error occurs during transfer of the print data generated based on this and the printer device is reconnected, the process of transferring the untransferred page of print data or the process of transferring the print data from the first page is performed again. Is called.

通信ケーブルを介してプリンタ装置にプリントデータを転送して印刷を行わせることができる各種装置に適用可能である。   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 is a block diagram illustrating a configuration example of an image reading apparatus. USBケーブルによって画像読取装置とプリンタ装置が接続された場合に、画像読取装置とプリンタ装置との間で行われる処理動作を示したフローチャートである。6 is a flowchart illustrating processing operations performed between the image reading apparatus and the printer apparatus when the image reading apparatus and the printer apparatus are connected by a USB cable. 原稿読取部における原稿の読取開始命令があった場合に、画像読取装置において行われる処理動作を示したフローチャートである。6 is a flowchart showing a processing operation performed in the image reading apparatus when there is a document reading start command in the document reading unit. 原稿読取部における原稿の読取開始命令があった場合に、画像読取装置において行われる処理動作を示したフローチャートである。6 is a flowchart showing a processing operation performed in the image reading apparatus when there is a document reading start command in the document reading unit.

符号の説明Explanation of symbols

1 画像読取装置
2 制御部(MPU)
3 原稿読取部
5 コーデック
8 画像メモリ
9 PDL変換回路
11 USBホストコントローラ
12 ROM
13 RAM
15 USBケーブル
16 プリンタ装置
20 USBポート
1 Image Reading Device 2 Control Unit (MPU)
3 Document Reading Unit 5 Codec 8 Image Memory 9 PDL Conversion Circuit 11 USB Host Controller 12 ROM
13 RAM
15 USB cable 16 Printer device 20 USB port

Claims (4)

原稿の画像データを読取る画像読取手段と、読取った画像データに基づいてプリントデータを生成するプリントデータ生成手段と、生成されたプリントデータを通信ケーブルを介してプリンタ装置に転送する転送手段と、前記通信ケーブルによるプリンタ装置との接続状態を検出する検出手段と、前記転送手段によるプリントデータ転送中にプリンタ装置との接続が切断されたことを前記検出手段が検出した場合に、前記プリントデータの未転送ページに関する情報を記憶する記憶手段と、前記プリンタ装置との接続が切断された後にプリンタ装置が再接続されたことを前記検出手段が検出した場合に、再接続されたプリンタ装置が前記切断前に接続されていたプリンタ装置であるか否かを判断する判断手段と、該判断手段が前記切断前に接続されていたプリンタ装置が再接続されたと判断した場合に前記記憶手段に記憶されている前記情報に基づいて前記転送手段に前記プリントデータの未転送ページを転送させ、異なるプリンタ装置が接続されたと判断した場合には前記転送手段に前記プリントデータを先頭ページから改めて転送させる転送制御を行う転送制御手段とを備えることを特徴とする画像読取装置。   Image reading means for reading image data of a document; print data generating means for generating print data based on the read image data; transfer means for transferring the generated print data to a printer device via a communication cable; A detecting means for detecting a connection state with the printer device via a communication cable; and when the detecting means detects that the connection with the printer device has been disconnected during the print data transfer by the transferring means, When the detection unit detects that the storage unit that stores information relating to the transfer page and the printer device is reconnected after the connection with the printer device is disconnected, the reconnected printer device is Determining means for determining whether or not the printer apparatus is connected to the printer, and the determining means is connected before the disconnection. When it is determined that the printer device that has been connected is reconnected, based on the information stored in the storage unit, the transfer unit transfers the untransferred page of the print data, and it is determined that a different printer device is connected. An image reading apparatus comprising: transfer control means for performing transfer control for causing the transfer means to transfer the print data again from the first page. 前記転送制御手段は、プリントデータ転送中に前記通信ケーブルによるプリンタ装置との接続が切断されてから設定時間内にプリンタ装置が再接続されたことを前記検出手段が検出した場合に前記転送制御を行い、前記設定時間を経過した後にプリンタ装置が再接続されたことを前記検出手段が検出した場合には、前記判断手段の判断結果に関わらず前記転送手段に前記プリントデータを先頭ページから改めて転送させることを特徴とする請求項1記載の画像読取装置。   The transfer control unit performs the transfer control when the detection unit detects that the printer device is reconnected within a set time after the connection with the printer device via the communication cable is disconnected during print data transfer. If the detection unit detects that the printer device has been reconnected after the set time has elapsed, the print data is transferred to the transfer unit from the first page regardless of the determination result of the determination unit. The image reading apparatus according to claim 1, wherein: 前記画像読取手段は、画像読取動作を実行中に、前記検出手段により前記接続が切断されたことを検出した場合には、実行中であるジョブの画像読取りが完了するまで画像読取動作を継続して行うことを特徴とする請求項1又は2記載の画像読取装置。   The image reading unit continues the image reading operation until the image reading of the job being executed is completed when the detection unit detects that the connection is disconnected during the image reading operation. The image reading apparatus according to claim 1, wherein the image reading apparatus is performed. 原稿の画像データを読取る画像読取手段と、読取った画像データに基づいてプリントデータを生成するプリントデータ生成手段と、生成されたプリントデータを通信ケーブルを介してプリンタ装置に転送する転送手段と、前記通信ケーブルを介して前記プリンタ装置の識別情報を取得する識別情報取得手段と、前記通信ケーブルによるプリンタ装置との接続状態を検出する検出手段と、プリントデータ転送中に前記検出手段の検出結果に基づいて転送エラーの発生を監視する監視手段と、前記転送エラーが発生した際に、前記プリントデータの未転送ページに関する情報を記憶する記憶手段と、前記転送エラー発生後にプリンタ装置が再接続されたことを前記検出手段が検出した場合に、前記識別情報取得手段が前記転送エラー発生前に取得した識別情報と再接続されたプリンタ装置から取得した識別情報とが一致するか否かを判断する判断手段と、これにより識別情報が一致すると判断された場合には前記記憶手段に記憶されている前記情報に基づいて前記転送手段に前記プリントデータの未転送ページを転送させ、一致しないと判断された場合には前記転送手段に前記プリントデータを先頭ページから転送させる転送制御を行う転送制御手段とを備えることを特徴とする画像読取装置。   Image reading means for reading image data of a document; print data generating means for generating print data based on the read image data; transfer means for transferring the generated print data to a printer device via a communication cable; Based on an identification information acquisition unit that acquires identification information of the printer device via a communication cable, a detection unit that detects a connection state of the printer device via the communication cable, and a detection result of the detection unit during print data transfer Monitoring means for monitoring the occurrence of a transfer error, storage means for storing information relating to an untransferred page of the print data when the transfer error occurs, and the printer device being reconnected after the transfer error has occurred. Is detected by the detection means before the transfer error occurs. Determining means for determining whether or not the identification information acquired from the reconnected printer device matches, and if it is determined that the identification information matches, stored in the storage means A transfer control unit for performing transfer control for causing the transfer unit to transfer an untransferred page of the print data based on the information and causing the transfer unit to transfer the print data from the first page when it is determined that they do not match; An image reading apparatus comprising:
JP2003372758A 2003-10-31 2003-10-31 Image reading device Expired - Fee Related JP4571388B2 (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (2)

* Cited by examiner, † Cited by third party
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