JP3439016B2 - Communication terminal device - Google Patents

Communication terminal device

Info

Publication number
JP3439016B2
JP3439016B2 JP05509396A JP5509396A JP3439016B2 JP 3439016 B2 JP3439016 B2 JP 3439016B2 JP 05509396 A JP05509396 A JP 05509396A JP 5509396 A JP5509396 A JP 5509396A JP 3439016 B2 JP3439016 B2 JP 3439016B2
Authority
JP
Japan
Prior art keywords
character
recognition
key
line
counter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP05509396A
Other languages
Japanese (ja)
Other versions
JPH09247408A (en
Inventor
成利 松原
和志 本庄
達治 岸田
幸一 高田
田中  淳司
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Electric Co Ltd
Original Assignee
Tottori Sanyo Electric Co Ltd
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tottori Sanyo Electric Co Ltd, Sanyo Electric Co Ltd filed Critical Tottori Sanyo Electric Co Ltd
Priority to JP05509396A priority Critical patent/JP3439016B2/en
Publication of JPH09247408A publication Critical patent/JPH09247408A/en
Application granted granted Critical
Publication of JP3439016B2 publication Critical patent/JP3439016B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Character Discrimination (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Transmission Control (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は通信端末装置に関す
る。
TECHNICAL FIELD The present invention relates to a communication terminal device.

【0002】[0002]

【従来の技術】現在、ファクシミリ装置や電話機等の通
信端末装置における電話番号入力は、テンキー、ワンタ
ッチキーあるいは短縮キー等のダイヤルキーを手動操作
することにより行われている。しかし、この方法ではオ
ペレータのキー操作が必要であるためダイヤル発信操作
が煩雑となる可能性があると共に誤操作による誤発信が
発生する確率も高くなっていた。
2. Description of the Related Art At present, a telephone number is input to a communication terminal device such as a facsimile device or a telephone by manually operating a dial key such as a ten-key, a one-touch key or a speed key. However, this method requires a key operation by the operator, which may complicate the dial transmission operation and also increase the probability of erroneous transmission due to an erroneous operation.

【0003】尚、操作者が電話番号を手動入力する際に
はメモ書等を見ながらキーを操作するケースが多く、こ
の場合のメモ書の記載ミスはキーの誤操作に比べて発生
確率が低いという現実がある。
When an operator manually inputs a telephone number, he or she often operates a key while looking at a memo or the like. In this case, a mistake in writing the memo is less likely to occur than an erroneous operation of the key. There is a reality.

【0004】そこで、キー操作の煩雑さの解消及び誤発
信防止を目的として原稿に記載された電話番号を自動的
に認識しダイヤル発信を行う通信端末装置が特開平2−
113665号公報、特開平2−28044号公報及び
特開平4−177969号公報等で提案されている。
Therefore, a communication terminal device for automatically recognizing a telephone number written in a manuscript and making a dial call for the purpose of eliminating the complexity of key operation and preventing erroneous call origination is disclosed in Japanese Patent Laid-Open No. 2-202.
It is proposed in Japanese Patent Laid-Open No. 113665, Japanese Patent Laid-Open No. 2-28044, Japanese Patent Laid-Open No. 4-177969 and the like.

【0005】また、操作性の観点からは、原稿に記載さ
れた電話番号を自動的に認識しダイヤル発信を行う自動
認識モードと、従来の如く電話番号を手動入力する手動
入力モードとを、オペレータが選択切換できるようにす
ることが好ましい。
From the viewpoint of operability, an operator is provided with an automatic recognition mode in which a telephone number written in a manuscript is automatically recognized and a dial call is made, and a manual input mode in which a telephone number is manually input as in the prior art. Is preferably switchable.

【0006】[0006]

【発明が解決しようとする課題】しかし、このようなモ
ードの切換が可能である場合には、オペレータは手動入
力モードを欲しているにもかかわらず、装置が自動認識
モードに設定されていたため不所望な動作が実行される
ことがある。
However, when such a mode switching is possible, the operator desires the manual input mode, but since the device is set to the automatic recognition mode, it is not possible. The desired operation may be performed.

【0007】本発明は、このような不所望な動作が開始
された場合に適切な対処が可能な通信端末装置を提供す
るものである。
The present invention provides a communication terminal device capable of taking appropriate measures when such an undesired operation is started.

【0008】[0008]

【課題を解決するための手段】本発明は、上記課題に鑑
みなされたもので、第1の特徴は、原稿上の認識対象と
なる電話番号情報を読み取る手段と、該読取手段で読み
取られた上記電話番号情報のイメージデータを保持する
手段と、該保持手段より1文字毎のイメージデータを切
り出す手段と、該切出手段より切り出された1文字毎の
イメージデータを順次認識する手段と、該認識手段の認
識結果に基づいてダイヤル発信を行う手段とを備え、原
稿に記載された電話番号情報を自動的に認識してダイヤ
ル発信を実行する通信端末装置であって、更に、上記読
取手段にセットされている原稿を排出する手段と、第1
の特定キーと、上記保持手段中のイメージデータを印字
出力する手段と、読取手段による上記認識対象となる電
話番号情報の読取中に上記第1の特定キーが入力された
ことを検出すると上記読取を終了させると共に上記原稿
を排出するように上記読取手段及び上記排出手段を制御
し、かつ上記切出手段または上記認識手段の動作中に上
記第1の特定キーが入力されたことを検出すると上記切
出または認識を終了させるように上記切出手段または上
記認識手段を制御すると共に上記原稿を排出することな
く、上記保持手段中のイメージデータを印字出力する様
に上記印字出力手段を制御する手段と、を備えたことを
特徴とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and a first feature thereof is a means for reading telephone number information to be recognized on a document and a reading means for reading the telephone number information. Means for holding the image data of the telephone number information, means for cutting out the image data for each character from the holding means, means for sequentially recognizing the image data for each character cut out by the cutting means, A communication terminal device comprising means for making a dial call based on the recognition result of the recognizing means, for automatically recognizing the telephone number information written in the manuscript and executing the dial call, and further comprising: A means for ejecting the set original, and a first
, A means for printing and outputting the image data in the holding means, and the reading means when the input of the first specific key is detected while the telephone number information to be recognized is being read by the reading means. When the inputting of the first specific key is detected during the operation of the cutting means or the recognizing means, the reading means and the discharging means are controlled so as to discharge the original document. A means for controlling the cutout means or the recognition means so as to end the cutout or recognition, and for controlling the printout means so as to print out the image data in the holding means without discharging the original document. And are provided.

【0009】第2の特徴は、更に、第2の特定キーを備
え、上記切出手段または上記認識手段の動作中の上記第
1の特定キー入力後に上記第2の特定キー入力を検出し
た際には、上記制御手段は上記保持手段中のイメージデ
ータに対して切出及び認識を再度実行するように上記切
出手段及び認識手段を制御することにある。
A second feature is that it further comprises a second specific key, and when the second specific key input is detected after the first specific key input during the operation of the cutting means or the recognition means. In other words, the control means controls the cutout means and the recognition means so as to execute the cutout and recognition again on the image data in the holding means.

【0010】第3の特徴は、上記第2の特定キーは、原
稿上に記入された電話番号情報を認識しその認識結果に
基づいて自動的にダイヤル発信を実行する自動認識モー
ドと手動入力により入力された電話番号情報に従ってダ
イヤル発信を行う手動入力モードとを選択切換するため
のキーであることにある。
A third feature is that the second specific key is operated by an automatic recognition mode in which the telephone number information written on the manuscript is recognized and a dial transmission is automatically performed based on the recognition result, and a manual input. It is a key for selectively switching between a manual input mode in which dial transmission is performed according to the input telephone number information.

【0011】[0011]

【0012】[0012]

【0013】[0013]

【0014】[0014]

【発明の実施の形態】図1は本発明を適用してなるファ
クシミリ装置の一実施例を示す外観図である。本実施例
のファクシミリ装置10は、ハウジング12を含み、該
ハウジング12の上面には、操作パネル14が形成され
る。操作パネル14には、図2に詳細に示される種々の
キーが配置される。
FIG. 1 is an external view showing an embodiment of a facsimile machine to which the present invention is applied. The facsimile apparatus 10 of this embodiment includes a housing 12, and an operation panel 14 is formed on the upper surface of the housing 12. Various keys shown in detail in FIG. 2 are arranged on the operation panel 14.

【0015】即ち、操作パネル14上には、「0」〜
「9」、「*」及び「#」を含むテンキー16が設けら
れ、このテンキー16は、後述のように、宛先情報を手
動的に入力する際に用いられる。図2において「A」〜
「D」で示される4つのキーの各々はワンタッチダイヤ
ルキー18であり、それを押すことによって予め登録し
た宛先にダイヤルすることができる。短縮ダイヤルキー
20は、予め登録した例えば2桁のコード番号によって
宛先情報を入力するために用いられ、この短縮キー20
とテンキー16とを用いて短縮コードを入力することが
できる。フラッシュキー22はいわゆるフラッシング動
作を行わせるためのキーであり、このフラッシュキー2
2が操作されると、後述のNCU(Network Control Uni
t)114が電話回線を700ミリ秒〜1秒間ブレイクす
る。トーンキー24はダイヤルパルス信号またはDTM
F(Dual-Tone Multi-Frequency)信号の切り換えのため
のキーである。ポーズキー26はダイヤルポーズ期間を
設定するために用いられる。リダイヤルキー28は一旦
発呼が行われたが回線が接続されなかった相手先に再度
ダイヤルするために用いられる。尚、参照番号30及び
32は、それぞれ保留キー及びハンズフリーキーを示
す。
That is, on the operation panel 14, "0" ...
A ten-key pad 16 including "9", "*" and "#" is provided, and this ten-key pad 16 is used when manually inputting destination information as described later. In FIG. 2, "A"-
Each of the four keys indicated by "D" is a one-touch dial key 18, which can be pressed to dial a preregistered destination. The speed-dial key 20 is used for inputting destination information by using, for example, a two-digit code number registered in advance.
It is possible to input a shortened code by using the and ten keys 16. The flash key 22 is a key for performing a so-called flushing operation.
2 is operated, NCU (Network Control Uni
t) 114 breaks the telephone line for 700 milliseconds to 1 second. The tone key 24 is a dial pulse signal or DTM.
A key for switching F (Dual-Tone Multi-Frequency) signals. The pause key 26 is used to set the dial pause period. The redial key 28 is used for redialing the other party whose line has not been connected once the call is made. Note that reference numerals 30 and 32 indicate a hold key and a hands-free key, respectively.

【0016】図2においてテンキー16の上方には、メ
ニューキー34が設けられ、このメニューキー34は機
能選択キーとして働く。即ち、メニューキー34を押す
ことによって、各種機能を設定するためのメニューを選
択することができる。尚、このメニューキー34は、後
で説明するように、液晶表示器(LCD:Liquid Cryst
al Display)36においてカーソル38を上位桁方向即
ち左方向に移動させるためのキーとしても用いられる。
セットキー40は、メニューキー34で設定された各種
機能を確定させるためのキーである。また、このセット
キー40は、LCD36上のカーソル38を下位桁方向
即ち右方向に移動させるために用いられる。モードキー
42はファックスモード、電話モードまたは留守番電話
モードを切り換えるためのキーである。画質選択キー4
4はノーマル送信モード、ファイン送信モード及び中間
調送信モードのいずれかを選択する。
In FIG. 2, a menu key 34 is provided above the numeric keypad 16, and the menu key 34 functions as a function selection key. That is, by pressing the menu key 34, a menu for setting various functions can be selected. As will be described later, the menu key 34 is used for a liquid crystal display (LCD).
It is also used as a key for moving the cursor 38 in the upper display direction, that is, to the left in the al Display) 36.
The set key 40 is a key for confirming various functions set by the menu key 34. The set key 40 is used to move the cursor 38 on the LCD 36 in the lower digit direction, that is, to the right. The mode key 42 is a key for switching a fax mode, a telephone mode or an answering machine mode. Image quality selection key 4
4 selects one of the normal transmission mode, the fine transmission mode and the halftone transmission mode.

【0017】原稿種類キー46は原稿の濃淡を切り換え
たり、あるいは中間調を選択するために用いられる。ダ
イヤルバンクキー48は、SRAM76(後述)に蓄積
された宛先上方を読み出すために用いられる。即ち、例
えばテンキー16によって手動的に宛先情報を入力する
と、その都度その宛先情報がSRAM76に登録され
る。ダイヤルバンクキー48を操作することによって、
過去の発信頻度順位の第1位から第20位までの宛先情
報を読み出すことができる。このようにして、ダイヤル
バンクキー48で過去の宛先情報を読み出すことによっ
て、ワンタッチダイヤル登録や短縮ダイヤル登録に利用
することができる。また、ダイヤルバンクキー48を利
用して過去にダイヤルされた宛先情報を読み出すことに
よって、所謂オートダイヤラとしての機能も実現でき
る。ペーパーセーブキー50は、ファクシミリ受信の際
のファクシミリ用紙を節約するために用いられ、このペ
ーパーセーブキー50が押されると受信用紙送りピッチ
を1/2にする。
The document type key 46 is used to switch the lightness and darkness of a document or select a halftone. The dial bank key 48 is used to read out the upper address stored in the SRAM 76 (described later). That is, for example, when the destination information is manually input using the ten keys 16, the destination information is registered in the SRAM 76 each time. By operating the dial bank key 48,
It is possible to read the destination information from the first to the twentieth place in the past transmission frequency ranking. In this way, by reading the past destination information with the dial bank key 48, it can be used for one-touch dial registration or speed dial registration. Further, by reading the destination information dialed in the past by using the dial bank key 48, a function as a so-called auto dialer can be realized. The paper save key 50 is used to save facsimile paper when receiving a facsimile, and when the paper save key 50 is pressed, the receiving paper feed pitch is halved.

【0018】停止/クリアキー52は、実行中の動作を
停止する機能と、登録モード(ワンタッチ登録あるいは
自局名/自局番号登録等)において入力された番号をク
リアする機能と、登録モードそれ自体を解除する機能と
を果たす。また、この停止/クリアキー52は、後述の
宛先情報認識動作においても操作される。例えば、図1
に示すように原稿を挿入した後、宛先情報を認識する動
作を開始するまでにこの停止/クリアキー52が操作さ
れると、その原稿を強制的に排出する。また、図1に示
すように挿入された原稿の宛先情報を認識している間
(LCD36に「バンゴウヨミトリチュウ」と表示され
る)、停止/クリアキー52が操作されると、宛先情報
の認識動作を中断し、その認識結果を破棄する。但し、
この場合でも、ラインバッファ68(後述)には、CI
S100(後述)で読み取ったイメージデータは保持さ
れている。更に、修正モードあるいはエラー訂正モード
において、停止/クリアキー52が操作されると、強制
的に待機状態に戻る。
The stop / clear key 52 has a function of stopping the operation being executed, a function of clearing the number input in the registration mode (one-touch registration or own station name / own number registration, etc.), and a registration mode It fulfills the function of releasing itself. The stop / clear key 52 is also operated in the destination information recognition operation described later. For example, in FIG.
When the stop / clear key 52 is operated before the operation of recognizing the destination information is started after the document is inserted, the document is forcibly ejected. When the stop / clear key 52 is operated while recognizing the destination information of the inserted document as shown in FIG. The recognition operation is interrupted and the recognition result is discarded. However,
Even in this case, the CI in the line buffer 68 (described later)
The image data read in S100 (described later) is held. Further, when the stop / clear key 52 is operated in the correction mode or the error correction mode, the standby state is forcibly returned.

【0019】スタートキー54は動作を開始させるとき
に操作される。例えば、図1に示すハンドセット56が
オフフック状態にあるとき、またはハンズフリーキー3
2がオンされているとき、このスタートキー54が操作
されると、図1のように原稿が挿入されたことに応じて
送信動作が開始され、原稿が挿入されていないときには
受信動作が開始される。また、ハンドセット56がオン
フック状態のとき、宛先情報が手動的に入力されると、
このスタートキー54の操作に応答して、ダイヤル動作
が開始される。さらに、送信原稿上に記入された宛先情
報を認識した後にスタートキー54が操作されると、そ
の認識した宛先情報に従ったダイヤル動作が開始され
る。
The start key 54 is operated when starting the operation. For example, when the handset 56 shown in FIG. 1 is off-hook, or when the hands-free key 3
When the start key 54 is operated while No. 2 is turned on, the transmission operation is started in response to the insertion of the original as shown in FIG. 1, and the reception operation is started when the original is not inserted. R. When the handset 56 is on-hook and the destination information is manually input,
In response to the operation of the start key 54, the dial operation is started. Further, when the start key 54 is operated after recognizing the destination information written on the transmission document, the dial operation according to the recognized destination information is started.

【0020】コピーキー58は原稿のコピー動作を実行
する際に操作される。テガキキー59は、送信原稿上に
記入された宛先情報を読取、かつ、それを認識した結果
に基づいて自動的にダイヤル動作を開始する自動認識モ
ードと宛先を手動入力する手動入力モードとを切り換え
るためのキーである。このテガキキー59は例えば発光
ダイオードLED152を内蔵し、自動認識モード設定
時には点灯し、かつ、自動認識モード設定時の宛先情報
の読取及びその認識時には点滅する。また、このテガキ
キー59は、自動認識モード実行中の宛先情報読取後〜
ダイヤル発信が行われる迄の間に操作されるとラインバ
ッファ68中に格納されている宛先情報のイメージデー
タを印字出力する。更に、自動認識モード動作途中で手
動入力モードに一旦移行した後にテガキキー59が操作
されると、自動認識モードに復帰する。
The copy key 58 is operated when executing the copy operation of the original. The digital key 59 is for switching the automatic recognition mode in which the destination information written on the transmission original is read and the dial operation is automatically started based on the result of recognition thereof and the manual input mode in which the destination is manually input. Is the key. The digital key 59 has, for example, a light emitting diode LED 152 built therein, and is turned on when the automatic recognition mode is set, and blinks when the destination information is read and recognized when the automatic recognition mode is set. In addition, the digital key 59 is used after the destination information is read during execution of the automatic recognition mode.
If operated until the dial transmission is performed, the image data of the destination information stored in the line buffer 68 is printed out. Further, when the dakigaki key 59 is operated after the mode is temporarily shifted to the manual input mode during the operation of the automatic recognition mode, the automatic recognition mode is restored.

【0021】図3は、例えば株式会社東芝製の「TC3
5167F」のようなシングルチップファクシミリプロ
セッサを含む図1実施例のブロック図である。CPU6
0と他のコンポーネントとはバス62によって結合され
る。ROM64は図4に示すように制御プログラム領域
64a、認識用辞書領域64b及びメッセージ(可聴メ
ッセージまたは可視メッセージ)のためのデータ、すな
わちメッセージデータをストアするメッセージデータ領
域64cを含む。制御プログラム領域64aは、後述の
フロー図に従った制御プログラムを含む。認識用辞書領
域64bは、手書き宛先情報を認識するための辞書であ
り、パターンマッチングのベクトルや複数のニューラル
ネットワークを含み、パターンマッチングのベクトルに
応じてニューラルネットワークを選択することによっ
て、送信原稿上に記入された宛先情報を認識する。この
認識用辞書領域64bは、さらに、256テーブル(ビ
ット数検出テーブル)を含む。このビット数検出テーブ
ルは1バイト中の黒ビットの数を示すテーブルであり、
ヒストグラムを作成するに際してビット数を検出する際
に参照される。
FIG. 3 shows, for example, "TC3" manufactured by Toshiba Corporation.
FIG. 2 is a block diagram of the embodiment of FIG. 1 including a single chip facsimile processor such as a 5167F ”. CPU6
0 and other components are connected by a bus 62. As shown in FIG. 4, the ROM 64 includes a control program area 64a, a recognition dictionary area 64b, and data for a message (audible or visible message), that is, a message data area 64c for storing message data. The control program area 64a includes a control program according to a flow chart described later. The recognition dictionary area 64b is a dictionary for recognizing handwritten destination information, includes a pattern matching vector and a plurality of neural networks, and selects a neural network in accordance with the pattern matching vector, so that Recognize the written destination information. The recognition dictionary area 64b further includes a 256 table (bit number detection table). This bit number detection table is a table showing the number of black bits in one byte,
It is referred to when detecting the number of bits when creating a histogram.

【0022】VRAM66は、図5に示すように例えば
32.25Kバイト(=129×2048ビット(=2
56バイト))のビットマップ方式(ビット単位でのア
クセスが可能)のラインバッファ68を含む。
As shown in FIG. 5, the VRAM 66 has, for example, 32.25 Kbytes (= 129 × 2048 bits (= 2).
56 bytes)) bit map system (accessible in bit units) is included.

【0023】他方、SRAM76はバイトマップ方式
(バイト単位でアクセスする)メモリであり、図6に示
すようなメモリスイッチ領域76a、フラッグ領域76
bおよびカウンタ、ポインタ及び変数領域76cを含む
とともに、ダイヤルバッファ70、第1文字テーブル
(TBL1)72及び第2文字データテーブル(TBL
2)74を含む。
On the other hand, the SRAM 76 is a byte-mapped memory (accessed in byte units), and has a memory switch area 76a and a flag area 76 as shown in FIG.
b, a counter, a pointer and a variable area 76c, a dial buffer 70, a first character table (TBL1) 72 and a second character data table (TBL).
2) 74 is included.

【0024】メモリスイッチ領域76aのエラー処理モ
ードスイッチEMODEは、手書き宛先情報を認識して
いるときに、リジェクト文字が発生したときの処理を選
択するスイッチである。このスイッチEMODEが
「0」に設定されると、手書き宛先情報を認識中にリジ
ェクト文字(認識不能文字)が発生したとき、その認識
を中断し、それまでに得られた認識結果を破棄する。ま
た、このエラー処理モードスイッチEMODEが「1」
に設定されると、リジェクト文字が発生する都度認識動
作を中断し、エラー訂正モードに移行する。また、スイ
ッチEMODEが「2」に設定されると、手書き宛先情
報の全てに対する認識動作を終了した時点でエラー訂正
モードに移行する。
The error processing mode switch EMODE in the memory switch area 76a is a switch for selecting processing when a reject character occurs while recognizing handwritten destination information. When the switch EMODE is set to "0", when a reject character (unrecognizable character) occurs while recognizing the handwritten address information, the recognition is interrupted and the recognition result obtained up to that point is discarded. Also, this error processing mode switch EMODE is "1".
When set to, the recognition operation is interrupted each time a reject character occurs, and the error correction mode is entered. When the switch EMODE is set to "2", the mode is shifted to the error correction mode when the recognition operation for all the handwritten address information is completed.

【0025】認識確認時間スイッチCTは、手書き宛先
情報の認識終了後に、その認識結果を確認するための時
間を設定するスイッチである。即ち、このスイッチCT
が「0」に設定されると、手書き宛先情報の認識結果を
LCD36(図2)で表示した後、スタートキー54
(図2)の操作を待って自動ダイヤル動作を開始する。
しかし、このスイッチCTに「1」〜「10」の可変数
が設定されていると、認識結果を表示した後、その可変
数で示される秒数(CT秒)経過後、自動的にダイヤル
動作を実行する。
The recognition confirmation time switch CT is a switch for setting a time for confirming the recognition result after the recognition of the handwritten address information is completed. That is, this switch CT
Is set to “0”, the recognition result of the handwritten address information is displayed on the LCD 36 (FIG. 2), and then the start key 54 is pressed.
The automatic dialing operation is started after waiting for the operation (Fig. 2).
However, if a variable number of "1" to "10" is set to this switch CT, after the recognition result is displayed, the dial operation is automatically performed after the number of seconds (CT seconds) indicated by the variable number has elapsed. To execute.

【0026】番号送信モードスイッチNSMODEは、
手書き宛先情報を認識するためにCIS100で読み取
ったイメージデータを送信データの一部として送信する
か否かを選択するためのスイッチである。このスイッチ
NSMODEが「0」に設定されると、宛先情報認識の
ために読み取ったイメージデータを送信データの一部と
しては送信しない。スイッチNSMODEが「1」に設
定されると、宛先情報認識のために読み取ったイメージ
データを送信データの一部として送信する。
The number transmission mode switch NSMODE is
It is a switch for selecting whether or not to transmit the image data read by the CIS 100 as a part of the transmission data in order to recognize the handwriting destination information. When the switch NSMODE is set to "0", the image data read for recognizing the destination information is not transmitted as a part of the transmission data. When the switch NSMODE is set to "1", the image data read to recognize the destination information is transmitted as a part of the transmission data.

【0027】読取送信モードスイッチSMODEは、オ
ペレータが希望する送信モードを設定するためのスイッ
チであり、SMODE=「0」はノーマルモードを示
し、SMODE=「1」はファインモードを示し、SM
ODE=「2」は中間モードを示す。
The read transmission mode switch SMODE is a switch for setting the transmission mode desired by the operator. SMODE = "0" indicates a normal mode, SMODE = "1" indicates a fine mode, and SM.
ODE = “2” indicates the intermediate mode.

【0028】フラッグ領域76bには、自動認識フラッ
グRF、記入ガイドフラッグGF、確認プリントフラッ
グCPF、自動認識移行可否フラッグCAF、先読みフ
ラッグSF、有効イメージ領域フラッグAF、有効文字
フラッグMF及びエラーフラッグEFがセットされる。
自動認識フラッグRFは、自動認識モードと手動入力モ
ードのいづれがオペレータにより選択されているかを示
し、RF=「0」のとき手動モードが選択され、RF=
「1」のとき自動認識モードが選択されていることを示
す。記入ガイドフラッグGFは、図7に示すごとく自動
認識モード時に読み取られる宛先情報イメージデータの
送信原稿上での記入方法を示すガイドの印字出力可否を
示すものであり、GF=「0」のとき記入ガイドの印字
出力を禁止し、GF=「1」のとき印字出力を容認す
る。確認プリントフラッグCPFは、ラインバッファ6
8に格納されている宛先情報のイメージデータを、停止
/クリアキー52の入力に基づく自動認識モードから手
動入力モードへの移行時に自動的に印字出力(以下、確
認プリントという)するか否かを示すものであり、CP
F=「0」のときこの確認プリントを可能とし、CPF
=「1」のとき禁止する。自動認識移行可否フラッグC
AFは、手動入力モードから自動認識モードへの移行の
可否を示すものであり、CAF=「0」のときこの移行
を許可し、CAF=「1」のとき禁止する。先読みフラ
ッグSFは、既に認識された宛先情報のデータがダイヤ
ルバッファ70に存在しているかどうかを示すフラッグ
であり、SF=「0」がデータがないことを示し、SF
=「1」がデータがあることを示す。有効イメージ領域
フラッグAFは、CIS100によって現在読み取って
いる原稿の領域が認識対象となる宛先情報が記載された
領域であるか否かを示すフラッグであり、AF=「0」
が宛先情報領域以外の領域を示し、AF=「1」が宛先
情報領域を示す。有効文字フラッグMFは、主走査方向
において認識の対象となる宛先情報の領域を走査してい
るか否かを示すフラッグであり、MF=「0」は領域外
を示し、MF=「1」は領域内を示す。エラーフラッグ
EFは、宛先情報を認識しているときにリジェクト文字
が発生したことを示すフラッグであり、EF=「0」は
リジェクト文字の発生がないことを示し、EF=「1」
はリジェクト文字の発生を示す。
In the flag area 76b, there are an automatic recognition flag RF, a writing guide flag GF, a confirmation print flag CPF, an automatic recognition transfer possibility flag CAF, a prefetch flag SF, an effective image area flag AF, an effective character flag MF and an error flag EF. Set.
The automatic recognition flag RF indicates which of the automatic recognition mode and the manual input mode is selected by the operator. When RF = "0", the manual mode is selected and RF =
When it is "1", it indicates that the automatic recognition mode is selected. The fill-in guide flag GF indicates whether or not a guide can be printed out, which indicates how to write the destination information image data read in the automatic recognition mode on the transmission document as shown in FIG. 7, and is filled when GF = “0”. The printout of the guide is prohibited, and when GF = "1", the printout is accepted. Confirmation print flag CPF is line buffer 6
Whether the image data of the destination information stored in 8 is automatically printed out (hereinafter referred to as confirmation print) at the time of shifting from the automatic recognition mode based on the input of the stop / clear key 52 to the manual input mode. Shown, CP
When F = “0”, this confirmation print is possible and CPF
= When "1", it is prohibited. Automatic recognition transition flag C
AF indicates whether or not the transition from the manual input mode to the automatic recognition mode is possible. The transition is permitted when CAF = "0" and prohibited when CAF = "1". The prefetch flag SF is a flag indicating whether or not the data of the already-recognized destination information exists in the dial buffer 70, and SF = “0” indicates that there is no data, and SF = “0”.
= “1” indicates that there is data. The effective image area flag AF is a flag indicating whether or not the area of the document currently being read by the CIS 100 is the area in which the destination information to be recognized is described, and AF = “0”.
Indicates an area other than the destination information area, and AF = "1" indicates the destination information area. The valid character flag MF is a flag indicating whether or not the area of the destination information to be recognized in the main scanning direction is being scanned, MF = “0” indicates outside the area, and MF = “1” indicates the area. Shows inside. The error flag EF is a flag indicating that a reject character has occurred while recognizing the destination information, EF = "0" indicates that no reject character has occurred, and EF = "1".
Indicates the occurrence of a reject character.

【0029】SRAM76のカウンタ、ポインタおよび
変数領域76cには、原稿送りカウンタPCNT、書込
みラインカウンタLCNT、有効ラインカウンタBCN
T、全白ラインカウンタWCNT、第1〜第2048カ
ラムカウンタCCNT、文字数カウンタMCNT、カラ
ムポインタCPNT、第1文字データカウンタDCNT
1、第2文字データカウンタDCNT2、ダイヤルバッ
ファライトポインタDLBW、第2テーブルリードポイ
ンタTRPT、白ライン送信カウンタWLSC、ライン
バッファリードポインタLBRP、スペースカウンタS
CNT、タイマカウンタTC、リジェクト文字数カウン
タRJC、平均距離レジスタAL及びスペース幅レジス
タSPが設けられる。原稿送りカウンタPCNTは、宛
先情報を認識するためにCIS100によって読み取ら
れた原稿の副走査方向のライン数をカウントするための
カウンタである。書込みラインカウンタLCNTは、宛
先情報を認識するためにCIS100で読み取ったイメ
ージデータをラインバッファ68に書き込むためのライ
トポインタである。有効ラインカウンタBCNTは、主
走査方向に2以上の黒ドットが連続するライン(有効ラ
イン)が連続して出現する数をカウントするカウンタで
ある。全白ラインカウンタWCNTは、主走査方向に2
以上の黒ドットが連続しないライン(全白ライン)が連
続して出現する数をカウントするためのカウンタであ
る。
In the counter, pointer and variable area 76c of the SRAM 76, a document feed counter PCNT, a write line counter LCNT and a valid line counter BCN are provided.
T, all white line counter WCNT, first to 2048th column counter CCNT, character number counter MCNT, column pointer CPNT, first character data counter DCNT
1, second character data counter DCNT2, dial buffer write pointer DLBW, second table read pointer TRPT, white line transmission counter WLSC, line buffer read pointer LBRP, space counter S
A CNT, a timer counter TC, a reject character number counter RJC, an average distance register AL and a space width register SP are provided. The document feeding counter PCNT is a counter for counting the number of lines in the sub-scanning direction of the document read by the CIS 100 to recognize the destination information. The write line counter LCNT is a write pointer for writing the image data read by the CIS 100 in order to recognize the destination information in the line buffer 68. The valid line counter BCNT is a counter that counts the number of consecutive lines (valid lines) in which two or more black dots are continuous in the main scanning direction. The all-white line counter WCNT is 2 in the main scanning direction.
This is a counter for counting the number of consecutive lines (all white lines) in which black dots are not consecutive.

【0030】第1〜第2048カラムカウンタCCNT
は、図8に詳細に示すラインバッファ68の各カラム毎
の黒ドット数をカウントするカウンタであり、第1カラ
ムカウンタ1CCNT、第2カラムカウンタ2CCN
T、第3カラムカウンタ3CCNT、・・・、第204
8カラムカウンタ2048CCNTを含む。文字数カウ
ンタMCNTは、ラインバッファ68に格納されたイメ
ージデータに含まれる文字数をカウントするためのカウ
ンタである。カラムポインタCPNTは、ラインバッフ
ァ68の各カラムをアドレスするポインタである。第1
文字データカウンタDCNT1は、第1文字データテー
ブル72(図6)のデータを読み出すためのリードポイ
ンタであり、第2文字データカウンタDCNT2は、第
2文字データテーブル74(図6)にデータを書き込む
ためのライトポインタである。
First to 2048th column counter CCNT
Is a counter for counting the number of black dots for each column of the line buffer 68 shown in detail in FIG. 8, and includes a first column counter 1CCNT and a second column counter 2CCN.
T, third column counter 3CCNT, ..., 204th
Includes 8 column counter 2048 CCNT. The character number counter MCNT is a counter for counting the number of characters included in the image data stored in the line buffer 68. The column pointer CPNT is a pointer that addresses each column of the line buffer 68. First
The character data counter DCNT1 is a read pointer for reading the data in the first character data table 72 (FIG. 6), and the second character data counter DCNT2 is for writing the data in the second character data table 74 (FIG. 6). Is the write pointer of.

【0031】ダイヤルバッファライトポインタDLBW
は、ダイヤルバッファ70へ宛先情報のキャラクタコー
ドを書き込むためのライトポインタである。第2テーブ
ルリードポインタTRPTは、第2文字テーブル74の
データを読み出すためのリードポインタである。白ライ
ン送信カウンタWLSCは、送信すべき全白ラインの数
を示すカウンタである。ラインバッファリードポインタ
LBRPは、ラインバッファ68に格納されているイメ
ージデータをライン毎に読み出すためのリードポインタ
である。スペースカウンタSCNTは、手書き宛先情報
に含まれるスペースが連続して出現するためのカウンタ
である。タイマカウンタTCは、時間をカウントするた
めのカウンタである。リジェクト文字数カウンタRJC
は、認識結果中のリジェクト数を格納するレジスタであ
る。平均距離レジスタALは、ラインバッファ68に格
納されているイメージデータの文字間平均距離ALを示
すデータが書き込まれるレジスタであり、スペース幅レ
ジスタSPは、ラインバッファ68のイメージデータの
文字間スペースの幅SPCを表すデータを格納するため
のレジスタである。
Dial buffer write pointer DLBW
Is a write pointer for writing the character code of the destination information to the dial buffer 70. The second table read pointer TRPT is a read pointer for reading the data of the second character table 74. The white line transmission counter WLSC is a counter indicating the number of all white lines to be transmitted. The line buffer read pointer LBRP is a read pointer for reading the image data stored in the line buffer 68 for each line. The space counter SCNT is a counter for the spaces included in the handwritten destination information to appear consecutively. The timer counter TC is a counter for counting time. Rejected character number counter RJC
Is a register that stores the number of rejects in the recognition result. The average distance register AL is a register in which the data indicating the average distance AL between characters of the image data stored in the line buffer 68 is written, and the space width register SP is the width of the space between characters of the image data in the line buffer 68. It is a register for storing data representing SPC.

【0032】ダイヤルバッファ70は、原稿上に記入さ
れた宛先情報の認識結果または手動的に入力された宛先
情報に基づいてNCU114からダイヤルパルスまたは
DTMF信号を発生させるためのキャラクタコードをス
トアするためのバッファメモリである。
The dial buffer 70 stores a character code for generating a dial pulse or a DTMF signal from the NCU 114 based on the recognition result of the destination information written on the manuscript or the manually input destination information. It is a buffer memory.

【0033】第1文字データテーブル72及び第2文字
データテーブル74の各々は、図9に示すように、始点
X領域、始点Y領域、X幅領域及びY幅領域毎に第1格
納部〜第32格納部の32の格納部を有する文字データ
テーブルである。この文字データテーブル72および7
4には、ラインバッファ68中での各文字の領域を表す
上述の4つのデータが格納される。文字データテーブル
72および74は、宛先情報の各文字やスペースを切り
出すために用いられる。
As shown in FIG. 9, each of the first character data table 72 and the second character data table 74 has a first storage section to a first storage section for each of the starting point X area, the starting point Y area, the X width area, and the Y width area. It is a character data table which has 32 storage parts of 32 storage parts. This character data table 72 and 7
4 stores the above-mentioned four data representing the area of each character in the line buffer 68. The character data tables 72 and 74 are used to cut out each character and space in the destination information.

【0034】尚、このSRAM76は、更に手書き宛先
情報を認識するために必要なイメージバッファおよびヒ
ストグラムバッファを含む。イメージバッファはバイト
マップ形式でラインバッファ68からのイメージデータ
をストアし、256バイト×16ラインの領域として形
成され、ヒストグラムバッファは1×512バイトの領
域で形成される。ヒストグラムバッファは、手書き宛先
情報を認識する際に必要なヒストグラムを作成するため
に利用される。
The SRAM 76 further includes an image buffer and a histogram buffer necessary for recognizing handwritten destination information. The image buffer stores the image data from the line buffer 68 in the byte map format and is formed as an area of 256 bytes × 16 lines, and the histogram buffer is formed of an area of 1 × 512 bytes. The histogram buffer is used to create a histogram necessary for recognizing handwritten destination information.

【0035】図3に戻って、時計回路78は、クロック
信号(図示せず)を受けて現在時刻をカウントするため
の回路であり、VRAM66及びSRAM76と共にバ
ックアップ電池80によってバックアップされる。
Returning to FIG. 3, the clock circuit 78 is a circuit for receiving a clock signal (not shown) and counting the current time, and is backed up by the backup battery 80 together with the VRAM 66 and the SRAM 76.

【0036】記録制御回路82は、確認プリント動作、
ファクシミリ受信動作またはコピー動作においてファク
シミリ用紙にデータを印字するための回路であって、サ
ーマルヘッド84のためのサーマルヘッドドライバを含
む。
The recording control circuit 82 uses the confirmation print operation,
A circuit for printing data on a facsimile sheet in a facsimile receiving operation or a copying operation, including a thermal head driver for the thermal head 84.

【0037】DMA回路86は、CPU60の介在しな
い、例えばラインバッファ68からのデータの読み出し
あるいはラインバッファ68へデータを書き込むための
DMA(Direct Memory Access)動作を制御するための回
路である。
The DMA circuit 86 is a circuit for controlling a DMA (Direct Memory Access) operation without the intervention of the CPU 60, for example, for reading data from the line buffer 68 or writing data in the line buffer 68.

【0038】モータ制御回路88は、送信モータ90及
び受信モータ92を制御する。送信モータ90及び受信
モータ92はいずれもステッピングモータである。送信
モータ90は、図10に示す原稿送りローラ94及び圧
接ローラ96を駆動する。受信モータ92は、ファクシ
ミリ用紙ないし記録紙(図示せず)を送り出す。
The motor control circuit 88 controls the transmission motor 90 and the reception motor 92. Both the transmission motor 90 and the reception motor 92 are stepping motors. The transmission motor 90 drives the document feeding roller 94 and the pressure contact roller 96 shown in FIG. The reception motor 92 sends out a facsimile paper or recording paper (not shown).

【0039】画処理回路98は、CIS100からの
「1」または「0」として出力されるビットイメージデ
ータを受け取る中間調処理回路を含む。尚、この中間調
処理回路では、例えばディザ法等にに従ってCIS10
0のスライスレベルを変更する。
The image processing circuit 98 includes a halftone processing circuit that receives the bit image data output as "1" or "0" from the CIS 100. In this halftone processing circuit, the CIS 10 is used in accordance with, for example, the dither method.
Change the slice level of 0.

【0040】符号化回路102は、CIS100からの
1ライン分のデータをMH(Modified Haffmann)コード
に変換し、それをSRAM76に与える。従って、この
SRAM76にはCIS100からの1ライン分のデー
タのMHコードが1ライン毎に格納される。そして、こ
のMHコードは、CPU60によりフィル符号が付加さ
れた後、FIFO方式でモデム104に供給される。
The encoding circuit 102 converts the data for one line from the CIS 100 into an MH (Modified Haffmann) code and supplies it to the SRAM 76. Therefore, the MH code of the data for one line from the CIS 100 is stored in the SRAM 76 for each line. Then, the MH code is supplied to the modem 104 by the FIFO method after the fill code is added by the CPU 60.

【0041】尚、第1原稿センサ106及び第2原稿セ
ンサ108は、図10に示すように、原稿送りローラ9
4を挟む位置に配される。第1原稿センサ106は、原
稿送りローラ94の位置に原稿が送られてきたこと、即
ち原稿の存在を検出する。また、第2原稿センサ108
は、CIS100の位置に原稿が送られてきたこと、即
ち原稿が読取位置に達したことを検出する。これらセン
サ106及び108は、センサI/Oポート140を介
してバス62に接続される。
The first document sensor 106 and the second document sensor 108 are, as shown in FIG.
It is arranged at a position sandwiching 4. The first document sensor 106 detects that the document has been fed to the position of the document feed roller 94, that is, the presence of the document. In addition, the second document sensor 108
Detects that the document has been sent to the position of CIS 100, that is, that the document has reached the reading position. These sensors 106 and 108 are connected to the bus 62 via the sensor I / O port 140.

【0042】モデム104は、DTMF発生回路110
を含み、CPU60からの指示に従ったモードでDTM
F信号を出力する。モデム104は、更に、音声応答回
路112を含み、この音声応答回路112は、NCU1
14によって電話回線L1、L2を捕捉したときに発呼
側に返す例えば「お待ち下さい」などの音声データをメ
ッセージデータ領域64c(図4)のデータに従って返
送する。尚、モデム104は、当然、変復調回路を含
む。
The modem 104 has a DTMF generating circuit 110.
DTM in the mode including the
Output F signal. The modem 104 further includes a voice response circuit 112, which is NCU1.
When the telephone lines L1 and L2 are captured by 14, the voice data such as "please wait" returned to the calling side is returned according to the data in the message data area 64c (FIG. 4). The modem 104 naturally includes a modulation / demodulation circuit.

【0043】NCU114の詳細を図11に示す。図1
1を参照して、電話回線L1及びL2は、CMLスイッ
チを介してトランス116に接続される。従って、CM
Lスイッチは電話回線L1およびL2をトランス116
を介してモデム104に接続するか、スピーチネットワ
ーク118を介してハンドセット56に接続するかを切
り換える。
Details of the NCU 114 are shown in FIG. Figure 1
1, the telephone lines L1 and L2 are connected to the transformer 116 via the CML switch. Therefore, CM
The L switch connects the telephone lines L1 and L2 to the transformer 116.
To connect to the modem 104 or to the handset 56 via the speech network 118.

【0044】待機状態では、CMLスイッチはハンドセ
ット56側に切り換えられていて、リンガ信号(16H
z)が回線L1、L2から出力されると、コンデンサ及
び抵抗を介してトランス116にリンガ信号が与えられ
る。従って、着信検出回路120がリンガ信号を検出
し、NCU制御I/Oポート130を介してCPU60
に着信を知らせる。
In the standby state, the CML switch is switched to the handset 56 side, and the ringer signal (16H
When z) is output from the lines L1 and L2, the ringer signal is given to the transformer 116 via the capacitor and the resistor. Therefore, the incoming call detection circuit 120 detects the ringer signal, and the CPU 60 passes through the NCU control I / O port 130.
Notify the incoming call.

【0045】CPU60は、着信検出回路120からの
着信信号が与えられると、リレードライブ回路122を
介してCMLスイッチをトランス116側に切り換え
る。応じて、モデム104−トランス116−CMLス
イッチ−L1、L2のラインが形成され、先に述べた
「音声応答」が行われ、あるいは発呼側からのファック
ス識別信号、即ちCNG信号(1100Hz、0.5秒
オン、3秒オフ)を検出する。従って、このNCU11
4は、発呼側にファックス信号(例えばNSF、CS
I、DIS)を返送する。そして、発呼側がこのような
ファックス信号を受けると、例えばNSS(またはTS
I)の信号を返送し、2つのファックス間での機能の確
認が行われる。その後、トレーニングモードが実行さ
れ、モデム104の機能の確認が行われる。即ち、まず
9600ボーでデータが送信され、次いで7200ボ
ー、4800ボーそして2400ボーで順次データが送
信され、2つのファックスの間でデータの授受が可能な
通信速度を設定する。そして、NCU114からCFR
信号を発呼側に返し、それに応じて発呼側からファック
スイメージ信号が回線L1、L2を介して送られる。
When the incoming signal from the incoming detection circuit 120 is given, the CPU 60 switches the CML switch to the transformer 116 side via the relay drive circuit 122. In response, the line of the modem 104-transformer 116-CML switch-L1, L2 is formed and the above-mentioned "voice response" is performed, or the fax identification signal from the calling side, that is, the CNG signal (1100 Hz, 0). .5 seconds on, 3 seconds off). Therefore, this NCU11
4 is a fax signal (for example, NSF, CS) to the calling side.
I, DIS) is returned. When the calling party receives such a fax signal, for example, NSS (or TS)
The signal of I) is sent back and the function is confirmed between the two fax machines. Then, the training mode is executed and the function of the modem 104 is confirmed. That is, data is first transmitted at 9600 baud, then sequentially at 7200 baud, 4800 baud, and 2400 baud to set a communication speed at which data can be exchanged between two faxes. And from NCU114 to CFR
The signal is returned to the calling side, and in response, the fax image signal is sent from the calling side via the lines L1 and L2.

【0046】尚、上述の各信号(NSF、CSI、DI
S、・・・、CFR等)は、CPU60によってその信号
を構成した後モデム104に対してその送信を指示す
る。
The above signals (NSF, CSI, DI
(S, ..., CFR, etc.) configures the signal by the CPU 60 and then instructs the modem 104 to transmit the signal.

【0047】ファックス送信時において、例えばテンキ
ー16(図2)によって宛先情報が入力され、スタート
キー54が操作されると、CPU60によってCMLス
イッチがトランス116側すなわちモデム104側に切
り換わる。その後、3秒間回線の捕捉を確認する。そし
て、CPU60は、回線の確立を確認すると、DP制御
回路124に信号を与える。応じて、DP制御回路12
4がDPスイッチをダイヤルバッファ70(図6)にス
トアされたキャラクタコードに従ってオンまたはオフす
ることによって、回線L1、L2に発呼信号を与える。
続いて、CPU60の指令に応答して、モデム104が
CNG信号をトランス116及び回線L1、L2を介し
て出力する。その後は先に述べたファクシミリ受信動作
の逆である。
At the time of fax transmission, for example, when the destination information is input by the ten keys 16 (FIG. 2) and the start key 54 is operated, the CPU 60 switches the CML switch to the transformer 116 side, that is, the modem 104 side. Then, confirm the line capture for 3 seconds. Then, when confirming the establishment of the line, the CPU 60 gives a signal to the DP control circuit 124. Accordingly, the DP control circuit 12
4 turns on or off the DP switch according to the character code stored in the dial buffer 70 (FIG. 6) to give a calling signal to the lines L1 and L2.
Then, in response to a command from the CPU 60, the modem 104 outputs the CNG signal via the transformer 116 and the lines L1 and L2. After that, the operation is the reverse of the facsimile receiving operation described above.

【0048】また、電話発呼の場合、ハンドセット56
を取り上げると、フックスイッチHSがオン(メイク)
される。従って、回線L1、L2からトーン信号がCM
Lスイッチを介してハンドセット56で聞こえる。一
方、フックスイッチ検出回路126はこのオンフック状
態を検出し、オンフック信号をCPU60に与える。こ
れに応答して、CPU60は宛先情報が入力されている
ことおよびフックスイッチHSがオンされていることを
条件に、CMLスイッチをトランス116側に切り換え
る。従って、DP制御回路124がDPスイッチをオン
またはオフ制御し、発呼する。その後、一定時間いずれ
のキーも押されなかったことを条件として、CMLスイ
ッチをフックスイッチHS側に切り換え、ハンドセット
56での通話を可能にする。
In the case of telephone call, the handset 56
, The hook switch HS turns on (make)
To be done. Therefore, the tone signal from the lines L1 and L2 is CM.
Hear on handset 56 via the L switch. On the other hand, the hook switch detection circuit 126 detects this on-hook state and gives an on-hook signal to the CPU 60. In response to this, the CPU 60 switches the CML switch to the transformer 116 side on condition that the destination information is input and the hook switch HS is turned on. Therefore, the DP control circuit 124 controls the DP switch to be turned on or off to make a call. After that, the CML switch is switched to the hook switch HS side on condition that none of the keys is pressed for a certain period of time, so that the handset 56 can talk.

【0049】尚、このようなNCU116の詳細な構成
及び動作は既によく知られたところでありかつ重要では
ないので省略する。但し、図11に示すスピーカ128
は、図1に示すようにハウジング12の側面に設けら
れ、NCU制御I/Oポート130からの信号に応じ
て、スピーカドライブ回路132がスイッチ134をオ
ンしたとき、スピーカ128から音声メッセージを出力
することができる。
The detailed structure and operation of the NCU 116 are already well known and are not important, and therefore will be omitted. However, the speaker 128 shown in FIG.
Is provided on the side surface of the housing 12 as shown in FIG. 1, and outputs a voice message from the speaker 128 when the speaker drive circuit 132 turns on the switch 134 in response to a signal from the NCU control I / O port 130. be able to.

【0050】図3に戻って、LED制御回路150は、
CPU60の制御の下にテガキキー59に内蔵されたL
ED152の点灯を制御する。
Returning to FIG. 3, the LED control circuit 150 is
Under the control of the CPU 60, the L built in the digital key 59
The lighting of the ED 152 is controlled.

【0051】次に、図12以降のフロー図を参照して、
上述の実施例の動作について説明する。
Next, referring to the flow charts of FIG.
The operation of the above embodiment will be described.

【0052】図12は動作の概略を示すフロー図であ
る。電源が投入されると、最初のステップS1において
CPU60は初期化を実行するとともに、操作パネル1
4の各キーの操作をチェックする。次のステップS2で
は、CPU60は、送信原稿上に手書きされた宛先情報
の自動的に認識するかどうかをチェックする。従って、
このステップS2において宛先情報を認識すべきである
と判断した場合には、次のS3ステップにおいて、送信
原稿上の宛先情報の有無をチェックすると共にその宛先
情報が記入されている場合には、宛先情報のイメージデ
ータをラインバッファ68に取り込む。そして、ステッ
プS4において、手書きされた宛先情報の各文字パター
ンデータを切り出すとともに、ステップS5において切
り出された文字を認識する。ステップS5で認識された
宛先情報に従って、ステップS6では送信処理が行われ
る。
FIG. 12 is a flow chart showing the outline of the operation. When the power is turned on, the CPU 60 executes initialization in the first step S1 and also the operation panel 1
Check the operation of each key of 4. In the next step S2, the CPU 60 checks whether or not the destination information handwritten on the transmission document is automatically recognized. Therefore,
If it is determined in step S2 that the destination information should be recognized, in the next step S3, the presence or absence of the destination information on the transmission document is checked, and if the destination information is entered, the destination information is entered. The image data of information is taken into the line buffer 68. Then, in step S4, the character pattern data of the handwritten destination information is cut out, and the characters cut out in step S5 are recognized. Transmission processing is performed in step S6 according to the destination information recognized in step S5.

【0053】図12の最初のステップS1を図13に詳
細に示す。図13の最初のステップS100では、CP
U60は、SRAM76のフラッグ領域76b中の自動
認識フラッグRFに「0」を、また記入ガイドフラッグ
GFに「1」をそれぞれセットする。続くステップS1
01では、RF=1か否かを判定し、RF=1の場合は
ステップS102でLED152を点灯する。一方、R
F=0と判定するとステップS103においてLED1
52を消灯する。即ち、ステップS101〜S103で
は、CPU60がRF=1とき、つまり自動認識モード
が選択されているときのみ、LED制御回路150を駆
動しLED152を点灯する。
The first step S1 of FIG. 12 is shown in detail in FIG. In the first step S100 of FIG.
The U60 sets "0" in the automatic recognition flag RF and "1" in the entry guide flag GF in the flag area 76b of the SRAM 76, respectively. Continuing step S1
In 01, it is determined whether RF = 1. If RF = 1, the LED 152 is turned on in step S102. On the other hand, R
If it is determined that F = 0, then in step S103 the LED1
Turn off 52. That is, in steps S101 to S103, the LED 60 is driven and the LED 152 is turned on only when the CPU 60 has RF = 1, that is, when the automatic recognition mode is selected.

【0054】ステップS104では、CPU60は、S
RAM76のフラッグ領域76b中の確認プリントフラ
ッグCPFと自動認識移行可否フラッグCAFとを共に
「0」にリセットする。続くステップS105では、C
PU60は原稿が挿入されたかどうかを判断する。即
ち、このステップS105では、CPU60は第1原稿
センサ106(図10)からの検出信号があるか否かを
判断する。原稿挿入検出信号が第1原稿センサ106か
ら得られないときステップS106において、CPU6
0は先読みフラッグSF及びエラーフラッグEFをそれ
ぞれクリアする。そして、次のステップS107におい
て、操作パネル14上のテガキキー59が操作されたか
否かを判断する。操作されていないと判断すると、ステ
ップS108ステップにおいてその他のキーの操作をチ
ェックし、操作されたキーに応じた処理を行なう。例え
ば、図6に示すメモリスイッチ領域76aの各メモリス
イッチの設定、ワンタッチダイヤル登録や短縮ダイヤル
登録などの処理を行なう。ステップS108の処理が終
了するとCPU60は処理をステップS101に戻す。
In step S104, the CPU 60 executes S
Both the confirmation print flag CPF and the automatic recognition transfer availability flag CAF in the flag area 76b of the RAM 76 are reset to "0". In the following step S105, C
PU 60 determines whether or not a document has been inserted. That is, in step S105, the CPU 60 determines whether or not there is a detection signal from the first document sensor 106 (FIG. 10). When the document insertion detection signal is not obtained from the first document sensor 106, in step S106, the CPU 6
0 clears the look-ahead flag SF and the error flag EF, respectively. Then, in the next step S107, it is determined whether or not the marking key 59 on the operation panel 14 has been operated. If it is determined that the key has not been operated, the operation of other keys is checked in step S108, and the processing corresponding to the operated key is performed. For example, processing such as setting of each memory switch in the memory switch area 76a shown in FIG. 6 and one-touch dial registration or speed dial registration is performed. When the process of step S108 ends, the CPU 60 returns the process to step S101.

【0055】一方、ステップS107ステップにおい
て、テガキキー59が操作されたと判定すると、CPU
60は図14にその詳細を示すステップS108の処理
を行なう。即ち、ステップS180において自動認識フ
ラッグRFが「0」か否かを判定し、「0」でないと判
定すると、ステップS181においてRFを「0」に変
更した後ステップS101に処理を戻す。また、ステッ
プS180においてRFが「0」であると判定すると、
CPU60はステップS182においてRFに「1」を
セットした後、次のステップS183において記入ガイ
ドフラッグGFが「1」か否かを判定し、「1」でない
ときには直ちにステップS101に処理を戻す。一方、
GFが「1」であるときには、ステップS184におい
て図7に示す記入ガイドをプリントする。即ち、ステッ
プS184では、CPU60は、予めROM64に格納
されている記入ガイドのイメージデータを読み出し、こ
れを記録制御回路82に渡すことにより記録紙上に図7
に示すような記入ガイドを印字する。続くステップS1
85では、CPU60は、ステップS184実行時に操
作パネル14上の停止キー52が操作されたか否かを判
定し、操作されていた際にはステップS186において
記入ガイドフラッグGFを「0」にリセットした後ステ
ップS101に処理を戻す。
On the other hand, if it is determined in step S107 that the back key 59 has been operated, the CPU
60 performs the process of step S108 whose details are shown in FIG. That is, in step S180, it is determined whether or not the automatic recognition flag RF is "0", and if it is determined that it is not "0", the RF is changed to "0" in step S181 and the process is returned to step S101. If it is determined that RF is “0” in step S180,
After setting RF to "1" in step S182, the CPU 60 determines whether the writing guide flag GF is "1" in the next step S183, and immediately returns the process to step S101 if it is not "1". on the other hand,
When GF is "1", the entry guide shown in FIG. 7 is printed in step S184. That is, in step S184, the CPU 60 reads out the image data of the entry guide stored in advance in the ROM 64, and transfers this to the recording control circuit 82, so that the image is recorded on the recording paper.
Print the entry guide as shown in. Continuing step S1
At 85, the CPU 60 determines whether or not the stop key 52 on the operation panel 14 has been operated at the time of executing step S184, and if so, after resetting the entry guide flag GF to "0" at step S186. The process is returned to step S101.

【0056】即ち、電源投入後、原稿が挿入されない状
態でテガキキー59が操作されると、その操作に応じて
自動認識フラッグRFがON(「1」)−OFF
(「0」)し、それに応答してLED152が点灯、消
灯を繰り返す。またこの自動認識フラッグRFがOFF
からONに変化した際に記入ガイドフラッグGFが
「1」であるとこの変更のたびに記入ガイドが印字され
る。また、記入ガイドフラッグGFは上述の記入ガイド
印字中に停止キー52が操作されると「0」となり、そ
の状態では自動認識フラッグRFがOFFからONに変
更されても記入ガイドは印字されない。従って、記入ガ
イドの印字の可否をオペレータに選択させることができ
る。尚、記入ガイドフラッグGFの「0」から「1」へ
の変更は、電源を一旦切った後、再び投入してステップ
S100を実行する以外には行えないので、記入ガイド
フラッグGFを一旦「0」にすることにより、それ以後
の記入ガイド印字による記録紙の浪費を防止できる。
In other words, after the power is turned on, when the dakigaki key 59 is operated in a state where no original is inserted, the automatic recognition flag RF is turned on ("1")-OFF in response to the operation.
(“0”), and in response thereto, the LED 152 is repeatedly turned on and off. Also, this automatic recognition flag RF is OFF
If the entry guide flag GF is "1" when the input is changed from ON to ON, the entry guide is printed every time the change is made. Further, the entry guide flag GF becomes "0" when the stop key 52 is operated during the above-mentioned entry guide printing, and in that state, the entry guide is not printed even if the automatic recognition flag RF is changed from OFF to ON. Therefore, the operator can select whether to print the entry guide. Note that the writing guide flag GF can be changed from "0" to "1" only after the power is turned off and then turned on again to execute step S100. Therefore, the writing guide flag GF is temporarily changed to "0". By setting "," it is possible to prevent the recording sheet from being wasted due to subsequent printing of the entry guide.

【0057】ステップS105に戻って、このステップ
においてCPU60が第1原稿センサ106からの原稿
検出信号を受け取ると、ステップS110に進み、原稿
がCIS100の読取位置まで送られたかどうかを判断
する。即ち、このステップS110では、CPU60
は、第2原稿センサ108からの原稿検出信号があるか
どうかを判断する。第2原稿センサ108からの原稿検
出信号がないときには、ステップS111において、C
PU60はモータ制御回路88に対して送信モータ90
を駆動するための指令信号を送る。これに応じて、送信
モータ90が駆動される。即ち、ステップS111では
CPU60からの指令に応じて、モータ制御回路88が
送信モータを励磁する。従って、原稿が原稿送りローラ
94によって送られる。そして、ステップS110にお
いて第2原稿センサ108が原稿を検出するまで、この
ステップS111が実行される。
Returning to step S105, when the CPU 60 receives the document detection signal from the first document sensor 106 in this step, the process proceeds to step S110, and it is determined whether the document has been sent to the reading position of the CIS 100. That is, in this step S110, the CPU 60
Determines whether there is a document detection signal from the second document sensor 108. When there is no document detection signal from the second document sensor 108, in step S111, C
The PU 60 sends a motor 90 to the motor control circuit 88.
Sends a command signal for driving. In response to this, the transmission motor 90 is driven. That is, in step S111, the motor control circuit 88 excites the transmission motor in response to a command from the CPU 60. Therefore, the document is fed by the document feed roller 94. Then, this step S111 is executed until the second document sensor 108 detects the document in step S110.

【0058】そして、原稿が原稿読取位置に送られる
と、ステップS112において、CPU60はモータ制
御回路88に指令信号を与え、その指令信号に応じてモ
ータ制御回路88は送信モータ90を停止する。
When the document is sent to the document reading position, the CPU 60 gives a command signal to the motor control circuit 88 in step S112, and the motor control circuit 88 stops the transmission motor 90 in response to the command signal.

【0059】続くステップS113では、CPU60
は、NCU制御I/Oポート130からの信号に基づい
て、ハンドセット56がオフフック状態にあるかどうか
を判断する。つまり、原稿がCIS100の読取位置に
まで送られたときに、オフフック状態となれば、先に説
明した通話処理を行う。即ち、ステップS112の状態
でオフフック状態にされたということは、オペレータは
電話を使用することを意味し、この場合には、CPU6
0はステップS114でまずLED152を消灯すべく
LED制御回路150を制御した後、ステップS115
において通話処理を行う。ステップS113で、オフフ
ック状態ではないと判断されると、ファクシミリ送信を
処理すべきあることを意味する。従って、この場合に
は、図12のステップS2、つまり図15のステップS
200に進む。
In the following step S113, the CPU 60
Determines whether the handset 56 is off-hook based on the signal from the NCU control I / O port 130. That is, when the original is sent to the reading position of the CIS 100 and if it goes into the off-hook state, the above-described call processing is performed. That is, being in the off-hook state in step S112 means that the operator uses the telephone. In this case, the CPU 6
0 first controls the LED control circuit 150 to turn off the LED 152 in step S114, and then, in step S115.
Call processing is performed in. If it is determined in step S113 that the device is not in the off-hook state, it means that the facsimile transmission should be processed. Therefore, in this case, step S2 of FIG. 12, that is, step S2 of FIG.
Proceed to 200.

【0060】図15の最初のステップS200では、C
PU60は、SRAM76のフラッグ領域76bを参照
して、先読みフラッグSFがセットされているかどうか
を判断する。このステップS200において”YES”
と判断されるということは、既に原稿がセットされてい
て、その原稿上に記入された宛先情報が正しく認識さ
れ、ダイヤルバッファ70(図6)に宛先情報の各文字
のキャラクタコードセットされていることを意味する。
従って、この場合には、ステップS201においてLE
D152を消灯した後、送信処理(ステップS6)に移
る。
In the first step S200 of FIG. 15, C
The PU 60 refers to the flag area 76b of the SRAM 76 and determines whether or not the prefetch flag SF is set. "YES" in this step S200.
This means that the original has already been set, the destination information written on the original is correctly recognized, and the character code of each character of the destination information is set in the dial buffer 70 (FIG. 6). Means that.
Therefore, in this case, in step S201, LE
After turning off D152, the process moves to the transmission process (step S6).

【0061】そして、先読みフラッグSFがセットされ
ていない場合には、CPU60はステップS202にお
いてSRAM76のフラッグ領域76bを参照して、自
動認識フラッグRFの設定が「0」であるか否かを判断
する。即ち、ステップS202では、CPU60は、原
稿に記入された宛先情報を認識して、その認識結果に応
じて自動的に発呼処理を行なう自動発信モードが設定さ
れているかどうかを判断する。従って、このステップS
202において”NO”と判断されると、手動送信モー
ドであるので、ステップS203において自動認識可否
フラッグCAFを「1」にセットした後ステップS80
0に進む。一方、自動送信モードが設定されている場合
には、処理を図12のステップS3すなわち図16のス
テップS300に進める。
If the prefetch flag SF is not set, the CPU 60 refers to the flag area 76b of the SRAM 76 in step S202 to determine whether the setting of the automatic recognition flag RF is "0". . That is, in step S202, CPU 60 recognizes the destination information written on the original document and determines whether or not the automatic transmission mode for automatically executing the calling process is set according to the recognition result. Therefore, this step S
If "NO" is determined in 202, it means that the mode is the manual transmission mode. Therefore, in step S203, the automatic recognition enable / disable flag CAF is set to "1", and then in step S80.
Go to 0. On the other hand, if the automatic transmission mode is set, the process proceeds to step S3 of FIG. 12, that is, step S300 of FIG.

【0062】図16の最初のステップS300では、C
PU60は、LED152を点滅すべくLED制御回路
150を制御した後、ステップS301において、CP
U60は表示I/Oポート136(図3)を制御して、
LCD36にメッセージを表示する。即ち、このステッ
プS301では、CPU60は、ROM64のメッセー
ジデータ領域64cから「バンゴウヨミトリチュウ」の
メッセージデータを取り出し、それを表示I/Oポート
136に与える。この結果、LCD36において、この
メッセージが表示される。尚、このステップS301に
おいて、LCD36による可視的表示とともに、スピー
カ128を用いてメッセージを可聴的に表示するように
しても良い。
In the first step S300 of FIG. 16, C
After the PU 60 controls the LED control circuit 150 to blink the LED 152, in step S301, the CP 60
U60 controls the display I / O port 136 (Fig. 3),
A message is displayed on the LCD 36. That is, in this step S301, the CPU 60 takes out the message data of "Bangou Yomitorichu" from the message data area 64c of the ROM 64 and gives it to the display I / O port 136. As a result, this message is displayed on the LCD 36. In this step S301, the message may be audibly displayed using the speaker 128 together with the visual display on the LCD 36.

【0063】続くステップS302では、CPU60
は、SRAM76のカウンタ,ポインタ及び変数領域7
6cにおける各変数を初期化する。即ち、原稿送りカウ
ンタPCNTを初期値「1」に設定する。この原稿送り
カウンタPCNTは、送信モータ90によって原稿が副
走査方向に1ライン送られる毎にインクリメントされる
ものであり、従ってこの原稿送りカウンタPCNTを参
照することによって、手書き宛先情報を記入している領
域の最終ラインの位置ないしライン番号を判断すること
ができる。書込ラインカウンタLCNTには初期値とし
て「2」がセットされる。この書込ラインカウンタLC
NTは、ラインバッファ68(図8)に1ライン分のデ
ータが書き込まれる毎にインクリメントされる。尚、書
込ラインカウンタLCNTに初期値として「2」をセッ
トする理由は、図8に示すようにラインバッファ68の
第1ラインには手書き宛先情報を読み取ったイメージデ
ータを書き込まないようにするためである。また、この
書込ラインカウンタLCNTを参照することにより、ラ
インバッファ68に書き込まれたイメージデータの最終
書き込みライン位置が分かる。
In the following step S302, the CPU 60
Is a counter, pointer and variable area 7 of the SRAM 76.
Initialize each variable in 6c. That is, the original feeding counter PCNT is set to the initial value "1". The original feed counter PCNT is incremented each time the original is fed by the transmission motor 90 by one line in the sub-scanning direction. Therefore, by referring to the original feed counter PCNT, handwritten address information is entered. The position or line number of the last line in the area can be determined. The write line counter LCNT is set to "2" as an initial value. This write line counter LC
NT is incremented every time one line of data is written in the line buffer 68 (FIG. 8). The reason why the write line counter LCNT is set to "2" as an initial value is that the image data obtained by reading the handwritten destination information is not written in the first line of the line buffer 68 as shown in FIG. Is. Further, by referring to the write line counter LCNT, the final write line position of the image data written in the line buffer 68 can be known.

【0064】ステップS302では、さらに、カラムカ
ウンタCCNTが全て「0」にされる。先に説明したよ
うに、ラインバッファ68の第1カラムから第2048
カラムのそれぞれについてカラムカウンタ1CCNTか
ら2048CCNTが個別に設けられていて、そのカラ
ムカウンタ1CCNT〜2048CCNTによって各カ
ラム毎のX方向のヒストグラムを作成する。即ち、カラ
ムカウンタ1CCNT〜2048CCNTは、ラインバ
ッファ68の各カラム毎の黒ドット数をカウントするも
のであるため、ステップS302では、これら全てのカ
ラムカウンタCCNTに「0」を設定する。
In step S302, all column counters CCNT are set to "0". As described above, from the first column to the 2048th column of the line buffer 68.
Column counters 1CCNT to 2048CCNT are individually provided for each column, and a histogram in the X direction for each column is created by the column counters 1CCNT to 2048CCNT. That is, since the column counters 1CCNT to 2048CCNT count the number of black dots in each column of the line buffer 68, "0" is set in all the column counters CCNT in step S302.

【0065】そして、ステップS302では、さらに、
有効ラインカウンタBCNTに「0」の初期値を設定す
る。有効ラインカウンタBCNTは、ノイズ処理のため
に用いられるものである。即ち、1ライン中に連続する
2以上の黒ドットがあれば、そのラインは手書き宛先情
報が記入されている有効ラインであると判断する。これ
に対して、1ライン中に連続した黒ドットが存在しない
場合には、その1ドットだけの黒ドットは原稿の汚れや
ゴミによるものと認識し、そのラインは有効ラインとは
見做さない。そして、このような有効ラインの連続数を
カウントするのが有効ラインカウンタBCNTである。
即ち、有効ラインが連続して15ライン(ファインモー
ドで読み取る場合、これは原稿上において2mmの長さ
に相当)にならなければ、有効な宛先情報が記入されて
いないものと判断する。このような判断のために有効ラ
インカウンタBCNTが用いられる。つまり、この有効
ラインカウンタBCNTのカウント値が「15」を超え
ない限り、手書き宛先情報の認識は行わない。換言すれ
ば、原稿上において副走査方向のサイズが2mm以下の
宛先情報の文字は認識の対象から除外する。
Then, in step S302,
The valid line counter BCNT is set to an initial value of "0". The effective line counter BCNT is used for noise processing. That is, if there are two or more continuous black dots in one line, it is determined that the line is an effective line in which handwritten destination information is written. On the other hand, when there are no continuous black dots in one line, it is recognized that the one black dot is due to dirt or dust on the document, and the line is not regarded as an effective line. . The effective line counter BCNT counts the number of continuous effective lines.
That is, if the effective line does not reach 15 lines continuously (when reading in the fine mode, this corresponds to a length of 2 mm on the document), it is determined that the effective destination information is not entered. The effective line counter BCNT is used for such determination. That is, unless the count value of the activated line counter BCNT exceeds "15", the handwritten address information is not recognized. In other words, the characters of the destination information whose size in the sub-scanning direction is 2 mm or less on the document are excluded from the recognition target.

【0066】ステップS302ステップでは、さらに、
全白ラインカウンタWCNTが「0」に設定される。こ
の全白ラインカウンタWCNTは図8に示すラインバッ
ファ68の最後の3つの全白ラインを検出するために用
いられる。つまり、ラインバッファ68において3つの
全白ラインが連続して格納されたとき、手書き宛先情報
の記入領域の終了を判断する。つまり、この全白ライン
カウンタWCNTは、手書き宛先情報の最後のライン即
ち終了ラインを検出するために用いられる。
In step S302, further,
The all-white line counter WCNT is set to "0". The all-white line counter WCNT is used to detect the last three all-white lines of the line buffer 68 shown in FIG. That is, when three all-white lines are continuously stored in the line buffer 68, the end of the writing area of the handwritten address information is determined. That is, the all-white line counter WCNT is used to detect the last line of the handwritten destination information, that is, the end line.

【0067】ステップS302ステップでは、さらに、
フラッグ領域76a(図6)の有効イメージ領域フラッ
グAFがリセットされる。このフラッグAFは、CIS
100が手書き宛先情報を記入した領域を読み取ってい
るかどうかを表すフラッグであり、その領域を読み取っ
ているときには「1」にセットされ、それ以外のときに
は「0」にリセットされる。
In step S302,
The effective image area flag AF of the flag area 76a (FIG. 6) is reset. This flag AF is CIS
A flag 100 indicates whether or not the area in which the handwritten address information is written is being read, and is set to "1" when the area is being read, and is reset to "0" otherwise.

【0068】図16の次のステップS303では、CP
U60は、CIS100及び送信モータ90を含む読取
系をセットアップする。即ち、このステップS303で
は、CPU60は、モータ制御回路88に指令信号を与
え、送信モータ90を駆動するとともに、CIS100
及び画処理回路98をファインモードに設定する。つま
り、手書き宛先情報を認識する場合には、オペレータが
画質選択キー44で設定したモードの如何にかかわら
ず、このステップS302ではファインモードを強制的
に設定する。
In step S303 following FIG. 16, CP
U60 sets up the reading system including CIS 100 and transmit motor 90. That is, in this step S303, the CPU 60 gives a command signal to the motor control circuit 88 to drive the transmission motor 90, and at the same time, the CIS 100
And the image processing circuit 98 is set to the fine mode. That is, when recognizing the handwriting destination information, the fine mode is forcibly set in step S302 regardless of the mode set by the operator using the image quality selection key 44.

【0069】そして、次のステップS304において、
CIS100からのイメージデータをラインバッファ6
8の書込ラインカウンタLCNTによって指定されたラ
インに書き込む。最初のラインであれば、CIS100
からのイメージデータはラインバッファ68の第2ライ
ンに書き込まれることとなる。尚、このステップS30
4におけるラインバッファ68へのイメージデータの書
き込みは、実際にはDMAに従って実行されるので、C
PU60は、ラインバッファ68のアドレスとイメージ
データのデータ長とをDMA回路86(図3)に指示す
るだけでよい。それにより、CIS100からの1ライ
ン分のイメージデータがラインバッファ68に書き込ま
れる。
Then, in the next step S304,
Image data from CIS100 is line buffer 6
Write to the line designated by the write line counter LCNT of 8. If it is the first line, CIS100
The image data from is written in the second line of the line buffer 68. Incidentally, this step S30
Since the writing of the image data to the line buffer 68 in 4 is actually executed according to the DMA, C
The PU 60 need only instruct the DMA circuit 86 (FIG. 3) about the address of the line buffer 68 and the data length of the image data. As a result, the image data for one line from the CIS 100 is written in the line buffer 68.

【0070】続くステップS305では、CPU60
は、入力I/Oポート134からの信号を参照して、停
止/クリアキー52(図2)が操作されたかどうかを判
断する。この段階で停止/クリアキー52が操作された
ということは、例えば(1)オペレータは原稿をコピーし
ようとしていたのに宛先情報の読取動作に入ってしまっ
た場合や(2)原稿が正常に送られなかった場合などを意
味し、停止/クリアキー52の操作に応答して原稿を排
出する。そのためにこのステップS305において”Y
ES”と判断された場合、ステップS306に処理を進
め、原稿を排出し、その後ステップS307において読
取系を停止すると共にLED152を消灯し、処理をス
テップS101に戻す。
In the following step S305, the CPU 60
Refers to the signal from the input I / O port 134 to determine whether the stop / clear key 52 (FIG. 2) has been operated. The operation of the stop / clear key 52 at this stage means that, for example, (1) the operator was trying to copy a document but started reading address information, or (2) the document was sent normally. The original is discharged in response to the operation of the stop / clear key 52. Therefore, in this step S305, "Y
When it is determined to be “ES”, the process proceeds to step S306, the document is discharged, and then the reading system is stopped and the LED 152 is turned off in step S307, and the process returns to step S101.

【0071】一方、ステップS305において”NO”
と判断された場合、CPU60は、ステップS308に
おいて送信モータ90を駆動してファインモードで1ラ
イン分(約0.13mm)だけ原稿を送る。そして、次
のステップS309において、原稿送りカウンタPCN
Tをインクリメントする。
On the other hand, in step S305, "NO".
If it is determined that the CPU 60 drives the transmission motor 90 in step S308, the CPU 60 feeds the original by one line (about 0.13 mm) in the fine mode. Then, in the next step S309, the document feed counter PCN
Increment T.

【0072】続くステップS310では、先のステップ
S304でラインバッファ68に格納された1ライン分
のイメージデータにおいて、2以上連続する黒ドットが
あるかどうか、即ち先に読み取った1ラインが有効ライ
ンかどうかを判断する。具体的には、CPU60は、ラ
インバッファ68の2048カラムのうち最初の5バイ
ト(原稿上では約5mm)のデータを除いて、ラインバ
ッファ68の第40カラムから2048カラムまでの2
00バイト分(原稿上では約200mm)のイメージデ
ータをラインバッファから読み出す。尚、ラインバッフ
ァ68の最初の5バイトのイメージデータを読み出さな
い理由は、その範囲で原稿のエッジを検出してしまう可
能性があるので、その可能性を排除するためである。
In the following step S310, it is determined whether or not there are two or more continuous black dots in the image data for one line stored in the line buffer 68 in the previous step S304, that is, whether the one line previously read is a valid line. Determine whether Specifically, the CPU 60 removes the first 5 bytes (about 5 mm on the original) of the 2048 columns of the line buffer 68 from the 40th column to the 2048th column of the line buffer 68.
The image data of 00 bytes (about 200 mm on the original) is read from the line buffer. The reason why the first 5 bytes of the image data in the line buffer 68 is not read is to eliminate the possibility that the edge of the document may be detected in that range.

【0073】そして、CPU60は、ラインバッファ6
8から読み出した200バイト分のイメージデータをア
キュムレータに取り込む。このとき、まず1バイトを読
み出し、その1バイトのイメージデータと次のバイトの
イメージデータの最上位ビットとの合計9ビットで黒ド
ットの連続性を判断する。即ち、各バイト毎に単独で黒
ドットの連続性を判断すると、先行のバイトの最下位ビ
ットと後続のバイトの最上位ビットとが連続して黒ドッ
トであった場合でも、黒ドットが連続していると判断で
きないことがある。そのために、次のバイトのイメージ
データの最上位ビットを含めて合計9ビットで黒の連続
性を判断するのである。具体的には、CPU60は、ア
キュムレータの内容をチェックして、2以上のビットで
連続する「1」があるかどうかを判断する。このように
して、ステップS310では、CPU60は先にライン
バッファ68に読み込んだイメージデータが有効ライン
であるかどうかを判断する。
Then, the CPU 60 makes the line buffer 6
The image data of 200 bytes read out from No. 8 is taken into the accumulator. At this time, first, one byte is read out, and the continuity of black dots is determined by a total of 9 bits of the 1-byte image data and the most significant bit of the image data of the next byte. That is, if the continuity of black dots is judged for each byte independently, even if the least significant bit of the preceding byte and the most significant bit of the following byte are consecutive black dots, the consecutive black dots continue. It may not be possible to determine that For this reason, the continuity of black is determined by a total of 9 bits including the most significant bit of the image data of the next byte. Specifically, the CPU 60 checks the contents of the accumulator and determines whether or not there are consecutive "1" s with two or more bits. Thus, in step S310, the CPU 60 determines whether the image data previously read into the line buffer 68 is a valid line.

【0074】一方、ステップS310において、”N
O”と判断されると、ステップS311において、CP
Uは、有効イメージ領域フラッグAFがセットされてい
るか否かを判断する。そして、このフラッグAFが既に
セットされている場合には、次のステップS312にお
いて、全白ラインカウンタWCNTをインクリメントす
る。そして、次のステップS313において、全白ライ
ンカウンタWCNTのカウント値が「3」以上になった
かどうかを判断する。先に説明したように、図8に示す
ようにラインバッファ68に3ライン連続して全白ライ
ンが出現した場合には、手書き宛先情報の記入領域の終
了ラインを判断する。従って、このステップS313に
おいて”YES”と判断したときには、手書き宛先情報
の記入領域の終了ラインを検出したことを意味し、この
場合、次のステップS314で読取系を停止した後、図
12のステップS4すなわち図20の最初のステップS
400に進む。
On the other hand, in step S310, "N
If “O” is determined, in step S311, the CP
U determines whether or not the effective image area flag AF is set. Then, if this flag AF has already been set, in the next step S312, the all-white line counter WCNT is incremented. Then, in the next step S313, it is determined whether or not the count value of the all-white line counter WCNT becomes "3" or more. As described above, when all white lines appear continuously in the line buffer 68 as shown in FIG. 8, the end line of the handwriting destination information entry area is determined. Therefore, when "YES" is determined in this step S313, it means that the end line of the writing area of the handwriting destination information is detected. In this case, after the reading system is stopped in the next step S314, the step of FIG. S4, that is, the first step S in FIG.
Proceed to 400.

【0075】先のステップS310において”YES”
と判断したとき、即ちステップS304でラインバッフ
ァ68に格納された1ラインのイメージデータが有効ラ
インであると判断したとき、ステップS315におい
て、CPU60は全白ラインカウンタWCNTをクリア
するとともに先読みフラッグSFに「1」をセットす
る。全白ラインカウンタWCNTは連続して3ライン以
上全白ラインが出現したかどうかを検出するためのカウ
ンタであるので、有効ラインが検出される都度クリアさ
れる。そして、先のステップS313において”NO”
と判断された場合と同様に、図17に示す次のステップ
S316に進む。
"YES" in the previous step S310.
When it is determined that the 1-line image data stored in the line buffer 68 in step S304 is a valid line, the CPU 60 clears the all-white line counter WCNT and sets the prefetch flag SF in step S315. Set "1". The all-white line counter WCNT is a counter for detecting whether or not three or more all-white lines have appeared consecutively, so it is cleared every time an effective line is detected. Then, in the previous step S313, "NO"
Similarly to the case where it is determined, the process proceeds to the next step S316 shown in FIG.

【0076】このステップS316では、CPU60
は、ラインバッファ68の書込ラインカウンタLCNT
で示されるラインの黒ドットの位置に対応したカラムの
カラムカウンタCCNTをインクリメントする。即ち、
このステップS316では、ラインバッファ68の黒ド
ットが存在するカラムのカラムカウンタCCNTをイン
クリメントする。そして、次のステップS317におい
て、CPU60は、書込ラインカウンタLCNTをイン
クリメントするとともに、有効ラインカウンタBCNT
をインクリメントする。
In step S316, the CPU 60
Is a write line counter LCNT of the line buffer 68.
The column counter CCNT of the column corresponding to the position of the black dot of the line indicated by is incremented. That is,
In this step S316, the column counter CCNT of the column in the line buffer 68 where the black dot exists is incremented. Then, in the next step S317, the CPU 60 increments the write line counter LCNT and, at the same time, activates the valid line counter BCNT.
Is incremented.

【0077】そして、次のS318ステップにおいて、
CPU60は、書込ラインカウンタLCNTのカウント
値が「12」を超えたかどうかを判断する。つまり、こ
のステップS318では、図8に示すラインバッファ6
8の128ラインの全てにイメージデータが書き込まれ
たかどうかを判断する。従って、ラインバッファ68が
満杯になるまでは、ステップS318において”NO”
と判断されるため、次のステップS319に進む。
Then, in the next step S318,
The CPU 60 determines whether or not the count value of the write line counter LCNT exceeds “12”. That is, in this step S318, the line buffer 6 shown in FIG.
It is determined whether the image data has been written in all of the 128 lines of 8. Therefore, until the line buffer 68 is full, "NO" in step S318.
Since it is determined that this is the case, the process proceeds to the next step S319.

【0078】このステップS319では、有効イメージ
領域フラッグAFがセットされているか否かを判断す
る。つまり、先のステップS310において有効ライン
を検出すると、それは有効イメージ領域(宛先情報記入
領域)であることを意味するため、このステップS31
9において、このフラッグAFがセットされているかど
うかを判断する。このステップS319において”N
O”と判断された場合には、次のステップS320にお
いて、CPU60は、有効ラインカウンタBCNTのカ
ウント値が「15」に達したかどうかを判断する。即
ち、このステップS320では、CPU60は、連続し
て15ライン以上有効ラインがあったかどうかを判断す
る。そして、このステップS320において”YES”
が判断されたとき初めて、有効イメージ領域フラッグA
Fをセットする(ステップS321)。先に説明したよ
うに、原稿上において2mm以下のサイズの宛先情報の
文字は認識対象としないため、有効ライン数が15ライ
ンを超えたときにのみ有効イメージ領域フラッグAFを
セットするものである。
In step S319, it is determined whether the effective image area flag AF is set. That is, when the valid line is detected in the previous step S310, it means that the valid line is the valid image area (destination information entry area).
At 9, it is determined whether or not this flag AF is set. In this step S319, "N
When it is determined to be "O", in the next step S320, the CPU 60 determines whether or not the count value of the activated line counter BCNT has reached "15". That is, in this step S320, the CPU 60 determines whether there are 15 or more effective lines in a row. Then, in this step S320, "YES"
Only when it is determined that the effective image area flag A
F is set (step S321). As described above, the characters of the destination information having a size of 2 mm or less on the original are not recognized, so that the effective image area flag AF is set only when the number of effective lines exceeds 15.

【0079】先のステップS311(図16)におい
て、”NO”と判断されたときには、ステップS322
に進む。このステップS322では、CPU60は、書
込ラインカウンタLCNTに初期値「2」を設定すると
ともに、有効ラインカウンタBCNT、カラムカウンタ
1CCNT〜2048CCNT及び先読みフラッグSF
をクリアする。その後、ステップS320において”N
O”と判断した場合と同様に、次のステップS323に
進む。このステップS323では、CPU60は、原稿
送りカウンタPCNTのカウント値が「231」を超え
たかどうかを判断する。即ち、このステップS323で
は、原稿が30mm(=231/7.7)以上送られた
かどうかを判断する。これは、手書き宛先情報の文字の
上端が原稿の上端から30mm以内に存在するであろう
という前提に立ったものである。従って、このステップ
S323における「231」を変更することによって、
手書き宛先情報の認識領域を拡大しまたは縮小すること
ができる。そして、このステップS323において”Y
ES”が判断されるということは、原稿の上端から30
mmの範囲内に宛先情報の文字が記入されていないこと
を意味する。従って、この場合には、次のステップS3
24において、CPU60は、読取系を停止し、続くス
テップS325において、LCD36に例えば「バンゴ
ウアリマセン」のようなメッセージを表示する。その
後、次のステップS326において、CPU60は、自
動認識移行可否フラッグCAFに「1」を設定し、処理
を図29に示すステップS800に進める。
If "NO" is determined in the previous step S311 (FIG. 16), step S322 is performed.
Proceed to. In this step S322, the CPU 60 sets the write line counter LCNT to the initial value "2", and also sets the valid line counter BCNT, the column counters 1CCNT to 2048CCNT, and the prefetch flag SF.
To clear. Then, in step S320, "N
Similar to the case of determining "O", the process proceeds to the next step S323. In this step S323, the CPU 60 determines whether or not the count value of the document feeding counter PCNT exceeds "231". That is, in this step S323, it is determined whether or not the original has been fed by 30 mm (= 231 / 7.7) or more. This is based on the assumption that the upper end of the characters of the handwritten address information will be within 30 mm from the upper end of the document. Therefore, by changing "231" in this step S323,
The recognition area of handwritten address information can be enlarged or reduced. Then, in this step S323, "Y
The fact that "ES" is judged means that the value is 30 from the top of the document.
This means that the characters of the destination information are not entered within the range of mm. Therefore, in this case, the next step S3
In 24, the CPU 60 stops the reading system, and in the subsequent step S325, displays a message such as “Bangou Arimasen” on the LCD 36. After that, in the next step S326, the CPU 60 sets the automatic recognition transition availability flag CAF to "1", and advances the processing to step S800 shown in FIG.

【0080】更に、先のステップS318において、ラ
インバッファ68が満杯になったことを検出すると、処
理をステップS324(図16)に進め読取系を停止し
た後、処理を図12のステップS4すなわち図20の最
初のステップS400に進める。即ち、ステップS31
8において”YES”と判断された場合も、先のステッ
プS313で”YES”と判断された場合と同様に、手
書き宛先情報の記入領域の終了ラインを検出したと見做
す。
Further, when it is detected in the previous step S318 that the line buffer 68 is full, the process proceeds to step S324 (FIG. 16), the reading system is stopped, and then the process proceeds to step S4 of FIG. 20. Go to first step S400 of 20. That is, step S31
Even when it is determined to be "YES" in 8, it is considered that the end line of the writing area of the handwritten address information is detected, as in the case where it is determined to be "YES" in step S313.

【0081】先のステップS314が処理される場合に
は、ラインバッファ68に認識可能な状態で手書き宛先
情報のイメージデータがストアされていることを意味
し、この場合には、図12に示すステップS4に進み、
手書き宛先情報として記入された各文字を切り出す。つ
まり、このステップS4では、図18において点線で囲
んだ各文字の領域と2点鎖線で囲んだスペースの領域と
を検出する。そのために、このステップS4では、図1
8に示す各文字の始点X、始点Y、X幅及びY幅をそれ
ぞれ、データA、B、CおよびDとして文字データテー
ブル72及び74(図6)に書き込む。
When the previous step S314 is processed, it means that the image data of the handwritten address information is stored in the line buffer 68 in a recognizable state. In this case, the step shown in FIG. Go to S4,
Cut out each character entered as handwritten address information. That is, in this step S4, the area of each character surrounded by the dotted line and the area of the space surrounded by the two-dot chain line in FIG. 18 are detected. Therefore, in this step S4, as shown in FIG.
The starting point X, the starting point Y, the X width, and the Y width of each character shown in 8 are written in the character data tables 72 and 74 (FIG. 6) as data A, B, C, and D, respectively.

【0082】図20の最初のステップS400では、文
字の切出のための初期化を行う。即ち、このステップS
400では、文字数カウンタMCNTに「0」の初期値
を設定する。この文字数カウンタMCNTは、ラインバ
ッファ68中のスペースの部分を含んだ文字の数をカウ
ントするものである。ここで、スペースの部分もカウン
トするのは、スペースをポーズデータとして後の送信処
理(ステップS6)において用いるためである。そし
て、ステップS400では、さらに、カラムポインタC
PNTに「1」の初期値を設定する。このカラムポイン
タCPNTは、ラインバッファ68のリードポインタと
なり、図8に示す2048個のカラムのどれかを指示す
る。そして、ステップS400では、有効文字フラッグ
MFをリセットする。この有効文字フラッグMFは、リ
ードポインタCPNTが図18の点線の領域の中にある
かどうかを示すフラッグであり、このフラッグMFがセ
ットされているとき、それは有効文字であることを示
す。更に、ステップS400では、第1文字データテー
ブル72及び第2文字テーブル74(図6)の第1格納
部〜第32格納部の全てをクリアする。
In the first step S400 in FIG. 20, initialization for cutting out characters is performed. That is, this step S
At 400, an initial value of "0" is set in the character number counter MCNT. The character number counter MCNT counts the number of characters including the space portion in the line buffer 68. Here, the space portion is also counted because the space is used as pause data in the subsequent transmission process (step S6). Then, in step S400, the column pointer C
Set the initial value of "1" to PNT. The column pointer CPNT serves as a read pointer for the line buffer 68 and points to any of the 2048 columns shown in FIG. Then, in step S400, the valid character flag MF is reset. This valid character flag MF is a flag indicating whether or not the read pointer CPNT is within the area of the dotted line in FIG. 18, and when this flag MF is set, it indicates that it is a valid character. Further, in step S400, all the first to 32nd storages of the first character data table 72 and the second character table 74 (FIG. 6) are cleared.

【0083】そして、次のステップS401において、
CPU60は、カラムポインタCPNTで示されるカラ
ムのカラムカウンタCCNTのカウント値が「3」以上
であるか否かを判定する。即ち、このステップS401
では、カラムポインタCPNTで指定されるカラムに3
以上の黒ドットが存在するかどうかを判断する。1つの
カラムに3以上の黒ドットが存在するかどうかを判断す
ることによって、そのカラムが有効文字領域内にあるか
どうかを判断するのである。従って、このステップS4
01において”YES”と判断されると、次のステップ
S402及びS403を実行し、有効文字フラッグMF
をセットする。そして、ステップS404において、C
PU60は、文字数カウンタMCNTをインクリメント
する。
Then, in the next step S401,
The CPU 60 determines whether or not the count value of the column counter CCNT of the column indicated by the column pointer CPNT is “3” or more. That is, this step S401
Then, 3 in the column specified by the column pointer CPNT.
It is determined whether or not the above black dots exist. By determining whether or not there are three or more black dots in one column, it is determined whether or not that column is within the valid character area. Therefore, this step S4
If "YES" in 01, the following steps S402 and S403 are executed, and the valid character flag MF is executed.
Set. Then, in step S404, C
The PU 60 increments the character number counter MCNT.

【0084】次のステップS405では、CPU60
は、第1文字データテーブルTBL1の文字数カウンタ
MCNTで指示される格納部、つまり第MCNT番目の
格納部に、図18の始点XのデータAとして、カラムポ
インタCPNTの値を書き込む。即ち、ステップS40
5では、文字数カウンタMCNTで指示される文字の始
点XがデータAとして第1文字データテーブル72に書
き込まれる。
In the next step S405, the CPU 60
Writes the value of the column pointer CPNT as the data A at the starting point X in FIG. 18 to the storage unit designated by the character number counter MCNT of the first character data table TBL1, that is, the MCNT-th storage unit. That is, step S40
In 5, the start point X of the character designated by the character number counter MCNT is written as the data A in the first character data table 72.

【0085】ステップS405において始点Xのデータ
Aを書き込んだ後、または先のステップS402におい
て”NO”と判断された後、CPU60は、ステップS
406において、カラムポインタCPNTをインクリメ
ントする。その後、ステップS407において、カラム
ポインタCPNTの値が「2048」を超えたかどうか
を判断する。つまり、このステップS407では、ライ
ンバッファ68の全てのカラムについて、ステップS4
01の判断が終了したかどうかを判断する。従って、ラ
インバッファ68の全てのカラムについて3以上の黒ド
ットがあるかどうかの判断を終えていない場合には、ス
テップS401からステップS406を繰り返し実行す
る。
After writing the data A of the starting point X in step S405, or after determining "NO" in the previous step S402, the CPU 60 executes the step S40.
At 406, the column pointer CPNT is incremented. Then, in step S407, it is determined whether the value of the column pointer CPNT exceeds "2048". That is, in this step S407, for all columns of the line buffer 68, step S4
It is determined whether the determination of 01 is completed. Therefore, if it has not been determined whether or not there are three or more black dots in all the columns of the line buffer 68, steps S401 to S406 are repeatedly executed.

【0086】そして、例えば第1文字と第2文字との間
のスペース部分をカラムポインタCPNTが指示したと
きには、ステップS401において”NO”と判断さ
れ、ステップS408に進む。そして、このステップS
408で、有効文字フラッグMFがセットされているか
どうかを判断する。第1文字を先に検出している場合、
このフラッグMFはセットされているので、このステッ
プS408で”YES”が判断され、次のステップS4
09で有効文字フラッグMFがリセットされる。その
後、ステップS410〜S413を実行して、第1文字
データテーブル72の各格納部に残りの3つのデータ
B、CおよびDを書き込む。
Then, for example, when the column pointer CPNT points the space portion between the first character and the second character, it is determined as "NO" in step S401, and the process proceeds to step S408. And this step S
At 408, it is determined whether the valid character flag MF is set. If the first character is detected first,
Since this flag MF has been set, "YES" is determined in this step S408 and the next step S4
At 09, the valid character flag MF is reset. Then, steps S410 to S413 are executed to write the remaining three data B, C and D in each storage unit of the first character data table 72.

【0087】ステップS410では、図18のX幅のデ
ータCを第1文字データテーブル72の有効文字数カウ
ンタMCNTで指定される格納部のX幅領域に格納す
る。このX幅データCは、カラムポインタCPNTの値
とさきにステップS405で第1文字データテーブルの
文字数カウンタMCNTで指定される格納部の始点X領
域にセットされた値(データA)との差である。
In step S410, the X-width data C of FIG. 18 is stored in the X-width area of the storage unit designated by the valid character number counter MCNT of the first character data table 72. The X width data C is the difference between the value of the column pointer CPNT and the value (data A) set in the starting point X area of the storage unit designated by the character number counter MCNT of the first character data table in step S405. is there.

【0088】そして、次のステップS411において、
CPU60は、ラインバッファ68のカラム(これは始
点XのデータAで表されるカラム)からカラムポインタ
CPNTで示されるカラムまでの範囲において、黒ドッ
トが位置する最上位ライン及び最下位ラインを検出す
る。即ち、このステップS411では、図18の点線で
示す文字領域の最上位ラインY1及び最下位ラインY2
を検出する。そして、ステップS412では、ステップ
S411で検出した最上位ラインY1の番号を、第1文
字データテーブル72の文字数カウンタMCNTで指定
される格納部の始点Y領域に、データBとしてセットす
る。
Then, in the next step S411,
The CPU 60 detects the uppermost line and the lowermost line where the black dot is located in the range from the column of the line buffer 68 (this is the column represented by the data A at the starting point X) to the column indicated by the column pointer CPNT. . That is, in this step S411, the uppermost line Y1 and the lowermost line Y2 of the character area shown by the dotted line in FIG.
To detect. Then, in step S412, the number of the uppermost line Y1 detected in step S411 is set as the data B in the starting point Y area of the storage unit designated by the character number counter MCNT of the first character data table 72.

【0089】そして、ステップS413において、CP
U60は、第1文字データテーブル72の文字数カウン
タMCNTで指定される格納部のY幅領域にデータDを
セットする。このデータDは、ステップS411で検出
した最下位ラインY2と最上位ラインY1とによって
「最下位ライン−最上位ライン+1」によって求めるこ
とができる。
Then, in step S413, the CP
The U 60 sets the data D in the Y width area of the storage portion designated by the character number counter MCNT of the first character data table 72. This data D can be obtained by "the lowest line-the highest line + 1" by the lowest line Y2 and the highest line Y1 detected in step S411.

【0090】このようにして第1文字データテーブル7
2の文字数カウンタMCNTで指定される格納部に4つ
のデータA、B、CおよびDが全て格納されると、次の
ステップS414において、CPU60は文字数カウン
タMCNTのカウント値が「32」に達したかどうかを
判断する。即ち、このステップS414では、第1文字
データテーブル72の第1格納部から第32格納部の全
てに始点XのデータA、始点YのデータB、X幅のデー
タCおよびY幅のデータDが全て格納されたかどうかを
判断する。従って、もしこのステップS414におい
て”NO”と判断されると、先のステップS406〜S
413を繰り返し実行する。
In this way, the first character data table 7
When all the four data A, B, C and D are stored in the storage section designated by the character number counter MCNT of 2, the CPU 60 in the next step S414, the count value of the character number counter MCNT reaches "32". Determine if That is, in this step S414, the data A at the starting point X, the data B at the starting point Y, the data C at the X width, and the data D at the Y width are stored in all of the first to 32nd storage units of the first character data table 72. Judge whether all are stored. Therefore, if "NO" is determined in this step S414, the previous steps S406-S
413 is repeatedly executed.

【0091】尚、先のステップS411において、文字
領域の最上位ラインY1及び最下位ラインY2を検出す
るためには、CPU60は、ラインバッファ68の1バ
イト分のイメージデータをアキュムレータに読み出し、
これをシフトしながら「1」の数を検出する。これによ
って、最上位ラインY1のライン番号が検出できる。
In order to detect the uppermost line Y1 and the lowermost line Y2 of the character area in the previous step S411, the CPU 60 reads the 1-byte image data of the line buffer 68 into the accumulator,
While shifting this, the number of "1" is detected. As a result, the line number of the highest line Y1 can be detected.

【0092】図21の次のステップS415では、CP
U60は、文字数カウンタMCNTのカウント値が
「0」かどうかを判断する。即ち、このステップS41
5では、1以上の有効文字が手書き宛先情報記入領域に
存在するかどうかを判断する。従って、このステップS
415において”YES”と判断される場合には、手書
き宛先情報記入領域に認識すべき有効な文字がないので
あるから、先のステップS325(図17)に戻る。
In the next step S415 of FIG. 21, the CP
U60 determines whether or not the count value of the character number counter MCNT is "0". That is, this step S41
In step 5, it is determined whether or not one or more effective characters are present in the handwritten address information entry area. Therefore, this step S
If "YES" is determined in 415, there is no valid character to be recognized in the handwriting destination information entry area, and the process returns to step S325 (FIG. 17).

【0093】しかし、ステップS45において”NO”
と判断されると、CPU60は、次のステップS416
において、図18に示す手書き宛先情報記入領域の長さ
Lを算出する。具体的には、このステップS416で
は、第1文字データテーブル72の第1格納部の始点X
領域にセットされた値A1(図19)と、第1文字デー
タテーブル72の文字数カウンタMCNTによって指定
される格納部の始点X領域及びX幅領域にセットされた
値A(MCNT)及びC(MCNT)とに基づいて、長
さLを算出する。即ち、このステップS416では、手
書き宛先情報の文字が記入された主操作方向の長さLを
検出する。次に、ステップS417において、CPU6
0は、平均文字間距離ALを算出する。即ち、ステップ
S417では、ステップS416で求めた文字領域長さ
Lを文字数カウンタMCNTで表される文字数で割った
値を平均文字間距離ALとして算出する。そして次のス
テップS418において、CPU60は、第1文字デー
タテーブル72のリードポインタDCNT1及び第2文
字データテーブルのライトポインタDCNT2にそれぞ
れ「1」の初期値を設定する。
However, "NO" in the step S45.
If so, the CPU 60 determines the next step S416.
In, the length L of the handwritten address information entry area shown in FIG. 18 is calculated. Specifically, in this step S416, the start point X of the first storage unit of the first character data table 72 is set.
The value A1 (FIG. 19) set in the area and the values A (MCNT) and C (MCNT) set in the starting point X area and the X width area of the storage portion designated by the character number counter MCNT of the first character data table 72. ) And the length L is calculated. That is, in this step S416, the length L in the main operation direction in which the character of the handwriting destination information is written is detected. Next, in step S417, the CPU 6
0 calculates the average inter-character distance AL. That is, in step S417, a value obtained by dividing the character area length L obtained in step S416 by the number of characters represented by the character number counter MCNT is calculated as the average inter-character distance AL. Then, in the next step S418, the CPU 60 sets initial values of "1" to the read pointer DCNT1 of the first character data table 72 and the write pointer DCNT2 of the second character data table, respectively.

【0094】次のステップS419〜S425を実行す
ることによって、CPU60は、第1文字データテーブ
ル72のデータを第2文字データテーブル74へ書き換
える。但し、このとき第2文字データテーブル74には
スペースを示すデータも書き込まれる。
By executing the following steps S419 to S425, the CPU 60 rewrites the data in the first character data table 72 into the second character data table 74. However, at this time, data indicating a space is also written in the second character data table 74.

【0095】即ち、ステップS419では、第1文字デ
ータテーブル72のリードポインタDCNT1で指定さ
れる格納部の各データA、B、CおよびDを、第2文字
データテーブル74のライトポインタDCNT2で指定
される格納部に、図19に示すようにセットする。そし
て、次のステップS420では、第1文字データテーブ
ル72のリードポインタDCNT1が文字数カウンタM
CNTでカウントした文字すうになったかどうか、即
ち、第1文字データテーブル72に格納した全てのデー
タを第2文字データテーブル74にかくのうしたかどう
かを判断する。従って、もし、このステップS420に
おいて”YES”が判断されれば、次のステップS5
(図12)すなわち図22のステップS500に進む。
That is, in step S419, each data A, B, C, and D in the storage unit designated by the read pointer DCNT1 of the first character data table 72 is designated by the write pointer DCNT2 of the second character data table 74. It is set in the storage unit as shown in FIG. Then, in the next step S420, the read pointer DCNT1 of the first character data table 72 is set to the character number counter M.
It is determined whether or not the characters counted by the CNT have run out, that is, whether or not all the data stored in the first character data table 72 has been overlaid in the second character data table 74. Therefore, if "YES" is determined in this step S420, the next step S5
(FIG. 12) That is, the process proceeds to step S500 in FIG.

【0096】しかし、第1文字データテーブル72の全
てのデータを第2文字データテーブル74は書き込んで
いない状態では、ステップS420において”NO”と
判断される。従って、CPU60は、次のステップS4
21において、手書き宛先情報記入領域に記入された各
文字の間のスペースの幅SPCを計算する。具体的に
は、このステップS421では、第1文字データテーブ
ル72のリードポインタDCNT1で指定される格納部
の始点X領域及びX幅領域にそれぞれセットされた値A
(DCNT1)及びC(DCNT1)と、第1文字デー
タテーブル72の次の格納部の始点X領域にセットされ
た値A(DCNT+1)とに基づいて、ラインバッファ
68にストアされている第(DCNT1)番目の文字と
第(DCNT1+1)番目の文字との間のスペース幅S
PCを計算する。そして、その計算したスペース幅SP
Cは、ステップS417で計算した平均距離ALととも
に、SRAM76のスペース幅レジスタSPC及び平均
距離レジスタALに格納される。
However, when all the data in the first character data table 72 is not written in the second character data table 74, it is determined as "NO" in step S420. Therefore, the CPU 60 executes the next step S4.
At 21, the width SPC of the space between each character written in the handwritten address information entry area is calculated. Specifically, in this step S421, the value A set in the starting point X area and the X width area of the storage section designated by the read pointer DCNT1 of the first character data table 72, respectively.
Based on (DCNT1) and C (DCNT1) and the value A (DCNT + 1) set in the starting point X area of the next storage section of the first character data table 72, the (DCNT1) stored in the line buffer 68 is stored. ) The space width S between the (th) character and the (DCNT1 + 1) th character
Calculate PC. And the calculated space width SP
C is stored in the space width register SPC and the average distance register AL of the SRAM 76 together with the average distance AL calculated in step S417.

【0097】そして、ステップS422において、CP
U60は、平均距離レジスタAL及びスペース幅レジス
タSPCを参照して、スペース幅SPCが平均文字間距
離ALより大きいかどうかを判断する。もし、このステ
ップS422において”YES”と判断されると、次の
ステップS423において、CPU60は、第2文字デ
ータテーブル74のライトポインタDCNT2をインク
リメントし、次のステップS424を実行する。
Then, in step S422, the CP
The U60 refers to the average distance register AL and the space width register SPC to determine whether the space width SPC is larger than the average inter-character distance AL. If "YES" is determined in this step S422, the CPU 60 increments the write pointer DCNT2 of the second character data table 74 in the next step S423, and executes the next step S424.

【0098】先のステップS422において”YES”
と判断されるということは、平均文字間距離AL以上の
スペースが第(DCNT1)番目の文字と第(DCNT
1+1)番目の文字との間に存在することを意味し、従
って、この場合には、ステップS424では、第2文字
データテーブル74のその部分に、図19に示すように
スペースを意味する「−1」をセットする。即ち、ステ
ップS424では、第2文字データテーブル74のライ
トポインタDCNT2で指定される格納部の始点Xの領
域に「−1」をセットする。そして、ステップS425
において、リードポインタDCNT1およびライトポイ
ンタDCNT2をそれぞれインクリメントする。
"YES" in the previous step S422.
It is determined that the space equal to or greater than the average inter-character distance AL is the (DCNT1) th character and the (DCNT1) th character.
1 + 1) th character. Therefore, in this case, in this case, in step S424, that portion of the second character data table 74 has a space "-" as shown in FIG. 1 ”is set. That is, in step S424, "-1" is set in the area of the starting point X of the storage section designated by the write pointer DCNT2 of the second character data table 74. Then, step S425
In, the read pointer DCNT1 and the write pointer DCNT2 are respectively incremented.

【0099】このようにして、第1文字データテーブル
72に格納された全ての文字について文字またはスペー
スを第2文字データテーブル74に記入した状態では、
ステップS420において”YES”と判断され、次の
ステップS500に進む。
In this way, in the state where the characters or spaces for all the characters stored in the first character data table 72 are entered in the second character data table 74,
It is determined "YES" in step S420, and the process proceeds to the next step S500.

【0100】図22の最初のステップS500では、C
PU60は、図18〜図21のようにして切り出した手
書き宛先情報の各文字の認識を実行するための初期化を
行う。即ち、このステップS500では、先読みフラッ
グSFをセットするとともに、エラーフラッグEFをリ
セットする。さらに、このステップS500では、スペ
ースカウンタSCNT(図6)に「0」の初期値を設定
するとともに、ダイヤルバッファライトポインタDLB
W及び第2文字データテーブルリードポインタTRPT
に、それぞれ「1」の初期値を設定する。それととも
に、ステップS500では、ダイヤルバッファ70(図
6)及びリジェクト文字数カウンタRJC(図6)をク
リアするとともにLED152の点滅を行わせる。
In the first step S500 in FIG. 22, C
The PU 60 performs initialization for executing recognition of each character of the handwritten address information cut out as shown in FIGS. 18 to 21. That is, in this step S500, the prefetch flag SF is set and the error flag EF is reset. Further, in this step S500, the space counter SCNT (FIG. 6) is set to the initial value of "0", and the dial buffer write pointer DLB is set.
W and second character data table read pointer TRPT
, The initial value of "1" is set to each. At the same time, in step S500, the dial buffer 70 (FIG. 6) and the reject character number counter RJC (FIG. 6) are cleared and the LED 152 is caused to blink.

【0101】尚、ダイヤルバッファライトポインタDL
BWは、32桁の宛先情報を書き込むことができるダイ
ヤルバッファ70の書込桁位置を指定するためのポイン
タであり、リードポインタTRPTは、第2文字データ
テーブル74の格納部を指定するポインタである。
The dial buffer write pointer DL
BW is a pointer for designating a write digit position of the dial buffer 70 in which 32-digit destination information can be written, and read pointer TRPT is a pointer for designating a storage portion of the second character data table 74. ..

【0102】そして、ステップS501では、第2文字
データテーブル74のリードポインタTRPTがそのラ
イトポインタDCNT2を超えたかどうか、即ち、第2
文字データテーブル74の第1格納部から第32格納部
の全ての格納部についてデータを読み出したかどうかを
判断する。このステップS501で”YES”と判断さ
れると、CPU60は、ステップS502ステップにお
いてLED152の点滅を終了させた後、図12のステ
ップS6すなわち図24のステップS600に処理を進
める。
Then, in step S501, it is determined whether or not the read pointer TRPT of the second character data table 74 has exceeded the write pointer DCNT2, that is, the second
It is determined whether data has been read from all the storage units of the first to the 32nd storage units of the character data table 74. If "YES" is determined in this step S501, the CPU 60 ends the blinking of the LED 152 in step S502, and then advances the process to step S6 of FIG. 12, that is, step S600 of FIG.

【0103】一方、ステップS501で”NO”と判断
されると、CPU60はステップS503に処理を進
め、ROM64の認識用辞書領域64b(図4)等を参
照して、切り出した文字の認識を実行する。即ち、第2
文字データテーブル74の各格納部にストアされている
データに従ってラインバッファ68の各文字領域のイメ
ージデータを読み出し、それを正規化し、そのイメージ
データの特徴パラメータを抽出する。そして、周知のパ
ターンマッチングの手法に従って、抽出した特徴と認識
用辞書領域64bとを比較し、その文字が「0」〜
「9」のいずれかの数字、「*」、「#」、「−」など
であるかを認識する。そして、その認識した文字に対応
するキャラクタコードCCを出力する。
On the other hand, if "NO" is determined in the step S501, the CPU 60 advances the processing to a step S503, refers to the recognition dictionary area 64b (FIG. 4) of the ROM 64, and recognizes the cut out character. To do. That is, the second
The image data of each character area of the line buffer 68 is read according to the data stored in each storage unit of the character data table 74, it is normalized, and the characteristic parameter of the image data is extracted. Then, according to a well-known pattern matching method, the extracted feature is compared with the recognition dictionary area 64b, and the character is "0"-
It is recognized whether it is any number of "9", "*", "#", "-", or the like. Then, the character code CC corresponding to the recognized character is output.

【0104】ステップS504では、CPU60は、ス
テップS503で出力されるキャラクタコードCCがス
ペースを表すキャラクタコードあるかどうかを判断す
る。もし、このステップS504において”YES”で
あると判断されると、次のステップS505へ進む。こ
のステップS505では、ダイヤルバッファライトポイ
ンタDLBWが「1」であるかどうかを判断する。も
し、ダイヤルバッファライトポインタDLBWが「1」
であると、このときのスペースのキャラクタコードを無
視するために、ステップS506においてスペースカウ
ンタSCNTをインクリメントした後、ステップS52
5へ進む。
In step S504, CPU 60 determines whether the character code CC output in step S503 is a character code representing a space. If "YES" is determined in this step S504, the process proceeds to the next step S505. In step S505, it is determined whether the dial buffer write pointer DLBW is "1". If the dial buffer write pointer DLBW is "1"
Then, in order to ignore the character code of the space at this time, after incrementing the space counter SCNT in step S506, step S52
Go to 5.

【0105】一方、ステップS504において”NO”
と判断されたときには、ステップS507〜S510を
実行し、ダイヤルバッファ70にスペースのキャラクタ
コードを書き込む。即ち、ステップS507では、スペ
ースカウンタSCNTが「0」になったかどうかを判断
する。このスペースカウンタSCNTが「0」でないと
いうことは、第2文字データテーブル74にいくつかの
スペース(「−1」のデータ)が存在していることを意
味し、このときには、次のステップS508で、ダイヤ
ルバッファライトポインタDLBWに従って、ダイヤル
バッファ70にスペースのキャラクタコードを書き込
む。そして、次のステップS509において、ダイヤル
バッファライトポインタDLBWをインクリメントする
とともに、ステップS510において、スペースカウン
タSCNTをディクリメントする。
On the other hand, "NO" in step S504.
When it is determined that the space character code is written in the dial buffer 70, steps S507 to S510 are executed. That is, in step S507, it is determined whether the space counter SCNT has become "0". The fact that the space counter SCNT is not "0" means that there are some spaces (data of "-1") in the second character data table 74. At this time, in the next step S508. A space character code is written in the dial buffer 70 according to the dial buffer write pointer DLBW. Then, in the next step S509, the dial buffer write pointer DLBW is incremented, and in step S510, the space counter SCNT is decremented.

【0106】そして、ステップS507において、”Y
ES”が判断されると、即ち、スペースカウンタSCN
Tが「0」であると判断されると、次のステップS51
1において、CPU60は、先に出力されたキャラクタ
コードがエラーコードであるかどうかを判断する。もし
エラーコードであれば、次のステップS512で、その
キャラクタコードをアルファベットの「X」のキャラク
タコードに置き換える。そして、ステップS513で
は、ステップS503で出力されたキャラクタコードお
よびステップS512で置き換えられたキャラクタコー
ドのいずれかをダイヤルバッファライトポインタDLB
Wに従ってダイヤルバッファ70に書き込む。
Then, in step S507, "Y
When ES "is judged, that is, the space counter SCN
If T is determined to be “0”, then the next step S51.
In 1, the CPU 60 determines whether the previously output character code is an error code. If it is an error code, then in step S512, the character code is replaced with the character code of the alphabet "X". Then, in step S513, either the character code output in step S503 or the character code replaced in step S512 is set to the dial buffer write pointer DLB.
Write to dial buffer 70 according to W.

【0107】そして、次のステップS514では、CP
U60は、ダイヤルバッファ70にセットされたキャラ
クタコードに従って、認識した手書き宛先情報の文字を
LCD36で表示する。これは、オペレータに宛先情報
を確認させるためである。また、これと同時にLED1
52の点滅も終了させる。これは、ステップS503以
下の認識処理が終了したことをオペレータに知らしめる
ためである。
Then, in the next step S514, the CP
The U 60 displays the recognized character of the handwritten destination information on the LCD 36 according to the character code set in the dial buffer 70. This is for the operator to confirm the destination information. At the same time, LED1
The blinking of 52 is also ended. This is to notify the operator that the recognition processing in step S503 and the subsequent steps has been completed.

【0108】ステップS514に続くステップS515
では、CPU60は、停止/クリアキー52(図2)が
操作されたかどうかを判断する。ここで、停止/クリア
キー52が操作されたということは、先のステップS5
14においてLCD36に表示された認識結果を無効に
したい、又は、認識処理を中断し手動入力モードへ移行
したいというオペレータの意思であり、従って、次のス
テップS516においてエラーフラッグEFをセットす
る。そして、続くステップS517において、確認プリ
ントフラッグCPFがセットされていないかどうかを判
断し、”NO”と判断されるとステップS800(図2
9)へ直ちに進む。
Step S515 following step S514
Then, the CPU 60 determines whether or not the stop / clear key 52 (FIG. 2) has been operated. Here, the fact that the stop / clear key 52 is operated means that the step S5 has been performed.
It is the operator's intention to invalidate the recognition result displayed on the LCD 36 in 14 or to interrupt the recognition process and shift to the manual input mode. Therefore, in the next step S516, the error flag EF is set. Then, in the following step S517, it is determined whether or not the confirmation print flag CPF is set, and if "NO" is determined, the step S800 (FIG. 2).
Proceed immediately to 9).

【0109】一方、ステップS517において”YE
S”と判断されると、ステップS518において確認プ
リントを行う。即ち、このステップS518では、CP
U60は、ラインバッファ68に格納され、先のステッ
プS503における認識対象となったイメージデータも
しくはステップS503で得られた正規化データをプリ
ントアウトすべく記録制御部82及びモータ制御部88
(図3)を制御する。その後、ステップS519におい
て確認プリントフラッグCPFをセットし、ステップS
800へ進む。また、上記確認プリント時、イメージデ
ータと共に表題として「カクニンプリント」という可視
データもROM64より読み出し印字する。
On the other hand, in step S517, "YE
If it is determined to be “S”, confirmation printing is performed in step S518. That is, in step S518, CP is printed.
The U60 is stored in the line buffer 68, and the recording control unit 82 and the motor control unit 88 are used to print out the image data that is the recognition target in the previous step S503 or the normalized data obtained in step S503.
(FIG. 3) is controlled. After that, in step S519, the confirmation print flag CPF is set, and in step S5
Proceed to 800. At the time of the above-mentioned confirmation print, visible data called "Kakunin print" is read out from the ROM 64 and printed together with the image data.

【0110】尚、この確認プリントフラッグCPFは、
一連の自動認識モード実行時中において先のステップS
515において検出された停止/クリアキー52操作が
1回目の操作であるか否かを判断するためのフラッグで
ある。即ち、後の説明からもわかるとおり、ステップS
515における停止/クリアキー52操作により自動認
識モードから手動入力モードへ移行した場合(ステップ
S800への移行)であっても再度自動認識モードへ復
帰可能であり、かつ、復帰後に再びステップS515に
おいて検出された停止/クリアキー52操作に従って手
動入力モードへ移行する場合には、確認プリントのプリ
ントアウトを禁止するためのものである。この確認プリ
ントの禁止は、そもそも確認プリント自体がオペレータ
が記入した宛先情報を確認させるためのものであり、こ
のような確認プリントは一連の自動認識モード実行中に
1回出力すれば通常十分であり、オペレータの意思とは
無関係に何回も出力することは記録紙の浪費となるとい
う観点からのものである。
The confirmation print flag CPF is
During execution of a series of automatic recognition modes, step S
This is a flag for determining whether or not the operation of the stop / clear key 52 detected in 515 is the first operation. That is, as can be seen from the description below,
Even if the automatic recognition mode is changed to the manual input mode by the operation of the stop / clear key 52 in 515 (shift to step S800), it is possible to return to the automatic recognition mode again, and after the return, it is detected again in step S515. This is for prohibiting the printout of the confirmation print when shifting to the manual input mode according to the operation of the stop / clear key 52. The prohibition of the confirmation print is for the confirmation print itself to confirm the destination information entered by the operator, and it is usually sufficient to output such confirmation print once during execution of a series of automatic recognition modes. This is because it is a waste of recording paper to output a number of times regardless of the operator's intention.

【0111】ステップS515において停止/クリアキ
ー52の操作が検出されなければ、ステップS520に
おいて、キャラクタコードがアルファベットの「X」を
表すキャラクタコードであるかどうかを判断する。即
ち、このステップS520では、先の認識ステップS5
03において認識できなかった文字(リジェクト文字)
があるかどうかを判断する。つまり、このステップS5
03で認識できなかった文字は、ステップS512にお
いて「X」のキャラクタコードに置換されている。従っ
て、ステップS520において「X」のキャラクタコー
ドを検出することによって、認識できなかった文字があ
ることかどうかが判断できる。
If the operation of the stop / clear key 52 is not detected in step S515, it is determined in step S520 whether the character code is a character code representing the alphabet "X". That is, in this step S520, the previous recognition step S5
Characters that were not recognized in 03 (Rejected characters)
Determine if there is. That is, this step S5
The character that cannot be recognized in 03 is replaced with the character code of "X" in step S512. Therefore, by detecting the character code of "X" in step S520, it can be determined whether or not there is any unrecognized character.

【0112】そして、認識できなかった文字(リジェク
ト文字)があれば、ステップS521及びS522にお
いて、エラー処理モードスイッチEMODEの内容をチ
ェックする。ステップS521において”YES”が判
断されると、エラー処理モードスイッチEMODEには
「0」が設定されているので、手書き宛先情報の認識を
中断し、それまでの認識結果を破棄すべく処理を先に説
明したステップS516に進める。ステップS521に
おいて”NO”と判断され、ステップS522におい
て”YES”と判断された場合には、エラー処理モード
スイッチEMODEとして「1」が設定されているの
で、文字認識中にリジェクト文字が発生したとして、そ
の認識処理を中断し、訂正処理モード(S524)に移
行し、その後ステップS525に処理を進める。尚、ス
テップS524の訂正1ルーチンについては後で詳細に
説明する。ステップS522において”NO”と判断さ
れると、エラー処理モードスイッチEMODEとして
「2」が設定されているので、次のステップS523に
おいて、リジェクト文字数カウンタRJCをインクリメ
ントし、その後処理をステップS525に勧め、第2文
字データテーブル74のリードポインタTRPTをイン
クリメントした後、先のステップS501に戻って認識
処理を続行する。
If there is any unrecognized character (rejected character), the contents of the error processing mode switch EMODE are checked in steps S521 and S522. If "YES" is determined in step S521, since the error processing mode switch EMODE is set to "0", the recognition of the handwriting destination information is interrupted, and the processing is preceded to discard the recognition result so far. Then, the process proceeds to step S516 described above. If "NO" is determined in step S521 and "YES" is determined in step S522, "1" is set as the error processing mode switch EMODE, so that a reject character is generated during character recognition. , The recognition process is interrupted, the process shifts to the correction process mode (S524), and then the process proceeds to step S525. The correction 1 routine in step S524 will be described in detail later. If "NO" is determined in the step S522, since "2" is set as the error processing mode switch EMODE, the reject character number counter RJC is incremented in the next step S523, and the process is recommended to the step S525. After incrementing the read pointer TRPT of the second character data table 74, the process returns to the previous step S501 to continue the recognition process.

【0113】図24のステップS600では、CPU6
0は、ダイヤルバッファ70にアルファベット「X」の
キャラクタコードがあるかどうかを判断する。このステ
ップS600において”YES”が判断されると、次の
ステップS601において、CPU60は、リジェクト
文字数カウンタRJCのカウント値が「3」以上となっ
たか否かを判断する。このステップS601において”
YES”が判断されると、次のステップS603におい
て、CPU60は、自動認識移行可否フラッグCAFを
セットした後、ステップS800(図29)に処理を進
める。一方、ステップS601において”NO”が判断
されると、ステップS602の訂正処理モードに移行
し、その後ステップS615に処理を進める。尚、ステ
ップS602の訂正2ルーチンについては後で詳細に説
明する。
In step S600 of FIG. 24, the CPU 6
0 determines whether the dial buffer 70 has a character code of the alphabet "X". If "YES" is determined in this step S600, in the next step S601, the CPU 60 determines whether or not the count value of the reject character number counter RJC is "3" or more. In this step S601
If "YES" is determined, in the next step S603, the CPU 60 sets the automatic recognition transition availability flag CAF, and then advances the process to step S800 (FIG. 29). On the other hand, "NO" is determined in step S601. Then, the process proceeds to the correction processing mode of step S602, and then the process proceeds to step S615. The correction 2 routine of step S602 will be described in detail later.

【0114】先のステップS600において”NO”と
判定されると、ステップS604において、CPU60
は、認識確認時間スイッチCTとして「0」が設定され
ているか、あるいは「1」〜「10」の可変数値が設定
されているかを判断する。このスイッチCTが「0」に
設定されている場合には、スタートキー54の操作に応
答して発呼動作を実行する。一方、スイッチCTとして
「0」以外の数値が設定されている場合には、次のステ
ップS605において、タイマカウンタTM(図6)を
トリガする。そして、次のステップS606において、
CPU60は、コピーキー58(図2)が操作されたか
どうかを判断する。このステップS606において、コ
ピーキー58の操作が検出されると、ステップS607
においてコピー処理が実行された後、待機状態に戻る。
また、ステップS608において、CPU60は、停止
/クリアキー52が操作されたかどうかを検出する。こ
のステップS608において”YES”が判断される
と、ステップS517(図23)に処理を進める。即
ち、先のステップS5において正しく認識された認識結
果の全てがLCD36上に表示されている場合に停止/
クリアキー52が操作されると、ステップS515(図
23)でこの停止/クリアキー52の操作を検出された
場合と同様に確認プリントフラッグCPFを確認の上、
確認プリント動作を実行又は実行せずにステップS80
0に進む。つまり、自動認識モードから手動認識モード
に移行する。
If "NO" is determined in the previous step S600, the CPU 60 is determined in step S604.
Judges whether the recognition confirmation time switch CT is set to "0" or a variable value of "1" to "10" is set. When the switch CT is set to "0", the calling operation is executed in response to the operation of the start key 54. On the other hand, when the switch CT is set to a value other than “0”, the timer counter TM (FIG. 6) is triggered in the next step S605. Then, in the next step S606,
The CPU 60 determines whether the copy key 58 (FIG. 2) has been operated. When the operation of the copy key 58 is detected in step S606, step S607.
After the copy process is executed in, the process returns to the standby state.
Further, in step S608, CPU 60 detects whether stop / clear key 52 has been operated. If "YES" is determined in this step S608, the process proceeds to step S517 (FIG. 23). That is, when all of the recognition results correctly recognized in the previous step S5 are displayed on the LCD 36, stop /
When the clear key 52 is operated, the confirmation print flag CPF is confirmed in the same manner as when the operation of the stop / clear key 52 is detected in step S515 (FIG. 23).
The confirmation print operation is executed or not executed in step S80.
Go to 0. That is, the automatic recognition mode shifts to the manual recognition mode.

【0115】ステップS608において”NO”と判断
されると、次のステップS609において、CPU60
は、メニューキー34またはセットキー40(いずれも
図2)が操作されたかどうかを判断する。メニューキー
34またはセットキー40のいずれかが操作されると、
次のステップS610において、訂正3ルーチンが実行
される。即ち、手書き宛先情報の各文字を正しく認識し
た後にメニューキー34またはセットキー40のいずれ
かが操作されると、それはオペレータがその宛先情報の
認識結果を訂正したいという場合であるので、次のステ
ップS610でその訂正を許容するのである。
If "NO" is determined in the step S608, the CPU 60 is determined in the next step S609.
Determines whether the menu key 34 or the set key 40 (both in FIG. 2) has been operated. When either the menu key 34 or the set key 40 is operated,
In the next step S610, the correction 3 routine is executed. That is, if either the menu key 34 or the set key 40 is operated after correctly recognizing each character of the handwritten address information, it means that the operator wants to correct the recognition result of the address information. The correction is permitted in S610.

【0116】ステップS609において”NO”と判断
された場合には、ステップS611において、スタート
キー54(図2)が操作されたかどうかを判断する。ス
タートキー54が操作されると、直ちにステップS61
5に進む。一方、このステップS611において”N
O”と判断されると、ステップS612においてテガキ
キー59(図2)が操作されたかどうかを判断する。
If "NO" is determined in the step S609, it is determined whether or not the start key 54 (FIG. 2) is operated in a step S611. When the start key 54 is operated, the step S61 is immediately executed.
Go to 5. On the other hand, in this step S611, "N
If it is determined to be "O", it is determined in step S612 whether or not the touch key 59 (FIG. 2) has been operated.

【0117】ステップS612において”NO”と判断
すると、次のステップS614において、先のステップ
S605においてトリガしたタイマカウンタTMがメモ
リスイッチCTとして設定した可変数値に相当する時間
の経過をカウントしたか否かを判断し、カウントされな
い限り処理をステップS606に戻し、カウントされる
とステップS615に処理を進める。尚、メモリスイッ
チCTとして「0」が設定されている場合には、タイマ
カウンタTMのカウントとは無関係に常に処理をステッ
プS606に戻す。
If "NO" is determined in the step S612, in the next step S614, it is determined whether or not the timer counter TM triggered in the previous step S605 has counted the elapsed time corresponding to the variable value set as the memory switch CT. Is determined, the process returns to step S606 unless counted, and if counted, the process proceeds to step S615. If "0" is set as the memory switch CT, the process is always returned to step S606 regardless of the count of the timer counter TM.

【0118】一方、ステップS612において”YE
S”と判定されると、ステップS613において先のス
テップS518(図23)と同様に確認プリントを実行
した後、ステップS604に処理を戻す。即ち、手書き
宛先情報の各文字を正しく認識した後の認識結果の表示
中にテガキキー59が操作されると、確認プリントを任
意に実行でき、オペレータの所望分だけの確認プリント
を得ることができる。また、ステップS613における
確認プリント後には、処理はステップS604に戻るた
め、メモリスイッチCTに可変数値が設定されている場
合には、再度ステップS605でタイマカウントがリス
タートされ、確認プリント結果により手書き宛先情報の
確認のための時間的余裕ができる。
On the other hand, in step S612, "YE
If it is determined to be "S", the confirmation print is executed in step S613 as in step S518 (FIG. 23), and the process returns to step S604. That is, after each character of the handwriting destination information is correctly recognized. If the keypad key 59 is operated while the recognition result is displayed, the confirmation print can be arbitrarily executed, and the confirmation print can be obtained as much as desired by the operator, and after the confirmation print in step S613, the process is step S604. Therefore, if a variable numerical value is set in the memory switch CT, the timer count is restarted again in step S605, and there is a time margin for confirming the handwritten address information based on the confirmation print result.

【0119】ステップS611では、ダイヤルバッファ
にストアされているスペースを示すキャラクタコードを
「;(セミコロン)」を示すコードに置換し、それをL
CD36で表示する。つまり、このステップS615で
は、ダイヤルバッファ70にストアされたスペースコー
ドをポーズデータである「;」のコードに置換する。そ
して、次のステップS616において、ダイヤルバッフ
ァ70にストアされているキャラクタコードに従ってD
TMF発生回路110を制御して、ダイヤル動作を実行
する。
In step S611, the character code indicating the space stored in the dial buffer is replaced with the code indicating ";(semicolon)", and the character code is changed to L.
Display on CD36. That is, in this step S615, the space code stored in the dial buffer 70 is replaced with the code of ";" which is the pause data. Then, in the next step S616, D is set according to the character code stored in the dial buffer 70.
The TMF generating circuit 110 is controlled to execute the dial operation.

【0120】その後、図25に示すステップS617に
おいて、宛先情報で特定される相手先からの応答信号が
あるかどうかをNCU114からの信号に基づいてCP
U60が判断する。もし応答がなければ、ステップS6
18で表される周知のリダイヤル動作を実行する。
Then, in step S617 shown in FIG. 25, it is determined whether or not there is a response signal from the partner specified by the destination information, based on the signal from NCU 114.
U60 makes the decision. If there is no response, step S6
A known redial operation represented by 18 is executed.

【0121】ステップS617で応答が検出されると、
ステップS619において「フェーズB」が実行され、
相手先ファクシミリ装置との間で能力ないし機能の確認
が行われる。そして、次のステップS620において、
CPU60は、読取系のセットアップを行う。具体的に
は、送信モータ90を駆動するとともに、オペレータが
画質選択キー44(図2)を操作することによって指定
した送信モード、例えばファインモード、中間調モード
あるいはノーマルモードを設定する。即ち、手書き宛先
情報を認識する場合は、オペレータの設定したモードの
如何にかかわらず、強制的にファインモードを選択し
た。そして、宛先情報を認識した後送信原稿に記入され
ている送信データを送信する場合には、オペレータが当
初に設定した送信モードを実行するのである。そして、
ステップS621で発信元情報をモデム104からNC
U114を介して電話回線に送出する。
When a response is detected in step S617,
“Phase B” is executed in step S619,
The capability or function is confirmed with the destination facsimile machine. Then, in the next step S620,
The CPU 60 sets up the reading system. Specifically, the transmission motor 90 is driven and the transmission mode designated by the operator by operating the image quality selection key 44 (FIG. 2), for example, the fine mode, the halftone mode or the normal mode is set. That is, when recognizing the handwritten address information, the fine mode is forcibly selected regardless of the mode set by the operator. Then, when the transmission data written in the transmission original is transmitted after recognizing the destination information, the transmission mode initially set by the operator is executed. And
In step S621, the source information is transferred from the modem 104 to the NC.
It is sent to the telephone line via U114.

【0122】ステップS622では、CPU60は、先
読みフラッグSFがセットされているかどうか、即ち、
ラインバッファ68の中に既に読み込んだ宛先情報のイ
メージデータがあるかどうかが判断される。そして、こ
のステップS622において”YES”が判断される
と、次のステップS623において、CPU60は、白
送信カウンタWLSC(図6)を、原稿送りカウンタP
CNT及び書込ラインカウンタLCNTのカウント値に
従って計算する。即ち、原稿送りカウンタPCNTは、
手書き宛先情報を認識するためにCIS100で既に読
み取った原稿のらいんすうを示し、書込ラインカウンタ
LCNTは、ラインバッファ68に書き込まれたイメー
ジデータのライン数を示している。従って、原稿送りカ
ウンタPCNTのカウント値から手書き宛先情報の記入
領域のライン数すなわち書込ラインカウンタLCNTの
カウント値を引くことにより、原稿の上端に形成された
余白のライン数が計算できる。但し、図8に示すように
ラインバッファ68の第1ラインには何のデータも書き
込んでいないので、そのラインも白ラインであるため、
ステップS623において「−1」が必要となるのであ
る。このようにして、ステップS623で、手書き宛先
情報が記入されている領域より上の原稿の余白ライン数
が計算される。従って、ステップS624では、この計
算された白送信カウンタWLSCのカウント値に応じ
て、全白ライン送信ルーチンを実行する。
In step S622, the CPU 60 determines whether or not the prefetch flag SF is set, that is,
It is determined whether or not the line buffer 68 has image data of the destination information already read. When "YES" is determined in this step S622, the CPU 60 sets the white transmission counter WLSC (FIG. 6) to the document feed counter P in the next step S623.
Calculation is performed according to the count values of the CNT and the write line counter LCNT. That is, the document feeding counter PCNT is
In order to recognize the handwriting destination information, the CIS 100 reads the original document, and the write line counter LCNT indicates the number of lines of the image data written in the line buffer 68. Therefore, the number of blank lines formed at the upper end of the document can be calculated by subtracting the line number of the writing area of the handwritten address information, that is, the count value of the writing line counter LCNT from the count value of the document feed counter PCNT. However, as shown in FIG. 8, since no data is written in the first line of the line buffer 68, the line is also a white line.
"-1" is required in step S623. In this way, in step S623, the number of blank lines of the document above the area where the handwritten address information is written is calculated. Therefore, in step S624, the all-white line transmission routine is executed according to the calculated count value of the white transmission counter WLSC.

【0123】次のステップS625において、CPU6
0は、エラーフラッグEFがリセットされているかどう
かを判断する。もし、このエラーフラッグEFがセット
されていれば、手書き宛先情報記入領域に記入された文
字を送信データとして送信する必要があるので、ステッ
プS626において、さらに、送信設定モードスイッチ
NDMODEが「0」として設定されているかどうか、
すなわち、認識のために読み取った手書き宛先情報のイ
メージデータを送信データの一部として送信するか否か
を判断する。従って、このステップS626において”
YES”と判断されると、次のステップS627におい
て、ラインバッファ68にストアされているイメージデ
ータの第2ラインから第(LCNT)番目のラインまで
のイメージデータを先のステップS620で決定された
送信モードに従って送信する。
At the next step S625, the CPU 6
0 determines whether the error flag EF has been reset. If this error flag EF is set, it is necessary to transmit the characters entered in the handwriting destination information entry area as transmission data. Therefore, in step S626, the transmission setting mode switch NDMODE is set to "0". Whether it is set,
That is, it is determined whether or not the image data of the handwritten address information read for recognition is transmitted as a part of the transmission data. Therefore, in this step S626, "
If "YES" is determined, in the next step S627, the image data from the second line to the (LCNT) th line of the image data stored in the line buffer 68 is transmitted in the step S620. Send according to the mode.

【0124】尚、スイッチNSMODEが「1」で設定
されている場合には、ステップS628において、白ラ
イン送信カウンタWLSCを書込ラインカウンタLCN
Tのカウント値に基づいて決定する。そして、次のステ
ップS629において、先のステップS624と同様に
して、その白ライン送信カウンタWLSCで示される数
の全白ラインを送信する。ステップS627またはS6
29を実行後、図26に示すステップS630〜S63
4において、通常のファクシミリ送信と同様に原稿の送
信データをステップS620で設定された送信モードに
従ってそすしんする。そして、ステップS634におい
て、読取系を停止する。
When the switch NSMODE is set to "1", the white line transmission counter WLSC is set to the write line counter LCN in step S628.
It is determined based on the count value of T. Then, in the next step S629, all white lines of the number indicated by the white line transmission counter WLSC are transmitted in the same manner as in step S624. Step S627 or S6
After executing 29, steps S630 to S63 shown in FIG.
In step 4, the transmission data of the original is sent in accordance with the transmission mode set in step S620 as in the normal facsimile transmission. Then, in step S634, the reading system is stopped.

【0125】このようにして、送信原稿上に手書きされ
た宛先情報の各文字を認識し、その認識結果に基づい
て、スタートキー54の操作に応答してまたは自動的に
ダイヤル動作を実行し、原稿の送信データを相手先ファ
クシミリ装置に送信することができる。
In this way, each character of the destination information handwritten on the transmission original is recognized, and the dial operation is executed in response to the operation of the start key 54 or automatically based on the recognition result. The transmission data of the original can be transmitted to the destination facsimile machine.

【0126】次に、図27を参照して、先のステップS
524(図23)で実行される訂正1ルーチンについて
説明する。図27の最初のステップS700では、CP
U60は、例えばスピーカ128やLCD36を用い
て、オペレータにエラーが発生したことを報知する。そ
の後、ステップS701で停止/クリアキー54の操作
が検出されると、手動入力モードに移行すべく処理をス
テップS800に進める。また、ステップS702にお
いて、オペレータがテンキー16を操作したかどうかを
検出する。もしテンキー16が操作されれば、ステップ
S703において、その操作されたテンキーの数字を表
すキャラクタコードをダイヤルバッファ70の「X」の
キャラクタコードと置換する。即ち、このステップS7
03で、オペレータがテンキー16を操作することによ
って、エラー表示された文字を訂正することができる。
Next, referring to FIG. 27, the previous step S
The correction 1 routine executed at 524 (FIG. 23) will be described. In the first step S700 of FIG. 27, the CP
The U 60 notifies the operator that an error has occurred by using, for example, the speaker 128 or the LCD 36. After that, when the operation of the stop / clear key 54 is detected in step S701, the process proceeds to step S800 to shift to the manual input mode. In step S702, it is detected whether the operator has operated the ten-key pad 16. If the numeric keypad 16 is operated, the character code representing the numeral of the operated numeric keypad is replaced with the character code of "X" in the dial buffer 70 in step S703. That is, this step S7
In 03, the operator operates the ten-key pad 16 to correct the error-displayed character.

【0127】図28は、ステップS602およびS61
0で実行される訂正2ルーチン及び訂正3ルーチンを示
す。訂正2ルーチン及び訂正3ルーチンはほぼ同じ動作
であるため、ここでは図28を参照して一緒に説明す
る。
FIG. 28 shows steps S602 and S61.
2 shows a correction 2 routine and a correction 3 routine executed at 0. Since the correction 2 routine and the correction 3 routine have almost the same operation, they will be described here together with reference to FIG.

【0128】訂正ルーチン3のステップS711でCP
U60は、セットキー40が操作されたかどうかを判断
する。セットキー40が操作されていれば、ステップS
710において、LCD36において表示された認識結
果(S514)の先頭位置にカーソル38(図2)を表
示する。逆に、セットキー40が押されていない場合、
すなわちメニューキー34が操作された場合には、次の
ステップS712において、LCD36において表示さ
れた認識結果の末尾の位置にカーソル38を表示する。
一方、訂正2ルーチンでは、先に説明したステップS7
10が直ちに処理される。つまり、訂正2ルーチンと訂
正3ルーチンとは、メニューキー34あるいはセットキ
ー40に応答して開始されるか、これらキーの操作とは
無関係に開始されるかの違いだけであり、ステップS7
13以降の動作は同じである。
In step S711 of the correction routine 3, CP
U60 determines whether the set key 40 has been operated. If the set key 40 is operated, step S
At 710, the cursor 38 (FIG. 2) is displayed at the head position of the recognition result (S514) displayed on the LCD 36. Conversely, if the set key 40 is not pressed,
That is, when the menu key 34 is operated, the cursor 38 is displayed at the end position of the recognition result displayed on the LCD 36 in the next step S712.
On the other hand, in the correction 2 routine, step S7 described above is executed.
10 are processed immediately. In other words, the correction 2 routine and the correction 3 routine are different only in that they are started in response to the menu key 34 or the set key 40 or independently of the operation of these keys, and step S7
The operations after 13 are the same.

【0129】ステップS713では、操作パネル14の
何らかのキーが操作されたかどうかを判断する。キー操
作があれば、次のステップS714において、停止/ク
リアキー52が操作されたかどうかを判断する。このス
テップS714において”YES”と判断されると、ス
テップS800(図29)に進む。即ち、この場合、宛
先情報の認識結果によらず、手動的に入力された宛先情
報に従って送信動作を実行することとなる。
In step S713, it is determined whether any key on the operation panel 14 has been operated. If there is a key operation, in the next step S714, it is determined whether or not the stop / clear key 52 has been operated. If "YES" is determined in this step S714, the process proceeds to step S800 (FIG. 29). That is, in this case, the transmission operation is executed according to the manually input destination information regardless of the recognition result of the destination information.

【0130】そして、ステップS714において”N
O”が判断されると、次のステップS715において、
CPU60は、スタートキー54が操作されたかどうか
を判断する。スタートキー54が操作されたのであれ
ば、ステップS716において、ダイヤルバッファ70
に「X」のキャラクタコードが存在するかどうかを判断
する。アルファベット「X」のキャラクタコードが存在
しない状態になって初めて、この訂正ルーチンを抜け
る。従って、「X」のキャラクタコードがある場合に
は、先のステップS713に戻る。
Then, in step S714, "N
If "O" is determined, in the next step S715,
The CPU 60 determines whether the start key 54 has been operated. If the start key 54 has been operated, in step S716 the dial buffer 70
It is determined whether or not there is a character code of "X". The correction routine is exited only when the character code of the alphabet "X" does not exist. Therefore, if there is a character code of "X", the process returns to the previous step S713.

【0131】停止/クリアキー52またはスタートキー
54が操作されなかった場合には、ステップS717に
おいて、CPU60は、テンキー16が操作されたかど
うかを判断する。もし、テンキー16が操作されたので
あれば、次のステップS718において、ダイヤルバッ
ファ70のカーソル38で示される位置のキャラクタコ
ードがテンキーによって入力された数値のキャラクタコ
ードに置換される。
When the stop / clear key 52 or the start key 54 has not been operated, the CPU 60 determines in step S717 whether the ten key 16 has been operated. If the numeric keypad 16 has been operated, in the next step S718, the character code at the position indicated by the cursor 38 in the dial buffer 70 is replaced with the numeric character code input by the numeric keypad.

【0132】ステップS717において”NO”と判断
された場合には、ステップS719でメニューキー34
が操作されたかどうかを判断する。メニューキー34が
操作されたのであれば、カーソル38(図2)を左方向
に1桁分移動させる(ステップS720)。そして、ス
テップS719において”NO”と判断されると、ステ
ップS721において、セットキー40が操作されたか
どうかを判断する。セットキー40が操作されたのであ
れば、カーソル38を右方向に1桁分移動させる(ステ
ップS722)。そして、ステップS718、S720
またはS722を実行した後、先のステップS716に
おいて、CPU60は、ダイヤルバッファ70に「X」
のキャラクタコードが存在するかどうかを判断する。こ
のようにして、手書き宛先情報を認識した際に発生した
リジェクト文字についての訂正が行える。
If "NO" is determined in the step S717, the menu key 34 is pressed in a step S719.
To determine if was operated. If the menu key 34 has been operated, the cursor 38 (FIG. 2) is moved leftward by one digit (step S720). Then, if "NO" is determined in the step S719, it is determined whether or not the set key 40 is operated in a step S721. If the set key 40 has been operated, the cursor 38 is moved rightward by one digit (step S722). Then, steps S718 and S720.
Alternatively, after executing S722, in the previous step S716, the CPU 60 stores "X" in the dial buffer 70.
Judge whether or not the character code of exists. In this way, the reject character generated when the handwritten address information is recognized can be corrected.

【0133】図29には、宛先情報を手動的に入力する
際の動作が示される。この図29の最初のステップS8
00では、CPU60は、ダイヤルバッファ70をクリ
アする。そして、次のステップS801では、CPU6
0は、LCD36に、例えば「バンゴウヲニュウリョク
シテクダサイ」のようなメッセージを表示し、オペレー
タが手動的にテンキー16等を操作して宛先情報を入力
するのを待つ。そして、ステップS802では、CPU
60は、コピーキー58が操作されたかどうかを判断す
る。コピーキー58が操作されたのであれば、ステップ
S803においてコピールーチンを実行した後、ステッ
プS101すなわち待機状態に戻る。また、ステップS
804では、停止/クリアキー52が操作されたかどう
か判断する。このステップS804で”YES”と判断
されると、ステップS805において原稿を排出した
後、待機状態に戻る。
FIG. 29 shows the operation for manually inputting the destination information. The first step S8 in FIG. 29
At 00, the CPU 60 clears the dial buffer 70. Then, in the next step S801, the CPU 6
0 displays a message such as “Bangou Wangryokuteki” on the LCD 36, and waits for the operator to manually operate the ten keys 16 or the like to input the destination information. Then, in step S802, the CPU
Reference numeral 60 determines whether or not the copy key 58 has been operated. If the copy key 58 has been operated, the copy routine is executed in step S803, and then the process returns to step S101, that is, the standby state. Also, step S
At 804, it is determined whether the stop / clear key 52 has been operated. If "YES" is determined in the step S804, the original is discharged in a step S805, and then the standby state is returned.

【0134】次のS806ステップにおいて、CPU6
0は、テガキキー59が操作されたかどうかを判断す
る。テガキキー59が操作されたのであれば、CPU6
0は、ステップS807において、自動認識移行可否フ
ラッグCAFがセットされず、かつ、先読みフラッグS
Fがセットされているか否かを判断し、”YES”と判
断されると、宛先情報の手動入力モードから自動認識モ
ードへ移行すべく、ステップS500に処理を戻しライ
ンバッファ68にストアされているイメージデータに対
する認識処理を再開する。一方、S806ステップにお
いて”NO”と判断すると、このテガキキー59操作を
無効とする。即ち、自動認識移行可否フラッグCAFが
セットされず、かつ、先読みフラッグSFがセットされ
ているということは、つまり、ラインバッファ68に手
書き宛先情報のイメージデータが格納されており、この
データに基づいて宛先情報の自動認識を行うことが可能
であることを示すものである。
At the next step S806, the CPU 6
A value of 0 determines whether or not the touch key 59 is operated. If the touch key 59 is operated, the CPU 6
In step S807, the automatic recognition shift flag CAF is not set, and the prefetch flag S is 0.
If F is set, and if "YES" is determined, the processing is returned to step S500 and stored in the line buffer 68 in order to shift from the manual input mode of the destination information to the automatic recognition mode. The recognition process for the image data is restarted. On the other hand, if "NO" is determined in the step S806, the operation of the playing key 59 is invalidated. That is, the fact that the automatic recognition shift flag CAF is not set and the prefetch flag SF is set means that the image data of the handwriting destination information is stored in the line buffer 68, and based on this data. This shows that the destination information can be automatically recognized.

【0135】ステップS808において、CPU60
は、テンキー16が操作されたかどうか判断する。テン
キーが操作されなかった場合には、ステップS809で
他のキーかどうかを判断し、次のステップS810で、
その他のキーに対応する処理を実行する。
In step S808, the CPU 60
Determines whether the ten key 16 has been operated. If the numeric keypad has not been operated, it is determined in step S809 whether it is another key, and in the next step S810,
Perform the process corresponding to the other keys.

【0136】テンキーが操作された場合には、ステップ
S811において、CPU60は、テンキー16によっ
て入力された宛先情報の数値のキャラクタコードをダイ
ヤルバッファ70にセットする。そして、ステップS8
12において、スタートキー54が操作されるのを待
つ。ステップS812において、スタートキー54が操
作されると、CPU60は、ステップS616(図2
4)に進む。
When the ten key is operated, the CPU 60 sets the numerical character code of the destination information input by the ten key 16 in the dial buffer 70 in step S811. Then, step S8
At 12, the operation waits for the start key 54 to be operated. When the start key 54 is operated in step S812, the CPU 60 causes step S616 (see FIG. 2).
Proceed to 4).

【0137】ステップS607やステップS803にお
いて実行されるコピールーチンが、第30図に示され
る。コピールーチンの最初のステップS900では、C
PU60は、読取系のセットアップを行う。即ち、送信
モータ90を駆動するとともにCIS100および画処
理回路98をステップS620で決定された送信モード
に従って設定する。そして、次のステップS901にお
いて、印字系のセットアップを行う。即ち、このステッ
プS901では、CPU60は、モータ制御回路88に
指令信号を与え、受信モータ92(図3)を駆動する。
そして、次のステップS902では、CPU60は、先
読みフラッグSFがセットされているかどうかを判断す
る。先読みフラッグSFがセットされていれば、手書き
宛先情報記入領域からCIS100で読み取り、ライン
バッファ68にストアされているイメージデータをコピ
ーイメージとして印字する必要があるので、ステップS
903〜S905を実行する。即ち、ステップS903
では、先のステップS623(図25)と同じように、
白ライン送信カウンタWLSCを原稿送りカウンタPC
NT及び書込ラインカウンタLCNTのカウント値に基
づいて決定する。そして、次のステップS904では、
ステップS903で決定された白ライン送信カウンタW
LSCのカウント値に応じたライン数だけ、ファクシミ
リ用紙(記録紙)を受信モータ92によって送る。次い
で、ステップS905において、ラインバッファ68の
第2ライン〜第(LCNT)ラインのイメージデータを
サーマルヘッド84によってファクシミリ用紙(記録
紙)に印字する。
The copy routine executed in step S607 or step S803 is shown in FIG. In the first step S900 of the copy routine, C
The PU 60 sets up the reading system. That is, the transmission motor 90 is driven and the CIS 100 and the image processing circuit 98 are set according to the transmission mode determined in step S620. Then, in the next step S901, the printing system is set up. That is, in this step S901, the CPU 60 gives a command signal to the motor control circuit 88 to drive the receiving motor 92 (FIG. 3).
Then, in the next step S902, the CPU 60 determines whether or not the prefetch flag SF is set. If the prefetch flag SF is set, it is necessary to read the image data stored in the line buffer 68 with the CIS 100 from the handwritten address information entry area and print it as a copy image.
903 to S905 are executed. That is, step S903
Then, as in step S623 (FIG. 25),
White line transmission counter WLSC is the original feeding counter PC
It is determined based on the count values of NT and the write line counter LCNT. Then, in the next step S904,
White line transmission counter W determined in step S903
The reception motor 92 sends the facsimile paper (recording paper) by the number of lines corresponding to the count value of the LSC. Next, in step S905, the thermal head 84 prints the image data of the second line to the (LCNT) line of the line buffer 68 on the facsimile paper (recording paper).

【0138】その後、先読みフラッグSFがセットされ
ていない場合と同様に、ステップS906〜S909が
実行される。即ち、このステップS906〜S909で
は、原稿の本文の部分がコピーされる。そして、ステッ
プS909においてコピーの終了が検出されると、ステ
ップS910において、CPU60は、読取系及び印字
系を停止する。
Thereafter, steps S906 to S909 are executed as in the case where the prefetch flag SF is not set. That is, in steps S906 to S909, the body portion of the original is copied. Then, when the end of copying is detected in step S909, the CPU 60 stops the reading system and the printing system in step S910.

【0139】図31は、ステップS624またはS62
9で実行される全白ライン送信ルーチンを示すフロー図
である。この図31の最初のステップS920では、C
PU60は、白ライン送信カウンタWLSCを、ステッ
プS620で決定された送信モードに従って変更する。
例えば、オペレータが設定した送信モードがノーマルモ
ードである場合には、白ライン送信カウンタWLSCの
カウント値を1/2する。なぜなら、白ライン送信カウ
ンタWLSCは、ファインモードにおけるライン数をカ
ウントしているからである。そして、次のステップS9
21では、ラインバッファ68の第1ラインのイメージ
データ(全白ラインのイメージデータ)を読み出し、決
定された送信モードに従って送信する。そして、ステッ
プS922では、白ライン送信カウンタWLSCがディ
クリメントされ、ステップS923では、白ライン送信
カウンタWLSCのカウント値が「0」になったかどう
か、すなわち送信すべき全白ラインの全てが送信された
かどうかを判断する。
FIG. 31 shows steps S624 and S62.
It is a flowchart which shows the all white line transmission routine performed by 9. In the first step S920 in FIG. 31, C
The PU 60 changes the white line transmission counter WLSC according to the transmission mode determined in step S620.
For example, when the transmission mode set by the operator is the normal mode, the count value of the white line transmission counter WLSC is halved. This is because the white line transmission counter WLSC counts the number of lines in the fine mode. Then, the next step S9
In step 21, the image data of the first line (image data of all white lines) in the line buffer 68 is read out and transmitted according to the determined transmission mode. Then, in step S922, the white line transmission counter WLSC is decremented, and in step S923 whether or not the count value of the white line transmission counter WLSC has become “0”, that is, whether all the white lines to be transmitted have been transmitted. Determine whether

【0140】[0140]

【発明の効果】本発明によれば、原稿上に記入された電
話番号情報を認識しその認識結果に基づいて自動的にダ
イヤル発信を実行する自動認識モードと手動入力により
入力された電話番号情報に従ってダイヤル発信を行う手
動入力モードとを選択切換可能な装置において、不所望
に自動認識モードが実行を開始した場合であっても開始
直後の電話番号情報の読取時には、第1の特定キー(停
止/クリアキー52)を操作することにより、直ちに原
稿が排出され、所望する動作(手動入力モードでの送
信、コピー等)を速やかにやり直すことができる。ま
た、自動認識モードにおける電話番号情報の読取に続く
切出及び認識動作中に上記第1の特定キーが操作された
場合には、原稿を排出することなく切出及び認識動作を
中止するだけであるので、直前に保持手段に読み込まれ
たイメージデータを利用して所望する動作を実行できる
ため、再度原稿をセットし直す必要がなく、操作時間を
短縮できる。更に、この時保持手段中のイメージデータ
を印字出力することにより、このイメージデータを確認
でき、以後の動作の選択が容易となる。更に、上記第1
の特定キーにより中断された切出及び認識動作を第2の
特定キー操作により再開できるので、不所望な第1の特
定キー操作により自動認識モードの動作が中断された場
合であっても、簡単に再開でき、操作性が向上する。更
に、この第2の特定キーを自動認識モードと手動入力モ
ードとを選択切換するためのキー(テガキキー59)と
したことにより、このような操作の操作方法をオペレー
タが理解しやすくなり更なる操作性の向上を期待でき
る。更には、切出及び認識動作中断時に上記第1の特定
キーが再度操作されると原稿の排出を行うもので、これ
は電話番号情報の読取時の原稿排出と同一であるため、
オペレータにおける操作方法の理解が容易となり、操作
性の向上を計れる。
According to the present invention, the telephone number information input by the manual recognition mode and the automatic recognition mode in which the telephone number information written on the manuscript is recognized and the dial transmission is automatically executed based on the recognition result. In the device capable of selectively switching between the manual input mode for dialing according to the above, even when the automatic recognition mode is undesirably started to execute, when reading the telephone number information immediately after the start, the first specific key (stop By operating the / clear key 52), the original is immediately discharged, and the desired operation (transmission in the manual input mode, copying, etc.) can be quickly redone. Further, when the first specific key is operated during the cutout and recognition operation following the reading of the telephone number information in the automatic recognition mode, the cutout and recognition operation is simply stopped without discharging the document. Therefore, since the desired operation can be executed by using the image data read in the holding means immediately before, it is not necessary to set the original again, and the operation time can be shortened. Further, at this time, by printing out the image data in the holding means, the image data can be confirmed and the subsequent operation can be easily selected. Furthermore, the first
Since the cutout and recognition operation interrupted by the specific key of No. 2 can be restarted by the operation of the second specific key, even if the operation of the automatic recognition mode is interrupted by the operation of the undesired first specific key, It can be restarted and the operability is improved. Further, since the second specific key is a key (tegaki key 59) for selectively switching between the automatic recognition mode and the manual input mode, the operator can easily understand the operation method of such operation, and further operation is possible. It can be expected to improve the sex. Furthermore, when the cutout and recognition operation is interrupted, the original is ejected when the first specific key is operated again, and this is the same as the original ejection when reading the telephone number information.
The operator can easily understand the operation method and the operability can be improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例を示す斜視図である。FIG. 1 is a perspective view showing an embodiment of the present invention.

【図2】図1に示す実施例の操作パネルを詳細に示す斜
視図である。
FIG. 2 is a perspective view showing in detail an operation panel of the embodiment shown in FIG.

【図3】図1に示す実施例の全体構成を示すブロック図
である。
FIG. 3 is a block diagram showing the overall configuration of the embodiment shown in FIG.

【図4】図3に示すROMの記憶領域を示す図解図であ
る。
FIG. 4 is an illustrative view showing a storage area of a ROM shown in FIG.

【図5】図3に示すVRAMの記憶領域を示す図解図で
ある。
5 is an illustrative view showing a storage area of the VRAM shown in FIG. 3. FIG.

【図6】図3に示すSRAMの記憶領域を示す図解図で
ある。
FIG. 6 is an illustrative view showing a storage area of the SRAM shown in FIG.

【図7】図1に示す実施例の記入ガイドを詳細に示す図
解図である。
7 is an illustrative view showing in detail a writing guide of the embodiment shown in FIG. 1. FIG.

【図8】図5に示すラインバッファを詳細に示す図解図
である。
FIG. 8 is an illustrative view showing the line buffer shown in FIG. 5 in detail.

【図9】図6に示す第1文字データテーブル(第2文字
データテーブル)を示す図解図である。
9 is an illustrative view showing a first character data table (second character data table) shown in FIG. 6. FIG.

【図10】図1に示す実施例の読取部の構成を示す図解
図である。
FIG. 10 is an illustrative view showing a configuration of a reading unit of the embodiment shown in FIG.

【図11】図3に示すNCUを詳細に示すブロック図で
ある。
FIG. 11 is a block diagram showing the NCU shown in FIG. 3 in detail.

【図12】本実施例の全体動作を示す概略フロー図であ
る。
FIG. 12 is a schematic flowchart showing the overall operation of this embodiment.

【図13】初期化及び操作チェックの動作を示すフロー
図である。
FIG. 13 is a flowchart showing operations of initialization and operation check.

【図14】自動認識切換及び記入ガイドプリントの動作
を示すフロー図である。
FIG. 14 is a flowchart showing the operations of automatic recognition switching and entry guide printing.

【図15】自動認識可否チェックの動作を示すフロー図
である。
FIG. 15 is a flowchart showing an operation of automatic recognition availability check.

【図16】宛先情報の有無チェック御良い宛先情報のイ
メージデータの取り込み動作を示すフロー図である。
FIG. 16 is a flow chart showing an operation of fetching image data of destination information that is checked for presence / absence of destination information.

【図17】図16に続く動作を示すフロー図である。FIG. 17 is a flowchart showing the operation following FIG. 16.

【図18】第1文字データテーブル(第2文字データテ
ーブル)にセットされる各データを示す図解図である。
FIG. 18 is an illustrative view showing each data set in a first character data table (second character data table).

【図19】第1文字データテーブルのデータを第2文字
データテーブルに書き込む状態を示す図解図である。
FIG. 19 is an illustrative view showing a state in which data in the first character data table is written in the second character data table.

【図20】宛先情報の各文字を切り出すステップの動作
を示すフロー図である。
FIG. 20 is a flowchart showing an operation of a step of cutting out each character of destination information.

【図21】図20に続く動作を示すフロー図である。FIG. 21 is a flowchart showing an operation following FIG. 20.

【図22】認識ステップの動作を示すフロー図である。FIG. 22 is a flowchart showing the operation of the recognition step.

【図23】図23に続く動作を示すフロー図である。23 is a flowchart showing the operation following FIG. 23. FIG.

【図24】送信ステップの動作を示すフロー図である。FIG. 24 is a flowchart showing an operation of a transmitting step.

【図25】図24に続く動作を示すフロー図である。FIG. 25 is a flowchart showing an operation following FIG. 24.

【図26】図25に続く動作を示すフロー図である。FIG. 26 is a flowchart showing an operation following FIG. 25.

【図27】訂正1ルーチンを示すフロー図である。FIG. 27 is a flowchart showing a correction 1 routine.

【図28】訂正2ルーチン及び訂正3ルーチンを示すフ
ロー図である。
FIG. 28 is a flowchart showing a correction 2 routine and a correction 3 routine.

【図29】宛先情報を手動的に入力するときの動作を示
すフロー図である。
FIG. 29 is a flowchart showing an operation when manually inputting destination information.

【図30】コピールーチンを示すフロー図である。FIG. 30 is a flowchart showing a copy routine.

【図31】全白ライン送信ルーチンを示すフロー図であ
る。
FIG. 31 is a flowchart showing an all-white line transmission routine.

【符号の説明】[Explanation of symbols]

10 ・・・ファクシミリ装置 14 ・・・操作パネル 16 ・・・テンキー 36 ・・・LCD 52 ・・・停止/クリアキー 54 ・・・スタートキー 59 ・・・テガキキー 60 ・・・CPU 64 ・・・ROM 66 ・・・VRAM 68 ・・・ラインバッファ 70 ・・・ダイヤルバッファ 72 ・・・第1文字データテーブル 74 ・・・第2文字データテーブル 76 ・・・SRAM 84 ・・・サーマルヘッド 90 ・・・送信モータ 92 ・・・受信モータ 152・・・LED 10 ... Facsimile machine 14 ・ ・ ・ Operation panel 16 ・ ・ ・ Numeric keypad 36 ... LCD 52 ・ ・ ・ Stop / Clear key 54 ・ ・ ・ Start key 59 ・ ・ ・ Tegaki key 60 ... CPU 64 ROM 66 ... VRAM 68 ・ ・ ・ Line buffer 70 ・ ・ ・ Dial buffer 72 ... First character data table 74 ... Second character data table 76 ... SRAM 84 ・ ・ ・ Thermal head 90 ... Transmission motor 92 ・ ・ ・ Reception motor 152 ... LED

───────────────────────────────────────────────────── フロントページの続き (72)発明者 岸田 達治 鳥取県鳥取市南吉方3丁目201番地 鳥 取三洋電機株式会社内 (72)発明者 高田 幸一 鳥取県鳥取市南吉方3丁目201番地 鳥 取三洋電機株式会社内 (72)発明者 田中 淳司 鳥取県鳥取市南吉方3丁目201番地 鳥 取三洋電機株式会社内 (56)参考文献 特開 平5−199392(JP,A) 特開 平7−79340(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/32 - 1/34 H04N 1/00 - 1/00 108 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Tatsuharu Kishida 3-201 Minamiyoshikata, Tottori City, Tottori Prefecture Tottori Sanyo Electric Co., Ltd. (72) Inventor Koichi Takada 3-201 Minamiyoshikata, Tottori City Tottori Prefecture Tottori Sanyo Electric Co., Ltd. (72) Inventor Junji Tanaka Tottori City, Tottori City, Minamiyoshikata 3-chome 201 Tottori Sanyo Electric Co., Ltd. (56) Reference JP 5-199392 (JP, A) JP JP 7- 79340 (JP, A) (58) Fields surveyed (Int.Cl. 7 , DB name) H04N 1/32-1/34 H04N 1/00-1/00 108

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 原稿上の認識対象となる電話番号情報を
読み取る手段と、該読取手段で読み取られた上記電話番
号情報のイメージデータを保持する手段と、該保持手段
より1文字毎のイメージデータを切り出す手段と、該切
出手段より切り出された1文字毎のイメージデータを順
次認識する手段と、該認識手段の認識結果に基づいてダ
イヤル発信を行う手段とを備え、原稿に記載された電話
番号情報を自動的に認識してダイヤル発信を実行する通
信端末装置であって、 更に、上記読取手段にセットされている原稿を排出する
手段と、第1の特定キーと、上記保持手段中のイメージ
データを印字出力する手段と、読取手段による上記認識
対象となる電話番号情報の読取中に上記第1の特定キー
が入力されたことを検出すると上記読取を終了させると
共に上記原稿を排出するように上記読取手段及び上記排
出手段を制御し、かつ上記切出手段または上記認識手段
の動作中に上記第1の特定キーが入力されたことを検出
すると上記切出または認識を終了させるように上記切出
手段または上記認識手段を制御すると共に上記原稿を排
出することなく、上記保持手段中のイメージデータを印
字出力する様に上記印字出力手段を制御する手段と、
備えたことを特徴とする通信端末装置。
1. A means for reading telephone number information to be recognized on a manuscript, a means for holding image data of the telephone number information read by the reading means, and image data for each character by the holding means. And a means for sequentially recognizing the image data of each character cut out by the cutting means, and a means for dialing based on the recognition result of the recognition means. A communication terminal device for automatically recognizing number information and executing dial transmission, further comprising means for discharging a document set in the reading means, a first specific key, and the holding means. image
The above-mentioned recognition by means for printing out data and reading means
The above first specific key while reading the target telephone number information
When the above is detected when it is detected that
Both the reading means and the ejector are arranged so that the document is ejected.
Controlling the output means, and the cutout means or the recognition means
Detected that the first specific key was input during the operation of
Then, the cutout or the cutout is performed so that the recognition is finished.
Means or the recognition means is controlled, and the original is
The image data in the holding means is printed without
And a means for controlling the print output means so as to output characters.
【請求項2】 更に、第2の特定キーを備え、上記切出
手段または上記認識手段の動作中の上記第1の特定キー
入力後に上記第2の特定キー入力を検出した際には、上
記制御手段は上記保持手段中のイメージデータに対して
切出及び認識を再度実行するように上記切出手段及び認
識手段を制御することを特徴とする請求項1記載の通信
端末装置。
2. The cutout further comprises a second specific key.
Means or the first specific key during operation of the recognition means
When the second specific key input above is detected after the input,
The control means controls the image data in the holding means.
The above-mentioned cutting means and recognition are performed so that the cutting and recognition are performed again.
The communication terminal device according to claim 1, wherein the communication terminal device controls the recognition means .
【請求項3】 上記第2の特定キーは、原稿上に記入さ
れた電話番号情報を認識しその認識結果に基づいて自動
的にダイヤル発信を実行する自動認識モードと手動入力
により入力された電話番号情報に従ってダイヤル発信を
行う手動入力モードとを選択切換するためのキーである
ことを特徴とする請求項2の通信端末装置。
3. The second specific key is written on the manuscript.
Automatically based on the recognition result of the recognized telephone number information
Automatic recognition mode for manual dialing and manual input
Dial according to the telephone number information entered by
The communication terminal device according to claim 2, which is a key for selectively switching a manual input mode to be performed .
JP05509396A 1996-03-12 1996-03-12 Communication terminal device Expired - Fee Related JP3439016B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05509396A JP3439016B2 (en) 1996-03-12 1996-03-12 Communication terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05509396A JP3439016B2 (en) 1996-03-12 1996-03-12 Communication terminal device

Publications (2)

Publication Number Publication Date
JPH09247408A JPH09247408A (en) 1997-09-19
JP3439016B2 true JP3439016B2 (en) 2003-08-25

Family

ID=12989131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05509396A Expired - Fee Related JP3439016B2 (en) 1996-03-12 1996-03-12 Communication terminal device

Country Status (1)

Country Link
JP (1) JP3439016B2 (en)

Also Published As

Publication number Publication date
JPH09247408A (en) 1997-09-19

Similar Documents

Publication Publication Date Title
JPH0758937A (en) Facsimile equipment
EP0453222A2 (en) Data communication apparatus
US5940189A (en) Facsimile apparatus capable of recognizing hand-written addressing information
JP3373997B2 (en) Communication terminal device
JP3439016B2 (en) Communication terminal device
JP3258894B2 (en) Communication terminal device
JP3291430B2 (en) Communication terminal device
JP3268970B2 (en) Communication terminal device
JP3580443B2 (en) Facsimile machine
JPH09247407A (en) Communication terminal equipment
JP3469674B2 (en) Facsimile machine
JP3490794B2 (en) Facsimile machine
JP3561551B2 (en) Facsimile machine
JP3579123B2 (en) Facsimile machine
JPH08307633A (en) Facsimile equipment
JP3114325B2 (en) Facsimile machine
JP3443222B2 (en) Facsimile machine
JP3258895B2 (en) Communication terminal device
JP3786174B2 (en) Communication terminal device
JP2503308B2 (en) Manual feed type facsimile
JPH066566A (en) Facsimile equipment
JP2005184655A (en) Communication terminal apparatus
JPH10190908A (en) Reader and facsimile equipment
JPH03108953A (en) Picture information communication equipment
KR19990015547A (en) How to Register Restriction Numbers in Fax

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080613

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090613

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20090613

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090613

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100613

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees