JP4944227B2 - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP4944227B2
JP4944227B2 JP2010116096A JP2010116096A JP4944227B2 JP 4944227 B2 JP4944227 B2 JP 4944227B2 JP 2010116096 A JP2010116096 A JP 2010116096A JP 2010116096 A JP2010116096 A JP 2010116096A JP 4944227 B2 JP4944227 B2 JP 4944227B2
Authority
JP
Japan
Prior art keywords
control unit
data
unit
printer
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.)
Expired - Fee Related
Application number
JP2010116096A
Other languages
Japanese (ja)
Other versions
JP2010220246A (en
Inventor
雄一 渡邉
Original Assignee
株式会社沖データ
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 株式会社沖データ filed Critical 株式会社沖データ
Priority to JP2010116096A priority Critical patent/JP4944227B2/en
Publication of JP2010220246A publication Critical patent/JP2010220246A/en
Application granted granted Critical
Publication of JP4944227B2 publication Critical patent/JP4944227B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、多機能を有する画像処理装置に関し、特に、ホストコンピュータおよびプリンタ装置へ接続して、スキャン機能、プリント機能、コピー機能を実現するスキャナ装置に関する。   The present invention relates to an image processing apparatus having multiple functions, and more particularly to a scanner apparatus that is connected to a host computer and a printer apparatus to realize a scan function, a print function, and a copy function.

ホストコンピュータ、スキャナ装置およびプリンタ装置を組み合わせて、ホストコンピュータからの指示によるスキャナ機能や、ホストコンピュータで作成したデータを印刷するプリント機能またはホストコンピュータからの指示によりスキャナ装置で画像を取得し、該画像をプリンタ装置で媒体に転写するコピー機能を実現する画像処理システムが従来から知られている。   A combination of a host computer, a scanner device, and a printer device obtains an image with the scanner device by a scanner function according to an instruction from the host computer, a print function for printing data created by the host computer, or an instruction from the host computer 2. Description of the Related Art Conventionally, an image processing system that realizes a copy function for transferring image data to a medium by a printer device is known.

例えば、ホストコンピュータがパーソナルコンピュータ(以降、PCと称す)である場合には、PCと各周辺装置を接続するインタフェースとして、Universal Serial Bus(以後 USBと記述する)が用いられている。USBインタフェースは、PCと各周辺装置の接続の為に規格化されたバス仕様である。
ところで、USBインタフェースを装置内で用いた複写装置が特許文献1に開示されている。
For example, when the host computer is a personal computer (hereinafter referred to as a PC), a Universal Serial Bus (hereinafter referred to as USB) is used as an interface for connecting the PC and each peripheral device. The USB interface is a bus specification standardized for connection between a PC and each peripheral device.
Incidentally, a copying apparatus using a USB interface in the apparatus is disclosed in Patent Document 1.

ここで、USBインタフェースを説明する。USBインタフェースでは、主局(Host)および従局(デバイス)が設けられている必要があり、主局から従局への問い合わせるポーリングによって、デバイスにおける「バスの使用権」設定に必要な情報をデバイスから取得した後、Hostおよびデバイス間でデータ通信が開始される。   Here, the USB interface will be described. In the USB interface, the master station (Host) and slave station (device) need to be provided, and information necessary for setting the "bus use right" in the device is acquired from the device by polling from the master station to the slave station. After that, data communication is started between the host and the device.

スキャナ装置とプリンタ装置をPCへUSBインタフェースで接続したシステムにおいて、コピー機能を実現するには、PCの制御下でスキャナ装置を起動して画像データを取得すると、該取得された画像データはスキャナ装置からPCへ送られる。同じくPCの制御下で動作するプリンタ装置は、PCから画像データを取得して、該データに基づいて印刷を行う。従って、PCの介在が必要不可欠であり、PCとスキャナ装置とプリンタ装置とが全て起動することでコピー機能を実現することができる。
特開2001−16382号公報
In a system in which a scanner device and a printer device are connected to a PC via a USB interface, in order to implement a copy function, when the scanner device is activated and image data is acquired under the control of the PC, the acquired image data is stored in the scanner device. Sent to PC. Similarly, a printer device operating under the control of a PC acquires image data from the PC and performs printing based on the data. Accordingly, the intervention of the PC is indispensable, and the copy function can be realized by starting all of the PC, the scanner device, and the printer device.
JP 2001-16382 A

しかしながら、上記のようにスキャナ装置とプリンタ装置をPCへUSBインタフェースで接続した場合、PCはHostとなるためコピー機能を実現するためには、必ずPCを起動する必要があり、このPCを起動する手間が使用者にとって煩わしく、特に、離れた所にPCが設置されている場合にはかなりの負担となる。PCを起動する手間を省いた装置の開発が求められていた。   However, when the scanner device and the printer device are connected to the PC through the USB interface as described above, the PC becomes a host. Therefore, in order to realize the copy function, the PC must be started up, and this PC is started up. This is troublesome for the user, and is particularly burdensome when a PC is installed at a remote location. There has been a demand for the development of a device that saves the trouble of starting up a PC.

従って、本発明の目的は、USBインタフェースで接続しつつ、PCを起動せずともコピー機能を実現する画像処理装置を提供することにある。   Accordingly, an object of the present invention is to provide an image processing apparatus that realizes a copy function without connecting to a USB interface and starting up a PC.

<構成1>
上位装置および画像形成装置間に設けられた画像処理装置において、少なくとも1つの従局に対して双方向データ転送を行うための主局インタフェース制御部を備えた上位装置を主局として、自己を従局とし通信制御を行う従局インタフェース制御部と、画像形成装置を従局として、自己を主局とし通信すべく通信制御を行う主局インタフェース制御部と、画像データを入力する画像入力部と、画像入力部から入力された画像データを従局インタフェース制御部の制御に基づいて上位装置へ転送する第1のデータ転送手段と、画像入力部から入力された画像データを主局インタフェース制御部の制御に基づいて前記画像形成装置へ転送する第2のデータ転送手段と、上位装置から転送されてくる画像データを従局インタフェース制御部の制御に基づいて受信し、該受信した画像データを主局インタフェース制御部の制御に基づいて前記画像形成装置へ送信する第3のデータ転送手段と、画像処理装置に関する使用履歴の情報のレポート印刷、または画像形成装置に関する情報のレポート印刷を指定する操作部と、操作部により画像処理装置情報に関する使用履歴のレポート印刷が指定されると、自機の情報を集めて印刷に用いる使用履歴のレポートを編集し、該レポートを画像形成装置で認識可能な言語に変換するとともに、該レポートを主局インタフェース制御部の制御に基づいて画像形成装置に送信し、操作部により画像形成装置情報のレポート印刷が指定されると、該レポートの印刷コマンドを作成するとともに、該印刷コマンドを主局インタフェース制御部の制御に基づいて画像形成装置に送信するレポート印刷制御部と、を備えることを特徴とする。
<構成2>
主局インタフェース制御部および従局インタフェース制御部は、USBプロトコルに基づく通信制御を行うことを特徴とする
<Configuration 1>
In an image processing apparatus provided between a host apparatus and an image forming apparatus, a host apparatus including a master station interface control unit for performing bidirectional data transfer to at least one slave station is used as a master station, and itself is a slave station. A slave station interface control unit that performs communication control, a master station interface control unit that performs communication control to communicate with the image forming apparatus as a slave station, and an image input unit that inputs image data, and an image input unit A first data transfer means for transferring the input image data to the host device based on the control of the slave interface control unit; and the image data input from the image input unit based on the control of the master station control unit. Second data transfer means for transferring to the forming apparatus and control of the slave interface control unit for image data transferred from the host apparatus Received basis, third data transfer means, the use history of the image processing apparatus of the information printed reports or images to be transmitted to the image forming apparatus on the basis of the image data thus received to the control of the main station interface controller When an operation unit that specifies report printing of information related to the forming device and report printing of usage history related to image processing device information are specified by the operation unit, the information on the device itself is collected and the usage history report used for printing is edited. The report is converted into a language recognizable by the image forming apparatus, the report is transmitted to the image forming apparatus based on the control of the main interface control unit, and the report printing of the image forming apparatus information is designated by the operation unit. Then, the print command for the report is created and the print command is controlled based on the control of the master station interface control unit. Characterized in that it comprises a report print control unit that transmits to the image forming apparatus.
<Configuration 2>
The master station interface control unit and the slave station interface control unit perform communication control based on the USB protocol .

本発明の画像処理装置によれば、上位装置と通信すべく制御する従局インタフェース制御部と画像形成装置と通信すべく制御する主局インタフェース制御部とを設け、画像入力部からの画像データを従局インタフェース制御部の制御に基づいて上位装置へ転送する第1のデータ転送手段と、画像入力部からの画像データを主局インタフェース制御部の制御に基づいて画像形成装置へ転送する第2のデータ転送手段と、上位装置からの画像データを受信し、受信した画像データを画像形成装置へ送信する第3のデータ転送手段とを設けることにより、上位装置からの画像データを一旦保持し、該保持した画像データを第3のデータ転送部から画像形成装置へ転送することができ、上位装置からの指示に基づいて原稿を走査して、取得した画像データを第1のデータ転送部から上位装置へ転送することができ、また、オペレータの指示に従い原稿を走査して、取得した画像データを第2のデータ転送部から画像形成装置へ転送することができることから、上位装置からのデータを画像形成装置で印刷処理することができ、かつ原稿を走査して取得した画像データを上位装置へ転送することができる。更に上位装置の介在なしに、画像形成装置と画像処理装置を使用してコピー機能を実現することができ、利便性が向上した画像処理装置を利用者に提供することができる。 According to the image processing apparatus of the present invention, the slave interface control unit that controls to communicate with the host device and the master station interface control unit that controls to communicate with the image forming apparatus are provided, and the image data from the image input unit is slaved. First data transfer means for transferring to the host device based on the control of the interface control unit, and second data transfer for transferring the image data from the image input unit to the image forming device based on the control of the main station interface control unit Means and a third data transfer means for receiving the image data from the host apparatus and transmitting the received image data to the image forming apparatus, thereby temporarily holding the image data from the host apparatus, image data can be transferred to the image forming apparatus from the third data transfer unit, by scanning an original based on an instruction from the host device, image de obtained The image data can be transferred from the first data transfer unit to the host device, and the original can be scanned in accordance with an instruction from the operator, and the acquired image data can be transferred from the second data transfer unit to the image forming apparatus. As a result, data from the host device can be printed by the image forming apparatus, and image data obtained by scanning a document can be transferred to the host device. Further, the copy function can be realized by using the image forming apparatus and the image processing apparatus without intervention of the host apparatus, and an image processing apparatus with improved convenience can be provided to the user.

本発明の実施形態について、図を用いて詳細に説明する。以下の説明では、各実施の形態に用いる図面について同一の構成要素は同一の符号を付し、かつ重複する説明は可能な限り省略する。   Embodiments of the present invention will be described in detail with reference to the drawings. In the following description, the same constituent elements in the drawings used in each embodiment will be given the same reference numerals, and redundant description will be omitted as much as possible.

以下、本発明の実施形態について図を用いて詳細に説明する。
本発明のスキャナ装置10は、PC30の従局としての通信機能とプリンタ装置20の主局としての通信機能の両方を備えている。すなわち、従局としての通信機能とは、PC30のHost制御部とスキャナ装置10のDevice制御部(従局インタフェース制御部)間での通信機能であり、主局としての通信機能とは、スキャナ装置10のHost制御部(主局インタフェース制御部)とプリンタ装置20のDevice制御部間での通信機能である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
The scanner device 10 of the present invention has both a communication function as a slave station of the PC 30 and a communication function as a master station of the printer device 20. That is, the communication function as a slave station is a communication function between the host control unit of the PC 30 and the device control unit (slave interface control unit) of the scanner device 10. The communication function as the master station is the function of the scanner device 10. This is a communication function between the host control unit (main station interface control unit) and the device control unit of the printer apparatus 20.

本発明のスキャナ装置10を用いた実施例1の画像処理システムは、図1に示されるように、従局としてのスキャナ装置10は、USBケーブル41で主局のPC30に接続されている。また、主局としてのスキャナ装置10は、USBケーブル42で従局のプリンタ装置20に接続され、PC30からの印刷データなどを従局のプリンタ装置20へ転送することができる。   In the image processing system according to the first embodiment using the scanner device 10 of the present invention, as shown in FIG. 1, the scanner device 10 as a slave station is connected to the PC 30 of the master station via a USB cable 41. Further, the scanner device 10 as the master station is connected to the slave printer device 20 via the USB cable 42 and can transfer print data from the PC 30 to the slave printer device 20.

スキャナ装置10は、図2に示されるように、原稿を読取り画像データを生成するための画像読取り部(画像入力部)111と、読取った画像データに対して画像処理を行うための画処理部112と、主局のPC30に対して従局としてUSBプロトコルに則って通信するべく制御し、従局のプリンタ装置20に対しては主局としてUSBプロトコルに則って通信するべく制御するUSB制御部113と、スキャナ装置10の動作の設定を行うための複数の押下キーなどが設けられているオペレーションパネル114と、画像の読取り処理と画処理後のデータを圧縮するための圧縮部115と、スキャナ装置10とプリンタ装置20を組み合わせてコピー機能を実現するように制御を行うコピー制御部116と、PC30からスキャナ装置10をコントロールするように制御を行うPCスキャナ制御部117と、PC30からの印刷データをスキャナ装置10で一旦受信し、プリンタ装置20へ受信したデータを転送し、プリンタ装置20で印刷を実行させるPCプリントのための制御を行うPCプリント制御部118と、画像の読取りや画処理や圧縮の際に画データを記憶する画メモリ119およびスキャナ装置10の全体を統括し制御するCPU120とから構成される。   As shown in FIG. 2, the scanner device 10 includes an image reading unit (image input unit) 111 for reading a document and generating image data, and an image processing unit for performing image processing on the read image data. 112 and a USB control unit 113 that controls the master station PC 30 to communicate as a slave station in accordance with the USB protocol, and controls the slave station printer device 20 to communicate as a master station in accordance with the USB protocol; , An operation panel 114 provided with a plurality of pressing keys for setting the operation of the scanner device 10, a compression unit 115 for compressing data after image reading processing and image processing, and the scanner device 10 And the printer device 20, the copy control unit 116 that performs control so as to realize the copy function, and the PC 30 to the scanner device 1. PC scanner control unit 117 that performs control so as to control the printer, and PC printer that temporarily receives print data from PC 30 by scanner device 10, transfers the received data to printer device 20, and executes printing by printer device 20 A PC print control unit 118 that performs control for image data, an image memory 119 that stores image data during image reading, image processing, and compression, and a CPU 120 that controls and controls the entire scanner device 10.

プリンタ装置20は、図3に示されるように、ページ記述言語をラスタデータへ展開するためのPDL展開部201と、主局のスキャナ装置10に対して従局としてUSBプロトコルに則ってデータ伝送を行うべく制御するDevice制御部202(従局インタフェース制御部)と、印刷データを記憶する画メモリ203と、印刷処理のため印刷エンジンを制御する印刷部204と、圧縮されて送られてくる印刷データを伸長するための伸長部205およびプリンタ装置全体を統括し制御するCPU206とから構成される。   As shown in FIG. 3, the printer device 20 performs data transmission according to the USB protocol as a slave station to the PDL rasterization unit 201 for rasterizing the page description language into raster data and the scanner device 10 of the master station. The device control unit 202 (subordinate interface control unit) that controls the print data, the image memory 203 that stores the print data, the print unit 204 that controls the print engine for print processing, and the print data sent after being compressed are expanded. And a CPU 206 that controls and controls the entire printer apparatus.

PC30は、図7に示されるように、従局のスキャナ装置10に対して主局としてUSBプロトコルに則った通信するべく制御するHost制御部301(主局インタフェース制御部)と、スキャナ装置10から受信した画像データに対してスキャナ言語展開および伸長処理を行うスキャナドライバ302およびアプリケーションプログラム303で構成される。   As shown in FIG. 7, the PC 30 receives from the scanner device 10 a host control unit 301 (master station interface control unit) that controls the slave scanner device 10 to communicate according to the USB protocol as a master station. The scanner driver 302 and the application program 303 perform scanner language expansion and decompression processing on the image data.

スキャナ装置10のUSB制御部113は、図4に示されるように、主局のPC30に対して従局としてUSBプロトコルに則った通信するべく制御するDevice制御部1131(従局インタフェース制御部)と従局のプリンタ装置20に対して主局としてUSBプロトコルに則った通信するべく制御するHost制御部1132(主局インタフェース制御部)から構成されている。   As shown in FIG. 4, the USB control unit 113 of the scanner device 10 includes a device control unit 1131 (slave interface control unit) that controls the master station PC 30 to communicate with the PC 30 as a slave station according to the USB protocol. A host control unit 1132 (main station interface control unit) that controls the printer apparatus 20 to communicate with the printer apparatus in accordance with the USB protocol as a main station.

Device制御部1131は、主局のPC30からのデータを受信するためのRxBuff11311と、PC30へデータを送信するためのTxBuff11312(第1のデータ転送部)から構成される。Host制御部1132は、従局のプリンタ装置20へデータを送信するためのTxBuff11321(第2のデータ転送部)とプリンタ装置20からのデータを受信するためのRxBuff11322から構成される。RxBuff11311に記憶されている受信したデータをTxBuff11321へCPU120からの指令に基づいて転送するか、あるいはオペレーションパネル114のキーなどの指示に基づいて転送を行っている(第3のデータ転送部)。また、RxBuff11322に記憶されている受信したデータをTxBuff11312へCPU120からの指令に基づいて転送するか、あるいはオペレーションパネル114からの指示に基づいて転送を行っている。   The device control unit 1131 includes an RxBuff 11311 for receiving data from the PC 30 of the main station and a TxBuff 11312 (first data transfer unit) for transmitting data to the PC 30. The host control unit 1132 includes a TxBuff 11321 (second data transfer unit) for transmitting data to the slave printer device 20 and an RxBuff 11322 for receiving data from the printer device 20. The received data stored in the RxBuff 11311 is transferred to the TxBuff 11321 based on a command from the CPU 120 or is transferred based on an instruction such as a key on the operation panel 114 (third data transfer unit). The received data stored in the RxBuff 11322 is transferred to the TxBuff 11312 based on a command from the CPU 120 or is transferred based on an instruction from the operation panel 114.

次に、実施例1の画像処理システムの動作について説明する。まず、プリンタ装置20とスキャナ装置10のコンフィギュレーションの確立について説明する。スキャナ装置10へプリンタ装置20が接続されると、プリンタ装置20のDevice制御部202は、接続のためにUSBケーブルをアタッチと呼ばれる状態にする。
この状態は、USBケーブルの信号線のD+またはD−のいずれかを3.3Vにすることである。

Next, the operation of the image processing system according to the first embodiment will be described. First described the establishment of configuration of the printer device 20 and the scanner device 10. When the printer device 20 is connected to the scanner device 10, the device control unit 202 of the printer device 20 puts the USB cable into a state called “attach” for connection.
This state is that either D + or D− of the signal line of the USB cable is set to 3.3V.

プリンタ装置20のアタッチを検出したスキャナ装置10のHost制御部1132は、100msの時間の後、プリンタ装置20のDevice制御部202へリセット状態を送出する。該リセット状態は、USBケーブルの信号線のD+およびD−の両方ともLowレベルに設定することで行われる。該リセット状態を検出したプリンタ装置のDevice制御部202は、装置内部をリセットした後、デフォルト状態とする。該デフォルト状態では、パイプ0を使用したコントロール転送が可能となる。   The host control unit 1132 of the scanner device 10 that has detected the attachment of the printer device 20 sends a reset state to the device control unit 202 of the printer device 20 after a time of 100 ms. The reset state is performed by setting both D + and D- of the signal line of the USB cable to the Low level. The device control unit 202 of the printer apparatus that has detected the reset state resets the inside of the apparatus to a default state. In the default state, control transfer using the pipe 0 is possible.

ここで、転送データについて、図5を用いて説明する。
信号線を流れる転送データは、「フレーム」と呼ばれる単位で伝送されている。このフレームは、1msec周期で繰り返し転送されていて、全てのデータがこのフレームの中で伝送されている。このフレームの構造は、「SOF(Start of Frame)」と呼ばれるパケットで始まる複数の「トランザクション」から構成されている。
Here, the transfer data will be described with reference to FIG.
Transfer data flowing through the signal line is transmitted in units called “frames”. This frame is repeatedly transferred at a period of 1 msec, and all data is transmitted in this frame. The structure of this frame is composed of a plurality of “transactions” starting with a packet called “SOF (Start of Frame)”.

パケットは、該USBプロトコルに則ったデータ伝送の最小の単位であり、幾つかの種類がある。即ち、SOFパケットやトークンパケットやデータパケットやハンドシェークパケットなどがあります。「トランザクション」とは、幾つかのパケットで構成され、意味を有するデータ転送の単位であり、SETUP、OUT、INの3種類がある。   A packet is a minimum unit of data transmission according to the USB protocol, and there are several types. In other words, there are SOF packets, token packets, data packets and handshake packets. A “transaction” is a unit of data transfer that is composed of several packets and has meaning, and there are three types: SETUP, OUT, and IN.

データ転送には、デフォルト状態において使用されるコントロール転送と、大量のデータを誤り再送せずに伝送するためのバルク転送と、誤り再送ありのアイソクロナス転送などがある。   Data transfer includes control transfer used in a default state, bulk transfer for transmitting a large amount of data without error retransmission, and isochronous transfer with error retransmission.

次に、コントロール転送について、図6を用いて説明する。
コントロール転送は、セットアップステージ、データステージ、ステータスステージからなり、以下の示す手順により伝送経路を確立する。
セットアップステージでは、初めにスキャナ装置10のHost制御部1132からセットアップ用のトークンパケットおよびデータパケットが送信され、その後プリンタ装置20のDevice制御部202からハンドシェーク用パケットが返信される。
Next, control transfer will be described with reference to FIG.
The control transfer includes a setup stage, a data stage, and a status stage, and establishes a transmission path according to the following procedure.
In the setup stage, a setup token packet and a data packet are first transmitted from the host control unit 1132 of the scanner device 10, and then a handshake packet is returned from the device control unit 202 of the printer device 20.

データステージでは、スキャナ装置10のHost制御部1132からプリンタ装置20のDevice制御部202へのデータ転送(ライト)の場合と、プリンタ装置20のDevice制御部202からスキャナ装置10のHost制御部1132へのデータ転送(リード)の場合とある。
ライトの場合には、スキャナ装置10のHost制御部1132からOUTトークンパケットがプリンタ装置20へ送信され、データ転送の方向は、スキャナ装置10からプリンタ装置20へと決定される。その後、スキャナ装置10からデータパケットがプリンタ装置20へ送信される。データを転送した後、ハンドシェークパケットがプリンタ装置20からスキャナ装置10へ送信される。
In the data stage, in the case of data transfer (write) from the host control unit 1132 of the scanner device 10 to the device control unit 202 of the printer device 20, and from the device control unit 202 of the printer device 20 to the host control unit 1132 of the scanner device 10. Data transfer (read).
In the case of writing, an OUT token packet is transmitted from the host control unit 1132 of the scanner device 10 to the printer device 20, and the data transfer direction is determined from the scanner device 10 to the printer device 20. Thereafter, the data packet is transmitted from the scanner device 10 to the printer device 20. After the data is transferred, a handshake packet is transmitted from the printer device 20 to the scanner device 10.

リードの場合には、スキャナ装置10のHost制御部1132からINトークンパケットがプリンタ装置20へ送信される。該INトークンパケットを受信したプリンタ装置20のDevice制御部202はデータを送信することが可能ならば、データパケットを送信し、不可能ならば、ハンドシェークパケットをスキャナ装置10のHost制御部1132へ送信する。プリンタ装置20のDevice制御部202からデータパケットが送信された場合には、スキャナ装置10のHost制御部1132は、正しく受信できれば、ハンドシェークパケット(ACKパケット)をプリンタ装置20のDevice制御部202へ送信する。   In the case of reading, an IN token packet is transmitted from the host control unit 1132 of the scanner device 10 to the printer device 20. The device control unit 202 of the printer apparatus 20 that has received the IN token packet transmits a data packet if it can transmit data, and transmits a handshake packet to the host control unit 1132 of the scanner apparatus 10 if it is not possible. To do. When a data packet is transmitted from the device control unit 202 of the printer device 20, the host control unit 1132 of the scanner device 10 transmits a handshake packet (ACK packet) to the device control unit 202 of the printer device 20 if it can be received correctly. To do.

ステータスステージでは、データステージと逆向きにデータパケットの通信が行われて、データステージでのデータ転送が誤りなく行われたことを確認する。   In the status stage, data packet communication is performed in the opposite direction to the data stage, and it is confirmed that the data transfer in the data stage has been performed without error.

プリンタ装置20のDevice制御部202は、プリンタ装置の属性を記述した情報(以後、デバイスディスクリプタと記述する)を有しており、該デバイスディスクリプタをスキャナ装置10のHost制御部1132が読み出すことにより、プリンタ装置20の種類を理解し、プリンタ装置20に適応した制御を行う。   The device control unit 202 of the printer device 20 has information describing the attributes of the printer device (hereinafter referred to as a device descriptor), and the host control unit 1132 of the scanner device 10 reads the device descriptor to read out the device descriptor. Understand the type of the printer device 20 and perform control suitable for the printer device 20.

プリンタ装置20は、該デバイスディスクリプタを使用して装置自身の属性をスキャナ装置10へ通知する。即ち、スキャナ装置10から送信されたデバイスリクエストを受信する毎にプリンタ装置20のDevice制御部202で保持しているデバイスディスクリプタをスキャナ装置10のHost制御部1132へ送信する。スキャナ装置10のHost制御部1132が、プリンタ装置20のアドレスを割り振り、プリンタ装置20のデバイス構成を認識した時点で、該プリンタ装置20を使用することが可能となる。   The printer device 20 notifies the scanner device 10 of the attributes of the device itself using the device descriptor. That is, every time a device request transmitted from the scanner device 10 is received, the device descriptor held by the device control unit 202 of the printer device 20 is transmitted to the host control unit 1132 of the scanner device 10. When the host control unit 1132 of the scanner apparatus 10 allocates the address of the printer apparatus 20 and recognizes the device configuration of the printer apparatus 20, the printer apparatus 20 can be used.

次に、PC30とスキャナ装置10のコンフィギュレーションの確立について説明する。
PC30へスキャナ装置10が接続されると、スキャナ装置10のDevice制御
部1131は、接続のためにUSBケーブルをアタッチと呼ばれる状態にする。この状
態は、USBケーブルの信号線のD+またはD−のいずれかを3.3Vにすることで実現
する。
Next, establishment of the configuration of the PC 30 and the scanner device 10 will be described.
When the scanner device 10 is connected to the PC 30, the device control unit 1131 of the scanner device 10 puts the USB cable into a state called “attach” for connection. This state is realized by setting either D + or D- of the signal line of the USB cable to 3.3V.

スキャナ装置10のアタッチを検出したPC30のHost制御部301は、100msの時間の後、スキャナ装置10のDevice制御部1131へリセット状態を送出する。該リセット状態を検出したスキャナ装置のDevice制御部1131は、スキャナ装置を内部リセットした後、デフォルト状態とする。   The host control unit 301 of the PC 30 that has detected the attachment of the scanner device 10 sends a reset state to the device control unit 1131 of the scanner device 10 after a time of 100 ms. The device control unit 1131 of the scanner device that has detected the reset state internally resets the scanner device to a default state.

デフォルト状態でのコントロール転送は、セットアップステージ、データステージ、ステータスステージからなり、前述した手順により伝送経路が確立される。   Control transfer in the default state includes a setup stage, a data stage, and a status stage, and a transmission path is established by the above-described procedure.

スキャナ装置10のDevice制御部1131は、スキャナ装置10の属性を記述したデバイスディスクリプタを有しており、該デバイスディスクリプタをPC30のHost制御部301が読み出すことにより、スキャナ装置10の種類を理解し、スキャナ装置10に適応した制御を行う。   The device control unit 1131 of the scanner device 10 has a device descriptor that describes the attributes of the scanner device 10, and the host control unit 301 of the PC 30 reads the device descriptor to understand the type of the scanner device 10, Control suitable for the scanner device 10 is performed.

スキャナ装置10は、該デバイスディスクリプタを使用してスキャナ装置自身の属性をPC30へ通知する。即ち、PC30から送信されたデバイスリクエストを受信する毎にスキャナ装置10のDevice制御部1131で保持しているデバイスディスクリプタをPC30のHost制御部301へ送信する。PC30のHost制御部301が、スキャナ装置10のアドレスを割り振り、スキャナ装置10のデバイス構成を認識した時点で、該スキャナ装置10を使用することが可能となる。   The scanner device 10 notifies the PC 30 of the attributes of the scanner device itself using the device descriptor. That is, every time a device request transmitted from the PC 30 is received, the device descriptor held by the device control unit 1131 of the scanner apparatus 10 is transmitted to the host control unit 301 of the PC 30. When the host control unit 301 of the PC 30 allocates the address of the scanner device 10 and recognizes the device configuration of the scanner device 10, the scanner device 10 can be used.

以上の説明のように、スキャナ装置10にHost制御部1132とDevice制御部1131を設け、主局のPC30に対して従局としてUSBプロトコルに則った通信するべく制御しおよび従局のプリンタ装置20に対して主局としてUSBプロトコルに則った通信するべく制御することにより、PC30とスキャナ装置10とのデータ伝送およびスキャナ装置10とプリンタ装置20とのデータ伝送が確立される。   As described above, the host control unit 1132 and the device control unit 1131 are provided in the scanner device 10 to control the master station PC 30 to communicate with the master station PC 30 according to the USB protocol and to the slave station printer apparatus 20. By controlling the main station to communicate according to the USB protocol, data transmission between the PC 30 and the scanner device 10 and data transmission between the scanner device 10 and the printer device 20 are established.

次に、PCプリント、PCスキャン、コピー機能におけるデータの流れを説明する。
まず、PCプリントのデータの流れについて、図7と図10を用いて説明する。
PC30は、PCプリントの実施を要求するためにスキャナ装置10のDevice制御部1131へPCプリントの起動コマンドをUSBパケットとして送信する(A2)。Device制御部1131は、USBパケットを受信するとコマンドを解析し、PCプリント用のコマンドと判定するとPCプリント制御部118へその旨を通知する。
Next, the data flow in the PC print, PC scan, and copy functions will be described.
First, the flow of PC print data will be described with reference to FIGS.
The PC 30 transmits a PC print activation command as a USB packet to the device control unit 1131 of the scanner device 10 in order to request execution of PC printing (A2). When the device control unit 1131 receives the USB packet, the device control unit 1131 analyzes the command.

PCプリント制御部118は、PCプリントの起動コマンドを認識するとDevice制御部1131のRxBuff11311で受信し保持していた印刷データをHost制御部1132のTxBuff11321へ転送するべく制御し(B3)、該転送された全データをHost制御部1132のTxBuff11321からプリンタ装置20のDevice制御部202へ送信するように制御する(B4)。プリンタ装置20では、Device制御部202が印刷データを受信し、受信された印刷データはPDL展開部201によりページ記述言語をラスタデータへ展開された後、印刷部304へ送信される。   When the PC print control unit 118 recognizes the PC print start command, the PC print control unit 118 controls to transfer the print data received and held by the RxBuff 11311 of the device control unit 1131 to the TxBuff 11321 of the host control unit 1132 (B3). Control is performed so that all the data is transmitted from the TxBuff 11321 of the host control unit 1132 to the device control unit 202 of the printer 20 (B4). In the printer device 20, the device control unit 202 receives print data, and the received print data is transmitted to the printing unit 304 after the page description language is expanded into raster data by the PDL expansion unit 201.

2番目に、PCスキャンのデータの流れについて、図8と図11を用いて説明する。
PC30は、PCスキャンの実施を要求するためにスキャナ装置10のDevice制御部1131へPCスキャンの起動コマンドをUSBパケットとして送信する(B2)。Device制御部1131は、USBパケットを受信するとコマンドを解析し、PCスキャンの起動コマンドと判定するとPCスキャナ制御部117へその旨を通知する。PCスキャナ制御部117は、PCスキャンの起動コマンドを認識すると画像読取り部111を起動し、原稿を読取り(B3)、画処理部112および圧縮部115においてPC30から指定された画処理や圧縮及びスキャナ言語変換を実施するように制御し(B4)、PCスキャナ制御部117は、Device制御部1131のTxBuff11312からPC30へ画処理や圧縮済みの読取りデータを送信するように制御する(B5)。PC30では、Host制御部301が読取りデータを受信し、受信された読取りデータはスキャナドライバ302によりスキャナ言語展開および伸長処理を施された後、アプリケーションプログラム303へ送信される。
Second, the flow of PC scan data will be described with reference to FIGS.
The PC 30 transmits a PC scan activation command as a USB packet to the device control unit 1131 of the scanner device 10 in order to request execution of the PC scan (B2). When the device control unit 1131 receives the USB packet, the device control unit 1131 analyzes the command. When the device control unit 1131 determines that the command is a PC scan activation command, the device control unit 1131 notifies the PC scanner control unit 117 of the command. When the PC scanner control unit 117 recognizes the PC scan activation command, it activates the image reading unit 111 to read the original (B3), and the image processing, compression, and scanner specified by the PC 30 in the image processing unit 112 and the compression unit 115 are performed. Control is performed so as to perform language conversion (B4), and the PC scanner control unit 117 performs control so that image processing and compressed read data are transmitted from the TxBuff 11312 of the device control unit 1131 to the PC 30 (B5). In the PC 30, the host control unit 301 receives read data. The received read data is subjected to scanner language expansion and decompression processing by the scanner driver 302, and then transmitted to the application program 303.

3番目に、コピー機能のデータの流れついて、図9と図12を用いて説明する。
オペレーションパネル114においてコピー機能が選択される(C2)と、選択信号を受けたコピー制御部116は、画像読取り部111を起動し原稿を読取る(C3)。読取った画像データに対して、画処理部112及び圧縮部115はオペレーションパネル114で指定された画処理や圧縮を施す(C4)。コピー制御部116は、Host制御部1132のTxBuff11321からプリンタ装置20へ該画処理や圧縮の施された画像データを送信するように制御する(C5)。プリンタ装置20では、送信されてきた画像データをDevice制御部202が受信し、Device制御部202は受信した画像データを伸長部205へ転送する。伸長部205は、受信した画像データを伸長した後、印刷部204へ転送する。印刷部204は、画像データに基づいて用紙上にコピー画像を形成する。
Third, the data flow of the copy function will be described with reference to FIGS.
When the copy function is selected on the operation panel 114 (C2), the copy control unit 116 that receives the selection signal activates the image reading unit 111 and reads the document (C3). The image processing unit 112 and the compression unit 115 apply the image processing and compression designated on the operation panel 114 to the read image data (C4). The copy control unit 116 performs control so that the image data subjected to the image processing and compression is transmitted from the TxBuff 11321 of the host control unit 1132 to the printer device 20 (C5). In the printer device 20, the device control unit 202 receives the transmitted image data, and the device control unit 202 transfers the received image data to the decompression unit 205. The decompression unit 205 decompresses the received image data, and then transfers it to the printing unit 204. The printing unit 204 forms a copy image on a sheet based on the image data.

実施例1のスキャナ装置10によれば、主局であるPC30に対して従局としてUSBプロトコルに則った通信するべく制御するDevice制御部1131と、従局であるプリンタ装置20に対して主局としてUSBプロトコルに則った通信するべく制御するHost制御部1132とを設け、Device制御部1131で受信したPC30からのデータをプリンタ装置20へ送信可能なHost制御部1132へ転送するように構成し、また画像読取り部111で取得した画像データをプリンタ装置20へ送信可能なHost制御部1132へ転送するように構成し、さらに画像読取り部111で取得した画像データをPC30へ送信可能なDevice制御部のTxBuff11312へ転送するように構成することにより、PC30とスキャナ装置10をUSBケーブルで接続し、スキャナ装置10とプリンタ装置20をUSBケーブルで接続するだけで、PCプリント機能と、コピー機能およびPCスキャン機能を実現できる。   According to the scanner device 10 of the first embodiment, the device control unit 1131 that controls the PC 30 that is the master station to perform communication according to the USB protocol as a slave station, and the USB that is the master station for the printer device 20 that is the slave station. A host control unit 1132 that controls to communicate according to the protocol, and is configured to transfer the data received from the PC 30 received by the device control unit 1131 to the host control unit 1132 that can transmit to the printer device 20; The image data acquired by the reading unit 111 is configured to be transferred to the host control unit 1132 that can be transmitted to the printer device 20, and further, the image data acquired by the image reading unit 111 is transmitted to the TxBuff 11312 of the device control unit that can be transmitted to the PC 30. PC3 by configuring to transfer And connects the scanner device 10 with a USB cable, simply by connecting a scanner apparatus 10 and the printer device 20 by a USB cable, it can be realized and a PC print function, a copy function and PC scan function.

また、主局としてスキャナ装置10は、PC30の介在なしに、従局であるプリンタ装置20とUSBプロトコルに則ったデータ伝送が可能である。従って、使用者はコピー機能を利用したい場合、PC30を起動せずにスキャナ装置10とプリンタ装置20を使用することにより、コピー機能を実現することができる。従って、PC30を起動する手間から使用者を開放することができる。   In addition, the scanner device 10 serving as a master station can perform data transmission according to the USB protocol with the printer device 20 serving as a slave station without the intervention of the PC 30. Therefore, when the user wants to use the copy function, the copy function can be realized by using the scanner device 10 and the printer device 20 without starting the PC 30. Therefore, the user can be released from the trouble of starting up the PC 30.

本発明のスキャナ装置11は、PC30の従局としての通信機能とプリンタ装置20の主局としての通信機能の両方を備えているとともに、ネットワーク上の第2のパーソナルコンピュータ70との通信機能を備えている。
本発明のスキャナ装置11を用いた実施例2の画像処理システムは、図13に示されるように、従局のスキャナ装置11は、USBケーブル41で主局のPC30に接続されている。また、主局としてのスキャナ装置11は、USBケーブル42で従局のプリンタ装置20に接続され、PC30からの印刷データなどを従局のプリンタ装置20へ転送している。さらに、スキャナ装置11は、ネットワーク60を経由してPC70に接続されている。
The scanner device 11 of the present invention has both a communication function as a slave station of the PC 30 and a communication function as a master station of the printer device 20 and also has a communication function with the second personal computer 70 on the network. Yes.
In the image processing system according to the second embodiment using the scanner device 11 of the present invention, the slave scanner device 11 is connected to the master PC 30 via a USB cable 41 as shown in FIG. The scanner device 11 serving as the master station is connected to the slave printer device 20 via the USB cable 42 and transfers print data from the PC 30 to the slave printer device 20. Further, the scanner device 11 is connected to the PC 70 via the network 60.

スキャナ装置11は、図14に示されるように、原稿を走査し画像データを生成するための画像読取り部111と、読取った画像データに対して画像処理を行うための画処理部112と、主局のPC30に対して従局としてUSBプロトコルに則って通信するべく制御し、従局のプリンタ装置20に対して主局としてUSBプロトコルに則って通信するべく制御するUSB制御部113と、スキャナ装置11の動作の設定を行うための複数の押下キーなどが設けられているオペレーションパネル114と、読取り処理と画処理後のデータを圧縮するための圧縮部115と、スキャナ装置11とプリンタ装置20を組み合わせてコピー機能を実現するように制御を行うコピー制御部116と、PC30からスキャナ装置11をコントロールするように制御を行うPCスキャナ制御部117と、PC30からの印刷データをスキャナ装置11で一旦受信し、受信したデータをプリンタ装置20へ転送しプリンタ装置20で印刷を実行させるPCプリントのための制御を行うPCプリント制御部118と、画像データの読取りや画処理や圧縮の際に画像データを記憶するが画メモリ119と、読取った画像データをE―mailに添付して、ネットワーク上のPC70へ送信するための制御を行うE―mail制御部121(電子メール制御部)と、ネットワーク制御を行うためのネットワーク制御部122と、スキャナ装置11において多機能が同時に動作しないように資源管理を行うリソース管理部123およびスキャナ装置11の全体を統括し制御するCPU120とから構成される。   As shown in FIG. 14, the scanner device 11 includes an image reading unit 111 for scanning a document and generating image data, an image processing unit 112 for performing image processing on the read image data, A USB control unit 113 that controls the station PC 30 to communicate according to the USB protocol as a slave station, and controls the slave printer apparatus 20 to communicate according to the USB protocol as a master station; An operation panel 114 provided with a plurality of pressing keys for setting operations, a compression unit 115 for compressing data after reading processing and image processing, a scanner device 11 and a printer device 20 are combined. The copy control unit 116 that performs control so as to realize the copy function, and the scanner 30 is controlled from the PC 30. The PC scanner control unit 117 that performs the control as described above and the print data from the PC 30 are temporarily received by the scanner device 11, the received data is transferred to the printer device 20, and printing for the printer device 20 is executed. PC print control unit 118 to perform, image data is stored at the time of image data reading, image processing and compression, but image memory 119 and the read image data are attached to E-mail and transmitted to PC 70 on the network E-mail control unit 121 (e-mail control unit) for performing control, network control unit 122 for performing network control, and resource management for performing resource management so that multiple functions do not operate simultaneously in the scanner device 11 Unit 123 and a CPU 120 that controls and controls the entire scanner device 11. .

ネットワーク制御部122は、ネットワーク60とスキャナ装置11の間でデータを送受信するためのデータ転送部1221を有している。データ転送部1221は、ネットワーク60からのデータを受信するためのRxBuff12211とネットワーク60へデータを送信するためのTxBuff12212から構成される。ネットワーク制御部122において、RxBuff12211で受信したデータをHost制御部1132のTxBuff11321へCPU転送あるいはハードウエア転送を行っている(通信網画像形成転送部)。また、RxBuff11322で受信したデータをネットワーク制御部122のデータ転送部のTxBuff12212へCPU転送あるいはハードウエア転送を行っている。(図15を参照。)   The network control unit 122 includes a data transfer unit 1221 for transmitting and receiving data between the network 60 and the scanner device 11. The data transfer unit 1221 includes an RxBuff 12211 for receiving data from the network 60 and a TxBuff 12212 for transmitting data to the network 60. The network control unit 122 performs CPU transfer or hardware transfer of data received by the RxBuff 12211 to the TxBuff 11321 of the host control unit 1132 (communication network image formation transfer unit). Further, the CPU or hardware transfer of the data received by the RxBuff 11322 is performed to the TxBuff 12212 of the data transfer unit of the network control unit 122. (See Figure 15)

実施例2のスキャナ装置11の動作について、図14〜図16を用いて説明する。
まず、ネットワーク60上のPC70からプリンタ装置20を使用して印刷処理を行う場合、PC70のデータは、プリンタドライバで画処理、圧縮、プリンタ言語変換の処理が施された後ネットワークプロトコルに則ってスキャナ装置11へ送信される。
スキャナ装置11は、印刷データの受信処理を開始する(B1)。ネットワーク60上のPC70から送信された印刷データは、ネットワーク制御部122のデータ転送部のRxBuff12211に格納される(B2)。データ転送部のRxBuff12211に格納されているデータは、Host制御部1132のTxBuff11321へCPU転送あるいはハードウエア転送される(B3)。Host制御部1132のTxBuff11321へに格納されている印刷データをUSBのHost機能でプリンタ装置20へ送信する(B4)。プリンタ装置20は、受信した印刷データに基づいて印刷処理を行う。
The operation of the scanner device 11 according to the second embodiment will be described with reference to FIGS.
First, when printing processing is performed from the PC 70 on the network 60 using the printer device 20, the data of the PC 70 is subjected to image processing, compression, and printer language conversion processing by a printer driver, and then scanned according to the network protocol. Transmitted to the device 11.
The scanner device 11 starts print data reception processing (B1). The print data transmitted from the PC 70 on the network 60 is stored in the RxBuff 12211 of the data transfer unit of the network control unit 122 (B2). The data stored in the RxBuff 12211 of the data transfer unit is transferred to the TxBuff 11321 of the host control unit 1132 by CPU or hardware (B3). The print data stored in the TxBuff 11321 of the host control unit 1132 is transmitted to the printer device 20 by the USB host function (B4). The printer device 20 performs a printing process based on the received print data.

次に、読取り画像の電子メール送信について説明する。
スキャナ装置11の画像読取り部111で取得された画像データは、画処理部112で画像処理を施された後画メモリ119へ蓄積される。E―mail制御部121は、画メモリ119に蓄積された画像データを添付データとして電子メールを作成し、作成した電子メールをネットワーク制御部122から、ネットワーク60上のメールサーバ(図示せず)へ送信する。そして、メールサーバから相手先へ画像データが添付された電子メールが送信される。
Next, e-mail transmission of the read image will be described.
Image data acquired by the image reading unit 111 of the scanner device 11 is subjected to image processing by the image processing unit 112 and stored in the post-image memory 119. The E-mail control unit 121 creates an e-mail with the image data stored in the image memory 119 as attached data, and sends the created e-mail from the network control unit 122 to a mail server (not shown) on the network 60. Send. Then, an e-mail with image data attached is transmitted from the mail server to the other party.

実施例2のスキャナ装置11によれば、新規にE―mail制御部121およびネットワーク制御部122を設け、E―mail制御部121は、画像読取り部111で取得した画像データを添付した電子メールを作成し、作成した電子メールをネットワーク制御部122のデータ転送部のTxBuff12212へ転送する仕組みと、ネットワーク制御部122のデータ転送部のRxBuff12211で受信したネットワークデータをUSB制御部113のHost制御部のTxBuff11321へCPU転送あるいはハードウエア転送する仕組みを設けることにより、画像データの添付された電子メールをネットワーク60上のメールサーバへ送信することができ、また、ネットワーク機能のないプリンタ装置20を使用してPC70からのデータに基づいた印刷処理をするPCプリント機能を実現することができる。   According to the scanner device 11 of the second embodiment, an E-mail control unit 121 and a network control unit 122 are newly provided, and the E-mail control unit 121 sends an e-mail attached with image data acquired by the image reading unit 111. The created e-mail is transferred to the TxBuff 12212 of the data transfer unit of the network control unit 122, and the network data received by the RxBuff 12211 of the data transfer unit of the network control unit 122 is TxBuff 11321 of the host control unit of the USB control unit 113. By providing a mechanism for CPU transfer or hardware transfer to the electronic mail, it is possible to send an e-mail attached with image data to a mail server on the network 60, and to use the printer device 20 having no network function to use the PC 7 It is possible to realize a PC print function of printing processing based on data from.

本発明のスキャナ装置12は、PC30の従局としての通信機能とプリンタ装置20の主局としての通信機能の両方を備えているとともに、ネットワーク上の第2のパーソナルコンピュータ70との通信機能を備えている。
本発明のスキャナ装置12を用いた実施例3の画像処理システムは、図13に示されるように、従局のスキャナ装置12は、USBケーブル41で主局のPC30に接続されている。また、主局としてのスキャナ装置12は、USBケーブル42で従局のプリンタ装置20に接続され、PC30からの印刷データなどを従局のプリンタ装置20へ転送している。さらに、スキャナ装置12は、ネットワーク60を経由してPC70に接続されている。
The scanner device 12 of the present invention has both a communication function as a slave station of the PC 30 and a communication function as a master station of the printer device 20 and also has a communication function with the second personal computer 70 on the network. Yes.
In the image processing system according to the third embodiment using the scanner device 12 of the present invention, the slave scanner device 12 is connected to the master PC 30 via a USB cable 41, as shown in FIG. The scanner device 12 as the master station is connected to the slave printer device 20 via a USB cable 42 and transfers print data from the PC 30 to the slave printer device 20. Further, the scanner device 12 is connected to the PC 70 via the network 60.

スキャナ装置12は、図17に示されるように、原稿を読取るための画像読取り部111と、取得した画像データに対して画像処理を行うための画処理部112と、主局のPC30に対して従局としてUSBプロトコルに則った通信するべく制御し、従局のプリンタ装置20に対しては主局としてUSBプロトコルに則った通信するべく制御するUSB制御部113と、スキャナ装置12の動作の設定を行うためのオペレーションパネル114と、読取り処理と画処理後のデータを圧縮するための圧縮部115と、スキャナ装置12とプリンタ装置20を組み合わせてコピー機能を実現するように制御を行うコピー制御部116と、PC30からスキャナ装置12を制御するPCスキャナ制御部117と、PC30からプリンタ装置20へ印刷を実行させるPCプリントのための制御を行うPCプリント制御部118と、原稿から画像データの読取りや画処理や圧縮の際に画像データを記憶する画メモリ119と、読取った画像をE―mailに添付して、ネットワーク上のPC70へ送信するための制御を行うE―mail制御部121と、ネットワーク制御を行うためのネットワーク制御部122Aと、スキャナ装置10において多機能が同時に動作しないように資源管理を行うリソース管理部123およびスキャナ装置12の全体を統括し制御するCPU120とから構成される。   As shown in FIG. 17, the scanner device 12 has an image reading unit 111 for reading a document, an image processing unit 112 for performing image processing on acquired image data, and a PC 30 of the main station. As a slave station, control is performed so as to communicate according to the USB protocol, and the operation of the scanner device 12 is set for the slave printer apparatus 20, and the master station is controlled so as to communicate according to the USB protocol. An operation panel 114, a compression unit 115 for compressing data after reading processing and image processing, a copy control unit 116 for performing control so as to realize a copy function by combining the scanner device 12 and the printer device 20, and A PC scanner control unit 117 for controlling the scanner device 12 from the PC 30 and a printer device 20 from the PC 30. A PC print control unit 118 for performing control for PC printing, an image memory 119 for storing image data at the time of image data reading, image processing, and compression from a document, and the read image in E-mail At the same time, an E-mail control unit 121 that performs control for transmission to the PC 70 on the network, a network control unit 122A for performing network control, and resource management so that multiple functions do not operate simultaneously in the scanner device 10. And a CPU 120 that controls and controls the entire scanner device 12.

ネットワーク制御部122Aは、ネットワーク60とスキャナ装置12の間でデータを送受信するためのデータ転送部1221とデータ解析部1222とプリンタコントロール言語変換部1223を有している。データ転送部1221は、ネットワーク60からのデータを受信するためのRxBuff12211とネットワーク60へデータを送信するためのTxBuff12212から構成される。ネットワーク制御部122において、RxBuff12211で受信したデータをHost制御部1132のTxBuff11321へCPU転送あるいはハードウエア転送を行っている。また、RxBuff11322で受信したデータをネットワーク制御部122のデータ転送部のTxBuff12212へCPU転送あるいはハードウエア転送を行っている。(図15を参照。)   The network control unit 122A includes a data transfer unit 1221 for transmitting / receiving data between the network 60 and the scanner device 12, a data analysis unit 1222, and a printer control language conversion unit 1223. The data transfer unit 1221 includes an RxBuff 12211 for receiving data from the network 60 and a TxBuff 12212 for transmitting data to the network 60. The network control unit 122 performs CPU transfer or hardware transfer of data received by the RxBuff 12211 to the TxBuff 11321 of the host control unit 1132. Further, the CPU or hardware transfer of the data received by the RxBuff 11322 is performed to the TxBuff 12212 of the data transfer unit of the network control unit 122. (See Figure 15)

データ解析部1222は、データ転送部1221に格納されている受信データを解析し、受信データが印刷データであるかまたはプリンタ情報取得コマンドかを判定する。プリンタコントロール言語変換部1223は、受信データが印刷データ以外のネットワークプロトコルに準じたデータである場合に、ネットワーク機能のないプリンタ装置20で理解できる言語へ変換する。   The data analysis unit 1222 analyzes the reception data stored in the data transfer unit 1221 and determines whether the reception data is print data or a printer information acquisition command. When the received data is data conforming to a network protocol other than print data, the printer control language conversion unit 1223 converts the received data into a language that can be understood by the printer device 20 having no network function.

実施例3のスキャナ装置12は、実施例2のスキャナ装置11と下記の点が異なる。即ち、ネットワーク制御部122Aにデータ解析部1222とプリンタコントロール言語変換部1223を追加した点である。   The scanner device 12 of the third embodiment is different from the scanner device 11 of the second embodiment in the following points. That is, a data analysis unit 1222 and a printer control language conversion unit 1223 are added to the network control unit 122A.

実施例3の画像処理システムの動作について、図18を用いて説明する。
ネットワーク60上のPC70にてプリンタ管理ツールを起動させると、PC70がプリンタ情報を獲得するためにプリンタ情報取得コマンドをSimple Network Management Protocol(以後、SNMPと記述する)を用いてネットワーク60を経由してスキャナ装置12へ送信する。
スキャナ装置12は、データの受信処理を開始する(C1)。PC70から受信したデータは、ネットワーク制御部122Aのデータ転送部1221に格納される(C2)。データ解析部1222は、受信し格納されているデータが印刷データかまたはプリンタ情報取得コマンドかの判定を行う(C3)。
The operation of the image processing system according to the third embodiment will be described with reference to FIG.
When the printer management tool is activated on the PC 70 on the network 60, the printer information acquisition command is transmitted via the network 60 using the Simple Network Management Protocol (hereinafter referred to as SNMP) in order for the PC 70 to acquire printer information. Transmit to the scanner device 12.
The scanner device 12 starts data reception processing (C1). The data received from the PC 70 is stored in the data transfer unit 1221 of the network control unit 122A (C2). The data analysis unit 1222 determines whether the received and stored data is print data or a printer information acquisition command (C3).

受信したデータがプリンタ情報取得コマンドである場合は、プリンタコントロール言語変換部1223にて、プリンタ装置20で解釈できるプリンタ制御言語に変換する(C4)。
プリンタ装置20で解釈できるプリンタ制御言語に変換したデータをUSB制御部113のHost制御部のTxBuff11321へCPU転送あるいはハードウエア転送を行う(C5)。Host制御部1132のTxBuff11321に格納されているデータをプリンタ装置20へ送信する(C6)。次に、スキャナ装置12は、プリンタ装置20からの応答を受信したら(C7)、プリンタコントロール言語変換部1223で応答をSNMPに変換し(C8)、ネットワーク制御部122AからPC70へ応答を送信する(C9)。
If the received data is a printer information acquisition command, the printer control language conversion unit 1223 converts the received data into a printer control language that can be interpreted by the printer device 20 (C4).
The data converted into the printer control language that can be interpreted by the printer device 20 is transferred to the TxBuff 11321 of the Host control unit of the USB control unit 113 by CPU or hardware (C5). The data stored in the TxBuff 11321 of the host control unit 1132 is transmitted to the printer device 20 (C6). Next, when the scanner device 12 receives the response from the printer device 20 (C7), the printer control language conversion unit 1223 converts the response to SNMP (C8), and transmits the response from the network control unit 122A to the PC 70 ( C9).

受信したデータが印刷データである場合は、ネットワーク制御部122Aのデータ転送部のRxBuff12211で受信したデータをHost制御部1132のTxBuff11321へCPU転送あるいはハードウエア転送を行う(C10)。TxBuff11321に格納されているPC70からの印刷データをUSBのHost機能でプリンタ装置20へ送信する(C11)。印刷データを受信したプリンタ装置20は、受信したデータに基づいて印刷処理を行う(C12)。   If the received data is print data, the CPU or hardware transfers the data received by the RxBuff 12211 of the data transfer unit of the network control unit 122A to the TxBuff 11321 of the host control unit 1132 (C10). Print data from the PC 70 stored in the TxBuff 11321 is transmitted to the printer device 20 by the USB host function (C11). The printer device 20 that has received the print data performs print processing based on the received data (C12).

実施例3のスキャナ装置12によれば、ネットワーク制御部122Aに受信データを解析するデータ解析部1222と、および受信したデータが印刷データでなくネットワークプロトコルに準じている場合に、ネットワーク機能のないプリンタ装置20が理解できる言語に変換するプリンタコントロール言語変換部1223を設けたので、ネットワーク60上のPC70にインストールされているネットワーク管理ユーティリティを利用することができる。 According to the scanner device 12 of the third embodiment, the network control unit 122A analyzes the received data in the network control unit 122A, and the printer without the network function when the received data conforms to the network protocol instead of the print data. Since the printer control language conversion unit 1223 for converting into a language understandable by the apparatus 20 is provided, a network management utility installed in the PC 70 on the network 60 can be used.

本発明のスキャナ装置13は、PC30の従局としての通信機能とプリンタ装置21の主局としての通信機能の両方を備えているとともに、ネットワーク上の第2のパーソナルコンピュータ70との通信機能を備えている。
本発明のスキャナ装置13を用いた実施例4の画像処理システムは、図19に示されるように、従局のスキャナ装置13は、USBケーブル41で主局のPC30に接続されている。また、主局としてのスキャナ装置13は、USBケーブル42で従局のプリンタ装置21に接続され、PC30からの印刷データなどを従局のプリンタ装置21へ転送している。さらに、スキャナ装置13は、ネットワーク60を経由してPC70に接続され、プリンタ装置21もネットワーク60を経由してPC70に接続されている。
The scanner device 13 of the present invention has both a communication function as a slave station of the PC 30 and a communication function as a master station of the printer device 21, and also has a communication function with the second personal computer 70 on the network. Yes.
In the image processing system according to the fourth embodiment using the scanner device 13 of the present invention, the slave scanner device 13 is connected to the master PC 30 by a USB cable 41 as shown in FIG. The scanner device 13 serving as the master station is connected to the slave printer device 21 via a USB cable 42 and transfers print data from the PC 30 to the slave printer device 21. Further, the scanner device 13 is connected to the PC 70 via the network 60, and the printer device 21 is also connected to the PC 70 via the network 60.

スキャナ装置13は、原稿を走査し画像データを生成するための画像読取り部111と、画像処理を行うための画処理部112と、主局のPC30に対して従局としてUSBプロトコルに則って通信するべく制御し、従局のプリンタ装置21に対しては主局としてUSBプロトコルに則って通信するべく制御するUSB制御部113と、スキャナ装置13の動作の設定を行うためのオペレーションパネル114と、読取り処理と画処理後のデータを圧縮するための圧縮部115と、コピー機能を実現するように制御を行うコピー制御部116と、PC30からスキャナ装置13をコントロールするように制御を行うPCスキャナ制御部117と、PC30からプリンタ装置21へ印刷を実行させるPCプリントのための制御を行うPCプリント制御部118と、画データを記憶する画メモリ119と、E―mailをネットワーク上のPC70へ送信するための制御を行うE―mail制御部121と、ネットワーク制御を行うためのネットワーク制御部122Aと、スキャナ装置13において多機能が同時に動作しないように資源管理を行うリソース管理部123と、プリンタ装置21のネットワーク機能の有無を検出し、プリンタ装置21にネットワーク機能が有る場合にスキャナ装置13の印刷に関するネットワーク機能を停止するプリンタ関連ネットワーク機能管理部124およびスキャナ装置13の全体を統括し制御するCPU120とから構成される。   The scanner device 13 communicates according to the USB protocol as a slave station to the image reading unit 111 for scanning a document and generating image data, an image processing unit 112 for performing image processing, and the PC 30 of the master station. A USB control unit 113 that controls the slave printer device 21 to communicate with the slave station in accordance with the USB protocol, an operation panel 114 for setting the operation of the scanner device 13, and a reading process. A compression unit 115 for compressing the image-processed data, a copy control unit 116 for performing control to realize a copy function, and a PC scanner control unit 117 for performing control to control the scanner device 13 from the PC 30. And a PC printer that performs control for PC printing to execute printing from the PC 30 to the printer device 21. A control unit 118, an image memory 119 for storing image data, an E-mail control unit 121 for performing control for transmitting E-mail to the PC 70 on the network, and a network control unit 122A for performing network control In the scanner device 13, the resource management unit 123 that performs resource management so that multiple functions do not operate simultaneously and the presence or absence of the network function of the printer device 21 are detected, and when the printer device 21 has the network function, the printing of the scanner device 13 is performed. The network function management unit 124 for stopping the network function and the CPU 120 that controls and controls the entire scanner device 13.

プリンタ関連ネットワーク機能管理部124は、スキャナ装置13の印刷関連のネットワーク機能を停止するための転送停止部1241と、プリンタ装置21のネットワーク機能の有無を検出するネットワーク機能検出部1242と、スキャナ装置13の初期化時にプリンタ装置21のネットワーク機能の有無情報を記録するためのネットワーク禁止フラグ1243から構成される。   The printer-related network function management unit 124 includes a transfer stop unit 1241 for stopping the printing-related network function of the scanner device 13, a network function detection unit 1242 for detecting the presence or absence of the network function of the printer device 21, and the scanner device 13. The network prohibition flag 1243 for recording the presence / absence information of the network function of the printer 21 at the time of initialization.

プリンタ装置21は、ページ記述言語をラスタデータへ展開するためのPDL展開部201と、スキャナ装置13とプリンタ装置21との間においてUSBでデータの送受信を行うように制御するDevice制御部202と、印刷データを記憶する画メモリ203と、印刷処理のため印刷エンジンを制御する印刷部204と、圧縮されて送られてくる印刷データを伸長するための伸長部205と、ネットワーク制御を行うネットワーク制御部207および装置全体を統括し制御するCPU206から構成される。プリンタ装置21には、ネットワーク制御を行うネットワーク制御部207が設けられたことが特徴であり、ネットワーク機能を有する。   The printer device 21 includes a PDL development unit 201 for developing a page description language into raster data, a device control unit 202 that controls data transmission and reception between the scanner device 13 and the printer device 21 via USB, An image memory 203 for storing print data, a print unit 204 for controlling a print engine for print processing, a decompression unit 205 for decompressing print data sent after being compressed, and a network control unit for performing network control 207 and a CPU 206 that controls and controls the entire apparatus. The printer device 21 is characterized by a network control unit 207 that performs network control, and has a network function.

実施例4のスキャナ装置13は、プリンタ装置21のネットワーク機能の有無を検出し、プリンタ装置21にネットワーク機能が有る場合には、スキャナ装置13の印刷に関するネットワーク機能を停止するプリンタ関連ネットワーク機能管理部124が設けられたことを特徴とする。   The scanner device 13 according to the fourth embodiment detects the presence or absence of the network function of the printer device 21. When the printer device 21 has the network function, the printer-related network function management unit stops the network function related to printing of the scanner device 13. 124 is provided.

実施例4のスキャナ装置13の動作について、図22を用いて説明する。
スキャナ装置13の初期化時(D1)に、プリンタ装置21の状況の確認を行う(D2)。プリンタ関連ネットワーク機能管理部124のネットワーク機能検出部1242はプリンタ装置21のネットワーク機能の有無を判定する(D3)。プリンタ装置21にネットワーク機能が無い場合には、通常の初期化処理を行う(D5)。プリンタ装置21にネットワーク機能が有る場合には、ネットワーク禁止フラグ1243をONにする(D4)。
次に、スキャナ装置13のTCP/IPの接続処理について説明する。
ネットワーク60からTCP/IPの接続要求を受ける(E2)と、ネットワーク禁止フラグ1243をチェックし、ネットワーク禁止フラグがOFFの時は、TCP/IPの接続を実施し、実施例2および実施例3で説明した機能を実現する(E5)。ネットワーク禁止フラグがONの時は、TCP/IPの接続を禁止し、実施例2および実施例3で説明した機能の中でスキャナ装置13のネットワーク制御部122を介した印刷およびプリンタ管理機能が動作しないようにする。
The operation of the scanner device 13 according to the fourth embodiment will be described with reference to FIG.
When the scanner device 13 is initialized (D1), the status of the printer device 21 is confirmed (D2). The network function detection unit 1242 of the printer-related network function management unit 124 determines whether the printer device 21 has a network function (D3). If the printer device 21 does not have a network function, normal initialization processing is performed (D5). If the printer device 21 has a network function, the network prohibition flag 1243 is turned ON (D4).
Next, TCP / IP connection processing of the scanner device 13 will be described.
When a TCP / IP connection request is received from the network 60 (E2), the network prohibition flag 1243 is checked, and when the network prohibition flag is OFF, TCP / IP connection is performed. The described function is realized (E5). When the network prohibition flag is ON, TCP / IP connection is prohibited, and the printing and printer management functions via the network control unit 122 of the scanner device 13 among the functions described in the second and third embodiments operate. Do not.

実施例4のスキャナ装置13によれば、プリンタ装置21のネットワーク機能の有無を検出し、ネットワーク機能が有る場合にはスキャナ装置13の印刷に関するネットワークを停止するプリンタ関連ネットワーク機能管理部124を設けたことにより、スキャナ装置13へネットワーク機能を有するプリンタ装置21が接続されたときに、スキャナ装置13のネットワーク制御部122を介した印刷およびプリンタ装置を管理する機能を停止することができるので、スキャナ装置13のネットワーク機能とプリンタ装置21のネットワーク機能が衝突することを回避できる。   According to the scanner device 13 of the fourth embodiment, the printer-related network function management unit 124 that detects the presence or absence of the network function of the printer device 21 and stops the network related to the printing of the scanner device 13 when the network function is provided is provided. Thus, when the printer device 21 having the network function is connected to the scanner device 13, the function of managing the printing and printer device via the network control unit 122 of the scanner device 13 can be stopped. It is possible to avoid a collision between the network function 13 and the network function of the printer 21.

本発明のスキャナ装置14は、PC30の従局としての通信機能とプリンタ装置21の主局としての通信機能の両方を備えているとともに、ネットワーク上の第2のパーソナルコンピュータ70との通信機能を備えている。
本発明のスキャナ装置14を用いた実施例5の画像処理システムは、図19に示されるように、従局のスキャナ装置14は、USBケーブル41で主局のPC30に接続されている。また、主局としてのスキャナ装置14は、USBケーブル42で従局のプリンタ装置21に接続され、PC30からの印刷データなどを従局のプリンタ装置21へ転送している。さらに、スキャナ装置14は、ネットワーク60を経由してPC70に接続され、プリンタ装置21もネットワーク60を経由してPC70に接続されている。
The scanner device 14 of the present invention has both a communication function as a slave station of the PC 30 and a communication function as a master station of the printer device 21, and also has a communication function with the second personal computer 70 on the network. Yes.
In the image processing system according to the fifth embodiment using the scanner device 14 of the present invention, as shown in FIG. 19, the slave scanner device 14 is connected to the master station PC 30 by a USB cable 41. The scanner device 14 serving as the master station is connected to the slave printer device 21 via the USB cable 42 and transfers print data from the PC 30 to the slave printer device 21. Further, the scanner device 14 is connected to the PC 70 via the network 60, and the printer device 21 is also connected to the PC 70 via the network 60.

スキャナ装置14は、図23に示されるように、原稿を読取るための画像読取り部111と、読取った画像に対して画像処理を行うための画処理部112と、主局のPC30に対して従局としてUSBプロトコルに則って通信するべく制御し、従局のプリンタ装置21に対しては主局としてUSBプロトコルに則って通信するべく制御するUSB制御部113と、スキャナ装置14の動作の設定を行うためのオペレーションパネル(操作部)114と、読取り処理と画処理後のデータを圧縮するための圧縮部115と、スキャナ装置14とプリンタ装置21を組み合わせてコピー機能を実現するように制御を行うコピー制御部116と、PC30からスキャナ装置14をコントロールするように制御するPCスキャナ制御部117と、PC30からのデータをプリンタ装置21で印刷を実行させるPCプリントのための制御を行うPCプリント制御部118と、読取りや画処理や圧縮の際に画データを記憶する画メモリ119と、読取った画像をE―mailに添付して、ネットワーク上のPC70へ送信するための制御を行うE―mail制御部121と、ネットワーク制御を行うためのネットワーク制御部122Aと、スキャナ装置14において多機能が同時に動作しないように資源管理を行うリソース管理部123と、プリンタ装置21のネットワーク機能の有無を検出し、ネットワーク機能が有る場合にスキャナ装置14の印刷に関するネットワーク機能を停止するプリンタ関連ネットワーク機能管理部124と、スキャナ装置14に関連した情報をレポートとしてプリンタ装置21にて印刷するように制御するレポート印刷制御部125およびスキャナ装置14の全体を統括し制御するCPU120とから構成される。   As shown in FIG. 23, the scanner device 14 includes an image reading unit 111 for reading a document, an image processing unit 112 for performing image processing on the read image, and a slave station with respect to the master PC 30. To control the communication to comply with the USB protocol, and to set the operation of the scanner device 14 and the USB control unit 113 that controls the slave printer 21 to communicate with the USB protocol according to the USB protocol. Operation panel (operation unit) 114, a compression unit 115 for compressing data after reading processing and image processing, and copy control for performing control so as to realize a copy function by combining the scanner device 14 and the printer device 21. Unit 116, a PC scanner control unit 117 for controlling the scanner device 14 from the PC 30, and a PC 3 PC print control unit 118 that performs control for PC printing that causes the printer device 21 to print data from the printer, an image memory 119 that stores image data during reading, image processing, and compression, and a read image Multiple functions do not operate at the same time in the E-mail control unit 121 that performs control for sending to the PC 70 on the network attached to the E-mail, the network control unit 122A for performing network control, and the scanner device 14. A resource management unit 123 that performs resource management, a printer-related network function management unit 124 that detects the presence or absence of the network function of the printer device 21 and stops the network function related to printing of the scanner device 14 when the network function is present, Print information related to the scanner 14 as a report It consists CPU120 Metropolitan which supervises the overall control of the report printing control unit 125 and the scanner device 14 controls so as to print at 21.

レポート印刷制御部125は、E−mailアドレス情報やスキャナ装置14のネットワーク設定などのスキャナ装置14に関連した情報をレポートとしてプリンタ装置21で印刷させるために、スキャナ装置14の情報を集めてレポートのフォーマットに編集するスキャナ情報関連レポート編集手段1251と、プリンタ装置21が装備しているコマンドを受けるとプリンタ装置の消耗品情報や印刷カウンタなどのプリンタ関連情報を印刷する仕組みを用いて、プリンタ装置情報を印刷する機能を有するプリンタ関連情報印刷コマンド送信手段1252と、およびスキャナ装置14のオペレーションパネルのレポート印刷メニューで選択されたレポート種別から印刷するレポートがスキャナ装置関連情報に関するレポートかまたはプリンタ装置関連情報に関するレポートかを判定するレポート種別決定手段1253から構成される。   The report print control unit 125 collects information on the scanner device 14 and prints the report information so that the printer device 21 prints information related to the scanner device 14 such as E-mail address information and network settings of the scanner device 14 as a report. Printer device information using a mechanism that prints printer-related information such as consumable information and a print counter of the printer device when receiving a command provided in the printer device 21 and a scanner information-related report editing unit 1251 for editing into a format. Printer-related information print command transmission means 1252 having the function of printing the image, and the report to be printed from the report type selected in the report print menu of the operation panel of the scanner device 14 is a report related to the scanner device-related information or the printer Consists determined report type determination unit 1253 whether reports on location-related information.

スキャナ装置14のオペレーションパネル114において、図25に示されるようなレポート印刷一覧から印刷するレポートが選択されると(F1)、レポート種別決定手段1253において、スキャナ装置14関連のレポートかどうかの判定を行う(F2)。スキャナ装置14関連のレポートと判定された場合は、スキャナ情報関連レポート編集手段1251が、印刷用のレポートを編集し(F7)、編集されたレポートをプリンタ言語に変換する(F8)。プリンタ言語に変換されたレポート用データは、スキャナ装置14のHost制御部1132のTxBuff11321へCPU転送あるいはハードウエア転送される(F9)。次に、スキャナ装置14のHost制御部1132のTxBuff11321に格納されているデータをプリンタ装置21へ送信する(F10)。プリンタ装置21は、受信したデータに基づいてスキャン装置関連のレポートを印刷する(F11)。   When a report to be printed is selected from the report print list as shown in FIG. 25 on the operation panel 114 of the scanner device 14 (F1), the report type determination means 1253 determines whether the report is related to the scanner device 14 or not. Perform (F2). If it is determined that the report is related to the scanner device 14, the scanner information related report editing unit 1251 edits the report for printing (F7), and converts the edited report into a printer language (F8). The report data converted into the printer language is transferred by CPU or hardware to the TxBuff 11321 of the host control unit 1132 of the scanner device 14 (F9). Next, the data stored in the TxBuff 11321 of the host control unit 1132 of the scanner device 14 is transmitted to the printer device 21 (F10). The printer device 21 prints a report related to the scanning device based on the received data (F11).

レポート種別決定手段1253が、プリンタ装置21関連のレポートと判定した場合は、プリンタ関連情報印刷コマンド送信手段1252が、スキャナ装置14のオペレーションパネル114にて指定されたレポートを印刷するためのコマンドを作成し(F3)、該コマンドをスキャナ装置14のHost制御部1132のTxBuff11321へCPU転送あるいはハードウエア転送する(F4)。次に、スキャナ装置14のHost制御部1132のTxBuff11321に格納されているコマンドをプリンタ装置21へ送信する(F5)。プリンタ装置21は、受信したコマンドに基づいてプリント関連のレポートを印刷する(F6)。   If the report type determination unit 1253 determines that the report is related to the printer device 21, the printer-related information print command transmission unit 1252 creates a command for printing the report specified on the operation panel 114 of the scanner device 14. Then (F3), the command is transferred to the TxBuff 11321 of the host controller 1132 of the scanner device 14 by CPU or hardware (F4). Next, the command stored in the TxBuff 11321 of the host control unit 1132 of the scanner device 14 is transmitted to the printer device 21 (F5). The printer device 21 prints a print-related report based on the received command (F6).

実施例5のスキャナ装置14によれば、スキャナ装置に関連する情報を集めてレポートを編集するスキャナ情報関連レポート編集手段1251と、プリンタ情報を印刷する機能を実現するためのプリンタ関連情報印刷コマンド送信手段1252と、スキャナ装置関連情報に関するレポートまたはプリンタ装置関連情報に関するレポートのどちらが選択されたかを判定するレポート種別決定手段1253とから構成されるレポート印刷制御部を設けることにより、スキャナ装置14関連のレポートおよびプリンタ装置21関連のレポートを印刷することができるので、スキャナ装置14及び該装置を用いた画像処理システムの運用管理が容易になる。     According to the scanner device 14 of the fifth embodiment, the scanner information related report editing unit 1251 that collects information related to the scanner device and edits the report, and the printer related information print command transmission for realizing the function of printing the printer information. By providing a report printing control unit comprising means 1252 and a report type determining means 1253 for determining whether a report relating to scanner apparatus related information or a report relating to printer apparatus related information is selected, a report relating to the scanner apparatus 14 is provided. Since the report relating to the printer device 21 can be printed, the operation management of the scanner device 14 and the image processing system using the device is facilitated.

本発明の実施例1の画像処理システムの構成図である。It is a block diagram of the image processing system of Example 1 of this invention. 実施例1のスキャナ装置の構成図である。1 is a configuration diagram of a scanner device of Example 1. FIG. 実施例1のプリンタ装置の構成図である。1 is a configuration diagram of a printer apparatus according to a first embodiment. 実施例1のスキャナ装置のUSB制御部の構成図である。FIG. 3 is a configuration diagram of a USB control unit of the scanner device according to the first embodiment. 転送データの構成を示す図である。It is a figure which shows the structure of transfer data. コントロール転送のプロトコルを示す図である。It is a figure which shows the protocol of control transfer. PCプリント時のデータの流れを示すフロー図である。It is a flowchart which shows the flow of the data at the time of PC printing. PCスキャン時のデータの流れを示すフロー図である。It is a flowchart which shows the flow of the data at the time of PC scanning. コピー時のデータの流れを示すフロー図である。It is a flowchart which shows the flow of the data at the time of copying. PCプリント時スキャナ装置の動作を示すフロー図である。It is a flowchart which shows operation | movement of the scanner apparatus at the time of PC printing. PCスキャン時スキャナ装置の動作を示すフロー図である。It is a flowchart which shows operation | movement of the scanner apparatus at the time of PC scanning. コピー時スキャナ装置の動作を示すフロー図である。It is a flowchart which shows operation | movement of the scanner apparatus at the time of a copy. 実施例2及び実施例3の画像処理システムの構成図である。FIG. 3 is a configuration diagram of an image processing system according to a second embodiment and a third embodiment. 実施例2のスキャナ装置の構成図である。FIG. 6 is a configuration diagram of a scanner device according to a second embodiment. 実施例2のスキャナ装置の主要部の細部を示す構成図である。FIG. 10 is a configuration diagram illustrating details of a main part of a scanner device according to a second embodiment. 実施例2のスキャナ装置の動作を示すフロー図である。FIG. 10 is a flowchart illustrating the operation of the scanner device according to the second embodiment. 実施例3のスキャナ装置の構成図である。FIG. 10 is a configuration diagram of a scanner device according to a third embodiment. 実施例3のスキャナ装置の動作を示すフロー図である。FIG. 10 is a flowchart illustrating the operation of the scanner device according to the third embodiment. 実施例4及び実施例5の画像処理システムの構成図である。FIG. 10 is a configuration diagram of an image processing system according to a fourth embodiment and a fifth embodiment. 実施例4のプリンタ装置の構成図である。FIG. 10 is a configuration diagram of a printer apparatus according to a fourth embodiment. 実施例4のスキャナ装置の構成図である。FIG. 10 is a configuration diagram of a scanner device according to a fourth embodiment. 実施例4のスキャナ装置の動作を示すフロー図である。FIG. 10 is a flowchart illustrating the operation of the scanner device according to the fourth embodiment. 実施例5のスキャナ措置の構成図である。FIG. 10 is a configuration diagram of a scanner measure of Example 5. 実施例5のスキャナ装置の動作を示すフロー図である。FIG. 10 is a flowchart illustrating the operation of the scanner device according to the fifth embodiment. スキャナ装置のオペレーションパネルに表示するレポート一覧の例Sample report list displayed on the scanner's operation panel E―mailアドレス帳の例Example of E-mail address book ネットワーク設定一覧の例Network settings list example E―mail通信ログレポートの例Example of E-mail communication log report ステータスページの例Status page example

10、11,12、13、14 スキャナ装置
111 画像読取り部
112 画処理部
113 USB制御部
1131 Device制御部
11311、11322 RxBuff
11312、11321 TxBuff
1132 Host制御部
114 オペレーションパネル
115 圧縮部
116 コピー制御部
117 PCスキャナ制御部
118 PCプリント制御部
119 画メモリ
120 CPU
121 E―mail制御部
122、122A ネットワーク制御部
1221 データ転送部
1222 データ解析部
1223 プリンタコントロール言語変換部
123 リソース管理部
124 プリンタ関連ネットワーク管理部
1241 転送停止部
1242 プリンタネットワーク機能検出部
1243 ネットワーク機能禁止フラグ
125 レポート印刷制御部
1251 スキャナ情報関連レポート編集手段
1252 プリンタ関連情報印刷コマンド送信手段
1253 レポート種別決定手段
20、21 プリンタ装置
201 PDL展開部
202 Device制御部
203 画メモリ
204 印刷部
205 伸長部
206 CPU
207 ネットワーク制御部
30 上位装置であるパーソナルコンピュータ(PC)
41,42 USBケーブル
60 ネットワーク
70 ネットワーク上にあるパーソナルコンピュータ
10, 11, 12, 13, 14 Scanner device 111 Image reading unit 112 Image processing unit 113 USB control unit 1131 Device control unit 11311, 11322 RxBuff
11312, 11321 TxBuff
1132 Host control unit 114 Operation panel 115 Compression unit 116 Copy control unit 117 PC scanner control unit 118 PC print control unit 119 Image memory 120 CPU
121 E-mail control unit 122, 122A Network control unit 1221 Data transfer unit 1222 Data analysis unit 1223 Printer control language conversion unit 123 Resource management unit 124 Printer related network management unit 1241 Transfer stop unit 1242 Printer network function detection unit 1243 Network function prohibition Flag 125 Report print control unit 1251 Scanner information related report editing unit 1252 Printer related information print command transmission unit 1253 Report type determination unit 20, 21 Printer device 201 PDL development unit 202 Device control unit 203 Image memory 204 Printing unit 205 Decompression unit 206 CPU
207 Network control unit 30 Personal computer (PC) as host device
41, 42 USB cable 60 Network 70 Personal computer on the network

Claims (2)

上位装置および画像形成装置間に設けられた画像処理装置において、
少なくとも1つの従局に対して双方向データ転送を行うための主局インタフェース制御部を備えた上位装置を主局として、自己を従局とし通信制御を行う従局インタフェース制御部と、
前記画像形成装置を従局として、自己を主局とし通信すべく通信制御を行う主局インタフェース制御部と、
画像データを入力する画像入力部と、
前記画像入力部から入力された画像データを前記従局インタフェース制御部の制御に基づいて前記上位装置へ転送する第1のデータ転送手段と、
前記画像入力部から入力された画像データを前記主局インタフェース制御部の制御に基づいて前記画像形成装置へ転送する第2のデータ転送手段と、
前記上位装置から転送されてくる画像データを前記従局インタフェース制御部の制御に基づいて受信し、該受信した画像データを前記主局インタフェース制御部の制御に基づいて前記画像形成装置へ送信する第3のデータ転送手段と、
前記画像処理装置に関する使用履歴の情報のレポート印刷、または前記画像形成装置に関する情報のレポート印刷を指定する操作部と、
前記操作部により画像処理装置情報に関する使用履歴のレポート印刷が指定されると、自機の情報を集めて印刷に用いる使用履歴のレポートを編集し、該レポートを前記画像形成装置で認識可能な言語に変換するとともに、該レポートを前記主局インタフェース制御部の制御に基づいて前記画像形成装置に送信し、前記操作部により前記画像形成装置情報のレポート印刷が指定されると、該レポートの印刷コマンドを作成するとともに、該印刷コマンドを前記主局インタフェース制御部の制御に基づいて前記画像形成装置に送信するレポート印刷制御部と、
を備えることを特徴とする画像処理装置。
In the image processing apparatus provided between the host apparatus and the image forming apparatus,
A slave station interface controller that performs communication control with a host device as a master station, a master device having a master station interface controller for performing bidirectional data transfer to at least one slave station;
A master station interface control unit that performs communication control to communicate with the image forming apparatus as a slave station, with the master as a master station,
An image input unit for inputting image data;
First data transfer means for transferring image data input from the image input unit to the host device based on control of the slave interface control unit;
Second data transfer means for transferring image data input from the image input unit to the image forming apparatus based on control of the master station interface control unit;
Receiving the image data transferred from the host apparatus based on the control of the slave interface control section, and transmitting the received image data to the image forming apparatus based on the control of the master station interface control section; Data transfer means,
An operation unit for designating report printing of usage history information relating to the image processing apparatus or report printing of information relating to the image forming apparatus;
When printing of a usage history report related to image processing apparatus information is specified by the operation unit, the usage history report used for printing is collected by collecting information on the own machine, and the report can be recognized by the image forming apparatus The report is transmitted to the image forming apparatus based on the control of the main station interface control unit, and the report print command of the image forming apparatus information is designated by the operation unit. A report print control unit that transmits the print command to the image forming apparatus based on the control of the main station interface control unit;
An image processing apparatus comprising:
前記主局インタフェース制御部および前記従局インタフェース制御部は、USBプロトコルに基づく通信制御を行うことを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the master station interface control unit and the slave station interface control unit perform communication control based on a USB protocol.
JP2010116096A 2010-05-20 2010-05-20 Image processing device Expired - Fee Related JP4944227B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010116096A JP4944227B2 (en) 2010-05-20 2010-05-20 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010116096A JP4944227B2 (en) 2010-05-20 2010-05-20 Image processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004197980A Division JP4536439B2 (en) 2004-07-05 2004-07-05 Image processing device

Publications (2)

Publication Number Publication Date
JP2010220246A JP2010220246A (en) 2010-09-30
JP4944227B2 true JP4944227B2 (en) 2012-05-30

Family

ID=42978500

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010116096A Expired - Fee Related JP4944227B2 (en) 2010-05-20 2010-05-20 Image processing device

Country Status (1)

Country Link
JP (1) JP4944227B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3507196B2 (en) * 1995-06-12 2004-03-15 キヤノン株式会社 Scanner device and control method thereof
JPH1065898A (en) * 1996-08-20 1998-03-06 Ricoh Co Ltd Digital composite equipment
JPH11184649A (en) * 1997-07-25 1999-07-09 Seiko Epson Corp System and method for printing, and printer
JP2000263895A (en) * 1999-03-19 2000-09-26 Canon Inc Image output control device, status outputting method thereof and memory medium storing program readable by computer
JP4965767B2 (en) * 2000-03-29 2012-07-04 キヤノン株式会社 Image processing apparatus and control method thereof
JP3798216B2 (en) * 2000-03-30 2006-07-19 京セラ株式会社 Image input device and image information transmission system
JP4058982B2 (en) * 2002-03-27 2008-03-12 セイコーエプソン株式会社 Printer
JP2003304367A (en) * 2002-04-09 2003-10-24 Canon Inc Record control apparatus and control method for the same

Also Published As

Publication number Publication date
JP2010220246A (en) 2010-09-30

Similar Documents

Publication Publication Date Title
KR101377468B1 (en) Image processing apparatus, control method of image processing apparatus, and recording medium storing computer program
JP5439941B2 (en) Information processing system, information processing apparatus, and signal transmission apparatus
JP5975666B2 (en) Information processing apparatus, information processing method, and program
JP7355147B2 (en) application program
JP6031275B2 (en) Image processing apparatus, control method therefor, and program
KR20120054403A (en) Method for performing operations, image forming apparatus and system for performing the same
JP6768544B2 (en) Information processing equipment, control methods and programs
JP5473755B2 (en) Information processing apparatus, control method thereof, and program
JP2014032652A (en) Print processing system
JP4536439B2 (en) Image processing device
JP4944227B2 (en) Image processing device
JP2007081893A (en) Image reading apparatus and printing system
JP4476886B2 (en) Image processing apparatus and image processing system
JP4676241B2 (en) Computer peripherals
JP2012080519A (en) Image processing device
JP2012038076A (en) Information processing device, job processing system, job transmission path control method and program, and recording medium
JP7439973B2 (en) Program sets, programs, and information processing equipment
JP2007174022A (en) Image forming apparatus
JP5546189B2 (en) Image forming apparatus, image forming apparatus control method and program
JP5046818B2 (en) Image forming apparatus, data processing method in image forming apparatus, and data processing program
JP2007066112A (en) Data conversion apparatus and image formation system
JP3988597B2 (en) Image output system, image output device used therefor, image input device, and control method
JP2017220723A (en) Printing system, printer controller, image formation device, and control method and program thereof
JP5725844B2 (en) Image reading apparatus, image reading apparatus control method, and program
JP2010278635A (en) Image processing system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110614

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110808

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111115

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120106

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4944227

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150309

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees