JP2004032729A - Control method for image communication apparatus and image communication system - Google Patents

Control method for image communication apparatus and image communication system Download PDF

Info

Publication number
JP2004032729A
JP2004032729A JP2003144912A JP2003144912A JP2004032729A JP 2004032729 A JP2004032729 A JP 2004032729A JP 2003144912 A JP2003144912 A JP 2003144912A JP 2003144912 A JP2003144912 A JP 2003144912A JP 2004032729 A JP2004032729 A JP 2004032729A
Authority
JP
Japan
Prior art keywords
image data
information processing
processing terminal
file
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.)
Pending
Application number
JP2003144912A
Other languages
Japanese (ja)
Inventor
Koji Okamura
岡村 孝二
Takashi Imai
今井 貴
Atsushi Ikeda
池田 篤
Nobuyuki Hirai
平井 信行
Yasuhide Ueno
上野 康秀
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 JP2003144912A priority Critical patent/JP2004032729A/en
Publication of JP2004032729A publication Critical patent/JP2004032729A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image communication apparatus to which an external information processing terminal is connectable that prevents stored and not outputted image data from being accidentally deleted by an instruction from the information processing terminal. <P>SOLUTION: A facsimile MPU 101 discriminates whether image data are printed by a printer 2, or communicated by a communication section 104 or in standby state for them when receiving the instruction of deletion of the image data stored in the image memory area of a RAM 103 from the information processing terminal 109, and inhibits the deletion of the image data when the discrimination indicates any of the cases above. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、情報処理端末と接続可能で、その情報処理端末からの指示に従って動作可能な画像通信装置及び、該情報処理端末と画像通信装置を有する画像通信システムの制御方法に関するものである。
【0002】
【従来の技術】
従来より、ファクシミリ本体に接続されている情報処理端末からの各種操作の指示が可能なファクシミリ装置が知られている。
【0003】
【発明が解決しようとしている課題】
従来の、ファクシミリ本体に接続されている情報処理端末からの各種操作の指示が可能なファクシミリ装置では、ファクシミリ本体に接続されている情報処理端末から画像データの消去を指示した場合、どのような画像データも消去してしまうため、たとえば記録紙が切れた後に受信した画像データがファクシミリ本体のメモリに蓄積されていた場合に、この画像データの消去を情報処理端末から指示すれば、まだこの画像データは出力していないにもかかわらず消去され、不便であった。
【0004】
【課題を解決するための手段】
上記課題を解決するため、本発明による画像通信装置は、記憶手段内の特定の画像データが記録手段により記録中か否かを判別する手段を設け、情報処理端末から、画像データの消去の指示があった場合には、この判別結果に応じて記録手段により記録中である場合に該画像データの消去を禁止するようにしたものである。
【0005】
また、記憶手段内の特定の画像データが通信手段により通信中か否かを判別する手段を設け、情報処理端末から、画像データの消去の指示があった場合には、この判別結果に応じて通信手段により通信中である場合に該画像データの消去を禁止するようにしたものである。
【0006】
また、記憶手段内の特定の画像データが通信手段による通信の待機中または記録手段による記録待機中か否かを判別する手段を設け、情報処理端末から、画像データの消去の指示があった場合には、この判別結果に応じて通信待機中または記録待機中である場合に該画像データの消去を禁止するようにしたものである。
【0007】
【発明の実施の形態】
以下、図面を参照して本発明の実施形態例を詳細に説明する。
【0008】
図1は、本実施形態例のファクシミリ装置の構成例を表わす図面である。本実施形態例のファクシミリ装置は点線から左側のファクシミリ部1と右側のプリンタ部2から構成される。
【0009】
ファクシミリ部1は、ファクシミリ通信、画像読取、画像メモリ管理、ユーザ登録等の記録動作を除くファクシミリ動作の諸機能を実行する。また、プリンタ部2は、内部インタフェース信号線302を介して送られてくるRAM103内の画像メモリに蓄積されている画像データや情報処理端末109からのデータの記録動作を実行する。
【0010】
ファクシミリ部1は、以下のものより構成される。101は、ファクシミリ部1の動作を制御するためのファクシミリMPUである。
【0011】
102は、プログラムコード、初期値データ、テーブルデータなどが格納されているROMである。
【0012】
103は、画像メモリ、画像バッファ、読取ラインバッファ、記録ラインバッファ、ユーザ登録データエリア、ワークエリアなどに割り当てるRAMである。画像メモリは、通信部104を介して受信された画像データや読み取り部105から読み取られた画像データ、さらには情報処理端末109から送られてきた画像データをファイルとして蓄積するためのメモリである。画像バッファは、通信部104を介しての送受信時に一時的に画像データを保持するためのバッファである。また、情報処理端末109と大量のデータ(後述のダウンロードファイル処理、アップロードファイル処理、通信管理情報取得処理時)を送受信する際にもバッファとして使用される。読取ラインバッファは読み取り後の生画像データ4ライン分のサイズ(216バイト×4ライン)を持つラインバッファであり、また、記録ラインバッファは記録前のコマンドを含む生画像データ4ライン分のサイズ(400バイト×4ライン)を持つラインバッファである。
【0013】
104は、モデムやNCU(網制御装置)等により構成される通信部であり、通信回線や電話機等が接続される。
【0014】
105は、CS(密着型イメージセンサ)等のイメージセンサ、画像処理制御部等により構成される読み取り部であり、原稿を光学的に読み取り、電気的な画像データに変換し、さらに2値化処理、中間調処理などの各種画像処理を施して高精細な画像データを出力するものである。
【0015】
106は、ファクシミリMPU101によりソフトデコードされたランレングス(RL)形式の画像データを生画像(RAW)データにデータ変換するための変換器である。
【0016】
107は、ファクシミリ部1側の主走査解像度8pel/mmの生画像データを、プリンタ部2側の主走査解像度360dpi(dotsperinch)の生画像データに変換するための解像度変換器である。
【0017】
108は、外部インタフェース信号線110や内部インタフェース信号線302の制御等を行うインタフェース制御部であり、詳細は後述する。
【0018】
109は、外部に接続されるパーソナルコンピュータやワードプロセッサ等の情報処理端末である。
【0019】
110は、インタフェース制御部108と情報処理端末109とを結ぶ外部インタフェース信号線である。本実施形態例では、IEEEP1284規格に記載されている双方向パラレルインタフェースに準拠する信号線とする。
【0020】
111は、原稿または記録紙をピックアップするモータである。
【0021】
112は、キー、LCD、LED等により構成されるオペレーションパネルであり、各種表示やオペレータによる各種入力を行うものである。ファクシミリモードとプリンタモード(共に後述)間を移行するためのプリンタキーや、現在プリンタモードであることを示すプリンタLED、また、情報処理端末109からの指示により動作中でありローカルオペレーションが禁止されていることを示すインタフェースLEDは、オペレーションパネル112上にある。
【0022】
113は、原稿を検出する原稿検出センサである。
【0023】
次にプリンタ部2の構成について説明する。プリンタ部2は以下のものより構成されている。
【0024】
201は、プリンタ部2の動作を制御するプリンタMPU、202は、プログラムコード、初期値データ、テーブルデータ、多種フォントデータなどが格納されているROMである。
【0025】
203は、受信バッファ、ラスターバッファ、テキストバッファ、プリントバッファ、フッタバッファ、ワークエリアなどからなるRAMである。受信バッファはファクシミリ部1のインタフェース制御部108から高速でデータが転送されるため、一時的に受信データを保持しておくためのバッファであり、ラスターバッファはプリンタMPU201が受信バッファのデータを1バイト毎に解析し、印字データのみを抽出するためのバッファであり、テキストバッファは、プリンタMPU201が受信バッファのデータを1バイト毎に解析し、文字コードのみを抽出するためのバッファであり、また、プリントバッファは印字直前の印字データバッファであって、2スキャン分のサイズ(360バイト×64ノズル×2スキャン)を持ち交互に使用する。また、フッタバッファは、フッタ文字印字のための文字コードバッファである。204は、横形式のラスターバッファの印字データを縦形式のプリントバッファへ格納するための横縦変換回路であり、205は、ヒータドライバによりインクを吐出させる印字ヘッドである。
【0026】
206は、記録紙後端検出センサーであり、記録紙の後端を検出する。
【0027】
207は、フッタ検出用のLED光源とフッタマークからの反射光を検知するための受光素子からなるフッタセンサである。フッタセンサは、インクカートリッジのインク残量検出を行うためのセンサであり、記録紙の所定位置に所定のパターン(フッタマーク)が印字できているかどうかを検知する。
【0028】
208は、記録紙を搬送するモータである。
【0029】
次に、ファクシミリ部1とプリンタ部2のインタフェースについて説明する。
【0030】
301は、ファクシミリ部MPU101とプリンタ部MPU201を結ぶ信号線である。詳細については後述する。
【0031】
302は、インタフェース制御部108とRAM203を結ぶ内部インタフェース信号線であり、本実施形態例では、セントロニクス仕様のインタフェースとする。詳細は後述する。
【0032】
また、4は電源供給部である。
【0033】
図2は、インタフェース制御部108とその周辺の詳細についての図である。インタフェース制御部108は、情報処理端末109とデータの送受信を行うため外部インタフェース信号線110を制御し、また、プリンタ部2へのデータ送信を行うため内部インタフェース信号線302を制御する。
【0034】
外部インタフェース信号線110は、外部データ信号線110−1、外部制御信号線110−2、外部応答信号線110−3により構成される。外部データ信号線110−1は情報処理端末109とインタフェース制御部108でデータ転送を行うためのデータバスである。外部制御信号線110−2は情報処理端末109側が制御する信号線であり、IEEEP1284規格に記載のnSelectIn信号、nStrobe信号、nAutoFd信号、nInit信号等が該当する。また、外部応答信号線110−3はインタフェース制御部108側が制御する信号線であり、IEEEP1284規格に記載のBusy信号、nAck信号、nFault信号、PError信号、Select信号等が該当する。各々の信号線の動作は、IEEEP1284規格に準拠しており、情報処理端末109とインタフェース制御部108との間では双方向のデータ転送が可能である。
【0035】
一方、インタフェース制御部108とプリンタ部2とを結ぶ内部インタフェース信号線302は、内部データ信号線302−1、内部制御信号線302−2、内部応答信号線302−3により構成される。内部データ信号線302−1はデータバスである。内部制御信号線302−2はインタフェース制御部108側が制御する信号線であり、外部制御信号線110−2と同様の信号が該当する。また、内部応答信号線302−3はプリンタ部2側が制御する信号線であり、外部応答信号線110−3と同様の信号が該当する。各々の信号線の動作は、セントロニクス仕様に準拠しており、インタフェース制御部108からプリンタ部2の方向にのみデータ転送が可能である。
【0036】
本ファクシミリ装置には、プリンタ部2がファクシミリ部1の記録系として動作するファクシミリモードと、情報処理端末109のプリンタとして動作するプリンタモードとがあり、ファクシミリMPU101の指示に従って切り替えを行う。
【0037】
ファクシミリモードとプリンタモードとの切り替えは、プリンタキーの押下、もしくは、情報処理端末109からのコマンドセット切り替え指示コマンドにより切り替えられる。プリンタキー押下時には、現在プリンタモードにいるならばファクシミリモードに、また、ファクシミリモードにいるならばプリンタモードに移行する。移行に際しては、プリンタ部2のソフト電源のON/OFF切り替え、プリンタLEDのON/OFF切り替え、および、インタフェース信号線制御切り替えSW120の切り替えを行う。コマンドセット切り替え指示コマンドによる処理の詳細は後述する。インタフェース制御部108には、インタフェース信号線制御切り替えSW120があり、ファクシミリモード時とプリンタモード時とで切り替えられる。
【0038】
ファクシミリモード時には、インタフェース信号線制御切り替えSW120はA側になっており、外部インタフェース信号線110および内部インタフェース信号線302はそれぞれファクシミリMPU101の制御下におかれる。従って、外部インタフェース信号線110を介して情報処理端末109と双方向のデータ転送を行いながら、プリンタ部2をファクシミリ部1の記録系として動作させることが可能である。また、この時、ファクシミリ部1からプリンタ部2に対しては、制御コマンド、画像データ、文字コードデータを一般コマンド体系とファクシミリコマンド体系に従い転送する。
【0039】
一方、プリンタモード時には、インタフェース信号線制御切り替えSW120はB側であり、外部インタフェース信号線110と内部インタフェース信号線302は直結となる。すなわち、110−1と302−1、110−2と302−2、110−3と302−3がそれぞれ直結され、情報処理端末109からプリンタ部2に直接データを送ることができる。この時、情報処理端末109からプリンタ部2に対しては、制御コマンド、画像データ、文字コードデータを一般コマンド体系に従い転送する。この時、ファクシミリMPU101は各信号線を制御できず、従って、ファクシミリ部1の記録系としてプリンタ部2を使用することはできない。
【0040】
図3は、信号線301の詳細についての図である。信号線301には、ファクシミリMPU101からプリンタMPU201への信号線群301−1とプリンタMPU201からファクシミリMPU101への信号線群301−2との2種類ある。
【0041】
ファクシミリMPU101からプリンタMPU201への信号線群301−1は以下のものから構成される。
(1)リセット信号線
電源立ち上げ時、プリンタ部2の異常解除時に使用する。
(2)自動回復禁止信号線
プリンタ部2の自動回復動作を禁止する時に使用する。
(3)ファクシミリモード信号線
プリンタ部2にファクシミリモードで動作中であることを伝える。ファクシミリコマンド体系(後述)は、ファクシミリモード信号線がアクティブ時のみ使用できる。プリンタMPU201は、内部インタフェース信号線302を介してプリンタ部2に送られてくるデータやコマンドがファクシミリ部1からのものか情報処理端末109からのものかをこのファクシミリモード信号線を用いて判別する。
(4)エミュレーションモード信号線
プリンタ部2に、プリンタモードにおけるエミュレーションモードの種別を伝える。エミュレーションモードはユーザ登録動作において変更できる。これは、情報処理端末109によってプリンタで用いるコマンド体系が異なるために、コマンド体系を選択するための信号線である。
(5)ソフト電源スイッチ信号線
プリンタ部2のソフト的な電源ON,OFFを制御する。電源立ち上げ時、印字動作前後、プリンタセッティング登録が変更された時、および、プリンタモードへ移行した時にこのソフト電源スイッチ信号線を用いて、プリンタ部2のソフト的な電源立ち上げを行う。
(6)オンラインスイッチ
ファクシミリ部1とプリンタ部2のオン、オフラインを制御する。
【0042】
次に、プリンタ部MPU201からファクシミリMPU101への信号線群301−2について述べる。
(7)アイドル信号線
プリンタ部2のアイドル状態をファクシミリ部1へ知らせる。アイドル状態とは、プリンタ部2が受信した制御コマンドをすべて処理し終わった状態を言う。アイドル状態でないとき、ファクシミリ部1はプリンタ部2のソフト的な電源OFFを行ってはいけない。
(8)給紙要求信号線
プリンタ部2が記録紙の給紙を行うことをファクシミリ部1に知らせる。ファクシミリモード中、ファクシミリ部1から印字すべきデータを受信した時、または印字データが記録紙1枚を超えるような長尺印字時に給紙要求信号線を使用する。また、プリンタモード中においても、情報処理端末109から印字すべきデータを受信した時、または印字データが記録紙1枚を超えるような長尺印字時に給紙要求信号線を使用する。
(9)インク残量検知出力信号線
インク有無の結果が判別できたことをファクシミリ部1へ知らせる。次項のインク残量検知結果信号線と組み合わせて機能を果たす。本実施形態例のファクシミリ装置にはファクシミリモード時の受信画像の印字中だけの機能としてインク残量検知機能がある。これは、受信画像の性質上、受信した画像は確実に印字をしなければならない。したがって、インク切れの場合はその旨をファクシミリ部1へ知らせる。ファクシミリ部1は受信画像をメモリ蓄積しておき、ユーザにカートリッジ交換を促す表示等を行う。その後、再度受信画像の印字を試みる。インク残量の検知方法として、フッタ印字検知を行う。このフッタ印字検知とは、受信画像印字の毎ページ後端の所定位置にインク残量検知マーク(フッタ)を印字し、そのマークをフォトセンサにより検知する方法を言う。フォトセンサの出力が黒ならばインク有り、白ならばインク無しとする。
(10)インク残量検知結果信号線
インク有無の結果をファクシミリ部1へ知らせる。前項のインク残量検知出力信号線と組み合わせて機能を果たす。インク無検知をした時は、本インク残量検知結果を出力した後、前項のインク残量検知出力信号線をアクティブにする。ゆえにファクシミリ部1は前項のインク残量検知出力信号線を確認の上、本インク残量検知結果を参照することにより、インクの有無を知ることができる。
(11)記録紙色紙信号線
記録紙が色紙であることをファクシミリ部1へ知らせる。前前項のインク残量検知出力信号線と組み合わせて機能を果たす。記録紙が色紙であることを検知したときは、本記録紙色紙信号を出力した後、前前項のインク残量検知出力信号線をアクティブにする。ゆえにファクシミリ部1は前前項のインク残量検知出力信号線を確認の上、本記録紙色紙信号を参照することにより、記録紙が色紙か否かを知ることができる。
(12)カートリッジ有無信号線
インクカートリッジの有無をファクシミリ部1へ知らせる。プリンタ部2は、100msecのタイマ割込において、連続16回カートリッジ無し、または、有りの状態が続いたらカートリッジ有無信号線を変化させる。ファクシミリ部1は、本カートリッジ有無信号線によってカートリッジ無しを検知した場合、LCD表示等によりカートリッジを装着するよう促すとともに、ファクシミリモードにおける印字動作を禁止する。
(13)カートリッジ正誤信号線
カートリッジの正誤をファクシミリ部1へ知らせる。プリンタ部2は、100msecのタイマ割込において、連続16回誤カートリッジの装着または正しいカートリッジの装着の状態が続いたらカートリッジ正誤信号線を変化させる。ファクシミリ部1は、本カートリッジ正誤信号線によってカートリッジ誤りを検知した場合、LCD表示等により正しいカートリッジを装着するよう促す。
(14)ソフト電源信号線
プリンタ部2のソフト的なパワー状態を示す。ファクシミリモード時は、印字動作中、回復動作中にオン状態となる。一方プリンタモード時は、記録動作中、待機中を問わず常時オン状態となる。
(15)オンライン信号線
ファクシミリモードにおけるプリンタ部2のオンライン、オフラインを示す。オフライン時は、内部インタフェース信号線302を用いてのコマンドを受け付けない。
(16)エラー信号線
プリンタ部2のエラー状態を示す。
(17)ファクシミリモード復帰要求信号線
プリンタモード時に、情報処理端末109からファクシミリモード復帰要求コマンドがきたことをファクシミリMPU101に通知するために使用する。通知されたファクシミリMPU101は、プリンタモードからファクシミリモードに移行する制御を行う。移行制御の詳細は後述する。
【0043】
次にコマンド体系について詳述する。
【0044】
内部インタフェース信号線302を用いるコマンド体系には、一般コマンド体系とファクシミリコマンド体系がある。一般コマンド体系は、一般的に使用されるコマンド体系であり、ファクシミリモード、プリンタモードともに使用できる。プリンタモードにおけるコマンド体系の設定は、ユーザ登録によって変更することができる。
【0045】
ファクシミリコマンド体系は、前記一般コマンド体系だけでは実現できない機能について、用意された特別なコマンド体系である。特殊な機能のため、ファクシミリモード時のみサポートする。プリンタ部2がプリンタモード時に該コマンドを受信した場合は無視する。
【0046】
ファクシミリコマンド体系は、以下のものより構成されている。
(1)プリンタセッティングコマンド
プリンタ部2の初期設定に関するコマンドである。電源立ち上げ時、プリンタセッティング登録変更時、ファクシミリモード給紙時、ファクシミリモード排紙時、ファクシミリモード異常終了時に該コマンドを用いる。
(2)双方向印字補正コマンド
双方向印字を行うときの往復の印字ずれを補正する。電源立ち上げ時、ファクシミリモードの記録紙給紙時に使用する。プリンタ部2が複数のインク吐出口を備えたヘッドをキャリッジにより主走査方向に移動しながら画像記録するシャトル印字式のため、往と復のスキャンによる印字ずれの補正を、印字モードごと、装置ごとの値としてプリンタ部2へ転送する。プリンタ部2は該双方向印字補正値により、ソフト電源ON時、印字開始直前時に双方向印字補正を行う。
(3)双方向印字コマンド
双方向印字、片方向印字に関するコマンドである。ファクシミリモードの記録紙給紙時に使用する。ユーザ登録により選択された(ファクシミリモードにおける画像印字時、文字コード印字時で別設定)双、片方向印字の設定をプリンタ部へ転送する。プリンタモードではユーザ登録に従わない。
(4)フッタ印字コマンド
受信情報フッタ印字をする/しない、インク残量検知をする/しない、記録紙後端検出開始スキャン数、フッタ文字コードをひとまとめにしたコマンドである。受信画像のページ毎給紙時に使用する。
【0047】
受信情報フッタとは、自機が画像を受信した日時、受付番号、受信画像ページ等を含む情報文字のことである。ユーザ登録により受信情報フッタを印字するに設定してある場合、プリンタ側が受信画像に対し、プリンタ側のフォントデータを用いて展開した情報文字を排紙直前の記録紙後端に印字する。ユーザ登録によりインク残量検知するに設定してある場合、インク残量検知のためのインク残量検知マークを前記受信情報フッタと同一スキャン内に描くとともに、インク残量検知処理を行う。
(5)ファクシミリイメージコマンド
1ラインの画像データとともに、副走査における解像度変換の変換比率を転送する。受信画像、コピー画像、送信不達画像印字に使用する。主走査方向に関する解像度変換はハード回路(8pel−360dpi解像度変換器107)にて行うが、副走査方向に関する解像度変換はソフトウエアにより実現する。ファクシミリ部1のソフトウエアが変換比率を算出し、該コマンドで1ラインの画像データとともに、解像度変換の変換比率を転送する。一方、1ラインの画像データと変換比率を受信したプリンタ部2のソフトウエアは、1ラインの画像データを変換比率倍に拡張し印字する。
(6)ファクシミリリセットコマンド
ファクシミリモード時に使用するプリンタ部の各種フラグを初期化する。ファクシミリモードの記録紙排紙時に使用する。
【0048】
図4は、ファクシミリモード時における情報処理端末109とインタフェース制御部108間でのデータ送受信の概略を示したものである。
【0049】
情報処理端末109とファクシミリ装置との間では、各種動作ごとにコマンド、レスポンスなどをあらかじめ決められたインタフェースプロトコルに従って送受信する。まず、情報処理端末109からファクシミリ装置に対して、実行したい動作に対応したコマンドを送出する。この時、コマンドによっては受信パラメータが付随する場合もある。コマンド内には、各コマンドを識別するためのコマンドコードや、次に続く受信パラメータのサイズ等が格納されている。また、受信パラメータ内には、各コマンドに対する動作を実行するために必要な設定値(ファイルIDや解像度等)や画像データが格納されている。本ファクシミリ装置においては、これらのコマンドおよび受信パラメータは、DMA処理により、インタフェース制御部108から、通常はRAM103のワークエリア内の所定の場所に順次格納されるものとする。ただし、一部のデータ量の大きい受信パラメータに関しては、RAM103内の画像バッファが使用されるものとする。
【0050】
コマンドを受信したファクシミリ装置では、該コマンドに対するレスポンスを生成し送出する。レスポンスには、受信したコマンドが受け付けられたことを示すOKレスポンス、受信したコマンドに間違いがあり受け付けられなかったことを示すNGレスポンス、および、動作中等の理由により受信したコマンドが現在受け付けられないことを示すBUSYレスポンスがある。また、OKレスポンスの場合には、送出パラメータが付随することがある。送出パラメータには、送信やプリントの結果、ファイルの属性等、指示されたコマンドに対応したファクシミリ装置内での情報が格納される。本ファクシミリ装置においては、これらのレスポンスおよび送出パラメータは、DMA処理により、通常はRAM103のワークエリア内の所定の場所からインタフェース制御部108を介して情報処理端末109に順次送出されるものとする。ただし、一部のデータ量の大きい送出パラメータに関しては、RAM103内の画像バッファが使用されるものとする。
【0051】
図5は、IEEEP1284規格に記載されているNibbleMode、ByteModeでのフェーズの遷移図を示したものである。
【0052】
各フェーズ内での処理、および、あるフェーズから別のフェーズへの遷移は、情報処理端末109とインタフェース制御部108との間での外部インタフェース信号線110を使用したハンドシェイクにより実行される。従って、情報処理端末109とファクシミリ装置とは常に同一のフェーズにいることが可能となる。図中のCompatibilityMode時には、情報処理端末109からインタフェース制御部108の方向(以降、フォワード方向)にデータ転送を行う。また、Nibble/ByteMode時にはインタフェース制御部108から情報処理端末109の方向(以降、リバース方向)にデータ転送を行う。
【0053】
本ファクシミリ装置のファクシミリモード時においては、データ転送時以外は、外部制御信号線110−2の信号線の変化に対して割込が発生し、割込処理内で外部応答信号線110−3を変化させることにより、ハンドシェイクを行うものとする。また、データ転送時には、DMAと組み合わせてハードウェアで自動的にハンドシェイクを行うものとする。
【0054】
各フェーズでの詳細はIEEEP1284規格に記載されているので、ここでは、各フェーズの説明を簡単に示す。
(a)ForwardData TransferPhase
フォワード方向での1バイトのデータ転送を行うフェーズ。
(b)ForwardIdlePhase
フォワード方向でのデータ転送への移行、もしくは、NegotiationPhaseへの移行が可能なフェーズ。前述したコマンドや受信パラメータは、1バイトごとに(a)と(b)を繰り返すことにより情報処理端末109からインタフェース制御部108に転送される。
(c)NegotiationPhase
CompatibilityModeからNibble/ByteModeに移行するためのフェーズ。
(d)TerminationPhase
Nibble/ByteModeからCompatibilityModeに移行するためのフェーズ。
(e)ReverseData TransferPhase
リバース方向での1バイトのデータ転送を行うフェーズ。
(f)HostBusyData AvailablePhase
リバース方向に送るべきデータが有るが、情報処理端末109がビジー(データが受けられない状態)であるフェーズ。前述したレスポンスや送出パラメータは、1バイトごとに(e)と(f)を繰り返すことによりインタフェース制御部108から情報処理端末109に転送される。
(g)HostBusyData NotAvailablePhase
リバース方向に送るべきデータがなく、情報処理端末109がビジーであるフェーズ。
(h)ReverseIdlePhase
ファクシミリ装置内にリバース方向のデータが生成されることを待っているフェーズ。
(i)InterruptHostPhase
ファクシミリ装置内で情報処理端末109に送信するべきデータ(リバース方向のデータ)が生成されたことをファクシミリ装置から情報処理端末109に通知するフェーズ。
【0055】
(a)から(i)のフェーズ遷移において、ファクシミリ装置側でフェーズ間の移行の起動がかけられるのは(h)から(i)への移行のみであり、それ以外のフェーズ間の移行は全て情報処理端末109の起動により開始される。従って、ファクシミリ装置内に送出するべきデータが存在したとしても、すぐに送出できるとは限らない。
【0056】
また、本規格においては、(c)の時点でファクシミリ装置内にすでに送出するべきデータ(レスポンス等)があれば、(f)に移行することも可能であるが、本ファクシミリ装置においては、(c)→(f)への移行は行わず、必ず(c)→(g)→(h)と移行するものとする。そして、(h)においてファクシミリ装置内に送出するべきデータができれば、(h)から(i)への起動をファクシミリ装置側から行い、その後、(f)と(e)を繰り返すことによりデータ転送を行うものとする。また、後述するRAM103のワークエリア内の送出開始可能フラグは、ReverseIdlePhaseにいることを示すフラグであり、(g)から(h)に移行する時にONにし、(h)から(i)や(d)に移行する時にOFFにするものとする。
【0057】
また、上述したようにプリンタモード時には、外部インタフェース信号線110と内部インタフェース信号線302は直結され、セントロニクス仕様に準拠した片方向のデータ転送しか行うことができない。これは、図5のCompatibilityModeに該当する動作である。従って、情報処理端末109は、(c)NegotiationPhaseの起動を行い、これに対する応答の有無により、ファクシミリ装置がどちらのモードにいるかを識別できる。すなわち、応答があればファクシミリモードであり、応答がなければプリンタモードであると情報処理端末109は識別することが可能である。
【0058】
図6は、インタフェース制御タスクの動作を示すフローチャートである。
【0059】
まず、S6−1において、プリンタモードであるか否かを判断する。プリンタモードであるならばS6−2において、ファクシミリモードへの復帰要求が有るか否かを判断する。これは、プリンタMPU201からファクシミリMPU101への信号線301の中の(17)ファクシミリモード復帰要求信号線により判断される。ファクシミリモードへの復帰要求が有ると判断された場合には、S6−3において、コマンド処理タスクにコマンドセット切り替え指示コマンドを示すメッセージを送信し、RAM103のワークエリア内の所定の場所(以降、フェーズ管理用RAM)にコマンド受信フェーズを示す値を格納し、S6−1に戻る。また、S6−2においてファクシミリモードへの復帰要求が無いと判断された場合にも、S6−1に戻る。
【0060】
S6−1において、プリンタモードでないと判断された場合には、S6−5において、フェーズ管理用RAMの値によりコマンド受信フェーズであるか否かを判断する。コマンド受信フェーズであるならば、S6−6において、情報処理端末109からコマンドおよび付随される受信パラメータが受信されたか否かを判断し、受信していなければS6−1に戻る。また、コマンドを受信していれば、S6−7において、コマンド処理タスクに該コマンドおよび受信パラメータに関する情報を含んだメッセージを送信し、S6−8において、フェーズ管理用RAMにレスポンス生成フェーズを示す値を格納し、S6−1に戻る。
【0061】
S6−5において、コマンド受信フェーズでないと判断された場合には、S6−9において、フェーズ管理用RAMの値によりレスポンス生成フェーズであるか否かを判断する。レスポンス生成フェーズであるならば、S6−10において、コマンド処理タスクからレスポンスの返送依頼(メッセージ)があるか否かを判断し、レスポンスの返送依頼がなければS6−1に戻る。また、レスポンスの返送依頼があれば、S6−11において、RAM103のワークエリア内のレスポンス送出要求フラグをONにする。レスポンス送出要求フラグは、情報処理端末109に送出するべきデータがファクシミリ装置内にあるということを示しており、全てのデータを送出したらOFFにする。次に、S6−12において、RAM103のワークエリア内のレスポンス送出タイマーに所定の値を格納する。ここで、レスポンス送出タイマーは、一定時間ごとにデクリメントされるタイマーであり、これにより一定時間内にデータを送出できなかった場合のタイムアウトを検出するものとする。次に、S6−13において、フェーズ管理用RAMにレスポンス送出フェーズを示す値を格納し、S6−1に戻る。
【0062】
S6−9において、レスポンス生成フェーズでないと判断された場合には、S6−14において、フェーズ管理用RAMの値によりレスポンス送出フェーズであるか否かを判断する。レスポンス送出フェーズであるならばS6−15に進み、レスポンス送出処理を行い、レスポンス送出フェーズでないならばS6−1に戻る。
【0063】
図7は、レスポンス送出処理の動作を示すフローチャートである。
【0064】
まず、S7−1において、レスポンス送出要求フラグがONであるか否かを判断する。ONならば、情報処理端末109に送出するべきデータがファクシミリ装置内にあるということなので、S7−2において、RAM103のワークエリア内の送出開始可能フラグがONであるか否かを判断する。送出開始可能フラグは、前述したとおりReverseIdlePhaseにいることを示すフラグであり、OFFならば、S7−7に進む。また、ONならば、S7−3において、図5の(h)から(i)への起動をかけることによりデータの送出を開始し、S7−4において、送出開始可能フラグをOFFにして、S7−7に進む。一方、S7−1において、レスポンス送出要求フラグがOFFならば、情報処理端末109への全てのデータの送出が完了したということなので、S7−5において、コマンド処理タスクにレスポンス送出完了を示すメッセージを送信し、S7−6において、フェーズ管理用RAMにコマンド受信フェーズを示す値を格納し、レスポンス送出処理を終了する。
【0065】
S7−7において、レスポンス送出タイマーがタイムアウトしているか否かを検出し、タイムアウトしていなければ、そのままレスポンス送出処理を終了する。また、タイムアウトしていれば、S7−8において、コマンド処理タスクにタイムアウトを示すメッセージを送信し、S7−9において、フェーズ管理用RAMにコマンド受信フェーズを示す値を格納し、レスポンス送出処理を終了する。
【0066】
以上の処理によれば、一定時間の間に、インタフェースが転送可能な状態にならなかった場合に処理を中止することにより、高速なデータ転送が可能なパラレルインタフェースを使用した使い勝手の良い画像通信装置を提供することが可能となる。
【0067】
また、バッファを兼用し、排他制御を行うことによって、メモリの有効活用が可能となる。
【0068】
図8および図9は、コマンド処理タスクの動作を示すフローチャートである。
【0069】
まず、ステップS8−001において、インタフェース制御タスクからのコマンドに関するメッセージを待つ。もし、コマンドに関するメッセージが届いていないならば、再びステップS8−001を繰り返す。一方、もしメッセージが届いていたならば、ステップS8−002に進む。
【0070】
ステップS8−002では、受け取ったメッセージがファイル転送指示コマンドを示すものであるか否かを判断する。もし、メッセージがファイル転送指示コマンドを示すならば、ステップS8−003に進み、ダウンロードファイル(DOWNLOADFILE)の処理を実行する。なお、詳細については後述する。ステップS8−003のDOWNLOADFILEの処理が終了したら、再びステップS8−001に戻る。
【0071】
一方、ステップS8−002において、メッセージがファイル転送指示コマンドを示していないならば、ステップS8−004に進む。
【0072】
ステップS8−004では、受け取ったメッセージがファイルプリント指示コマンドを示すものであるか否かを判断する。もし、メッセージがファイルプリント指示コマンドを示すならば、ステップS8−005に進み、ファイルプリント(PRINTFILE)の処理を実行する。なお、詳細については後述する。ステップS8−005のPRINTFILEの処理が終了したら、再びステップS8−001に戻る。
【0073】
一方、ステップS8−004において、メッセージがファイルプリント指示コマンドを示していないならば、ステップS8−006に進む。
【0074】
ステップS8−006では、受け取ったメッセージがプリント情報取得コマンドを示すものであるか否かを判断する。もし、メッセージがプリント情報取得コマンドを示すならば、ステップS8−007に進み、プリント情報取得(GETPRINTINFO.)の処理を実行する。なお、詳細については後述する。ステップS8−007のGETPRINTINFO.の処理が終了したら、再びステップS8−001に戻る。
【0075】
一方、ステップS8−006において、メッセージがプリント情報取得コマンドを示していないならば、ステップS8−008に進む。
【0076】
ステップS8−008では、受け取ったメッセージがファイル送信指示コマンドを示すものであるか否かを判断する。もし、メッセージがファイル送信指示コマンドを示すならば、ステップS8−009に進み、ファイル送信(SENDFILE)の処理を実行する。なお、詳細については後述する。ステップS8−009のSENDFILEの処理が終了したら、再びステップS8−001に戻る。
【0077】
一方、ステップS8−008において、メッセージがファイル送信指示コマンドを示していないならば、ステップS8−010に進む。
【0078】
ステップS8−010では、受け取ったメッセージが原稿送信指示コマンドを示すものであるか否かを判断する。もし、メッセージが原稿送信指示コマンドを示すならば、ステップS8−011に進み、原稿送信(SENDDOC)の処理を実行する。なお、詳細については後述する。ステップS8−011のSENDDOCの処理が終了したら、再びステップS8−001に戻る。
【0079】
一方、ステップS8−010において、メッセージが原稿送信指示コマンドを示していないならば、ステップS8−012に進む。
【0080】
ステップS8−012では、受け取ったメッセージが送信情報取得コマンドを示すものであるか否かを判断する。もし、メッセージが送信情報取得コマンドを示すならば、ステップS8−013に進み、送信情報取得(GETSENDINFO.)の処理を実行する。なお、詳細については後述する。ステップS8−013のGETSENDINFO.の処理が終了したら、再びステップS8−001に戻る。
【0081】
一方、ステップS8−012において、メッセージが送信情報取得コマンドを示していないならば、ステップS8−014に進む。
【0082】
ステップS8−014では、受け取ったメッセージがファイル転送要求コマンドを示すものであるか否かを判断する。もし、メッセージがファイル転送要求コマンドを示すならば、ステップS8−015に進み、アップロードファイル(UPLOADFILE)の処理を実行する。なお、詳細については後述する。ステップS8−015のUPLOADFILEの処理が終了したら、再びステップS8−001に戻る。
【0083】
一方、ステップS8−014において、メッセージがファイル転送要求コマンドを示していないならば、ステップS8−016に進む。
【0084】
ステップS8−016では、受け取ったメッセージが蓄積スキャン指示コマンドを示すものであるか否かを判断する。もし、メッセージが蓄積スキャン指示コマンドを示すならば、ステップS8−017に進み、ファクシミリ用の蓄積スキャン(SCANTOFAX)の処理を実行する。なお、詳細については後述する。ステップS8−017のSCANTOFAXの処理が終了したら、再びステップS8−001に戻る。
【0085】
一方、ステップS8−016において、メッセージが蓄積スキャン指示コマンドを示していないならば、ステップS8−018に進む。
【0086】
ステップS8−018では、受け取ったメッセージが受信モード変更指示コマンドを示すものであるか否かを判断する。もし、メッセージが受信モード変更指示コマンドを示すならば、ステップS8−019に進み、受信(RECEIVE)の処理を実行する。なお、詳細については後述する。ステップS8−019のRECEIVEの処理が終了したら、再びステップS8−001に戻る。
【0087】
一方、ステップS8−018において、メッセージが受信モード変更指示コマンドを示していないならば、ステップS8−020に進む。
【0088】
ステップS8−020では、受け取ったメッセージが受信情報取得コマンドを示すものであるか否かを判断する。もし、メッセージが受信情報取得コマンドを示すならば、ステップS8−021に進み、受信情報取得(GETRECEIVEINFO.)の処理を実行する。なお、詳細については後述する。ステップS8−021のGETRECEIVEINFO.の処理が終了したら、再びステップS8−001に戻る。
【0089】
一方、ステップS8−020において、メッセージが受信情報取得コマンドを示していないならば、ステップS8−022に進む。
【0090】
ステップS8−022では、受け取ったメッセージが通信管理受付番号取得コマンドを示すものであるか否かを判断する。もし、メッセージが通信管理受付番号取得コマンドを示すならば、ステップS8−023に進み、通信管理受付番号取得(GETACTIVITYID)の処理を実行する。なお、詳細については後述する。ステップS8−023のGETACTIVITYIDの処理が終了したら、再びステップS8−001に戻る。
【0091】
一方、ステップS8−022において、メッセージが通信管理受付番号取得コマンドを示していないならば、ステップS8−024に進む。
【0092】
ステップS8−024では、受け取ったメッセージが通信管理情報取得コマンドを示すものであるか否かを判断する。もし、メッセージが通信管理情報取得コマンドを示すならば、ステップS8−025に進み、通信管理情報取得(GETACTIVITYINFO.)の処理を実行する。なお、詳細については後述する。ステップS8−025のGETACTIVITYINFO.の処理が終了したら、再びステップS8−001に戻る。
【0093】
一方、ステップS8−024において、メッセージが通信管理情報取得コマンドを示していないならば、ステップS8−026に進む。
【0094】
ステップS8−026では、受け取ったメッセージがファイルID取得コマンドを示すものであるか否かを判断する。もし、メッセージがファイルID取得コマンドを示すならば、ステップS8−027に進み、ファイルID取得(GETFILEID)の処理を実行する。なお、詳細については後述する。ステップS8−027のGETFILEIDの処理が終了したら、再びステップS8−001に戻る。
【0095】
一方、ステップS8−026において、メッセージがファイルID取得コマンドを示していないならば、ステップS8−028に進む。
【0096】
ステップS8−028では、受け取ったメッセージがファイル情報取得コマンドを示すものであるか否かを判断する。もし、メッセージがファイル情報取得コマンドを示すならば、ステップS8−029に進み、ファイル情報取得(GETFILEINFO.)の処理を実行する。なお、詳細については後述する。ステップS8−029のGETFILEINFO.の処理が終了したら、再びステップS8−001に戻る。
【0097】
一方、ステップS8−028において、メッセージがファイル情報取得コマンドを示していないならば、ステップS8−030に進む。
【0098】
ステップS8−030では、受け取ったメッセージがページ情報取得コマンドを示すものであるか否かを判断する。もし、メッセージがページ情報取得コマンドを示すならば、ステップS8−031に進み、ページ情報取得(GETPAGEINFO.)の処理を実行する。なお、詳細については後述する。ステップS8−031のGETPAGEINFO.の処理が終了したら、再びステップS8−001に戻る。
【0099】
一方、ステップS8−030において、メッセージがページ情報取得コマンドを示していないならば、ステップS8−032に進む。
【0100】
ステップS8−032では、受け取ったメッセージがファイル消去指示コマンドを示すものであるか否かを判断する。もし、メッセージがファイル消去指示コマンドを示すならば、ステップS8−033に進み、ファイル消去(DELETEFILE)の処理を実行する。なお、詳細については後述する。ステップS8−033のDELETEFILEの処理が終了したら、再びステップS8−001に戻る。
【0101】
一方、ステップS8−032において、メッセージがファイル消去指示コマンドを示していないならば、ステップS8−034に進む。
【0102】
ステップS8−034では、受け取ったメッセージがFAX情報取得コマンドを示すものであるか否かを判断する。もし、メッセージがFAX情報取得コマンドを示すならば、ステップS8−035に進み、ファクシミリ情報取得(FAXINFO.)の処理を実行する。なお、詳細については後述する。ステップS8−035のFAXINFO.の処理が終了したら、再びステップS8−001に戻る。
【0103】
一方、ステップS8−034において、メッセージがFAX情報取得コマンドを示していないならば、ステップS8−036に進む。
【0104】
ステップS8−036では、受け取ったメッセージが電話発呼指示コマンドを示すものであるか否かを判断する。もし、メッセージが電話発呼指示コマンドを示すならば、ステップS8−037に進み、電話発呼(SIMPLEDIAL)の処理を実行する。なお、詳細については後述する。ステップS8−037のSIMPLEDIALの処理が終了したら、再びステップS8−001に戻る。
【0105】
一方、ステップS8−036において、メッセージが電話発呼指示コマンドを示していないならば、ステップS8−038に進む。
【0106】
ステップS8−038では、受け取ったメッセージが呼切断コマンドを示すものであるか否かを判断する。もし、メッセージが呼切断コマンドを示すならば、ステップS8−039に進み、呼切断(RELEASELINE)の処理を実行する。なお、詳細については後述する。ステップS8−039のRELEASELINEの処理が終了したら、再びステップS8−001に戻る。
【0107】
一方、ステップS8−038において、メッセージが呼切断コマンドを示していないならば、ステップS8−040に進む。
【0108】
ステップS8−040では、受け取ったメッセージがコマンドセット切り替え指示コマンドを示すものであるか否かを判断する。もし、メッセージがコマンドセット切り替え指示コマンドを示すならば、ステップS8−041に進み、コマンドセット切り替え(SWITCHCOMMANDSET)の処理を実行する。なお、詳細については後述する。ステップS8−041のSWITCHCOMMANDSETの処理が終了したら、再びステップS8−001に戻る。
【0109】
一方、ステップS8−040において、メッセージがコマンドセット切り替え指示コマンドを示していないならば、ステップS8−042に進む。
【0110】
もし、受け取ったメッセージが上記のどのコマンドも示していないならば、ステップS8−042においてシーケンスエラーを示すNGレスポンスをメッセージとしてインタフェース制御タスクに送り、NGレスポンスの返送を依頼し、ステップS8−001に戻る。
【0111】
以上の処理により、コマンド処理タスクは、インタフェース制御タスクからのコマンドに関するメッセージを受け取り、そのメッセージを内容に応じた処理に分配する。
【0112】
次に、以下の順に図8、図9の各処理の動作を説明する。
1.ダウンロードファイル(DOWNLOADFILE)処理
2.ファイルプリント(PRINTFILE)処理
3.プリント情報取得(GETPRINTINFO.)処理
4.ファイル送信(SENDFILE)処理
5.送信情報取得(GETSENDINFO.)処理
6.アップロードファイル(UPLOADFILE)処理
7.受信(RECEIVE)処理
8.受信情報取得(GETRECEIVEINFO.)処理
9.通信管理受付番号取得(GETACTIVITYID)処理
10.通信管理情報取得(GETACTIVITYINFO.)処理
11.ファイルID取得(GETFILEID)処理
12.ファイル情報取得(GETFILEINFO.)処理
13.ページ情報取得(GETPAGEINFO.)処理
14.ファイル消去(DELETEFILE)処理
15.ファクシミリ情報取得(FAXINFO.)処理
16.電話発呼(SIMPLEDIAL)処理
17.呼切断(RELEASELINE)処理
18.コマンドセット切り替え(SWITCHCOMMANDSET)処理
19.ファクシミリ用の蓄積スキャン(SCANTOFAX)処理
20.原稿送信(SENDDOC)処理
以下、各処理について説明する。
【0113】
ダウンロードファイル(DOWNLOADFILE)処理
本動作は、外部情報処理端末が転送する画像データを、ファクシミリ装置内のRAM103の画像メモリに、画像データとして蓄積する機能である。
【0114】
本動作は3つのコマンド、ファイル転送指示コマンド、ページ情報指示コマンド、画像データ転送指示コマンドによって実現する。ファイル転送指示コマンドとは、外部情報処理端末からファクシミリ装置に対して、画像データを転送することを通知するもので、実際の画像データ転送は、画像データ転送指示コマンドによって実行される。ページ情報指示コマンドとは、外部情報処理端末からファクシミリ装置に対して、画像データのページ毎にそのページのデータ形式や解像度等の属性をファクシミリ装置に指示するコマンドである。実際の画像データ転送は、画像データ転送指示コマンドによって実行される。画像データ転送指示コマンドとは、外部情報処理端末からファクシミリ装置に対して、画像データを転送するためのコマンドである。
【0115】
ダウンロードされた画像データは、ファイルプリント(PRINTFILE)機能による記録、ファイル送信(SENDFILE)機能による送信、アップロードファイル(UPLOADFILE)機能によるアップロード、ファイル消去(DELETEFILE)機能による削除に使用される。
【0116】
詳細動作を図10、図11に沿って説明する。
【0117】
S10−1で通信セマフォ(通信資源)を獲得する。ここで、通信セマフォについて説明する。通信セマフォとは、ファクシミリ装置が通信部を使用して動作する時に獲得し、終了する時に解放するもので、獲得できなければその動作は実行できないことになる(例えば、送信、受信など)。逆に上記取り決めにより、円滑な同時動作が可能になる。S10−1で通信セマフォを獲得できたならばS10−2に遷移し、獲得できなければBUSY処理(詳細後述)へ分岐する。S10−2で、これからダウンロードされる画像データのファイルIDを取得する。本実施形態例のファクシミリ装置では、RAM103の画像メモリに蓄積される画像データ(ファイル)にシリアル番号(ファイルID)を与え、RAM103の画像メモリ内の画像データをファイルIDによって管理する。ファイルIDは、1〜9999の値をとり、サイクリックに使用される。S10−3で、RAM103の画像メモリに空があるか判断する。十分な空があれば、S10−4へ遷移する。十分な空が無ければ、NG処理(詳細後述)を行う。S10−4でインタフェースLEDを点灯し、動作中であることを知らせる。インタフェースLEDが点灯中は、ファクシミリ装置のキー入力を禁止する。S10−5で、これからダウンロードされる画像データの属性を、外部情報処理端末によって指定されたファイルに設定する。S10−6で、ファイル転送指示コマンドに対しファクシミリ装置が実行可能であることを、外部情報処理装置に返送し、外部情報処理装置からの次コマンドを受け取るためにホストとデータ送受信(詳細後述)を行う。S10−6が、正常に終了したらS10−7へ遷移する。S10−7で、外部情報処理装置から受信した次コマンドが、ページ情報指示コマンドか判断する。ページ情報指示コマンドならば、S10−8へ遷移する。ページ情報指示コマンド以外ならば、NG処理を行う。S10−8で、RAM103の画像メモリに空があるか判断する。十分な空があれば、S10−9へ遷移する。十分な空が無ければ、NG処理を行う。S10−9で、ページ情報指示コマンドによる新しいページ情報をセットする。S10−10で、正常に動作が進行していることを外部情報処理装置に返送し、外部情報処理装置からの次コマンドを受け取るためにホストとデータ送受信を行う。S10−10が、正常に終了したらS10−11へ遷移する。S10−11で、外部情報処理装置から受信した次コマンドが、画像データ転送指示コマンドか判断する。画像データ転送指示コマンドならば、S10−12へ遷移する。画像データ転送指示コマンド以外ならば、NG処理を行う。S10−12で、外部情報処理装置からの画像データが蓄積されている画像バッファのデータを、画像メモリに転送する。通常、外部情報処理端末からのデータ受信は、一般公衆回線とは異なり、転送エラーを起こすことがないので、画像データのエラーチェックは行わない。また、外部情報処理端末から受信した圧縮されたデータを復号化することなく、そのまま画像メモリに転送することによりスループットの向上を計っている。また、電話回線を介したファクシミリ装置間の通信で使用されるバッファと、外部情報処理端末からのデータ転送で使用されるバッファとを兼用し、外部情報処理端末が管理している画像ファイルをファクシミリ装置へ転送でき、バッファ用のRAMを削減できる。
【0118】
一方、画像データ転送指示コマンドに含まれる、転送画像データ長の転送が終了したらS10−13へ遷移する。S10−13で、S10−12実行中にエラーが発生したか判断する。エラーが発生していなければ、S10−14へ遷移する。エラーが発生していれば、NG処理を行う。S10−14で、外部情報処理装置からの画像データが1ページ分終了したか判断する。本実施形態例では、画像データ転送指示コマンドに含まれる、転送画像データ長により、1ページの画像データを分割して受信することができる。1ページ分終了していれば、S10−15へ遷移する。1ページ分終了していなければ、S10−10へ分岐し処理を続行する。S10−15で、外部情報処理装置からの画像データが全ページ終了したか判断する。本実施形態例では、複数ページの画像データを、3つのコマンド(ファイル転送指示コマンド、ページ情報指示コマンド、画像データ転送指示コマンド)の組み合わせにより、併せて受信することができる。全ページ分終了していれば、S10−16へ遷移する。全ページ分終了していなければ、S10−6へ分岐し処理を続行する。S10−16で、インタフェース制御タスクに対するOKレスポンスを生成し、正常に動作中であることを外部情報処理端末に返送するための返送依頼をインタフェース制御タスクにだす。送出の実行はインタフェース制御タスクが行う。
【0119】
S10−17、S10−18で、インタフェース制御タスクが外部情報処理端末に対する返送を完了したか否かを判定する。返送が完了したならば、S10−19へ遷移する。返送が完了せずに、S10−17においてタイムアウトが発生したならば、異常処理へ分岐する。本実施形態例において、タイムアウト時間は固定であるが、ファクシミリ装置の登録動作、または外部情報処理端末による登録動作によって可変にすることも可能である。S10−19で、S10−1で獲得した通信セマフォを解放する。そして、S10−20で、インタフェースLEDを消灯し、DOWNLOADFILE動作が終了したことを知らせる。インタフェースLEDの消灯により、ファクシミリ装置のキー入力は許可される。
【0120】
ここで、S10−6、S10−10のホスト(外部情報処理端末)とデータ送受信について、図12に沿って詳細に説明する。
【0121】
まず、S12−1で、インタフェース制御タスクに対するOKレスポンスを生成し、正常に動作中であることを外部情報処理端末に返送するための返送依頼をインタフェース制御タスクにだす。送出の実行はインタフェース制御タスクが行う。
【0122】
S12−2、S12−3で、インタフェース制御タスクが外部情報処理端末に対する返送を完了したか否かを判定する。返送が完了したならば、S12−4へ遷移する。返送が完了せずに、S12−2においてタイムアウトが発生したならば、異常処理へ分岐する。本実施形態例において、タイムアウト時間は固定であるが、ファクシミリ装置の登録動作、または外部情報処理端末による登録動作によって可変にすることも可能である。
【0123】
S12−4、S12−5で、外部情報処理端末から次コマンドを受信する。次コマンドを受信したならば、S12−6へ遷移する。次コマンドを受信せずに、S12−4においてタイムアウトが発生したならば、異常処理へ分岐する。本実施形態例において、タイムアウト時間は固定であるが、ファクシミリ装置の登録動作、または外部情報処理端末による登録動作によって可変にすることも可能である。
【0124】
S12−6で、受信した次コマンドがストップコマンドか判断する。ストップコマンドでなければ、正常終了する。ストップコマンドならば、S13−1へ分岐する。
【0125】
ここで、異常処理について、図13に沿って詳細に説明する。
【0126】
S13−1へ分岐してきた場合、インタフェース制御タスクに対するOKレスポンスを生成し、正常に動作中であることを外部情報処理端末に返送するための返送依頼をインタフェース制御タスクにだす。送出の実行はインタフェース制御タスクが行う。S13−2へ分岐してきた場合、インタフェース制御タスクに対するNGレスポンスを生成し、正常に動作中であることを外部情報処理端末に返送するための返送依頼をインタフェース制御タスクにだす。送出の実行はインタフェース制御タスクが行う。S13−3へ分岐してきた場合、インタフェース制御タスクに対するBUSYレスポンスを生成し、正常に動作中であることを外部情報処理端末に返送するための返送依頼をインタフェース制御タスクにだす。送出の実行はインタフェース制御タスクが行う。
【0127】
S13−4で、使用しようとしていた画像メモリを解放する。S13−5で、S10−1で獲得した通信セマフォを解放する。そして、S13−6で、インタフェースLEDを消灯し、DOWNLOADFILE動作が終了したことを知らせる。インタフェースLEDの消灯により、ファクシミリ装置のキー入力は許可される。
【0128】
2.ファイルプリント(PRINTFILE)処理
本動作は、外部情報処理端末が指定したファクシミリ装置内のRAM103の画像メモリに蓄積されている所望の画像を、ファクシミリ装置が記録出力する機能である。
【0129】
PRINTFILE機能は、ファイルプリント指示コマンドによって実現する。ファイルプリント指示コマンドには、記録紙サイズ、ファイルID等の指定パラメータが付加される。
【0130】
通常、PRINTFILE機能は、GETPRINTINFO.機能と対で用いられる。
【0131】
PRINT FILE機能により記録できる画像は、外部情報処理端末から指定された、ダウンロード画像、受信画像、スキャン画像に限られる。
【0132】
詳細動作を図14、図15に沿って説明する。
【0133】
コマンド処理タスクがファイルプリント指示コマンドと判断し、分岐してきたS14−1において、ファイルプリント指示コマンドに付加してくる受信パラメータの正誤を判定する(詳細後述)。S14−2で判定の結果により分岐する。判定の結果が正しければS14−3に遷移し、誤っていればNG処理(詳細後述)へ分岐する。S14−3で記録セマフォ(記録資源)を獲得する。この機能は、記録出力を行うため、必ず記録セマフォを獲得する必要がある。ここで、記録セマフォについて説明する。記録セマフォとは、ファクシミリ装置が記録部を使用して動作する時に獲得し、終了する時に解放するもので、獲得できなければその動作は実行できないことになる(例えば、受信記録、コピー記録など)。逆に上記取り決めにより、円滑な同時動作(例えばコピー中のメモリ送信など)が可能になる。S14−3で記録セマフォを獲得できたならばS14−4に遷移し、獲得できなければBUSY処理へ分岐する。S14−4で記録部の異常をチェックする(詳細後述)。S14−5で判定の結果により分岐する。判定の結果がOKならばS14−6に遷移し、異常が発見されたならばNG処理へ分岐する。S14−6でインタフェースLEDを点灯し、動作中であることを知らせる。インタフェースLEDが点灯中は、ファクシミリ装置のキー入力を禁止する。S14−7でインタフェース制御タスクに対するOKレスポンスを生成し、正常に動作中であることを外部情報処理端末に返送するための返送依頼をインタフェース制御タスクにだす。送出の実行はインタフェース制御タスクが行う。S14−8、S14−9で、インタフェース制御タスクが外部情報処理端末に対する返送を完了したか否かを判定する。返送が完了したならば、S14−10へ遷移する。返送が完了せずに、S14−8においてタイムアウトが発生したならば、異常処理へ分岐する。本実施形態例において、タイムアウト時間は固定であるが、ファクシミリ装置の登録動作、または外部情報処理端末による登録動作によって可変にすることも可能である。S14−10でプリント情報ステータスに”プリント中”をセットする。プリント情報ステータスとは、ファクシミリ部1のRAM103のワークエリアに確保されており、GETPRINTINFO.のための情報ステータスである。S14−11で記録タスクを起動し、記録動作を開始する。記録動作については後述する。S14−12でインタフェースLEDを消灯し、PRINTFILE動作が終了したことを知らせる。インタフェースLEDの消灯により、ファクシミリ装置のキー入力は許可される。
【0134】
ここで、S14−1の受信パラメータチェックについて図16に沿って説明する。
【0135】
受信パラメータの内容は以下の項目を含み、以下の選択肢を持つ。ただし、受信パラメータの内容とファクシミリ装置の設定が異なる場合は、受信パラメータエラーとなる。また、受信パラメータの内容とファクシミリ装置の設定が異なる場合に、受信パラメータエラーにせず、「受信パラメータの内容を優先する」「ファクシミリ装置の設定を優先する」ように処理を続けてもよい。
記録紙カセットサイズ:チェック無
記録紙サイズ:チェック無、レター、リーガル、A4
記録濃度:標準、エコノミー
ファイルID:1〜9999
記録枚数:1〜99
S16−1において、記録紙カセットサイズのチェックを行う。本実施形態例によるファクシミリ装置は、記録紙カセット(不図示)が1サイズしかないため、受信パラメータの内容が「チェック無」であるならば、記録紙カセットサイズのチェックは行わず、S16−2へ遷移する。記録紙カセットを複数装着し、記録紙カセットサイズのチェックを行うようにしてもよい。S16−2において、記録紙サイズのチェックを行う。受信パラメータの内容とオペレータにより登録された記録紙サイズを比較し、サイズが合致しているならばS16−3へ遷移する。異なっているならば異常終了する。受信パラメータの内容が、”チェック無”の場合は、比較することなくS16−3へ遷移する。また、オペレータによる登録を行うことなく、機械的センサなどで自動的に記録紙サイズを読み取るようにしてもよい。S16−3で、記録濃度のチェックを行う。受信パラメータの内容とオペレータにより登録された記録濃度を比較し、濃度が合致しているならばS16−4へ遷移する。異なっているならば異常終了する。受信パラメータの内容が、”チェック無”の場合は、比較することなくS16−4へ遷移する。また、オペレータによる登録を行うことなく、記録インクの残量、画像の濃度、ファクシミリ送信元などで自動的に記録濃度を設定するようにしてもよい。S16−4で、ファイルIDのチェックを行う。ファイルIDとは、ファクシミリ装置に入出力される画像に対しての通し番号であり、このファイルIDによりRAM103の画像メモリに蓄積されている所望の画像にアクセスする。S16−4では、受信パラメータの内容のファイルIDに対する画像が画像メモリに存在するか判断する。存在するならばS16−5へ遷移する。存在しなければ異常終了する。S16−5で、ファイル属性のチェックを行う。S16−4で得た画像の属性が外部情報処理端末により指定されたファイルならばS16−6へ遷移する。画像の属性が外部情報処理端末により指定されたファイル以外ならば異常終了する。S16−6で、記録枚数のチェックを行う。受信パラメータの内容が1〜99枚の範囲内にあるならば受信パラメータチェックを正常終了する。受信パラメータの内容が1〜99枚の範囲外であるならば異常終了する。
【0136】
ここで、S14−4の記録部チェックについて図17に沿って説明する。
【0137】
S17−1において、記録紙の有無をチェックする。記録紙カセット内の記録紙を、不図示の記録紙センサにより記録紙の有無をチェックし、記録紙が有りならばS17−2へ遷移する。記録紙が無しならば異常終了する。S17−2で、記録インクの有無をチェックする。記録インクが有りならばS17−3へ遷移する。記録インクが無しならば異常終了する。本実施形態例では、記録を行うために記録インクを用いたが、レーザ記録のトナーなどを用いた記録部使用ファクシミリ装置にも適用できる。S17−3で、記録カバーの有無をチェックする。記録カバーが閉状態ならばS17−4へ遷移する。記録カバーが開状態ならば異常終了する。S17−4で、記録紙ジャムの有無をチェックする。PEセンサ206その他により、記録紙ジャムが検出されない場合は記録部チェックを正常終了する。PEセンサ206その他により、記録紙ジャムが検出された場合異常終了する。
【0138】
ここで、異常処理について図18に沿って説明する。
【0139】
NGが発生したならば、S18−1でインタフェース制御タスクに対するNGレスポンスを生成し、また異常終了したことを外部情報処理端末に返送するための返送依頼をインタフェース制御タスクにだす。また、BUSYが発生したならば、S18−3でインタフェース制御タスクに対するBUSYレスポンスを生成し、また異常終了したことを外部情報処理端末に返送するための返送依頼をインタフェース制御タスクにだす。送出の実行はインタフェース制御タスクが行う。そして、S18−2で記録セマフォを解放し、異常処理を終了する。記録セマフォの獲得が行われていなければ、記録セマフォの解放は行わない。
【0140】
ここで、従来例の記録動作と本実施形態例における記録動作の相違点について説明する。
【0141】
従来、ファクシミリ装置における通信画像には、画像の送信元を明示するため、画像の先頭部に送信年月日、電話番号、発信人名称、ページ数、いわゆる発信元記録が付加される。よって、送信側の送信長と受信側の受信長とを比べると、送信長の方が長くなるのが普通である。そのまま記録を行うと、送信側で定型紙を送った場合、記録側では定型紙に収まらなくなる。そこで、記録側で一定倍率による縮小を行い定型紙に収める技術が知られている。ところが、記録側で縮小を行った場合、送信画像の忠実な再現ができないという問題があった。
【0142】
また、発信元記録と同様に受信情報記録という技術が知られている。受信情報記録とは、受信側で受信した画像の後端部に、受信年月日、電話番号、発信人名称、ページ数を付加し記録する。この機能を使用し、定型紙に収めるためには更に縮小倍率を低める必要がある。
【0143】
また、ファクシミリ装置において受信した画像は確実に記録出力しなければならない。本実施形態例に示すような記録インクを用いるファクシミリ装置において、記録インクがなくなった場合も例外ではない。そのため、記録出力が終了した時点で本当に記録できたか判断するインク残量検知処理をする技術が知られている。記録インクが無くなったと判断した場合、再度同一画像を記録するため画像蓄積しておき、オペレータの介入を促す。ところが、インク残量検知処理を行うために、記録画像に不要な記録をしたり、不要な記録インクを消費したりする必要があった。また、インク残量検出処理のためにシステム全体のスループットを下げていた。逆に、正常に記録動作が終了した場合、強制的にメモリに蓄積されている画像を消去するが、もう1部記録したいときは、記録紙をコピーする必要があり画像の劣化を招いていた。
【0144】
一方、本実施形態例における記録動作では従来のファクシミリ受信においては、従来通りの記録動作を実行し、外部情報処理端末により指定されたファイルの属性を持つ画像の記録動作に関しては上記問題点を解決した記録動作を行う。すなわち、外部情報処理端末により指定されたファイルには余計な処理、縮小記録やインク残量検知処理、また余計な付加情報を記録、受信情報記録を行わないようにするため、送信画像の忠実な再現が可能となる。また、記録出力紙を見ただけで、従来通りの記録動作による記録なのか、外部情報処理端末により指定されたファイルの記録動作による記録なのか判断できるようになる。そして、外部情報処理端末により指定されたファイルの記録動作終了後の画像は、正常終了、異常終了を問わず、画像メモリに保持される。
【0145】
ここで、インク残量検知処理および縮小記録処理のやる、やらないの判断について、図24に沿って説明する。
【0146】
まず、S24−1で記録する画像ファイルの属性が、外部情報処理端末によって指定されたファイルかどうか判断する。外部情報処理端末によって指定されたファイルならば、S24−2へ遷移する。外部情報処理端末によって指定されていないファイルならば、S24−4へ分岐し、インク残量検知処理禁止モード、縮小記録処理禁止モードとして判断処理を終了する。S24−2で、装置に登録されているインク残量検知処理の”する”/”しない”を判断する。インク残量検知処理が”する”設定の場合、S24−3へ遷移する。インク残量検知処理が”しない”設定の場合、S24−5へ分岐し、インク残量検知処理禁止モードとして、S24−3へ遷移する。S24−3で、装置に登録されている縮小記録処理の”する”/”しない”を判断する。縮小記録処理が”する”設定の場合、判断処理を終了する。縮小記録処理が”しない”設定の場合、S24−6へ分岐し、縮小記録処理禁止モードとして判断処理を終了する。
【0147】
ここで、本実施形態例における記録動作について詳細に説明する。
【0148】
S14−11で起動された記録タスクは、図19のフローチャートで示される動作をする。まず、S19−1でプリンタ部2のソフト電源ON処理を行い、S19−2へ遷移する。ソフト電源ON、OFF処理については、詳細を後述する。S19−2では、ソフト電源ON処理において正常終了したか異常終了したか判定する。正常終了していれば、S19−3へ遷移する。異常終了した場合、S19−14で強制ソフト電源OFF処理を行い、S19−15でオペーレーションパネル112の表示部によりエラー表示を行う。そして、S19−16でファクシミリ部1のRAM103のワークエリアのプリント情報ステータスにエラー情報を格納し、S19−13へ遷移する。S19−3では、記録紙給紙処理(詳細後述)を行い、S19−4へ遷移する。S19−4では、記録紙給紙処理において正常終了したか異常終了したか判定する。正常終了していれば、S19−5へ遷移する。異常終了した場合、S19−14で強制ソフト電源OFF処理を行い、S19−15でオペーレーションパネル112の表示部によりエラー表示を行う。そして、S19−16でファクシミリ部1のRAM103のワークエリアのプリント情報ステータスにエラー情報を格納し、S19−13へ遷移する。S19−5では、フリーの記録ラインバッファ103の有無を判断する。本実施形態例では、プリンタ部2への記録データをライン単位で管理しており、その記録データ生成のための記録ラインバッファ103がフリーにならないと、記録データを生成することはできない。通常、複数本のラインバッファを確保し、サイクリックに使用する。記録ラインバッファ103がフリーになったなら、S19−6でデコード、RL(ランレングス)−RAW(生)変換、解像度変換(8pel−360dpi)を行い、記録ラインバッファ103に記録データを書き込む。実際にプリンタ部2に記録データを転送するのは、割り込み記録処理で行い、記録データを転送し終わった時点で、記録ラインバッファ103をフリーにする。そして、S19−7で1ページ目のデコード処理が終了したか判断する。終了していればS19−8へ遷移する。終了していなければ、S19−5へ分岐し処理を繰り返す。S19−8では、記録が終了した記録紙を排出する。S19−9で、記録すべき全ページが終了したか判断する。終了していればS19−10へ遷移する。終了していなければ、S19−3へ分岐し記録紙給紙処理から繰り返す。S19−10では、S16−6にて受信パラメータ指定された記録すべき全部数が終了したか判断する。終了していればS19−11へ遷移する。終了していなければ、S19−3へ分岐し記録紙給紙処理から繰り返す。S19−11では、プリンタ部2のソフト電源OFF処理を行いS19−12へ遷移する。そしてS19−12において、ファクシミリ部1のRAM103のワークエリアのプリント情報ステータスに正常終了情報を格納し、S19−13へ遷移する。S19−13において、S14−3で獲得した記録セマフォを解放する。そして、記録タスク自ら正常終了する。
【0149】
ここで、S19−1のソフト電源ON処理、S19−11、S19−14のソフト電源OFF処理について詳細に説明する。
【0150】
本実施形態例によるファクシミリ装置は、3つの電源状態を有している。第1の状態は、ハード的に電源が断となっており、ファクシミリ部1、プリンタ部2に給電されていない状態(ハード電源OFF)である。第2の状態は、ハード的に電源はONとなって、ファクシミリ部1、プリンタ部2に給電されているが、プリンタ部2はハード電源ONの初期化を行っただけで、見かけ上LED(不図示)等も消灯しているため、プリンタ部2は電源断と同じである状態(ソフト電源OFF)である。第3の状態はハード的に電源ONとなっており、ファクシミリ部1、プリンタ部2にも給電されており、プリンタ部2も動作状態になっている状態(ソフト電源ON)である。このような3状態を設けているのは次の理由による。第1の理由は、プリンタ部2の暴走予防のため、記録動作中以外はソフト電源OFF状態にするためである。第2の理由は、プリンタ部2が立ち上がる度に電源投入時と同じ初期化を行うと、スループットの低下を招くためである。第3の理由は、記録動作を行わないにもかかわらず、プリンタ部2のLEDを点灯させることは無駄な電力消費につながるためである。第4の理由は、プリンタ部2のLEDを点灯させたままだと、ユーザはプリンタ部2が動作中であると誤認してしまう可能性があるためである。第5の理由は、プリンタ部2がエラー終了時、ソフト電源OFF、ONによる初期化で簡単にエラー状態を解除できるためである。
【0151】
ハード電源ON時の初期化動作とソフト電源ON時の初期化動作について、図20と図21に沿って説明する。
【0152】
ハード電源ON時の初期化動作は、まず、プリンタMPU201の暴走防止のためのウォッチドックタイマを初期化し(S20−1)、次にプリンタMPU201の誤動作防止のためにレジスタを初期化し(S20−2)、さらに横縦変換器204やセントロニクスインタフェース302などの周辺装置を初期化し(S20−3)、プリンタMPU201の誤動作防止や各パラメータの初期値を設定するためにRAM203のワークエリアの初期化を行う(S20−4)。この後、タイマ割り込みが開始される(S20−5)。次に、各バッファ内に残留しているデータの消去のためにRAM203を初期化する(S20−6)。
【0153】
ソフト電源ON時の初期化動作は、ソフト電源ON後に使用する資源についてのみ初期化する。まず、RAM203のチェックを行い(S21−1)、ワークエリアの初期化(S21−2)、RAM203の初期化(S21−3)、セントロニクスインタフェースより送られてくるデータ分析プログラムの初期化(S21−4)、キャリッジ制御、紙搬送制御の初期化を行う(S21−5)。プリンタMPU201は不図示のホームポジションセンサによって、キャリッジの位置、即ち印字ヘッド205の位置の初期設定を行う(S21−6)。この処理は、キャリッジ位置がキャリッジを駆動するパルスモータに印加されるパルス数に基づいて認識されるため、その基準位置の設定をホームポジションセンサを用いて行っているものである。次に双方向補正を行うべく基準位置からキャリッジを順方向へ所定量移動し、その後逆方向へ移動させ、ホームポジションセンサの状態をサンプリングする(S21−7)。順方向への移動時に要するパルス数と逆方向への移動時に要するパルス数をカウントし、このカウント値に基づいて双方向印字における補正値を求める。尚、この補正値が所定範囲を超えている場合はエラーとなり、記録動作は不能となる。次に残留紙があるかどうかをPEセンサ206などで検出し、残留紙があれば残留紙を排出する(S21−8)。次に自動回復するかどうか判断する(S21−9)。自動回復とは、印字ヘッド205がインクジェット方式などの場合、ノズルの目づまりを防止するために行う処理である。自動回復をする場合は、自動回復動作を行って(S21−10)、初期化の処理を終了する。一方、自動回復動作をしない場合はそのまま初期化の処理を終了する。
【0154】
ここで、S19−3の記録紙給紙処理について、図22に沿って詳細に説明する。
【0155】
ファクシミリ部1がユーザ登録にしたがった記録紙給紙コマンドを作成し、プリンタ部2に転送し、ピックアップローラ(不図示)による記録紙が頭出しされるまでの過程を記録紙給紙処理とする。
【0156】
まず、プリンタレディか判断する(S22−1)。プリンタレディでなければ、エラー表示し(S22−8)、エラー終了とする(S22−9)。プリンタレディならばモータセマフォを獲得する(S22−2)。モータセマフォを獲得できなければ、エラー表示し(S22−8)、エラー終了とする(S22−9)。プリンタレディであり、且つ、モータセマフォを獲得したなら、記録紙給紙コマンドの作成を行う(S22−8)。記録紙給紙コマンドとは以下のコマンドの集合である。
・プリンタリセット
・印字モード(普通orエコノミー)
・プリンタセッティング
・双方向印字補正
・ページモード
・フッタ印字
・双方向印字
・ラスタースキップ
これらのコマンドは下記の如くのものである。
【0157】
即ち、プリンタリセットにより、プリンタを初期化する。印字モードは、ユーザ登録の画像印字時の印字モードに従う。プリンタセッティングは、ユーザ登録のファクシミリモードプリンタセッティングの内容に従う。双方向印字補正は、装置固有の値でありユーザ登録ではなく、サービスマン登録である。ページモードは、長尺印字の際1ページでデータを無視するか、2ページ以降印字を続けるかの選択で、コピー、不達画像レポート印字時はON、受信画像、通常レポート印字時はOFFである。フッタ印字は、後述する。双方向印字は、ユーザ登録の画像印字時の双方向印字モードに従う。ラスタースキップは、記録紙給紙開始コマンドである。
【0158】
ファクシミリ部1で上記記録紙給紙コマンドの作成が終了したら(S22−3)、セントロニクスI/F302を介し、プリンタ部2へ一括転送する(S22−4)。そこで、ファクシミリ部1はプリンタ部2より、給紙要求が到来するのを待つ(S22−5)。上記記録紙給紙コマンドを受信したプリンタ部2は該コマンドを順に解析し実行する。該コマンドの最後のラスタースキップコマンドを解析すると、ファクシミリ部1に対し給紙要求をだす。ファクシミリ部1は、該給紙要求を受け(S22−5)、モータ111で給紙動作を始め(S22−6)、記録紙がPEセンサ206まで搬送されると給紙動作を終了する(S22−7)。のちの記録紙頭出しは、プリンタ部に委ねられる。プリンタ部は所定頭出し量に従い記録紙頭出しを行う。
【0159】
ここでフッタ印字について、詳細に説明する。
【0160】
本実施形態例のファクシミリ装置では、1頁分の画像記録後、記録紙の後端部にインクの有無検知のためのフッタマークが記録され、フッタセンサ207によりこのフッタマークを検出し、検出結果に応じてインクの有無の判断が行われる。
【0161】
フッタ印字コマンドには、パラメータが含まる。そのパラメータの内容はインク残量検知”する”/”しない”や、受信情報文字列、フッタマーク文字列である。通常の受信記録動作においては、そのパラメータの内容は”する”に設定されている。それは受信した画像がインク切れの時に記録された場合、再記録不可能のため受信画像を失うことになるからである。一方、外部情報処理端末からの画像の記録動作においては、そのパラメータの内容は”しない”に設定されている。それは例えインク切れの時に記録された場合でも、再度外部情報処理端末から画像を受信することにより再記録可能のためである。また、外部情報処理端末からの画像の記録動作において、インク残量検知処理を行わないことにより、無駄なインクを消費しない、スループットの向上などの効果がある。
【0162】
ここで、本実施形態例における記録部2のインク残量検知処理について、図23にそって説明する。
【0163】
記録部2は、ファクシミリ部1からフッタ印字コマンドにより、インク残量検知処理を”する”を指定された場合、画像データを記録後、受信情報文字列、フッタマーク文字列を印字すべき位置まで記録紙を紙送りする(S23−1)。前記フッタ印字コマンドの文字列が格納されている、フッタバッファのフッタ文字コードを印字する(S23−2)。印字したインク残量検知マークが検出されなければ(S23−3)、ファクシミリ側に対しインク残量検知結果をNGとして返す(S23−8)。インク残量検知マークが検出されれば(S23−3)、次に記録紙を紙送りし(S23−4)、記録紙が色紙か否かを検出する(S23−5)。記録紙が色紙と判定されれば、ファクシミリ側に対し記録紙検知結果をNGとして返す(S23−9)。以上すべての検知が終了したら、ファクシミリ部にその旨を伝えるため、インク残量検知出力をOKとする(S23−6)。インク残量検知処理を終了したら、1ページ目を排紙し(S23−7)、次ページ印字データを受信していれば、2ページ目を給紙し印字を継続する。
【0164】
また、その他のインクの検出方法として以下の方法が知られている。
・インクタンク内部のインクの残量を、光センサ、重量センサにより、インクの有無を検出する。
・吐出されたインクが光センサの光を遮ることにより、インクの有無を検出する。
・吐出されたインクをサーミスタに当てることにより、温度変化を検出し、インクの有無を検出する。
・インクの全吐出数をカウントし、インクの有無を予測する。
【0165】
以上の処理によれば、画像通信装置において、画像の属性その他により装置が自動判断し、記録動作を行うことが出来る画像通信装置を提供することが可能となる。また、ランニングコストやスループットを向上させたり、必要な画像のみを加工することが可能となる。また、受信画像が記録することなく失われたり、1ページの受信画像が2枚に分割され記録したりしていた不具合を解決することが可能となる。また、電話回線等を介した画像通信装置間の通信で使用されるバッファと、外部情報処理端末からの、記録動作の元となる画像データの転送で使用されるバッファとを兼用し、外部情報処理端末が管理している画像ファイルを画像通信装置へ転送することが可能になる。すなわち、バッファのためのRAM容量を削減でき、低コストでファイルプリントの機能を実現できる。
【0166】
3.プリント情報取得(GET PRINT INFO.)処理
本動作は、外部情報処理端末が指示したPRINT FILE機能による記録動作の状況を外部情報処理端末に通知する機能であり、通常PRINT FILE機能と対で用いられる。
【0167】
本動作は、ファイル情報取得コマンドによって実現する。
【0168】
又、本動作は、外部情報処理端末とのデータ送受信ができるならば、ファクシミリ送受信動作中、コピー動作中、登録動作中に関わらず動作する。
【0169】
以下、詳細動作を図25に沿って説明する。
【0170】
コマンド処理タスクがファイル情報取得コマンドと判断し、分岐してきたS25−1において、ファクシミリ装置内のRAM103のワークエリアのプリント情報ステータスの内容を参照(PRINTFILEに内容詳細記述)し、PRINT FILEによる記録動作が、正常終了(記録中)なのか異常終了なのか判定する。正常終了(記録中)の場合、S25−2へ遷移する。異常終了の場合、S25−3へ分岐する。S25−2でインタフェース制御タスクに対するOKレスポンスを生成し、正常に動作中であることを外部情報処理端末に通知するための返送依頼をインタフェース制御タスクにだす。送出の実行はインタフェース制御タスクが行う。一方、異常終了の場合、S25−3でインタフェース制御タスクに対するNGレスポンスを生成し、また異常終了したことを外部情報処理端末に通知するための返送依頼をインタフェース制御タスクにだす。そして、GETPRINT INFO.を終了する。
【0171】
4.ファイル送信(SEND FILE)処理
本動作は、外部情報処理端末が指定したファクシミリ装置内のRAM103の画像メモリに蓄積されている所望の画像を、ファクシミリ装置が所望の宛先に送信する機能である。
【0172】
SEND FILE機能は、ファイル送信指示コマンドと受付番号取得コマンドによって実現する。ファイル送信指示コマンドとは、外部情報処理端末からファクシミリ装置に対するコマンドで、指定パラメータと共に送信を指示するコマンドである。受付番号取得コマンドとは、外部情報処理端末からファクシミリ装置に対するコマンドで、ファクシミリ装置が外部情報処理端末に、ファイル送信指示コマンドによって送信する際の受付番号の返送するコマンドである。SEND FILE機能により送信できる画像は、外部情報処理端末から指定された、ダウンロード画像、受信画像、スキャン画像に限られる。
【0173】
以下、詳細動作を図26、図27に沿って説明する。
【0174】
S26−1で通信セマフォ(通信資源)を獲得する。ここで、通信セマフォについて説明する。通信セマフォとは、ファクシミリ装置が通信部を使用して動作する時に獲得し、終了する時に解放するもので、獲得できなければその動作は実行できないことになる(例えば、送信、受信など)。逆に上記取り決めにより、円滑な同時動作が可能になる。S26−1で通信セマフォを獲得できたならばS26−2に遷移し、獲得できなければBUSY処理(詳細後述)へ分岐する。S26−2において、ファイル送信指示コマンドに付加してくる受信パラメータの正誤を判定する(詳細後述)。S26−3で判定の結果により分岐する。判定の結果が正しければS26−4に遷移し、誤っていればNG処理(詳細後述)へ分岐する。S26−4でインタフェースLEDを点灯し、動作中であることを知らせる。インタフェースLEDが点灯中は、ファクシミリ装置のキー入力を禁止する。S26−5で、インタフェース制御タスクに対するOKレスポンスを生成し、正常に動作中であることを外部情報処理端末に返送するための返送依頼をインタフェース制御タスクにだす。送出の実行はインタフェース制御タスクが行う。S26−6S26−7で、インタフェース制御タスクが外部情報処理端末に対する返送を完了したか否かを判定する。返送が完了したならば、S26−8へ遷移する。返送が完了せずに、S26−6においてタイムアウトが発生したならば、異常処理へ分岐する。本実施形態例において、タイムアウト時間は固定であるが、ファクシミリ装置の登録動作、または外部情報処理端末による登録動作によって可変にすることも可能である。S26−8S26−9で、外部情報処理端末から次コマンドを受信する。次コマンドを受信したならば、S26−10へ遷移する。次コマンドを受信せずに、S26−8においてタイムアウトが発生したならば、異常処理へ分岐する。本実施形態例において、タイムアウト時間は固定であるが、ファクシミリ装置の登録動作、または外部情報処理端末による登録動作によって可変にすることも可能である。S26−10で、受信した次コマンドがストップコマンドか判断する。ストップコマンドでなければ、S26−11へ遷移する。ストップコマンドならば、SEND FILE動作の中断処理へ分岐する。S26−11で、外部情報処理装置から受信した次コマンドが、受付番号取得指示コマンドか判断する。受付番号取得指示コマンドならば、S26−12へ遷移する。受付番号取得指示コマンド以外ならば、NG処理を行う。S26−12で、これから送信される画像データの受付番号(ファイルID)を取得する。本実施形態例のファクシミリ装置では、RAM103の画像メモリに蓄積される画像データ(ファイル)にシリアル番号を与え、RAM103の画像メモリ内の画像データを受付番号によって管理する。受付番号は、1〜9999の値をとり、サイクリックに使用される。S26−13で、インタフェース制御タスクに対するOKレスポンス、および受付番号情報を生成し、正常に動作中であることと、受付番号取得指示コマンドに対する情報を外部情報処理端末に返送するための返送依頼をインタフェース制御タスクにだす。送出の実行はインタフェース制御タスクが行う。S26−14S26−15で、インタフェース制御タスクが外部情報処理端末に対する返送を完了したか否かを判定する。返送が完了したならば、S26−16へ遷移する。返送が完了せずに、S26−14においてタイムアウトが発生したならば、異常処理へ分岐する。本実施形態例において、タイムアウト時間は固定であるが、ファクシミリ装置の登録動作、または外部情報処理端末による登録動作によって可変にすることも可能である。S26−16で、送信動作を担うタスク(送信実行タスク)に対し、送信キューを投入する。S26−17で、S26−1で獲得した通信セマフォを解放する。なお、送信実行タスクが送信を実行する時は、送信実行タスクが再度通信セマフォの獲得、解放を行う。そして、S26−18で、インタフェースLEDを消灯し、SENDFILE動作が終了したことを知らせる。インタフェースLEDの消灯により、ファクシミリ装置のキー入力は許可される。
【0175】
ここで、S26−2の受信パラメータのチェックについて、図28に沿って詳細に説明する。
【0176】
受信パラメータの内容は以下の項目を含み、以下の選択肢を持つ。ただし、受信パラメータの内容とファクシミリ装置の設定が異なる場合は、受信パラメータエラーとなる。また、受信パラメータの内容とファクシミリ装置の設定が異なる場合に、受信パラメータエラーにせず、「受信パラメータの内容を優先する」「ファクシミリ装置の設定を優先する」ように処理を続けてもよい。
ダイヤル種別:テンキー、ワンタッチ、短縮
ワンタッチ/短縮ダイヤル番号:1〜16(ワンタッチモード)、0〜99(短縮モード)
電話番号:アスキー文字列32桁以下(テンキーモード)
相手先略称:アスキー文字列
通信プロトコル:チェック無、G3(PSTN)
通信モード:チェック無、国際回線(1)、国際回線(2)、国際回線(3)
通信スピード:チェック無、4800bps、9600bps
通信種別:通常送信、親展送信、中継指示送信
ボックス番号:0〜99
ファイルID:1〜9999
S28−1で、ダイヤル種別のチェックを行う。受信パラメータの内容が、テンキー、ワンタッチ、短縮いずれかならOKとし、テンキー、ワンタッチ、短縮以外ならNGとする。S28−2で、ワンタッチ/短縮ダイヤル番号のチェックを行う。S28−1において、ワンタッチ、短縮ダイヤルに指定されたときのみ有効な項目である。受信パラメータ番号が範囲内で、かつ指定番号に相手先が登録されていればOKとし、指定番号が範囲外、または指定番号に相手先が登録されていなければNGとする。S28−3で、電話番号のチェックを行う。S28−1において、テンキーダイヤルに指定されたときのみ有効な項目である。受信パラメータ番号が全てアスキー文字列で、かつ32桁以下ならOKとし、指定番号がアスキー文字列以外、または33桁以上ならNGとする。S28−4で、相手先略称のチェックを行う。受信パラメータ略称が全てアスキー文字列ならOKとし、指定略称がアスキー文字列以外ならNGとする。S28−5で、通信プロトコルのチェックを行う。受信パラメータの内容が、”チェック無”または”G3(PSTN)”ならOKとし、それ以外ならNGとする。S28−6で、通信モードのチェックを行う。受信パラメータの内容が、”チェック無”または”国際回線(1)”または”国際回線(2)”または”国際回線(3)”ならOKとし、それ以外ならNGとする。S28−7で、通信スピードのチェックを行う。受信パラメータの内容が、”チェック無”または”4800bps”または”9600bps”ならOKとし、それ以外ならNGとする。S28−8で、通信種別のチェックを行う。受信パラメータの内容が、”通常送信”または”親展送信”または”中継指示送信”ならOKとし、それ以外ならNGとする。S28−9で、ボックス番号のチェックを行う。受信パラメータの内容が、0〜99の範囲内ならOKとし、範囲外ならNGとする。S28−10で、ファイルIDのチェックを行う。ファイルIDとは、ファクシミリ装置に入出力される画像に対しての通し番号であり、このファイルIDによりRAM103の画像メモリに蓄積されている所望の画像にアクセスする。S28−10では、受信パラメータの内容のファイルIDに対する画像が画像メモリに存在するか判断する。存在するならば、ファイル属性のチェックを行う。画像の属性が、外部情報処理端末によって指定されたファイルならば、正常終了する。ファイルIDに対する画像が画像ャc鰍ノ存在しない、また画像の属性が、外部情報処理端末によって指定されたファイル以外ならばNGとする。
【0177】
ここで、異常処理について、図29に沿って詳細に説明する。
【0178】
S29−1へ分岐してきた場合、インタフェース制御タスクに対するOKレスポンスを生成し、正常に動作中であることを外部情報処理端末に返送するための返送依頼をインタフェース制御タスクにだす。送出の実行はインタフェース制御タスクが行う。S29−2へ分岐してきた場合、インタフェース制御タスクに対するNGレスポンスを生成し、正常に動作中であることを外部情報処理端末に返送するための返送依頼をインタフェース制御タスクにだす。送出の実行はインタフェース制御タスクが行う。S29−3へ分岐してきた場合、インタフェース制御タスクに対するBUSYレスポンスを生成し、正常に動作中であることを外部情報処理端末に返送するための返送依頼をインタフェース制御タスクにだす。送出の実行はインタフェース制御タスクが行う。S29−4で、S26−1で獲得した通信セマフォを解放する。そして、S29−5で、インタフェースLEDを消灯し、SENDFILE動作が終了したことを知らせる。インタフェースLEDの消灯により、ファクシミリ装置のキー入力は許可される。
【0179】
以上の処理によれば、一定時間の間に、インタフェースが転送可能な状態にならなかった場合に処理を中止することにより、高速なデータ転送が可能なパラレルインタフェースを使用した使い勝手の良い画像通信装置を提供することが可能となる。
【0180】
5.送信情報取得(GETSENDINFO.)処理
図30および31は、本実施形態例におけるファクシミリ装置の送信に関する情報を情報処理端末109に転送する送信情報通知の動作を示すフローチャートである。
【0181】
図8のコマンド処理タスクにおいて、インタフェース制御タスクからのメッセージを受け取り、そのコマンドが送信情報取得コマンドであったならば、GETSENDINFO.の処理が実行される。
【0182】
まず、ステップS30−001において、情報処理端末109からの送信情報取得コマンドによって指定された受付番号の送信結果が、通信管理情報の中に存在するか否かを判断する。もし、図44に示される通信管理情報の通信管理番号44−001が送信情報取得コマンドによって指定された受付番号と一致し、かつ、同図の通信種別44−005が「送信」を示しているならば、ステップS30−002に進む。
【0183】
ステップS30−002では、ステップS30−001において発見された通信管理情報が、送信情報として既に通知されているか否かを判断する。もし、図44に示される通信管理情報の通信管理レポート出力履歴情報44−011が送信情報の未通知を示していないならば、ステップS30−003に進む。
【0184】
ステップS30−003では、指定された受付番号の送信事象が存在しないことを示すNGレスポンスをメッセージとしてインタフェース制御タスクに送り、GETSENDINFO.の処理を終了する。
【0185】
一方、ステップS30−002において通信管理情報が送信情報として未通知であるならば、すなわち、図44に示される通信管理情報の通信管理レポート出力履歴情報44−011が送信情報の未通知を示しているならば、ステップS30−004に進む。
【0186】
ステップS30−004では、該通信管理情報の通信結果がエラーを示しているか否かを判断する。もし、図44に示される通信管理情報の通信結果44−010が「正常終了」を示しているならば、ステップS30−005に進む。
【0187】
ステップS30−005では、送信状況として「正常終了」を示す送信情報を生成し、ステップS30−012に進む。
【0188】
一方、ステップS30−004において、図44に示される通信管理情報の通信結果44−010が「エラー終了」を示しているならば、ステップS30−006に進む。
【0189】
ステップS30−006では、送信状況として「エラー終了」を示す送信情報を生成し、ステップS30−012に進む。
【0190】
一方、ステップS30−001において、図44に示される通信管理情報の通信管理番号44−001が送信情報取得コマンドによって指定された受付番号と一致しないか、または、同図の通信種別44−005が「送信」を示していないならば、ステップS30−007に進む。
【0191】
ステップS30−007では、送信情報取得コマンドによって指定された受付番号の送信事象が、送信キューの中に存在するか否かを判断する。もし、指定された受付番号の送信事象が送信キューの中に存在しないならば、ステップS30−008に進む。
【0192】
ステップS30−008では、指定された受付番号の送信事象が存在しないことを示すNGレスポンスをメッセージとしてインタフェース制御タスクに送り、GETSENDINFO.の処理を終了する。
【0193】
一方、ステップS30−007において、指定された受付番号の送信事象が送信キューの中に存在するならば、ステップS30−009に進む。
【0194】
ステップS30−009では、該送信事象が送信中であるか否かを判断する。もし、送信中であるならばステップS30−010に進み、そうでなければステップS30−011に進む。
【0195】
ステップS30−010では、送信状況として「送信中」を示す送信情報を生成し、ステップS30−012に進む。また、ステップS30−010では、送信状況として「送信待機中」を示す送信情報を生成し、ステップS30−012に進む。
【0196】
ステップS30−012では、OKレスポンスおよびステップS30−005、ステップS30−006、ステップS30−010、またはステップS30−011で生成された送信情報をメッセージとしてインタフェース制御タスクに送り、OKおよび送信情報の返送を依頼し、ステップS30−013に進む。
【0197】
ステップS30−013において、OKおよび送信情報の返送が成功したことを示すインタフェース制御タスクからのメッセージを受けたならばステップS30−015に進み、そうでなかったならばステップS30−014に進む。
【0198】
ステップS30−014において、OKおよび送信情報の返送が規定時間内に成功しなかったことを示すインタフェース制御タスクからのメッセージを受けたならば、何もせずにGETSENDINFO.の処理を終了し、そうでなかったならばステップS30−013に戻る。
【0199】
ステップS30−015では、ステップS30−012において返送を依頼した送信情報が、「正常終了」またはエラー終了」を示す情報であったか否かを判断する。もし、返送を依頼した送信情報が「正常終了」またはエラー終了」を示す情報であったならばステップS30−016に進み、そうでなかったならばGETSENDINFO.の処理を終了する。
【0200】
ステップS30−016では、ステップS30−04において送信結果がエラーであるか否かを判断する時に参照した通信管理情報の通信管理レポート出力履歴情報44−011を、送信情報の通知済みを示すように更新し、GETSENDINFO.の処理を終了する。
【0201】
以上の処理により、本実施形態例におけるファクシミリ装置は、情報処理端末109がSENDFILE等で依頼した送信事象を管理するうえで必要になる、個々の送信事象の「正常終了」、「エラー終了」、「送信中」、および「送信待機中」といった状況に関する送信情報を、既存の通信管理情報と異なる新たな構造の情報を設けることなく通知する。
【0202】
6.アップロードファイル(UPLOADFILE)処理
図32、33、および34は、本実施形態例における画像通信装置のRAM103上の画像メモリに格納されている画像データを、画像通信装置が管理しているファイル単位で情報処理端末109に転送するファイルアップロードの動作を示すフローチャートである。
【0203】
図8のコマンド処理タスクにおいて、インタフェース制御タスクからのメッセージを受け取り、そのコマンドがファイル転送要求コマンドであったならば、UPLOADFILEの処理が実行される。
【0204】
まず、ステップS32−001において、ファイルアップロードの処理が可能か否かの判定を行う。これは、RAM103上の画像バッファを通信時と情報処理端末109へのデータ転送時とで共有することによる誤動作を防止するために実行される。なお、詳細は後述する(図35)。
【0205】
ステップS32−002において、ステップS32−001の判定結果が可であったならば、すなわち、ファイルアップロードの処理が可能であったならばステップS32−003に、そうでなかったならばステップS32−028に進む。
【0206】
ステップS32−003では、コマンド処理中であり、ローカルオペレーションが禁止されていることをオペレータに通知するためのインタフェースLEDを点灯し、ステップS32−004に進む。
【0207】
ステップS32−004では、OKレスポンスをメッセージとしてインタフェース制御タスクに送り、OKの返送を依頼する。ステップS32−005において、OKの返送が成功したことを示すインタフェース制御タスクからのメッセージを受けたならばステップS32−007に進み、そうでなかったならばステップS32−006に進む。
【0208】
ステップS32−006において、OKの返送が規定時間内に成功しなかったことを示すインタフェース制御タスクからのメッセージを受けたならばステップS32−028に進み、そうでなかったならばステップS32−005に戻る。
【0209】
次に、ステップS32−007において、次コマンドを示すインタフェース制御タスクからのメッセージを受けたならばステップS32−009に進み、そうでなかったならばステップS32−008に進む。
【0210】
ステップS32−008において、次コマンドを示すインタフェース制御タスクからのメッセージを規定時間内に受けることができなかったならば、ステップS32−028に進み、そうでなかったならばステップS32−007に戻る。
【0211】
ステップS32−009では、ステップS32−007において受け取ったャbセージが要求ページ情報指示コマンドを示すものであるか否かを判定する。もし、受け取ったメッセージが要求ページ情報指示コマンドを示すものでなかったならば、ステップS32−010に進む。
【0212】
ステップS32−010では、シーケンスエラーを示すNGレスポンスをメッセージとしてインタフェース制御タスクに送り、ステップS32−028に進む。
【0213】
一方、ステップS32−009において、受け取ったメッセージが要求ページ情報指示コマンドを示すものであったならば、ステップS32−011に進む。
【0214】
ステップS32−011では、符号化方式や解像度といった要求ページ情報の指示が正しいか否かの判定を行い、ステップS32−012に進む。なお、詳細は後述する。
【0215】
ステップS32−012において、ステップS32−011の判定結果がエラーなしであったならば、すなわち、要求ページ情報の指示が正しかったならばステップS32−013に、そうでなかったならばステップS32−028に進む。
【0216】
ステップS32−013では、OKレスポンスをメッセージとしてインタフェース制御タスクに送り、OKの返送を依頼する。
【0217】
ステップS32−014において、OKの返送が成功したことを示すインタフェース制御タスクからのメッセージを受けたならばステップS32−016に進み、そうでなかったならばステップS32−015に進む。
【0218】
ステップS32−015において、OKの返送が規定時間内に成功しなかったことを示すインタフェース制御タスクからのメッセージを受けたならばステップS32−028に進み、そうでなかったならばステップS32−014に戻る。
【0219】
次に、ステップS32−016において、次コマンドを示すインタフェース制御タスクからのメッセージを受けたならばステップS32−018に進み、そうでなかったならばステップS32−017に進む。
【0220】
ステップS32−017において、次コマンドを示すインタフェース制御タスクからのメッセージを規定時間内に受けることができなかったならば、ステップS32−028に進み、そうでなかったならばステップS32−016に戻る。
【0221】
ステップS32−018では、ステップS32−017において受け取ったメッセージが画像データ転送要求コマンドを示すものであるか否かを判定する。もし、受け取ったメッセージが画像データ転送要求コマンドを示すものでなかったならば、ステップS32−019に進む。
【0222】
ステップS32−019では、シーケンスエラーを示すNGレスポンスをメッセージとしてインタフェース制御タスクに送り、ステップS32−028に進む。
【0223】
一方、ステップS32−018において、受け取ったメッセージが画像データ転送要求コマンドを示すものであったならば、ステップS32−020に進む。
【0224】
ステップS32−020では、画像データ転送の要求が正しいか否かの判定を行い、ステップS32−021に進む。なお、詳細は後述する。
【0225】
ステップS32−021において、ステップS32−020の判定結果がエラーなしであったならば、すなわち、画像データ転送の要求が正しかったならばステップS32−022に、そうでなかったならばステップS32−028に進む。
【0226】
ステップS32−022では、ホストに転送する画像データの生成を行い、ステップS32−023に進む。なお、詳細は後述する。
【0227】
ステップS32−023では、OKレスポンスと、ステップS32−022において生成された画像データとをメッセージとしてインタフェース制御タスクに送り、OKおよび画像データの返送を依頼する。
【0228】
ステップS32−024において、OKおよび画像データの返送が成功したことを示すインタフェース制御タスクからのメッセージを受けたならばステップS32−026に進み、そうでなかったならばステップS32−025に進む。ステップS32−025において、OKおよび画像データの返送が規定時間内に成功しなかったことを示すインタフェース制御タスクからのメッセージを受けたならばステップS32−028に進み、そうでなかったならばステップS32−024に戻る。
【0229】
ステップS32−026では、ステップS32−023において返送を依頼した画像データが1ページの最終ブロックであったか否かを判定する。もし、最終ブロックであったならば、すなわち、1ページの転送が終了したならばステップS32−027に進み、そうでなかったならばステップS32−016に戻る。
【0230】
ステップS32−027では、ステップS32−023において返送を依頼した画像データが指定されたファイルの最終ブロックであったか否かを判定する。もし、最終ブロックであったならば、すなわち、次ページが存在しないならばステップS32−028に進み、そうでなかったならばステップS32−007に戻る。
【0231】
ステップS32−028では、禁止されていた通信およびローカルオペレーションを許可し、ファクシミリ通信をかのうにして、ステップS32−029に進む。
【0232】
ステップS32−029では、ローカルオペレーションが許可されたことをオペレータに通知するために、ステップS32−003で点灯したインタフェースLEDを消灯し、UPLOADFILEの処理を終了する。
【0233】
図35は、図32のステップS32−001のファイルアップロードの可否判定を詳細に記述したフローチャートである。
【0234】
まず、ステップS35−001において、画像通信装置がローカルオペレーション中であるか否かを判断する。もし、ローカルオペレーション中であるならば、ステップS35−002に進む。
【0235】
ステップS35−002では、BUSYレスポンスをメッセージとしてインタフェース制御タスクに送り、ステップS35−012に進む。
【0236】
一方、ステップS35−001において、画像通信装置がローカルオペレーション中でなければ、ステップS35−003に進む。
【0237】
ステップS35−003では、新たなローカルオペレーションを禁止し、ステップS35−004に進む。
【0238】
ステップS35−004では、画像通信装置がファクシミリ通信中であるか否かを判断する。もし、通信中であるならば、ステップS35−005に進む。
【0239】
ステップS35−005では、BUSYレスポンスをメッセージとしてインタフェース制御タスクに送り、ステップS35−012に進む。
【0240】
一方、ステップS35−004において、画像通信装置が通信中でなければ、ステップS35−006に進む。
【0241】
ステップS35−006では、新たな通信を禁止し、ステップS35−007に進む。
【0242】
ステップS35−007において、ファイル転送要求コマンドで指定されたファイルが存在するか否かを判断する。もし、指定されたファイルが存在しないならば、ステップS35−008に進む。
【0243】
ステップS35−008では、指定ファイルなしを示すNGレスポンスをメッセージとしてインタフェース制御タスクに送り、ステップS35−012に進む。
【0244】
一方、ステップS35−007において指定されたファイルが存在するならば、ステップS35−009に進む。
【0245】
ステップS35−009では、ファイル転送要求コマンドで指定されたファイルが親展ファイルであるか否かを判断する。もし、指定されたファイルが親展ファイルであるならば、ステップS35−010に進む。
【0246】
ステップS35−010では、指定ファイル無効を示すNGレスポンスをメッセージとしてインタフェース制御タスクに送り、ステップS35−012に進む。
【0247】
一方、ステップS35−009において指定されたファイルが親展ファイルでなかったならば、ステップS35−011に進む。
【0248】
ステップS35−011では、ファイルアップロードが可能であることを呼び出し側の処理に通知し、ファイルアップロードの可否判定を終了する。
【0249】
ステップS35−012では、ファイルアップロードが不可能であることを呼び出し側の処理に通知し、ファイルアップロードの可否判定を終了する。
【0250】
図36は、図32のステップS32−011の要求ページ情報指示の正否判定を詳細に記述したフローチャートである。
【0251】
まず、ステップS36−001において、要求ページ情報指示コマンドで指定された符号化方式が、画像通信装置に格納されている、前記ファイル転送要求コマンドで指定された画像ファイルの符号化方式と一致しているか否かを判断する。符号化方式には、ITU−Tの勧告T.4およびT.30記載の「MH」、「MR」、「MMR」の3つがある。もし、不一致ならばステップS36−005に進み、一致していればステップS36−002に進む。
【0252】
ステップS36−002では、要求ページ情報指示コマンドで指定された解像度が、画像通信装置に格納されている、前記ファイル転送要求コマンドで指定された画像ファイルの該ページの解像度と一致しているか否かを判断する。解像度には、ITU−Tの勧告T.4およびT.30記載の主走査解像度が8[dots/mm]で、かつ副走査解像度が3.75[lines/mm]である「スタンダード」と、解像度には、主走査解像度が8[dots/mm]で、かつ副走査解像度が7.7[lines/mm]である「ファイン」とがある。もし、不一致ならばステップS36−005に進み、一致していればステップS36−003に進む。
【0253】
ステップS36−003では、要求ページ情報指示コマンドで指定された主走査長が、画像通信装置に格納されている、前記ファイル転送要求コマンドで指定された画像ファイルの該ページの主走査長と一致しているか否かを判断する。主走査長は、用紙を縦長に置いた場合の横の長さで、ITU−Tの勧告T.4およびT.30記載の主走査線長に対応した「A4」、「B4」、「A3」の3つがある。もし、不一致ならばステップS36−005に進み、一致していればステップS36−004に進む。
【0254】
ステップS36−004では、要求ページ情報指示コマンドにエラーがなかったことを呼び出し側の処理に通知し、要求ページ情報指示の正否判定の処理を終了する。
【0255】
ステップS36−005は、ステップS36−001、ステップS36−002、またはステップS36−003において、符号化方式、解像度、または主走査長の不一致があった場合に実行され、パラメータの無効を示すNGレスポンスをメッセージとしてインタフェース制御タスクに送り、ステップS36−006に進む。
【0256】
ステップS36−006では、要求ページ情報指示コマンドにエラーがあったことを呼び出し側の処理に通知し、要求ページ情報指示の正否判定の処理を終了する。
【0257】
図37は、図33のステップS32−020の画像データ転送要求の正否判定を詳細に記述したフローチャートである。
【0258】
まず、ステップS37−001において、画像データ転送要求コマンドで指定されたブロック長が有効か否かを判断する。もし、ブロック長が後述するヘッダデータ長より大きいならば有効と判断され、ステップS37−002に進み、そうでなければステップS37−003に進む。
【0259】
ステップS37−002では、画像データ転送要求コマンドにエラーがなかったことを呼び出し側の処理に通知し、画像データ転送要求の正否判定の処理を終了する。
【0260】
一方、ステップS37−003では、ブロック長が無効を示すNGレスポンスをメッセージとしてインタフェース制御タスクに送り、ステップS37−004に進む。
【0261】
ステップS37−002では、画像データ転送要求コマンドにエラーがあったことを呼び出し側の処理に通知し、画像データ転送要求の正否判定の処理を終了する。
【0262】
図38は、図33のステップS32−022の転送画像データの生成を詳細に記述したフローチャートである。
【0263】
まず、ステップS38−001において、前記画像データ転送要求コマンドで指定されたブロック長Lsと、転送が済んでいないページデータ量(残ページデータ長)Lrの関係を比較する。ここで、個々の画像データブロックの直前に付加されるヘッダのデータ長をLhとする。このヘッダには、ページの終端を示すPEフラグ、ファイルの終端を示すDEフラグ、およびヘッダの後に続く画像データ長LENが含まれる。もし、Ls>Lh+Lrが真ならば、すなわち、前記画像データ転送要求コマンドで指定されたブロック長がヘッダのデータ長と残ページデータ長を加えた値よりも大きいならば、ステップS38−002に進む。
【0264】
ステップS38−002では、ページの終端でないことを示すPE=0、ファイルの終端でないことを示すDE=0、およびヘッダの後に続く画像データ長がLEN=Ls−Lhなるヘッダデータを、情報処理端末109へのデータ転送時に使われるRAM103上の画像バッファにセットし、ステップ600−003に進む。
【0265】
ステップS38−003では、データ長がLEN=Ls−Lhになるように、画像データをRAM103上の画像メモリから情報処理端末109へのデータ転送時に使われるRAM103上の画像バッファにコピーし、ステップ600−004に進む。
【0266】
ステップS38−004では、転送が済んでいないページデータ量Lrを、Lr−LENに更新し、転送画像データの生成の処理を終了する。
【0267】
一方、ステップS38−001において、Ls>Lh+Lrが偽ならば、すなわち、前記画像データ転送要求コマンドで指定されたブロック長がヘッダのデータ長と残ページデータ長を加えた値と等しいか、あるいは小さいならば、ステップS38−005に進む。
【0268】
ステップS38−005では、次ページが存在するか否かを判断する。もし、現在転送しようとしているページの次に新たなページが存在するならば、ステップS38−006に進む。
【0269】
ステップS38−006では、ページの終端であることを示すPE=1、ファイルの終端でないことを示すDE=0、およびヘッダの後に続く画像データ長がLEN=Lrなるヘッダデータを、情報処理端末109へのデータ転送時に使われるRAM103上の画像バッファにセットし、ステップ600−007に進む。
【0270】
ステップS38−007では、データ長がLEN=Lrである残りの画像データを、RAM103上の画像メモリから情報処理端末109へのデータ転送時に使われるRAM103上の画像バッファにコピーし、転送画像データの生成の処理を終了する。
【0271】
一方、ステップS38−005において、現在転送しようとしているページの次に新たなページが存在しないならば、ステップS38−008に進む。
【0272】
ステップS38−008では、ページの終端であることを示すPE=1、ファイルの終端であることを示すDE=0、およびヘッダの後に続く画像データ長がLEN=Lrなるヘッダデータを、情報処理端末109へのデータ転送時に使われるRAM103上の画像バッファにセットし、ステップ600−009に進む。
【0273】
ステップS38−009では、データ長がLEN=Lrである残りの画像データを、RAM103上の画像メモリから情報処理端末109へのデータ転送時に使われるRAM103上の画像バッファにコピーし、転送画像データの生成の処理を終了する。
【0274】
以上の処理により、本実施形態例における画像通信装置は、RAM103上の画像バッファを通信時と情報処理端末109へのデータ転送時とで共有しながら、RAM103上の画像メモリに格納されている画像データを、画像通信装置が管理しているファイル単位で情報処理端末109に転送する。
【0275】
また、本実施形態例における画像通信装置は、各ページの画像データを、情報処理端末109から指定されたサイズのブロックに分割して転送する。
【0276】
さらに、本実施形態例における画像通信装置は、各ページの画像データを情報処理端末109から指定されたブロックサイズに分割して転送する際に、画像データの直前にページの終端、ページの終端、および後に続く実際の画像データのサイズの情報を含むヘッダを付加する。またこのヘッダを利用して、もし、情報処理端末109から指定されたブロックサイズに満たないサイズの未転送の画像データしか画像通信装置に存在しない場合、ヘッダの中の後に続く実際の画像データのサイズの情報を適宜設定して、情報処理端末109から指定されたブロックサイズより少ないデータを情報処理端末109に転送する。
【0277】
以上の処理によれば、電話回線等を介した画像通信装置間の通信で使用されるバッファと、外部情報処理端末へのデータの転送で使用されるバッファとを兼用し、画像通信装置が管理している画像ファイルを外部情報処理端末へ転送することが可能になる。すなわち、バッファのためのRAM容量を削減でき、低コストでファイルアップロードの機能を実現できる。
【0278】
また、ローカルオペレーション中のファイルアップロードを禁止することにより、プログラム構造が極めて簡単になり、ファイルアップロードの機能を短期間で開発できる。
【0279】
また、外部情報処理端末が実際の画像データの転送を要求するときにブロック長を指定できるようになる。すなわち、外部情報処理端末は本発明による画像通信装置とは無関係に、外部情報処理端末が1回の要求で管理できるブロック長を毎回宣言できることになり、外部情報処理端末の負荷が低減できる。
【0280】
また、画像通信装置が実際の画像データの転送を要求するときに、ページの終端、ページの終端、および後に続く実際の画像データのサイズの情報を含むヘッダを付加することにより、もし、外部情報処理端末から指定されたブロックサイズに満たないサイズの未転送の画像データしか画像通信装置に存在しない場合、ヘッダの中の後に続く実際の画像データのサイズの情報を適宜設定して、外部情報処理端末から指定されたブロックサイズより少ないデータを外部情報処理端末に転送することが可能になる。すなわち、冗長なデータの転送を少なくすることができる。
【0281】
7.受信(RECEIVE)処理
図39は、本実施形態例におけるファクシミリ装置の受信モードを、「標準受信」、「メモリ受信」、「メモリかつ記録受信」いずれかのモードに変更する受信モード変更の動作を示すフローチャートである。
【0282】
図8のコマンド処理タスクにおいて、インタフェース制御タスクからのメッセージを受け取り、そのコマンドが受信モード変更指示コマンドであったならば、RECEIVEの処理が実行される。
【0283】
まず、ステップS39−001において、受信モード変更指示コマンドで指定された受信モードmodeを、RAM103上のワークエリアに確保された一時的な受信モード保持領域temp_modeにコピーし、ステップS39−002に進む。
【0284】
ステップS39−002では、OKレスポンスをメッセージとしてインタフェース制御タスクに送り、OKの返送を依頼し、ステップS39−003に進む。
【0285】
ステップS39−003において、OKの返送が成功したことを示すインタフェース制御タスクからのメッセージを受けたならばステップS39−005に進み、そうでなかったならばステップS39−004に進む。
【0286】
ステップS39−004において、OKの返送が規定時間内に成功しなかったことを示すインタフェース制御タスクからのメッセージを受けたならば、何もせずにRECEIVEの処理を終了し、そうでなかったならばステップS39−003に戻る。
【0287】
ステップS39−005では、前記の一時的な受信モード保持領域temp_modeの内容を、RAM103上のワークエリアに確保された次の受信モード保持領域next_modeにコピーし、RECEIVEの処理を終了する。
【0288】
図40は、本実施形態例のファクシミリ装置において、受信画像がどの受信モードで作成されたかを示す受信画像の属性を、個々の受信画像に保存する受信モード保存の動作を示すフローチャートである。
【0289】
この受信モード保存の処理は、本実施形態例のファクシミリ装置が、通信回線からのCIを検出して回線を閉結し、ファクシミリ伝送の手順に基づいてファクシミリ受信を開始したとき、あるいはオペレータからのファクシミリ受信の要求に基づいてファクシミリ受信を開始したときに実行される。
【0290】
まず、ステップS40−001において、前記の次の受信モード保持領域next_modeの内容を、RAM103上のワークエリアに確保された現在の受信モード保持領域cur_modeにコピーし、ステップS40−002に進む。
【0291】
ステップS40−002では、前記の現在の受信モード保持領域cur_modeが、どの受信モードを示しているかを判断する。もし、現在の受信モードが「標準受信」であるならば、ステップS40−003に進む。
【0292】
ステップS40−003では、該受信画像のメモリ受信属性mem_attrを、メモリ受信ではないことを示すOFFに設定し、ステップS40−004に進む。
【0293】
また、ステップS40−003では、該受信画像のメモリ受信時の即時記録属性imm_prn_attrを、メモリ受信時の即時記録でないことを示すOFFに設定し、受信モード保存の処理を終了する。
【0294】
一方、ステップS40−002において、現在の受信モードが「標準受信」でないならば、すなわち、現在の受信モードが「メモリ受信」または「メモリかつ記録受信」であるならば、ステップS40−005に進む。
【0295】
ステップS40−005では、該受信画像のメモリ受信属性mem_attrを、メモリ受信であることを示すONに設定し、ステップS40−006に進む。
【0296】
次に、ステップS40−006において、前記の現在の受信モード保持領域cur_modeが、「メモリ受信」と「メモリかつ記録受信」のいずれの受信モードを示しているかを判断する。もし、現在の受信モードが「メモリ受信」であるならば、ステップS40−003に進み、前記のように、該受信画像のメモリ受信時の即時記録属性imm_prn_attrを、メモリ受信時の即時記録でないことを示すOFFに設定し、受信モード保存の処理を終了する。
【0297】
一方、ステップS40−006において、現在の受信モードが「メモリかつ記録受信」であるならば、ステップS40−007に進む。
【0298】
ステップS40−007では、該受信画像のメモリ受信時の即時記録属性imm_prn_attrを、メモリ受信時の即時記録であることを示すONに設定し、受信モード保存の処理を終了する。
【0299】
図41は、本実施形態例のファクシミリ装置において、記録を待っている受信画像を周期的に監視する記録待ち受信画像監視タスクの動作を示すフローチャートである。
【0300】
まず、ステップS41−001において、受信画像列の中から記録を待っている受信画像を検索する。もし、メモリ受信属性mem_attr=OFFを満たす受信画像、または、メモリ受信属性mem_attr=ONかつメモリ受信時の即時記録属性imm_prn_attr=ONを満たす受信画像が存在するならば、すなわち、受信モードが「標準受信」の時に受信した画像、または、受信モードが「メモリかつ記録受信」の時に受信した画像が受信画像列の中に存在するならば、ステップS41−002に進み、そうでなかったならば、ステップS41−009に進む。
【0301】
ステップS41−002では、記録タスク(図19参照)を起動し、該受信画像の記録を依頼して、ステップS41−003に進む。
【0302】
ステップS41−003では、ステップS41−002における記録タスクの起動が成功したか否かを判断する。もし、記録タスクの起動が成功したならばステップS41−004に進み、そうでなかったならばステップS41−009に進む。
【0303】
記録タスクの起動が成功したならば、ステップS41−004において、記録タスクの終了を待つ。記録タスクの終了が検出されたならば、ステップS41−005に進む。
【0304】
ステップS41−005では、記録タスクの終了が正常であったか否かを判断する。もし、正常に終了したならばステップS41−006に進み、そうでなかったならばステップS41−009に進む。
【0305】
ステップS41−006では、該受信画像のメモリ受信属性mem_attrがメモリ受信を示しているか否かを判断する。もし、mem_attr=ONが偽ならば、すなわち、該受信画像が受信モードが「標準受信」の時に受信した画像であるならばステップS41−007に進み、mem_attr=ONが真ならば、すなわち、該受信画像が受信モードが「メモリかつ記録受信」の時に受信した画像であるならばステップS41−008に進む。
【0306】
ステップS41−007では、受信モードが「標準受信」の時に受信した該受信画像をRAM103の画像メモリ上から消去し、ステップS41−009に進む。
【0307】
他方、ステップS41−008では、受信モードが「メモリかつ記録受信」の時に受信した該受信画像のメモリ受信時の即時記録属性imm_prn_attrを、メモリ受信時の即時記録が終了したことを示すOFFに設定し、ステップS41−009に進む。
【0308】
ステップS41−009では、記録を待っている受信画像を周期的に監視する記録待ち受信画像監視タスクを一定時間停止させ、再びステップS41−001に戻る。
【0309】
以上の処理により、本実施形態例におけるファクシミリ装置は、特に受信中であるか否かにかかわらず、常時情報処理端末109からの受信モード変更指示コマンドを受け付ける。また、もし受信中に受信モードの変更要求があったとしても、該受信事象は該事象が開始されたときの受信モードに基づいてファクシミリ受信され、次の受信事象から変更された受信モードに基づいてファクシミリ受信される。
【0310】
以上の処理によれば、画像通信装置は、受信した画像を一旦メモリに蓄積してプリンタ部へ出力し、プリンタ部で記録が終了した後にメモリからその画像を消去するモードと、受信した画像をプリンタ部で記録せずにすべてメモリに蓄積するモードに加えて、受信した画像をメモリに蓄積してプリンタ部へ出力するが、プリンタ部で記録が終了した後もメモリにその画像を保持するモードを選択できるようになる。
【0311】
また、上記モードを情報処理端末から変更できるようになる。
【0312】
また、情報処理端末からの指示に基づいて、受信に関する情報を送信とは分離し、さらに受信の状況として受信中も通知可能になる。
【0313】
また、情報処理端末からの指示に基づいて、1度出力した受信結果に関する情報は、再度を通知しないようにすることができる。
【0314】
また、情報処理端末から指示に基づいて受信モードを変更する場合、受信モードの変更が実行可能である旨を完全に情報処理端末に出力できたときのみ実行し、またタイマを設けて、もし所定時間内に実行可能である旨が出力できなかった場合には、受信モードの変更の処理を中止するようになる。
【0315】
また、情報処理端末から指示に基づいて受信情報を出力する場合、受信情報が完全に情報処理端末に出力できたときのみ通知が完了したことを記憶し、またタイマを設けて、もし所定時間内に受信情報が出力できなかった場合には、通知が完了したことを記憶しないようになる。
【0316】
8.受信情報取得(GETRECEIVEINFO.)処理
図42は、本実施形態例におけるファクシミリ装置の受信に関する情報を情報処理端末109に転送する受信情報取得(通知)の動作を示すフローチャートである。
【0317】
図8のコマンド処理タスクにおいて、インタフェース制御タスクからのメッセージを受け取り、そのコマンドが受信情報取得コマンドであったならば、GETRECEIVEINFO.の処理が実行される。
【0318】
まず、ステップS42−001において、情報処理端末109に未通知のメモリ受信に関する通信情報が存在するか否かを判断する。もし、図44に示される通信管理情報の通信種別44−005が「受信」かつ「情報処理端末109からの指示による通信」を示し、さらに、通信管理レポート出力履歴情報44−011が受信情報の未通知を示すような通信管理情報が存在するならば、その中で最も古い通信管理情報を選択し、ステップS42−002に進む。なお、通信管理情報の通信種別44−005上の「情報処理端末109からの指示による通信」を示すデータは、その通信が受信である場合、受信の後処理で通信管理情報を更新するときに、該受信画像のメモリ受信属性がメモリ受信であることを示しているならば、自動的に設定される。
【0319】
ステップS42−002では、ステップS42−001で選択された通信管理情報から、受信済みを示す受信情報を生成する。ここで、受信情報は図43のように構成される。本ステップでは、受信状況43−001を「受信済み」に設定し、受付番号43−002には通信管理情報の通信管理番号44−001の内容をコピーする。また、本実施形態例のファクシミリ装置では、1回の受信によって1つの受信画像ファイルが生成されるので、通信管理番号をファイルIDとみなす。したがって、ファイルID43−003にも通信管理情報の通信管理番号44−001の内容をコピーする。さらに、ファイル確定フラグ43−004を「確定」に設定して、ステップS42−006に進む。
【0320】
一方、ステップS42−001において、情報処理端末109に未通知のメモリ受信に関する通信情報が1つも存在しないならば、ステップS42−003に進む。
【0321】
ステップS42−003では、現在、メモリ受信中であるか否かを判断する。もし、現在受信中であって、かつ、その受信画像のメモリ受信属性がメモリ受信であることを示しているならば、ステップS42−004に進む。
【0322】
ステップS42−004では、受信中を示す受信情報を生成する。すなわち、受信状況43−001を「受信済み」に設定し、受付番号43−002およびファイルID43−003に該受信の通信管理番号をコピーし、さらにファイル確定フラグ43−004を「未確定」に設定して、ステップS42−006に進む。一方、ステップS42−003において、現在受信中でないか、または、受信中であってもその受信画像のメモリ受信属性がメモリ受信であることを示していないならば、ステップS42−005に進む。
【0323】
ステップS42−005では、未受信を示す受信情報を生成する。すなわち、受信状況43−001を「未受信」に設定し、受付番号43−002およびファイルID43−003に存在しないことを示す値をコピーし、さらにファイル確定フラグ43−004を「未確定」に設定して、ステップS42−006に進む。
【0324】
ステップS42−006では、OKレスポンスおよびステップS42−002またはS42−004またはS42−005で生成された受信情報をメッセージとしてインタフェース制御タスクに送り、OKおよび受信情報の返送を依頼し、ステップS42−007に進む。
【0325】
ステップS42−007において、OKおよび受信情報の返送が成功したことを示すインタフェース制御タスクからのメッセージを受けたならばステップS42−009に進み、そうでなかったならばステップS42−008に進む。
【0326】
ステップS42−008において、OKおよび受信情報の返送が規定時間内に成功しなかったことを示すインタフェース制御タスクからのメッセージを受けたならば、何もせずにGETRECEIVEINFO.の処理を終了し、そうでなかったならばステップS42−007に戻る。
【0327】
ステップS42−009では、ステップS42−006において返送を依頼した受信情報が、受信済みを示す情報であったか否かを判断する。もし、返送を依頼した受信情報が受信済みを示す情報であったならばステップS42−010に進み、そうでなかったならばGETRECEIVEINFO.の処理を終了する。
【0328】
ステップS42−010では、ステップS42−002において返送する受信情報を生成する時に参照した通信管理情報の通信管理レポート出力履歴情報44−011を、受信情報の通知済みを示すように更新し、GETRECEIVEINFO.の処理を終了する。
【0329】
以上の処理により、本実施形態例におけるファクシミリ装置は、情報処理端末109が画像データを操作するうえで特に必要になる、受信モードが「メモリ受信」または「メモリかつ記録受信」の時の受信事象に関する受信情報を、既存の通信管理情報と異なる新たな構造の情報を設けることなく、受信モードが「標準受信」の時の受信事象に関する受信情報とは完全に分離して通知する。
【0330】
9.通信管理受付番号取得(GETACTIVITYID)処理
図44,45に従って通信管理受付番号取得(GETACTIVITYID)処理を説明する。
【0331】
図44は、ファクシミリのRAM(103)に記録されている通信管理情報の構成を、図45は制御の流れを表わした図である。
【0332】
図44の通信管理番号44−1から通信管理レポート出力履歴44−11までのひとかたまりが、1つの通信の通信管理情報を記録する単位ブロックであり、ファクシミリのRAM103には20通信分の領域が確保されている。
【0333】
この通信管理情報は、最新の20通信の情報を記録するようにしており、入りきらなくなれば1番古い通信から順に上書きしていく。
通信管理番号44−1は、通信毎に割り当てられるID番号である。
相手先電話番号44−2は、通信の相手先の電話番号である。
相手先名称44−3は、通信の相手先の名称である。
通信プロトコル種別44−4は、通信で用いられた、通信プロトコルであり、G3,ECM,G4の種別がある。
通信種別44−5は、通信の通信分類であり、以下の要素の組み合わせからなる。
送信
受信
ポーリング
同報
親展
中継
中継指示
中継結果
メモリ
タイマー
手動
F網
電話
情報処理端末109からの指示による通信
予約時刻44−6は、予約中の通信について有効であり、予約時刻である。
通信時間44−7は、通信の所要時間であり、単位は秒である。
通信開始時刻44−8は、通信を開始した時刻であり、年月日時分秒の要素がある。
ページ数44−9は、通信のページ数である。
通信結果44−10は、通信の結果であり、正常終了、エラー終了のどちらかの値となる。
通信管理レポート出力履歴情報44−11は、その通信の通信管理情報が過去に通信管理レポートに出力されたことがあるか否かの情報である。
この履歴情報44−11は、ファクシミリ本体の通信管理レポート出力に対するものと、情報処理端末109への通信管理情報の送出に対するものの、2通りの情報を独立して持っている。
【0334】
図45のS45−1において、RAM103内のワークエリアに記録されている通信管理情報の中から、図44の通信管理番号44−1を読み出してRAM103内の画像バッファ上に送出パラメータを生成し、S45−2でこの送出パラメータとOKレスポンスの送出をI/F制御タスクに依頼し、終了する。
【0335】
10.通信管理情報取得(GETACTIVITYINFO.)処理
この処理は、情報処理端末109に通信管理情報を送出し、情報処理端末109上での通信管理情報の参照を実現するためのものである。
【0336】
この処理では、情報処理端末109に送出するデータ量が多いため、送出パラメータの加工を画像バッファ上で行う。複数の画像バッファを利用する処理が同時に行われると互いにデータを破壊しあう可能性があるため、GETACTIVITYINFO.処理を行っている時には、他の画像バッファを利用する処理は行うことができない。
【0337】
以下、図44,46〜48に従って説明する。
【0338】
図44は、ファクシミリのRAM103に記録されている通信管理情報の構成を、図46、図47は制御の流れを、図48はファクシミリ本体の通信管理レポートを表わした図である。
【0339】
図46のS46−1においてローカルオペレーション中か否かを判断する。ローカルオペレーション中であれば、通信に移行して画像バッファを使用する可能性があるため、S46−13に遷移してBUSYレスポンスの送出をI/F制御タスクに依頼し、終了する。
【0340】
S46−1においてローカルオペレーション中でなかった場合はS46−2でローカルオペレーションを禁止し、S46−3に遷移し、通信中か否かを判断する。
【0341】
通信中の場合は、画像バッファを使用する可能性があるため、S46−13に遷移しBUSYレスポンスの送出をI/F制御タスクに依頼し、終了する。
【0342】
通信中でない場合は、S46−4で通信を禁止し、S46−5に遷移し、RAM103に記録されている通信管理情報の中に、コマンドに付属して送られてくる受信パラメータによって指定された通信管理番号の通信の通信情報が存在するか否かを判断する。
【0343】
指定された通信の情報がなければS46−12に遷移し、NGレスポンスの送出をI/F制御タスクに依頼し、終了する。指定された通信の情報が存在すれば、S46−6に遷移してLEDをオンにし、S46−7に遷移する。
【0344】
S46−7では、RAM103のワークエリアに記録されている通信管理情報から、I/F制御タスクに渡す送出パラメータをRAM103の画像バッファ上に生成し、S46−8に遷移する。I/F制御タスクに渡す送出パラメータには、以下のものがある。
・相手先電話番号
・相手先名称
・通信プロトコル種別(ECM,G3)
・通信種別(手動−自動,受信−送信,ポーリング,中継,中継指示,同報,タイマー,親展,メモリー,通信指示元(ファクシミリ−情報処理端末109)等)
・予約時刻
・通信時間
・通信開始時刻(年月日を含む)
・ページ数
・通信結果(成功−失敗)
・通信管理レポート出力履歴情報(ファクシミリ本体−情報処理端末109の区別有り)
通信種別44−5の中の通信指示元は、その通信がファクシミリ本体のオペレータパネルからの指示によるものなのか、あるいは情報処理端末109からの指示によるものなのかの区別をつけるためのものである。
【0345】
また、通信管理レポート出力履歴情報44−11は、過去にその通信の通信管理情報をファクシミリ本体からレポート出力したことがあるか否か、および過去にその通信の通信管理情報を情報処理端末109に送出したことがあるか否か、の履歴情報である。
【0346】
これらの情報によって、操作者はファクシミリの使用状況をより的確に知ることができる。
【0347】
S46−8では、S46−7で生成した送出パラメータとOKレスポンスの送出を、I/F制御タスクに依頼する。
【0348】
S46−9では、情報処理端末109が正常にOKレスポンスおよび送出パラメータを受信したというI/F制御タスクからの受信メッセージを待つ。
【0349】
このメッセージがある時間内に返ってこなければ、情報処理端末109が正常にOKレスポンスおよび送出パラメータを受信していないと判断し、S46−11に遷移する。
【0350】
正常に送出パラメータおよびOKレスポンスを受信したという受信メッセージをI/F制御タスクから受けた場合は、情報処理端末109が正常に送出パラメータおよびOKレスポンスを受信したと判断し、S46−10へ遷移する。
【0351】
S46−10では、情報処理端末109へ通信情報を正常に通知した通信について、RAM103の通信管理情報記録内の通信管理レポート出力履歴情報部分44−11に、情報処理端末109への通知済み情報を記録し、S46−11へ遷移する。
【0352】
S46−11では、LEDをオフし、終了する。図47はファクシミリ本体の操作によるファクシミリ本体での通信管理レポートの出力の流れ図である。
【0353】
図47のS47−1においてRAM103の中から、通信管理情報が記録されているすべての通信について、通信管理情報を読み取る。
【0354】
次に、S47−2でこの通信管理情報をレポート形式でプリンタ部2から出力する。
【0355】
図48はこの通信管理情報のレポートである。
【0356】
図48の出力済みマーク * 48−1は、過去にその通信の通信管理情報をファクシミリ本体から出力したことがある、という情報を表わしている。
【0357】
この通信管理レポート出力履歴情報は、ファクシミリ本体の操作によってファクシミリ本体に出力したものについての情報である。
【0358】
情報処理端末109へ通信管理情報を送出したか否かの履歴については、ファクシミリ本体に出力した履歴と区別している。
【0359】
このため、ファクシミリ本体のオペレータだけでなく、情報処理端末109のオペレータも新しい情報を見分けることが可能となる。
【0360】
以上の処理によれば、オペレーション・パネルの操作による通信の通信管理情報か、または情報処理端末の指示による通信の通信管理情報かを区別することができ、さらに通信管理情報がファクシミリ本体の通信管理レポート出力に出力されたか否かおよび情報処理端末へ送出されたことがある通信管理情報であるか否かが区別できるようになる。
【0361】
また、画像データを一時的に蓄積するバッファと通信管理情報を一時的に蓄積するバッファを兼用することによって、メモリの有効活用が可能になる。
【0362】
11.ファイルID取得(GETFILE ID)処理
図49は、本実施形態例における画像通信装置のRAM103上の画像メモリに格納されている画像ファイルを識別するためのファイルIDに関する情報を情報処理端末109に転送するファイルID転送の動作を示すフローチャートである。
【0363】
図8および図9のコマンド処理タスクにおいて、インタフェース制御タスクからのメッセージを受け取り、そのコマンドがファイルID取得コマンドであったならば、GETFILE IDの処理が実行される。
【0364】
まず、ステップS49−001において、ファイルID取得コマンドで最新ファイルのID取得を要求されたか否かを判断する。もし、最新ファイルのID取得を要求されたならば、ステップS49−002に進む。
【0365】
ステップS49−002では、ファイルID取得コマンドで指定されたファイルタイプの最新ファイルID情報を生成し、ステップS49−004に進む。なお、詳細は後述する。
【0366】
一方、ステップS49−001において、最新ファイルのID取得を要求されていないならば、ステップS49−003に進む。
【0367】
ステップS49−003では、ファイルID取得コマンドで指定されたファイルタイプのファイルIDの一覧情報を生成し、ステップS49−004に進む。なお、詳細は後述する。
【0368】
ステップS49−004では、OKレスポンスおよびステップS49−002またはステップS49−003で生成されたファイルID情報をメッセージとしてインタフェース制御タスクに送り、OKおよびファイルID情報の返送を依頼し、GETFILE IDの処理を終了する。
【0369】
図50は、図49のステップS49−002の最新ファイルID情報の生成の処理を詳細に記述したフローチャートである。
【0370】
まず、ステップS50−001において、ファイルID取得コマンドで指定されたファイルタイプが、「スキャナ読込ファイル」、「ホスト転送ファイル」、「FAX受信ファイル」、「ローカルファイル」のうちのどのタイプであるかを判断する。それぞれのファイルタイプは、次のファイルを意味し、対応する処理が実行されたとき、ファイルタイプを識別する値が、RAM103の画像メモリに格納されている画像ファイルを管理する画像列の個々の領域に自動的に設定される。
・スキャナ読込ファイル情報処理端末109のSCANTOFAX指示によって読み込まれたファイル
・ホスト転送ファイル情報処理端末109のDOWNLOAD指示によって転送されたファイル
・FAX受信ファイル情報処理端末109のRECEIVE指示で受信モードが「メモリ受信」または「メモリかつ記録受信」に設定されているときに受信されたファイル
・ローカルファイル上記以外、すなわち、情報処理端末109の指示によらないファイル
もし、ステップS50−001において、指定されたファイルタイプが、「スキャナ読込ファイル」であったならばステップS50−002に、「ホスト転送ファイル」であったならばステップS50−003に、「FAX受信ファイル」であったならばステップS50−004に、「ローカルファイル」であったならばステップS50−005にそれぞれ分岐する。
【0371】
ステップS50−002では、SCANTOFAXの処理が実行されたときに自動的に設定される、RAM103上のワークエリアの最新スキャナ読込ファイルID格納領域latest_scanの内容を、RAM103上のワークエリアに用意された最新ファイルID格納領域file_idにコピーし、ステップS50−006に進む。
【0372】
ステップS50−003では、DOWNLOADFILEの処理が実行されたときに自動的に設定される、RAM103上のワークエリアの最新ホスト転送ファイルID格納領域latest_downの内容を、RAM103上のワークエリアに用意された最新ファイルID格納領域file_idにコピーし、ステップS50−006に進む。
【0373】
ステップS50−004では、RECEIVE指示で受信モードが「メモリ受信」または「メモリかつ記録受信」に設定されている状態において受信の処理が実行されたときに自動的に設定される、RAM103上のワークエリアの最新FAX受信ファイルID格納領域latest_receiveの内容を、RAM103上のワークエリアに用意された最新ファイルID格納領域file_idにコピーし、ステップS50−006に進む。
【0374】
ステップS50−005では、上記以外の処理、すなわち、情報処理端末109の指示によらないローカルオペレーションの処理が実行されたときに自動的に設定される、RAM103上のワークエリアの最新ローカルファイルID格納領域latest_localの内容を、RAM103上のワークエリアに用意された最新ファイルID格納領域file_idにコピーし、ステップS50−006に進む。
【0375】
ステップS50−006では、ステップS50−002、ステップS50−003、ステップS50−004、またはステップS50−005においてコピーされた最新ファイルID格納領域file_idの内容が有効であるか否かを判断する。もし、file_idの内容が有効であるならば、すなわち、最新ファイルが存在するならば、ステップS50−007に進む。一方、file_idの内容が無効であるならば、すなわち、指定されたファイルタイプの画像ファイルを生成する処理が実行されていないなどの理由で、最新ファイルが存在しないならば、ステップS50−008に進む。
【0376】
ステップS50−007では、ファイルID情報の直前に付加されるヘッダデータを生成する。このヘッダデータには、後に続くファイルID情報の長さLENを含み、これをファイルID情報の直前に付加することによって、情報処理端末109は可変長になり得るファイルID情報を容易に取得することができるようになる。ここでは、後に続くファイルID情報の長さLENを1つのファイルID情報の長さLdに設定したヘッダデータを、予めRAM103上に用意され、前記ステップS49−004の返送依頼において使用されるファイルID情報の領域にセットし、ステップS50−009に進む。
【0377】
一方、ステップS50−008では、後に続くファイルID情報が存在しないことを示すため、長さLENを0に設定したヘッダデータを、予めRAM103上に用意され、前記ステップS49−004の返送依頼において使用されるファイルID情報の領域にセットし、最新ファイルID情報の生成の処理を終了する。
【0378】
ステップS50−009では、最新ファイルID格納領域file_idの内容を、ステップS50−007においてセットしたヘッダデータの直後の領域にセットし、最新ファイルID情報の生成の処理を終了する。
【0379】
図51は、図49のステップS49−003のファイルID一覧情報の生成の処理を詳細に記述したフローチャートである。
【0380】
まず、ステップS51−001において、前記RAM103の画像メモリに格納されている画像ファイルを管理する画像列を検索し、指定されたファイルタイプの値を持つ画像ファイルの個数Nを求め、ステップS51−002に進む。ステップS51−002では、ステップS51−001において求められた画像ファイルの個数Nが正数であるか否か判断する。もし、Nが正数であるならば、すなわち、指定されたファイルタイプの画像ファイルが存在するならば、ステップS51−003に進み、そうでなかったならば、すなわち、指定されたファイルタイプの画像ファイルを生成する処理が実行されていないなどの理由で、画像ファイルがひとつも存在しないならば、ステップS51−004に進む。ステップS51−003では、ファイルID情報の直前に付加されるヘッダデータを生成する。このヘッダデータには、後に続くファイルID情報の長さLENを含み、これをファイルID情報の直前に付加することによって、情報処理端末109は可変長になり得るファイルID情報を容易に取得することができるようになる。ここでは、後に続くファイルID情報の長さLENを長さLdのファイルID情報がN個存在することを示すLd×Nに設定したヘッダデータを、予めRAM103上に用意され、前記ステップS49−004の返送依頼において使用されるファイルID情報の領域にセットし、ステップS51−004に進む。
【0381】
ステップS51−004では、ステップS51−001と同様に、再度画像列を検索し、指定されたファイルタイプの値を持つ画像ファイルのファイルIDを、ステップS50−007においてセットしたヘッダデータの直後の領域に連続的にセットし、ファイルID一覧情報の生成の処理を終了する。
【0382】
一方、ステップS51−005では、後に続くファイルID情報が存在しないことを示すため、長さLENを0に設定したヘッダデータを、予めRAM103上に用意され、前記ステップS49−004の返送依頼において使用されるファイルID情報の領域にセットし、ファイルID一覧情報の生成の処理を終了する。
【0383】
以上の処理により、本実施形態例における画像通信装置は、情報処理端末109から指定された最新ファイルID情報、またはファイルID一覧情報を、指定されたファイルタイプごとに分離して情報処理端末109に転送する。
【0384】
また、本実施形態例における画像通信装置は、情報処理端末109が可変長になり得るファイルID情報を容易に取得できるように、ファイルID情報の直前にファイルID情報のデータ長を含むヘッダデータを付加し、指定された最新ファイルID情報、またはファイルID一覧情報を、指定されたファイルタイプごとに分離して情報処理端末109に転送する。
【0385】
以上の処理によれば、画像通信装置は、個々の画像ファイルを識別するための識別コードに加えて、個々の画像ファイルが生成された経緯を示す種別コードを管理することによって、外部情報処理端末から指定された画像ファイルの識別コード、あるいは識別コードの一覧情報を、指定された種別コードごとに分離して外部情報処理端末に転送することが可能になる。
【0386】
また、画像通信装置は、外部情報処理端末の指示に基づいて識別コードの情報を出力するとき、その情報に出力される情報の長さを表わすコードを付加することにより、外部情報処理端末がたとえ高速なインタフェースであっても少ない負荷で、可変長になり得る識別コードの情報を取得させることができるようになる。
【0387】
12.ファイル情報取得(GET FILE INFO.)処理
図52は、本実施形態例におけるファクシミリ装置のRAM103上の画像メモリに格納されている画像データのファイル単位の情報を情報処理端末に送出する、ファイル情報取得コマンドの動作を示すフローチャートである。図53はファイル情報の構成を表わす図である。
【0388】
図9のコマンド処理タスクにおいて、インタフェース制御タスクからのメッセージを受け取り、そのコマンドがファイル情報取得コマンドであったならば、GET FILE INFO.の処理が実行される。
【0389】
まず、ステップS52−1において、ファイル情報取得コマンドで指定されたファイルが、存在するか否かを判定する。もし、指定されたファイルが存在しないならば、S52−2に進む。
【0390】
ステップS52−2では、指定ファイルなしを示すNGレスポンスをメッセージとしてインタフェース制御タスクに送り、終了する。
【0391】
一方、ステップS52−1において、指定されたファイルが存在するならば、ステップS52−3に進む。
【0392】
ステップS52−3では、ファクシミリ本体のRAM103上に格納されている管理情報から図53に示す構成のファイル情報の生成を行いステップS52−4に進む。ファイル情報には以下の構成要素がある。
・ファイルタイプ53−1 指定されたファイルのタイプ(スキャナ読込ファイル,ホスト転送ファイル,FAX受信ファイル,ローカルファイル)
・ページ数53−2 指定されたファイルのページ数
ステップS52−4では、OKレスポンスとステップS52−3において生成されたファイル情報をメッセージとしてインタフェース制御タスクに送り、OKレスポンスおよびファイル情報の返送を依頼し、GET FILE INFO.の処理を終了する。
【0393】
13.ページ情報取得(GET PAGE INFO.)処理
図54は、本実施形態例におけるファクシミリ装置のRAM103上の画像メモリに格納されている画像データのページ単位の情報を情報処理端末に送出する、ページ情報取得コマンドの動作を示すフローチャートである。図55はページ情報の構成を表わす図である。
【0394】
図9のコマンド処理タスクにおいて、インタフェース制御タスクからのメッセージを受け取り、そのコマンドがページ情報取得コマンドであったならば、GET PAGE INFO.の処理が実行される。
【0395】
まず、ステップS54−1において、ページ情報取得コマンドで指定されたファイルが、存在するか否かを判定する。もし、指定されたファイルが存在しないならば、S54−2に進む。
【0396】
ステップS54−2では、指定ファイルなしを示すNGレスポンスをメッセージとしてインタフェース制御タスクに送り、終了する。
【0397】
一方、ステップS54−1において、指定されたファイルが存在するならば、ステップS54−3に進む。
【0398】
ステップS54−3では、ページ情報取得コマンドで指定されたページが、存在するか否かを判定する。もし、指定されたページが存在しないならば、S54−4に進む。
【0399】
ステップS54−4では、指定ページなしを示すNGレスポンスをメッセージとしてインタフェース制御タスクに送り、終了する。
【0400】
一方、ステップS54−3において、指定されたページが存在するならば、ステップS54−5に進む。
【0401】
ステップS54−5では、ファクシミリ本体のRAM103上に格納されている管理情報から図55に示す構成のページ情報の生成を行いステップS54−6に進む。ページ情報には以下の構成要素がある。
・符号化方式55−1 指定されたページの符号化形式
(MH,MR,MMR)
・主走査解像度55−2 指定されたページの主走査解像度
(8dot/mm)
・副走査解像度55−3 指定されたページの副走査解像度
(7.7,3.85dot/mm)
主走査長55−4 指定されたページの主走査画像サイズ
(A4)
・副走査ライン数55−5 指定されたページの副走査ライン数
”0”の場合は不定を表わす
・データ量55−6 ファクシミリが指定されたページを格納する際に必要な、冗長な部分を含めたデータ量、ただしデータ転送時のデータ長とは、必ずしも一致しない
ステップS54−6では、OKレスポンスとステップS54−5において生成されたページ情報をメッセージとしてインタフェース制御タスクに送り、OKレスポンスおよびページ情報の返送を依頼し、GET PAGE INFO.の処理を終了する。
【0402】
14.ファイル消去(DELETE FILE)処理
DELETEFILE処理は、情報処理端末109の指示によってファクシミリのRAM103上に生成された画像ファイルの削除を行うものである。情報処理端末によって生成される画像ファイルには以下のものがある。
・スキャナ読込ファイル情報処理端末109のSCAN TOFAX指示によって読み込まれたファイル
・ホスト転送ファイル 情報処理端末109のDOWNLOAD指示によって転送されたファイル
・FAX受信ファイル 情報処理端末109のRECEIVE指示によって受信モードが「メモリ受信」または「メモリかつ記録受信」に設定されているときに受信されたファイル
図56は、本実施形態例におけるファクシミリ装置のRAM103上の画像メモリに格納されている画像データを、ファクシミリ装置が管理しているファイル単位で削除するファイルデリートの動作を示すフローチャートである。
【0403】
図9のコマンド処理タスクにおいて、インタフェース制御タスクからのメッセージを受け取り、そのコマンドがファイル消去指示コマンドであったならば、DELETEFILEの処理が実行される。
【0404】
まず、ステップS56−1において、ファイル消去指示コマンドで指定されたファイルが、存在するか否かを判定する。もし、指定されたファイルが存在しないならば、S56−2に進む。
【0405】
ステップS56−2では、指定ファイルなしを示すNGレスポンスをメッセージとしてインタフェース制御タスクに送り、終了する。
【0406】
一方、ステップS56−1において、指定されたファイルが存在するならば、ステップS56−3に進む。
【0407】
ステップS56−3では、指定されたファイルがローカルファイルか否かを判定する。もし、指定されたファイルがローカルファイルならば、S56−4へ進む。
【0408】
ステップS56−4では、指定ファイル無効を示すNGレスポンスをメッセージとしてインタフェース制御タスクに送り、終了する。
【0409】
一方、ステップS56−3において、指定されたファイルがローカルファイルでなければ、ステップS56−5に進む。
【0410】
ステップS56−3,S56−4の処理により、DELETEFILE処理によってローカルファイルの削除は禁止される。同様に、情報処理端末によって生成されたファイルは、ローカルオペレーションによって削除することはできない。
【0411】
ステップS56−5では、指定されたファイルが記録中であるか否かを判定する。もし、指定されたファイルが記録中ならば、S56−6へ進む。
【0412】
ステップS56−6では、指定ファイル無効を示すNGレスポンスをメッセージとしてインタフェース制御タスクに送り、終了する。
【0413】
一方、ステップS56−5において、指定されたファイルが記録中でなければ、ステップS56−7に進む。
【0414】
ステップS56−7では、指定されたファイルが通信中であるか否かを判定する。もし、指定されたファイルが通信中ならば、S56−8へ進む。
【0415】
ステップS56−8では、指定ファイル無効を示すNGレスポンスをメッセージとしてインタフェース制御タスクに送り、終了する。
【0416】
一方、ステップS56−7において、指定されたファイルが通信中でなければ、ステップS56−9に進む。
【0417】
ステップS56−9では、指定されたファイルが記録待機中または通信待機中であるか否かを判定する。もし、指定されたファイルが記録待機中または通信待機中ならば、ステップS56−10へ進む。
【0418】
ステップS56−10では、指定ファイル無効を示すNGレスポンスをメッセージとしてインタフェース制御タスクに送り、終了する。
【0419】
一方、ステップS56−9において、指定されたファイルが記録待機中または通信待機中でなければ、ステップS56−11に進む。
【0420】
S56−5〜S56−10では、削除すべき対象のファイルが、アクセス中(記録中、通信中)またはアクセス予約中(記録、通信予約中)であれば、削除を禁止している。ただし、アクセス中またはアクセス中のファイルが存在しても、削除すべき対象のファイルとは別のファイルであれば、削除は禁止しない。
【0421】
ステップS56−11では、OKレスポンスをメッセージとしてインタフェース制御タスクに送り、その返送を依頼し、ステップS56−12へ進む。
【0422】
ステップS56−12において、OKレスポンスの返送が成功したことを示すインタフェース制御タスクからのメッセージを受けたならばステップS56−14に進み、そうでなかったならばステップS56−13に進む。
【0423】
ステップS56−13において、OKレスポンスの返送が規定時間内に成功しなかったことを示すインタフェース制御タスクからのメッセージを受けたならば、何もせずにDELETE FILEの処理を終了し、そうでなかったならばステップS56−12に戻る。
【0424】
ステップS56−14では、指定されたファイルをRAM103上の画像メモリから消去し、DELETE FILEの処理を終了する。
【0425】
以上の処理により、本実施形態例におけるファクシミリ装置は、通信中、記録中、通信待機中、記録待機中、情報処理端末の指示によって生じたもの以外のファイルに対して、情報処理端末からの消去を禁止することが可能となる。
【0426】
15.ファクシミリ情報取得(FAXINFO.)処理
この処理は、ファクシミリのROMバージョン,メーカー名,機種名,情報処理端末とのI/Fのバージョンを情報処理端末に送出するものである。
【0427】
ファクシミリのROMバージョンと情報処理端末とのI/Fのバージョンを別々に管理し、これを情報処理端末に送出することで、ROMバージョンと情報処理端末とのI/Fのバージョンの対応表がなくても、ファクシミリがどのバージョンの情報処理端末とのI/Fをサポートしているのかを情報処理端末が知ることができる。
【0428】
これにより、情報処理端末上で動作するアプリケーションソフトは、自分のバージョン情報と前記I/Fのバージョン情報により情報処理端末に接続されているファクシミリが利用できるか否かを知ることができる。また、情報処理端末上で動作するアプリケーションソフトは機種名も知ることができるため、その機種がサポートしている機能を知ることができる。そこで、情報処理端末上で動作するアプリケーションソフトに全ての機種の機能を包括して持たせれば、情報処理端末上で動作するアプリケーションソフトの機種間の共通化が可能となる。
【0429】
以下、図57に従って説明する。
【0430】
S57−1において、ファクシミリのROMバージョン,メーカー名,機種名,情報処理端末とのI/FのバージョンをROM102から読み出し、送出パラメータを生成する。
【0431】
S57−2においてOKレスポンスの送出をI/F制御タスクに依頼し、終了する。
【0432】
16.電話発呼(SIMPLEDIAL)処理
この処理は、情報処理端末109からの指示によって、ファクシミリがオンフックダイヤルをするものである。
【0433】
オンフックダイヤルとは、ハンドセットをフックにかけたままの状態で、回線を捕捉し、ダイヤルすることである。ファクシミリ本体のオペレーションパネルの操作においては、オンフックボタンを押下し、その後ダイヤル操作をすることでオンフックダイヤルが実行される。
【0434】
以下、図58〜図63に従って説明する。
【0435】
図58〜図60は受信コマンドがSIMPLEDIALであった場合に呼ばれるSIMPLEDIAL処理の流れ図を、図61〜図63はSIMPLEDIAL処理と並列に動いているオンフック処理の流れ図を表わしている。
【0436】
まず、図58のS58−1において、オンフックダイヤルが可能か否かをチェックする子処理”発呼条件チェック”(詳細後述)を呼び出す。
チェックの結果、オンフックダイヤルが可能でなければS58−2を経て、S58−8でBUSYレスポンスの送出をI/F制御タスクに依頼し、終了する。
チェックの結果、オンフックダイヤルが可能であればS58−3に遷移し、発呼指示フェーズがアイドルであるか否かをチェックする。
チェックの結果、アイドルでなかった場合、S58−8でBUSYレスポンスの送出をI/F制御タスクに依頼し、終了する。
チェックの結果、アイドルであれば、S58−4へ遷移してLEDを点灯し、ローカルオペレーションができない状態であることをオペレータに示し、S58−5へ遷移する。
S58−5では、受信パラメータの中からダイヤル情報を取り出し、RAM103内のダイヤルバッファに記録する子処理”ダイヤル情報取得”(詳細後述)を呼び出す。
S58−6では、発呼指示フェーズを”ダイヤル待ち”にする。
S58−7では、OKレスポンスの送出をI/F制御タスクに依頼し、終了する。
【0437】
図59は、S58−1で呼ばれる子処理”発呼条件チェック”の流れ図である。
【0438】
発呼条件チェックでは、まずS59−1でローカルオペレーション中か否かを判断し、ローカルオペレーション中であれば59−6へ遷移し、NGを返して終了し、ローカルオペレーション中でなければS59−2へ遷移する。
59−2ではローカルオペレーションを禁止し、S59−3へ遷移する。
S59−3では、回線捕捉中であるか否かを判断し、回線捕捉中であればS59−6へ遷移し、NGを返して終了し、回線捕捉中でなければS59−4へ遷移する。
S59−4では、着信及び他の発呼(例えば時刻指定送信やリダイヤル待機中の送信)を禁止し、S59−5へ遷移する。S59−5では、OKを返し、終了する。
【0439】
図60は、S58−5で呼ばれる子処理”ダイヤル情報取得”の流れ図である。
【0440】
ダイヤル情報取得では、まずS60−1,S60−2でダイヤル種別毎に分岐する。
ダイヤル種別がテンキーダイヤルの場合は、S60−7で発呼指示ダイヤル種別に”テンキーダイヤル”を代入し、S60−8でテンキーダイヤル番号をダイヤルバッファに代入し、親プロシージャに返る。
ダイヤル種別がワンタッチダイヤルの場合は、S60−5で発呼指示ダイヤル種別に”ワンタッチダイヤル”を代入し、S60−6でワンタッチダイヤル番号をダイヤルバッファに代入し、親処理に返る。
ダイヤル種別がコーデッドダイヤルの場合は、S60−3で発呼指示ダイヤル種別に”コーデッドダイヤル”を代入し、S60−4でコーデッドダイヤル番号をダイヤルバッファに代入し、親処理に返る。
【0441】
図61〜図63はオンフックを制御しているタスクの流れ図である。
【0442】
このタスクでは、S61−1でオンフックキーが押下されたか否か、S61−2でSIMPLE DIAL処理によって発呼指示フェーズが”ダイヤル待ち”になったか否かを監視しており、この2つのステップがループになっている。
【0443】
オンフックキーが押下された場合には、S61−1からS62−1へ遷移する。
S62−1では、回線を捕捉し、S62−2でダイヤルを行う。
S62−2の処理が終わると、S62−3〜S62−6のループに入る。
S62−3では、オフフックされたか否かを判断し、オフフックされた場合はS62−11に遷移し、オフフックされていない場合はS62−4へ遷移する。
S62−1lでは、LEDをオフし、S62−12へ遷移する。
S62−12では、再びオンフックされるまで待ち、オンフックされるとS62−11へ遷移し、回線を解放してS61−1,S61−2のループへ戻る。
S62−4では、スタートキーが押下されたか否かを判断し、押下された場合はS62−7へ遷移し、押下されなかった場合はS62−5に遷移する。
S62−7では、LEDをオフし、S62−8へ遷移する。
S62−8では、送信または受信の処理をし、S62−9へ遷移する。
S62−9では、送信または受信が終了するまで待ち、終了すればS62−11へ遷移する。
S62−5では、オンフックキーが押下されたか否かを判断し、押下された場合はS62−10へ遷移し、押下されなかった場合はS62−6へ遷移する。
S62−6では、ストップキーが押下されたか否かを判断し、押下された場合はS62−10へ遷移し、押下されなかった場合はS62−3へ戻る。
S62−10では、LEDをオフし、S62−11に遷移する。
S62−11では、回線を解放し、S61−1,S61−2のループに戻る。
S61−2において、発呼指示フェーズが”ダイヤル待ち”になっていた場合は、S61−3へ遷移する。
S61−3では、回線捕捉を行いS61−4へ遷移する。
S61−4,S61−5では、発呼指示ダイヤル種別による分岐が行われ、発呼指示ダイヤル種別が”短縮”の場合はS61−6でダイヤルバッファ内の番号の短縮ダイヤルを行い、発呼指示ダイヤル種別が”ワンタッチ”の場合はS61−7でダイヤルバッファ内の番号のワンタッチダイヤルを行い、発呼指示ダイヤル種別が”テンキー”の場合はS61−8でダイヤルバッファ内の番号にテンキーダイヤルを行う。
【0444】
ダイヤルが終了すると呼び出しが始まり、S63−1〜S63−5のループに入る。
【0445】
このループではオフフック(S63−1)、スタートキーの押下(S63−2)、オンフックキーの押下(S63−3)、ストップキーの押下(S63−4)、発呼指示フェーズが”ストップ要求”になっているか否か、の監視(S63−5)を行っている。
【0446】
呼び出しに対して相手が応答した場合には、オペレータはハンドセットを取り通話をするので、S63−8へ遷移する。
【0447】
S63−8では、後述するRELEASE LINEによって回線解放されないように発呼指示ダイヤルフェーズを”アイドル”にした後、S62−12へ遷移する。
【0448】
呼び出しに対して相手が応答しない場合には、オペレータはオンフックキー、ストップキー、あるいはRELEASE LINE処理(後述)、によって回線を解放することができる。
【0449】
S63−3ではオンフックキーの押下を、S63−4ではストップキーの押下を、そしてS63−5ではRELEASE LINE処理(後述)の起動により発呼指示フェーズが”ストップ要求”になっているか否かを監視している。
【0450】
これらS63−3〜S63−5の条件が満たされれば、S63−6でLEDをオフし、S63−7で発呼指示フェーズを”アイドル”にし、S63−13で回線を解放し、S61−1,S61−2のループへ戻る。
【0451】
呼び出しに対して相手先が応答し、その後ファクシミリによる送信、または受信をする場合はオペレータがスタートキーを押下する。この場合、スタートキーの押下によって、S63−2から、S63−9へ遷移する。
【0452】
S63−9では、LEDをオフし、S63−10で発呼指示フェーズを”アイドル”とし、S63−11で送信または受信処理を行い、S63−12で送信または受信が終了するまで待つ。終了すれば、S63−13へ遷移し、回線を解放してS61−1へ戻る。
【0453】
以上の処理により、情報処理端末からの電話発呼が実現できる。
【0454】
17.呼切断(RELEASE LINE)処理
この処理は SIMPLE DIAL 処理によって起動された呼を取り消すものである。
【0455】
ただし、SIMPLE DIAL処理によって起動された呼であっても、ダイヤル後にハンドセットを持ち上げてオフフックとなった場合は、この RELEASE LINE処理による取り消しを禁止する。
【0456】
以下、図64にしたがって説明する。
【0457】
図64は RELEASE LINE処理の流れ図を表わしている。まず図64のS64−1において発呼指示フェーズが”アイドル”であるか否かを判断する。
【0458】
発呼指示フェーズが”アイドル”でなければ、ファクシミリはSIMPLE DIAL処理によって発呼処理中、あるいは相手の応答を待っているところであるから、S64−3以下のSIMPLE DIAL処理によって起動された呼の中断処理を行う。
【0459】
発呼指示フェーズが”アイドル”であれば、ファクシミリはSIMPLE DIAL 処理による発呼処理中、および相手応答の待機中ではないため、S64−2では中断する対象がないことを知らせるNGレスポンスの送出をI/F制御タスクに依頼し終了する。
【0460】
S64−3では、回線を解放し、S64−4で発呼指示フェーズを”アイドル”とし、S63−5でOKレスポンスの送出をI/F制御タスクに依頼し、終了する。
【0461】
以上の処理とSIMPLE DIAL処理を合わせると、
SIMPLE DIAL処理によってオペレータは情報処理端末を操作してダイヤルし、相手が出なければRELEASE LINE処理によって回線を解放することができる。
【0462】
すなわち、オペレータは情報処理端末を用いた作業をしながら、その情報処理端末を操作することで、電話の発呼、およびその中断をすることが可能になり、利便性の向上が実現する。
【0463】
18.コマンドセット切り替え(SWITCH COMMANDSET)処理本動作は、外部情報処理端末がファクシミリ装置を制御するためのコマンドセットを、外部情報処理端末の指示に従って切り換える機能である。
【0464】
コマンドセットとは、外部情報処理端末とそれに接続される装置の間で、予め決められている命令体系のことである。通常、外部情報処理端末とそれに接続される装置は、1対1で接続されているため、コマンドセットは1種類で十分である。ところが、本実施形態例のファクシミリ装置では、さらに接続される装置(ファクシミリ装置内の記録部、プリンタモード時)があるため、外部情報処理端末と記録部の間で、ファクシミリ装置の通信機能、スキャナ、ファクシミリ部のメモリを利用するために、予め決められている命令体系をもう1つ備える必要がある。その複数の命令体系を切り換え、外部情報処理端末と記録部を直接接続するのが、本機能である。また、逆の命令体系の切り換えも可能である。本機能を使い分けることにより、ファクシミリ装置には送受信などのファクシミリ機能を、ファクシミリ装置内の記録部にはファクシミリ解像度を超えた高精彩な記録を行うことが可能になる。
【0465】
詳細動作を図65、図66に沿って説明する。
【0466】
図8の処理において、コマンド処理タスクがコマンドセット切り換え指示コマンドと判断すると、図65の処理が実行される。
【0467】
S65−1において、コマンドセット切り換え指示コマンドに付加してくる受信パラメータ(コマンドセットを指定する)の正誤を判定する(詳細後述)。S65−2で判定の結果により分岐する。判定の結果が正しければS65−3に遷移し、誤っていればNG処理(詳細後述)へ分岐する。S65−3で、受信パラメータのコマンドセットの内容が外部情報処理端末により指定されたコマンドセットなのか、プリントエミュレーションコマンドセットなのか判断する。外部情報処理端末により指定されたコマンドセットならS69−1へ分岐し(詳細後述)、プリントエミュレーションコマンドセットならばS65−4で遷移する。S65−4で、記録セマフォ(記録資源)を獲得する。
【0468】
ここで、記録セマフォについて説明する。
【0469】
記録セマフォとは、ファクシミリ装置が記録部を使用して動作する時に獲得し、終了する時に解放するもので、獲得できなければその動作は実行できないことになる(例えば、受信記録、コピー記録など)。逆に上記取り決めにより、円滑な同時動作が可能になる。
【0470】
S65−4で記録セマフォを獲得できたならばS65−5に遷移し、獲得できなければBUSY処理へ分岐する。S65−5で記録部の異常をチェックする(詳細後述)。S65−6で判定の結果により分岐する。判定の結果がOKならばS65−7に遷移し、記録紙無し、記録紙ジャム等の異常が発見されたならばNG処理へ分岐する。ここで異常が発見された場合、コマンドセットの切り換えができないようにする。この理由は、通常プリンタは記録紙無し等の異常が発生した時点で、インタフェースをオフラインモードとし、インタフェースからのコマンドをプリンタ部は受け付けない状態となり、プリンタエミュレーションコマンドモードに切り換えても意味がないためである。
【0471】
次に、S65−7でインタフェースLEDを点灯し、動作中であることを知らせる。インタフェースLEDが点灯中は、ファクシミリ装置のキー入力を禁止する。S65−8でインタフェース制御タスクに対するOKレスポンスを生成し、正常に動作中であることを外部情報処理端末に返送するための返送依頼をインタフェース制御タスクにだす。送出の実行は、インタフェース制御タスクが行う。S65−9、S65−10で、インタフェース制御タスクが外部情報処理端末に対する返送を完了したか否かを判定する。返送が完了したならば、S65−11へ遷移する。返送が完了せずに、S65−9においてタイムアウトが発生したならば、異常処理へ分岐する。本実施形態例において、タイムアウト時間は固定であるが、ファクシミリ装置の登録動作、または外部情報処理端末による登録動作によって可変にすることも可能である。S65−11で、プリントエミュレーションコマンドセット中であることを示すオペレーションパネル112のプリンタLED(不図示)を点灯させる。S65−12で、プリンタ部2のソフト電源ON処理を行う。ソフト電源ON処理は、ファクシミリMPU101からコピー記録、受信記録のための記録要求などが複雑に絡んだ場合、プリンタ部のメモリに残留しているデータ等により、プリンタMPU201が暴走したり、エラーが発生した場合、エラー状態に応じてエラー処理をすることは、プログラムをかえって複雑にするなどの問題に対処するための処理である。具体的には、プリンタ部の初期化を行う処理である。S65−13で、インタフェース制御部108の接続を、(外部情報処理端末109からファクシミリMPU101)(ファクシミリMPU101からプリンタ部2)から、(外部情報処理端末109からプリンタ部2)へ変更する。以上で、外部情報処理端末109からのデータは、直接プリンタ部2へ送出されることになり、従来装置の片方向セントロニクスと同様の動作を行う。S65−14で、インタフェースLEDを消灯し、PRINTFILE動作が終了したことを知らせる。インタフェースLEDの消灯により、ファクシミリ装置のキー入力は許可される。
【0472】
ここで、S65−1の受信パラメータチェックについて図67に沿って説明する。
【0473】
受信パラメータの内容は以下の項目を含み、以下の選択肢を持つ。ただし、受信パラメータの内容とファクシミリ装置の設定が異なる場合は、受信パラメータエラーとなる。また、受信パラメータの内容とファクシミリ装置の設定が異なる場合に、受信パラメータエラーにせず、「受信パラメータの内容を優先する」「ファクシミリ装置の設定を優先する」ように処理を続けてもよい。
【0474】
コマンドセット:プリントエミュレーション、外部情報処理端末により指定された
S67−1において、コマンドセットのチェックを行う。受信パラメータの内容がプリントエミュレーション、あるいは外部情報処理端末により指定されたであるならば受信パラメータチェックを正常終了する。受信パラメータの内容がそれ以外であるならば異常終了する。
【0475】
ここで、S65−5の記録部チェックについて図68に沿って説明する。
【0476】
S68−1において、記録紙の有無をチェックする。記録紙カセット内の記録紙を、不図示の記録紙センサにより記録紙の有無をチェックし、記録紙が有りならばS68−2へ遷移する。記録紙が無しならば異常終了する。S68−2で、記録インクの有無をチェックする。記録インクが有りならばS68−3へ遷移する。記録インクが無しならば異常終了する。本実施形態例では、記録を行うために記録インクを用いたが、レーザ記録のトナーなどを用いた記録部使用ファクシミリ装置にも適用できる。S68−3で、記録カバーの有無をチェックする。記録カバーが閉状態ならばS68−4へ遷移する。記録カバーが開状態ならば異常終了する。S68−4で、記録紙ジャムの有無をチェックする。PEセンサ206その他により、記録紙ジャムが検出されない場合は記録部チェックを正常終了する。PEセンサ206その他により、記録紙ジャムが検出された場合異常終了する。
【0477】
ここで、S65−3より分岐した、S69−1以降の動作について図69に沿って説明する。
【0478】
S69−1でインタフェースLEDを点灯し、動作中であることを知らせる。インタフェースLEDが点灯中は、ファクシミリ装置のキー入力を禁止する。S69−2で、プリンタ部2のソフト電源OFF処理を行う。S69−3で、インタフェース制御部108の切り換えを、(外部情報処理端末109−プリンタ部2)から、(外部情報処理端末109−ファクシミリMPU101)(ファクシミリMPU101−プリンタ部2)へ変更する。S69−4で、PEセンサ206により機内に残留紙の有無を判断する。残留紙が無ければ、S69−6へ遷移する。残留紙が有れば、S69−5で記録紙ジャム表示を行い、S69−6へ遷移する。S69−6において、S65−4で獲得した記録セマフォを解放する。S69−7で、外部情報処理端末により指定されたコマンドセット中であることを示すオペレーションパネル112のプリンタLED(不図示)を消灯させる。そして、S69−8において、インタフェースLEDを消灯し、SWITCH COMMAND SET動作が終了したことを知らせる。インタフェースLEDの消灯により、ファクシミリ装置のキー入力は許可される。
【0479】
ここで、異常処理について図70に沿って説明する。
【0480】
NGが発生したならば、S70−1でインタフェース制御タスクに対するNGレスポンスを生成し、また異常終了したことを外部情報処理端末に返送するための返送依頼をインタフェース制御タスクにだす。また、BUSYが発生したならば、S70−2でインタフェース制御タスクに対するBUSYレスポンスを生成し、また異常終了したことを外部情報処理端末に返送するための返送依頼をインタフェース制御タスクにだす。送出の実行はインタフェース制御タスクが行う。そして、S70−3で記録セマフォを解放し、異常処理を終了する。記録セマフォの獲得が行われていなければ、記録セマフォの解放は行わない。
【0481】
19.ファクシミリ用蓄積スキャン(SCANTOFAX)処理
図71、図72は、読み取った画像データをRAM103の画像メモリエリアに格納するファクシミリ用蓄積スキャン(SCANTOFAX)処理の動作を示したフローチャートである。
【0482】
S71−1において、コマンドの妥当性をチェックした後、読取セマフォ、読取モータセマフォを獲得し、最新画像ファイルIDを獲得して、画像メモリエリアを確保し、ページカウンタを0クリアし、オペレーションパネル112上のインタフェースLEDを点灯して、I/F制御タスクにOKレスポンスを送出する。
【0483】
この時、コマンドが妥当でない、読取セマフォ、読取モータセマフォが獲得ができない、画像メモリエリアを確保できない場合は、S71−2において、エラーと判断され、S71−11へ行き、エラー処理を行う。
【0484】
正常に、I/F制御タスクにOKレスポンスを送出した場合は、S71−3において、I/F制御タスクからのレスポンス送出完了メッセージを待ち、エラーが有った場合は、S71−11へ行き、エラーが無かった場合には、S71−4へ行く。
【0485】
S71−4では、I/F制御タスクからの次のコマンドおよび、フィードタスク、読取タスクからのメッセージを待つ。
【0486】
I/F制御タスクからの次のコマンドが来た場合は、S71−5において、前のページがフィード中もしくは読取中かどうかをチェックし、読み取り部105が動作中であれば、S71−12において、I/F制御タスクにBUSYレスポンスを送出し、S71−8へ行く。
【0487】
読取部が動作中でなければ、S71−6へ行き、読み取るべき原稿が読み取り部105に存在するかどうかを確認する。
【0488】
読み取るべき原稿が読み取り部105に存在する場合は、S71−7へ行き、ページカウンタをインクリメントし、I/F制御タスクからのページ情報(副走査方向解像度、読み取りモード、読み取り濃度)を1ページ毎にセットし、原稿フィードのためにフィードタスクを起動し、I/F制御タスクにOKレスポンスを送出する。
【0489】
I/F制御タスクにOKレスポンスを送出した後に、S71−8へ行き、I/F制御タスクからのレスポンス送出完了メッセージを待ち、エラーが有った場合は、S71−11へ行き、エラーが無く送出が完了した場合には、S71−4へ行き、I/F制御タスクからの次のコマンドを待ち、送出が完了していない場合は、S71−9において、フィードタスクおよび読取タスクの終了を確認する。
【0490】
フィードタスクおよび読取タスクにおいてエラーが発生していたかどうかを、S71−10において確認し、エラーが有った場合は、S71−11へ行き、エラーが無かった場合には、S71−8へ行く。
【0491】
S71−4において、フィードタスク、読取タスクからメッセージを受けた場合は、S71−13へ行き、S71−13において、フィードタスクおよび読取タスクの終了を確認する。
【0492】
フィードタスクおよび読取タスクにおいてエラーが発生していたかどうかを、S71−14において確認し、フィードエラー、画像メモリオーバー等のエラーが有った場合は、S71−11へ行き、エラーが無かった場合には、S71−4へ行く。
【0493】
S71−6において、読み取るべき原稿が読み取り部105に存在しなかった場合は、S71−15へ行き、ページカウンタが0かどうか確認する。
【0494】
ページカウンタが0の場合は、S71−11へ行き、0でない場合は、S71−16へ行き、読取セマフォおよび読取モータセマフォを解放し、オペレーションパネル112上のインタフェースLEDを消灯し、I/F制御タスクにNGレスポンスを送出して終了する。
【0495】
S71−11では、エラー処理として、フィードタスクおよび読取タスクを中断し、画像メモリエリアを解放し、読取セマフォおよび読取モータセマフォを解放し、オペレーションパネル112上のインタフェースLEDを消灯し、I/F制御タスクにNGレスポンスを送出して終了する。
【0496】
S72−1において、現在読み取り部105がフィード中かどうかを確認し、フィード中であればS72−2へ行き、フィードタスクからのメッセージかどうかを確認する。
【0497】
フィードタスクからのメッセージであれば、S72−3においてフィードタスクからのメッセージがフィード終了メッセージかどうか確認し、フィード終了ャbセージであれば、S72−4において、読み取り部105に存在する原稿の読み取りを開始するために、読取タスクを起動する。
【0498】
S72−1において、現在読み取り部105がフィード中でなければ、S72−5へ行き、現在読み取り部105が読み取り中かどうか確認し、読み取り中であればS72−6へ行き、読み取りタスクからのメッセージかどうかを確認する。
【0499】
読み取りタスクからのメッセージであれば、S72−7において読み取りタスクからのメッセージが読み取り終了メッセージかどうか確認し、読み取り終了メッセージであれば、正常終了する。
【0500】
S72−2においてフィードタスクからのメッセージでなく、S72−3においてフィードタスクからのメッセージがフィード終了メッセージでなく、S72−5において現在読み取り部105が読み取り中でなく、S72−6において読み取りタスクからのメッセージでなく、S72−7において読み取りタスクからのメッセージが読み取り終了メッセージでない場合は、エラー終了する。
【0501】
読み取りタスクでは、読み取り部105から読み込んだ画像RAWデータを、RL−RAW変換器106でRLデータに変換し、RLデータをRAM103内のエンコードバッファに格納すると共に、RLデータを元にMMR符号化を行い、MMR符号化されたデータをRAM103内の画像メモリ内の、S71−1において確保した画像メモリエリアに格納する。
【0502】
この時、RAM103内の通信バッファは使用しない。
【0503】
以上の処理によれば、一定時間の間に、インタフェースが転送可能な状態にならなかった場合に処理を中止することにより、高速なデータ転送が可能なパラレルインタフェースを使用した使い勝手の良い画像通信装置を提供することが可能となる。
【0504】
また、情報処理端末からの指示により原稿をメモリに蓄積している場合に、エラーが発生すると画像データをメモリから直ちに消去することで、メモリを有効に使用することにより製品の低価格を可能とする。
【0505】
また、外部情報処理端末からの指示による動作と、オペレーションパネルからの動作及び装置自体の動作のそれぞれの組み合わせを制限することにより、装置全体の制御をシンプルにし、製品の低価格を可能とする。
【0506】
また、装置が使用できない状態であることを示すことにより、使い勝手の良い画像通信装置を提供することが可能となる。
【0507】
20.原稿送信(SENDDOC)処理
図73は、原稿送信(SENDDOC)処理の動作を示したフローチャートである。
【0508】
S73−1において、コマンドの妥当性をチェックした後、読取モータセマフォ、通信セマフォを獲得し、読み取り部105に存在する原稿のフィードを行い、最新画像ファイルIDを獲得して、画像メモリエリアを確保し、I/F制御タスクからの電話番号データをセットし、オペレーションパネル112上のインタフェースLEDを点灯して、I/F制御タスクにOKレスポンスを送出する。
【0509】
この時、コマンドが妥当でない、読取モータセマフォ、通信セマフォが獲得ができない、画像メモリエリアを確保できない場合は、S73−2において、エラーと判断され、S73−11へ行き、エラー処理を行う。
【0510】
正常に、I/F制御タスクにOKレスポンスを送出した場合は、S73−3において、I/F制御タスクからのレスポンス送出完了メッセージを待ち、エラーが有った場合は、S73−11へ行き、エラーが無かった場合には、S73−4へ行く。
【0511】
S73−4では、I/F制御タスクからの次のコマンドを待ち、コマンドが妥当でない場合は、S73−11へ行き、エラー処理を行う。
【0512】
I/F制御タスクからの次のコマンドが来た場合は、S73−5において、I/F制御タスクからのページ情報(副走査方向解像度、読み取りモード、読み取り濃度)を先頭ページ分としてオペレーションパネル112上の原稿モードLED等にセットし、I/F制御タスクにOKレスポンスを送出する。
【0513】
I/F制御タスクにOKレスポンスを送出した後に、S73−6へ行き、I/F制御タスクからのレスポンス送出完了メッセージを待ち、エラーが有った場合は、S73−11へ行き、エラーが無く送出が完了した場合には、S73−7へ行き、I/F制御タスクからの次のコマンドを待つ。
【0514】
I/F制御タスクからの次のコマンドが来た場合は、S73−8において、I/F制御タスクへのファイルID情報をセットし、I/F制御タスクにOKレスポンスを送出する。
【0515】
コマンドが妥当でない場合は、S73−11へ行き、エラー処理を行う。
【0516】
正常に、I/F制御タスクにOKレスポンスを送出した場合は、S73−9において、I/F制御タスクからのレスポンス送出完了メッセージを待ち、エラーが有った場合は、S73−11へ行き、エラーが無かった場合には、S73−10へ行く。
【0517】
S73−10において、オペレーションパネル112上のインタフェースLEDを消灯し、通信セマフォおよび読取モータセマフォを解放して正常終了する。
【0518】
S73−11では、エラー処理として、フィードタスクを中断し、画像メモリエリアを解放し、オペレーションパネル112上のインタフェースLEDを消灯し、通信セマフォおよび読取モータセマフォを解放し、I/F制御タスクにNGレスポンスを送出して終了する。
【0519】
オペレーションパネル112上のインタフェースLEDが消灯され、通信セマフォおよび読取モータセマフォが解放されると、スタンバイ状態では、S73−1において設定された画像メモリエリアにより、通信タスクが起動される。
【0520】
通信タスクが起動されてからは、オペレーションパネル112上の原稿モードLED等の原稿読み取りモード情報を元に通常の原稿送信と同じ動作が実行される。
【0521】
2ページ目以降の原稿読み取りモードの変更は、情報処理端末109からは行わず、通常の原稿送信と同じくオペレーションパネル112上のユーザオペレーションによる。
【0522】
【発明の効果】
以上の様に、本発明によれば、情報処理端末からの指示によって画像通信装置内に蓄積された画像データを消去できるとともに、記録中、通信中、それらの待機中等のように消去すると不都合が生ずる画像データが誤って消去されてしまうことを防止できる。
【図面の簡単な説明】
【図1】本実施形態例のファクシミリ装置の構成を示した図である。
【図2】インターフェース制御部108の構成を示した図である。
【図3】ファクシミリ部1とプリンタ部2の間の信号線を示した図である。
【図4】ファクシミリモード時における情報処理端末とファクシミリ装置間でのデータ送受信の概略を示した図である。
【図5】IEEEP1284規格の双方向パラレルインターフェースのフェーズ遷移図である。
【図6】インターフェース制御タスクの動作を示したフローチャートである。
【図7】レスポンス送出処理の動作を示したフローチャートである。
【図8】コマンド処理タスクの動作を示したフローチャートである。
【図9】コマンド処理タスクの動作を示したフローチャートである。
【図10】ダウンロードファイル処理の動作を示したフローチャートである。
【図11】ダウンロードファイル処理の動作を示したフローチャートである。
【図12】図10、図11に示す外部情報処理端末とのデータ送受信を詳細に示したフローチャートである。
【図13】図10、図11、図12に示す後処理を詳細に示したフローチャートである。
【図14】ファイルプリンド処理の動作を示したフローチャートである。
【図15】ファイルプリンド処理の動作を示したフローチャートである。
【図16】図14のパラメータチェック処理を詳細に示したフローチャートである。
【図17】図14の記録部チェック処理を詳細に示したフローチャートである。
【図18】図14の後処理を詳細に示したフローチャートである。
【図19】記録処理タスクを詳細に示したフローチャートである。
【図20】記録部の電源投入時の初期化処理を詳細に示したフローチャートである。
【図21】記録部のソフト電源投入時の初期化処理を詳細に示したフローチャートである。
【図22】図19の記録紙給紙処理を詳細に示したフローチャートである。
【図23】記録部の記録材残量検知処理を詳細に示したフローチャートである。
【図24】記録材残量検知処理、及び縮小記録処理の動作判断処理を詳細に示したフローチャートである。
【図25】プリント情報取得処理の動作を示したフローチャートである。
【図26】ファイル送信処理の動作を示したフローチャートである。
【図27】ファイル送信処理の動作を示したフローチャートである。
【図28】図26のパラメータチェック処理を詳細に示したフローチャートである。
【図29】図26、図27の後処理を詳細に示したフローチャートである。
【図30】送信情報取得処理の動作を示したフローチャートである。
【図31】送信情報取得処理の動作を示したフローチャートである。
【図32】アップロードファイル処理の動作を示したフローチャートである。
【図33】アップロードファイル処理の動作を示したフローチャートである。
【図34】アップロードファイル処理の動作を示したフローチャートである。
【図35】図32のファイルアップロードの可否判定処理を詳細に示したフローチャートである。
【図36】図32の要求ページ情報指示の正否判定処理を詳細に示したフローチャートである。
【図37】図33の画像データ転送要求の正否判定処理を詳細に示したフローチャートである。
【図38】図33の転送画像データの生成処理を詳細に示したフローチャートである。
【図39】受信処理の動作を示したフローチャートである。
【図40】受信モード保存処理の動作を示したフローチャートである。
【図41】記録待ち受信画像監視タスク処理の動作を示したフローチャートである。
【図42】受信情報取得処理の動作を示したフローチャートである。
【図43】受信情報の構成を示した図である。
【図44】RAM103に記憶されている通信管理情報の構成を示した図である。
【図45】通信管理受付番号取得処理の動作を示したフローチャートである。
【図46】通信管理情報取得処理の動作を示したフローチャートである。
【図47】ファクシミリ装置本体の操作による通信管理レポート記録処理動作を示したフローチャートである。
【図48】通信管理レポートの例を示した図である。
【図49】ファイルID取得処理の動作を示したフローチャートである。
【図50】図49の最新ファイルID情報の生成処理を詳細に示したフローチャートである。
【図51】図49のファイルID一覧情報の生成処理を詳細に示したフローチャートである。
【図52】ファイル情報取得処理の動作を示したフローチャートである。
【図53】ファイル管理情報の構成を示した図である。
【図54】ページ情報取得処理の動作を示したフローチャートである。
【図55】ページ管理情報の構成を示した図である。
【図56】ファイル消去処理の動作を示したフローチャートである。
【図57】ファクシミリ情報処理の動作を示したフローチャートである。
【図58】電話発呼処理の動作を示したフローチャートである。
【図59】図58の発呼条件チェック処理を詳細に示したフローチャートである。
【図60】図58のダイヤル情報取得処理を詳細に示したフローチャートである。
【図61】オンフック制御の動作を示したフローチャートである。
【図62】オンフック制御の動作を示したフローチャートである。
【図63】オンフック制御の動作を示したフローチャートである。
【図64】呼切断処理の動作を示したフローチャートである。
【図65】コマンドセット切り替え処理の動作を示したフローチャートである。
【図66】コマンドセット切り替え処理の動作を示したフローチャートである。
【図67】図65のパラメータチェック処理を詳細に示したフローチャートである。
【図68】図65の記録チェック処理を詳細に示したフローチャートである。
【図69】コマンドセット切り替え処理の動作を示したフローチャートである。
【図70】図65の後処理を詳細に示したフローチャートである。
【図71】ファクシミリ用蓄積スキャン処理の動作を示したフローチャートである。
【図72】図71のタスク終了確認処理を詳細に示したフローチャートである。
【図73】原稿送信処理の動作を示したフローチャートである。
【符号の説明】
101 ファクシミリMPU
102 ROM
103 RAM
104 通信部
105 読取部
106 RL−RAW変換器
107 8pel−360dpi解像度変換器
108 インターフェース制御部
109 情報処理端末
110 外部インターフェース信号線
111 モータ
112 オペレーションパネル
113 原稿検出センサ
201 プリンタMPU
202 ROM
203 RAM
204 横縦変換器
205 印字ヘッド
206 PEセンサ
207 フッタLED、フッタセンサ
208 モータ
302 内部インターフェース信号線
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image communication device connectable to an information processing terminal and operable according to an instruction from the information processing terminal, and a control method for an image communication system having the information processing terminal and the image communication device.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, a facsimile apparatus capable of instructing various operations from an information processing terminal connected to a facsimile main body has been known.
[0003]
[Problems to be solved by the invention]
In a conventional facsimile apparatus capable of instructing various operations from an information processing terminal connected to a facsimile main body, when an instruction to delete image data is issued from an information processing terminal connected to the facsimile main body, what kind of image is displayed Since the data is also deleted, for example, if the image data received after the recording paper runs out is stored in the memory of the facsimile main body, if the deletion of this image data is instructed from the information processing terminal, the image data is still deleted. Was deleted even though it was not output, which was inconvenient.
[0004]
[Means for Solving the Problems]
In order to solve the above-mentioned problems, an image communication apparatus according to the present invention is provided with a unit for determining whether or not specific image data in a storage unit is being recorded by a recording unit. In the case where there is, the erasure of the image data is prohibited when the recording means is recording according to the determination result.
[0005]
Further, a means is provided for determining whether or not specific image data in the storage means is being communicated by the communication means, and when an instruction to delete the image data is issued from the information processing terminal, according to the determination result, This is to prohibit the erasure of the image data when communication is being performed by the communication means.
[0006]
In addition, a unit is provided for determining whether or not specific image data in the storage unit is waiting for communication by the communication unit or recording standby by the recording unit, and when an instruction to delete the image data is issued from the information processing terminal. According to this method, the erasure of the image data is prohibited when the communication is waiting or the recording is waiting according to the determination result.
[0007]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0008]
FIG. 1 is a diagram illustrating a configuration example of a facsimile apparatus according to the present embodiment. The facsimile apparatus of this embodiment comprises a facsimile unit 1 on the left side of the dotted line and a printer unit 2 on the right side.
[0009]
The facsimile unit 1 executes various functions of the facsimile operation except recording operations such as facsimile communication, image reading, image memory management, and user registration. Further, the printer unit 2 performs a recording operation of image data stored in an image memory in the RAM 103 and data from the information processing terminal 109, which are transmitted via the internal interface signal line 302.
[0010]
The facsimile unit 1 is composed of the following. Reference numeral 101 denotes a facsimile MPU for controlling the operation of the facsimile unit 1.
[0011]
A ROM 102 stores program codes, initial value data, table data, and the like.
[0012]
A RAM 103 is allocated to an image memory, an image buffer, a reading line buffer, a recording line buffer, a user registration data area, a work area, and the like. The image memory is a memory for storing the image data received via the communication unit 104, the image data read from the reading unit 105, and the image data sent from the information processing terminal 109 as a file. The image buffer is a buffer for temporarily holding image data during transmission and reception via the communication unit 104. It is also used as a buffer when transmitting and receiving a large amount of data (during later-described download file processing, upload file processing, and communication management information acquisition processing) with the information processing terminal 109. The read line buffer is a line buffer having a size of 4 lines of raw image data after reading (216 bytes × 4 lines), and the recording line buffer is a size of 4 lines of raw image data including a command before recording (4 lines). This is a line buffer having 400 bytes × 4 lines).
[0013]
A communication unit 104 includes a modem, an NCU (network control device), and the like, and is connected to a communication line, a telephone, and the like.
[0014]
A reading unit 105 includes an image sensor such as a CS (contact image sensor), an image processing control unit, and the like. The reading unit 105 optically reads a document, converts the document into electrical image data, and further performs a binarization process. And performs various image processing such as halftone processing to output high-definition image data.
[0015]
Reference numeral 106 denotes a converter for converting image data in a run-length (RL) format soft-decoded by the facsimile MPU 101 into raw image (RAW) data.
[0016]
Reference numeral 107 denotes a resolution converter for converting raw image data having a main scanning resolution of 8 pel / mm on the facsimile unit 1 side to raw image data having a main scanning resolution of 360 dpi (dotsperinch) on the printer unit 2 side.
[0017]
An interface control unit 108 controls the external interface signal line 110 and the internal interface signal line 302, and will be described in detail later.
[0018]
An information processing terminal 109 is connected to the outside, such as a personal computer or a word processor.
[0019]
An external interface signal line 110 connects the interface control unit 108 and the information processing terminal 109. In the present embodiment, the signal lines are based on the bidirectional parallel interface described in the IEEE 1284 standard.
[0020]
Reference numeral 111 denotes a motor that picks up a document or recording paper.
[0021]
An operation panel 112 includes keys, an LCD, an LED, and the like, and performs various displays and various inputs by an operator. A printer key for switching between a facsimile mode and a printer mode (both will be described later), a printer LED indicating that the printer mode is currently set, and an operation performed by an instruction from the information processing terminal 109 to prevent local operation. Interface LED is on the operation panel 112.
[0022]
A document detection sensor 113 detects a document.
[0023]
Next, the configuration of the printer unit 2 will be described. The printer unit 2 includes the following.
[0024]
A printer MPU 201 controls the operation of the printer unit 2, and a ROM 202 stores program codes, initial value data, table data, various font data, and the like.
[0025]
Reference numeral 203 denotes a RAM including a reception buffer, a raster buffer, a text buffer, a print buffer, a footer buffer, a work area, and the like. The receiving buffer is a buffer for temporarily storing received data because data is transferred from the interface control unit 108 of the facsimile unit 1 at a high speed, and the raster buffer is a printer MPU 201 which stores one byte of data in the receiving buffer. The text buffer is a buffer for analyzing the data of the reception buffer for each byte and extracting only the character code by the printer MPU 201. The print buffer is a print data buffer immediately before printing and has a size for two scans (360 bytes × 64 nozzles × 2 scans) and is used alternately. The footer buffer is a character code buffer for printing a footer character. Reference numeral 204 denotes a horizontal / vertical conversion circuit for storing print data of a horizontal raster buffer in a vertical print buffer. Reference numeral 205 denotes a print head for discharging ink by a heater driver.
[0026]
Reference numeral 206 denotes a recording paper trailing edge detection sensor, which detects the trailing edge of the recording paper.
[0027]
Reference numeral 207 denotes a footer sensor including an LED light source for detecting a footer and a light receiving element for detecting light reflected from a footer mark. The footer sensor is a sensor for detecting the remaining amount of ink in the ink cartridge, and detects whether a predetermined pattern (footer mark) has been printed at a predetermined position on the recording paper.
[0028]
A motor 208 conveys the recording paper.
[0029]
Next, an interface between the facsimile unit 1 and the printer unit 2 will be described.
[0030]
Reference numeral 301 denotes a signal line connecting the facsimile unit MPU 101 and the printer unit MPU 201. Details will be described later.
[0031]
Reference numeral 302 denotes an internal interface signal line that connects the interface control unit 108 and the RAM 203. In the present embodiment, the interface 302 is a Centronics-specific interface. Details will be described later.
[0032]
Reference numeral 4 denotes a power supply unit.
[0033]
FIG. 2 is a diagram showing details of the interface control unit 108 and its surroundings. The interface control unit 108 controls an external interface signal line 110 for transmitting and receiving data to and from the information processing terminal 109, and controls an internal interface signal line 302 for transmitting data to the printer unit 2.
[0034]
The external interface signal line 110 includes an external data signal line 110-1, an external control signal line 110-2, and an external response signal line 110-3. The external data signal line 110-1 is a data bus for performing data transfer between the information processing terminal 109 and the interface control unit 108. The external control signal line 110-2 is a signal line controlled by the information processing terminal 109, and corresponds to an nSelectIn signal, an nStrobe signal, an nAutoFd signal, an nInit signal, and the like described in the IEEE 1284 standard. The external response signal line 110-3 is a signal line controlled by the interface control unit 108, and corresponds to a Busy signal, an nAck signal, an nFault signal, a PEerror signal, a Select signal, and the like described in the IEEE 1284 standard. The operation of each signal line complies with the IEEE 1284 standard, and bidirectional data transfer between the information processing terminal 109 and the interface control unit 108 is possible.
[0035]
On the other hand, an internal interface signal line 302 connecting the interface control unit 108 and the printer unit 2 includes an internal data signal line 302-1, an internal control signal line 302-2, and an internal response signal line 302-3. The internal data signal line 302-1 is a data bus. The internal control signal line 302-2 is a signal line controlled by the interface control unit 108 side, and corresponds to the same signal as the external control signal line 110-2. The internal response signal line 302-3 is a signal line controlled by the printer unit 2, and corresponds to the same signal as the external response signal line 110-3. The operation of each signal line conforms to the Centronics specification, and data can be transferred only from the interface control unit 108 to the printer unit 2.
[0036]
The facsimile apparatus has a facsimile mode in which the printer unit 2 operates as a recording system of the facsimile unit 1 and a printer mode in which the printer unit operates as a printer of the information processing terminal 109.
[0037]
Switching between the facsimile mode and the printer mode is performed by pressing a printer key or a command set switching instruction command from the information processing terminal 109. When the printer key is depressed, the mode is shifted to the facsimile mode if the user is currently in the printer mode, and to the printer mode if the user is in the facsimile mode. At the time of transition, ON / OFF switching of the software power of the printer unit 2, ON / OFF switching of the printer LED, and switching of the interface signal line control switching SW 120 are performed. Details of the processing by the command set switching instruction command will be described later. The interface control unit 108 includes an interface signal line control switch SW 120, which is switched between a facsimile mode and a printer mode.
[0038]
In the facsimile mode, the interface signal line control switch SW120 is on the A side, and the external interface signal line 110 and the internal interface signal line 302 are respectively controlled by the facsimile MPU 101. Therefore, it is possible to operate the printer unit 2 as a recording system of the facsimile unit 1 while performing bidirectional data transfer with the information processing terminal 109 via the external interface signal line 110. At this time, the control command, image data, and character code data are transferred from the facsimile unit 1 to the printer unit 2 according to the general command system and the facsimile command system.
[0039]
On the other hand, in the printer mode, the interface signal line control switch SW 120 is on the B side, and the external interface signal line 110 and the internal interface signal line 302 are directly connected. That is, 110-1 and 302-1 are directly connected to 110-2 and 302-2, and 110-3 and 302-3 are directly connected, and data can be directly sent from the information processing terminal 109 to the printer unit 2. At this time, a control command, image data, and character code data are transferred from the information processing terminal 109 to the printer unit 2 according to a general command system. At this time, the facsimile MPU 101 cannot control each signal line, so that the printer unit 2 cannot be used as a recording system of the facsimile unit 1.
[0040]
FIG. 3 is a diagram illustrating details of the signal line 301. There are two types of signal lines 301: a signal line group 301-1 from the facsimile MPU 101 to the printer MPU 201 and a signal line group 301-2 from the printer MPU 201 to the facsimile MPU 101.
[0041]
The signal line group 301-1 from the facsimile MPU 101 to the printer MPU 201 includes the following.
(1) Reset signal line
Used when the power is turned on and when the printer unit 2 is reset.
(2) Automatic recovery prohibition signal line
Used when prohibiting the automatic recovery operation of the printer unit 2.
(3) Facsimile mode signal line
It informs the printer unit 2 that it is operating in the facsimile mode. The facsimile command system (described later) can be used only when the facsimile mode signal line is active. The printer MPU 201 uses the facsimile mode signal line to determine whether the data or command sent to the printer unit 2 via the internal interface signal line 302 is from the facsimile unit 1 or from the information processing terminal 109. .
(4) Emulation mode signal line
The type of the emulation mode in the printer mode is transmitted to the printer unit 2. The emulation mode can be changed in the user registration operation. This is a signal line for selecting a command system because the command system used in the printer differs depending on the information processing terminal 109.
(5) Soft power switch signal line
The software power ON / OFF of the printer unit 2 is controlled. By using this soft power switch signal line, the power of the printer unit 2 is softly started at power-on, before and after the printing operation, when the printer setting registration is changed, and when the printer mode is entered.
(6) Online switch
It controls on / off of the facsimile unit 1 and the printer unit 2.
[0042]
Next, a signal line group 301-2 from the printer unit MPU 201 to the facsimile MPU 101 will be described.
(7) Idle signal line
The facsimile unit 1 is notified of the idle state of the printer unit 2. The idle state refers to a state in which all the control commands received by the printer unit 2 have been processed. When not in the idle state, the facsimile unit 1 must not turn off the power of the printer unit 2 by software.
(8) Feed request signal line
The facsimile unit 1 is notified that the printer unit 2 feeds recording paper. In the facsimile mode, the feed request signal line is used when data to be printed is received from the facsimile unit 1 or when printing a long print in which the print data exceeds one recording sheet. Further, even in the printer mode, the paper feed request signal line is used when data to be printed is received from the information processing terminal 109, or when printing a long print in which the print data exceeds one recording sheet.
(9) Ink remaining amount detection output signal line
The facsimile unit 1 is notified that the result of the presence or absence of the ink has been determined. The function is achieved in combination with the ink remaining amount detection result signal line described in the next section. The facsimile apparatus of the present embodiment has an ink remaining amount detection function as a function only during printing of a received image in the facsimile mode. This means that the received image must be reliably printed due to the nature of the received image. Therefore, when the ink runs out, the fact is notified to the facsimile unit 1. The facsimile unit 1 stores the received image in a memory, and displays a message prompting the user to replace the cartridge. After that, an attempt is made to print the received image again. As a method of detecting the remaining amount of ink, footer print detection is performed. The footer print detection refers to a method of printing an ink remaining amount detection mark (footer) at a predetermined position at the rear end of each page of a received image and detecting the mark with a photo sensor. If the output of the photo sensor is black, there is ink, and if it is white, there is no ink.
(10) Ink remaining amount detection result signal line
The facsimile unit 1 is notified of the result of the presence or absence of ink. The function is achieved in combination with the ink remaining amount detection output signal line described in the preceding section. When the absence of ink is detected, after outputting the result of detecting the remaining amount of ink, the output signal line for detecting the remaining amount of ink is activated. Therefore, the facsimile unit 1 can confirm the presence or absence of ink by referring to the result of detection of the remaining ink amount after checking the output signal line of the remaining ink amount detection described in the preceding section.
(11) Recording paper signal line
The facsimile unit 1 is notified that the recording paper is colored paper. It functions in combination with the ink remaining amount detection output signal line of the preceding paragraph. When it is detected that the recording paper is colored paper, after outputting this recording paper colored paper signal, the output signal line of the remaining ink amount detection of the preceding paragraph is activated. Therefore, the facsimile unit 1 can confirm whether or not the recording paper is colored paper by referring to the recording paper color paper signal after checking the ink remaining amount detection output signal line described in the preceding paragraph.
(12) Cartridge presence signal line
The facsimile unit 1 is notified of the presence or absence of the ink cartridge. The printer unit 2 changes the cartridge presence / absence signal line when the state of no cartridge or the presence of the cartridge continues 16 times in a 100 msec timer interrupt. When the facsimile unit 1 detects that there is no cartridge by the present cartridge presence / absence signal line, the facsimile unit 1 prompts the user to mount the cartridge on an LCD display or the like, and prohibits the printing operation in the facsimile mode.
(13) Incorrect signal line for cartridge
The correctness of the cartridge is notified to the facsimile unit 1. The printer unit 2 changes the cartridge correct / wrong signal line when the incorrect cartridge mounting or the correct cartridge mounting state continues 16 times in a 100 msec timer interrupt. When the facsimile unit 1 detects a cartridge error by the cartridge error signal line, the facsimile unit 1 prompts the user to mount a correct cartridge on an LCD display or the like.
(14) Soft power signal line
4 shows a soft power state of the printer unit 2. In the facsimile mode, it is turned on during the printing operation and the recovery operation. On the other hand, in the printer mode, it is always on regardless of whether it is in a recording operation or a standby state.
(15) Online signal line
This shows online and offline of the printer unit 2 in the facsimile mode. At the time of offline, a command using the internal interface signal line 302 is not accepted.
(16) Error signal line
The error state of the printer unit 2 is shown.
(17) Facsimile mode return request signal line
It is used to notify the facsimile MPU 101 of the facsimile mode return request command from the information processing terminal 109 in the printer mode. The notified facsimile MPU 101 performs control to shift from the printer mode to the facsimile mode. Details of the transition control will be described later.
[0043]
Next, the command system will be described in detail.
[0044]
The command system using the internal interface signal line 302 includes a general command system and a facsimile command system. The general command system is a commonly used command system, and can be used in both the facsimile mode and the printer mode. The setting of the command system in the printer mode can be changed by user registration.
[0045]
The facsimile command system is a special command system prepared for functions that cannot be realized by the general command system alone. It is supported only in facsimile mode because of its special function. If the printer unit 2 receives the command in the printer mode, the command is ignored.
[0046]
The facsimile command system is composed of the following.
(1) Printer setting command
This is a command related to the initial setting of the printer unit 2. The command is used when the power is turned on, when the printer setting registration is changed, when the facsimile mode is fed, when the facsimile mode is discharged, or when the facsimile mode ends abnormally.
(2) Bidirectional print correction command
It corrects the printing deviation between two directions when performing bidirectional printing. Used when turning on the power and feeding paper in facsimile mode. Since the printer unit 2 is a shuttle printing type in which an image is recorded while moving a head having a plurality of ink ejection ports in a main scanning direction by a carriage, correction of printing deviation by forward and backward scanning is performed for each printing mode and for each device. To the printer unit 2. The printer unit 2 performs the bidirectional printing correction based on the bidirectional printing correction value when the software power is turned on and immediately before the start of printing.
(3) Bidirectional print command
Commands related to bidirectional printing and one-way printing. Used when feeding recording paper in facsimile mode. The bi-directional and uni-directional printing settings selected by user registration (separate settings for image printing and character code printing in facsimile mode) are transferred to the printer unit. In printer mode, it does not follow user registration.
(4) Footer print command
This command collects the printing of the received information footer / no printing, the detection / non-printing of the ink remaining amount, the number of scans to start detection of the trailing edge of the recording paper, and the footer character code. Used when feeding each page of the received image.
[0047]
The reception information footer is information characters including the date and time at which the own apparatus has received an image, a reception number, a reception image page, and the like. When the reception information footer is set to be printed by user registration, the printer prints information characters developed on the received image using the font data of the printer at the rear end of the recording paper immediately before the paper is discharged. If the setting is made to detect the remaining amount of ink by user registration, an ink remaining amount detection mark for detecting the remaining amount of ink is drawn in the same scan as the reception information footer, and the remaining amount of ink is detected.
(5) Facsimile image command
The conversion ratio of the resolution conversion in the sub-scan is transferred together with the image data of one line. Used for printing received images, copy images, and transmission failure images. The resolution conversion in the main scanning direction is performed by a hardware circuit (8 pel-360 dpi resolution converter 107), while the resolution conversion in the sub-scanning direction is realized by software. The software of the facsimile unit 1 calculates the conversion ratio, and transfers the conversion ratio of the resolution conversion together with one line of image data by the command. On the other hand, the software of the printer unit 2 that has received the one-line image data and the conversion ratio expands the one-line image data by the conversion ratio and prints it.
(6) Facsimile reset command
Initializes various flags of the printer unit used in the facsimile mode. Used when discharging recording paper in facsimile mode.
[0048]
FIG. 4 schematically shows data transmission and reception between the information processing terminal 109 and the interface control unit 108 in the facsimile mode.
[0049]
Commands and responses are transmitted and received between the information processing terminal 109 and the facsimile machine for each operation according to a predetermined interface protocol. First, a command corresponding to an operation to be executed is sent from the information processing terminal 109 to the facsimile machine. At this time, a reception parameter may accompany some commands. The command stores a command code for identifying each command, the size of the next reception parameter, and the like. Also, in the reception parameters, setting values (file ID, resolution, etc.) and image data necessary for executing the operation for each command are stored. In the facsimile apparatus, these commands and reception parameters are sequentially stored in a predetermined location in the work area of the RAM 103 from the interface control unit 108 by DMA processing. However, it is assumed that an image buffer in the RAM 103 is used for a part of the reception parameter having a large data amount.
[0050]
The facsimile apparatus that has received the command generates and sends a response to the command. The response includes an OK response indicating that the received command has been accepted, an NG response indicating that the received command is incorrect and not accepted, and a fact that the received command is not currently accepted due to a reason such as operation. BUSY response. In the case of an OK response, a transmission parameter may be attached. The transmission parameter stores information in the facsimile apparatus corresponding to the specified command, such as the result of transmission or printing, the attribute of a file, and the like. In the facsimile apparatus, these responses and transmission parameters are normally transmitted to the information processing terminal 109 from the predetermined location in the work area of the RAM 103 via the interface control unit 108 by DMA processing. However, it is assumed that the image buffer in the RAM 103 is used for a part of the transmission parameter having a large data amount.
[0051]
FIG. 5 shows a phase transition diagram in NibbleMode and ByteMode described in the IEEE 1284 standard.
[0052]
The processing in each phase and the transition from a certain phase to another phase are executed by a handshake using the external interface signal line 110 between the information processing terminal 109 and the interface control unit 108. Therefore, the information processing terminal 109 and the facsimile machine can always be in the same phase. In the Compatibility Mode shown in the figure, data transfer is performed from the information processing terminal 109 in the direction of the interface control unit 108 (hereinafter, forward direction). In the Nibble / Byte Mode, data is transferred from the interface control unit 108 to the information processing terminal 109 (hereinafter, the reverse direction).
[0053]
In the facsimile mode of the facsimile apparatus, except for data transfer, an interrupt occurs due to a change in the signal line of the external control signal line 110-2, and the external response signal line 110-3 is set in the interrupt processing. The handshake is performed by changing. At the time of data transfer, handshake is automatically performed by hardware in combination with DMA.
[0054]
Since details of each phase are described in the IEEE 1284 standard, each phase will be briefly described here.
(A) ForwardData TransferPhase
Phase for transferring 1-byte data in the forward direction.
(B) ForwardIdlePhase
A phase in which transition to data transfer in the forward direction or transition to Negotiation Phase is possible. The above-described commands and reception parameters are transferred from the information processing terminal 109 to the interface control unit 108 by repeating (a) and (b) for each byte.
(C) NegotiationPhase
Phase for transitioning from CompatibilityMode to Nibble / ByteMode.
(D) Termination Phase
A phase for shifting from Nibble / ByteMode to CompatibilityMode.
(E) ReverseData TransferPhase
Phase for transferring 1-byte data in the reverse direction.
(F) HostBusyData AvailablePhase
A phase in which there is data to be sent in the reverse direction, but the information processing terminal 109 is busy (data cannot be received). The above-described response and transmission parameters are transferred from the interface control unit 108 to the information processing terminal 109 by repeating (e) and (f) for each byte.
(G) HostBusyData NotAvailablePhase
A phase in which there is no data to be sent in the reverse direction and the information processing terminal 109 is busy.
(H) ReverseIdlePhase
A phase waiting for data in the reverse direction to be generated in the facsimile machine.
(I) InterruptHostPhase
A phase in which the facsimile apparatus notifies the information processing terminal 109 that data to be transmitted to the information processing terminal 109 (data in the reverse direction) has been generated in the facsimile apparatus.
[0055]
In the phase transition from (a) to (i), only the transition from (h) to (i) is activated on the facsimile machine side, and all other transitions between phases are performed. The processing is started when the information processing terminal 109 is started. Therefore, even if there is data to be transmitted in the facsimile machine, it cannot always be transmitted immediately.
[0056]
Further, in this standard, if there is data (response or the like) to be transmitted in the facsimile apparatus at the time of (c), it is possible to shift to (f), but in this facsimile apparatus, The transition from (c) to (f) is not performed, and the transition from (c) to (g) to (h) is always performed. Then, if there is data to be sent to the facsimile machine in (h), activation from (h) to (i) is performed from the facsimile machine side, and thereafter, data transfer is performed by repeating (f) and (e). Assumed to be performed. A transmission start enable flag in the work area of the RAM 103, which will be described later, is a flag indicating that the user is in the ReverseIdlePhase, and is turned on when shifting from (g) to (h). ) Shall be turned off when shifting to ().
[0057]
Also, as described above, in the printer mode, the external interface signal line 110 and the internal interface signal line 302 are directly connected, and can perform only one-way data transfer conforming to the Centronics specification. This is an operation corresponding to the CompatibilityMode in FIG. Therefore, the information processing terminal 109 activates (c) NegotiationPhase, and can identify which mode the facsimile apparatus is in based on whether or not there is a response to the negotiating phase. That is, if there is a response, the information processing terminal 109 can identify the facsimile mode, and if there is no response, the printer mode is the printer mode.
[0058]
FIG. 6 is a flowchart showing the operation of the interface control task.
[0059]
First, in S6-1, it is determined whether the mode is the printer mode. If the mode is the printer mode, in S6-2, it is determined whether there is a request to return to the facsimile mode. This is determined by the (17) facsimile mode return request signal line in the signal line 301 from the printer MPU 201 to the facsimile MPU 101. If it is determined that there is a request to return to the facsimile mode, in step S6-3, a message indicating a command set switching instruction command is transmitted to the command processing task, and a predetermined location in the work area of the RAM 103 (hereinafter referred to as phase The value indicating the command receiving phase is stored in the management RAM), and the process returns to S6-1. If it is determined in S6-2 that there is no request to return to the facsimile mode, the process returns to S6-1.
[0060]
If it is determined in S6-1 that the mode is not the printer mode, it is determined in S6-5 whether or not the command reception phase is being performed based on the value of the phase management RAM. If it is the command reception phase, in S6-6, it is determined whether or not a command and accompanying reception parameters have been received from the information processing terminal 109, and if not, the flow returns to S6-1. If the command has been received, a message including information on the command and the reception parameter is transmitted to the command processing task in S6-7, and a value indicating the response generation phase is stored in the phase management RAM in S6-8. Is stored, and the process returns to S6-1.
[0061]
If it is determined in S6-5 that it is not the command receiving phase, it is determined in S6-9 whether or not it is in the response generation phase based on the value of the phase management RAM. If it is the response generation phase, in S6-10, it is determined whether there is a response return request (message) from the command processing task, and if there is no response return request, the process returns to S6-1. If there is a response return request, the response transmission request flag in the work area of the RAM 103 is turned on in S6-11. The response transmission request flag indicates that data to be transmitted to the information processing terminal 109 is in the facsimile machine, and is turned off when all data has been transmitted. Next, in S6-12, a predetermined value is stored in the response transmission timer in the work area of the RAM 103. Here, the response sending timer is a timer that is decremented at regular intervals, and detects a timeout when data cannot be sent within the given time. Next, in S6-13, a value indicating the response transmission phase is stored in the phase management RAM, and the process returns to S6-1.
[0062]
If it is determined in S6-9 that it is not the response generation phase, it is determined in S6-14 whether or not it is the response transmission phase based on the value of the phase management RAM. If it is the response sending phase, the process proceeds to S6-15 to perform the response sending process, and if it is not the response sending phase, the process returns to S6-1.
[0063]
FIG. 7 is a flowchart showing the operation of the response sending process.
[0064]
First, in S7-1, it is determined whether the response transmission request flag is ON. If it is ON, it means that the data to be transmitted to the information processing terminal 109 is in the facsimile machine, so in S7-2, it is determined whether or not the transmission start enable flag in the work area of the RAM 103 is ON. The transmission start enable flag is a flag indicating that the user is in ReverseIdlePhase as described above, and if OFF, the process proceeds to S7-7. If it is ON, in step S7-3, data transmission is started by starting from (h) to (i) in FIG. 5, and in step S7-4, the transmission start enable flag is turned off, and Proceed to -7. On the other hand, if the response transmission request flag is OFF in S7-1, it means that transmission of all data to the information processing terminal 109 has been completed. Therefore, in S7-5, a message indicating completion of response transmission is sent to the command processing task. Then, in step S7-6, the value indicating the command reception phase is stored in the phase management RAM, and the response transmission process ends.
[0065]
In S7-7, it is detected whether or not the response sending timer has timed out, and if not, the response sending process ends as it is. If a timeout has occurred, a message indicating a timeout is transmitted to the command processing task in S7-8, a value indicating the command reception phase is stored in the phase management RAM in S7-9, and the response transmission processing is terminated. I do.
[0066]
According to the above processing, when the interface is not in a transferable state for a certain period of time, the processing is stopped, so that an easy-to-use image communication device using a parallel interface capable of high-speed data transfer Can be provided.
[0067]
In addition, by using the buffer and performing exclusive control, the memory can be effectively used.
[0068]
8 and 9 are flowcharts showing the operation of the command processing task.
[0069]
First, in step S8-001, a message related to a command from the interface control task is waited for. If a message relating to the command has not arrived, step S8-001 is repeated again. On the other hand, if the message has arrived, the process proceeds to step S8-002.
[0070]
In step S8-002, it is determined whether or not the received message indicates a file transfer instruction command. If the message indicates a file transfer instruction command, the flow advances to step S8-003 to execute processing of a download file (DOWNLOADFILE). The details will be described later. When the processing of DOWNLOADFILE in step S8-003 ends, the process returns to step S8-001.
[0071]
On the other hand, if the message does not indicate the file transfer instruction command in step S8-002, the process proceeds to step S8-004.
[0072]
In step S8-004, it is determined whether the received message indicates a file print instruction command. If the message indicates a file print instruction command, the process advances to step S8-005 to execute a file print (PRINTFILE) process. The details will be described later. Upon completion of the PRINTFILE process in step S8-005, the process returns to step S8-001.
[0073]
On the other hand, if it is determined in step S8-004 that the message does not indicate the file print instruction command, the process advances to step S8-006.
[0074]
In step S8-006, it is determined whether or not the received message indicates a print information acquisition command. If the message indicates a print information acquisition command, the process advances to step S8-007 to execute print information acquisition (GETPRINTINFO.) Processing. The details will be described later. In step S8-007, the GETPRINTINFO. Is completed, the process returns to step S8-001.
[0075]
On the other hand, if the message does not indicate the print information acquisition command in step S8-006, the process proceeds to step S8-008.
[0076]
In step S8-008, it is determined whether or not the received message indicates a file transmission instruction command. If the message indicates a file transmission instruction command, the flow advances to step S8-009 to execute a file transmission (SENDFILE) process. The details will be described later. Upon completion of the SENDFILE processing in step S8-009, the process returns to step S8-001.
[0077]
On the other hand, if it is determined in step S8-008 that the message does not indicate the file transmission instruction command, the process advances to step S8-010.
[0078]
In step S8-010, it is determined whether the received message indicates a document transmission instruction command. If the message indicates a document transmission instruction command, the flow advances to step S8-011 to execute a document transmission (SENDDOC) process. The details will be described later. When the SENDDOC process in step S8-011 is completed, the process returns to step S8-001.
[0079]
On the other hand, if it is determined in step S8-010 that the message does not indicate the document transmission instruction command, the process advances to step S8-012.
[0080]
In step S8-012, it is determined whether or not the received message indicates a transmission information acquisition command. If the message indicates a transmission information acquisition command, the flow advances to step S8-013 to execute transmission information acquisition (GETSENDINFO.) Processing. The details will be described later. GETSENDINFO. In step S8-013. Is completed, the process returns to step S8-001.
[0081]
On the other hand, if it is determined in step S8-012 that the message does not indicate the transmission information acquisition command, the process advances to step S8-014.
[0082]
In step S8-014, it is determined whether or not the received message indicates a file transfer request command. If the message indicates a file transfer request command, the flow advances to step S8-015 to execute processing of an upload file (UPLOADFILE). The details will be described later. Upon completion of the UPLOADFILE process in step S8-015, the process returns to step S8-001.
[0083]
On the other hand, if it is determined in step S8-014 that the message does not indicate the file transfer request command, the process proceeds to step S8-016.
[0084]
In step S8-016, it is determined whether or not the received message indicates a storage scan instruction command. If the message indicates a storage scan instruction command, the flow advances to step S8-017 to execute storage scan (SCANTOFAX) processing for facsimile. The details will be described later. When the SCANTOFAX process in step S8-017 ends, the process returns to step S8-001.
[0085]
On the other hand, if it is determined in step S8-016 that the message does not indicate the storage scan instruction command, the process advances to step S8-018.
[0086]
In step S8-018, it is determined whether or not the received message indicates a reception mode change instruction command. If the message indicates a reception mode change instruction command, the flow advances to step S8-019 to execute a reception (RECEIVE) process. The details will be described later. When the process of RECEIVE in step S8-019 is completed, the process returns to step S8-001 again.
[0087]
On the other hand, if it is determined in step S8-018 that the message does not indicate the reception mode change instruction command, the process advances to step S8-020.
[0088]
In step S8-020, it is determined whether or not the received message indicates a reception information acquisition command. If the message indicates a reception information acquisition command, the process advances to step S8-021 to execute a reception information acquisition (GETRECEIVEINFO.) Process. The details will be described later. GETRECEIVEINFO. In step S8-021. Is completed, the process returns to step S8-001.
[0089]
On the other hand, if it is determined in step S8-020 that the message does not indicate the reception information acquisition command, the process advances to step S8-022.
[0090]
In step S8-022, it is determined whether or not the received message indicates a communication management reception number acquisition command. If the message indicates a communication management reception number acquisition command, the process advances to step S8-023 to execute a communication management reception number acquisition (GETACTIVITYID) process. The details will be described later. When the processing of GETACTIVITYID in step S8-023 is completed, the process returns to step S8-001.
[0091]
On the other hand, if it is determined in step S8-022 that the message does not indicate the communication management reception number acquisition command, the process advances to step S8-024.
[0092]
In step S8-024, it is determined whether or not the received message indicates a communication management information acquisition command. If the message indicates a communication management information acquisition command, the process advances to step S8-025 to execute processing of communication management information acquisition (GETACTIVITYINFO.). The details will be described later. In step S8-025, GETACTIVITYINFO. Is completed, the process returns to step S8-001.
[0093]
On the other hand, if it is determined in step S8-024 that the message does not indicate the communication management information acquisition command, the process advances to step S8-026.
[0094]
In step S8-026, it is determined whether or not the received message indicates a file ID acquisition command. If the message indicates a file ID acquisition command, the flow advances to step S8-027 to execute a file ID acquisition (GETFILEID) process. The details will be described later. Upon completion of the GETFILEID process in step S8-027, the process returns to step S8-001.
[0095]
On the other hand, if it is determined in step S8-026 that the message does not indicate the file ID acquisition command, the process advances to step S8-028.
[0096]
In step S8-028, it is determined whether or not the received message indicates a file information acquisition command. If the message indicates a file information acquisition command, the flow advances to step S8-029 to execute a file information acquisition (GETFILEINFO.) Process. The details will be described later. In step S8-029, GETFILEINFO. Is completed, the process returns to step S8-001.
[0097]
On the other hand, if it is determined in step S8-028 that the message does not indicate the file information acquisition command, the process advances to step S8-030.
[0098]
In step S8-030, it is determined whether or not the received message indicates a page information acquisition command. If the message indicates a page information acquisition command, the flow advances to step S8-031 to execute a page information acquisition (GETPAGEINFO.) Process. The details will be described later. In step S8-031, GETPAGEINFO. Is completed, the process returns to step S8-001.
[0099]
On the other hand, if it is determined in step S8-030 that the message does not indicate the page information acquisition command, the process advances to step S8-032.
[0100]
In step S8-032, it is determined whether or not the received message indicates a file deletion instruction command. If the message indicates a file deletion instruction command, the flow advances to step S8-033 to execute a file deletion (DELETEFILE) process. The details will be described later. Upon completion of the DELETE FILE process in step S8-033, the process returns to step S8-001.
[0101]
On the other hand, if it is determined in step S8-032 that the message does not indicate the file deletion instruction command, the process advances to step S8-034.
[0102]
In step S8-034, it is determined whether or not the received message indicates a FAX information acquisition command. If the message indicates a FAX information acquisition command, the flow advances to step S8-035 to execute facsimile information acquisition (FAXINFO.) Processing. The details will be described later. In step S8-035, FAXINFO. Is completed, the process returns to step S8-001.
[0103]
On the other hand, if it is determined in step S8-034 that the message does not indicate the FAX information acquisition command, the process advances to step S8-036.
[0104]
In step S8-036, it is determined whether or not the received message indicates a telephone call instruction command. If the message indicates a telephone call instruction command, the flow advances to step S8-037 to execute a telephone call (SIMPLEDIAL) process. The details will be described later. Upon completion of the SIMPLEDIAL processing in step S8-037, the process returns to step S8-001.
[0105]
On the other hand, if it is determined in step S8-036 that the message does not indicate the telephone call instruction command, the process proceeds to step S8-038.
[0106]
In step S8-038, it is determined whether or not the received message indicates a call disconnection command. If the message indicates a call disconnection command, the flow advances to step S8-039 to execute a call disconnection (RELEASELINE) process. The details will be described later. Upon completion of the RELEASELINE processing in step S8-039, the flow returns to step S8-001.
[0107]
On the other hand, if it is determined in step S8-038 that the message does not indicate the call disconnection command, the process proceeds to step S8-040.
[0108]
In step S8-040, it is determined whether or not the received message indicates a command set switching instruction command. If the message indicates a command set switching instruction command, the flow advances to step S8-041 to execute a command set switching (SWITCHCOMMANDSET) process. The details will be described later. Upon completion of the SWITCHCOMMANDSET process in step S8-041, the process returns to step S8-001.
[0109]
On the other hand, if it is determined in step S8-040 that the message does not indicate the command set switching instruction command, the process advances to step S8-042.
[0110]
If the received message does not indicate any of the above commands, an NG response indicating a sequence error is sent as a message to the interface control task in step S8-042, and a request for returning the NG response is requested. In step S8-001, Return.
[0111]
With the above processing, the command processing task receives the message related to the command from the interface control task, and distributes the message to processing according to the content.
[0112]
Next, the operation of each processing of FIGS. 8 and 9 will be described in the following order.
1. Download file (DOWNLOADFILE) processing
2. File print (printfile) processing
3. Print information acquisition (GETPRINTINFO.) Processing
4. File transmission (SENDFILE) processing
5. Transmission information acquisition (GETSENDINFO.) Processing
6. Upload file (UPLOADFILE) processing
7. Reception (RECEIVE) processing
8. Reception information acquisition (GETRECEIVEINFO.) Processing
9. Acquisition of communication management reception number (GETACTIVITYID) processing
10. Acquisition of communication management information (GETACTIVITYINFO.) Processing
11. File ID acquisition (GETFILEID) processing
12. File information acquisition (GETFILEINFO.) Processing
13. Page information acquisition (GETPAGEINFO.) Processing
14. File delete (DELETEFILE) processing
15. Facsimile information acquisition (FAXINFO.) Processing
16. Phone call (SIMPLEDIAL) processing
17. Call disconnection (RELEASELINE) processing
18. Command set switching (SWITCHCOMMANDSET) processing
19. Storage scan (SCANTOFAX) processing for facsimile
20. Original transmission (SENDDOC) processing
Hereinafter, each process will be described.
[0113]
Download file (DOWNLOADFILE) processing
This operation is a function of storing image data transferred by the external information processing terminal as image data in the image memory of the RAM 103 in the facsimile machine.
[0114]
This operation is realized by three commands, a file transfer instruction command, a page information instruction command, and an image data transfer instruction command. The file transfer instruction command is for notifying the facsimile machine that image data is to be transferred from the external information processing terminal, and the actual image data transfer is executed by the image data transfer instruction command. The page information instruction command is a command for instructing the facsimile apparatus from the external information processing terminal to the facsimile apparatus for each page of the image data, such as the data format and resolution of the page. Actual image data transfer is executed by an image data transfer instruction command. The image data transfer instruction command is a command for transferring image data from the external information processing terminal to the facsimile machine.
[0115]
The downloaded image data is used for recording by the file print function (PRINTFILE), transmission by the file transmission (SENDFILE) function, uploading by the upload file (UPLOADFILE) function, and deletion by the file deletion (DELETEFILE) function.
[0116]
The detailed operation will be described with reference to FIGS.
[0117]
In S10-1, a communication semaphore (communication resource) is acquired. Here, the communication semaphore will be described. The communication semaphore is acquired when the facsimile apparatus operates using the communication unit and released when the facsimile apparatus ends. If the facsimile apparatus cannot acquire the communication semaphore, the operation cannot be executed (for example, transmission or reception). Conversely, the above arrangement enables smooth simultaneous operation. If the communication semaphore can be obtained in S10-1, the process proceeds to S10-2, and if not, the process branches to BUSY processing (details will be described later). In S10-2, the file ID of the image data to be downloaded is acquired. In the facsimile apparatus of the present embodiment, a serial number (file ID) is given to image data (file) stored in the image memory of the RAM 103, and the image data in the image memory of the RAM 103 is managed by the file ID. The file ID takes a value of 1 to 9999 and is used cyclically. In S10-3, it is determined whether or not the image memory of the RAM 103 is empty. If there is enough sky, the flow goes to S10-4. If there is not enough sky, NG processing (details will be described later) is performed. In step S10-4, the interface LED is turned on to notify that it is operating. While the interface LED is lit, key input of the facsimile machine is prohibited. In S10-5, the attribute of the image data to be downloaded is set to the file specified by the external information processing terminal. In step S10-6, the facsimile apparatus returns to the external information processing apparatus that the facsimile apparatus is executable in response to the file transfer instruction command, and performs data transmission / reception (details will be described later) with the host to receive the next command from the external information processing apparatus. Do. When S10-6 ends normally, the flow goes to S10-7. In S10-7, it is determined whether the next command received from the external information processing device is a page information instruction command. If it is a page information instruction command, the flow shifts to S10-8. If it is not a page information instruction command, NG processing is performed. In S10-8, it is determined whether the image memory of the RAM 103 is empty. If there is enough sky, the flow goes to S10-9. If there is not enough sky, NG processing is performed. In S10-9, new page information is set by the page information instruction command. In S10-10, the normal operation is returned to the external information processing apparatus, and data transmission and reception are performed with the host in order to receive the next command from the external information processing apparatus. When S10-10 ends normally, the flow goes to S10-11. In S10-11, it is determined whether the next command received from the external information processing apparatus is an image data transfer instruction command. If the command is an image data transfer instruction command, the process proceeds to S10-12. If it is not an image data transfer instruction command, NG processing is performed. In S10-12, the data in the image buffer in which the image data from the external information processing device is stored is transferred to the image memory. Normally, data reception from an external information processing terminal does not cause a transfer error unlike a general public line, so that error checking of image data is not performed. Further, the throughput is improved by directly transferring the compressed data received from the external information processing terminal to the image memory without decoding. In addition, a buffer used for communication between facsimile apparatuses via a telephone line and a buffer used for data transfer from an external information processing terminal are also used, and an image file managed by the external information processing terminal is used for facsimile transmission. It can be transferred to the device and the RAM for the buffer can be reduced.
[0118]
On the other hand, when the transfer of the transfer image data length included in the image data transfer instruction command is completed, the process proceeds to S10-13. In S10-13, it is determined whether an error has occurred during execution of S10-12. If no error has occurred, the process proceeds to S10-14. If an error has occurred, NG processing is performed. In S10-14, it is determined whether the image data from the external information processing apparatus has been completed for one page. In the present embodiment, one page of image data can be divided and received according to the transfer image data length included in the image data transfer instruction command. If one page has been completed, the process proceeds to S10-15. If the processing has not been completed for one page, the process branches to S10-10 to continue the processing. In S10-15, it is determined whether all pages of the image data from the external information processing apparatus have been completed. In this embodiment, image data of a plurality of pages can be received together by a combination of three commands (a file transfer instruction command, a page information instruction command, and an image data transfer instruction command). If all pages have been completed, the process proceeds to S10-16. If the processing has not been completed for all pages, the flow branches to S10-6 to continue the processing. In S10-16, an OK response to the interface control task is generated, and a return request for returning to the external information processing terminal that it is operating normally is sent to the interface control task. The transmission is performed by the interface control task.
[0119]
In S10-17 and S10-18, it is determined whether or not the interface control task has completed returning to the external information processing terminal. Upon completion of the return, the flow shifts to S10-19. If the return is not completed and a timeout occurs in S10-17, the flow branches to abnormal processing. In the present embodiment, the timeout period is fixed, but can be made variable by a registration operation of the facsimile machine or a registration operation by the external information processing terminal. In S10-19, the communication semaphore acquired in S10-1 is released. Then, in S10-20, the interface LED is turned off to notify that the DOWNLOADFILE operation has been completed. By turning off the interface LED, key input of the facsimile machine is permitted.
[0120]
Here, data transmission and reception with the host (external information processing terminal) in S10-6 and S10-10 will be described in detail with reference to FIG.
[0121]
First, in S12-1, an OK response to the interface control task is generated, and a return request for returning to the external information processing terminal that it is operating normally is sent to the interface control task. The transmission is performed by the interface control task.
[0122]
In S12-2 and S12-3, it is determined whether or not the interface control task has completed returning to the external information processing terminal. Upon completion of the return, the flow shifts to S12-4. If the return is not completed and a timeout occurs in S12-2, the process branches to abnormal processing. In the present embodiment, the timeout period is fixed, but can be made variable by a registration operation of the facsimile machine or a registration operation by the external information processing terminal.
[0123]
In S12-4 and S12-5, the next command is received from the external information processing terminal. If a next command has been received, the flow shifts to S12-6. If a timeout has occurred in S12-4 without receiving the next command, the flow branches to abnormal processing. In the present embodiment, the timeout period is fixed, but can be made variable by a registration operation of the facsimile machine or a registration operation by the external information processing terminal.
[0124]
In S12-6, it is determined whether the received next command is a stop command. If it is not a stop command, it ends normally. If it is a stop command, the flow branches to S13-1.
[0125]
Here, the abnormality processing will be described in detail with reference to FIG.
[0126]
When the process branches to S13-1, an OK response to the interface control task is generated, and a return request for returning to the external information processing terminal that it is operating normally is sent to the interface control task. The transmission is performed by the interface control task. If the process branches to S13-2, an NG response to the interface control task is generated, and a return request for returning to the external information processing terminal that it is operating normally is sent to the interface control task. The transmission is performed by the interface control task. When the process branches to S13-3, a BUSY response to the interface control task is generated, and a return request for returning to the external information processing terminal that it is operating normally is sent to the interface control task. The transmission is performed by the interface control task.
[0127]
In step S13-4, the image memory that has been used is released. In S13-5, the communication semaphore acquired in S10-1 is released. Then, in step S13-6, the interface LED is turned off to notify that the DOWNLOADFILE operation has been completed. By turning off the interface LED, key input of the facsimile machine is permitted.
[0128]
2. File print (printfile) processing
This operation is a function in which the facsimile apparatus records and outputs a desired image stored in the image memory of the RAM 103 in the facsimile apparatus designated by the external information processing terminal.
[0129]
The PRINTFILE function is realized by a file print instruction command. Designated parameters such as recording paper size and file ID are added to the file print instruction command.
[0130]
Normally, the PRINTFILE function is a GETPRINTINFO. Used in pairs with functions.
[0131]
Images that can be recorded by the PRINT FILE function are limited to download images, received images, and scanned images specified from the external information processing terminal.
[0132]
The detailed operation will be described with reference to FIGS.
[0133]
The command processing task determines that the received command is a file print instruction command, and in S14-1, which branches, determines whether the reception parameter added to the file print instruction command is correct or not (details will be described later). In S14-2, the process branches depending on the result of the determination. If the result of the determination is correct, the process proceeds to S14-3, and if incorrect, the process branches to NG processing (details will be described later). In S14-3, a recording semaphore (recording resource) is obtained. Since this function performs recording output, it is necessary to always acquire a recording semaphore. Here, the recording semaphore will be described. The recording semaphore is acquired when the facsimile apparatus operates using the recording unit and released when the facsimile apparatus ends. If it cannot be acquired, the operation cannot be executed (for example, reception recording, copy recording, etc.). . Conversely, the above arrangement enables smooth simultaneous operation (for example, memory transmission during copying). If the recording semaphore can be obtained in S14-3, the process proceeds to S14-4, and if not, the process branches to BUSY processing. In S14-4, an abnormality of the recording unit is checked (details will be described later). In S14-5, the process branches depending on the result of the determination. If the result of the determination is OK, the flow goes to S14-6, and if an abnormality is found, the flow branches to NG processing. In step S14-6, the interface LED is turned on to notify that it is operating. While the interface LED is lit, key input of the facsimile machine is prohibited. In step S14-7, an OK response to the interface control task is generated, and a return request for returning the normal operation to the external information processing terminal is issued to the interface control task. The transmission is performed by the interface control task. In S14-8 and S14-9, it is determined whether or not the interface control task has completed returning to the external information processing terminal. Upon completion of the return, the flow shifts to S14-10. If the return has not been completed and a timeout has occurred in S14-8, the flow branches to abnormal processing. In the present embodiment, the timeout period is fixed, but can be made variable by a registration operation of the facsimile machine or a registration operation by the external information processing terminal. In S14-10, "printing" is set in the print information status. The print information status is secured in the work area of the RAM 103 of the facsimile unit 1, and the GETPRINTINFO. Information status for In step S14-11, a recording task is started to start a recording operation. The recording operation will be described later. In step S14-12, the interface LED is turned off to notify that the PRINTFILE operation has been completed. By turning off the interface LED, key input of the facsimile machine is permitted.
[0134]
Here, the reception parameter check in S14-1 will be described with reference to FIG.
[0135]
The contents of the reception parameters include the following items and have the following options. However, if the content of the reception parameter differs from the setting of the facsimile machine, a reception parameter error occurs. Further, when the content of the reception parameter is different from the setting of the facsimile apparatus, the processing may be continued such that “the content of the reception parameter is prioritized” and “the setting of the facsimile apparatus is prioritized” without causing a reception parameter error.
Recording paper cassette size: Not checked
Recording paper size: no check, letter, legal, A4
Recording density: standard, economy
File ID: 1 to 9999
Recorded number: 1 to 99
In S16-1, the size of the recording paper cassette is checked. In the facsimile apparatus according to the present embodiment, the recording paper cassette (not shown) has only one size. Therefore, if the content of the reception parameter is "no check", the recording paper cassette size is not checked, and S16-2 is not performed. Transitions to A plurality of recording paper cassettes may be mounted, and the size of the recording paper cassette may be checked. In S16-2, the recording paper size is checked. The contents of the reception parameters are compared with the recording paper size registered by the operator, and if the sizes match, the process proceeds to S16-3. If not, abort. If the content of the reception parameter is "not checked", the process transits to S16-3 without comparison. Further, the recording paper size may be automatically read by a mechanical sensor or the like without performing registration by the operator. In S16-3, the recording density is checked. The contents of the reception parameters are compared with the recording density registered by the operator, and if the densities match, the process proceeds to S16-4. If not, abort. If the content of the reception parameter is "not checked", the process transits to S16-4 without comparison. Further, the recording density may be automatically set based on the remaining amount of the recording ink, the density of the image, the facsimile transmission source, etc. without performing the registration by the operator. In S16-4, the file ID is checked. The file ID is a serial number for an image input / output to / from the facsimile apparatus, and a desired image stored in the image memory of the RAM 103 is accessed by the file ID. In S16-4, it is determined whether an image corresponding to the file ID of the content of the reception parameter exists in the image memory. If there is, the process proceeds to S16-5. If not, terminate abnormally. In S16-5, the file attributes are checked. If the attribute of the image obtained in S16-4 is the file specified by the external information processing terminal, the flow proceeds to S16-6. If the attribute of the image is other than the file specified by the external information processing terminal, the process ends abnormally. In S16-6, the number of recorded images is checked. If the content of the reception parameter is in the range of 1 to 99 sheets, the reception parameter check ends normally. If the content of the reception parameter is out of the range of 1 to 99 sheets, the processing ends abnormally.
[0136]
Here, the recording unit check in S14-4 will be described with reference to FIG.
[0137]
In S17-1, the presence or absence of a recording sheet is checked. The recording paper in the recording paper cassette is checked for the presence or absence of the recording paper by a recording paper sensor (not shown), and if there is the recording paper, the process proceeds to S17-2. If there is no recording paper, the process ends abnormally. In S17-2, the presence or absence of recording ink is checked. If there is a recording ink, the process proceeds to S17-3. If there is no recording ink, the process ends abnormally. In the present embodiment, the recording ink is used for recording. However, the present invention can be applied to a facsimile apparatus using a recording unit using a toner for laser recording. In S17-3, the presence or absence of a recording cover is checked. If the recording cover is in the closed state, the process proceeds to S17-4. If the recording cover is open, the process ends abnormally. In S17-4, it is checked whether or not there is a recording paper jam. If the recording paper jam is not detected by the PE sensor 206 or the like, the recording unit check is terminated normally. If a recording paper jam is detected by the PE sensor 206 or the like, the processing ends abnormally.
[0138]
Here, the abnormality processing will be described with reference to FIG.
[0139]
If NG occurs, an NG response to the interface control task is generated in S18-1, and a return request for returning the abnormal end to the external information processing terminal is sent to the interface control task. If a BUSY has occurred, a BUSY response to the interface control task is generated in S18-3, and a return request for returning the abnormal end to the external information processing terminal is issued to the interface control task. The transmission is performed by the interface control task. Then, the recording semaphore is released in S18-2, and the abnormal processing ends. If the recording semaphore has not been acquired, the recording semaphore is not released.
[0140]
Here, differences between the recording operation of the conventional example and the recording operation of the present embodiment will be described.
[0141]
2. Description of the Related Art Conventionally, a communication image in a facsimile apparatus has a transmission date, a telephone number, a caller name, a number of pages, a so-called caller record added to the head of the image to clearly indicate the sender of the image. Therefore, when the transmission length of the transmission side is compared with the reception length of the reception side, the transmission length is usually longer. If recording is performed as it is, if the sending side sends the fixed form paper, the recording side will not fit on the fixed form paper. Therefore, a technique is known in which the recording side reduces the image at a fixed magnification and stores the image on a standard paper. However, when reduction is performed on the recording side, there is a problem that a faithful reproduction of a transmission image cannot be performed.
[0142]
Also, a technique called reception information recording is known as in the case of the transmission source recording. The reception information recording is to add and record a reception date, a telephone number, a sender name, and a page number to a rear end portion of an image received by the reception side. In order to use this function and fit on standard paper, it is necessary to further reduce the reduction magnification.
[0143]
Further, the image received by the facsimile apparatus must be reliably recorded and output. In the facsimile apparatus using the recording ink as shown in this embodiment, the case where the recording ink runs out is no exception. For this reason, there is known a technique for performing an ink remaining amount detection process for determining whether printing has actually been completed at the time of completion of printing output. When it is determined that the recording ink has run out, the image is stored for recording the same image again, and the operator's intervention is urged. However, in order to perform the remaining ink amount detection processing, it is necessary to perform unnecessary recording on the recorded image or consume unnecessary recording ink. Further, the throughput of the entire system has been reduced for the ink remaining amount detection processing. Conversely, when the recording operation is completed normally, the image stored in the memory is forcibly erased, but when another copy is to be recorded, it is necessary to copy the recording paper, resulting in image deterioration. .
[0144]
On the other hand, in the recording operation according to the present embodiment, the conventional recording operation is performed in the conventional facsimile reception, and the above problem is solved with respect to the recording operation of the image having the attribute of the file designated by the external information processing terminal. The recording operation is performed. In other words, extra processing, reduced recording and ink remaining amount detection processing, and recording of additional information and extra information are not performed on the file specified by the external information processing terminal. Reproduction becomes possible. Further, just by looking at the recording output paper, it is possible to determine whether the recording is the recording by the conventional recording operation or the recording by the recording operation of the file designated by the external information processing terminal. Then, the image after the recording operation of the file specified by the external information processing terminal is completed is retained in the image memory regardless of whether the operation is completed normally or abnormally.
[0145]
Here, determination of whether or not to perform the remaining ink amount detection processing and the reduced recording processing will be described with reference to FIG.
[0146]
First, it is determined whether the attribute of the image file to be recorded in S24-1 is a file designated by the external information processing terminal. If the file is specified by the external information processing terminal, the process proceeds to S24-2. If the file is not specified by the external information processing terminal, the process branches to S24-4, and ends the determination process as the ink remaining amount detection process prohibition mode and the reduced recording process prohibition mode. In step S24-2, it is determined whether or not the ink remaining amount detection processing registered in the apparatus is "Yes" or "No". If the ink remaining amount detection process is set to “Yes”, the process proceeds to S24-3. If the ink remaining amount detection process is set to “not perform”, the process branches to S24-5, and the process proceeds to S24-3 as the ink remaining amount detection process inhibition mode. In S24-3, it is determined whether or not the reduced recording processing registered in the apparatus is performed. If the reduction recording process is set to “Yes”, the determination process ends. If the reduction recording process is set to "not", the process branches to S24-6, and the determination process ends as the reduction recording process inhibition mode.
[0147]
Here, the recording operation in this embodiment will be described in detail.
[0148]
The recording task started in S14-11 performs the operation shown in the flowchart of FIG. First, in S19-1, soft power ON processing of the printer unit 2 is performed, and the process proceeds to S19-2. The details of the soft power ON / OFF processing will be described later. In S19-2, it is determined whether the software power ON process has been completed normally or abnormally. If the processing has been completed normally, the flow goes to S19-3. If the processing is abnormally terminated, a forced software power OFF process is performed in S19-14, and an error display is performed on the display unit of the operation panel 112 in S19-15. Then, in S19-16, the error information is stored in the print information status of the work area of the RAM 103 of the facsimile unit 1, and the process proceeds to S19-13. In S19-3, a recording paper feeding process (details described later) is performed, and the process proceeds to S19-4. In S19-4, it is determined whether the recording paper feeding process has ended normally or abnormally. If the processing has been completed normally, the flow goes to S19-5. If the processing is abnormally terminated, a forced software power OFF process is performed in S19-14, and an error display is performed on the display unit of the operation panel 112 in S19-15. Then, in S19-16, the error information is stored in the print information status of the work area of the RAM 103 of the facsimile unit 1, and the process proceeds to S19-13. In S19-5, the presence or absence of the free recording line buffer 103 is determined. In the present embodiment, print data to be printed on the printer unit 2 is managed in units of lines, and print data cannot be generated unless the print line buffer 103 for generating the print data becomes free. Usually, a plurality of line buffers are reserved and used cyclically. When the recording line buffer 103 becomes free, decoding and RL (run length) -RAW (raw) conversion and resolution conversion (8 pel-360 dpi) are performed in S19-6, and the recording data is written to the recording line buffer 103. The actual transfer of the print data to the printer unit 2 is performed by an interrupt print process, and when the transfer of the print data is completed, the print line buffer 103 is set free. Then, in S19-7, it is determined whether the decoding process of the first page is completed. If the processing has been completed, the process proceeds to S19-8. If not, the process branches to S19-5 and the process is repeated. In S19-8, the recording paper on which the recording has been completed is discharged. In S19-9, it is determined whether all pages to be recorded have been completed. If the processing has been completed, the process proceeds to S19-10. If not completed, the process branches to S19-3 and repeats from the recording paper feeding process. In S19-10, it is determined whether or not the total number to be recorded specified in S16-6 has been completed. If the processing has been completed, the process proceeds to S19-11. If not completed, the process branches to S19-3 and repeats from the recording paper feeding process. In S19-11, the soft power OFF process of the printer unit 2 is performed, and the process proceeds to S19-12. Then, in S19-12, normal end information is stored in the print information status of the work area of the RAM 103 of the facsimile unit 1, and the process proceeds to S19-13. In S19-13, the recording semaphore acquired in S14-3 is released. Then, the recording task ends normally.
[0149]
Here, the soft power ON process in S19-1 and the soft power OFF process in S19-11 and S19-14 will be described in detail.
[0150]
The facsimile apparatus according to the present embodiment has three power states. The first state is a state in which the power is turned off by hardware and power is not supplied to the facsimile unit 1 and the printer unit 2 (hard power OFF). In the second state, the power is turned on in terms of hardware, and power is supplied to the facsimile unit 1 and the printer unit 2. (Not shown) are also turned off, so that the printer unit 2 is in the same state as when the power is turned off (soft power OFF). The third state is a state in which the power is turned on by hardware, the power is also supplied to the facsimile unit 1 and the printer unit 2, and the printer unit 2 is also in the operating state (soft power ON). The three states are provided for the following reasons. The first reason is that the soft power supply is turned off except during the recording operation in order to prevent runaway of the printer unit 2. The second reason is that if the same initialization as when the power is turned on is performed every time the printer unit 2 starts up, the throughput is reduced. The third reason is that turning on the LED of the printer unit 2 leads to wasteful power consumption even though the recording operation is not performed. The fourth reason is that if the LED of the printer unit 2 is kept on, the user may erroneously recognize that the printer unit 2 is operating. The fifth reason is that, when the printer unit 2 ends an error, the error state can be easily canceled by initialization by turning off and on the soft power.
[0151]
The initialization operation when the hardware power supply is turned on and the initialization operation when the software power supply is turned on will be described with reference to FIGS.
[0152]
In the initialization operation when the hardware power supply is turned on, first, a watchdog timer for preventing runaway of the printer MPU 201 is initialized (S20-1), and then a register is initialized for preventing malfunction of the printer MPU 201 (S20-2). Further, peripheral devices such as the horizontal / vertical converter 204 and the Centronics interface 302 are initialized (S20-3), and the work area of the RAM 203 is initialized to prevent malfunction of the printer MPU 201 and to set initial values of each parameter. (S20-4). Thereafter, a timer interrupt is started (S20-5). Next, the RAM 203 is initialized to erase data remaining in each buffer (S20-6).
[0153]
The initialization operation when the soft power supply is turned on initializes only resources used after the soft power supply is turned on. First, the RAM 203 is checked (S21-1), the work area is initialized (S21-2), the RAM 203 is initialized (S21-3), and the data analysis program sent from the Centronics interface is initialized (S21-). 4) Carriage control and paper transport control are initialized (S21-5). The printer MPU 201 performs initial setting of the position of the carriage, that is, the position of the print head 205, using a home position sensor (not shown) (S21-6). In this process, since the carriage position is recognized based on the number of pulses applied to the pulse motor that drives the carriage, the reference position is set using the home position sensor. Next, the carriage is moved in the forward direction by a predetermined amount from the reference position to perform bidirectional correction, and then moved in the reverse direction to sample the state of the home position sensor (S21-7). The number of pulses required for moving in the forward direction and the number of pulses required for moving in the reverse direction are counted, and a correction value in bidirectional printing is obtained based on the counted value. If the correction value exceeds a predetermined range, an error occurs and the recording operation is disabled. Next, the presence or absence of the remaining paper is detected by the PE sensor 206 or the like, and if there is the remaining paper, the remaining paper is discharged (S21-8). Next, it is determined whether or not automatic recovery is performed (S21-9). Automatic recovery is a process performed to prevent nozzle clogging when the print head 205 is of an inkjet type or the like. When performing automatic recovery, an automatic recovery operation is performed (S21-10), and the initialization process is terminated. On the other hand, when the automatic recovery operation is not performed, the initialization processing is terminated.
[0154]
Here, the recording paper feeding process in S19-3 will be described in detail with reference to FIG.
[0155]
The process by which the facsimile unit 1 creates a recording paper feed command in accordance with the user registration, transfers the command to the printer unit 2, and the process until the recording paper is caught by a pickup roller (not shown) is a recording paper feed process. .
[0156]
First, it is determined whether the printer is ready (S22-1). If the printer is not ready, an error message is displayed (S22-8), and an error is terminated (S22-9). If the printer is ready, a motor semaphore is acquired (S22-2). If the motor semaphore cannot be obtained, an error is displayed (S22-8), and the process ends with an error (S22-9). If the printer is ready and the motor semaphore has been acquired, a recording paper feed command is created (S22-8). The recording paper feed command is a set of the following commands.
・ Printer reset
・ Print mode (normal or economy)
・ Printer setting
・ Bidirectional printing correction
・ Page mode
・ Footer printing
・ Bidirectional printing
・ Raster skip
These commands are as follows:
[0157]
That is, the printer is initialized by resetting the printer. The print mode follows the print mode at the time of image printing of the user registration. The printer setting follows the contents of the facsimile mode printer setting of the user registration. The bidirectional printing correction is a value unique to the apparatus, and is not a user registration but a serviceman registration. The page mode is used to select whether to ignore the data on one page during continuous printing or to continue printing from the second page. Select ON when printing a copy or non-delivery image report, and OFF when receiving a received image or normal report. is there. Footer printing will be described later. The bidirectional printing follows the bidirectional printing mode at the time of image printing of the user registration. Raster skip is a recording paper feed start command.
[0158]
When the facsimile unit 1 completes the creation of the recording paper feed command (S22-3), the command is batch-transferred to the printer unit 2 via the Centronics I / F 302 (S22-4). Therefore, the facsimile unit 1 waits for a paper feed request from the printer unit 2 (S22-5). Upon receiving the recording paper feed command, the printer unit 2 sequentially analyzes and executes the command. When the last raster skip command of the command is analyzed, a paper feed request is issued to the facsimile unit 1. The facsimile unit 1 receives the paper feed request (S22-5), starts a paper feed operation with the motor 111 (S22-6), and ends the paper feed operation when the recording paper is transported to the PE sensor 206 (S22). -7). Subsequent cueing of the recording paper is entrusted to the printer unit. The printer unit performs recording paper cueing according to a predetermined cueing amount.
[0159]
Here, the footer printing will be described in detail.
[0160]
In the facsimile apparatus of the present embodiment, a footer mark for detecting the presence or absence of ink is recorded at the rear end of the recording paper after recording the image of one page, and the footer sensor 207 detects the footer mark. Is determined according to the presence or absence of the ink.
[0161]
The footer print command includes parameters. The contents of the parameters are "inking" / "not" for ink remaining amount detection, a received information character string, and a footer mark character string. In a normal reception recording operation, the content of the parameter is set to “Yes”. This is because if the received image is recorded when the ink is out of ink, the received image will be lost because re-recording is impossible. On the other hand, in the image recording operation from the external information processing terminal, the content of the parameter is set to "not". This is because even if the recording is performed when the ink runs out, the recording can be performed again by receiving the image from the external information processing terminal again. In addition, in the image recording operation from the external information processing terminal, by not performing the remaining ink amount detection processing, there is an effect that wasteful ink is not consumed and throughput is improved.
[0162]
Here, the remaining ink amount detection process of the recording unit 2 in the present embodiment will be described with reference to FIG.
[0163]
When the facsimile unit 1 specifies “to perform” the remaining ink amount detection processing by the footer print command from the facsimile unit 1, the image data is recorded, and then the reception information character string and the footer mark character string are printed. The recording paper is fed (S23-1). The footer character code of the footer buffer in which the character string of the footer print command is stored is printed (S23-2). If the printed ink remaining amount detection mark is not detected (S23-3), the result of the ink remaining amount detection is returned to the facsimile side as NG (S23-8). If the ink remaining amount detection mark is detected (S23-3), then the recording paper is fed (S23-4), and it is detected whether the recording paper is colored paper (S23-5). If the recording paper is determined to be color paper, the recording paper detection result is returned to the facsimile side as NG (S23-9). When all the above detections are completed, the output of the remaining ink amount detection is set to OK in order to notify the facsimile unit of the completion (S23-6). When the ink remaining amount detection process is completed, the first page is discharged (S23-7). If the next page print data is received, the second page is fed and printing is continued.
[0164]
The following methods are known as other ink detection methods.
-The remaining amount of ink in the ink tank is detected by an optical sensor and a weight sensor to determine the presence or absence of ink.
The presence or absence of ink is detected by the ejected ink blocking the light of the optical sensor.
The temperature change is detected by applying the ejected ink to the thermistor, and the presence or absence of the ink is detected.
Count the total number of ink ejections and predict the presence or absence of ink.
[0165]
According to the above processing, it is possible to provide an image communication apparatus that can automatically determine the image communication apparatus based on image attributes and the like and perform a recording operation. In addition, it is possible to improve running cost and throughput, and to process only necessary images. Further, it is possible to solve the problems that the received image is lost without being recorded and the received image of one page is divided into two and recorded. Further, the buffer used for communication between the image communication devices via a telephone line or the like and the buffer used for transferring image data from the external information processing terminal, which is the source of the recording operation, also serve as external information. An image file managed by the processing terminal can be transferred to the image communication device. That is, the RAM capacity for the buffer can be reduced, and the file printing function can be realized at low cost.
[0166]
3. Print information acquisition (GET PRINT INFO.) Processing
This operation is a function for notifying the external information processing terminal of the status of the recording operation by the PRINT FILE function instructed by the external information processing terminal, and is usually used in combination with the PRINT FILE function.
[0167]
This operation is realized by a file information acquisition command.
[0168]
This operation is performed regardless of whether a facsimile transmission / reception operation, a copy operation, or a registration operation is being performed as long as data can be transmitted / received to / from the external information processing terminal.
[0169]
Hereinafter, the detailed operation will be described with reference to FIG.
[0170]
In step S25-1, the command processing task determines that the command is a file information acquisition command, and in step S25-1, refers to the contents of the print information status in the work area of the RAM 103 in the facsimile apparatus (details of the contents described in PRINTFILE), and performs a recording operation by PRINT FILE. Is normally terminated (recording) or abnormally terminated. In the case of normal end (recording in progress), the flow shifts to S25-2. In the case of abnormal termination, the flow branches to S25-3. In step S25-2, an OK response to the interface control task is generated, and a return request for notifying the external information processing terminal that it is operating normally is issued to the interface control task. The transmission is performed by the interface control task. On the other hand, in the case of abnormal termination, an NG response to the interface control task is generated in S25-3, and a return request for notifying the external information processing terminal of the abnormal termination is sent to the interface control task. And GETPRINT INFO. To end.
[0171]
4. File transmission (SEND FILE) processing
This operation is a function in which the facsimile apparatus transmits a desired image stored in the image memory of the RAM 103 in the facsimile apparatus designated by the external information processing terminal to a desired destination.
[0172]
The SEND FILE function is realized by a file transmission instruction command and a reception number acquisition command. The file transmission instruction command is a command from the external information processing terminal to the facsimile apparatus, and is a command for instructing transmission together with the designated parameter. The reception number acquisition command is a command from the external information processing terminal to the facsimile apparatus, and is a command for returning the reception number when the facsimile apparatus transmits to the external information processing terminal by the file transmission instruction command. Images that can be transmitted by the SEND FILE function are limited to downloaded images, received images, and scanned images specified from the external information processing terminal.
[0173]
Hereinafter, the detailed operation will be described with reference to FIGS.
[0174]
In S26-1, a communication semaphore (communication resource) is obtained. Here, the communication semaphore will be described. The communication semaphore is acquired when the facsimile apparatus operates using the communication unit and released when the facsimile apparatus ends. If the facsimile apparatus cannot acquire the communication semaphore, the operation cannot be executed (for example, transmission or reception). Conversely, the above arrangement enables smooth simultaneous operation. If the communication semaphore can be acquired in S26-1, the process transits to S26-2, and if it cannot be acquired, the process branches to BUSY processing (to be described in detail later). In S26-2, it is determined whether the reception parameter added to the file transmission instruction command is correct (described later in detail). In S26-3, the process branches depending on the result of the determination. If the result of the determination is correct, the process proceeds to S26-4, and if incorrect, the process branches to an NG process (details will be described later). In step S26-4, the interface LED is turned on to notify that it is operating. While the interface LED is lit, key input of the facsimile machine is prohibited. In step S26-5, an OK response to the interface control task is generated, and a return request for returning to the external information processing terminal that it is operating normally is sent to the interface control task. The transmission is performed by the interface control task. S26-6 In S26-7, it is determined whether or not the interface control task has completed returning to the external information processing terminal. Upon completion of the return, the flow shifts to S26-8. If the return has not been completed and a timeout has occurred in S26-6, the flow branches to abnormal processing. In the present embodiment, the timeout period is fixed, but can be made variable by a registration operation of the facsimile machine or a registration operation by the external information processing terminal. S26-8 In S26-9, the next command is received from the external information processing terminal. If a next command has been received, the flow shifts to S26-10. If a timeout has occurred in S26-8 without receiving the next command, the flow branches to abnormal processing. In the present embodiment, the timeout period is fixed, but can be made variable by a registration operation of the facsimile machine or a registration operation by the external information processing terminal. In S26-10, it is determined whether the received next command is a stop command. If it is not a stop command, the flow goes to S26-11. If it is a stop command, the flow branches to a process of interrupting the SEND FILE operation. In S26-11, it is determined whether the next command received from the external information processing device is a reception number acquisition instruction command. If the command is a reception number acquisition instruction command, the process proceeds to S26-12. If it is not a reception number acquisition instruction command, NG processing is performed. In S26-12, a reception number (file ID) of the image data to be transmitted is acquired. In the facsimile apparatus of the present embodiment, a serial number is given to the image data (file) stored in the image memory of the RAM 103, and the image data in the image memory of the RAM 103 is managed by a reception number. The reception number takes a value from 1 to 9999, and is used cyclically. In step S26-13, an OK response to the interface control task and reception number information are generated, and a normal operation and a return request for returning information on the reception number acquisition instruction command to the external information processing terminal are sent to the interface. Submit to control task. The transmission is performed by the interface control task. S26-14 In S26-15, it is determined whether or not the interface control task has completed returning to the external information processing terminal. Upon completion of the return, the flow shifts to S26-16. If the return is not completed and a timeout occurs in S26-14, the process branches to abnormal processing. In the present embodiment, the timeout period is fixed, but can be made variable by a registration operation of the facsimile machine or a registration operation by the external information processing terminal. In S26-16, a transmission queue is entered for a task (transmission execution task) responsible for the transmission operation. In S26-17, the communication semaphore acquired in S26-1 is released. When the transmission execution task executes transmission, the transmission execution task acquires and releases the communication semaphore again. Then, in S26-18, the interface LED is turned off to notify that the SENDFILE operation has been completed. By turning off the interface LED, key input of the facsimile machine is permitted.
[0175]
Here, the check of the reception parameters in S26-2 will be described in detail with reference to FIG.
[0176]
The contents of the reception parameters include the following items and have the following options. However, if the content of the reception parameter differs from the setting of the facsimile machine, a reception parameter error occurs. Further, when the content of the reception parameter is different from the setting of the facsimile apparatus, the processing may be continued such that “the content of the reception parameter is prioritized” and “the setting of the facsimile apparatus is prioritized” without causing a reception parameter error.
Dial type: numeric keypad, one touch, shortened
One-touch / abbreviated dial numbers: 1 to 16 (one-touch mode), 0 to 99 (abbreviated mode)
Phone number: ASCII character string 32 digits or less (numeric keypad mode)
Destination abbreviation: ASCII character string
Communication protocol: No check, G3 (PSTN)
Communication mode: No check, international line (1), international line (2), international line (3)
Communication speed: unchecked, 4800 bps, 9600 bps
Communication type: Normal transmission, confidential transmission, relay instruction transmission
Box number: 0 to 99
File ID: 1 to 9999
In S28-1, the dial type is checked. If the content of the reception parameter is any one of ten keys, one touch, and abbreviated, it is OK. In S28-2, the one-touch / abbreviated dial number is checked. This item is effective only when designated as one-touch or speed dial in S28-1. If the reception parameter number is within the range and the destination is registered in the designated number, it is OK. If the specified number is out of the range or the destination is not registered, the result is NG. In S28-3, the telephone number is checked. This item is effective only when designated on the numeric keypad in S28-1. If the received parameter numbers are all ASCII character strings and have 32 digits or less, it is OK, and if the designated number is other than the ASCII character strings or has 33 digits or more, it is NG. In S28-4, a check is made of the abbreviation of the destination. If the received parameter abbreviations are all ASCII character strings, it is OK, and if the designated abbreviations are not ASCII character strings, they are NG. In S28-5, the communication protocol is checked. If the content of the reception parameter is “no check” or “G3 (PSTN)”, it is OK, otherwise it is NG. In S28-6, the communication mode is checked. If the content of the reception parameter is "unchecked", "international line (1)", "international line (2)", or "international line (3)", it is OK, otherwise it is NG. In S28-7, the communication speed is checked. If the content of the reception parameter is “no check”, “4800 bps” or “9600 bps”, it is OK, otherwise, it is NG. In S28-8, the communication type is checked. If the content of the reception parameter is “normal transmission”, “confidential transmission”, or “relay instruction transmission”, it is OK, otherwise, it is NG. In S28-9, the box number is checked. If the content of the reception parameter is in the range of 0 to 99, it is OK, and if it is outside the range, it is NG. In S28-10, the file ID is checked. The file ID is a serial number for an image input / output to / from the facsimile apparatus, and a desired image stored in the image memory of the RAM 103 is accessed by the file ID. In S28-10, it is determined whether an image corresponding to the file ID of the content of the reception parameter exists in the image memory. If so, check file attributes. If the attribute of the image is a file specified by the external information processing terminal, the process ends normally. If the image corresponding to the file ID does not exist, and the attribute of the image is other than the file specified by the external information processing terminal, it is determined to be NG.
[0177]
Here, the abnormal processing will be described in detail with reference to FIG.
[0178]
If the flow branches to S29-1, an OK response to the interface control task is generated, and a return request for returning to the external information processing terminal that the terminal is operating normally is sent to the interface control task. The transmission is performed by the interface control task. If the process branches to S29-2, an NG response to the interface control task is generated, and a return request for returning to the external information processing terminal that it is operating normally is sent to the interface control task. The transmission is performed by the interface control task. If the process branches to S29-3, a BUSY response to the interface control task is generated, and a return request for returning to the external information processing terminal that it is operating normally is sent to the interface control task. The transmission is performed by the interface control task. In S29-4, the communication semaphore acquired in S26-1 is released. Then, in S29-5, the interface LED is turned off to notify that the SENDFILE operation has been completed. By turning off the interface LED, key input of the facsimile machine is permitted.
[0179]
According to the above processing, when the interface is not in a transferable state for a certain period of time, the processing is stopped, so that an easy-to-use image communication device using a parallel interface capable of high-speed data transfer Can be provided.
[0180]
5. Transmission information acquisition (GETSENDINFO.) Processing
FIGS. 30 and 31 are flowcharts showing the operation of the transmission information notification for transferring information relating to the transmission of the facsimile apparatus to the information processing terminal 109 in the present embodiment.
[0181]
In the command processing task shown in FIG. 8, if a message from the interface control task is received and the command is a transmission information acquisition command, GETSENDINFO. Is performed.
[0182]
First, in step S30-001, it is determined whether or not the transmission result of the reception number specified by the transmission information acquisition command from the information processing terminal 109 exists in the communication management information. If the communication management number 44-001 of the communication management information shown in FIG. 44 matches the reception number specified by the transmission information acquisition command, and the communication type 44-005 in FIG. 44 indicates "transmission". If so, the process proceeds to step S30-002.
[0183]
In step S30-002, it is determined whether the communication management information found in step S30-001 has already been notified as transmission information. If the communication management report output history information 44-011 of the communication management information shown in FIG. 44 does not indicate that the transmission information has not been notified, the process proceeds to step S30-003.
[0184]
In step S30-003, an NG response indicating that there is no transmission event of the designated reception number is sent to the interface control task as a message, and GETSENDINFO. Is completed.
[0185]
On the other hand, if the communication management information has not been notified as the transmission information in step S30-002, that is, the communication management report output history information 44-011 of the communication management information shown in FIG. 44 indicates that the transmission information has not been notified. If there is, the process proceeds to step S30-004.
[0186]
In step S30-004, it is determined whether the communication result of the communication management information indicates an error. If the communication result 44-010 of the communication management information shown in FIG. 44 indicates "normal termination", the process proceeds to step S30-005.
[0187]
In step S30-005, transmission information indicating "normal termination" is generated as the transmission status, and the process proceeds to step S30-012.
[0188]
On the other hand, if it is determined in step S30-004 that the communication result 44-010 of the communication management information shown in FIG. 44 indicates "error end," the process advances to step S30-006.
[0189]
In step S30-006, transmission information indicating "error end" is generated as the transmission status, and the process proceeds to step S30-012.
[0190]
On the other hand, in step S30-001, the communication management number 44-001 of the communication management information shown in FIG. 44 does not match the reception number specified by the transmission information acquisition command, or the communication type 44-005 in FIG. If “transmission” is not indicated, the process proceeds to step S30-007.
[0191]
In step S30-007, it is determined whether or not the transmission event of the reception number specified by the transmission information acquisition command exists in the transmission queue. If the transmission event with the designated reception number does not exist in the transmission queue, the process proceeds to step S30-008.
[0192]
In step S30-008, an NG response indicating that there is no transmission event of the designated reception number is sent as a message to the interface control task, and GETSENDINFO. Is completed.
[0193]
On the other hand, if it is determined in step S30-007 that the transmission event with the designated reception number exists in the transmission queue, the process proceeds to step S30-009.
[0194]
In step S30-009, it is determined whether or not the transmission event is being transmitted. If the transmission is being performed, the process proceeds to step S30-010; otherwise, the process proceeds to step S30-011.
[0195]
In step S30-010, transmission information indicating "transmitting" as the transmission status is generated, and the process proceeds to step S30-012. In step S30-010, transmission information indicating "transmission standby" is generated as the transmission status, and the process proceeds to step S30-012.
[0196]
In step S30-012, the OK response and the transmission information generated in step S30-005, step S30-006, step S30-010, or step S30-011 are sent to the interface control task as a message, and the OK and transmission information are returned. And the process proceeds to step S30-013.
[0197]
In step S30-013, if a message from the interface control task indicating that the return of OK and the transmission information has been successful is received, the process proceeds to step S30-015, and if not, the process proceeds to step S30-014.
[0198]
In step S30-014, if a message from the interface control task indicating that the return of the OK and the transmission information has not been successful within the specified time is received, GETSENDINFO. Is completed, and if not, the flow returns to step S30-013.
[0199]
In step S30-015, it is determined whether the transmission information requested to be returned in step S30-012 is information indicating "normal end" or "error end". If the transmission information requested to be returned is information indicating "normal end" or "error end", the process proceeds to step S30-016, and if not, GETSENDINFO. Is completed.
[0200]
In step S30-016, the communication management report output history information 44-011 of the communication management information referred to when determining whether the transmission result is an error in step S30-04 is set to indicate that the transmission information has been notified. Update, GETSENDINFO. Is completed.
[0201]
By the above processing, the facsimile apparatus in the present embodiment is capable of managing the transmission events requested by the information processing terminal 109 through SENDFILE, etc., by performing “normal end”, “error end”, The transmission information regarding the status such as “transmitting” and “waiting for transmission” is notified without providing information having a new structure different from the existing communication management information.
[0202]
6. Upload file (UPLOADFILE) processing
32, 33, and 34 transfer the image data stored in the image memory on the RAM 103 of the image communication apparatus to the information processing terminal 109 in file units managed by the image communication apparatus according to the present embodiment. It is a flowchart which shows operation | movement of a file upload.
[0203]
In the command processing task of FIG. 8, if a message from the interface control task is received and the command is a file transfer request command, UPLOAFILE processing is executed.
[0204]
First, in step S32-001, it is determined whether a file upload process is possible. This is performed in order to prevent a malfunction caused by sharing the image buffer on the RAM 103 during communication and when transferring data to the information processing terminal 109. The details will be described later (FIG. 35).
[0205]
In step S32-002, if the determination result in step S32-001 is acceptable, that is, if the file upload process is possible, the process proceeds to step S32-003; otherwise, the process proceeds to step S32-028. Proceed to.
[0206]
In step S32-003, the interface LED for notifying the operator that the command is being processed and the local operation is prohibited is turned on, and the process proceeds to step S32-004.
[0207]
In step S32-004, an OK response is sent to the interface control task as a message, and an OK return request is made. In step S32-005, if a message from the interface control task indicating that the return of OK has been successful is received, the process proceeds to step S32-007, and if not, the process proceeds to step S32-006.
[0208]
In step S32-006, if a message from the interface control task indicating that the return of OK has not been successful within the specified time is received, the process proceeds to step S32-028, and if not, the process proceeds to step S32-005. Return.
[0209]
Next, in step S32-007, if a message from the interface control task indicating the next command is received, the process proceeds to step S32-009, and if not, the process proceeds to step S32-008.
[0210]
In step S32-008, if a message from the interface control task indicating the next command cannot be received within the specified time, the flow advances to step S32-028, and if not, the flow returns to step S32-007.
[0211]
In step S32-009, it is determined whether or not the message received in step S32-007 indicates the requested page information instruction command. If the received message does not indicate the requested page information instruction command, the process proceeds to step S32-010.
[0212]
In step S32-010, an NG response indicating a sequence error is sent as a message to the interface control task, and the flow advances to step S32-028.
[0213]
On the other hand, if it is determined in step S32-009 that the received message indicates the requested page information instruction command, the process advances to step S32-011.
[0214]
In step S32-011, it is determined whether the instruction of the requested page information such as the encoding method and the resolution is correct, and the process proceeds to step S32-012. The details will be described later.
[0215]
In step S32-012, if the result of the determination in step S32-011 is no error, that is, if the instruction of the requested page information is correct, go to step S32-013; otherwise, go to step S32-028. Proceed to.
[0216]
In step S32-013, an OK response is sent as a message to the interface control task, and a request for returning OK is made.
[0219]
In step S32-014, if a message from the interface control task indicating that the return of OK has been successful is received, the process proceeds to step S32-016; otherwise, the process proceeds to step S32-015.
[0218]
In step S32-015, if a message from the interface control task indicating that the return of OK has not been successful within the specified time is received, the process proceeds to step S32-028, and if not, the process proceeds to step S32-014. Return.
[0219]
Next, in step S32-016, if a message from the interface control task indicating the next command is received, the process proceeds to step S32-018, and if not, the process proceeds to step S32-017.
[0220]
In step S32-017, if a message from the interface control task indicating the next command cannot be received within the specified time, the flow advances to step S32-028, and if not, the flow returns to step S32-016.
[0221]
In step S32-018, it is determined whether the message received in step S32-017 indicates an image data transfer request command. If the received message does not indicate the image data transfer request command, the process proceeds to step S32-019.
[0222]
In step S32-019, an NG response indicating a sequence error is sent as a message to the interface control task, and the flow advances to step S32-028.
[0223]
On the other hand, if it is determined in step S32-018 that the received message indicates the image data transfer request command, the flow advances to step S32-020.
[0224]
In step S32-020, it is determined whether or not the request for image data transfer is correct, and the flow advances to step S32-021. The details will be described later.
[0225]
If it is determined in step S32-021 that the result of the determination in step S32-020 is error-free, that is, if the request for image data transfer is correct, the process proceeds to step S32-022. If not, the process proceeds to step S32-028. Proceed to.
[0226]
In step S32-022, image data to be transferred to the host is generated, and the flow advances to step S32-023. The details will be described later.
[0227]
In step S32-023, an OK response and the image data generated in step S32-022 are sent to the interface control task as a message, and a request is made to return OK and image data.
[0228]
In step S32-024, if a message from the interface control task indicating that the return of the image data is successful is received, the process proceeds to step S32-026, and if not, the process proceeds to step S32-025. In step S32-025, if a message from the interface control task indicating that the return of the OK and the image data has not been successful within the specified time is received, the process proceeds to step S32-028, and if not, the process proceeds to step S32. Return to -024.
[0229]
In step S32-026, it is determined whether the image data requested to be returned in step S32-023 is the last block of one page. If it is the last block, that is, if the transfer of one page is completed, the process proceeds to step S32-027, and if not, the process returns to step S32-016.
[0230]
In step S32-027, it is determined whether or not the image data requested to be returned in step S32-023 is the last block of the specified file. If it is the last block, that is, if there is no next page, the process proceeds to step S32-028, and if not, the process returns to step S32-007.
[0231]
In step S32-028, the prohibited communication and local operation are permitted, facsimile communication is performed, and the flow advances to step S32-029.
[0232]
In step S32-029, in order to notify the operator that the local operation has been permitted, the interface LED turned on in step S32-003 is turned off, and the UPLOADFILE processing is terminated.
[0233]
FIG. 35 is a flowchart describing in detail the file upload availability determination in step S32-001 in FIG.
[0234]
First, in step S35-001, it is determined whether or not the image communication device is in a local operation. If the local operation is being performed, the process proceeds to step S35-002.
[0235]
In step S35-002, a BUSY response is sent to the interface control task as a message, and the flow advances to step S35-012.
[0236]
On the other hand, if it is determined in step S35-001 that the image communication device is not performing the local operation, the process proceeds to step S35-003.
[0237]
In step S35-003, a new local operation is prohibited, and the process proceeds to step S35-004.
[0238]
In step S35-004, it is determined whether or not the image communication device is performing facsimile communication. If communication is in progress, the process proceeds to step S35-005.
[0239]
In step S35-005, a BUSY response is sent to the interface control task as a message, and the flow advances to step S35-012.
[0240]
On the other hand, if it is determined in step S35-004 that the image communication device is not communicating, the process proceeds to step S35-006.
[0241]
In step S35-006, new communication is prohibited, and the process proceeds to step S35-007.
[0242]
In step S35-007, it is determined whether the file specified by the file transfer request command exists. If the specified file does not exist, the process proceeds to step S35-008.
[0243]
In step S35-008, an NG response indicating that there is no designated file is sent to the interface control task as a message, and the flow advances to step S35-012.
[0244]
On the other hand, if the file specified in step S35-007 exists, the process proceeds to step S35-009.
[0245]
In step S35-009, it is determined whether the file specified by the file transfer request command is a confidential file. If the designated file is a confidential file, the process proceeds to step S35-010.
[0246]
In step S35-010, an NG response indicating that the designated file is invalid is sent to the interface control task as a message, and the flow advances to step S35-012.
[0247]
On the other hand, if the file specified in step S35-009 is not a confidential file, the flow advances to step S35-011.
[0248]
In step S35-011, the processing of the calling side is notified that the file upload is possible, and the file upload permission / inhibition determination ends.
[0249]
In step S35-012, the fact that the file upload is not possible is notified to the process of the calling side, and the file upload determination is ended.
[0250]
FIG. 36 is a flowchart describing in detail whether the request page information instruction in step S32-011 in FIG. 32 is correct or not.
[0251]
First, in step S36-001, the encoding system specified by the request page information instruction command matches the encoding system of the image file stored in the image communication device and specified by the file transfer request command. It is determined whether or not there is. The encoding method includes ITU-T Recommendation T.30. 4 and T.I. There are three types of "MH", "MR", and "MMR" described in 30. If they do not match, the process proceeds to step S36-005, and if they do match, the process proceeds to step S36-002.
[0252]
In step S36-002, it is determined whether or not the resolution specified by the request page information instruction command matches the resolution of the page of the image file stored in the image communication device and specified by the file transfer request command. Judge. For the resolution, ITU-T recommendation T. 4 and T.I. The “standard” in which the main scanning resolution described in No. 30 is 8 [dots / mm] and the sub-scanning resolution is 3.75 [lines / mm], and the resolution includes a main scanning resolution of 8 [dots / mm]. And "fine" whose sub-scanning resolution is 7.7 [lines / mm]. If they do not match, the process proceeds to step S36-005, and if they do match, the process proceeds to step S36-003.
[0253]
In step S36-003, the main scanning length specified by the request page information instruction command matches the main scanning length of the page of the image file specified by the file transfer request command stored in the image communication device. It is determined whether or not. The main scanning length is a horizontal length when a sheet is placed vertically, and is defined in ITU-T Recommendation T.50. 4 and T.I. There are three “A4”, “B4”, and “A3” corresponding to the 30 main scanning line lengths. If they do not match, the process proceeds to step S36-005, and if they do match, the process proceeds to step S36-004.
[0254]
In step S36-004, the calling page process is notified that there is no error in the requested page information instruction command, and the process of determining whether the requested page information instruction is correct is ended.
[0255]
Step S36-005 is executed when there is a mismatch in the encoding method, resolution, or main scanning length in step S36-001, step S36-002, or step S36-003, and an NG response indicating that the parameter is invalid. As a message to the interface control task, and the flow advances to step S36-006.
[0256]
In step S36-006, the calling page process is notified that there is an error in the request page information instruction command, and the process of determining whether the request page information instruction is correct is ended.
[0257]
FIG. 37 is a flowchart describing in detail whether the image data transfer request is correct or not in step S32-020 in FIG.
[0258]
First, in step S37-001, it is determined whether the block length specified by the image data transfer request command is valid. If the block length is larger than the header data length to be described later, it is determined to be valid, and the process proceeds to step S37-002, and if not, the process proceeds to step S37-003.
[0259]
In step S37-002, the process on the calling side is notified that there is no error in the image data transfer request command, and the process of determining whether the image data transfer request is correct is ended.
[0260]
On the other hand, in step S37-003, an NG response indicating that the block length is invalid is sent to the interface control task as a message, and the flow advances to step S37-004.
[0261]
In step S37-002, the calling-side process is notified that there is an error in the image data transfer request command, and the process of determining whether the image data transfer request is correct is ended.
[0262]
FIG. 38 is a flowchart describing in detail the generation of the transfer image data in step S32-022 in FIG.
[0263]
First, in step S38-001, the relationship between the block length Ls specified by the image data transfer request command and the amount of untransferred page data (remaining page data length) Lr is compared. Here, the data length of the header added immediately before each image data block is Lh. The header includes a PE flag indicating the end of the page, a DE flag indicating the end of the file, and an image data length LEN following the header. If Ls> Lh + Lr is true, that is, if the block length specified by the image data transfer request command is larger than the value obtained by adding the header data length and the remaining page data length, the process proceeds to step S38-002. .
[0264]
In step S38-002, PE = 0 indicating that it is not the end of the page, DE = 0 indicating that it is not the end of the file, and the header data whose image data length following the header is LEN = Ls-Lh are stored in the information processing terminal. The data is set in the image buffer on the RAM 103 used when data is transferred to the CPU 109, and the flow advances to step 600-003.
[0265]
In step S38-003, the image data is copied from the image memory on the RAM 103 to the image buffer on the RAM 103 used for data transfer to the information processing terminal 109 so that the data length becomes LEN = Ls-Lh. Proceed to -004.
[0266]
In step S38-004, the untransferred page data amount Lr is updated to Lr-LEN, and the process of generating the transfer image data ends.
[0267]
On the other hand, in step S38-001, if Ls> Lh + Lr is false, that is, the block length specified by the image data transfer request command is equal to or smaller than the value obtained by adding the data length of the header and the remaining page data length. If so, the process proceeds to step S38-005.
[0268]
In the step S38-005, it is determined whether or not the next page exists. If there is a new page next to the page currently being transferred, the process proceeds to step S38-006.
[0269]
In step S38-006, the PE = 1 indicating the end of the page, DE = 0 indicating the end of the file, and the header data having the image data length LEN = Lr following the header are stored in the information processing terminal 109. The data is set in the image buffer on the RAM 103 used when transferring data to the RAM 103, and the flow advances to step 600-007.
[0270]
In step S38-007, the remaining image data whose data length is LEN = Lr is copied from the image memory on the RAM 103 to the image buffer on the RAM 103 used when transferring data to the information processing terminal 109. The generation process ends.
[0271]
On the other hand, in step S38-005, if there is no new page next to the page currently being transferred, the process proceeds to step S38-008.
[0272]
In step S38-008, the PE = 1 indicating the end of the page, DE = 0 indicating the end of the file, and the header data having the image data length LEN = Lr following the header are stored in the information processing terminal. The data is set in the image buffer on the RAM 103 which is used when transferring data to the CPU 109, and the flow advances to step 600-009.
[0273]
In step S38-009, the remaining image data whose data length is LEN = Lr is copied from the image memory on the RAM 103 to the image buffer on the RAM 103 used for data transfer to the information processing terminal 109, and the transfer image data The generation process ends.
[0274]
With the above processing, the image communication device according to the present embodiment shares the image buffer on the RAM 103 between the time of communication and the time of data transfer to the information processing terminal 109, while sharing the image buffer stored in the image memory of the RAM 103. The data is transferred to the information processing terminal 109 in file units managed by the image communication device.
[0275]
In addition, the image communication device according to the present embodiment divides the image data of each page into blocks of a size designated by the information processing terminal 109 and transfers the blocks.
[0276]
Further, the image communication apparatus according to the present embodiment, when dividing and transferring the image data of each page into a block size designated by the information processing terminal 109, terminates the page immediately before the image data, terminates the page, And a header including information on the size of the actual image data that follows. Also, using this header, if there is only untransferred image data of a size smaller than the block size specified by the information processing terminal 109 in the image communication device, the actual image data following the header The size information is appropriately set, and data smaller than the block size specified by the information processing terminal 109 is transferred to the information processing terminal 109.
[0277]
According to the above processing, the buffer used for communication between the image communication devices via the telephone line or the like and the buffer used for transferring data to the external information processing terminal are shared, and the image communication device is managed. It is possible to transfer the current image file to an external information processing terminal. That is, the RAM capacity for the buffer can be reduced, and the file upload function can be realized at low cost.
[0278]
Also, by prohibiting file upload during local operation, the program structure becomes extremely simple, and the file upload function can be developed in a short time.
[0279]
Also, when the external information processing terminal requests actual image data transfer, the block length can be specified. That is, the external information processing terminal can declare a block length that can be managed by a single request each time, regardless of the image communication apparatus according to the present invention, and the load on the external information processing terminal can be reduced.
[0280]
Also, when the image communication apparatus requests the transfer of actual image data, by adding a header including information on the end of the page, the end of the page, and the size of the actual image data that follows, If only untransferred image data of a size smaller than the block size specified by the processing terminal exists in the image communication device, information on the size of the actual image data following in the header is appropriately set, and external information processing is performed. Data smaller than the block size specified by the terminal can be transferred to the external information processing terminal. That is, transfer of redundant data can be reduced.
[0281]
7. Reception (RECEIVE) processing
FIG. 39 is a flowchart showing the operation of changing the reception mode of the facsimile apparatus in this embodiment to any one of the "standard reception", "memory reception", and "memory and recording reception" modes.
[0282]
In the command processing task of FIG. 8, if a message from the interface control task is received and the command is a reception mode change instruction command, the process of RECEIVE is executed.
[0283]
First, in step S39-001, the reception mode mode specified by the reception mode change instruction command is copied to the temporary reception mode holding area temp_mode secured in the work area on the RAM 103, and the process proceeds to step S39-002.
[0284]
In step S39-002, an OK response is sent as a message to the interface control task, a request is made to return OK, and the flow advances to step S39-003.
[0285]
In step S39-003, if a message from the interface control task indicating that the return of OK has been successful is received, the process proceeds to step S39-005; otherwise, the process proceeds to step S39-004.
[0286]
In step S39-004, if a message from the interface control task indicating that the return of OK has not been successful within the specified time is received, the RECEIVE processing is terminated without doing anything. It returns to step S39-003.
[0287]
In step S39-005, the contents of the temporary reception mode holding area temp_mode are copied to the next reception mode holding area next_mode secured in the work area on the RAM 103, and the RECEIVE process ends.
[0288]
FIG. 40 is a flowchart showing the operation of saving the reception mode in which the attributes of the received image indicating in which reception mode the received image was created are stored in each received image in the facsimile apparatus of the present embodiment.
[0289]
The reception mode saving process is performed when the facsimile apparatus of the present embodiment detects the CI from the communication line, closes the line, and starts facsimile reception based on the procedure of facsimile transmission, or from the operator. This is executed when facsimile reception is started based on a request for facsimile reception.
[0290]
First, in step S40-001, the contents of the next reception mode holding area next_mode are copied to the current reception mode holding area cur_mode secured in the work area on the RAM 103, and the process proceeds to step S40-002.
[0291]
In step S40-002, it is determined which reception mode the current reception mode holding area cur_mode indicates. If the current reception mode is “standard reception”, the process proceeds to step S40-003.
[0292]
In step S40-003, the memory reception attribute mem_attr of the received image is set to OFF indicating that the received image is not a memory reception, and the process proceeds to step S40-004.
[0293]
In step S40-003, the immediate recording attribute imm_prn_attr at the time of memory reception of the received image is set to OFF indicating that the image is not immediate recording at the time of memory reception, and the process of saving the reception mode ends.
[0294]
On the other hand, in step S40-002, if the current reception mode is not “standard reception”, that is, if the current reception mode is “memory reception” or “memory and recording reception”, the process proceeds to step S40-005. .
[0295]
In step S40-005, the memory reception attribute mem_attr of the received image is set to ON indicating that the image is a memory reception, and the process proceeds to step S40-006.
[0296]
Next, in step S40-006, it is determined whether the current reception mode holding area cur_mode indicates the reception mode of “memory reception” or “memory and recording reception”. If the current reception mode is “memory reception”, the process proceeds to step S40-003, and as described above, the immediate recording attribute at the time of memory reception of the received image, imm_prn_attr, is not immediate recording at the time of memory reception. Is set to OFF, and the reception mode saving process is ended.
[0297]
On the other hand, if it is determined in step S40-006 that the current reception mode is “memory and recording reception”, the process proceeds to step S40-007.
[0298]
In step S40-007, the immediate recording attribute imm_prn_attr at the time of memory reception of the received image is set to ON indicating immediate recording at the time of memory reception, and the process of saving the reception mode ends.
[0299]
FIG. 41 is a flowchart showing the operation of the recording waiting received image monitoring task for periodically monitoring the received image waiting for recording in the facsimile apparatus of this embodiment.
[0300]
First, in step S41-001, a received image waiting for recording is searched from the received image sequence. If there is a received image that satisfies the memory reception attribute mem_attr = OFF, or a received image that satisfies the memory reception attribute mem_attr = ON and the immediate recording attribute imm_prn_attr = ON at the time of memory reception, that is, if the reception mode is “standard reception” If the image received at the time of “” or the image received at the time when the reception mode is “memory and recording reception” exists in the received image sequence, the process proceeds to step S41-002. The process proceeds to S41-009.
[0301]
In step S41-002, a recording task (see FIG. 19) is started, a request is made to record the received image, and the flow advances to step S41-003.
[0302]
In step S41-003, it is determined whether the activation of the recording task in step S41-002 is successful. If the start of the recording task is successful, the process proceeds to step S41-004; otherwise, the process proceeds to step S41-009.
[0303]
If the start of the recording task is successful, the process waits for the end of the recording task in step S41-004. If the end of the recording task is detected, the process proceeds to step S41-005.
[0304]
In the step S41-005, it is determined whether or not the end of the recording task is normal. If the operation has been completed normally, the process proceeds to step S41-006; otherwise, the process proceeds to step S41-009.
[0305]
In step S41-006, it is determined whether the memory reception attribute mem_attr of the received image indicates memory reception. If mem_attr = ON is false, that is, if the received image is an image received when the reception mode is “standard reception”, the process proceeds to step S41-007, and if mem_attr = ON is true, that is, the mem_attr = ON is true. If the received image is an image received when the reception mode is “memory and recording reception”, the process proceeds to step S41-008.
[0306]
In step S41-007, the received image received when the reception mode is "standard reception" is deleted from the image memory of the RAM 103, and the process proceeds to step S41-009.
[0307]
On the other hand, in step S41-008, the immediate recording attribute imm_prn_attr at the time of memory reception of the received image received when the reception mode is “memory and recording reception” is set to OFF indicating that the immediate recording at the time of memory reception has ended. Then, the process proceeds to step S41-009.
[0308]
In step S41-009, the recording waiting received image monitoring task for periodically monitoring the received image waiting for recording is stopped for a predetermined time, and the process returns to step S41-001 again.
[0309]
By the above processing, the facsimile apparatus in the present embodiment always receives the reception mode change instruction command from the information processing terminal 109 irrespective of whether or not reception is being performed. Also, even if there is a request to change the reception mode during reception, the reception event is received by facsimile based on the reception mode at the time when the event was started, and based on the reception mode changed from the next reception event. Received by facsimile.
[0310]
According to the above processing, the image communication device temporarily stores the received image in the memory, outputs the image to the printer unit, and deletes the image from the memory after recording is completed in the printer unit. In addition to the mode in which all data is stored in memory without recording in the printer unit, the received image is stored in memory and output to the printer unit, but the image is retained in memory even after recording is completed in the printer unit. Will be able to choose.
[0311]
Further, the mode can be changed from the information processing terminal.
[0312]
Further, based on an instruction from the information processing terminal, information related to reception is separated from transmission, and it is possible to notify the reception status even during reception.
[0313]
In addition, based on an instruction from the information processing terminal, the information on the reception result output once may not be notified again.
[0314]
Also, when changing the reception mode based on an instruction from the information processing terminal, the reception mode is changed only when the fact that the change of the reception mode can be executed is completely output to the information processing terminal, and a timer is provided. If it is not possible to output that execution is possible within the time, the process of changing the reception mode is stopped.
[0315]
Also, when the received information is output based on the instruction from the information processing terminal, the fact that the notification is completed is stored only when the received information is completely output to the information processing terminal, and a timer is provided, and if the received information is output within a predetermined time, If the received information cannot be output to the user, the completion of the notification is not stored.
[0316]
8. Reception information acquisition (GETRECEIVEINFO.) Processing
FIG. 42 is a flowchart illustrating an operation of acquiring (notifying) reception information for transferring information related to reception of the facsimile apparatus to the information processing terminal 109 in the present embodiment.
[0317]
In the command processing task of FIG. 8, if a message from the interface control task is received and the command is a reception information acquisition command, the GETRECEIVEINFO. Is performed.
[0318]
First, in step S42-001, it is determined whether or not there is communication information regarding unrecognized memory reception in the information processing terminal 109. If the communication type 44-005 of the communication management information shown in FIG. 44 indicates “reception” and “communication according to an instruction from the information processing terminal 109”, and the communication management report output history information 44-011 indicates the reception information If there is communication management information indicating non-notification, the oldest communication management information is selected, and the process proceeds to step S42-002. Note that data indicating “communication by an instruction from the information processing terminal 109” on the communication type 44-005 in the communication management information is used when the communication management information is updated in post-reception processing when the communication is reception. If the memory reception attribute of the received image indicates that it is memory reception, the setting is automatically performed.
[0319]
In step S42-002, reception information indicating reception has been generated from the communication management information selected in step S42-001. Here, the reception information is configured as shown in FIG. In this step, the reception status 43-001 is set to “received”, and the contents of the communication management number 44-001 of the communication management information are copied to the reception number 43-002. Further, in the facsimile apparatus of the present embodiment, since one reception image file is generated by one reception, the communication management number is regarded as the file ID. Therefore, the contents of the communication management number 44-001 of the communication management information are also copied to the file ID 43-003. Further, the file determination flag 43-004 is set to “determination”, and the process proceeds to step S42-006.
[0320]
On the other hand, if it is determined in step S42-001 that there is no communication information regarding the memory reception that has not been notified to the information processing terminal 109, the process proceeds to step S42-003.
[0321]
In step S42-003, it is determined whether or not memory reception is currently being performed. If the reception is currently being performed and the memory reception attribute of the received image indicates that the reception is a memory reception, the process proceeds to step S42-004.
[0322]
In step S42-004, reception information indicating that reception is in progress is generated. That is, the reception status 43-001 is set to “received”, the communication management number of the reception is copied to the reception number 43-002 and the file ID 43-003, and the file determination flag 43-004 is set to “undetermined”. After setting, the process proceeds to step S42-006. On the other hand, if it is determined in step S42-003 that the image is not currently being received or that the memory reception attribute of the received image does not indicate that memory reception is being performed, the process proceeds to step S42-005.
[0323]
In step S42-005, reception information indicating non-reception is generated. That is, the reception status 43-001 is set to “not yet received”, the value indicating that it does not exist in the reception number 43-002 and the file ID 43-003 is copied, and the file determination flag 43-004 is set to “undetermined”. After setting, the process proceeds to step S42-006.
[0324]
In step S42-006, an OK response and the reception information generated in step S42-002 or S42-004 or S42-005 are sent to the interface control task as a message, and a request is made to return OK and the reception information. Proceed to.
[0325]
In step S42-007, if a message from the interface control task indicating that the return of the reception information is successful is received, the process proceeds to step S42-009, and if not, the process proceeds to step S42-008.
[0326]
In step S42-008, if a message from the interface control task indicating that the return of the OK and the reception information has not been successful within the specified time is received, GETRECEIVEINFO. Is completed, and if not, the process returns to step S42-007.
[0327]
In step S42-009, it is determined whether or not the reception information requested to be returned in step S42-006 is information indicating that reception has been completed. If the reception information requested to be returned is the information indicating that the reception has been completed, the process proceeds to step S42-010; otherwise, the process returns to GETRECEIVEINFO. Is completed.
[0328]
In step S42-010, the communication management report output history information 44-011 of the communication management information referred to when generating the reception information to be returned in step S42-002 is updated to indicate that the reception information has been notified, and the GETRECEIVEINFO. Is completed.
[0329]
By the above-described processing, the facsimile apparatus in the present embodiment is particularly required for the information processing terminal 109 to operate the image data. The reception event when the reception mode is “memory reception” or “memory and recording reception” The reception information about the reception event when the reception mode is “standard reception” is notified completely without providing information having a new structure different from the existing communication management information.
[0330]
9. Acquisition of communication management reception number (GETACTIVITYID) processing
The communication management reception number acquisition (GETACTIVITYID) process will be described with reference to FIGS.
[0331]
FIG. 44 is a diagram showing the configuration of communication management information recorded in the facsimile RAM (103), and FIG. 45 is a diagram showing the flow of control.
[0332]
A block from the communication management number 44-1 to the communication management report output history 44-11 in FIG. 44 is a unit block for recording communication management information of one communication, and an area for 20 communication is secured in the facsimile RAM 103. Have been.
[0333]
This communication management information records the information of the latest 20 communications, and if the information cannot be reached, the oldest communication is overwritten in order.
The communication management number 44-1 is an ID number assigned for each communication.
The other party's telephone number 44-2 is the telephone number of the other party of the communication.
The destination name 44-3 is the name of the communication destination.
The communication protocol type 44-4 is a communication protocol used in communication, and includes G3, ECM, and G4.
The communication type 44-5 is a communication classification of communication, and includes a combination of the following elements.
Submit
Receiving
Polling
Broadcast
confidential
relay
Relay instruction
Relay result
memory
timer
manual
F network
phone
Communication by instructions from information processing terminal 109
The reservation time 44-6 is valid for the communication being reserved and is the reservation time.
The communication time 44-7 is the time required for communication, and the unit is seconds.
The communication start time 44-8 is the time at which communication was started, and has an element of year / month / day / hour / minute / second.
The page number 44-9 is the number of communication pages.
The communication result 44-10 is a result of the communication, and has a value of either a normal end or an error end.
The communication management report output history information 44-11 is information on whether or not the communication management information of the communication has been output in the communication management report in the past.
The history information 44-11 independently has two types of information, one for outputting a communication management report of the facsimile main body and the other for transmitting communication management information to the information processing terminal 109.
[0334]
In S45-1 of FIG. 45, the communication management number 44-1 of FIG. 44 is read out of the communication management information recorded in the work area in the RAM 103, and a transmission parameter is generated on an image buffer in the RAM 103. In step S45-2, the transmission of the transmission parameter and the OK response is requested to the I / F control task, and the process ends.
[0335]
10. Acquisition of communication management information (GETACTIVITYINFO.) Processing
This process is for transmitting the communication management information to the information processing terminal 109 and for referencing the communication management information on the information processing terminal 109.
[0336]
In this processing, since the amount of data to be transmitted to the information processing terminal 109 is large, processing of the transmission parameters is performed on the image buffer. If processes using a plurality of image buffers are performed at the same time, data may be mutually destroyed. When processing is being performed, processing using another image buffer cannot be performed.
[0337]
This will be described below with reference to FIGS.
[0338]
FIG. 44 is a diagram showing the structure of communication management information recorded in the facsimile RAM 103, FIGS. 46 and 47 are diagrams showing a control flow, and FIG. 48 is a diagram showing a communication management report of the facsimile main body.
[0339]
In S46-1 of FIG. 46, it is determined whether or not the local operation is being performed. If the local operation is being performed, there is a possibility that the image buffer may be used by shifting to communication. Therefore, the process proceeds to S46-13, where the I / F control task is requested to send a BUSY response, and the process ends.
[0340]
If the local operation is not being performed in S46-1, the local operation is prohibited in S46-2, and the process proceeds to S46-3 to determine whether communication is being performed.
[0341]
If the communication is in progress, there is a possibility that the image buffer will be used. Therefore, the process transits to S46-13, requests the I / F control task to transmit a BUSY response, and ends the processing.
[0342]
If communication is not being performed, communication is prohibited in step S46-4, and the process proceeds to step S46-5. In the communication management information recorded in the RAM 103, the communication management information specified by the reception parameter attached to the command is sent. It is determined whether or not the communication information of the communication with the communication management number exists.
[0343]
If there is no information of the designated communication, the process proceeds to S46-12, requests the I / F control task to send an NG response, and ends. If the information of the designated communication exists, the flow goes to S46-6 to turn on the LED, and the flow goes to S46-7.
[0344]
In S46-7, a transmission parameter to be passed to the I / F control task is generated on the image buffer of the RAM 103 from the communication management information recorded in the work area of the RAM 103, and the process proceeds to S46-8. The transmission parameters to be passed to the I / F control task include the following.
・ Destination phone number
・ Destination name
-Communication protocol type (ECM, G3)
Communication type (manual-automatic, receive-transmit, poll, relay, relay instruction, broadcast, timer, confidential, memory, communication instruction source (facsimile-information processing terminal 109), etc.)
・ Reservation time
・ Communication time
・ Communication start time (including date)
·page number
-Communication result (success-failure)
-Communication management report output history information (the facsimile main unit and the information processing terminal 109 are distinguished)
The communication instruction source in the communication type 44-5 is for discriminating whether the communication is based on an instruction from the operator panel of the facsimile main body or an instruction from the information processing terminal 109. .
[0345]
The communication management report output history information 44-11 indicates whether communication management information of the communication has been output from the facsimile body in the past and whether the communication management information of the communication has been transmitted to the information processing terminal 109 in the past. This is the history information of whether or not it has been sent.
[0346]
With this information, the operator can more accurately know the use status of the facsimile.
[0347]
In S46-8, the I / F control task is requested to transmit the transmission parameter and the OK response generated in S46-7.
[0348]
In S46-9, the information processing terminal 109 waits for a reception message from the I / F control task that the OK response and the transmission parameter have been normally received.
[0349]
If this message does not return within a certain period of time, it is determined that the information processing terminal 109 has not normally received the OK response and the transmission parameter, and the flow shifts to S46-11.
[0350]
If the information processing terminal 109 has received from the I / F control task a reception message indicating that the transmission parameter and the OK response have been normally received, it is determined that the information processing terminal 109 has normally received the transmission parameter and the OK response, and the process proceeds to S46-10. .
[0351]
In S46-10, the information that has been notified to the information processing terminal 109 is transmitted to the communication management report output history information portion 44-11 in the communication management information record of the RAM 103 for the communication that has successfully notified the information processing terminal 109 of the communication information. Recording is performed, and the process proceeds to S46-11.
[0352]
In S46-11, the LED is turned off and the process ends. FIG. 47 is a flow chart of outputting a communication management report in the facsimile main body by operating the facsimile main body.
[0353]
In S47-1 in FIG. 47, the communication management information is read from the RAM 103 for all the communication in which the communication management information is recorded.
[0354]
Next, in S47-2, the communication management information is output from the printer unit 2 in a report format.
[0355]
FIG. 48 shows a report of the communication management information.
[0356]
The output completed mark * 48-1 in FIG. 48 indicates information that the communication management information of the communication has been output from the facsimile body in the past.
[0357]
The communication management report output history information is information on information output to the facsimile main body by operating the facsimile main body.
[0358]
The history of whether or not the communication management information has been transmitted to the information processing terminal 109 is distinguished from the history output to the facsimile main body.
[0359]
Therefore, not only the operator of the facsimile main body but also the operator of the information processing terminal 109 can identify new information.
[0360]
According to the above processing, it is possible to distinguish between communication management information of communication by operation of the operation panel and communication management information of communication instructed by the information processing terminal, and furthermore, the communication management information is communication management information of the facsimile main body. It is possible to distinguish whether or not the information has been output to the report output and whether or not the communication management information has been transmitted to the information processing terminal.
[0361]
Further, by using the buffer for temporarily storing the image data and the buffer for temporarily storing the communication management information, the memory can be effectively used.
[0362]
11. File ID acquisition (GETFILE ID) processing
FIG. 49 is a flowchart illustrating an operation of transferring a file ID for transferring information on a file ID for identifying an image file stored in an image memory on the RAM 103 of the image communication apparatus to the information processing terminal 109 according to the present embodiment. It is.
[0363]
In the command processing task shown in FIGS. 8 and 9, if a message from the interface control task is received and the command is a file ID acquisition command, the GETFILE ID is executed.
[0364]
First, in step S49-001, it is determined whether the acquisition of the ID of the latest file has been requested by the file ID acquisition command. If the acquisition of the ID of the latest file is requested, the process proceeds to step S49-002.
[0365]
In step S49-002, the latest file ID information of the file type specified by the file ID acquisition command is generated, and the process proceeds to step S49-004. The details will be described later.
[0366]
On the other hand, if it is determined in step S49-001 that acquisition of the ID of the latest file has not been requested, the process advances to step S49-003.
[0367]
In step S49-003, file ID list information of the file type specified by the file ID acquisition command is generated, and the flow advances to step S49-004. The details will be described later.
[0368]
In step S49-004, the OK response and the file ID information generated in step S49-002 or step S49-003 are sent to the interface control task as a message, and a request for returning OK and file ID information is made. finish.
[0369]
FIG. 50 is a flowchart describing in detail the process of generating the latest file ID information in step S49-002 in FIG.
[0370]
First, in step S50-001, the file type specified by the file ID acquisition command is any one of “scanner read file”, “host transfer file”, “FAX receive file”, and “local file”. Judge. Each file type means the next file, and when a corresponding process is executed, a value for identifying the file type is stored in an individual area of the image sequence managing the image file stored in the image memory of the RAM 103. Is automatically set to
-Scanner read file A file read by the SCANTOFAX instruction of the information processing terminal 109.
-Host transfer file A file transferred by the DOWNLOAD instruction of the information processing terminal 109.
-FAX reception file A file received when the reception mode is set to "memory reception" or "memory and recording reception" by the RECEIVE instruction of the information processing terminal 109.
-Local file Other than the above, that is, a file not instructed by the information processing terminal 109
If the specified file type is “scanner read file” in step S50-001, the process proceeds to step S50-002 if the designated file type is “host transfer file”. If it is a "file", the flow branches to step S50-004. If it is a "local file", the flow branches to step S50-005.
[0371]
In step S50-002, the content of the latest scanner read file ID storage area latest_scan of the work area on the RAM 103, which is automatically set when the SCANTOFAX process is executed, is stored in the latest area prepared in the work area on the RAM 103. The file is copied to the file ID storage area file_id, and the process proceeds to step S50-006.
[0372]
In step S50-003, the contents of the latest host transfer file ID storage area latest_down of the work area on the RAM 103, which is automatically set when the DOWNLOADFILE processing is executed, is updated to the latest prepared in the work area on the RAM 103. The file is copied to the file ID storage area file_id, and the process proceeds to step S50-006.
[0373]
In step S50-004, a work on the RAM 103, which is automatically set when a reception process is executed in a state where the reception mode is set to “memory reception” or “memory and recording reception” by the RECEIVE instruction. The contents of the latest FAX reception file ID storage area latest_receive of the area are copied to the latest file ID storage area file_id prepared in the work area on the RAM 103, and the process proceeds to step S50-006.
[0374]
In step S50-005, storing the latest local file ID of the work area on the RAM 103, which is automatically set when a process other than the above, that is, a process of a local operation not instructed by the information processing terminal 109 is executed. The contents of the area latest_local are copied to the latest file ID storage area file_id prepared in the work area on the RAM 103, and the process proceeds to step S50-006.
[0375]
In step S50-006, it is determined whether the contents of the latest file ID storage area file_id copied in step S50-002, step S50-003, step S50-004, or step S50-005 are valid. If the content of file_id is valid, that is, if the latest file exists, the process proceeds to step S50-007. On the other hand, if the content of the file_id is invalid, that is, if the latest file does not exist because the process of generating the image file of the specified file type has not been executed, the process proceeds to step S50-008. .
[0376]
In step S50-007, header data to be added immediately before the file ID information is generated. This header data includes the length LEN of the subsequent file ID information, and by adding this immediately before the file ID information, the information processing terminal 109 can easily obtain the variable length file ID information. Will be able to Here, the header data in which the length LEN of the subsequent file ID information is set to the length Ld of one file ID information is prepared in the RAM 103 in advance, and the file ID used in the return request in step S49-004 is used. This is set in the information area, and the flow advances to step S50-009.
[0377]
On the other hand, in step S50-008, header data in which the length LEN is set to 0 is prepared in the RAM 103 in advance to indicate that there is no subsequent file ID information, and is used in the return request in step S49-004. Is set in the area of the file ID information to be generated, and the process of generating the latest file ID information is completed.
[0378]
In step S50-009, the contents of the latest file ID storage area file_id are set in the area immediately after the header data set in step S50-007, and the processing of generating the latest file ID information ends.
[0379]
FIG. 51 is a flowchart describing in detail the process of generating the file ID list information in step S49-003 in FIG.
[0380]
First, in step S51-001, an image sequence for managing image files stored in the image memory of the RAM 103 is searched, and the number N of image files having a designated file type value is obtained. Proceed to. In step S51-002, it is determined whether or not the number N of image files obtained in step S51-001 is a positive number. If N is a positive number, that is, if there is an image file of the specified file type, the process proceeds to step S51-003; otherwise, that is, if the image file of the specified file type is If no image file exists because the file generation processing has not been executed, the process proceeds to step S51-004. In step S51-003, header data to be added immediately before the file ID information is generated. This header data includes the length LEN of the subsequent file ID information, and by adding this immediately before the file ID information, the information processing terminal 109 can easily obtain the variable length file ID information. Will be able to Here, header data in which the length LEN of the subsequent file ID information is set to Ld × N indicating that there are N file ID information of length Ld are prepared in the RAM 103 in advance, and the above-described step S49-004 Is set in the area of the file ID information used in the return request, and the process proceeds to step S51-004.
[0381]
In step S51-004, similarly to step S51-001, the image sequence is searched again, and the file ID of the image file having the specified file type value is set in the area immediately after the header data set in step S50-007. , And the process of generating the file ID list information ends.
[0382]
On the other hand, in step S51-005, in order to indicate that there is no subsequent file ID information, header data in which the length LEN is set to 0 is prepared in the RAM 103 in advance and used in the return request in step S49-004. Is set in the area of the file ID information to be created, and the process of generating the file ID list information ends.
[0383]
Through the above processing, the image communication apparatus according to the present embodiment separates the latest file ID information or file ID list information specified from the information processing terminal 109 for each specified file type, and Forward.
[0384]
Further, the image communication apparatus according to the present embodiment uses header data including the data length of the file ID information immediately before the file ID information so that the information processing terminal 109 can easily obtain the file ID information that can be variable in length. In addition, the specified latest file ID information or file ID list information is separated for each specified file type and transferred to the information processing terminal 109.
[0385]
According to the above processing, the image communication apparatus manages the type code indicating the history of generation of each image file, in addition to the identification code for identifying each image file, It is possible to separate the identification code of the specified image file or the list information of the identification code for each specified type code and transfer it to the external information processing terminal.
[0386]
Further, when the image communication device outputs the information of the identification code based on the instruction of the external information processing terminal, the image communication device adds a code representing the length of the information to be output to the information, so that the external information processing terminal Even with a high-speed interface, information of an identification code that can be of variable length can be acquired with a small load.
[0387]
12. File information acquisition (GET FILE INFO.) Processing
FIG. 52 is a flowchart showing the operation of a file information acquisition command for transmitting information of a file unit of image data stored in the image memory on the RAM 103 of the facsimile apparatus to the information processing terminal in the present embodiment. FIG. 53 shows the structure of file information.
[0388]
In the command processing task of FIG. 9, when a message from the interface control task is received and the command is a file information acquisition command, the GET FILE INFO. Is performed.
[0389]
First, in step S52-1, it is determined whether the file specified by the file information acquisition command exists. If the specified file does not exist, the process proceeds to S52-2.
[0390]
In step S52-2, an NG response indicating that there is no designated file is sent as a message to the interface control task, and the process ends.
[0391]
On the other hand, if the specified file exists in step S52-1, the process proceeds to step S52-3.
[0392]
In step S52-3, file information having the configuration shown in FIG. 53 is generated from the management information stored in the RAM 103 of the facsimile main body, and the flow advances to step S52-4. The file information has the following components.
-File type 53-1 Specified file type (scanner read file, host transfer file, fax reception file, local file)
-Number of pages 53-2 Number of pages in the specified file
In step S52-4, the OK response and the file information generated in step S52-3 are sent to the interface control task as a message, and a request for the return of the OK response and the file information is made. The GET FILE INFO. Is completed.
[0393]
13. Page information acquisition (GET PAGE INFO.) Processing
FIG. 54 is a flowchart showing the operation of a page information acquisition command for sending information of a page unit of image data stored in the image memory on the RAM 103 of the facsimile apparatus to the information processing terminal in the embodiment. FIG. 55 shows the structure of page information.
[0394]
In the command processing task of FIG. 9, if a message from the interface control task is received and the command is a page information acquisition command, the GET PAGE INFO. Is performed.
[0395]
First, in step S54-1, it is determined whether the file specified by the page information acquisition command exists. If the specified file does not exist, the process proceeds to S54-2.
[0396]
In step S54-2, an NG response indicating that there is no designated file is sent as a message to the interface control task, and the process ends.
[0397]
On the other hand, if the specified file exists in step S54-1, the process proceeds to step S54-3.
[0398]
In step S54-3, it is determined whether the page specified by the page information acquisition command exists. If the specified page does not exist, the process proceeds to S54-4.
[0399]
In step S54-4, an NG response indicating that there is no designated page is sent as a message to the interface control task, and the process ends.
[0400]
On the other hand, if it is determined in step S54-3 that the designated page exists, the process proceeds to step S54-5.
[0401]
In step S54-5, page information having the configuration shown in FIG. 55 is generated from the management information stored in the RAM 103 of the facsimile main body, and the flow advances to step S54-6. The page information has the following components.
• Encoding method 55-1 Encoding format of specified page
(MH, MR, MMR)
・ Main scanning resolution 55-2 Main scanning resolution of the specified page
(8 dots / mm)
-Sub-scanning resolution 55-3 Sub-scanning resolution of specified page
(7.7, 3.85 dots / mm)
Main scan length 55-4 Main scan image size of specified page
(A4)
• Number of sub-scanning lines 55-5 Number of sub-scanning lines of the specified page
"0" indicates indefinite
-Data amount 55-6 The data amount including a redundant portion required when storing a page specified by facsimile, but does not always match the data length at the time of data transfer.
In step S54-6, the OK response and the page information generated in step S54-5 are sent as messages to the interface control task, and a request is sent to return the OK response and the page information, and the GET PAGE INFO. Is completed.
[0402]
14. File delete (DELETE FILE) processing
The DELETE FILE processing deletes an image file generated on the facsimile RAM 103 in accordance with an instruction from the information processing terminal 109. Image files generated by the information processing terminal include the following.
Scanner read file File read by SCAN TOFAX instruction of information processing terminal 109
-Host transfer file File transferred by DOWNLOAD instruction of the information processing terminal 109
-FAX reception file A file received when the reception mode is set to "memory reception" or "memory and recording reception" by the RECEIVE instruction of the information processing terminal 109.
FIG. 56 is a flowchart showing the operation of file delete for deleting image data stored in the image memory on the RAM 103 of the facsimile apparatus in the present embodiment in file units managed by the facsimile apparatus.
[0403]
In the command processing task of FIG. 9, if a message from the interface control task is received and the command is a file deletion instruction command, DELETEFILE processing is executed.
[0404]
First, in step S56-1, it is determined whether or not the file specified by the file deletion instruction command exists. If the specified file does not exist, the process proceeds to S56-2.
[0405]
In step S56-2, an NG response indicating that there is no designated file is sent as a message to the interface control task, and the process ends.
[0406]
On the other hand, in step S56-1, if the specified file exists, the process proceeds to step S56-3.
[0407]
In step S56-3, it is determined whether the specified file is a local file. If the specified file is a local file, the process proceeds to S56-4.
[0408]
In step S56-4, an NG response indicating that the specified file is invalid is sent to the interface control task as a message, and the process ends.
[0409]
On the other hand, in step S56-3, if the specified file is not a local file, the process proceeds to step S56-5.
[0410]
By the processing of steps S56-3 and S56-4, the deletion of the local file is prohibited by the DELETEFILE processing. Similarly, a file generated by the information processing terminal cannot be deleted by the local operation.
[0411]
In the step S56-5, it is determined whether or not the designated file is being recorded. If the designated file is being recorded, the process proceeds to S56-6.
[0412]
In step S56-6, an NG response indicating that the specified file is invalid is sent to the interface control task as a message, and the process ends.
[0413]
On the other hand, if it is determined in step S56-5 that the designated file is not being recorded, the process proceeds to step S56-7.
[0414]
In step S56-7, it is determined whether the specified file is being communicated. If the designated file is being communicated, the process proceeds to S56-8.
[0415]
In step S56-8, an NG response indicating that the specified file is invalid is sent to the interface control task as a message, and the process ends.
[0416]
On the other hand, if it is determined in step S56-7 that the specified file is not communicating, the process proceeds to step S56-9.
[0417]
In step S56-9, it is determined whether the designated file is in a recording standby or a communication standby. If the designated file is waiting for recording or waiting for communication, the process proceeds to step S56-10.
[0418]
In step S56-10, an NG response indicating that the specified file is invalid is sent to the interface control task as a message, and the process ends.
[0419]
On the other hand, if it is determined in step S56-9 that the designated file is not waiting for recording or waiting for communication, the process proceeds to step S56-11.
[0420]
In S56-5 to S56-10, the deletion is prohibited if the file to be deleted is being accessed (recording, communicating) or access reserved (recording, communication reserved). However, even if a file being accessed or being accessed exists, deletion is not prohibited if the file is different from the file to be deleted.
[0421]
In step S56-11, an OK response is sent as a message to the interface control task, and a request is made to return the OK response. Then, the process proceeds to step S56-12.
[0422]
In step S56-12, if a message from the interface control task indicating that the return of the OK response has been successful is received, the process proceeds to step S56-14; otherwise, the process proceeds to step S56-13.
[0423]
In step S56-13, if a message from the interface control task indicating that the return of the OK response has not been successful within the specified time is received, the DELETE FILE processing is terminated without doing anything. If so, the process returns to step S56-12.
[0424]
In step S56-14, the designated file is deleted from the image memory on the RAM 103, and the DELETE FILE processing ends.
[0425]
By the above-described processing, the facsimile apparatus in the present embodiment can erase files other than those generated by the instruction of the information processing terminal from the information processing terminal during communication, recording, communication standby, recording standby, and Can be prohibited.
[0426]
15. Facsimile information acquisition (FAXINFO.) Processing
In this process, the facsimile ROM version, manufacturer name, model name, and I / F version with the information processing terminal are sent to the information processing terminal.
[0427]
By separately managing the facsimile ROM version and the I / F version of the information processing terminal and sending this to the information processing terminal, there is no correspondence table between the ROM version and the I / F version of the information processing terminal. However, the information processing terminal can know which version of the information processing terminal the facsimile supports.
[0428]
Thus, the application software operating on the information processing terminal can know whether or not the facsimile connected to the information processing terminal can be used based on its own version information and the version information of the I / F. In addition, since the application software operating on the information processing terminal can know the model name, it can know the functions supported by the model. Therefore, if the functions of all the models are comprehensively provided in the application software running on the information processing terminal, the application software running on the information processing terminal can be shared among the models.
[0429]
Hereinafter, description will be made with reference to FIG.
[0430]
In step S57-1, the facsimile ROM version, the manufacturer name, the model name, and the version of the I / F with the information processing terminal are read from the ROM 102, and a transmission parameter is generated.
[0431]
In S57-2, the transmission of the OK response is requested to the I / F control task, and the process ends.
[0432]
16. Phone call (SIMPLEDIAL) processing
In this process, the facsimile performs on-hook dialing in accordance with an instruction from the information processing terminal 109.
[0433]
On-hook dialing refers to capturing a line and dialing while the handset is kept hooked. In the operation of the operation panel of the facsimile main body, the on-hook dial is executed by pressing an on-hook button and then performing a dial operation.
[0434]
Hereinafter, description will be made with reference to FIGS.
[0435]
FIGS. 58 to 60 show the flow chart of the SIMPLEDIAL processing called when the received command is SIMPLEDIAL, and FIGS. 61 to 63 show the flow charts of the on-hook processing which operates in parallel with the SIMPLEDIAL processing.
[0436]
First, in S58-1 of FIG. 58, a child process "call condition check" (details described later) for checking whether on-hook dialing is possible is called.
As a result of the check, if on-hook dialing is not possible, the process goes through S58-2, requests the I / F control task to send a BUSY response in S58-8, and ends.
If the result of the check is that on-hook dialing is possible, the flow shifts to S58-3, where it is checked whether or not the calling instruction phase is idle.
If the result of the check is that it is not idle, a request for transmission of a BUSY response is requested to the I / F control task in S58-8, and the processing ends.
As a result of the check, if it is idle, the flow goes to S58-4 to turn on the LED, indicates to the operator that local operation cannot be performed, and goes to S58-5.
In S58-5, the dial information is extracted from the reception parameters, and a child process "acquire dial information" (described in detail later), which is recorded in the dial buffer in the RAM 103, is called.
In S58-6, the calling instruction phase is set to "dial wait".
In S58-7, the transmission of the OK response is requested to the I / F control task, and the process ends.
[0437]
FIG. 59 is a flowchart of the child process "check call condition" called in S58-1.
[0438]
In the calling condition check, it is first determined in S59-1 whether or not the local operation is being performed. If the local operation is being performed, the process proceeds to 59-6, NG is returned and the processing is terminated, and if the local operation is not performed, S59-2 is performed. Transitions to
At 59-2, the local operation is prohibited, and the routine goes to S59-3.
In S59-3, it is determined whether or not the line is being captured, and if the line is being captured, the flow shifts to S59-6, NG is returned and the processing is terminated, and if not, the flow is shifted to S59-4.
In S59-4, incoming calls and other outgoing calls (for example, time-specified transmission or transmission during redial standby) are prohibited, and the process transits to S59-5. In S59-5, OK is returned and the processing ends.
[0439]
FIG. 60 is a flowchart of the child process "acquire dial information" called in S58-5.
[0440]
In the dial information acquisition, the process first branches in S60-1 and S60-2 for each dial type.
If the dial type is ten-key dialing, "numeric keypad" is substituted for the calling instruction dial type in S60-7, and the ten-key dialing number is substituted in the dial buffer in S60-8, and the procedure returns to the parent procedure.
If the dial type is one-touch dialing, "one-touch dialing" is substituted for the calling instruction dialing type in S60-5, the one-touch dialing number is substituted in the dial buffer in S60-6, and the process returns to the parent process.
If the dial type is a coded dial, "coded dial" is substituted for the calling instruction dial type in S60-3, the coded dial number is substituted for the dial buffer in S60-4, and the process returns to the parent process.
[0441]
FIG. 61 to FIG. 63 are flowcharts of tasks controlling on-hook.
[0442]
In this task, it is monitored in step S61-1 whether the on-hook key has been pressed, and in step S61-2, whether or not the calling instruction phase has been set to "dial wait" by the SIMPLE DIAL process. It is in a loop.
[0443]
If the on-hook key has been pressed, the flow goes from S61-1 to S62-1.
In S62-1, the line is captured, and dialing is performed in S62-2.
When the process of S62-2 is completed, the process enters a loop of S62-3 to S62-6.
In S62-3, it is determined whether or not the user is off-hook. If the user is off-hook, the process proceeds to S62-11. If the user is not off-hook, the process proceeds to S62-4.
In S62-11, the LED is turned off, and the flow shifts to S62-12.
In step S62-12, the process waits until the terminal is hooked again. When the terminal is hooked, the process goes to step S62-11 to release the line and return to the loop of steps S61-1 and S61-2.
In S62-4, it is determined whether or not the start key has been pressed. If the start key has been pressed, the process proceeds to S62-7, and if not, the process proceeds to S62-5.
In S62-7, the LED is turned off, and the flow goes to S62-8.
In S62-8, transmission or reception processing is performed, and the flow shifts to S62-9.
In step S62-9, the process waits until the transmission or the reception is completed, and transitions to step S62-11 when the transmission or the reception is completed.
In S62-5, it is determined whether or not the on-hook key has been pressed. If the on-hook key has been pressed, the process proceeds to S62-10, and if not, the process proceeds to S62-6.
In S62-6, it is determined whether or not the stop key has been pressed. If the stop key has been pressed, the process proceeds to S62-10. If not, the process returns to S62-3.
In S62-10, the LED is turned off, and the flow goes to S62-11.
In S62-11, the line is released, and the process returns to the loop of S61-1 and S61-2.
If it is determined in step S61-2 that the outgoing call instruction phase is "dial wait", the process proceeds to step S61-3.
In S61-3, the line is captured, and the flow goes to S61-4.
In S61-4 and S61-5, branching is performed according to the call instruction dial type. If the call instruction dial type is "abbreviated", the abbreviated dial of the number in the dial buffer is performed in S61-6, and the call instruction is performed. If the dial type is "one touch", one-touch dialing of the number in the dial buffer is performed in S61-7, and if the calling instruction dial type is "numeric keypad", ten key dialing is performed in S61-8 on the number in the dial buffer. .
[0444]
When the dialing is completed, the calling starts, and the process enters a loop of S63-1 to S63-5.
[0445]
In this loop, the off-hook (S63-1), the start key is pressed (S63-2), the on-hook key is pressed (S63-3), the stop key is pressed (S63-4), and the calling instruction phase is set to "stop request". It is monitored whether or not it is set (S63-5).
[0446]
If the other party responds to the call, the operator picks up the handset and makes a call, and the process proceeds to S63-8.
[0447]
In S63-8, the calling instruction dial phase is set to "idle" so that the line is not released by RELEASE LINE, which will be described later, and the process proceeds to S62-12.
[0448]
If the other party does not answer the call, the operator can release the line by using an on-hook key, a stop key, or a RELEASE LINE process (described later).
[0449]
In S63-3, the on-hook key is pressed, in S63-4, the stop key is pressed, and in S63-5, it is determined whether or not the calling instruction phase is "stop request" due to activation of the RELEASE LINE process (described later). Monitoring.
[0450]
If the conditions of S63-3 to S63-5 are satisfied, the LED is turned off in S63-6, the calling instruction phase is set to "idle" in S63-7, the line is released in S63-13, and the line is released in S61-1. , S61-2.
[0451]
When the other party responds to the call, and then performs transmission or reception by facsimile, the operator presses the start key. In this case, the process moves from S63-2 to S63-9 by pressing the start key.
[0452]
In S63-9, the LED is turned off, the calling instruction phase is set to "idle" in S63-10, transmission or reception processing is performed in S63-11, and the process waits until transmission or reception ends in S63-12. Upon completion, the flow shifts to S63-13, releases the line, and returns to S61-1.
[0453]
Through the above processing, a telephone call from the information processing terminal can be realized.
[0454]
17. Call disconnection (RELEASE LINE) processing
This process cancels the call initiated by the SIMPLE DIAL process.
[0455]
However, even if the call is activated by the SIMPLE DIAL process, if the handset is lifted after dialing and goes off-hook, cancellation by the RELEASE LINE process is prohibited.
[0456]
Hereinafter, description will be made with reference to FIG.
[0457]
FIG. 64 shows a flowchart of the RELEASE LINE processing. First, in S64-1 in FIG. 64, it is determined whether or not the calling instruction phase is "idle".
[0458]
If the outgoing call instruction phase is not "idle", the facsimile is in the outgoing call processing by the SIMPLE DIAL processing or is waiting for a response from the other party. Perform processing.
[0459]
If the call instruction phase is "idle", the facsimile is not in the process of making a call by the SIMPLE DIAL process and is not waiting for the response of the other party. Requests the I / F control task and ends.
[0460]
In S64-3, the line is released, the calling instruction phase is set to "idle" in S64-4, the transmission of an OK response is requested to the I / F control task in S63-5, and the process ends.
[0461]
Combining the above processing with SIMPLE DIAL processing,
By the SIMPLE DIAL processing, the operator operates and dials the information processing terminal, and if there is no other party, the line can be released by the RELEASE LINE processing.
[0462]
That is, by operating the information processing terminal while the operator operates the information processing terminal, the operator can make a call and interrupt the call, thereby improving convenience.
[0463]
18. Command Set Switching (SWITCH COMMANDSET) Process This operation is a function of switching the command set for the external information processing terminal to control the facsimile machine in accordance with the instruction of the external information processing terminal.
[0464]
The command set is a predetermined instruction system between the external information processing terminal and a device connected thereto. Normally, the external information processing terminal and the device connected to it are connected one-to-one, so one command set is sufficient. However, in the facsimile apparatus of the present embodiment, since there are further connected apparatuses (recording unit in the facsimile apparatus, in the printer mode), the communication function of the facsimile apparatus and the scanner In order to use the memory of the facsimile unit, it is necessary to provide another predetermined instruction system. This function switches the plurality of instruction systems and directly connects the external information processing terminal and the recording unit. The switching of the reverse instruction system is also possible. By properly using this function, it is possible to perform a facsimile function such as transmission / reception on the facsimile apparatus and perform high-definition recording exceeding the facsimile resolution on the recording unit in the facsimile apparatus.
[0465]
The detailed operation will be described with reference to FIGS.
[0466]
In the process of FIG. 8, when the command processing task determines that the command set switching instruction command is issued, the process of FIG. 65 is executed.
[0467]
In S65-1, it is determined whether the reception parameter (designating a command set) added to the command set switching instruction command is correct (described later in detail). In S65-2, the process branches depending on the result of the determination. If the result of the determination is correct, the flow shifts to S65-3, and if incorrect, the flow branches to an NG process (detailed later). In S65-3, it is determined whether the content of the command set of the reception parameter is a command set specified by the external information processing terminal or a print emulation command set. If the command set is designated by the external information processing terminal, the flow branches to S69-1 (details will be described later). If the command set is a print emulation command set, the flow proceeds to S65-4. In S65-4, a recording semaphore (recording resource) is obtained.
[0468]
Here, the recording semaphore will be described.
[0469]
The recording semaphore is acquired when the facsimile apparatus operates using the recording unit and released when the facsimile apparatus ends. If it cannot be acquired, the operation cannot be executed (for example, reception recording, copy recording, etc.). . Conversely, the above arrangement enables smooth simultaneous operation.
[0470]
If the record semaphore can be obtained in S65-4, the flow goes to S65-5, and if not, the process branches to BUSY processing. In S65-5, an abnormality in the recording unit is checked (details will be described later). In S65-6, the process branches depending on the result of the determination. If the result of the determination is OK, the flow shifts to S65-7, and if an abnormality such as no recording paper or recording paper jam is found, the flow branches to NG processing. If an abnormality is found here, the command set cannot be switched. The reason for this is that when an error occurs, such as the absence of recording paper, the interface is usually set to the offline mode, the command from the interface is not accepted by the printer unit, and there is no point in switching to the printer emulation command mode. It is.
[0471]
Next, in step S65-7, the interface LED is turned on to notify that the operation is being performed. While the interface LED is lit, key input of the facsimile machine is prohibited. In step S65-8, an OK response to the interface control task is generated, and a return request for returning the normal operation to the external information processing terminal is issued to the interface control task. The transmission is performed by the interface control task. In S65-9 and S65-10, it is determined whether or not the interface control task has completed returning to the external information processing terminal. Upon completion of the return, the flow shifts to S65-11. If a time-out has occurred in S65-9 before the return has been completed, the flow branches to abnormal processing. In the present embodiment, the timeout period is fixed, but can be made variable by a registration operation of the facsimile machine or a registration operation by the external information processing terminal. In step S65-11, a printer LED (not shown) on the operation panel 112 indicating that the print emulation command is being set is turned on. In S65-12, a soft power ON process of the printer unit 2 is performed. In the soft power ON process, when a recording request for copy recording and reception recording from the facsimile MPU 101 is complicatedly involved, the printer MPU 201 runs out of control or an error occurs due to data remaining in the memory of the printer unit. In such a case, performing error processing according to the error state is processing for dealing with problems such as complicating the program instead. Specifically, it is processing for initializing the printer unit. In S65-13, the connection of the interface control unit 108 is changed from (external information processing terminal 109 to facsimile MPU 101) (facsimile MPU 101 to printer unit 2) to (external information processing terminal 109 to printer unit 2). As described above, the data from the external information processing terminal 109 is sent directly to the printer unit 2, and performs the same operation as the one-way centronics of the conventional device. In step S65-14, the interface LED is turned off to notify that the PRINTFILE operation has been completed. By turning off the interface LED, key input of the facsimile machine is permitted.
[0472]
Here, the reception parameter check in S65-1 will be described with reference to FIG.
[0473]
The contents of the reception parameters include the following items and have the following options. However, if the content of the reception parameter differs from the setting of the facsimile machine, a reception parameter error occurs. Further, when the content of the reception parameter is different from the setting of the facsimile apparatus, the processing may be continued such that “the content of the reception parameter is prioritized” and “the setting of the facsimile apparatus is prioritized” without causing a reception parameter error.
[0474]
Command set: Print emulation, specified by external information processing terminal
In S67-1, a command set is checked. If the content of the reception parameter is specified by the print emulation or the external information processing terminal, the reception parameter check is normally completed. If the content of the reception parameter is other than that, the processing ends abnormally.
[0475]
Here, the recording section check in S65-5 will be described with reference to FIG.
[0476]
In S68-1, the presence or absence of a recording sheet is checked. The recording paper in the recording paper cassette is checked for the presence or absence of the recording paper by a recording paper sensor (not shown), and if there is the recording paper, the process proceeds to S68-2. If there is no recording paper, the process ends abnormally. In S68-2, the presence or absence of the recording ink is checked. If there is a recording ink, the process proceeds to S68-3. If there is no recording ink, the process ends abnormally. In the present embodiment, the recording ink is used for recording. However, the present invention can be applied to a facsimile apparatus using a recording unit using a toner for laser recording. In S68-3, the presence or absence of the recording cover is checked. If the recording cover is closed, the flow goes to S68-4. If the recording cover is open, the process ends abnormally. In S68-4, it is checked whether or not there is a recording paper jam. If the recording paper jam is not detected by the PE sensor 206 or the like, the recording unit check is terminated normally. If a recording paper jam is detected by the PE sensor 206 or the like, the processing ends abnormally.
[0477]
Here, the operation after S69-1 branched from S65-3 will be described with reference to FIG.
[0478]
In step S69-1, the interface LED is turned on to notify that it is operating. While the interface LED is lit, key input of the facsimile machine is prohibited. In S69-2, a software power OFF process of the printer unit 2 is performed. In S69-3, the switching of the interface control unit 108 is changed from (the external information processing terminal 109-the printer unit 2) to (the external information processing terminal 109-the facsimile MPU 101) (the facsimile MPU 101-the printer unit 2). In S69-4, the presence / absence of residual paper in the apparatus is determined by the PE sensor 206. If there is no remaining paper, the process proceeds to S69-6. If there is any remaining paper, a recording paper jam display is performed in S69-5, and the routine goes to S69-6. In S69-6, the recording semaphore acquired in S65-4 is released. In S69-7, the printer LED (not shown) of the operation panel 112 indicating that the command set specified by the external information processing terminal is being performed is turned off. Then, in S69-8, the interface LED is turned off to notify that the SWITCH COMMAND SET operation has been completed. By turning off the interface LED, key input of the facsimile machine is permitted.
[0479]
Here, the abnormal processing will be described with reference to FIG.
[0480]
If an NG has occurred, an NG response to the interface control task is generated in S70-1, and a return request for returning the abnormal end to the external information processing terminal is sent to the interface control task. If a BUSY has occurred, a BUSY response to the interface control task is generated in S70-2, and a return request for returning the abnormal end to the external information processing terminal is issued to the interface control task. The transmission is performed by the interface control task. Then, in S70-3, the recording semaphore is released, and the abnormal processing ends. If the recording semaphore has not been acquired, the recording semaphore is not released.
[0481]
19. Storage scan (SCANTOFAX) processing for facsimile
FIGS. 71 and 72 are flowcharts showing the operation of facsimile storage scan (SCANTOFAX) processing for storing read image data in the image memory area of the RAM 103.
[0482]
In S71-1, after checking the validity of the command, a read semaphore and a read motor semaphore are obtained, the latest image file ID is obtained, an image memory area is secured, the page counter is cleared to 0, and the operation panel 112 is obtained. The upper interface LED is turned on, and an OK response is sent to the I / F control task.
[0483]
At this time, if the command is not valid, the reading semaphore and the reading motor semaphore cannot be obtained, or if the image memory area cannot be secured, it is determined that an error has occurred in S71-2, and the process goes to S71-11 to perform error processing.
[0484]
If the OK response has been normally transmitted to the I / F control task, the flow waits for a response transmission completion message from the I / F control task in S71-3. If there is an error, the flow proceeds to S71-11. If there is no error, go to S71-4.
[0485]
In S71-4, a next command from the I / F control task and a message from the feed task and the reading task are waited for.
[0486]
When the next command is received from the I / F control task, it is checked in S71-5 whether the previous page is being fed or read. If the reading unit 105 is operating, the flow proceeds to S71-12. , Sends a BUSY response to the I / F control task, and goes to S71-8.
[0487]
If the reading unit is not operating, the process proceeds to S71-6, and it is checked whether or not the document to be read exists in the reading unit 105.
[0488]
If the document to be read exists in the reading unit 105, the process proceeds to S71-7, where the page counter is incremented, and the page information (resolution in the sub-scanning direction, reading mode, reading density) from the I / F control task is set for each page. And starts a feed task for document feeding, and sends an OK response to the I / F control task.
[0489]
After transmitting the OK response to the I / F control task, the flow proceeds to S71-8, and waits for a response transmission completion message from the I / F control task. If there is an error, the flow proceeds to S71-11, and there is no error. If the transmission has been completed, the flow proceeds to S71-4, and waits for the next command from the I / F control task. If the transmission has not been completed, in S71-9, the end of the feed task and the reading task is confirmed. I do.
[0490]
In S71-10, it is checked whether an error has occurred in the feed task and the reading task. If there is an error, the procedure goes to S71-11, and if there is no error, the procedure goes to S71-8.
[0490]
If a message is received from the feed task and the reading task in S71-4, the process proceeds to S71-13, and in S71-13, completion of the feed task and the reading task is confirmed.
[0492]
In step S71-14, it is checked whether an error has occurred in the feed task and the reading task. If there is an error such as a feed error or an image memory over, the process proceeds to step S71-11. Goes to S71-4.
[0493]
If the document to be read does not exist in the reading unit 105 in S71-6, the process proceeds to S71-15, and it is checked whether the page counter is 0.
[0494]
If the page counter is 0, go to S71-11; if not, go to S71-16 to release the read semaphore and read motor semaphore, turn off the interface LED on the operation panel 112, and control the I / F. Send an NG response to the task and end.
[0495]
In S71-11, as an error process, the feed task and the reading task are interrupted, the image memory area is released, the reading semaphore and the reading motor semaphore are released, the interface LED on the operation panel 112 is turned off, and the I / F control is performed. Send an NG response to the task and end.
[0496]
In S72-1, it is checked whether the reading unit 105 is currently feeding, and if it is feeding, the process proceeds to S72-2 to check whether the message is from the feed task.
[0497]
If it is a message from the feed task, it is checked in step S72-3 whether the message from the feed task is a feed end message. If it is a feed end message, in step S72-4, the document existing in the reading unit 105 is read. Initiate a read task to start
[0498]
In step S72-1, if the reading unit 105 is not currently feeding, the process proceeds to step S72-5. It is determined whether the reading unit 105 is currently reading. If the reading unit 105 is reading, the process proceeds to step S72-6. Check whether or not.
[0499]
If it is a message from the reading task, it is checked in S72-7 whether the message from the reading task is a reading end message, and if it is a reading end message, it ends normally.
[0500]
The message from the feed task is not a message from the feed task in S72-2, the message from the feed task is not a feed end message in S72-3, the reading unit 105 is not currently reading in S72-5, and the read task from the reading task is in S72-6. If the message from the read task is not a read end message in step S72-7, the process ends with an error.
[0501]
In the reading task, the image RAW data read from the reading unit 105 is converted into RL data by the RL-RAW converter 106, and the RL data is stored in the encoding buffer in the RAM 103, and MMR encoding is performed based on the RL data. Then, the MMR-encoded data is stored in the image memory area secured in S71-1 in the image memory in the RAM 103.
[0502]
At this time, the communication buffer in the RAM 103 is not used.
[0503]
According to the above processing, when the interface is not in a transferable state for a certain period of time, the processing is stopped, so that an easy-to-use image communication device using a parallel interface capable of high-speed data transfer Can be provided.
[0504]
In addition, when an original is stored in the memory according to an instruction from the information processing terminal, if an error occurs, the image data is immediately deleted from the memory, so that the memory can be effectively used and the price of the product can be reduced. I do.
[0505]
In addition, by limiting each combination of the operation based on the instruction from the external information processing terminal, the operation from the operation panel, and the operation of the device itself, the control of the entire device is simplified, and the price of the product can be reduced.
[0506]
Also, by indicating that the device is in a state where it cannot be used, it is possible to provide a user-friendly image communication device.
[0507]
20. Original transmission (SENDDOC) processing
FIG. 73 is a flowchart showing the operation of the document transmission (SENDDOC) process.
[0508]
In step S73-1, after checking the validity of the command, the reading motor semaphore and the communication semaphore are obtained, the document existing in the reading unit 105 is fed, the latest image file ID is obtained, and the image memory area is secured. Then, the telephone number data from the I / F control task is set, the interface LED on the operation panel 112 is turned on, and an OK response is sent to the I / F control task.
[0509]
At this time, if the command is not valid, the reading motor semaphore and the communication semaphore cannot be obtained, or if the image memory area cannot be secured, it is determined that an error has occurred in S73-2, and the process goes to S73-11 to perform error processing.
[0510]
If an OK response has been normally sent to the I / F control task, the process waits for a response sending completion message from the I / F control task in S73-3, and if there is an error, goes to S73-11. If there is no error, go to S73-4.
[0511]
In S73-4, the process waits for the next command from the I / F control task. If the command is not valid, the process goes to S73-11 to perform error processing.
[0512]
If the next command is received from the I / F control task, in step S73-5, the operation panel 112 sets page information (resolution in the sub-scanning direction, reading mode, and reading density) from the I / F control task as the first page. It is set on the upper document mode LED or the like, and sends an OK response to the I / F control task.
[0513]
After transmitting an OK response to the I / F control task, the flow proceeds to S73-6, and waits for a response transmission completion message from the I / F control task. If there is an error, the flow proceeds to S73-11, and there is no error. If the transmission has been completed, the process goes to S73-7 and waits for the next command from the I / F control task.
[0514]
When the next command is received from the I / F control task, in S73-8, file ID information to the I / F control task is set, and an OK response is sent to the I / F control task.
[0515]
If the command is not valid, the process goes to S73-11 to perform error processing.
[0516]
If the OK response has been normally transmitted to the I / F control task, the flow waits for a response transmission completion message from the I / F control task in S73-9. If there is an error, the flow proceeds to S73-11. If there is no error, go to S73-10.
[0517]
In S73-10, the interface LED on the operation panel 112 is turned off, the communication semaphore and the reading motor semaphore are released, and the process ends normally.
[0518]
In S73-11, as an error process, the feed task is interrupted, the image memory area is released, the interface LED on the operation panel 112 is turned off, the communication semaphore and the read motor semaphore are released, and the I / F control task is rejected. Sends a response and ends.
[0519]
When the interface LED on the operation panel 112 is turned off and the communication semaphore and the reading motor semaphore are released, the communication task is started by the image memory area set in S73-1 in the standby state.
[0520]
After the communication task is started, the same operation as that of normal document transmission is executed based on document reading mode information such as a document mode LED on the operation panel 112.
[0521]
The change of the document reading mode for the second and subsequent pages is not performed from the information processing terminal 109, but is performed by a user operation on the operation panel 112 as in the case of normal document transmission.
[0522]
【The invention's effect】
As described above, according to the present invention, it is possible to delete the image data stored in the image communication device according to an instruction from the information processing terminal, and it is inconvenient to delete the image data during recording, during communication, during standby, or the like. The resulting image data can be prevented from being accidentally erased.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a configuration of a facsimile apparatus according to an embodiment of the present invention.
FIG. 2 is a diagram showing a configuration of an interface control unit 108.
FIG. 3 is a diagram showing signal lines between a facsimile unit 1 and a printer unit 2;
FIG. 4 is a diagram showing an outline of data transmission and reception between an information processing terminal and a facsimile apparatus in a facsimile mode.
FIG. 5 is a phase transition diagram of a bidirectional parallel interface of the IEEE1284 standard.
FIG. 6 is a flowchart illustrating an operation of an interface control task.
FIG. 7 is a flowchart showing an operation of a response sending process.
FIG. 8 is a flowchart showing the operation of a command processing task.
FIG. 9 is a flowchart showing the operation of a command processing task.
FIG. 10 is a flowchart showing an operation of a download file process.
FIG. 11 is a flowchart showing an operation of a download file process.
FIG. 12 is a flowchart showing details of data transmission / reception with the external information processing terminal shown in FIGS. 10 and 11;
FIG. 13 is a flowchart showing details of the post-processing shown in FIGS. 10, 11, and 12;
FIG. 14 is a flowchart showing an operation of a file printing process.
FIG. 15 is a flowchart showing an operation of a file printing process.
FIG. 16 is a flowchart showing the parameter check processing of FIG. 14 in detail.
FIG. 17 is a flowchart illustrating a recording unit check process of FIG. 14 in detail;
FIG. 18 is a flowchart showing details of post-processing in FIG. 14;
FIG. 19 is a flowchart showing a recording processing task in detail.
FIG. 20 is a flowchart showing details of an initialization process when the power of the recording unit is turned on.
FIG. 21 is a flowchart showing in detail an initialization process at the time of turning on soft power of the recording unit.
FIG. 22 is a flowchart showing the recording paper feeding process of FIG. 19 in detail.
FIG. 23 is a flowchart showing details of a recording material remaining amount detection process of the recording unit.
FIG. 24 is a flowchart showing in detail a recording material remaining amount detecting process and an operation determining process of a reduced recording process.
FIG. 25 is a flowchart illustrating an operation of a print information acquisition process.
FIG. 26 is a flowchart showing an operation of a file transmission process.
FIG. 27 is a flowchart illustrating an operation of a file transmission process.
FIG. 28 is a flowchart showing the parameter check processing of FIG. 26 in detail.
FIG. 29 is a flowchart showing details of post-processing of FIGS. 26 and 27.
FIG. 30 is a flowchart showing an operation of a transmission information acquisition process.
FIG. 31 is a flowchart showing an operation of a transmission information acquisition process.
FIG. 32 is a flowchart showing an operation of an upload file process.
FIG. 33 is a flowchart showing an operation of an upload file process.
FIG. 34 is a flowchart showing an operation of an upload file process.
FIG. 35 is a flowchart showing details of a file uploading permission / inhibition determination process in FIG. 32;
FIG. 36 is a flowchart showing in detail the processing for determining whether the requested page information instruction is correct or not in FIG. 32.
FIG. 37 is a flowchart showing details of the image data transfer request right / wrong determination process of FIG.
FIG. 38 is a flowchart showing in detail a transfer image data generation process of FIG. 33;
FIG. 39 is a flowchart showing the operation of the receiving process.
FIG. 40 is a flowchart showing an operation of a reception mode storing process.
FIG. 41 is a flowchart showing an operation of a recording waiting received image monitoring task process.
FIG. 42 is a flowchart showing an operation of a reception information acquisition process.
FIG. 43 is a diagram showing a configuration of received information.
FIG. 44 is a diagram showing a configuration of communication management information stored in a RAM 103.
FIG. 45 is a flowchart showing an operation of a communication management reception number acquisition process.
FIG. 46 is a flowchart showing an operation of a communication management information acquisition process.
FIG. 47 is a flowchart showing a communication management report recording processing operation by an operation of the facsimile apparatus main body.
FIG. 48 is a diagram showing an example of a communication management report.
FIG. 49 is a flowchart showing an operation of a file ID acquisition process.
FIG. 50 is a flowchart showing details of a process of generating the latest file ID information of FIG. 49;
FIG. 51 is a flowchart showing in detail a file ID list information generation process of FIG. 49;
FIG. 52 is a flowchart showing an operation of a file information acquisition process.
FIG. 53 is a diagram showing a configuration of file management information.
FIG. 54 is a flowchart showing an operation of a page information acquisition process.
FIG. 55 is a diagram showing a configuration of page management information.
FIG. 56 is a flowchart showing an operation of a file erasing process.
FIG. 57 is a flowchart showing an operation of facsimile information processing.
FIG. 58 is a flowchart showing an operation of a telephone call processing.
FIG. 59 is a flowchart showing details of the calling condition check processing of FIG. 58;
FIG. 60 is a flowchart showing details of the dial information acquisition processing of FIG. 58;
FIG. 61 is a flowchart showing the operation of on-hook control.
FIG. 62 is a flowchart showing the operation of on-hook control.
FIG. 63 is a flowchart showing the operation of on-hook control.
FIG. 64 is a flowchart showing an operation of a call disconnection process.
FIG. 65 is a flowchart showing an operation of a command set switching process.
FIG. 66 is a flowchart showing an operation of a command set switching process.
FIG. 67 is a flowchart showing the parameter check processing of FIG. 65 in detail.
FIG. 68 is a flowchart showing details of the recording check process of FIG. 65.
FIG. 69 is a flowchart showing an operation of a command set switching process.
FIG. 70 is a flowchart showing details of the post-processing in FIG. 65.
FIG. 71 is a flowchart showing the operation of the facsimile storage scan process.
FIG. 72 is a flowchart showing the task end confirmation processing of FIG. 71 in detail.
FIG. 73 is a flowchart showing an operation of a document transmission process.
[Explanation of symbols]
101 Facsimile MPU
102 ROM
103 RAM
104 Communication unit
105 Reading unit
106 RL-RAW converter
1078 pel-360 dpi resolution converter
108 Interface control unit
109 Information processing terminal
110 External interface signal line
111 motor
112 Operation Panel
113 Document detection sensor
201 Printer MPU
202 ROM
203 RAM
204 horizontal / vertical converter
205 print head
206 PE sensor
207 Footer LED, footer sensor
208 motor
302 Internal interface signal line

Claims (9)

情報処理端末と通信するインターフェース手段を有する画像通信装置において、
画像データを記憶する記憶手段と、
画像データを記録する記録手段と、
前記インターフェース手段を介して情報処理端末からの指示に基づき前記記憶手段内の特定の画像データを指定して、その画像データの消去を設定する手段と、
前記記憶手段内の前記特定の画像データが前記記録手段により記録中か否かを判別する判別手段と、
前記判別手段の判別結果に応じて前記記録手段により記録中である前記特定画像データの消去を禁止する禁止手段とを有することを特徴とする画像通信装置。
In an image communication device having an interface unit for communicating with an information processing terminal,
Storage means for storing image data;
Recording means for recording image data;
Means for designating specific image data in the storage means based on an instruction from the information processing terminal via the interface means, and setting deletion of the image data;
Determining means for determining whether the specific image data in the storage means is being recorded by the recording means,
An image communication device comprising: a prohibition unit that prohibits deletion of the specific image data being recorded by the recording unit in accordance with a result of the determination by the determination unit.
請求項1において、前記記憶手段で記憶される画像データは少なくとも原稿の画像を読み取って得た画像データ、前記インターフェース手段を介して情報処理端末から受信したデータ、回線を介して受信した画像データのいずれかを含むことを特徴とする画像通信装置。2. The image data according to claim 1, wherein the image data stored in the storage unit is at least image data obtained by reading an image of a document, data received from an information processing terminal via the interface unit, and image data received via a line. An image communication device comprising any one of the above. 情報処理端末と通信するインターフェース手段を有する画像通信装置において、
画像データを記憶する記憶手段と、
回線を介して画像データの送受信を行う通信手段と、
前記インターフェース手段を介して情報処理端末からの指示に基づき前記記憶手段内の特定の画像データを指定して、その特定の画像データの消去を設定する設定手段と、
前記記憶手段内の前記特定の画像データが前記通信手段により通信中か否かを判別する判別手段と、
前記通信手段により通信中である前記特定画像データの消去を禁止する禁止手段とを有することを特徴とする画像通信装置。
In an image communication device having an interface unit for communicating with an information processing terminal,
Storage means for storing image data;
Communication means for transmitting and receiving image data via a line,
Setting means for specifying specific image data in the storage means based on an instruction from the information processing terminal via the interface means, and setting deletion of the specific image data;
Determining means for determining whether the specific image data in the storage means is communicating with the communication means,
An image communication apparatus comprising: a prohibition unit that prohibits deletion of the specific image data being communicated by the communication unit.
請求項4において、前記記録手段で記憶される画像データは少なくとも原稿の画像を読み取って得た画像データ、前記通信手段によって回線を介して受信した画像データ、前記インターフェース手段を介して情報処理端末から受信した画像データのいずれかを含むことを特徴とする画像通信装置。5. The image data stored in the recording unit according to claim 4, wherein at least image data obtained by reading an image of a document, image data received via a line by the communication unit, and an information processing terminal via the interface unit. An image communication device comprising any one of received image data. 情報処理端末と通信するインターフェース手段を有する画像通信装置において、
画像データを記録する記録手段と、
画像データを記憶する記憶手段と、
回線を介して画像データを送受信する通信手段と、
前記インターフェース手段を介して情報処理端末からの指示に基づき前記記憶手段内の特定の画像データを指定して、その特定の画像データの消去を設定する設定手段と、
前記記憶手段内の前記特定の画像データが、前記通信手段による通信の待機中または前記記録手段による記録待機中か否かを判別する判別手段と、
前記判別手段で前記特定の画像データが通信待機中または記録待機中であることを判別した場合には、前記特定画像データの消去を禁止する禁止手段とを有することを特徴とする画像通信装置。
In an image communication device having an interface unit for communicating with an information processing terminal,
Recording means for recording image data;
Storage means for storing image data;
Communication means for transmitting and receiving image data via a line,
Setting means for specifying specific image data in the storage means based on an instruction from the information processing terminal via the interface means, and setting deletion of the specific image data;
Determining means for determining whether the specific image data in the storage means is waiting for communication by the communication means or waiting for recording by the recording means;
An image communication apparatus comprising: a prohibition unit that prohibits erasure of the specific image data when the determination unit determines that the specific image data is waiting for communication or waiting for recording.
請求項5において、前記記憶手段で記憶される画像データは少なくとも原稿の画像を読み取って得た画像データ、前記インターフェース手段を介して情報処理端末から受信したデータ、前記通信手段によって回線を介して受信した画像データのいずれかを含むことを特徴とする画像通信装置。6. The image data according to claim 5, wherein the image data stored in the storage means is at least image data obtained by reading an image of a document, data received from an information processing terminal via the interface means, and received via a line by the communication means. An image communication device characterized by including any of the following image data. 情報処理端末及び該情報処理端末に接続され、該情報処理端末からの指示に基づき種々の処理を行う画像通信装置を有する画像通信システムの制御方法において、
情報処理端末からの指示に基づき前記画像通信装置のメモリに記憶されている特定の画像データを指定し、その画像データの消去を行わせる消去工程と、
前記画像通信装置がメモリに記憶されている前記特定の画像データの記録中か否か判別する判別工程と、
前記判別工程の判別結果に応じて記録中である前記特定画像データの消去を禁止する禁止工程とを有する画像通信システムの制御方法。
A method for controlling an image communication system having an information processing terminal and an image communication device connected to the information processing terminal and performing various processes based on instructions from the information processing terminal,
A specific image data stored in the memory of the image communication device is specified based on an instruction from the information processing terminal, and an erasing step of erasing the image data,
A determining step of determining whether or not the image communication apparatus is recording the specific image data stored in a memory;
A prohibition step of prohibiting erasure of the specific image data being recorded in accordance with a result of the determination step.
情報処理端末及び該情報処理端末に接続され、該情報処理端末からの指示に基づき種々の処理を行う画像通信装置を有する画像通信システムの制御方法において、
情報処理端末からの指示に基づき前記画像通信装置のメモリに記憶されている特定の画像データを指定し、その画像データの消去を行わせる消去工程と、
前記画像通信装置がメモリに記憶されている前記特定の画像データの通信中か否か判別する判別工程と、
前記判別工程の判別結果に応じて通信中である前記特定画像データの消去を禁止する禁止工程とを有する画像通信システムの制御方法。
A method for controlling an image communication system having an information processing terminal and an image communication device connected to the information processing terminal and performing various processes based on instructions from the information processing terminal,
A specific image data stored in the memory of the image communication device is specified based on an instruction from the information processing terminal, and an erasing step of erasing the image data,
A determining step of determining whether the image communication device is communicating with the specific image data stored in a memory,
A prohibition step of prohibiting erasure of the specific image data being communicated in accordance with a result of the determination step.
情報処理端末及び該情報処理端末に接続され、該情報処理端末からの指示に基づき種々の処理を行う画像通信装置を有する画像通信システムの制御方法において、
情報処理端末からの指示に基づき前記画像通信装置のメモリに記憶されている特定の画像データを指定し、その画像データの消去を行わせる消去工程と、
前記画像通信装置がメモリに記憶されている前記特定の画像データが通信待機中または記録待機中か否かを判別する判別工程と、
前記判別工程で前記特定の画像データが通信待機中または記録待機中であることを判別した場合には、前記特定画像データの消去を禁止する禁止工程とを有することを特徴とする画像通信システムの制御方法。
A method for controlling an image communication system having an information processing terminal and an image communication device connected to the information processing terminal and performing various processes based on instructions from the information processing terminal,
A specific image data stored in the memory of the image communication device is specified based on an instruction from the information processing terminal, and an erasing step of erasing the image data,
A determination step of determining whether the specific image data stored in the image communication device is in communication standby or recording standby;
A prohibition step of prohibiting erasure of the specific image data when it is determined in the determination step that the specific image data is in communication standby or recording standby. Control method.
JP2003144912A 2003-05-22 2003-05-22 Control method for image communication apparatus and image communication system Pending JP2004032729A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003144912A JP2004032729A (en) 2003-05-22 2003-05-22 Control method for image communication apparatus and image communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003144912A JP2004032729A (en) 2003-05-22 2003-05-22 Control method for image communication apparatus and image communication system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP27932794A Division JPH08139877A (en) 1994-11-14 1994-11-14 Image communication equipment

Publications (1)

Publication Number Publication Date
JP2004032729A true JP2004032729A (en) 2004-01-29

Family

ID=31185367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003144912A Pending JP2004032729A (en) 2003-05-22 2003-05-22 Control method for image communication apparatus and image communication system

Country Status (1)

Country Link
JP (1) JP2004032729A (en)

Similar Documents

Publication Publication Date Title
JPH08139900A (en) Image communication equipment
US5726769A (en) Image processing apparatus capable of connecting external information processing terminal, and including printer unit and data processing unit
US5905582A (en) Image processing apparatus for processing image data in response to signals from an external apparatus
US20070124421A1 (en) Data communication apparatus and method of controlling same
JP3665877B2 (en) Compound machine
JP3320222B2 (en) Image recording device
KR100193793B1 (en) How faxes handle messages
JP3210194B2 (en) Image processing apparatus and control method for image processing system
JP3599452B2 (en) Image communication apparatus, control method therefor, and image communication system
JP3679432B2 (en) Image communication device
JP3135462B2 (en) Image communication apparatus and control method thereof
JP2000358124A (en) Facsimile terminal and its control method
JP2004032729A (en) Control method for image communication apparatus and image communication system
JPH08139879A (en) Image communication equipment
JPH08139877A (en) Image communication equipment
JPH08251374A (en) Communication system and communication equipment and communication control method
JPH08142449A (en) Image recording device
JP3806597B2 (en) Facsimile machine
JP3652355B2 (en) Image forming apparatus and control method thereof
KR100253844B1 (en) The sharing method of complexed memory
JP2000101814A (en) Facsimile communication system
JP2001045305A (en) Image communication equipment
JP2001238008A (en) Image forming device and method for controlling the image forming device
KR19990075695A (en) How to shorten fax transmission / reception time
KR19980086044A (en) Automatic fax phone number recognition device in multifunction device and its control method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060307

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060711