JPH01126072A - Encoding/decoding device - Google Patents

Encoding/decoding device

Info

Publication number
JPH01126072A
JPH01126072A JP62284551A JP28455187A JPH01126072A JP H01126072 A JPH01126072 A JP H01126072A JP 62284551 A JP62284551 A JP 62284551A JP 28455187 A JP28455187 A JP 28455187A JP H01126072 A JPH01126072 A JP H01126072A
Authority
JP
Japan
Prior art keywords
encoding
page
line
decoding
data
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.)
Granted
Application number
JP62284551A
Other languages
Japanese (ja)
Other versions
JPH0716231B2 (en
Inventor
Toshiko Nishida
西田 俊子
Hitoshi Horie
堀江 等
Toru Ozaki
透 尾崎
Hiroyuki Shimooosawa
下大沢 博之
Toru Kitamoto
徹 北本
Akira Shichijo
七條 朗
Hideyuki Shirai
白井 秀行
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.)
Panasonic System Solutions Japan Co Ltd
Original Assignee
Matsushita Graphic Communication Systems Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Graphic Communication Systems Inc filed Critical Matsushita Graphic Communication Systems Inc
Priority to JP62284551A priority Critical patent/JPH0716231B2/en
Publication of JPH01126072A publication Critical patent/JPH01126072A/en
Publication of JPH0716231B2 publication Critical patent/JPH0716231B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE:To prevent the irregular size of an output recording paper by inserting the dummy all white line of insufficiency when the line number of a page is fewer than a prescribed value and executing standardization processing which the whole line number of each page is standardized. CONSTITUTION:The code data of a received original is decoded by an encoding/ decoding circuit 1 under the control of an encoding/decoding control circuit 6. The line number from the head line of each page inputted to the circuit 1 and decoded by the circuit 1 is obtained by a line number counter 8 as a discrete value. A standardization processing control part 10 outputs all white line data until when this discrete value coincides with a value set to a set value register 7. When the control part 10 finishes outputting the all white line data, a changed page is informed to a printer part from the circuit 6 and the recording paper is cut by the printer part.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ファクシミリ装置などの符号化復号化装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an encoding/decoding device such as a facsimile machine.

従来の技術 従来、ファクシミリ装置の符号化復号化装置においては
、原稿送信の場合、スキャナ部より入力する送信原稿の
画像データを1ラインずつ順次符号化して送受信部へ出
力し、スキャナ部よりページ終了が通知されると、最後
の符号化ラインの符号データに続けて制御復帰符号(R
TC符号)を送出して改ページを行う。他方、原稿受信
の場合、送受信部より入力する受信原稿の符号データを
各ページの先頭ラインより1ラインずつ復号化してプリ
ンタ部へ出力し、RTC符号を検出するとページ終了と
判断して改ページを行う。
Conventional technology Conventionally, in the case of document transmission, in the encoding/decoding device of a facsimile machine, the image data of the transmission document that is input from the scanner section is sequentially encoded line by line and output to the transmitting/receiving section, and the end of the page is output from the scanner section. is notified, a control return code (R
TC code) to perform a page break. On the other hand, in the case of document reception, the coded data of the received document input from the transmitting/receiving section is decoded line by line from the first line of each page and output to the printer section, and when the RTC code is detected, it is judged that the page is over and a page break is started. conduct.

発明が解決しようとする問題点 しかし、かかる構成では、異サイズのページが混在した
原稿を受信した場合、出力記録紙のサイズが不揃いにな
るという問題があった。例えば、A4判原稿の受信の場
合に、受信原稿中にA5判のページが混在していると、
このA5判のページの出力記録紙だけがA5判の長さに
カットされ、他のページの出力記録紙はA4判の長さに
カットされる。このように出−力記録紙のサイズが不揃
いであると、その取り扱いに不便を来すだけでなく、小
サイズのページの紛失が起こりやすい。
Problems to be Solved by the Invention However, with this configuration, there is a problem in that when a document containing pages of different sizes is received, the sizes of the output recording sheets become irregular. For example, when receiving an A4 size document, if there are A5 size pages mixed in the received document,
Only the output recording paper for this A5 size page is cut to the length of A5 size, and the output recording paper for the other pages is cut to the length of A4 size. If the sizes of the output recording sheets are irregular as described above, not only is it inconvenient to handle them, but also small-sized pages are likely to be lost.

このような問題点が生ずる理由は、送信側においてはス
キャナ部でページ終了が検出されると、ページ内のライ
ン数を考慮することなく、RTC符号を送出して改ペー
ジを行い、受信側においてはRTC符号を検出すると、
ページ内のライン数を考慮することなく改ページを行い
、プリンタ部で記録紙(ロール紙)を切断するからであ
る。
The reason why such a problem occurs is that when the end of a page is detected by the scanner on the transmitting side, an RTC code is sent to start a page break without considering the number of lines in the page, and the receiving side detects the RTC code,
This is because a page break is performed without considering the number of lines within a page, and the recording paper (roll paper) is cut in the printer section.

本発明は、上述の問題点に鑑みてなされたもので、各ペ
ージのライン数を一定にするための定型処理機能を付加
した符号化復号化装置を提供することを目的とする。
The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide an encoding/decoding device that has a fixed processing function for making the number of lines on each page constant.

問題点を解決するための手段 本発明は上述の問題点を解決するため、外部より入力し
たデータを符号化復号化回路により符号化しまたは復号
化し、その符号化データまたは復号化データを外部へ出
力する符号化復号化装置において、前記符号化復号化回
路に入力した各ページのデータのライン数を計数する計
数手段と、前記符号化復号化回路にページの最終ライン
のデータが入力した時点における前記計数手段の計数値
の設定値からの不足分を補うだめのダミーの全白ライン
データを、当該ページの復号化データとして外部へ出力
し、または当該ページの入力データとして前記符号化復
号化回路に入力するための手段とを設けるという構成を
備えたものである。
Means for Solving the Problems In order to solve the above-mentioned problems, the present invention encodes or decodes data input from the outside using an encoding/decoding circuit, and outputs the encoded data or decoded data to the outside. The encoding/decoding apparatus includes a counting means for counting the number of lines of data of each page inputted to the encoding/decoding circuit, and a counting means for counting the number of lines of data of each page inputted to the encoding/decoding circuit; Dummy all-white line data to compensate for the shortfall from the set value of the count value of the counting means is output to the outside as decoded data of the page, or to the encoding/decoding circuit as input data of the page. The device has a configuration in which a means for inputting information is provided.

作用 本発明は上述の構成により、復号化まだは符号化すべき
ページのライン数が規定値に足りない場合、不足した本
数分のダミーの全白ラインが当該ページに挿入され、す
べてのページのライン数が規定値に合わせられる。この
ようなライン数に関する定型処理が行われるため、本発
明の符号化復号化装置を例えばファクシミリ装置に用い
ることにより、出力記録紙を一定の長さに揃えるこ°と
ができ、上述のような従来の問題点は解消する。
Operation According to the above-described structure, when the number of lines of a page to be encoded is insufficient for decoding and encoding, dummy all-white lines corresponding to the insufficient number are inserted into the page, and the lines of all pages are The number is adjusted to the specified value. Since such fixed processing regarding the number of lines is performed, by using the encoding/decoding device of the present invention in, for example, a facsimile machine, output recording paper can be made to have a constant length, and the above-mentioned Conventional problems will be resolved.

実施例 以下本発明の一実施例について、図面を参照しながら説
明する。
EXAMPLE An example of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例による符号化復号化装置の概
略構成図である。この符号化復号化装置は、ファクシミ
リ装置において、送信原稿の画像データの符号化または
受信原稿の符号データの復号化を行うものである。
FIG. 1 is a schematic configuration diagram of an encoding/decoding apparatus according to an embodiment of the present invention. This encoding/decoding device is used in a facsimile machine to encode image data of a transmitted document or decode coded data of a received document.

1はMR方式(CCITT勧告T、勧告中MMR方式(
CCITT勧告T、勧告中より、画像データの符号化ま
だは符号データの復号化を行うための符号化復号化回路
、2は送受信原稿の画像データの一時記憶のだめの画像
データバンファ、3は送受信原稿の符号データの一時記
憶のだめの符号データバッファである。画像データバッ
ファ2は、2本のラインバッファLBA、LBBを符号
化ラインもしくは復号化ラインのデータバッファリング
または参照ラインのデータバッファリングに交互に使用
するトグル構成のものである。
1 is the MR method (CCITT Recommendation T, MMR method in the recommendation)
CCITT Recommendation T, from the Recommendation, an encoding/decoding circuit for encoding image data and decoding coded data; 2 is an image data buffer for temporary storage of image data of transmitted/received originals; 3 is an image data buffer for transmitting/receiving. This is a code data buffer that temporarily stores the code data of the original. The image data buffer 2 has a toggle configuration in which two line buffers LBA and LBB are used alternately for data buffering of encoding lines or decoding lines or for data buffering of reference lines.

原稿送信の場合、すなわち符号化動作の場合、スキャナ
部より送信原稿の画像データが画像データバッファ2を
経由して符号化復号化回路1に入力し、その符号化デー
タは符号データバッファ3を経由して送受信部へ出力す
る。原稿受信の場合、すなわち復号化動作の場合、送受
信部よシ受信原稿の符号データが符号データバッファ3
を経由して符号化復号化回路1に入力し、その復号化デ
ータは画像データバッファを経由してプリンタ部へ出力
する。
In the case of document transmission, that is, in the case of encoding operation, the image data of the transmitted document is input from the scanner section to the encoding/decoding circuit 1 via the image data buffer 2, and the encoded data is inputted to the encoding/decoding circuit 1 via the code data buffer 3. and outputs it to the transmitting/receiving section. In the case of document reception, that is, in the case of decoding operation, the coded data of the received document is stored in the coded data buffer 3 by the transmitting/receiving section.
The decoded data is input to the encoding/decoding circuit 1 via the image data buffer, and the decoded data is output to the printer unit via the image data buffer.

4はスキャナ部からの画像データの入力を制御するため
のスリーステートバク7ア、5はプリンタ部への画像デ
ータの出力を制御するためのスリーステートバッファで
ある。
4 is a three-state buffer 7 for controlling the input of image data from the scanner section, and 5 is a three-state buffer for controlling the output of image data to the printer section.

6は符号化復号化制御回路であり、符号化復号化回路1
の動作制御、データの入出力制御など、符号化復号化動
作に関連した制御を行う。この符号化復号化制御回路6
は、設定値レジスタ7、ライン数カウンタ8、比較回路
9と協動して定型処理のための制御を行うための定型処
理制御部10を會んでいる。
6 is an encoding/decoding control circuit; the encoding/decoding circuit 1
Performs control related to encoding/decoding operations, such as operational control and data input/output control. This encoding/decoding control circuit 6
1 includes a routine processing control section 10 for controlling routine processing in cooperation with a set value register 7, a line number counter 8, and a comparison circuit 9.

設定値レジスタ7は、ファクシミリ装置の使用者が指定
したページ規定ライン数が設定される。
The set value register 7 is set with the page specified number of lines specified by the user of the facsimile machine.

ライン数カウンタ8は、符号化復号化回路1に入力して
符号化または復号化された各ページのデータのライン数
を計数するためのもので、定型処理制御部10により制
御される。比較回路9はライン数カウンタ8の計数値と
設定値レジスタ7の設定値とを比較する回路であり、そ
の比較出力は定型処理制御部10に入力する。
The line number counter 8 is for counting the number of lines of data of each page that is input to the encoding/decoding circuit 1 and encoded or decoded, and is controlled by the routine processing control section 10. The comparison circuit 9 is a circuit that compares the count value of the line number counter 8 and the set value of the set value register 7, and the comparison output is inputted to the routine processing control section 10.

11は符号化復号化制御回路6とファクシミリ装置内の
主制御部、スキャナ部、プリンタ部との間のインターフ
ェイス回路である。
Reference numeral 11 denotes an interface circuit between the encoding/decoding control circuit 6 and the main control section, scanner section, and printer section within the facsimile machine.

以上のように構成された符号化復号化装置について、以
下その動作を説明する。
The operation of the encoding/decoding device configured as described above will be described below.

まず原稿受信(復号化)の場合について説明する。送受
信部よシ符号データバッファ3に受信原稿の符号データ
が順次転送される。この符号データは符号化復号化制御
回路6の制御により符号化復号化回路1に順次入力し、
復号化される。この復号化データ(画像データ)は画像
データバッファ2内の復号ライン用に選ばれた一方のラ
インバッファ(例えばLBB)に順次蓄積される。1ラ
インの復号化データが蓄積すると、符号化復号化制御回
路6よりインターフェイス回路11を介してプリンタ部
へ通知される。転送可能であると、符号化復号化制御回
路1の制御により、スリーステートバッファ5を介して
当該ラインバッファ(LBH)内の復号化データがプリ
ンタ部へ出力され、プリンタ部でロール記録紙に記録さ
れる。
First, the case of document reception (decoding) will be explained. The code data of the received document is sequentially transferred to the code data buffer 3 from the transmitter/receiver section. This encoded data is sequentially input to the encoding/decoding circuit 1 under the control of the encoding/decoding control circuit 6.
Decrypted. This decoded data (image data) is sequentially stored in one line buffer (for example, LBB) selected for the decoded line in the image data buffer 2. When one line of decoded data is accumulated, the encoding/decoding control circuit 6 notifies the printer section via the interface circuit 11. If the transfer is possible, under the control of the encoding/decoding control circuit 1, the decoded data in the line buffer (LBH) is output to the printer unit via the three-state buffer 5, and recorded on roll recording paper by the printer unit. be done.

当該復号化データの出力が終了すると、符号化復号化制
御回路6により、画像データバッファ2内の当該ライン
バッファ(L B H)は参照ライン用に切り替えられ
、他方のラインバッファ(LBA)が復号化ライン用に
切り替えられる。なお、参照ライン用のラインバッファ
(LBAまたはLBB)の内容は、復号化ラインの復号
化時に符号化復号化回路1により参照されるが、各ペー
ジの先頭ラインの復号化時には、画像データバッファ2
内の少なくとも参照ライン用のラインバッファ(LBA
またはLBH)はりセットされ、その記憶データは全白
ラインのデータに設定される。
When the output of the decoded data is finished, the encoding/decoding control circuit 6 switches the line buffer (L B H) in the image data buffer 2 to the reference line, and the other line buffer (LBA) is switched for decoding. Can be switched for conversion line. Note that the contents of the line buffer (LBA or LBB) for the reference line are referred to by the encoding/decoding circuit 1 when decoding the decoding line, but when decoding the first line of each page, the contents of the line buffer (LBA or LBB) are referenced by the image data buffer 2.
A line buffer (LBA) for at least the reference line in
or LBH) is set, and its stored data is set to the data of the all-white line.

ライン数カウンタ8は、符号化復号化制御回路6の定型
処理制御部10により、各ページの復号化開始直前にリ
セットされ、その後、符号データバッファ3よりライン
終端符号(EOL符号)が入力される度にインクリメン
トされる。したがって、符号化復号化回路1に入力して
復号化された各ページの先頭ラインからの′ライン数が
、ライン数カウンタ8に計数値として得られる。
The line number counter 8 is reset by the standard processing control unit 10 of the encoding/decoding control circuit 6 immediately before the start of decoding of each page, and then the line end code (EOL code) is input from the code data buffer 3. is incremented every time. Therefore, the number of lines from the first line of each page input to the encoding/decoding circuit 1 and decoded is obtained as a count value in the line number counter 8.

比較回路9より一致信号が出る前に、符号データバッフ
ァ3よりRTC符号が入力すると、符号化復号化制御回
路6により、符号化復号化回路1の動作が抑止され、ま
だ画像データバッファ2がリセットされ、その内容が全
白データに設定される。次に、定型処理制御部10の制
御により、画像データバッファ2から全白ラインのデー
タがプリンタ部へ出力される。定型処理制御部10は、
全白ラインデータが1ライン分出力する都度、ライン数
カウンタ8をインクリメントし、比較回路9の比較出力
を調べる。この比較出力が不一致を示していれば、全白
ラインデータを1ライン分出力させる。このようにして
、比較回路9の比較出力が一致を示すまで、全白ライン
データが出力される(ダミーの全白ラインがページ後半
に挿入される)。
If an RTC code is input from the code data buffer 3 before a match signal is output from the comparison circuit 9, the encoding/decoding control circuit 6 inhibits the operation of the encoding/decoding circuit 1, and the image data buffer 2 is still reset. and its contents are set to all white data. Next, under the control of the standard processing control section 10, data for all white lines is output from the image data buffer 2 to the printer section. The routine processing control unit 10
Each time one line of all-white line data is output, the line number counter 8 is incremented and the comparison output of the comparison circuit 9 is checked. If this comparison output indicates a mismatch, one line of all-white line data is output. In this way, all-white line data is output until the comparison output of the comparison circuit 9 indicates a match (a dummy all-white line is inserted in the latter half of the page).

比較回路9の比較出力が一致を示すと、定型処理制御部
10は全白ラインデータの出力を終了する。
When the comparison output of the comparison circuit 9 indicates a match, the standard processing control section 10 finishes outputting the all-white line data.

そして符号化復号化制御回路6よジインターフェイス回
路11を介し、改ページがプリンタ部に通知され、プリ
ンタ部で記録紙をカットする。
Then, the page break is notified to the printer section via the encoding/decoding control circuit 6 and the interface circuit 11, and the printer section cuts the recording paper.

第2図は、このようなライン数不足のページの説明図で
ある。13はページ内の実際に受信したラインの部分で
あり、14は挿入されたダミーの全白ラインの部分であ
る。この部分14のライン数は、設定値PLOと部分】
3のライン数との差に等しい。
FIG. 2 is an explanatory diagram of such a page with an insufficient number of lines. 13 is the actually received line portion in the page, and 14 is the inserted dummy all-white line portion. The number of lines in this part 14 is the set value PLO and the part]
It is equal to the difference from the number of lines of 3.

このように、ライン数が規定値PLOに不足するページ
は、ダミーの全白ラインの挿入により総ライン数が規定
値に合わせられるため、出力記録紙は一定の長さに揃う
In this way, for pages where the number of lines is less than the specified value PLO, the total number of lines is adjusted to the specified value by inserting dummy all-white lines, so that the output recording paper has a constant length.

さて、ここまではライン数が不足しだページの定型処理
について説明したが、ライン数が規定値を越えるページ
の定型処理について次に説明する。
Up to this point, the standard processing for pages with an insufficient number of lines has been described, but the standard processing for pages in which the number of lines exceeds a specified value will now be described.

このようなページの受信の場合、RTC符号が符号デー
タバッファ3より入力する前に、比較回路9よシ一致信
号が出力する。定型処理制御部10でこの一致信号を認
識すると、符号化復号化制御回路6はファクシミ’)装
置の主制御部に割込みをかける。これに対し、処理中断
指示を与えられた場合、符号化復号化制御回路6は復号
化動作を中断させる。
When such a page is received, the comparison circuit 9 outputs a coincidence signal before the RTC code is input from the code data buffer 3. When the routine processing control section 10 recognizes this coincidence signal, the encoding/decoding control circuit 6 interrupts the main control section of the facsimile machine. On the other hand, when a processing interruption instruction is given, the encoding/decoding control circuit 6 suspends the decoding operation.

他方、主制御部よシ処理継続指示を与えられた場合、符
号化復号化制御回路6は、符号化復号化回路1の動作を
抑止し、改ページをプリンタ部へ通知し、画像データバ
ッファ2の現在の復号化ラインのデータが蓄積されてい
るラインバッファ(例えばLBA)を参照ライン用に設
定し、他方のラインバッファ(LBH)をリセットし、
またライン数カウンタ8もリセットする。そして、符号
化復号化回路1を作動させ、当該ページの残シデータを
新しいページのデータとして復号化を行わせる。このペ
ージについても、ライン数が不足するならば、普通のペ
ージと同様にダミーの全白ラインの挿入による定型処理
が行われる。
On the other hand, when an instruction to continue processing is given from the main control unit, the encoding/decoding control circuit 6 suppresses the operation of the encoding/decoding circuit 1, notifies the printer unit of a page break, and transfers the image data buffer 2 to the image data buffer 2. Set the line buffer (for example, LBA) in which the data of the current decoded line of is stored as the reference line, reset the other line buffer (LBH),
The line number counter 8 is also reset. Then, the encoding/decoding circuit 1 is activated to decode the remaining data of the page as data of a new page. If the number of lines is insufficient for this page as well, standard processing is performed by inserting dummy all-white lines in the same way as for normal pages.

次に原稿送信(符号化)の場合について説明する。スキ
ャナ部より転送される送信原稿の画像データは、符号化
復号化制御回路6の制御によりスリーステートバッファ
4を経由して画像データバッファ2に入力され、符号化
ライン用に選ばれた一方のラインバッファ(例えばLB
B)に蓄積される。なお、各ラインの開始、終了、ペー
ジの終了はインターフェイス回路を介しスキャナ部より
符号化復号化制御回路6に通知され、各ページの画像デ
ータの転送開始前に、画像データバッファ2の各ライン
バッファLBA、LBHは符号化復号化制御回路6によ
りセットされる。
Next, the case of document transmission (encoding) will be explained. The image data of the transmission document transferred from the scanner unit is input to the image data buffer 2 via the three-state buffer 4 under the control of the encoding/decoding control circuit 6, and one line selected for the encoding line is inputted to the image data buffer 2 via the three-state buffer 4. Buffer (e.g. LB
B). Note that the start and end of each line and the end of a page are notified from the scanner unit to the encoding/decoding control circuit 6 via the interface circuit, and each line buffer in the image data buffer 2 is notified before the start of transferring the image data of each page. LBA and LBH are set by the encoding/decoding control circuit 6.

符号化復号化制御回路6の制御によυ、符号化ライン用
ラインバッファ(L B H)の画像データおよび参照
ライン用ラインバッファ(L B A)の画像データ(
ページの先頭ラインでは余白ラインデータ)は符号化復
号化回路1に入力され、符号化ラインの画像データが順
次符号化され、その符号化データ(符号データ)は符号
データバッファ3を介して送受信部へ出力され、送信さ
れる。なお、各ページの先頭ラインの先端および各ライ
ンの終端にEOL符号が挿入される。
Under the control of the encoding/decoding control circuit 6, the image data of the line buffer for encoding line (L B H) and the image data of the line buffer for reference line (L B A) (
Margin line data (for the first line of the page) is input to the encoding/decoding circuit 1, where the image data of the encoding line is sequentially encoded, and the encoded data (coded data) is sent to the transmitter/receiver via the encoded data buffer 3. is output to and sent. Note that an EOL code is inserted at the beginning of the first line of each page and at the end of each line.

ライン数カウンタ8は、定型処理制御部10により、各
ページの符号化開始直前にリセットされ、1ラインの画
像データが符号化復号化回路1に入力し符号化された都
度、インクリメントされる。
The line number counter 8 is reset by the standard processing control unit 10 immediately before the start of encoding each page, and is incremented each time one line of image data is input to the encoding/decoding circuit 1 and encoded.

したがって、符号化復号化回路1に入力して符号化され
た各ページの先頭ラインからのライン数がラインカウン
タ8に得られる。
Therefore, the line counter 8 obtains the number of lines from the first line of each page input to the encoding/decoding circuit 1 and encoded.

比較回路9より一致信号が出る前に、ページ終了がスキ
ャナ部より通知された場合、符号化復号化制御回路6に
より、スキャナ部からの次ページのデータの転送を禁止
し、次に符号化ライン用となる一方のラインバッファ(
例えばLBA)だけをリセットし、同様の符号化動作を
行わせる。すなわち、ダミーの全白ラインのデータを符
号化ラインのデータとして符号化復号化回路1に順次入
力して符号化を行わせる。
If the end of the page is notified from the scanner section before a match signal is output from the comparison circuit 9, the encoding/decoding control circuit 6 prohibits the transfer of the next page of data from the scanner section, and then the encoding line One line buffer (
For example, only the LBA) is reset and the same encoding operation is performed. That is, dummy all-white line data is sequentially input to the encoding/decoding circuit 1 as encoded line data to be encoded.

定型処理制御部10は、1ライン分の全白データを入力
する都度、ライン数カウンタ8をインクリメントし、比
較回路9の比較出力を調べる。この比較出力が一致信号
であると定型処理制御部IOにより認識されると、符号
化復号化制御回路6から改ページが符号化復号化回路1
に通知され、符号データの後にRTC符号(EOL符号
列)が出力される。
The regular processing control unit 10 increments the line number counter 8 and checks the comparison output of the comparison circuit 9 every time one line of all-white data is input. When the standard processing control unit IO recognizes that this comparison output is a coincidence signal, a page break is sent from the encoding/decoding control circuit 6 to the encoding/decoding circuit 1.
The RTC code (EOL code string) is output after the code data.

このようにして、送信の場合においても、ライン数が規
定値に見たないページについて、不足ライン数分のダミ
ーの全白ラインのデータが符号化復号化回路1に入力さ
れて符号化される。したがって、受信側ファクシミリ装
置において、その符号化復号化装置が定型処理機能を持
たなくとも、各ページの出力記録紙の長さが一定となり
、従来のような記録紙サイズの不揃いの問題は起こらな
い。
In this way, even in the case of transmission, for pages whose number of lines does not meet the specified value, dummy all-white line data corresponding to the number of missing lines is input to the encoding/decoding circuit 1 and encoded. . Therefore, even if the encoding/decoding device of the receiving facsimile machine does not have a standard processing function, the length of the output recording paper for each page is constant, and the problem of uneven recording paper size as in the past does not occur. .

他方、ページのライン数が規定値を越える場合、以下の
ような動作となる。このようなページの送信の場合、ペ
ージ終了通知の前に比較回路上シー致信号が出力される
。この一致信号が発生すると、符号化復号化制御回路6
はファクシミリ装置の主制御部に割込みをかける。これ
に対し、処理中断指示を与えられた場合、符号化復号化
制御回路6は符号化動作を中断させる。
On the other hand, if the number of lines on the page exceeds the specified value, the following operation will occur. In the case of such page transmission, a seek signal is output on the comparator circuit before the page end notification is sent. When this coincidence signal is generated, the encoding/decoding control circuit 6
interrupts the main control section of the facsimile machine. On the other hand, when a processing interruption instruction is given, the encoding/decoding control circuit 6 suspends the encoding operation.

他方、主制御部より処理継続指示を与えられた場合、符
号化復号化制御回路6は、符号化復号化回路1に改ペー
ジを通知してRTC符号を出力させる。そして、当該ペ
ージの残りデータを新しいページのデータとして符号化
を行わせる。このページについても、ライン数が不足す
るならば、普通のページと同様にダミーの全白ラインの
挿入による定型処理が行われる。
On the other hand, when an instruction to continue processing is given from the main control section, the encoding/decoding control circuit 6 notifies the encoding/decoding circuit 1 of a page break and outputs an RTC code. Then, the remaining data of the page is encoded as data of a new page. If the number of lines is insufficient for this page as well, standard processing is performed by inserting dummy all-white lines in the same way as for normal pages.

以上、ファクシミリ装置に用いた符号化復号化装置の例
について説明したが、本発明は、他の用途に用いられる
同様の符号化復号化装置にも適用できるものである。ま
た、本発明は、符号化または復号化の一方だけを行う装
置にも同様に適用可能である。
Although an example of an encoding/decoding apparatus used in a facsimile machine has been described above, the present invention can also be applied to similar encoding/decoding apparatuses used for other purposes. Furthermore, the present invention is equally applicable to devices that perform only one of encoding and decoding.

発明の効果 以上の説明から明らかなように、本発明は、ページのラ
イン数が規定値より少ない場合、その不足分のダミーの
全白ラインをページに挿入することにより各ページの総
ライン数を一定にする定型処理を行うため、ファクシミ
リ装置において問題となっていた出力記録紙のサイズの
不揃いを防止できるなどの効果を有するものである。
Effects of the Invention As is clear from the above description, when the number of lines on a page is less than a specified value, the present invention can reduce the total number of lines on each page by inserting dummy all-white lines to cover the shortage. Since a fixed format process is performed, it is possible to prevent irregularities in the size of output recording paper, which has been a problem in facsimile machines.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例による符号化復号化装置の概
略構成図、第2図は定型化処理の説明図である。 1・・・符号化復号化回路、2・・・画像データバンフ
ァ、3・・・符号データバッファ、6・・・符号化復号
化制御回路、7・・・設定値レジスタ、8・・・ライン
数カウンタ、9・・・比較回路、10・・・定型処理制
御部。
FIG. 1 is a schematic configuration diagram of an encoding/decoding apparatus according to an embodiment of the present invention, and FIG. 2 is an explanatory diagram of stylization processing. DESCRIPTION OF SYMBOLS 1... Encoding/decoding circuit, 2... Image data buffer, 3... Code data buffer, 6... Encoding/decoding control circuit, 7... Setting value register, 8... Line number counter, 9... Comparison circuit, 10... Standard processing control section.

Claims (1)

【特許請求の範囲】[Claims] 外部より入力したデータを符号化復号化回路により符号
化しまたは復号化し、その符号化データまたは復号化デ
ータを外部へ出力する符号化復号化装置において、前記
符号化復号化回路に入力した各ページのデータのライン
数を計数する計数手段と、前記符号化復号化回路に各ペ
ージの最終ラインのデータが入力した時点における前記
計数手段の計数値の設定値からの不足分を補うためのダ
ミーの全白ラインデータを、当該ページの復号化データ
として外部へ出力させ、または当該ページの入力データ
として前記符号化復号化回路に入力するための手段とを
有することを特徴とする符号化復号化装置。
In an encoding/decoding device that encodes or decodes data input from the outside using an encoding/decoding circuit and outputs the encoded data or decoded data to the outside, each page input to the encoding/decoding circuit is A counting means for counting the number of lines of data, and a dummy counter for compensating for the shortfall from the set value of the count value of the counting means at the time when the data of the last line of each page is input to the encoding/decoding circuit. An encoding/decoding device comprising means for outputting white line data to the outside as decoded data of the page or inputting it to the encoding/decoding circuit as input data of the page.
JP62284551A 1987-11-11 1987-11-11 Encoding / decoding device Expired - Fee Related JPH0716231B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62284551A JPH0716231B2 (en) 1987-11-11 1987-11-11 Encoding / decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62284551A JPH0716231B2 (en) 1987-11-11 1987-11-11 Encoding / decoding device

Publications (2)

Publication Number Publication Date
JPH01126072A true JPH01126072A (en) 1989-05-18
JPH0716231B2 JPH0716231B2 (en) 1995-02-22

Family

ID=17679915

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62284551A Expired - Fee Related JPH0716231B2 (en) 1987-11-11 1987-11-11 Encoding / decoding device

Country Status (1)

Country Link
JP (1) JPH0716231B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60163570A (en) * 1984-02-06 1985-08-26 Canon Inc Facsimile equipment
JPS6242868A (en) * 1985-08-21 1987-02-24 Casio Comput Co Ltd Page printer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60163570A (en) * 1984-02-06 1985-08-26 Canon Inc Facsimile equipment
JPS6242868A (en) * 1985-08-21 1987-02-24 Casio Comput Co Ltd Page printer

Also Published As

Publication number Publication date
JPH0716231B2 (en) 1995-02-22

Similar Documents

Publication Publication Date Title
US4672460A (en) Facsimile apparatus
JPS6242551B2 (en)
JPH09233300A (en) Facsimile equipment
US20060082796A1 (en) Method and apparatus for printing image at a print speed determined by the number of printing lines
JPH01126072A (en) Encoding/decoding device
JPH04301940A (en) Data communication equipment
JPH0374993B2 (en)
JP3391256B2 (en) Facsimile machine
JP3026634B2 (en) Facsimile machine
JP3282765B2 (en) Facsimile communication device
JP2003189074A (en) Facsimile communication apparatus
JP2869104B2 (en) Facsimile machine with storage function
JPH0413368A (en) Transmission control method for facsimile equipment
JPS62272752A (en) Facsimile equipment
JP2502800B2 (en) Image communication device
JP2574609B2 (en) Facsimile machine
JP2696383B2 (en) Facsimile apparatus and facsimile communication method
JPH10173853A (en) Facsimile system
JPH04216265A (en) Mode switching system for facsimile equipment
JPH1013600A (en) Facsimile equipment and its data processing method
JPH0795343A (en) Composite equipment
JPH0730738A (en) Facsimile equipment
JPH05145771A (en) Facsimile communication adaptor device
JPH04119758A (en) Facsimile communication system
JPS62263765A (en) Facsimile equipment

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees