Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3667293B2 - Scanner device and control method thereof - Google Patents
[go: Go Back, main page]

JP3667293B2 - Scanner device and control method thereof - Google Patents

Scanner device and control method thereof Download PDF

Info

Publication number
JP3667293B2
JP3667293B2 JP2002074930A JP2002074930A JP3667293B2 JP 3667293 B2 JP3667293 B2 JP 3667293B2 JP 2002074930 A JP2002074930 A JP 2002074930A JP 2002074930 A JP2002074930 A JP 2002074930A JP 3667293 B2 JP3667293 B2 JP 3667293B2
Authority
JP
Japan
Prior art keywords
data
scanner
host computer
printer
output
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
JP2002074930A
Other languages
Japanese (ja)
Other versions
JP2002314736A (en
Inventor
茂 上田
雅夫 林
雅水 栗本
実 神戸川
芳行 小城
英信 鈴木
修 細田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002074930A priority Critical patent/JP3667293B2/en
Publication of JP2002314736A publication Critical patent/JP2002314736A/en
Application granted granted Critical
Publication of JP3667293B2 publication Critical patent/JP3667293B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)

Description

【0001】
【産業上の利用分野】
本発明はスキャナ装置及びその制御方法に関するものである。
【0002】
【従来の技術】
マルチファンクションシステムとは、以下の機能を実現できるシステムのことを指す。すなわち(1)FAX機能、(2)プリント機能、(3)コピー機能、(4)スキャナ機能、である。
【0003】
従来はこのような機能を実現するシステムとして、図19又は図20のシステムで実現していた。図19のシステムでは、ホストコンピュータが中心となったシステムであり、図20はプリンタが中心となったシステムである。
【0004】
【発明が解決しようとする課題】
しかしながら、図19に示されるシステムでは、以下のような問題が有った。即ち、
▲1▼コピーをする際、即ちスキャナで読み取ったデータをプリンタで印刷する際に必ずホストコンピュータを介して処理が行われるので、ホストコンピュータを使用しない場合でもホストコンピュータの電源を入れておかなければならなかった.
▲2▼ホストコンピュータに標準で付いているポートは、一般にパラレルポート1個とシリアルポート1個である。パラレルポートがプリンタ接続用に用いられると、残りのシリアルポートは通信速度が遅すぎてスキャナには使えない。このため、スキャナ接続用にホストコンピュータ側に新たなポートの付いた拡張ボードを用意する必要が有った。
【0005】
また、図20のシステムでは以下のような問題が有った。即ち、
▲1▼従来、プリンタとホストコンピュータとは、ホストコンピュータからのみ片方向に送れる方式のパラレルI/Fで接続されていたため、スキャナで読み込んだデータをホストコンピュータに送ることはできなかった.
▲2▼プリンタ側にスキャナを接続するためのポートが必要となるが、安価なプリンタはホストコンピュータに接続するためのパラレルポートしか付いておらず、このシステムを実現できるプリンタは一部の高価なプリンタに限られていた。従って安価なシステムを構成することはできなかった。
【0006】
本発明は上記の問題に鑑みてなされたものであり、その目的は、プリンタ、スキャナ、ホストコンピュータでマルチファンクションシステムを構成するにおいて、ホストコンピュータを用いずにコピー機能を実現可能とするためのスキャナ装置とのその制御方法を提供することにある。
【0007】
また、本発明の目的は、通常のホストコンピュータ、プリンタを用いてマルチファンクションシステムを構成することを可能とし、マルチファンクションシステムを極めて安価に構成できるスキャナ装置及びその制御方法を提供することにある。
【0008】
【課題を解決するための手段】
上記の目的を達成するための本発明のスキャナ装置は以下の構成を備える。即ち、
原稿画像を読み取って画像データを得るスキャナ装置であって、
印刷装置と通信するための第1通信手段と、
前記画像データを前記印刷装置が解釈可能なページ記述言語で表される印刷データに変換し、前記第1通信手段を介して前記印刷装置へ出力する第1出力手段とを備える。
【0009】
また、上記の目的を達成するための本発明によるスキャナ装置の制御方法は、
印刷装置と通信するための第1通信手段を有し、原稿画像を読み取って画像データを得るスキャナ装置の制御方法であって、
前記画像データを前記印刷装置が解釈可能なページ記述言語で表される印刷データに変換し、前記第1通信手段を介して前記印刷装置へ出力する第1出力工程を備える。
【0010】
【実施例】
以下に添付の図面を参照して本発明の好適な一実施例を説明する。
【0011】
図1は、実施例のマルチファンクションシステムを表す図である。図1において、101はホストコンピュータ、102はスキャナ、103はプリンタである。ここで、ホストコンピュータ101とスキャナ102、及びプリンタ103とスキャナ102はそれぞれ双方向通信可能なパラレルポート104,105を通じて接続されている。更に、スキャナ102はモデム210を有し、電話回線106を介してデータの通信が可能となっている。
【0012】
図2はスキャナ102の外観図である。図2において、205は操作パネルであり、各種表示を行う表示部302と各種操作入力を行うスイッチ部303により構成される。301は読み取られる原稿を載せる原稿台である。また、304,305は外部I/Fコネクタ、306は電話回線コネクタである。
【0013】
図3は、実施例のスキャナ102の内部構成を示すブロック図である。図3において、201は画像読み取り部であり、原稿台301に置かれた原稿を光学的にスキャンして読み取り、画像データを得る。202は主制御部、203は主制御部202の動作プログラムをストアしてあるROMである。主制御部203はROM203に格納された動作プログラムを実行することで、本スキャナにおける種々の制御を実現する。
【0014】
204は操作パネルI/Fであり、操作パネル205とシステムバスとを接続する。206はRAMであり主制御部202の作業領域や、外部より入力されたデータを一時的に格納するバッファ領域を提供する。207は増設メモリI/F、208は増設メモリである。増設メモリ208にはイメージデータを格納しておき、随時読み出してプリントすること等が可能である(詳細は後述する)。209はモデムI/F、210はモデムであり、電話回線106を介して外部とデータの通信を行なう。また、104,105は外部I/Fであり、ホストコンピュータ101やプリンタ103とのデータの送受を行なう。
【0015】
以上のような構成を有する本実施例のスキャナ102、及びこれを核として図1の如く構成されるマルチファンクションシステムの動作について説明する。
【0016】
図4、図5、図6、図7は本実施例のスキャナの制御手順を表すフローチャートである。なお、これらフローチャートで示される制御を実現するための制御プログラムはROM203に格納され、主制御部202によって実行される。
【0017】
本実施例のスキャナ102は、ホストコンピュータ101とのデータ通信、モデム210を介してのデータ通信、プリンタ103からのデータ通信が可能である。ステップS1、S2、S3において、ホストコンピュータ101からのデータ受信の有無、操作パネル205からの操作入力の有無、モデム210からのデータ入力の有無をチェックする。そして、ホストコンピュータよりデータ入力があった場合はステップS4へ進み、受信したデータを解析する。そして、ステップS5〜S15のいずれの処理が指示されているかを判断し、指示に従った処理を実行する。また、操作パネル205より操作入力があった場合は、ステップS2からステップS9へ進み、ステップS9〜S15のいずれの処理が指示されているかを判断し、指示に従った処理が実行される。
【0018】
また、モデムからデータが入力された場合は、ステップS3からステップS20に進み、現在設定されているモードが判定され、そのモードに従った処理が行われる。なお、モデムの動作モードは、ホストコンピュータ101からの指示入力、或は操作パネル205よりの操作入力によって、モデムで受信したデータをプリンタ103へ出力するモード(ステップS15→ステップS16)か、モデムで受信したデータをホストコンピュータ101へ送信するモード(ステップS15→ステップS17)のいずれかに設定される。
【0019】
以下に各処理について説明する。
【0020】
(1)ホストコンピュータからプリンタあてに送られたデータを判別してプリンタに送る機能
ホストコンピュータ101からプリンタ103へデータを送る場合は、ホストコンピュータ101はプリンタのサポートする言語、例えばHP社のLaserJet3(商標)のサポートするPCL5という言語体系に従って、プリンタ103へ送るデータを構成する。そして、そのデータの前後には、プリンタあてのデータであることを示すコードを図8のように先頭と最後に付ける。プリンタ103あてのデータはこの構成でホストコンピュータ101から出力され、スキャナ102へ送られる。スキャナ102は、外部I/F104を通じて上記データを入力し、上記データの先頭にプリンタ103あてのデータを示すヘッダコード401があることを認識することにより、プリンタ103用のデータであると判断する(ステップS1、S4、S5)。従って処理はステップS5からステップS101へ進む。
【0021】
ステップS101ではコード401の次のデータから、外部I/F104を通じて入力したデータを、終了コード403の入力を認識するまでの間(ステップS102)、受信したデータをそのまま外部I/F105を介してプリンタ103へ送る。その結果、ホストコンピュータ101からプリンタ103へ送るべく出力されたデータはそのままプリンタ103へ送られることになり、プリントが行なわれる。
【0022】
(2)スキャナから読み込んだデータを印刷する機能
スキャナから読み込んだデータを印刷すること自体は、複写機で既に実現されている。本実施例が異なるのは、プリンタ103が例えば上述のHP社のLaserJet3のようなホストコンピュータ101から送られてくるプリンタ言語PCL5に基づいたデータを印刷することを前提として設計されたプリンタに対して、スキャナから読み込んだデータを、ホストコンピュータを介さずに送り、プリントするという点である。
【0023】
本実施例では、これを「コピーモード」と呼ぶことにするが、このコピーモードの起動の指示は、ホストコンピュータ101から外部I/F104を通じてコマンドで送っても良いし、操作パネル205からのスイッチの指示によってもよい(ステップS1、S2、S9)。コピーモードの指示が行われると、主制御部202は、画像読み取り部201を起動して原稿台301上の原稿をスキャンして読み取り、2進デジタルのビットマップデータに変換する(ステップS201)。そして、主制御部202は、ステップS201で得られたビットマップデータをRAM206にストアする(ステップS202)。
【0024】
次に主制御部202は、読み取られたビットマップデータの最初と最後に、図9の如く、PCL5のコード、即ち以下に続くデータが2進のデータであることを示すコード404と、データの終了を示すコード406を付けて読み出し(ステップS203)、外部I/F105を通じてプリンタ103へ送る(ステップS204)。プリンタ103ではこれを解釈し、スキャナ102で読み取ったビットマップデータ405をビットイメージとして印刷する。
【0025】
ここで、接続されているプリンタがHP社のLaserJet4(商標)のように、データ圧縮をサポートする言語PCL5eをサポートするプリンタの場合は、プリンタ103へ送るビットマップデータ405は、上記PCL5eでサポートされた圧縮形式で送って良いことは言うまでもない。また、この言語でサポートされている圧縮形式は、全て特別なハードウェアを用いること無く、ソフトウェアのみで圧縮できる事も言うまでもない。なお、圧縮データとしてプリンタへ転送する場合は、当該データが圧縮データである旨を示すコードを付加することになる。
【0026】
(3)スキャナから読み込んだデータをホストコンピュータへ送る機能
本実施例の図1では、ホストコンピュータ101側の入出力ポートをプリンタへデータを送る場合に標準的に用いられているIEEE1284に定められたパラレルポートを想定している。もちろん、スキャナ102の外部I/F104、外部I/F105も、IEEE1284準拠のパラレルポートであるし、プリンタのポートもIEEE1284準拠のパラレルポートである。このIEEE1284準拠のパラレルポートは、双方向通信が可能であり、従来のスキャナがSCSIインターフェースやRS−422インターフェースを介してホストコンピュータへデータを送っているのと同じように、このIEEE1284準拠のパラレルポートを介してスキャナ102で読み取ったデータをホストコンピュータ101へ送ることができる。
【0027】
スキャナ102による読み取りデータをホストコンピュータ101へ出力する旨の指示は、ホストコンピュータ101から外部I/F104を通じてコマンドで送っても良いし、操作パネル205からのスイッチの指示によってもよい(ステップSS1、S2、S10)。この指示を受けると処理はステップS10からステップS301へ進み、スキャナ102による原稿画像の読み取りを行う。そして、ステップS302において、読み取ったデータをホストコンピュータ101へ送信する。この送信処理の実現方法は一般のスキャナとホストコンピュータとの関係と同様であるので、ここでは説明を省略する。
【0028】
(4)モデム210を通じて入力したデータを印刷する
モデムよりデータを受信した場合は設定されたモードに従って処理が行われる(ステップS3、S20)。ここで、設定されているモードがモデム→プリンタであれば、ステップS401へ進む。
【0029】
これも、スキャナから読み込んだデータを印刷する場合と同じく、上記入力したデータの最初と最後に、図9のようにプリンタ言語を付けてプリンタへ送れば良い。但し、一般にモデムを通じて入力したデータは、200ドットパーインチのドット密度であり、接続されているプリンタが300ドットパーインチの印刷ドット密度であるような場合は、スキャナ102内で周知の200ドットパーインチ→300ドットパーインチへの解像度変換を行ない(ステップS402)、図9のようにPCLコード404,406を付加し(ステップS403)、プリンタ103へ送る(ステップS404)。
【0030】
(5)モデム210を通じて入力したデータをホストコンピュータへ送る
これは、スキャナ102で読み取ったデータをホストコンピュータ101へ送る場合と基本的には同じなのであるが、上記データに付随して送られて来る相手先の電話番号や名前等の情報も含めてホストコンピュータ101へ送る。
【0031】
即ち、ステップS501でモデムを介して受信したデータをRAM206に格納し(ステップS501)、これに電話番号等の情報を付加して(ステップS502)、ホストコンピュータ101へ送信する(ステップS503)。
【0032】
(6)ホストコンピュータから送られて来たデータを、モデム210を通じて外部へ出力する
ホストコンピュータよりのデータを解析した結果、モデムを介して電話回線上へ送信することが指示されたと判断されると(ステップS1、S4、S6)処理はステップS601へ進む。
【0033】
ホストコンピュータ101からは、図10の如くモデムを通じて外部へ出力することを指示するコード407、電話番号情報408と共にデータ409が送られてくる。スキャナ102は、これを受けて電話番号を抽出し(ステップS601)、該電話番号によりモデム210と回線を接続し(ステップS602)、モデム210を介してホストコンピュータ101よりのデータ409を外部へ送信する。
【0034】
(7)スキャナで読み取ったデータをモデムを通じて外部へ出力する
スキャナ102より読み取ったデータをモデム210を介して回線上へ送信するのは、ホストコンピュータ101からの指示、或は操作パネル205からの指示入力により実行される(ステップS1、S2、S11、S701)。以下では、ホストコンピュータ101よりの指示入力によって実行される場合を説明する。
【0035】
ホストコンピュータ101からは、図11の如く、スキャナからデータを読み取ることを指示するコード501、読み取ったデータをモデムを通じて外部へ出力することを指示するコード502、相手先の電話番号情報503、コマンド終了コード504がスキャナ102へ送られて来る。
【0036】
スキャナ102は、前記コマンドを解釈し、相手先の電話番号を獲得してこれを格納しておく(ステップS701)。次に、画像読み取り部201を起動して原稿台301上の原稿をスキャンして読み取り(ステップS702)、読み取ったデータを2進デジタルのビットマップに変換した後、一旦RAM206にストアする(ステップS703)。次に、ファクシミリの解像度に合わせて300dpi→200dpi(画像読み取り部の解像度は300dpiなので)に解像度変換してRAM206に格納する(ステップS704)。そして、モデム210をステップS701で獲得した電話番号によって回線に接続し、RAM206に格納されたデータを送信する。即ち、I/F209を通じてモデム210に200dpiに解像度変換したビットマップデータを送り、電話回線106を通じて相手先の電話番号情報503で指定された相手へデータを送る。
【0037】
(8)ホストコンピュータから送られて来たデータを、ストアし、同時にホストコンピュータから送られて来たID番号を付けて管理する
ホストコンピュータ101より、指定されたID番号を付与してデータを格納する旨の指示が入力されると、ステップS801へ処理が進む(ステップS1、S4、S7)。
【0038】
図12のように、コマンド505により、データ507をIDコード506を付けて管理することを指示されると、主制御部202は、IDコード506よりID番号を獲得する(ステップS801)。そして、データ507をRAM206又は増設メモリ208にストアする(ステップS802)とともに、RAM206に図13に示すような管理テーブルを作成して管理する(ステップS803)。
【0039】
図13において、601はID番号、602はそのID番号で示されたデータの解像度、603はそのデータがストアされているメモリの先頭アドレス、604はその終了アドレスである。例えば、IDコードS001で示されるデータの解像度は200dpiで先頭アドレスは200000(16進データ)、終了アドレスは20FFFFである。このように管理すると、いちいちホストコンピュータ101からデータを送らなくてもID番号だけを指定するだけで、プリント等の作業が行えるようになる。
【0040】
(9)管理テーブルで管理された格納データのプリンタによる印刷
RAM206或は増設メモリ208に格納されたデータをプリンタ103によって印刷する旨の指示がホストコンピュータ101或は操作パネル205より入力されるとステップS901へ進む(ステップS1、S2、S12)。以下ではホストコンピュータ101より指示が入力された場合を説明する。
【0041】
例えば、図14の(a)に示されるようなプリンタあてのデータを示すコード401とIDコード508により、スキャナ102の主制御部202は、図13のID管理テーブルを参照して、該当するデータを読み出す(ステップS901)。読み出したデータの解像度がプリンタ103の解像度に合っていない場合は、解像度変換を行なってプリンタの解像度に合せる(ステップS903)。こうして得られたデータを、図14の(b)に示されるようなコマンド、データ形式でプリンタ103へデータを送る(ステップS904、S905)。こうして、プリンタ103による格納データのプリントアウトがより簡単に実現できる。なお、該当するID番号のデータが無い場合は、ステップS902よりステップS906へ進み、ホストコンピュータ101にその旨を通知する。なお、ステップS206では、更に操作パネル205上の表示部にエラーを表示するようにしても良い。
【0042】
(10)スキャナで読み取ったデータをストアし、同時にID番号を付けて管理し、そのID番号をホストコンピュータに報告する
画像読み取り部201で読み取ったデータをRAM206又は増設メモリ208へ格納する旨の指示が、ホストコンピュータ101或は操作パネルより入力されると、処理はステップS1001へ進む。以下では、ホストコンピュータ101から指示が入力された場合を説明する。
【0043】
図15のコマンドがホストコンピュータ101からスキャナ102へ送られると、スキャナ102は画像読み取り部201を起動して原稿台303のデータを読み取り(ステップS1001)、RAM106又は増設メモリ208へ格納する(ステップS1002)。次に、主制御部202は管理テーブルを参照して、新たなID番号を発生し(ステップS1003)、これを図6のID管理テーブルに登録し(ステップS1004)、そのID番号をホストコンピュータ101へ返す(ステップS1005)。
【0044】
(11)ホストコンピュータから送られて来たデータと、ID番号を付けて当該スキャナにストアしてあるデータを合成して、プリンタ103へ送ってプリントアウトする
本処理は、ホストコンピュータ101或は操作パネル205からの指示によって実行されるが、以下ではホストコンピュータ101よりの指示で実行する場合を説明する。
【0045】
ホストコンピュータ101からは、図16の(a)に示すコマンドとデータがスキャナ102へ送られて来る。即ち、以下に送るデータをスキャナにストアしてあるデータと合成することを指示するコード702、合成する相手先のスキャナにストアしてあるデータのIDコード703、合成の種類、例えばOR合成かAND合成か、XOR合成かを指示するコード704、スキャナにストアして有るデータと合成されるデータ705、合成したデータをプリンタへ送ることを指示するコード706、コマンド終了コード504よりなる。
【0046】
上記のようなコマンド、データが入力されると処理はステップS1101へ進む(ステップS1、S4、S8)。
【0047】
ステップS1101において、スキャナ102は、まず合成されるデータ705をRAM206にロードする(ステップS1101)。次に、コード703で指定されたIDコードのデータを、図6の管理テーブルを参照して読み出し(ステップS1102)、合成の種類を示すコード704の指示に従って順次合成する(ステップS1103)。そして、その結果を同じくRAM206にストアする(ステップS1104)。
【0048】
図17にデータ合成の例を示す。いま、図17の(a)のデータがスキャナ102にストアされているとする。ここで、図17の(b)のデータがホストコンピュータ101から送られてくると同時に、OR合成の指示が来ると、その結果RAM206にはOR合成されたデータ、図17の(c)が生成されるわけである。
【0049】
合成されたデータは、その先頭と最後にプリンタのサポートする言語に合わせて図16の(b)のようにコードを付けてプリンタへ送られ、プリントが実現される(ステップS1105、S1106)。
【0050】
上記実施例の(11)の動作において、ホストコンピュータから送られて来たデータと、ID番号を付けてスキャナにストアしてあるデータとを合成してプリントアウトする際、ホストコンピュータから送られて来たデータが、ビットマップデータでない場合、即ち、例えばプリンタのサポートするPCL5の言語のコードで書かれているデータの場合は、主制御部202はステップS1103において上記PCL5で書かれたデータを解釈してビットマップデータに変換した後、合成作業を行なう。
【0051】
なお、データ合成する際に、スキャナ102にあらかじめ格納されているデータの解像度が不一致である場合は、解像度変換を施してから合成処理を行う。
【0052】
(12)スキャナで読み取ったデータと、スキャナに予めストアしてあるデータを合成して、プリンタへ送り、プリントアウトする
本処理はホストコンピュータ101或は操作パネル205からの指示によって実行されるが、以下ではホストコンピュータ101よりの指示で実行する場合を説明する。
【0053】
ホストコンピュータ101からは、図18のコマンドがスキャナ102へ送られる。スキャナ102は原稿台303上のデータを読み取り(ステップS1201)、RAM206に格納する(ステップS202)。そして、指定されたID番号のデータと合成してプリントアウトを実行するが、この部分は上述の(11)と同じである。即ち、ステップS1203〜S1207の各処理はステップS1102〜S1106の各処理と同様である。
【0054】
以上のような動作のほかに、フローチャートでは示されていないが、本実施例のスキャナ102は以下のような動作を行う。
【0055】
(13)プリンタのステータスとスキャナのステータスを合わせてホストコンピュータに報告する
スキャナ102は双方向信号線を通じてプリンタ103のステータスを管理すると共に、スキャナ102自身のステータスも合わせてホストコンピュータ101に報告する機能を有する。
【0056】
例えば、プリンタ103が用紙切れの場合、そのステータスはプリンタ103からスキャナ102に送られる。スキャナ102はそのステータスを受け取ると、ホストコンピュータ101へそのステータスを報告する。そのステータスの形式は、プリンタ103からのステータスについては、そのプリンタが例えばHP社のPJL(プリンタ・ジョブ・ラングエッジ)をサポートするプリンタの場合は、そのPJLの形式に基づいてホストコンピュータ101へ返す。スキャナ102からのステータス、例えば読み取り部の故障等のステータスに関しても、ホストコンピュータ101へ報告する。
【0057】
(14)ホストコンピュータ101からプリンタ103あてのデータが送られて来た場合に、プリンタ103を起動する
プリンタの中には、ホストコンピュータから一定時間以上データが送られてこないと、スリープモード、即ち内部の電源を一部カットして省電力状態に入るタイプのものがある。
【0058】
このようなプリンタに対して、スキャナ102は、ホストコンピュータ101から送られてくるデータがプリンタあてのもである場合は、そのデータをプリンタに送ることによって、プリンタのスリープ状態を解除する。また、ホストコンピュータ101からのデータが直接プリンタあてのものではなくても、例えば上記の(2)のようにスキャナ102から読み込んでデータをプリントするというようなプリンタ103の使用が含まれる指示が入力された場合は、そのコマンドがホストコンピュータ101から送られて来た直後にプリンタ103に対して起動用のデータ(プリンタによってサポートされっている無効データ)を送ってプリンタのスリープ状態を解除する。こうすることによりプリントアウトに要する時間を短縮できる。
【0059】
また、プリンタ103のサポートする言語が何であるかによって、スキャナ102はプリンタ103へ送るデータの形式を変える。プリンタ103がサポートする言語をスキャナ102が認識する方法としては、ホストコンピュータ101から指示しても良いし、プリンタ103から報告させても良いし、スキャナ102上の操作パネル205からマニュアルで入力しても良い。
【0060】
なお、上記実施例では、各処理の起動はホストコンピュータからの入力または操作パネルからの操作入力、或はモデムからのデータの受信によって行われているが、プリンタから各処理の起動を指示できるようにしても良い。
【0061】
更に、ホストコンピュータ側のパラレルポートが片方向通信しかサポートしない場合は、スキャナ102からホストコンピュータ101へのデータ転送はできなくなるが、その他の機能は実現できる。ホストコンピュータ側のパラレルポートが、双方向をサポートするものか、片方向をサポートするものであるかは、IEEE1284で規定された方式を用いれば容易に認識することができる。スキャナ102は、ホストコンピュータ側のパラレルポートが、片方向のみサポートするものであると認識した場合は、スキャナからホストコンピュータへのデータ転送機能を実施せず、その他の機能のみを実施する。
【0062】
以上説明したように本実施例のマルチファンクションシステムによれば、スキャナ102に双方向通信可能なパラレルI/Fポートを少なくとも2個設け、それぞれが図1のように接続される。図1におけるホストコンピュータ側のポートは、本来プリンタ接続用に用意されたパラレルポートで有り、プリンタ側のポートも、本来ホストコンピュータに接続するためのポートである。従って、図1の構成は、いわばホストコンピュータとプリンタをつなぐ信号線の途中にスキャナをわりこませた形となる。このような構成により、▲1▼ホストコンピュータ側にスキャナ接続用のポートを追加するための拡張ボードを追加する必要がない、▲2▼ホストコンピュータの電源がOFFのままでも、スキャナからデータを読み込み、プリンタにプリントアウトするコピー機能が実現できる、▲3▼スキャナとホストコンピュータを接続するパラレルI/Fは、IEEE1284で規定された双方向のパラレルI/Fであるので、スキャナからホストコンピュータへのデータ転送が可能となる、▲4▼プリンタ103は、市場に大量に出まわっている一般的な安価なプリンタを用いることができる、という効果が得られる。
【0063】
さらには、▲1▼スキャナで読み込んだデータをID番号を付けて登録することにより、いちいちホストコンピュータ側で処理しなくても、スキャナ内のメモリにストアした情報でプリント等の処理が可能である。また、▲2▼プリンタの状態管理をスキャナに行なわせることにより、ホストコンピュータからはプリンタの状態をモニタできる等の新たな機能が実現される。
【0064】
尚、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器から成る装置に適用しても良い。また、本発明はシステム或は装置にプログラムを供給することによって達成される場合にも適用できることはいうまでもない。
【0065】
【発明の効果】
以上説明したように、本発明によれば、プリンタ、スキャナ、ホストコンピュータでマルチファンクションシステムを構成するにおいて、ホストコンピュータを用いずにコピー機能を実現可能とするスキャナ装置とのその制御方法が提供される。
【図面の簡単な説明】
【図1】実施例のマルチファンクションシステムを表す図である。
【図2】スキャナ102の外観図である。
【図3】実施例のスキャナ102の内部構成を示すブロック図である。
【図4】本実施例の動作手順を表すフローチャートである。
【図5】本実施例の動作手順を表すフローチャートである。
【図6】本実施例の動作手順を表すフローチャートである。
【図7】本実施例の動作手順を表すフローチャートである。
【図8】スキャナがホストコンピュータより受信するデータの構成を表す図である。
【図9】スキャナよりプリンタへ出力するデータの構成を表す図である。
【図10】スキャナがホストコンピュータより受信するデータの構成を表す図である。
【図11】スキャナがホストコンピュータより受信するデータの構成を表す図である。
【図12】スキャナがホストコンピュータより受信するデータの構成を表す図である。
【図13】管理テーブルのデータ構成を表す図である。
【図14】(a)はスキャナがホストコンピュータより受信するデータの構成を、(b)はスキャナからプリンタへ送信するデータの構成を表す図である。
【図15】スキャナがホストコンピュータより受信するデータの構成を表す図である。
【図16】(a)はスキャナがホストコンピュータより受信するデータの構成を、(b)はスキャナからプリンタへ送信するデータの構成を表す図である。
【図17】データ合成の例を示す図である。
【図18】スキャナがホストコンピュータより受信するデータの構成を表す図である。
【図19】従来のマルチファンクションシステムを表す図である。
【図20】従来のマルチファンクションシステムを表す図である。
【符号の説明】
101 ホストコンピュータ
102 スキャナ
103 プリンタ
201 画像読み取り部
202 主制御部
206 RAM
[0001]
[Industrial application fields]
The present invention relates to a scanner device and a control method thereof.
[0002]
[Prior art]
A multi-function system refers to a system that can realize the following functions. That is, (1) FAX function, (2) Print function, (3) Copy function, and (4) Scanner function.
[0003]
Conventionally, the system shown in FIG. 19 or 20 has been realized as a system for realizing such a function. In the system shown in FIG. 19, the host computer is the central system, and in FIG. 20, the printer is the central system.
[0004]
[Problems to be solved by the invention]
However, the system shown in FIG. 19 has the following problems. That is,
(1) When copying, that is, when the data read by the scanner is printed by the printer, processing is always performed through the host computer. Therefore, even if the host computer is not used, the host computer must be turned on. did not become.
(2) Generally, a host computer has one parallel port and one serial port. When the parallel port is used for printer connection, the remaining serial ports are too slow to use for the scanner. For this reason, it was necessary to prepare an expansion board with a new port on the host computer side for scanner connection.
[0005]
Further, the system of FIG. 20 has the following problems. That is,
(1) Conventionally, since the printer and the host computer are connected by a parallel I / F that can be sent in only one direction from the host computer, the data read by the scanner cannot be sent to the host computer.
(2) A port for connecting the scanner to the printer side is required, but inexpensive printers have only a parallel port for connecting to the host computer, and some printers that can realize this system are expensive. It was limited to printers. Therefore, an inexpensive system could not be constructed.
[0006]
The present invention has been made in view of the above problems, and an object of the present invention is to make it possible to realize a copy function without using a host computer when a multi-function system is configured with a printer, a scanner, and a host computer. It is to provide a method of controlling the apparatus.
[0007]
It is another object of the present invention to provide a scanner device and a control method thereof that can configure a multi-function system using a normal host computer and printer, and can configure the multi-function system at a very low cost.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, a scanner device of the present invention comprises the following arrangement. That is,
A scanner device that reads a document image and obtains image data,
First communication means for communicating with the printing apparatus;
First output means for converting the image data into print data expressed in a page description language interpretable by the printing apparatus, and outputting the print data to the printing apparatus via the first communication means.
[0009]
Also, a method for controlling the scanner device according to the present invention for achieving the above object is as follows:
A control method of a scanner device having a first communication means for communicating with a printing device and reading a document image to obtain image data,
A first output step of converting the image data into print data expressed in a page description language interpretable by the printing apparatus and outputting the print data to the printing apparatus via the first communication unit;
[0010]
【Example】
Hereinafter, a preferred embodiment of the present invention will be described with reference to the accompanying drawings.
[0011]
FIG. 1 is a diagram illustrating a multifunction system according to an embodiment. In FIG. 1, 101 is a host computer, 102 is a scanner, and 103 is a printer. Here, the host computer 101 and the scanner 102, and the printer 103 and the scanner 102 are connected through parallel ports 104 and 105 capable of bidirectional communication, respectively. Further, the scanner 102 has a modem 210 and can communicate data via the telephone line 106.
[0012]
FIG. 2 is an external view of the scanner 102. In FIG. 2, an operation panel 205 includes a display unit 302 that performs various displays and a switch unit 303 that performs various operation inputs. Reference numeral 301 denotes a document table on which a document to be read is placed. Reference numerals 304 and 305 denote external I / F connectors, and reference numeral 306 denotes a telephone line connector.
[0013]
FIG. 3 is a block diagram illustrating an internal configuration of the scanner 102 according to the embodiment. In FIG. 3, reference numeral 201 denotes an image reading unit which optically scans and reads a document placed on a document table 301 to obtain image data. 202 is a main control unit, and 203 is a ROM that stores an operation program of the main control unit 202. The main control unit 203 implements various controls in the scanner by executing an operation program stored in the ROM 203.
[0014]
An operation panel I / F 204 connects the operation panel 205 and the system bus. Reference numeral 206 denotes a RAM which provides a work area for the main control unit 202 and a buffer area for temporarily storing data input from the outside. Reference numeral 207 denotes an additional memory I / F, and 208 denotes an additional memory. Image data can be stored in the expansion memory 208, read out at any time, printed, and the like (details will be described later). Reference numeral 209 denotes a modem I / F, and reference numeral 210 denotes a modem which performs data communication with the outside via the telephone line 106. Reference numerals 104 and 105 denote external I / Fs that transmit and receive data to and from the host computer 101 and the printer 103.
[0015]
The operation of the scanner 102 of the present embodiment having the above-described configuration and the multifunction system configured as shown in FIG.
[0016]
4, 5, 6 and 7 are flowcharts showing the control procedure of the scanner of this embodiment. A control program for realizing the control shown in these flowcharts is stored in the ROM 203 and executed by the main control unit 202.
[0017]
The scanner 102 according to this embodiment can perform data communication with the host computer 101, data communication via the modem 210, and data communication from the printer 103. In steps S1, S2, and S3, the presence / absence of data reception from the host computer 101, the presence / absence of operation input from the operation panel 205, and the presence / absence of data input from the modem 210 are checked. If there is data input from the host computer, the process proceeds to step S4, and the received data is analyzed. Then, it is determined which process in steps S5 to S15 is instructed, and the process according to the instruction is executed. If there is an operation input from the operation panel 205, the process proceeds from step S2 to step S9, it is determined which process of steps S9 to S15 is instructed, and the process according to the instruction is executed.
[0018]
When data is input from the modem, the process proceeds from step S3 to step S20, the currently set mode is determined, and processing according to the mode is performed. The operation mode of the modem may be a mode in which data received by the modem is output to the printer 103 by an instruction input from the host computer 101 or an operation input from the operation panel 205 (step S15 → step S16), or a modem. The mode is set to one of the modes for transmitting the received data to the host computer 101 (step S15 → step S17).
[0019]
Each process will be described below.
[0020]
(1) A function for discriminating data sent from the host computer to the printer and sending it to the printer
When data is sent from the host computer 101 to the printer 103, the host computer 101 configures data to be sent to the printer 103 according to a language supported by the printer, for example, a language system called PCL5 supported by LaserJet 3 (trademark) of HP. Before and after the data, a code indicating that the data is destined for the printer is added to the beginning and the end as shown in FIG. Data addressed to the printer 103 is output from the host computer 101 with this configuration and sent to the scanner 102. The scanner 102 inputs the data through the external I / F 104 and recognizes that the header code 401 indicating the data addressed to the printer 103 is at the head of the data, thereby determining that the data is for the printer 103 ( Steps S1, S4, S5). Therefore, the process proceeds from step S5 to step S101.
[0021]
In step S101, the data input from the data following the code 401 through the external I / F 104 until the input of the end code 403 is recognized (step S102), the received data is directly sent to the printer via the external I / F 105. 103. As a result, the data output to be sent from the host computer 101 to the printer 103 is sent to the printer 103 as it is, and printing is performed.
[0022]
(2) Function to print the data read from the scanner
Printing the data read from the scanner itself has already been realized in a copying machine. This embodiment is different from a printer designed on the assumption that the printer 103 prints data based on the printer language PCL5 sent from the host computer 101 such as the LaserJet 3 of the above-mentioned HP company. The data read from the scanner is sent without printing through the host computer and printed.
[0023]
In the present embodiment, this is referred to as “copy mode”. However, an instruction to start this copy mode may be sent by a command from the host computer 101 through the external I / F 104 or a switch from the operation panel 205. (Steps S1, S2, and S9). When the copy mode is instructed, the main control unit 202 activates the image reading unit 201 to scan and read the document on the document table 301 and convert it into binary digital bitmap data (step S201). The main control unit 202 stores the bitmap data obtained in step S201 in the RAM 206 (step S202).
[0024]
Next, at the beginning and end of the read bitmap data, the main control unit 202, as shown in FIG. 9, the code of PCL5, that is, the code 404 indicating that the following data is binary data, and the data A code 406 indicating the end is read out (step S203), and sent to the printer 103 through the external I / F 105 (step S204). The printer 103 interprets this and prints the bitmap data 405 read by the scanner 102 as a bit image.
[0025]
Here, if the connected printer is a printer that supports the language PCL5e that supports data compression, such as LaserJet 4 (trademark) of HP, the bitmap data 405 to be sent to the printer 103 is supported by the PCL5e. Needless to say, it can be sent in a compressed format. Needless to say, all the compression formats supported by this language can be compressed only by software without using special hardware. When transferring the compressed data to the printer, a code indicating that the data is compressed data is added.
[0026]
(3) Function to send data read from the scanner to the host computer
In FIG. 1 of the present embodiment, a parallel port defined in IEEE 1284, which is used as a standard when the host computer 101 side input / output port sends data to a printer, is assumed. Of course, the external I / F 104 and the external I / F 105 of the scanner 102 are also parallel ports conforming to IEEE1284, and the printer port is also a parallel port conforming to IEEE1284. This parallel port conforming to IEEE 1284 is capable of two-way communication, and this parallel port conforming to IEEE 1284 is just like a conventional scanner sending data to a host computer via a SCSI interface or RS-422 interface. The data read by the scanner 102 can be sent to the host computer 101 via.
[0027]
The instruction to output the data read by the scanner 102 to the host computer 101 may be sent as a command from the host computer 101 through the external I / F 104, or may be instructed by a switch from the operation panel 205 (steps SS1, S2). , S10). When this instruction is received, the process proceeds from step S10 to step S301, and the scanner 102 reads the original image. In step S302, the read data is transmitted to the host computer 101. Since the method of realizing this transmission process is the same as the relationship between a general scanner and a host computer, description thereof is omitted here.
[0028]
(4) Printing data input through the modem 210
When data is received from the modem, processing is performed according to the set mode (steps S3 and S20). If the set mode is modem → printer, the process proceeds to step S401.
[0029]
Similarly to the case of printing the data read from the scanner, the printer language may be added to the beginning and end of the input data as shown in FIG. 9 and sent to the printer. However, data input through a modem generally has a dot density of 200 dots per inch. If the connected printer has a print dot density of 300 dots per inch, a well-known 200 dot per inch is used in the scanner 102. Resolution conversion from inch to 300 dot per inch is performed (step S402), and PCL codes 404 and 406 are added as shown in FIG. 9 (step S403) and sent to the printer 103 (step S404).
[0030]
(5) Send the data input through the modem 210 to the host computer.
This is basically the same as when the data read by the scanner 102 is sent to the host computer 101, but includes the information such as the telephone number and name of the other party sent along with the data. Send to computer 101.
[0031]
That is, the data received via the modem in step S501 is stored in the RAM 206 (step S501), information such as a telephone number is added to the data (step S502), and transmitted to the host computer 101 (step S503).
[0032]
(6) Data sent from the host computer is output to the outside through the modem 210.
As a result of analyzing the data from the host computer, if it is determined that an instruction to transmit to the telephone line via the modem is given (steps S1, S4, S6), the process proceeds to step S601.
[0033]
Data 409 is sent from the host computer 101 together with a code 407 for instructing output to the outside through a modem and telephone number information 408 as shown in FIG. In response to this, the scanner 102 extracts a telephone number (step S601), connects the line with the modem 210 using the telephone number (step S602), and transmits data 409 from the host computer 101 to the outside via the modem 210. To do.
[0034]
(7) Output the data read by the scanner to the outside through a modem
The data read from the scanner 102 is transmitted to the line via the modem 210 by an instruction from the host computer 101 or an instruction input from the operation panel 205 (steps S1, S2, S11, S701). . Below, the case where it is performed by the instruction input from the host computer 101 will be described.
[0035]
From the host computer 101, as shown in FIG. 11, a code 501 for instructing to read data from the scanner, a code 502 for instructing to output the read data to the outside through a modem, telephone number information 503 of the other party, command end A code 504 is sent to the scanner 102.
[0036]
The scanner 102 interprets the command, obtains the telephone number of the other party, and stores it (step S701). Next, the image reading unit 201 is activated to scan and read the document on the document table 301 (step S702), and after the read data is converted into a binary digital bitmap, it is temporarily stored in the RAM 206 (step S703). ). Next, the resolution is converted from 300 dpi to 200 dpi in accordance with the resolution of the facsimile (the resolution of the image reading unit is 300 dpi) and stored in the RAM 206 (step S704). The modem 210 is connected to the line by the telephone number acquired in step S701, and the data stored in the RAM 206 is transmitted. That is, the bitmap data whose resolution is converted to 200 dpi is sent to the modem 210 through the I / F 209, and the data is sent to the other party specified by the other party's telephone number information 503 through the telephone line 106.
[0037]
(8) Store the data sent from the host computer and manage it with the ID number sent from the host computer at the same time
When the host computer 101 inputs an instruction to store the data with the specified ID number, the process proceeds to step S801 (steps S1, S4, S7).
[0038]
As shown in FIG. 12, when the command 505 instructs to manage the data 507 with the ID code 506, the main control unit 202 obtains an ID number from the ID code 506 (step S801). Then, the data 507 is stored in the RAM 206 or the expansion memory 208 (step S802), and a management table as shown in FIG. 13 is created and managed in the RAM 206 (step S803).
[0039]
In FIG. 13, 601 is the ID number, 602 is the resolution of the data indicated by the ID number, 603 is the top address of the memory where the data is stored, and 604 is the end address. For example, the resolution of the data indicated by the ID code S001 is 200 dpi, the start address is 200000 (hexadecimal data), and the end address is 20FFFF. When managed in this way, printing and the like can be performed by specifying only the ID number without sending data from the host computer 101 one by one.
[0040]
(9) Printing of stored data managed by the management table by a printer
When an instruction to print data stored in the RAM 206 or the expansion memory 208 by the printer 103 is input from the host computer 101 or the operation panel 205, the process proceeds to step S901 (steps S1, S2, and S12). Hereinafter, a case where an instruction is input from the host computer 101 will be described.
[0041]
For example, the main control unit 202 of the scanner 102 refers to the ID management table of FIG. 13 by using the code 401 and the ID code 508 indicating the data addressed to the printer as shown in FIG. Is read (step S901). If the resolution of the read data does not match the resolution of the printer 103, resolution conversion is performed to match the resolution of the printer (step S903). The data thus obtained is sent to the printer 103 in a command and data format as shown in FIG. 14B (steps S904 and S905). In this way, printout of stored data by the printer 103 can be realized more easily. If there is no data of the corresponding ID number, the process proceeds from step S902 to step S906, and the host computer 101 is notified accordingly. In step S206, an error may be further displayed on the display unit on the operation panel 205.
[0042]
(10) Store the data read by the scanner, manage it with an ID number at the same time, and report the ID number to the host computer
When an instruction to store the data read by the image reading unit 201 in the RAM 206 or the expansion memory 208 is input from the host computer 101 or the operation panel, the process proceeds to step S1001. Hereinafter, a case where an instruction is input from the host computer 101 will be described.
[0043]
When the command shown in FIG. 15 is sent from the host computer 101 to the scanner 102, the scanner 102 activates the image reading unit 201 to read data on the document table 303 (step S1001) and stores it in the RAM 106 or the additional memory 208 (step S1002). ). Next, the main control unit 202 refers to the management table, generates a new ID number (step S1003), registers it in the ID management table of FIG. 6 (step S1004), and stores the ID number in the host computer 101. (Step S1005).
[0044]
(11) The data sent from the host computer and the data stored in the scanner with the ID number added are combined, sent to the printer 103, and printed out.
This process is executed in accordance with an instruction from the host computer 101 or the operation panel 205, but a case where it is executed in accordance with an instruction from the host computer 101 will be described below.
[0045]
From the host computer 101, the command and data shown in FIG. That is, a code 702 for instructing to combine data to be transmitted with data stored in a scanner, an ID code 703 for data stored in a destination scanner to be combined, a type of combination, for example, OR combination or AND A code 704 for instructing whether to combine or XOR, data 705 to be combined with data stored in the scanner, a code 706 for instructing sending the combined data to the printer, and a command end code 504 are included.
[0046]
When the command and data as described above are input, the process proceeds to step S1101 (steps S1, S4, S8).
[0047]
In step S1101, the scanner 102 first loads the data 705 to be combined into the RAM 206 (step S1101). Next, the data of the ID code designated by the code 703 is read with reference to the management table of FIG. 6 (step S1102), and sequentially synthesized according to the instruction of the code 704 indicating the type of synthesis (step S1103). The result is also stored in the RAM 206 (step S1104).
[0048]
FIG. 17 shows an example of data synthesis. Now, assume that the data in FIG. 17A is stored in the scanner 102. Here, when the data of FIG. 17B is sent from the host computer 101 and at the same time an OR composition instruction is received, the result of the OR composition is generated in the RAM 206, and FIG. That is why.
[0049]
The synthesized data is sent to the printer with a code as shown in FIG. 16B according to the language supported by the printer at the beginning and end, and printing is realized (steps S1105 and S1106).
[0050]
In the operation of (11) of the above embodiment, when the data sent from the host computer and the data stored with the ID number and stored in the scanner are combined and printed out, sent from the host computer. If the incoming data is not bitmap data, that is, for example, data written in a PCL5 language code supported by the printer, the main control unit 202 interprets the data written in PCL5 in step S1103. Then, after converting to bitmap data, the composition work is performed.
[0051]
When data is combined, if the resolutions of data stored in advance in the scanner 102 do not match, the combining process is performed after resolution conversion.
[0052]
(12) The data read by the scanner and the data stored in advance in the scanner are combined, sent to the printer, and printed out.
This process is executed in accordance with an instruction from the host computer 101 or the operation panel 205, but the case where it is executed in accordance with an instruction from the host computer 101 will be described below.
[0053]
The command shown in FIG. 18 is sent from the host computer 101 to the scanner 102. The scanner 102 reads data on the document table 303 (step S1201) and stores it in the RAM 206 (step S202). Then, printout is executed by combining with the data of the designated ID number, and this part is the same as (11) above. That is, the processes in steps S1203 to S1207 are the same as the processes in steps S1102 to S1106.
[0054]
In addition to the above operation, although not shown in the flowchart, the scanner 102 of this embodiment performs the following operation.
[0055]
(13) Report the printer status and scanner status together to the host computer
The scanner 102 has a function of managing the status of the printer 103 through the bidirectional signal line and reporting the status of the scanner 102 itself to the host computer 101 together.
[0056]
For example, when the printer 103 is out of paper, the status is sent from the printer 103 to the scanner 102. When the scanner 102 receives the status, it reports the status to the host computer 101. The status format is returned to the host computer 101 based on the format of the PJL if the printer is a printer that supports PJL (Printer Job Lang Edge) of HP, for example. . A status from the scanner 102, for example, a status such as a reading unit failure is also reported to the host computer 101.
[0057]
(14) When data destined for the printer 103 is sent from the host computer 101, the printer 103 is activated.
Some printers are in a sleep mode, i.e., a part of the internal power supply is cut off to enter a power saving state if data is not sent from the host computer for a certain period of time.
[0058]
For such a printer, when the data sent from the host computer 101 is destined for the printer, the scanner 102 cancels the sleep state of the printer by sending the data to the printer. Even if the data from the host computer 101 is not directly addressed to the printer, an instruction including the use of the printer 103 such as reading from the scanner 102 and printing the data is input as in (2) above. When the command is sent from the host computer 101, the activation data (invalid data supported by the printer) is sent to the printer 103 immediately after the command is sent from the host computer 101 to cancel the printer sleep state. By doing so, the time required for printout can be shortened.
[0059]
The scanner 102 changes the format of data to be sent to the printer 103 depending on what language the printer 103 supports. As a method for the scanner 102 to recognize the language supported by the printer 103, it may be instructed from the host computer 101, reported from the printer 103, or manually input from the operation panel 205 on the scanner 102. Also good.
[0060]
In the above embodiment, each process is started by input from the host computer, operation input from the operation panel, or reception of data from the modem, but it is possible to instruct the start of each process from the printer. Anyway.
[0061]
Further, when the parallel port on the host computer side supports only one-way communication, data transfer from the scanner 102 to the host computer 101 cannot be performed, but other functions can be realized. Whether the parallel port on the host computer side supports bi-directional or uni-directional can be easily recognized by using a system defined by IEEE 1284. When the scanner 102 recognizes that the parallel port on the host computer side supports only one direction, the scanner 102 does not perform the data transfer function from the scanner to the host computer, but performs only other functions.
[0062]
As described above, according to the multifunction system of the present embodiment, the scanner 102 is provided with at least two parallel I / F ports capable of bidirectional communication, and each is connected as shown in FIG. The port on the host computer side in FIG. 1 is a parallel port originally prepared for printer connection, and the port on the printer side is also a port originally connected to the host computer. Therefore, the configuration of FIG. 1 is a form in which the scanner is inserted in the middle of the signal line connecting the host computer and the printer. With this configuration, (1) it is not necessary to add an expansion board for adding a scanner connection port to the host computer. (2) Data can be read from the scanner even when the host computer is off. The copy function for printing out to the printer can be realized. (3) The parallel I / F connecting the scanner and the host computer is a bidirectional parallel I / F defined by IEEE 1284. Data transfer is possible. (4) The printer 103 can obtain an effect that it is possible to use general inexpensive printers that are available in large quantities on the market.
[0063]
Furthermore, (1) by registering the data read by the scanner with an ID number, it is possible to perform processing such as printing with information stored in the memory in the scanner without having to process it on the host computer side. . (2) By causing the scanner to manage the status of the printer, a new function is realized such that the status of the printer can be monitored from the host computer.
[0064]
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Needless to say, the present invention can also be applied to a case where the present invention is achieved by supplying a program to a system or apparatus.
[0065]
【The invention's effect】
As described above, according to the present invention, there is provided a control method for a scanner device capable of realizing a copy function without using a host computer in a multi-function system comprising a printer, a scanner, and a host computer. The
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a multifunction system according to an embodiment.
FIG. 2 is an external view of a scanner 102. FIG.
FIG. 3 is a block diagram illustrating an internal configuration of a scanner according to an embodiment.
FIG. 4 is a flowchart showing an operation procedure of the embodiment.
FIG. 5 is a flowchart showing an operation procedure of the embodiment.
FIG. 6 is a flowchart showing an operation procedure of the embodiment.
FIG. 7 is a flowchart showing an operation procedure of the embodiment.
FIG. 8 is a diagram illustrating a configuration of data received by a scanner from a host computer.
FIG. 9 is a diagram illustrating a configuration of data output from a scanner to a printer.
FIG. 10 is a diagram illustrating a configuration of data received by a scanner from a host computer.
FIG. 11 is a diagram illustrating a configuration of data received by a scanner from a host computer.
FIG. 12 is a diagram illustrating a configuration of data received by a scanner from a host computer.
FIG. 13 is a diagram illustrating a data configuration of a management table.
14A is a diagram illustrating a configuration of data received by a scanner from a host computer, and FIG. 14B is a diagram illustrating a configuration of data transmitted from the scanner to a printer.
FIG. 15 is a diagram illustrating a configuration of data received by a scanner from a host computer.
16A is a diagram illustrating a configuration of data received by a scanner from a host computer, and FIG. 16B is a diagram illustrating a configuration of data transmitted from the scanner to a printer.
FIG. 17 is a diagram illustrating an example of data synthesis.
FIG. 18 is a diagram illustrating a configuration of data received by a scanner from a host computer.
FIG. 19 is a diagram illustrating a conventional multi-function system.
FIG. 20 is a diagram illustrating a conventional multi-function system.
[Explanation of symbols]
101 Host computer
102 Scanner
103 Printer
201 Image reading unit
202 Main control unit
206 RAM

Claims (8)

原稿画像を読み取って画像データを得るスキャナ装置であって、
印刷装置と通信するための第1通信手段と、
前記画像データを前記印刷装置が解釈可能なページ記述言語で表される印刷データに変換し、前記第1通信手段を介して前記印刷装置へ出力する第1出力手段とを備えることを特徴とするスキャナ装置。
A scanner device that reads a document image and obtains image data,
First communication means for communicating with the printing apparatus;
And a first output unit configured to convert the image data into print data expressed in a page description language interpretable by the printing apparatus, and to output the print data to the printing apparatus via the first communication unit. Scanner device.
前記画像データを圧縮する圧縮手段を更に備え、
前記第1出力手段は前記圧縮手段で圧縮された画像データをページ記述言語で表される印刷データに変換し、前記第1通信手段を介して前記印刷装置へ出力することを特徴とする請求項1に記載のスキャナ装置。
A compression means for compressing the image data;
The first output means converts the image data compressed by the compression means into print data expressed in a page description language, and outputs the print data to the printing apparatus via the first communication means. The scanner device according to 1.
ホストコンピュータと通信するための第2通信手段と、
前記第2通信手段を介してホストコンピュータに画像データを出力する第2出力手段とを更に備えることを特徴とする請求項1または請求項2に記載のスキャナ装置。
A second communication means for communicating with the host computer;
The scanner apparatus according to claim 1, further comprising a second output unit that outputs image data to a host computer via the second communication unit.
画像データの出力指示を入力する入力手段と、
前記入力手段からの入力された出力指示に基づいて、前記第1出力手段あるいは第2出力手段のどちらを用いて画像データを出力するか判断する判断手段とを更に備えることを特徴とする請求項3に記載のスキャナ装置。
Input means for inputting an image data output instruction;
And a determination unit configured to determine whether to output image data using the first output unit or the second output unit based on an output instruction input from the input unit. The scanner device according to 3.
印刷装置と通信するための第1通信手段を有し、原稿画像を読み取って画像データを得るスキャナ装置の制御方法であって、
前記画像データを前記印刷装置が解釈可能なページ記述言語で表される印刷データに変換し、前記第1通信手段を介して前記印刷装置へ出力する第1出力工程を備えることを特徴とするスキャナ装置の制御方法。
A control method of a scanner device having a first communication means for communicating with a printing device and reading a document image to obtain image data,
A scanner comprising: a first output step of converting the image data into print data expressed in a page description language interpretable by the printing apparatus and outputting the print data to the printing apparatus via the first communication unit. Control method of the device.
前記画像データを圧縮する圧縮工程を更に備え、
前記第1出力工程は前記圧縮工程で圧縮された画像データにページ記述言語で表される印刷データに変換し、前記第1通信手段を介して前記印刷装置へ出力することを特徴とする請求項5に記載のスキャナ装置の制御方法。
A compression step of compressing the image data;
The first output step converts the image data compressed in the compression step into print data expressed in a page description language, and outputs the print data to the printing apparatus via the first communication means. 6. A method for controlling a scanner device according to 5.
前記スキャナ装置は、更にホストコンピュータと通信するための第2通信手段を有し、
前記第2通信手段を介してホストコンピュータに画像データを出力する第2出力工程を更に備えることを特徴とする請求項5または6に記載のスキャナ装置の制御方法。
The scanner device further includes second communication means for communicating with a host computer,
The method of controlling a scanner device according to claim 5 or 6, further comprising a second output step of outputting image data to a host computer via the second communication means.
前記スキャナ装置は、更に画像データの出力指示を入力する入力手段を有し、
前記入力手段からの出力指示を入力する入力工程と、
前記入力された出力指示に基づいて、第1出力工程あるいは第2出力工程のどちらを用いて画像データを出力するか判断する判断工程とを更に備えることを特徴とする請求項7に記載のスキャナ装置の制御方法。
The scanner device further includes an input unit for inputting an image data output instruction,
An input step of inputting an output instruction from the input means;
The scanner according to claim 7, further comprising a determination step of determining which of the first output step and the second output step is used to output image data based on the input output instruction. Control method of the device.
JP2002074930A 2002-03-18 2002-03-18 Scanner device and control method thereof Expired - Fee Related JP3667293B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002074930A JP3667293B2 (en) 2002-03-18 2002-03-18 Scanner device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002074930A JP3667293B2 (en) 2002-03-18 2002-03-18 Scanner device and control method thereof

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP14441695A Division JP3507196B2 (en) 1995-06-12 1995-06-12 Scanner device and control method thereof

Publications (2)

Publication Number Publication Date
JP2002314736A JP2002314736A (en) 2002-10-25
JP3667293B2 true JP3667293B2 (en) 2005-07-06

Family

ID=19193260

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002074930A Expired - Fee Related JP3667293B2 (en) 2002-03-18 2002-03-18 Scanner device and control method thereof

Country Status (1)

Country Link
JP (1) JP3667293B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005260531A (en) 2004-03-11 2005-09-22 Fuji Xerox Co Ltd Image reader
JP2006148753A (en) * 2004-11-24 2006-06-08 Dainippon Screen Mfg Co Ltd Printing data creating device, printing system, method for backing up printing data and program
JP4736495B2 (en) * 2005-03-24 2011-07-27 富士ゼロックス株式会社 Image reading apparatus and image forming apparatus control method
JP2006270599A (en) * 2005-03-24 2006-10-05 Fuji Xerox Co Ltd Image reading apparatus and information attaching method therefor
JP2006270796A (en) * 2005-03-25 2006-10-05 Fuji Xerox Co Ltd Print system, image reading apparatus and its control method
JP4508005B2 (en) * 2005-06-23 2010-07-21 富士ゼロックス株式会社 Image reading apparatus and image processing method therefor, image forming apparatus, image processing system and image processing method therefor
JP5603038B2 (en) * 2009-08-31 2014-10-08 キヤノン電子株式会社 Information reading system, flatbed scanner and sheet feed scanner

Also Published As

Publication number Publication date
JP2002314736A (en) 2002-10-25

Similar Documents

Publication Publication Date Title
JP3787434B2 (en) Image forming apparatus and control method therefor, and image input apparatus and control method therefor
JP3665877B2 (en) Compound machine
JP3817494B2 (en) Image processing apparatus and control method thereof
JP2003316712A (en) Image processing apparatus and communication control method
JP3667293B2 (en) Scanner device and control method thereof
JP2008269404A (en) Image forming apparatus, program, and storage medium
JP3787535B2 (en) Image processing apparatus and control method thereof
JP3962696B2 (en) Information processing apparatus, control method thereof, and control program
JP3507196B2 (en) Scanner device and control method thereof
US20040227974A1 (en) Image processing system, scanner device and image processing method
US20080309976A1 (en) Communication device
JPH11177755A (en) Multifunctional device
JP3854771B2 (en) Data processing apparatus, control method thereof, and storage medium
US20070058195A1 (en) Image input device and printing system
JPH09200298A (en) Data communication system
JP4164521B2 (en) Data processing apparatus, control method thereof, and storage medium
JP4536439B2 (en) Image processing device
JPH05284270A (en) Facsimile communication network adaptor
JP2004032536A (en) Print processing control method in image processing apparatus, program and storage medium, and image processing apparatus
JP2010154170A (en) Device, system, and method for processing image
JP3524309B2 (en) Image input / output device and image input / output method
JP3210571B2 (en) Image input device and data processing method of image input device
JPH0766927A (en) Fax machine
JP2004328773A (en) MFPs and printing systems
JP2000062255A (en) Image forming apparatus, image forming method, recording medium

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040419

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050405

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090415

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090415

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100415

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110415

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130415

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130415

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140415

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees