JP2004166108A - Facsimile machine and its receiving method - Google Patents
Facsimile machine and its receiving method Download PDFInfo
- Publication number
- JP2004166108A JP2004166108A JP2002331734A JP2002331734A JP2004166108A JP 2004166108 A JP2004166108 A JP 2004166108A JP 2002331734 A JP2002331734 A JP 2002331734A JP 2002331734 A JP2002331734 A JP 2002331734A JP 2004166108 A JP2004166108 A JP 2004166108A
- Authority
- JP
- Japan
- Prior art keywords
- data
- block
- received data
- page
- written
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
- Facsimiles In General (AREA)
- Storing Facsimile Image Data (AREA)
- Facsimile Transmission Control (AREA)
Abstract
Description
【0001】
【発明が属する技術分野】
本発明は、受信データを印字するファクシミリ装置に関し、特にメモリ部の容量より大きいデータを受信した場合でも、確実に印字するファクシミリ装置に関する。
【0002】
【従来技術】
従来の一般家庭向けの普通紙(カット紙)ファクシミリ装置は、受信データを一旦蓄積させるバッファと、1ページ分の受信データが複数のブロックに分けられて書き込まれるメモリ部と、メモリ部の中からデータが書き込まれていないブロックを検索する検索部と、バッファに蓄積されている受信データを検索部で検索されたブロックに書き込む書込部と、印字部とを有している。
【0003】
このようなファクシミリ装置において、データを受信すると、まずバッファに受信データを蓄積させ、バッファに蓄積された受信データのうち1ページ分の受信データをメモリ部の各ブロックに分けて書き込んでいる。受信データがメモリ部の各ブロックに分けて書き込まれると、書き込まれたブロックの順に印字が開始されるようになっている。尚、メモリ部は、1ページ分の印字が終了するまで、受信データを保持するようになっている。これは、印字中にエラーが起きても再印字できるようにするためである。
【0004】
ところで、搭載されているメモリ部の容量は限られている。例えば、家庭用のファクシミリ装置においては、メモリ部の容量は1Mbyte程度である。このため、1ページ分全部のデータを印字が終了するまで必ず保持するとした場合、受信した1ページ分のデータがメモリ部の容量以上、例えば1.2Mbyteであると、メモリオーバーとなってしまい、印字ができなくなってしまう。
【0005】
一方、印字が終了したブロックを保持することなく、受信データを印字終了済みのブロックに上書きしていくタイプのファクシミリ装置がある。
【0006】
このファクシミリ装置では、印字中にエラーが起きると、印字が終了したデータが書き込まれているブロックを保持していないため、再印字ができなくなってしまう。
【0007】
【発明が解決しようとする課題】
そこで、本発明は、上記のような問題点を解決するためになされたもので、受信データの1ページ分のデータがメモリ部の容量以上であっても、メモリオーバーにならず、印字が確実にでき、又、受信データの1ページ分のデータがメモリ部の容量以下の場合には、印字中にエラーが起きても再印字ができるファクシミリ装置を提供することにある。
【0008】
【課題を解決するための手段】
上記課題を解決するための第1の発明は、印字部と、メモリ部と、前記メモリ部に受信データを複数のブロックに分けて書き込み、この書き込まれている受信データをブロック毎に読み出して前記印字部に印字させるメモリ制御部とを備え、1ページ分の受信データの量が前記メモリ部の容量以下の場合には、メモリ部に1ページ分の受信データが書き込まれている全てのブロックを1ページ分の印字が終了するまで保持するファクシミリ装置において、
前記メモリ制御部は、
受信データが書き込まれていない未使用のブロックを検索し、未使用のブロックが検索されない場合、印字中及び/又は印字済みのデータが書き込まれているブロックのページと書き込もうとしている受信データのページとが同一ページであるか否かを判別し、同一ページであると判別された場合、先頭データが書き込まれているブロックのデータが印字済みであるか否かを判別し、印字済みであると判別された場合、受信データを前記先頭データが書き込まれているブロックに上書きする手段を有することを特徴とする。
【0009】
上記課題を解決するための第2の発明は、上記第1の発明において、前記メモリ制御部は、印字途中にエラーが起きた場合、エラー解除後に、印字中であった受信データが書き込まれているブロックと同じページの先頭データが書き込まれているブロックから読み出し、前記印字部に印字させる手段を有することを特徴とする。
【0010】
上記課題を解決するための第3の発明は、上記第1の発明において、メモリ制御部は、上書きした受信データのページと同一ページの受信データが書き込まれている全ブロックの印字が終了前に受信が終了する場合は、送信機にエラーの可能性を示すRTP信号を送信するよう指示する手段を有することを特徴とする。
【0011】
上記課題を解決するための第4の発明は、印字部と、メモリ部と、前記メモリ部に受信データを複数のブロックに分けて書き込み、この書き込まれている受信データをブロック毎に読み出して前記印字部に印字させるメモリ制御部とを備え、1ページ分の受信データの量が前記メモリ部の容量以下の場合には、メモリ部に1ページ分の受信データが書き込まれている全てのブロックを1ページ分の印字が終了するまで保持するファクシミリ装置を用いた受信方法において、
受信データが書き込まれていない未使用のブロックを検索する未使用ブロック検索ステップと、
前記未使用ブロック検索ステップで未使用のブロックが検索されない場合、印字中及び/又は印字済みのデータが書き込まれているブロックのページと書き込もうとしている受信データのページとが同一ページであるか否かを判別するページ判別ステップと、
前記ページ判別ステップで同一ページであると判別された場合、先頭データが書き込まれているブロックのデータが印字済みであるか否かを判別する状態判別ステップと、
前記状態判別ステップで前記ブロックのデータが印字済みであると判別された場合、受信データを前記先頭データが書き込まれているブロックに上書きする上書ステップと
を有することを特徴とする。
【0012】
上記課題を解決するための第5の発明は、上記第4の発明において、印字途中にエラーが起きた場合、エラー解除後に、印字中であった受信データが書き込まれているブロックと同じページの先頭データが書き込まれているブロックからデータを読み出す読出ステップと、
前記読出ステップで読み出されたデータを印字部に印字させる印字ステップとを有することを特徴とする。
【0013】
上記課題を解決するための第6の発明は、上記第5の発明において、上書ステップで上書きした受信データのページと同一ページの受信データが書き込まれている全ブロックの印字が終了前に受信が終了する場合は、送信機にエラーの可能性を示すRTP信号を送信する送信ステップを有することを特徴とする。
【0014】
【発明の実施の形態】
本発明の実施の形態を説明する。
【0015】
図1は本発明の実施の形態を示すブロック図である。
【0016】
図1において、10は、通信部であり、ファクシミリデータの受信、及び正常受信の応答を送信するものである。
【0017】
20はバッファであり、通信部10で受信したデータを符号化されたデータの形式で、一旦、記憶するものである。
【0018】
30はメモリ部である。このメモリ部30は、図2に示される如く、複数のブロックに分割されており、各ブロックにはブロックを識別するブロック識別情報が付されている。そして、バッファ20に記憶されている受信データは、各ブロックに格納される。
【0019】
40はメモリ制御部である。このメモリ制御部40は、バッファ20からの受信データのメモリ部30へのブロック単位での書き込みや、メモリ部30からの受信データのブロック単位での読み出しを制御するものである。これらの制御の為、メモリ制御部40は、ブロック管理テーブル41を有する。
【0020】
このブロック管理テーブル41は、図3に示される如く、各ブロックの使用状態と、ブロック同士の繋がりを示すチェーン情報と、ページ単位の先頭ブロックを管理するページ先頭ブロック情報とが記録されるテーブルである。
【0021】
各ブロックの使用状態は、ブロック毎に、未使用の場合は未使用を示す“0”、受信データを書き込み中の場合は書き込み中を示す“1”、受信データの書き込みが終了し、印字待ちの場合は使用中を示す“2”、印字が終了し開放を待っている場合は開放待ちを示す“3”というように4つの状態を記録することにより管理する。
【0022】
チェーン情報は、受信データの単位ページ(1ページ)毎に管理するようにしており、各ブロックのチェーン情報には、該ブロックの続きのブロックのブロック識別番号が記録される。また、ページの最後にあたるブロックのチェーン情報には最終ブロックであることを示すターミネートデータが書き込まれる。
【0023】
先頭ブロック情報は、同一ページの受信データが格納されているブロックのうちで、最も早く受信データが格納されたブロックのブロック識別情報が記録される。通常は、1ページの先頭のデータが格納されたブロックのブロック識別情報であるが、後述するように1ページの印刷が全て終了する前に一部のブロックを開放して新たなデータを記憶させる場合にはそのページにおけるデータが記憶されているブロックのうち、最も早く受信データが格納されたブロックのブロック識別情報が記録される。尚、ページの判断であるが、送信機は送信データを送信した後、次ページが有る旨を示す手順信号MPS又は、次ページが無い旨を示す手順信号EOPを送信するので、受信機はこれらの信号によりペ−ジの判断をする。
【0024】
又、メモリ制御部40は、受信したページ全てがメモリに残っている場合は、正常受信を示すMCF信号を送信し、後述するように1ページの印刷が全て終了する前に一部のブロックを開放して新たなデータを記憶させた場合、印字エラーが発生する可能性があるので、送信機にエラーの可能性を示すRTP信号を送信するよう指示する。
【0025】
50は印字部であり、メモリ制御部40で読み出されたデータを記録紙に印字するものである。
【0026】
60は通信制御部である。通信制御部60は、ファクシミリデータの送受信を制御するものである。更に、メモリ制御部40からの指示に基づいてRTP信号を送信機側に送信するものである。
【0027】
次に、上述の構成における動作を説明する。
【0028】
まず、受信データを受信してからメモリ部30に格納するまでの動作について説明する。尚、本動作の初期状態においては、メモリ部30に何も格納されていないもとして説明する。
【0029】
図4は受信データを受信してからメモリ部30に格納するまでの動作のフローチャートであり、図5及び図6はブロック管理テーブル41の遷移を説明する為の図である。
【0030】
まず、バッファ20より受信データを受信すると(S1)、メモリ制御部40はブロック管理テーブル41から未使用のブロックを検索する(S2)。
【0031】
未使用ブロックがある場合には(S3)、受信データを未使用ブロックに書き込む(S4)。初期状態においては、メモリ部30に何も格納されていないので、全てのブロックの使用状態は未使用を示す“0”である。そこで、先頭のブロックであるブロック識別番号1のブロックに書き込みを行なう。そして、書き込み中であることを示す“1”をブロック管理テーブル41に記録する。図5の状況1はこの状態を示したものである。
【0032】
続いて、書き込みが終了すると、そのブロック使用状態を、印字待ちを示す“2”に更新する(S5)。
【0033】
次に、ブロックに格納したデータがページの先頭であるかを判断する(S6)。
【0034】
ブロックに格納したデータがページの先頭である場合(S7)、ページ先頭ブロック情報を更新する(S8)。尚、ページの先頭の判断であるが、送信側からの送信される制御情報に基づいて判断される。そして、S1に戻る。本例では、ブロック識別番号1のブロックに書き込んだデータはページの先頭であるので、ページ先頭ブロック情報を、そのデータが格納されているブロックの識別番号1に更新する。図5の状況2はこの状態を示したものである。
【0035】
一方、格納したブロックのデータがページの先頭でない場合、そのデータがページの最後である最終データであるかを判断する(S9)。
【0036】
格納したブロックのデータが最終データでない場合には(S10)、データを書き込んだブロックの識別番号を、前回データを書き込んだブロックのチェーン情報として、ブロック管理テーブル41に記録する(S11)。図5の状況3はこの状態を示したものであり、識別番号2のブロックの書き込みを終了した際、前回の書き込んだ識別番号1のブロックのチェーン情報として“2”が記録されたことを示している。
【0037】
また、格納したブロックのデータが最終データである場合には、格納したブロックのチェーン情報として、ターミネートデータが記録される(S12)。図5の状況4はこの状態を示したものであり、識別番号3のブロックの書き込みを終了した際、識別番号3のブロックのチェーン情報としてターミネートデータが記録されたことを示している。
【0038】
そして、これらの動作の後、S1に戻る。
【0039】
次に、S3において、未使用ブロックがない場合について説明する。
【0040】
S3において、未使用ブロックがない場合は、1ページの受信データがメモリ部30の容量を越えている場合である。図6の状況1はこの状態を示したものであり、全てのブロックにおいて未使用な状態がない場合を示している。
【0041】
この場合には、まず、ページ先頭ブロック情報に記録されている識別番号のブロックの状態を確認する(S13)。開放待ちである場合(S14)、その使用状態を未使用に更新する(S15)。図6の状況2はこの状態を示したものであり、識別番号1のブロックにおいてその使用状態を未使用“0”に更新した場合を示している。
【0042】
続いて、受信データを未使用ブロックに書き込む(S16)。そして、書き込み中であることを示す“1”をブロック管理テーブル41に記録する(S17)。図6の状況3はこの状態を示したものである。
【0043】
最後に、ページ先頭ブロック情報を、1ページのブロックにおいて先頭となるブロックの識別番号に更新する(S18)。そして、S9に進む。
【0044】
図6の状況4はこの状態を示したものであり、新しい先頭ブロック情報として、現在記憶されているデータの中で最もページの先頭にあるデータが書き込まれているブロックの識別番号である“2”に更新されている。また、チェーン情報として、最終ブロックを示すターミネートデータが記録されていることを示している。
【0045】
次に、受信データの印字動作について説明する。
【0046】
図7は受信データの印字動作のフローチャートであり、図8は印字中にエラーが起きた時のフローチャートであり、図9はブロック管理テーブル41の遷移を説明する為の図である。
【0047】
まず、メモリ制御部40は、図9の状況1のように、メモリ部30のブロックの状態が“2”の使用中であるブロックを検索する(ステップS21)。ここでは、検索されたブロックの識別番号を1とする。ブロックの状態が“2”の使用中のブロックが検索されると、メモリ制御部40は読み出しを開始する(ステップS22)。
【0048】
印字部50は読み出されたブロックを復号化する(ステップS23)。
【0049】
印字部50は、復号化されたデータを記録紙に印字する(ステップS24)。
【0050】
印字が終了すると、メモリ制御部40は、図9の状況2のように、そのブロックの状態を“3”の開放待ちとする(ステップS25)。
【0051】
続いて、メモリ制御部40は、印字したブロックのチェーン情報としてターミネートデータが書き込まれているかを判別する(ステップS26)。
【0052】
ターミネートデータが書き込まれていないと判別された場合、メモリ制御部40は、印字が終了したブロックのチェーン情報として書き込まれているブロックの状態が“2”の使用中であるかを判別する(ステップS27)。このブロックの状態が“2”の使用中であると判別された場合は、ステップS22に戻る。
【0053】
一方、ステップS26で、チェーン情報としてターミネートデータが書き込まれていると判別された場合、図9の状況4のように、メモリ制御部40はそのページの受信データが書き込まれていた全ブロックの状態を“0”の未使用にする(ステップS28)。
【0054】
続いて、印字中に印字系のエラーが発生した場合について説明する。
【0055】
データの印字中に印字系のエラーが発生した場合、印字部50はメモリ制御部40にエラーを通知する(ステップS31)。
【0056】
エラーが通知されると、メモリ制御部40は読み出しを終了する(ステップS32)。
【0057】
エラー復旧後、印字可能となった時点(ステップS33)で、メモリ制御部40は印字中のページにおける先頭ブロック情報の記録されている識別番号のブロックより受信データを読み出す(ステップS34)。そして、ステップS22に戻る。
【0058】
上述の動作における受信終了時に送信する応答信号であるが、1ページ分の受信データの量がメモリ部30の容量より小さい場合には、1ページ分の受信データ全てがメモリ部30のブロックに書き込まれているため、印字中に印字系のエラーが発生しても先頭ブロックから再印字ができるので正常受信を示すMCF信号を送信機に応答する。
【0059】
一方、1ページ分の受信データの量がメモリ部30の容量より大きい場合には、受信データの印字終了前に全ての受信が終了すると、受信が正常に終了しても印字が正常に終了しないかもしれないので、メモリ制御部40は、エラーの可能性を示すRTP信号を送信機側に送信する指示を行なう。
【0060】
尚、RTP信号を応答する前に印字系の異常により印字が不可能となった場合は、通信異常として終了させる。
【0061】
【発明の効果】
本発明によると、1ページ分の受信データの量がメモリ部の容量以下の場合には、メモリ部が1ページ分の受信データが書き込まれている全てのブロックを1ページ分の印字が終了するまで保持しているので、印字中にエラーが起きても再印字が可能となる。
【0062】
又、1ページ分の受信データの量がメモリ部の容量より大きい場合、印字中のページと同じページである印字済みのブロックに上書きしているので、メモリオーバーにならず、印字が確実にできる。そのため、受信終了後の印字中に印字系のエラーが発生しても、メモリ部に残っている受信データを再印字することできるので、異常発生前の印字と異常発生後の印字とを合わせて受信データの確認が可能となる。
【0063】
更に、1ページ分の受信データの量がメモリ部の容量より大きい場合、受信データの印字終了前に全ての受信が終了した場合、エラーありのRTP信号とすることで、送信機側に正常に印字できない可能性があることを通知することができる。そのため、送信機側ではそのページにおいてエラーが発生する可能性があることを認識することができる。
【図面の簡単な説明】
【図1】図1は本発明の実施の形態を示すブロック図である。
【図2】図2は本発明のメモリ部におけるブロックの状態図である。
【図3】図3はブロック管理テーブル41を説明する為の図である。
【図4】図4は受信データを受信してからメモリ部30に格納するまでの動作のフローチャートである。
【図5】図5はブロック管理テーブル41の遷移を説明する為の図である。
【図6】図6はブロック管理テーブル41の遷移を説明する為の図である。
【図7】図7は受信データの印字動作のフローチャートである。
【図8】図8は印字中にエラーが起きた時のフローチャートである。
【図9】図9はブロック管理テーブル41の遷移を説明する為の図である。
【符号の説明】
10 通信部
20 バッファ
30 メモリ部
40 メモリ制御部
50 印字部
60 通信制御部
70 主制御部[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a facsimile apparatus that prints received data, and more particularly to a facsimile apparatus that reliably prints data even when data larger than the capacity of a memory unit is received.
[0002]
[Prior art]
A conventional plain paper (cut paper) facsimile machine for general households includes a buffer for temporarily storing received data, a memory unit in which received data of one page is divided into a plurality of blocks and written, and a memory unit. The search unit includes a search unit that searches for a block in which data has not been written, a writing unit that writes the received data stored in the buffer to the block searched by the search unit, and a printing unit.
[0003]
In such a facsimile apparatus, when data is received, the received data is first stored in a buffer, and one page of the received data among the received data stored in the buffer is divided into blocks of a memory unit and written. When the received data is written in each block of the memory unit, printing is started in the order of the written blocks. The memory unit holds the received data until printing of one page is completed. This is to enable reprinting even if an error occurs during printing.
[0004]
By the way, the capacity of the mounted memory unit is limited. For example, in a home facsimile machine, the capacity of the memory unit is about 1 Mbyte. For this reason, if it is assumed that the data of one page is always held until the printing is completed, the memory becomes over if the received data of one page is equal to or larger than the capacity of the memory unit, for example, 1.2 Mbytes. Printing becomes impossible.
[0005]
On the other hand, there is a facsimile apparatus of a type in which received data is overwritten on a block on which printing has been completed without holding the block on which printing has been completed.
[0006]
In the facsimile apparatus, if an error occurs during printing, reprinting cannot be performed because the block in which the data for which printing has been completed is not stored.
[0007]
[Problems to be solved by the invention]
Therefore, the present invention has been made to solve the above-described problems. Even when the data of one page of the received data is larger than the capacity of the memory unit, the memory is not overrun and the printing can be reliably performed. Another object of the present invention is to provide a facsimile apparatus capable of reprinting even if an error occurs during printing when the data of one page of the received data is smaller than the capacity of the memory unit.
[0008]
[Means for Solving the Problems]
According to a first aspect of the present invention, there is provided a printing unit, a memory unit, and writing received data into the memory unit by dividing the received data into a plurality of blocks, and reading out the written received data for each block. A memory control unit for causing the printing unit to print, when the amount of the received data for one page is equal to or less than the capacity of the memory unit, all the blocks in which the received data for one page is written to the memory unit; In a facsimile machine that holds until printing of one page is completed,
The memory control unit includes:
Searches for unused blocks to which received data is not written. If unused blocks are not searched, the page of the block to which data is being written and / or the page of the received data to be written is written. Is determined to be the same page, and if it is determined to be the same page, it is determined whether the data of the block in which the leading data is written is already printed, and it is determined that the data is printed. When it is determined, there is provided a means for overwriting the received data to the block in which the head data is written.
[0009]
According to a second aspect of the present invention, in the first aspect, when an error occurs during printing, the memory control unit writes the received data being printed after the error is cleared. Means for reading from the block in which the head data of the same page as the present block is written, and causing the printing unit to print.
[0010]
According to a third aspect of the present invention, in the first aspect, the memory control unit is configured to perform printing of all blocks in which the received data of the same page as the page of the overwritten received data is written before completion. When the reception is completed, a means for instructing the transmitter to transmit an RTP signal indicating a possibility of an error is provided.
[0011]
According to a fourth aspect of the present invention, there is provided a printing unit, a memory unit, and writing received data into the memory unit by dividing the received data into a plurality of blocks, and reading out the written received data for each block. A memory control unit for causing the printing unit to print, when the amount of the received data for one page is equal to or less than the capacity of the memory unit, all the blocks in which the received data for one page is written to the memory unit; In a receiving method using a facsimile apparatus which holds until printing of one page is completed,
An unused block search step of searching for an unused block to which received data has not been written;
When an unused block is not searched in the unused block search step, whether or not the page of the block in which the data being printed and / or the printed data is written and the page of the received data to be written are the same page A page determination step of determining whether
A state determination step of determining whether or not the data of the block in which the leading data is written has been printed, if it is determined that the pages are the same page in the page determination step;
When it is determined in the state determination step that the data of the block has been printed, an overwriting step of overwriting the received data on the block in which the head data is written is provided.
[0012]
According to a fifth aspect of the present invention, in the fourth aspect, when an error occurs during printing, after the error is cleared, the same page as the block in which the received data being printed is written is written. A reading step of reading data from the block in which the leading data is written;
And a printing step of printing the data read in the reading step on a printing unit.
[0013]
According to a sixth aspect of the present invention, in the fifth aspect of the present invention, in the fifth aspect of the present invention, all the blocks in which the received data of the same page as the page of the received data overwritten in the overwrite step is written are received before the printing is completed. Is terminated, a transmitting step of transmitting an RTP signal indicating a possibility of an error to the transmitter is provided.
[0014]
BEST MODE FOR CARRYING OUT THE INVENTION
An embodiment of the present invention will be described.
[0015]
FIG. 1 is a block diagram showing an embodiment of the present invention.
[0016]
In FIG. 1,
[0017]
A
[0018]
[0019]
40 is a memory control unit. The memory control unit 40 controls writing of received data from the
[0020]
As shown in FIG. 3, the block management table 41 is a table in which the use state of each block, chain information indicating the connection between the blocks, and page head block information for managing the head block in page units are recorded. is there.
[0021]
The use status of each block is "0" indicating unused when not used, "1" indicating writing while receiving data is being written, and writing of received data is completed and waiting for printing for each block. In the case of, management is performed by recording four states, such as "2" indicating that the printer is in use and "3" indicating that the printing is completed and waiting for release, such as "3".
[0022]
The chain information is managed for each unit page (one page) of the received data, and the block information of the block following the block is recorded in the chain information of each block. In the chain information of the block at the end of the page, the termination data indicating the last block is written.
[0023]
As the first block information, the block identification information of the block in which the received data is stored earliest among the blocks in which the received data of the same page is stored is recorded. Usually, this is the block identification information of the block in which the head data of one page is stored. However, as will be described later, some blocks are released and new data is stored before printing of one page is completed. In this case, the block identification information of the block in which the received data is stored earliest among the blocks in which the data in the page is stored is recorded. In the judgment of the page, after transmitting the transmission data, the transmitter transmits a procedure signal MPS indicating that the next page is present or a procedure signal EOP indicating that the next page is not present. The page is judged based on the signal of.
[0024]
If all of the received pages remain in the memory, the memory control unit 40 transmits an MCF signal indicating normal reception, and as described later, some blocks are printed before printing of one page is completed. If new data is stored after being released, a printing error may occur. Therefore, the transmitter is instructed to transmit an RTP signal indicating the possibility of the error.
[0025]
[0026]
[0027]
Next, the operation in the above configuration will be described.
[0028]
First, an operation from reception of received data to storage in the
[0029]
FIG. 4 is a flowchart of an operation from reception of received data to storage in the
[0030]
First, when receiving the received data from the buffer 20 (S1), the memory control unit 40 searches the block management table 41 for an unused block (S2).
[0031]
If there is an unused block (S3), the received data is written to the unused block (S4). In the initial state, since nothing is stored in the
[0032]
Subsequently, when the writing is completed, the block use state is updated to "2" indicating the waiting for printing (S5).
[0033]
Next, it is determined whether the data stored in the block is the head of the page (S6).
[0034]
If the data stored in the block is the head of the page (S7), the page head block information is updated (S8). Note that the determination of the head of the page is made based on control information transmitted from the transmission side. Then, the process returns to S1. In this example, since the data written in the block with the
[0035]
On the other hand, when the data of the stored block is not the head of the page, it is determined whether the data is the last data which is the last of the page (S9).
[0036]
If the data of the stored block is not the final data (S10), the identification number of the block in which the data was written is recorded in the block management table 41 as chain information of the block in which the data was previously written (S11).
[0037]
If the data of the stored block is the last data, the termination data is recorded as chain information of the stored block (S12).
[0038]
Then, after these operations, the process returns to S1.
[0039]
Next, a case where there is no unused block in S3 will be described.
[0040]
If there is no unused block in S3, it means that the received data of one page exceeds the capacity of the
[0041]
In this case, first, the state of the block with the identification number recorded in the page head block information is confirmed (S13). If it is waiting for release (S14), its use status is updated to unused (S15).
[0042]
Subsequently, the received data is written to an unused block (S16). Then, “1” indicating that writing is being performed is recorded in the block management table 41 (S17).
[0043]
Finally, the page top block information is updated to the identification number of the block at the top of the block of one page (S18). Then, the process proceeds to S9.
[0044]
[0045]
Next, the printing operation of the received data will be described.
[0046]
FIG. 7 is a flowchart of a print operation of received data, FIG. 8 is a flowchart when an error occurs during printing, and FIG. 9 is a diagram for explaining transition of the block management table 41.
[0047]
First, the memory control unit 40 searches for a block whose status of the block of the
[0048]
The
[0049]
The
[0050]
When printing is completed, the memory control unit 40 waits for the state of the block to be released to “3” as in the
[0051]
Subsequently, the memory control unit 40 determines whether or not the termination data is written as the chain information of the printed block (Step S26).
[0052]
If it is determined that the termination data has not been written, the memory control unit 40 determines whether the state of the block written as chain information of the block for which printing has been completed is “2” (step S <b> 1). S27). If it is determined that the state of this block is “2” in use, the process returns to step S22.
[0053]
On the other hand, if it is determined in step S26 that the terminating data has been written as the chain information, the memory control unit 40 determines the state of all the blocks in which the received data of the page has been written, as shown in
[0054]
Next, a case where a printing error occurs during printing will be described.
[0055]
When a printing error occurs during printing of data, the
[0056]
When the error is notified, the memory control unit 40 ends the reading (Step S32).
[0057]
After the error recovery, at the time when printing becomes possible (step S33), the memory control unit 40 reads the received data from the block of the identification number where the head block information is recorded in the page being printed (step S34). Then, the process returns to step S22.
[0058]
This is a response signal transmitted at the end of reception in the above operation. If the amount of received data for one page is smaller than the capacity of the
[0059]
On the other hand, if the amount of the received data for one page is larger than the capacity of the
[0060]
If printing becomes impossible due to an error in the printing system before responding to the RTP signal, the communication is terminated as a communication error.
[0061]
【The invention's effect】
According to the present invention, when the amount of received data for one page is equal to or smaller than the capacity of the memory unit, the memory unit ends printing of all pages in which the received data for one page is written for one page. Since printing is maintained until the error occurs during printing, reprinting is possible.
[0062]
If the amount of received data for one page is larger than the capacity of the memory unit, the data is overwritten on the printed block, which is the same page as the page being printed, so that printing can be reliably performed without memory over. . Therefore, even if a printing error occurs during printing after reception has been completed, the received data remaining in the memory can be reprinted. Confirmation of received data becomes possible.
[0063]
Further, when the amount of received data for one page is larger than the capacity of the memory unit, when all the receptions are completed before the printing of the received data is completed, an RTP signal with an error is generated, so that the transmitter side can normally receive the data. It can be notified that there is a possibility that printing cannot be performed. Therefore, the transmitter side can recognize that an error may occur in the page.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of the present invention.
FIG. 2 is a state diagram of a block in a memory unit of the present invention.
FIG. 3 is a diagram for explaining a block management table 41;
FIG. 4 is a flowchart of an operation from reception of received data to storage in a
FIG. 5 is a diagram for explaining transition of a block management table 41;
FIG. 6 is a diagram for explaining transition of the block management table 41.
FIG. 7 is a flowchart of a print operation of received data.
FIG. 8 is a flowchart when an error occurs during printing.
FIG. 9 is a diagram for explaining transition of a block management table 41.
[Explanation of symbols]
10
Claims (6)
前記メモリ制御部は、
受信データが書き込まれていない未使用のブロックを検索し、未使用のブロックが検索されない場合、印字中及び/又は印字済みのデータが書き込まれているブロックのページと書き込もうとしている受信データのページとが同一ページであるか否かを判別し、同一ページであると判別された場合、先頭データが書き込まれているブロックのデータが印字済みであるか否かを判別し、印字済みであると判別された場合、受信データを前記先頭データが書き込まれているブロックに上書きする手段を有することを特徴とするファクシミリ装置。A printing unit, a memory unit, and a memory control unit that writes the received data into the memory unit by dividing the received data into a plurality of blocks, reads out the written received data for each block, and prints the received data on the printing unit. If the amount of received data for a page is equal to or less than the capacity of the memory unit, a facsimile apparatus that holds all blocks in which one page of received data is written in the memory unit until printing for one page is completed. At
The memory control unit includes:
Searches for unused blocks to which received data is not written. If unused blocks are not searched, the page of the block to which data is being written and / or the page of the received data to be written is written. Is determined to be the same page, and if it is determined to be the same page, it is determined whether the data of the block in which the leading data is written is already printed, and it is determined that the data is printed. A facsimile apparatus having means for overwriting the received data to a block in which the head data is written, when the discrimination is made;
受信データが書き込まれていない未使用のブロックを検索する未使用ブロック検索ステップと、
前記未使用ブロック検索ステップで未使用のブロックが検索されない場合、印字中及び/又は印字済みのデータが書き込まれているブロックのページと書き込もうとしている受信データのページとが同一ページであるか否かを判別するページ判別ステップと、
前記ページ判別ステップで同一ページであると判別された場合、先頭データが書き込まれているブロックのデータが印字済みであるか否かを判別する状態判別ステップと、
前記状態判別ステップで前記ブロックのデータが印字済みであると判別された場合、受信データを前記先頭データが書き込まれているブロックに上書きする上書ステップと
を有することを特徴とする受信方法。A printing unit, a memory unit, and a memory control unit that writes the received data into the memory unit by dividing the received data into a plurality of blocks, reads out the written received data for each block, and prints the received data on the printing unit. If the amount of received data for a page is equal to or less than the capacity of the memory unit, a facsimile apparatus that holds all blocks in which one page of received data is written in the memory unit until printing for one page is completed. In the receiving method using
An unused block search step of searching for an unused block to which received data has not been written;
When an unused block is not searched in the unused block search step, whether or not the page of the block in which the data being printed and / or the printed data is written and the page of the received data to be written are the same page A page determination step of determining whether
A state determination step of determining whether or not the data of the block in which the leading data is written has been printed, if it is determined that the pages are the same page in the page determination step;
An overwriting step of, when it is determined in the state determining step that the data of the block has been printed, overwriting the received data with the block in which the head data has been written.
前記読出ステップで読み出されたデータを印字部に印字させる印字ステップとを有することを特徴とする請求項4に記載の受信方法。If an error occurs during printing, after the error is cleared, a reading step of reading data from a block in which the head data of the same page as the block in which the received data being printed has been written is written;
The receiving method according to claim 4, further comprising a printing step of printing the data read in the reading step on a printing unit.
を有することを特徴とする請求項4に記載の受信方法。If the reception is completed before the printing of all the blocks in which the reception data of the same page as the reception data overwritten in the overwriting step is completed, the RTP signal indicating the possibility of an error is transmitted to the transmitter. The receiving method according to claim 4, further comprising a transmitting step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002331734A JP2004166108A (en) | 2002-11-15 | 2002-11-15 | Facsimile machine and its receiving method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002331734A JP2004166108A (en) | 2002-11-15 | 2002-11-15 | Facsimile machine and its receiving method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004166108A true JP2004166108A (en) | 2004-06-10 |
Family
ID=32809022
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002331734A Pending JP2004166108A (en) | 2002-11-15 | 2002-11-15 | Facsimile machine and its receiving method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004166108A (en) |
-
2002
- 2002-11-15 JP JP2002331734A patent/JP2004166108A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS62216582A (en) | Facsimile equipment | |
JP4876998B2 (en) | Communications system | |
JP2004166108A (en) | Facsimile machine and its receiving method | |
JP4128477B2 (en) | Communication system and program | |
JP2006123239A (en) | Print system by printer, printer, wireless terminal | |
JP3581539B2 (en) | Communication device | |
JP2956517B2 (en) | Communication device | |
JP3570091B2 (en) | Communication terminal device | |
JPS61203754A (en) | Communication terminal equipment | |
JP3054198B2 (en) | Data communication device and method | |
JP4943724B2 (en) | Image forming apparatus and image forming system | |
JP2000236357A (en) | Device and method for processing information | |
JP2944484B2 (en) | Facsimile machine | |
JPH07336471A (en) | Facsimile | |
JP2855367B2 (en) | Facsimile machine | |
JPH08336023A (en) | Method and device for managing image memory | |
JPS61203753A (en) | Communication terminal equipment | |
JPH06343122A (en) | Facsimile equipment | |
JPH1013600A (en) | Facsimile equipment and its data processing method | |
JPH0385945A (en) | Priority transmitter in facsimile equipment | |
JPH11164073A (en) | Facsimile equipment | |
JPH04314240A (en) | Communication system and communication method | |
JP2003032468A (en) | Image communication equipment | |
JP2000201263A (en) | Picture processor and its processing method | |
JP2000201264A (en) | Data processor and its control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040415 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050729 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050831 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20051031 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20051130 |