JPS61176262A - Picture processing system - Google Patents

Picture processing system

Info

Publication number
JPS61176262A
JPS61176262A JP1700385A JP1700385A JPS61176262A JP S61176262 A JPS61176262 A JP S61176262A JP 1700385 A JP1700385 A JP 1700385A JP 1700385 A JP1700385 A JP 1700385A JP S61176262 A JPS61176262 A JP S61176262A
Authority
JP
Japan
Prior art keywords
image
signal
memory
printer
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1700385A
Other languages
Japanese (ja)
Inventor
Shinobu Arimoto
有本 忍
Masanori Muramatsu
村松 正憲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP1700385A priority Critical patent/JPS61176262A/en
Publication of JPS61176262A publication Critical patent/JPS61176262A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storing Facsimile Image Data (AREA)
  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To form an accurately an image by supplying the picture signals given from an output CONSTITUTION:In case the picture signal R-VDA given from a reader has a sudden change and.

Description

【発明の詳細な説明】 本発明は画像を電気的な画像信号として処理する画像処
理システムに関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an image processing system that processes images as electrical image signals.

従来より画像を電気信号に変換し、これを伝送したり或
いは蓄積する等の画像処理が提案されている。
Image processing such as converting an image into an electrical signal and transmitting or storing the electrical signal has been proposed.

ところで、400dpiの解像度によりA3サイズの画
像を2価値号で表わすためには、約4Mbyteの画像
信号が用いられる。従って、この画像信号を記憶するた
めには少なくとも同じbyt e数の記憶容量を持った
メモリを必要とし、また、複数枚分の画像を記憶するに
はそ゛の枚数倍の容量が当然必要となる。
By the way, in order to represent an A3 size image in binary code with a resolution of 400 dpi, an image signal of approximately 4 Mbytes is used. Therefore, in order to store this image signal, a memory with a storage capacity of at least the same number of bytes is required, and to store multiple images, of course, a capacity that is twice that number is required. .

そこで、画像の記憶に際し、画像を圧縮することが考え
られる。これによると一般的な画像のデータ量が1/1
0程度に減少でき、複数枚分の画像記憶も比較的小容量
のメモリで可能となる。
Therefore, it is conceivable to compress the image when storing the image. According to this, the amount of data for a typical image is 1/1
It is possible to reduce the number of images to about 0, and it is possible to store images for a plurality of images with a relatively small capacity memory.

しかし、圧縮後の情報量は画像内容により左右され不確
定である。従って、現在記憶可能な領域に画像を全て記
憶できない場合も生じ、この場合には記憶手段から完全
な画像情報を出力不能となってしまう。
However, the amount of information after compression depends on the image content and is uncertain. Therefore, there may be cases where not all images can be stored in the currently storable area, and in this case, it becomes impossible to output complete image information from the storage means.

本発明は以上の点に鑑みてなされたもので、圧縮された
画像信号が記憶手段に格納できなくても、像形成動作を
確実に実行可能とすることを目的とし、詳しくは画像信
号を出力する手段と、上記出力手段からの画像信号を圧
縮する手段と、上記圧縮手段により圧縮された画像信号
を複数秋分記憶可能な記憶手段と、上記出力手段及び記
憶手段からの画像信号に基づいて画像を形成する手段を
有し、上記圧縮手段により圧縮された画像信号を記憶す
る領域が上記記憶手段に存在しない場合、上記出力手段
からの画像信号を上記記憶手段を介さずに、上記形成手
段に供給する画像処理システムを提供するものである。
The present invention has been made in view of the above points, and it is an object of the present invention to make it possible to reliably perform an image forming operation even if a compressed image signal cannot be stored in a storage means. means for compressing the image signal from the output means; storage means capable of storing a plurality of image signals compressed by the compression means; If there is no area in the storage means to store the image signal compressed by the compression means, the image signal from the output means is sent to the formation means without passing through the storage means. The present invention provides an image processing system that supplies images.

以下、本発明を図面を用いて詳細に説明する。Hereinafter, the present invention will be explained in detail using the drawings.

第1図は本発明を適用した画像処理システムであり、画
像読取り装置(以下リーダーと記す)1−1、画像記憶
装置(以下RMUと記す)1−2、画像形成装置(以下
プリンタと記す)1−3から構成されている。
FIG. 1 shows an image processing system to which the present invention is applied, including an image reading device (hereinafter referred to as reader) 1-1, an image storage device (hereinafter referred to as RMU) 1-2, and an image forming device (hereinafter referred to as printer). It consists of 1-3.

主な機能としてリーダー1−1で読み取った画像信号を
プリンタ1−3で像形成するコピー機能、リーダー1−
1で読み取った画信号を態化1−2に記憶するメモリ入
力機能1.RMU 1−2のメモリ内に記憶されている
画信号をプリンタ1−3において像形成するメモリプリ
ントアウト機能がある。
The main functions are a copy function that forms an image on the printer 1-3 from the image signal read by the reader 1-1;
1. Memory input function for storing the image signal read in 1-2 in 1-2. There is a memory printout function for forming an image on the printer 1-3 from the image signal stored in the memory of the RMU 1-2.

各装置は後述するビデオインターフェースによって接続
されている。
Each device is connected by a video interface, which will be described later.

リーダー1−1は第2図、第3図に示すように、例えば
約5000ビツトの受光素子を有するCCDラインセン
サ3−1により原稿台2−1上の原稿を複数画素に分解
してライン毎に読取り、原稿画像の濃淡を示すビットシ
リアルな2値化画像信号VDA、VDBを出力する。第
2図において、CCD3−1による1ラインの読取りが
主走査読取り2−2であり、主走査読取シラインの主走
査方向にほぼ垂直な方向への移動が副走査2−3である
As shown in FIGS. 2 and 3, the reader 1-1 uses a CCD line sensor 3-1 having a light-receiving element of about 5,000 bits, for example, to separate the document on the document table 2-1 into a plurality of pixels, line by line. bit serial binary image signals VDA and VDB indicating the density of the original image are output. In FIG. 2, reading one line by the CCD 3-1 is main scanning reading 2-2, and movement of the main scanning line in a direction substantially perpendicular to the main scanning direction is sub-scanning 2-3.

第3図はリーダーの簡単な構成、図であり、原稿台2−
1の原稿から図示していない照明系により得られる反射
光をCCDライセンサ3−1によシ1主走査、ライン分
のビットシリアルな画像電気信号に変換する。CCD3
−1による原稿から反射光の強さに応じたアナログ画像
電気信号はA/Dコンバータ3−2により各画素毎の複
数ビットのディジタル画信号にディジタル化される。雪
のディジタル化された画信号は2値化コンパレータ3−
3.3−4gよシ、閾値ジェネレータ3−5,3−6か
ら発生される2値化閾値信号と夫々比較され、2系統の
1か0の禽値化画便信号VDA、VDBとして出力され
る。
Figure 3 shows a simple structure and diagram of the reader.
A CCD licensor 3-1 converts reflected light obtained from one original by an illumination system (not shown) into a bit-serial image electrical signal for one main scanning line. CCD3
The analog image electrical signal corresponding to the intensity of reflected light from the original document 1 is digitized by the A/D converter 3-2 into a multi-bit digital image signal for each pixel. The digitized snow image signal is sent to a binarized comparator 3-
3.3-4g is compared with the binarized threshold signals generated from the threshold generators 3-5 and 3-6, respectively, and output as two systems of 1 or 0 binary-valued image signals VDA and VDB. Ru.

仮すに、A/Dコンバータ3−2によシ入力するアナロ
グ画像信号を6ピツトのディジタル画信号に変換したと
すると、0〜63の値をもつ64の濃度レベルが得られ
る。例えば閾値ジェネレータA3−5からの閾値を42
、閾値ジェネレータB5−6からの閾値を21とすると
2値化コンパレータ3−3.3−4からの2値化画像信
号VDAとVDBは以下のようになる。
Assuming that the analog image signal input to the A/D converter 3-2 is converted into a 6-pit digital image signal, 64 density levels having values from 0 to 63 are obtained. For example, set the threshold value from the threshold value generator A3-5 to 42
, assuming that the threshold value from the threshold value generator B5-6 is 21, the binarized image signals VDA and VDB from the binarized comparator 3-3, 3-4 are as follows.

すなわち、A/Dコンバータ3−2からの出力がO二2
0の場合HVDA=O,VDB=O1A/Dコンバータ
3−2からの出力が21〜41OjlJ 合ハV D 
A = 0 、 V D B = 1、A / D :
r yメータ3−2からの出力が42〜63の場合はV
DA= 1.V、DB=1 とfxす、IjK稿から(
Dm像信号はその反射濃度に応じて3つの状態VDA=
O,VDB=O1VDA=O,VDB=1、vDA=1
.vDB=1で表わされる。従ッテ、画像信号は各画素
毎に3値でリーダーから出力される。尚、閾値ジェネレ
ータA、閾値ジェネレータBからの閾値を等しくするこ
とも可能で、これによシ2値の画像信号が出力される。
That is, the output from the A/D converter 3-2 is
When 0, HVDA=O, VDB=O1 The output from A/D converter 3-2 is 21 to 41 OjlJ Goha V D
A=0, VDB=1, A/D:
If the output from ry meter 3-2 is 42 to 63, V
DA=1. V, DB=1 and fx, from IjK draft (
The Dm image signal has three states VDA= depending on its reflection density.
O, VDB=O1 VDA=O, VDB=1, vDA=1
.. It is represented by vDB=1. Finally, the image signal is output from the reader in three values for each pixel. Note that it is also possible to make the threshold values from the threshold value generator A and the threshold value generator B equal, so that a binary image signal is output.

また、閾値コンパレータ3−5.3−6は従来公知の組
織的ディザ法によるディザマトリクス閾値を発生するこ
とも出来、これによfiVDA、VDBの3値化画像信
号で中間調を表現することも可能である。
Further, the threshold comparators 3-5, 3-6 can also generate a dither matrix threshold using a conventionally known systematic dither method, and by this, it is also possible to express halftones with fiVDA and VDB ternary image signals. It is possible.

第1図中のRMUl−2は前述の如く画像記憶装置であ
る。その内部はリーダーからの画像信号を符号化により
圧縮処理する圧縮回路1−2−1と、符号化された画像
信号を記憶する圧縮画像メモリ1−2−2と、圧縮画像
メモリ1−2−2の圧縮画像信号を読出し、復号化処理
してビットシリアル々画像信号に伸長する伸長回路1−
2−3で構成されている。
RMU1-2 in FIG. 1 is an image storage device as described above. The inside includes a compression circuit 1-2-1 that compresses the image signal from the reader by encoding, a compressed image memory 1-2-2 that stores the encoded image signal, and a compressed image memory 1-2- An expansion circuit 1- reads out the compressed image signal of No. 2, decodes it, and expands it into a bit serial image signal.
It consists of 2-3.

1−3のプリンタは従来から良く知られている静電記録
プロセスによるレーザービームプリンタであり第4図に
概略図を示す。第4図において、4−1は所定軸に関し
て回転する感光ドラム、4−2は画像信号をレーザー光
の0N−OFFに変換するレーザードライバー、4−3
はレーザードライバー4−2から発せられたし一ザー光
を感光ドラム4−1の軸方向に走査するポリゴンスキャ
ナー、4−4はレーザー光の走査により形成された感光
ドラム4−1の静電潜像をトナー現像する現像ユニツ)
、4−5はプリント用紙カセット、4−6はプリント用
紙カセット4−5よりプリント用紙を1枚ずつ引き出す
プリント用紙ピックアップローラー、4−7はプリント
用紙を感光ドラム4−1の回転に同期して送シ出すレジ
ストローラー、4−8は感光ドラム4−1上のトナー像
をプリント用紙に転写する転写ユニット、4−9はプリ
ント用紙に転写されたトナー像をプリント用紙に定着さ
せる定着ユニツ)、4−10はトナー像の定着されたプ
リント用紙が排出される排紙トレーである。
The printer 1-3 is a laser beam printer using a well-known electrostatic recording process, and a schematic diagram thereof is shown in FIG. In FIG. 4, 4-1 is a photosensitive drum that rotates about a predetermined axis, 4-2 is a laser driver that converts an image signal into ON/OFF laser light, and 4-3
4-4 is a polygon scanner that scans laser light emitted from a laser driver 4-2 in the axial direction of the photosensitive drum 4-1, and 4-4 is a polygon scanner that scans a laser beam emitted from a laser driver 4-2 in the axial direction of the photosensitive drum 4-1. Development unit that develops images with toner)
, 4-5 is a print paper cassette, 4-6 is a print paper pickup roller that pulls out print paper sheets one by one from the print paper cassette 4-5, and 4-7 is a print paper pickup roller that picks up print paper sheets one by one from the print paper cassette 4-5. 4-8 is a transfer unit that transfers the toner image on the photosensitive drum 4-1 onto the print paper; 4-9 is a fixing unit that fixes the toner image transferred to the print paper on the print paper); Reference numeral 4-10 denotes a paper discharge tray from which the print paper on which the toner image has been fixed is discharged.

プリンタにおいて電気信号である画像信号が、プリント
用紙上に具現化される動作を第5図を参照して説明する
。ビデオインターフェース5−11から入力される2系
統の2値化画像信号VDA、VDBは、合成回路5−1
0で3値(VD信号)に合成されレーザ・ドライバ5−
3に入力され、半導体レーザ5−4でVD信号に基づい
だレーザ光に変換される。レーザ光は、コリメータ・レ
ンズ5−5で集束され、ポリゴン・ミラー5−6で所定
回転している感光ドラム5−2の回転軸に対し略平行方
向にスキャンされる。スキャンされたレーザ光は、f−
θレンズ5−7で走査位置の補正を受け、感光ドラム5
−2上に照射されVD信号による潜像を形成する。
The operation in which an image signal, which is an electrical signal, is realized on print paper in a printer will be described with reference to FIG. The two systems of binary image signals VDA and VDB input from the video interface 5-11 are sent to the synthesis circuit 5-1.
0, it is synthesized into three values (VD signal) and the laser driver 5-
3 and is converted into laser light by a semiconductor laser 5-4 based on the VD signal. The laser beam is focused by a collimator lens 5-5, and scanned by a polygon mirror 5-6 in a direction substantially parallel to the rotation axis of the photosensitive drum 5-2, which is rotated by a predetermined amount. The scanned laser beam is f-
The scanning position is corrected by the θ lens 5-7, and the photosensitive drum 5
-2 to form a latent image based on the VD signal.

プリンタの像形成はいわゆる静電記録方式を使用してお
り、感光ドラム5−2上に印加された電荷をレーザ光で
必要部分を除去し、これに現像剤を用いて現像処理を行
い、プリント用紙に転写、定着をすることによシ行う。
Image formation in the printer uses a so-called electrostatic recording method, in which the required portion of the charge applied to the photosensitive drum 5-2 is removed using a laser beam, and a developing process is performed using a developer to print the image. This is done by transferring and fixing onto paper.

静電記録方式は、周知の技術であるので、詳細な説明は
省略する。
Since the electrostatic recording method is a well-known technique, detailed explanation will be omitted.

さて、ポリゴン・ミラー5−6によってスキャンされた
レーザ光は、感光ドラム5−2に照射される前に光ファ
イバー5−8に入射され、光検知器5−9はその入射を
検知すると電気信号(BD倍信号を出力する。
Now, the laser beam scanned by the polygon mirror 5-6 is incident on the optical fiber 5-8 before being irradiated onto the photosensitive drum 5-2, and when the photodetector 5-9 detects the incident, an electric signal ( Outputs BD double signal.

画信号出力装置はBD倍信号発生してからレーザ光が感
光ドラム2−2に到達するまでの時間待ってからV’D
信号を出力すれば、感光ドラム2−2上の適切な位置に
潜像が形成されることになる。
The image signal output device waits the time from when the BD double signal is generated until the laser beam reaches the photosensitive drum 2-2, and then outputs the V'D signal.
If the signal is output, a latent image will be formed at an appropriate position on the photosensitive drum 2-2.

第1図の各装置を結合するインターフェースをビデオイ
ンターフェースと呼び、第6図にその概略図を示す。
The interface that connects the devices shown in FIG. 1 is called a video interface, and FIG. 6 shows its schematic diagram.

ビデオ・インターフェースは画像出力装置6−エと画像
受信装置6−2を結合するインターフェースであり、画
像出力装置の代表例とじて前述のリーダーがあり、画像
受信装置としてはプリンタがある。第1図の画像記憶装
置(RMU)1−2はリーダー1−1に対しては画像受
信装置として位置づけられ、プリンタ1−3に対しては
画像出力装置として位置づけられる。
The video interface is an interface that connects the image output device 6-e and the image reception device 6-2.A typical example of the image output device is the above-mentioned reader, and an example of the image reception device is a printer. The image storage unit (RMU) 1-2 in FIG. 1 is positioned as an image receiving device for the reader 1-1, and as an image output device for the printer 1-3.

ビデオインターフェースは前述のようにビットシリアル
な画像信号VDA、VDBを伝送するとともに、画像信
号を制御する信号としての画像受信装置からのライン同
期信号BD、画像出力装置からの出力画像信号1ページ
分の区間信号であるVSYNC,1ラインの区間信号で
あるビデオイネプル(VE )、画像クロック■CLK
からなる同期信号が伝送される。
As mentioned above, the video interface transmits the bit-serial image signals VDA and VDB, as well as the line synchronization signal BD from the image receiving device as a signal that controls the image signal, and the output image signal for one page from the image output device. VSYNC, which is a section signal, video input signal (VE), which is a one-line section signal, and image clock CLK.
A synchronization signal consisting of

これらの画像/画像同期信号は第7図に示す位相関係に
あり画像出力装置はBD倍信号受信すると第5図のBD
信号発生位置である光ファイバ5−8の受光端から感光
ドラム5−2の画像有効領域までの時間(レフトマージ
ン)をカウントした後、1ライン分の画像信号VDA。
These image/image synchronization signals have the phase relationship shown in FIG. 7, and when the image output device receives the BD double signal, the BD signal shown in FIG.
After counting the time (left margin) from the light receiving end of the optical fiber 5-8, which is the signal generation position, to the image effective area of the photosensitive drum 5-2, one line worth of image signal VDA is obtained.

VDB及び区間信号■Eを出力する。信号VE。Outputs VDB and section signal ■E. Signal VE.

VDA、VDBは画像クロックVCLKに同期しており
、プリンタにおいてVDAとVDBはクロックVCLK
に同期して記録画像vbとして三値合成され、レーザー
ドライバに伝達される0 さらにビデオインターフェースには、制御情報を表わす
制御信号として各装置のコネクト信号(DCNCT)、
各装置の制御部が正常に動作していることを示すパワー
レディ信号(DPRDY)、画像受信装置の出力用紙給
紙可能状態を示す信号(PR,EQ)、画像出力装置か
らの出力用紙給紙信号(PRINT)、画像受信装置か
らの画像要求信号(■5REQ)が伝送される。また、
制御信号としてはプリンタの給紙段の紙サイズ情報や各
種装置の接続状態や詳細なエラー情報等も含まれる。
VDA and VDB are synchronized with the image clock VCLK, and in the printer, VDA and VDB are synchronized with the clock VCLK.
In synchronization with 0, the recorded image VB is ternary-synthesized and transmitted to the laser driver.Furthermore, the video interface has a connect signal (DCNCT) for each device as a control signal representing control information.
A power ready signal (DPRDY) indicating that the control unit of each device is operating normally, a signal (PR, EQ) indicating that the image receiving device is ready for output paper feeding, and an output paper feeding from the image output device. A signal (PRINT) and an image request signal (5REQ) from the image receiving device are transmitted. Also,
The control signals include information on the paper size of the paper feed stage of the printer, the connection status of various devices, detailed error information, and the like.

第8図にビデオインターフェースを伝送される各種信号
の名称、略称、伝送方向、信号の分類及び内容を一覧表
として示す。
FIG. 8 shows a list of names, abbreviations, transmission directions, signal classifications, and contents of various signals transmitted through the video interface.

本実施例における構成要素の概略の説明は以上であるが
、それを踏まえてR,MU 1−2における画像符号化
の説明を行う。
The outline of the components in this embodiment has been described above, and image encoding in R and MU 1-2 will be explained based on the above.

リーダーからの画像信号はビットシリアルな画情報であ
るの−で400 dpi (1インチ当り400ドツト
)の解像度で読み取られた画情報は、A31ページで3
.7Mバイトのメ阜り容量と左る。これは64にビット
のDRAMで574コ相当の画情報であり実装面でも、
価格面でも非現実的であるので、画像を圧縮符号化して
メモリ1−2−2に記憶する。
The image signal from the reader is bit-serial image information, so the image information read at a resolution of 400 dpi (400 dots per inch) is 3 on an A31 page.
.. The memory capacity is 7MB. This is equivalent to 574 pieces of image information in a 64-bit DRAM, and in terms of implementation,
Since it is unrealistic in terms of cost, the image is compressed and encoded and stored in the memory 1-2-2.

リーダーからの画情報は画像圧縮部1−2−2にて圧縮
符号化処理されるが、本実施例では符号化としてランレ
ングス法を用いている。ランレングス法は画像信号の1
′”の状態あるいは′0″の状態の連続数をカウンタに
て計数した結゛果を画像信号として取扱うものであり、
本実施例ランレングス符号化の形式を第9図に示す。
The image information from the reader is compressed and encoded by the image compression section 1-2-2, and in this embodiment, the run-length method is used for encoding. The run-length method uses 1 of the image signal.
The result of counting the number of consecutive ``'' states or ``0'' states using a counter is treated as an image signal.
FIG. 9 shows the format of run-length encoding in this embodiment.

本実施例におけるランレングスコードのフォーマットは
(9−1)に示す如く1バイト(8ビツト)で構成され
画像の符号化データはbit6〜bitQに7ビツトの
2進形式で表わされる。
The format of the run length code in this embodiment is composed of 1 byte (8 bits) as shown in (9-1), and the encoded data of the image is expressed in a 7-bit binary format in bits 6 to bitQ.

また、7ビツトの2進形式ではランレングス(110の
連続数)は0ピツトから127ビツトまでしか表わすこ
とができないので、128ビツト以上のランレングスの
場合は、2バイト構成で表わす。この場合2バ″イトの
一方は128ビツトの整数倍のランレングスを表わすメ
イクアップコード(以下Mコードと記す)となり、残る
1バイトはOビットから127ビツトまでの端数を表わ
すターミネートコード(以下Tコードと記す)と々る。
Furthermore, in the 7-bit binary format, the run length (consecutive number of 110) can only be expressed from 0 pit to 127 bits, so if the run length is 128 bits or more, it is expressed in a 2-byte configuration. In this case, one of the 2'' bytes is a make-up code (hereinafter referred to as M code) that represents a run length that is an integral multiple of 128 bits, and the remaining 1 byte is a termination code (hereinafter referred to as T code) that represents a fraction from O bit to 127 bits. (written as code) Totoru.

このメークアップコードとターミネートコードを区別す
るために(9−1)に示す如(bit 7を識別フラグ
として用い、1がMコード、0がTコードを示す6 本実施例のランレングス符号化をA3サイズの原稿の主
走査長297 mm分の1ラインの画像信号4677ビ
ツトが白信号5ピツト連続と黒信号4672ビツト連続
の白・黒パターンで構成された場合を例にとって説明す
る。
In order to distinguish between the makeup code and the termination code, as shown in (9-1) (bit 7 is used as an identification flag, 1 indicates the M code and 0 indicates the T code). An example will be explained in which the image signal of 4677 bits of one line corresponding to the main scanning length of 297 mm of an A3 size original is composed of a black and white pattern consisting of 5 consecutive bits of white signal and 4672 consecutive bits of black signal.

本実施例におけるランレングス法では最初に表われる白
5ビットは(9−3)のようにTコードを用いて符号化
される。次に表われる黒4672ビットは°128以上
なのでMコードとTコードから構成され、Mコードとし
ては(9−4)のように、・36が2進化表現され、T
コード″としては(9−5)のように、64が2進化表
現される。すなわち、Mコード(128×36)+Tコ
ード(64)−4672と符号化されることになる。以
上説明したように、上述した4677ビツトの1ライン
の画像信号は(9−3)、 (9−4)、 (9−5)
の3バイトで表現される。
In the run-length method in this embodiment, the first 5 white bits appearing are encoded using a T code as in (9-3). The next 4,672 black bits are 128 degrees or more, so they are composed of an M code and a T code.
As for the code, 64 is expressed in binary code as (9-5). In other words, it is encoded as M code (128 x 36) + T code (64) - 4672. As explained above, The image signal of one line of 4677 bits mentioned above is (9-3), (9-4), (9-5).
It is expressed in 3 bytes.

また、1ラインの区切りの信号として(9−2)に示す
EOL:r−ド(End of Line ニア−)”
)を用いている。このEOLコードはbit 7が1で
あるため、Mコードのようであるが、Mコードで1)i
t 6からbit □が全て1である場合は、1’ 6
2 ’56ビツトの画像信号の連続を意味することにな
る。本実施例において1ラインのデータ長は最大467
7ビツトであり、Mコードでは必らずbit 6がOに
なるだめ、通常のランレングス符号化で全てのビットが
1になるMコードが発生することはなく、EOLコード
とMコードは明確に区別される。
In addition, as a signal to separate one line, EOL:r-do (End of Line near) shown in (9-2) is used.
) is used. Since bit 7 of this EOL code is 1, it looks like an M code, but in the M code, 1) i
If bit □ is all 1 from t 6, 1' 6
This means a series of 2'56-bit image signals. In this example, the maximum data length of one line is 467
It is 7 bits, and in M code, bit 6 is always O, so normal run-length encoding does not generate M code where all bits are 1, and EOL code and M code are clearly defined. distinguished.

とのEOLコードを加えて前述の白5ビット黒4672
ビットの4677ビツトの1ラインの画像信号は原信号
の約1/14’6の量に当る4バイトデータでメモリに
書き込まれることになる。尚、本符号化方法は白か黒か
を示すデータを符号中に持ってい々い。そのかわりに、
■ラインのデータは必らず白コードで初まることとして
いる。そして、Tコードを白から黒、黒から白へのデー
タの変化を示すコードとして兼用している。もし1ライ
ンが黒から初まる場合は白Oを表わすTコードOを黒コ
ードの前に付ける。また、画像の連続がちょうど128
の整数倍で、Mコードのみで符号化できる場合にも、色
が変化するという意味で白0を表わすTコード0を付け
る。
Add the EOL code to the above white 5 bit black 4672
One line of image signal of 4677 bits is written into the memory as 4-byte data, which is about 1/14'6 of the original signal. Note that this encoding method requires that data indicating whether the image is white or black be included in the code. instead,
■Line data always begins with a white code. The T code is also used as a code indicating data change from white to black and from black to white. If one line starts from black, a T code O representing white O is added in front of the black code. Also, the number of consecutive images is exactly 128.
Even if it is an integer multiple of , and can be encoded using only the M code, a T code 0 representing white 0 is added because the color changes.

第10図を参照して、本実施例の詳細な説明を行う。This embodiment will be described in detail with reference to FIG. 10.

第10図は第1表の詳細な構成を示す図であり10−1
のリーダーが第1図における1−1のリーダーに、10
−3のプリンタが1−3のプリンタに、10−4の圧縮
回路が1−2−1に、10−5の圧縮画像メモリが1−
2−2に、10−6の伸長回路が1−2−3におのおの
対応している。10−2はコントローラーでありマイク
ロプロセッサ及び周辺I10ポートデバイスから構成さ
れており、リーダー10−1、プリンタ10−3とのシ
リアル通信、各種ビデオインターフェース制御信号の入
出力、RMU内部のセレクタの制御、カウンタ、コンパ
レータ等への定数のセット、各種タイミング信号の発生
、R,MU内部状態の取り込み等の機能を有する。
Figure 10 is a diagram showing the detailed structure of Table 1, and is 10-1.
The leader of 10 becomes the leader of 1-1 in Figure 1.
-3 printer to 1-3 printer, 10-4 compression circuit to 1-2-1, 10-5 compressed image memory to 1-
The expansion circuits 2-2 and 10-6 correspond to 1-2-3, respectively. 10-2 is a controller, which is composed of a microprocessor and peripheral I10 port devices, and is responsible for serial communication with the reader 10-1 and printer 10-3, input/output of various video interface control signals, control of selectors inside the RMU, It has functions such as setting constants to counters, comparators, etc., generating various timing signals, and capturing internal states of R and MU.

10−4の圧縮回路はリーダー10−1からの画像信号
を前述のランレングス法で、1ラインずつ圧縮する回路
である。
The compression circuit 10-4 is a circuit that compresses the image signal from the reader 10-1 line by line using the run-length method described above.

10−5は圧縮画像メモリで圧縮回路10−4で生成さ
れるランレングスコードを書き込み。
10-5 is a compressed image memory in which the run length code generated by the compression circuit 10-4 is written.

また、10−6の伸長回路に読み出されたコードを供給
する。
It also supplies the read code to the decompression circuit 10-6.

伸長回路10−6は圧縮画像メモIJ 10−5からの
ランレングスコードをビットシリアルな画像データに伸
長する回路である。
The decompression circuit 10-6 is a circuit that decompresses the run-length code from the compressed image memo IJ 10-5 into bit-serial image data.

10−7はEOLコード検出回路で伸長中に起こるEO
Lエラーの検出、EOLエラーの修復、EOLコードの
読み飛ばしによる伸長時の画像の副走査方向の縮小を行
う。まだ、EOL検出回路はコントローラー10−2か
らの副走査、伸長区間信号V−D ECがアサートされ
た時のみ動作する回路であり、信号■・DECがネゲー
トされている時に1,1:EOL検出回路10−7の出
力信号であるバッファチェンジイネーブル(Buff 
CHG ENB )信号とデータイネーブル(Data
 BNB )信号はハイ(H)L/ベベル固定され、D
R,P2信号はロー(L)レベルに固定される。
10-7 is an EOL code detection circuit that detects EO that occurs during decompression.
Detects L errors, repairs EOL errors, and reduces images in the sub-scanning direction during decompression by skipping EOL codes. Still, the EOL detection circuit is a circuit that operates only when the sub-scanning and expansion period signal V-DEC from the controller 10-2 is asserted, and 1, 1: EOL detection is performed when the signal ■・DEC is negated. The buffer change enable (Buff) which is the output signal of the circuit 10-7
CHG ENB ) signal and data enable (Data
BNB ) signal is fixed at high (H) L/bevel, D
The R and P2 signals are fixed at low (L) level.

10−8はメモリアドレスカウンタでアップカウント動
作をし、圧縮画像メモリ10−5のアドレッシングを行
う。このカウンタはコントローラー10−2で書き込み
読み出し開始アドレスの設定が可能で、さらにカウンタ
出力がコントローラー10−2によシ読み込むことが可
能な構成である。このカウンタ10−8のカウントクロ
ツクとしては圧縮回路10−4、伸長回路10−6、E
OL検出回路10−7からのDWP信号、DRP1信号
、DRP2信号がNORゲー)10−29を通して与え
られる。
A memory address counter 10-8 performs an up-count operation to address the compressed image memory 10-5. This counter is configured such that the controller 10-2 can set a write/read start address, and furthermore, the counter output can be read by the controller 10-2. The count clock for this counter 10-8 is a compression circuit 10-4, an expansion circuit 10-6, and an E
The DWP signal, DRP1 signal, and DRP2 signal from the OL detection circuit 10-7 are applied through the NOR gate 10-29.

10−10はディザカウンタであり第11図の構成を持
つ。本実施例におけるディザカウンタけ13−1の3ビ
ツトダウンカウンタと11−2の10ビツトダウンカウ
ンタと、13−3の10ビツトコンパレータから構成さ
れている。
10-10 is a dither counter having the configuration shown in FIG. In this embodiment, the dither counter consists of a 3-bit down counter 13-1, a 10-bit down counter 11-2, and a 10-bit comparator 13-3.

11−3と13−2の2つのダウンカウンタで合計13
ビツトのアドレス信号DADRをダブルバッファメモリ
10−15に供給する。
Two down counters, 11-3 and 13-2, totaling 13.
A bit address signal DADR is supplied to double buffer memories 10-15.

10−11はラインカウンタで、コントローラー10−
2にて設定されたライン数を計数し、計数が終了すると
コントローラー10−2に信号を発生する。
10-11 is a line counter, controller 10-
2, and when the counting is completed, a signal is generated to the controller 10-2.

10−12は主走査カウンタ、デコーダで1ライン毎の
圧縮、伸長の区間信号H−AR,EAを発生したり、デ
ィザカウンタ10−10のスタート信号DC8TART
を発生したり、ダブルバッファメモリ10−15へのア
ドレス(HADR)を発生したり、ダブルバッファメモ
リ10−15からの画像信号をトリミングする信号(T
RM)を発生する。第12図に主走査カウンタ、デコー
ダ10−12の詳細な構成を示す。
10-12 is a main scanning counter and a decoder that generates section signals H-AR and EA for compression and expansion for each line, and a start signal DC8TART for the dither counter 10-10.
, generates an address (HADR) to the double buffer memory 10-15, and generates a signal (T
RM) is generated. FIG. 12 shows a detailed configuration of the main scanning counter and decoder 10-12.

第12図において14−1は13ビツトのダウンカウン
タでカウントスタート値はコントローラ10−2により
設定され、5TART信号入力でカウントを開始する。
In FIG. 12, 14-1 is a 13-bit down counter whose count start value is set by the controller 10-2, and starts counting upon input of the 5TART signal.

14−2から14−8は夫々13ビツトのコンパレータ
で、カウンタ14−1の値がコントローラによシ夫々設
定された値と等し、くなった時にA=B出力を発生する
。14−10から14−12はフリップフロップで14
−2から14−7のコンパレータの出力によりセット、
リセットされる。
14-2 to 14-8 are 13-bit comparators, respectively, which generate an A=B output when the value of the counter 14-1 is equal to the value respectively set by the controller. 14-10 to 14-12 is 14 with flip-flop
Set by the output of comparators from -2 to 14-7,
will be reset.

10−14はコンパレータであシメモリアドレスカウン
タ10−8のアップカウント出力M−ADRとコントロ
ーラ10−2からの設定値を比較する。コンパレータ1
0−14のA≦B出力である信号MOVERVcよシコ
ントローラ−10−2はメモリアドレスカウンタ10−
8がコンパレータ10−14の八人力値に達したことを
検出する。またこの状態でMOVER信号が論理状態1
(以下Hレベルと記す)になることによシメモリアドレ
スカウンタ10−8のCLK入力は、NOR,ゲート1
0−30により禁止されメモリアドレスカウンタ10−
8のカウントアツプ動作は停止する。
A comparator 10-14 compares the up-count output M-ADR of the memory address counter 10-8 with the set value from the controller 10-2. Comparator 1
The signal MOVERVc, which is the A≦B output of 0-14, is output from the memory address counter 10-2.
It is detected that 8 has reached the 8 force value of comparators 10-14. Also, in this state, the MOVER signal is in logic state 1.
(hereinafter referred to as H level), the CLK input of the memory address counter 10-8 is NOR, gate 1
0-30 inhibited by memory address counter 10-
The count-up operation of 8 is stopped.

10−15はメモリX、メモリYの各々1ライン分ずつ
のメモリからなるダブルバッファメモリであシ、メモリ
XとメモリYは読出し動作と書き込み動作が互いに逆に
なる。またこのバッファの切り換えはBuffCHG信
号の入力により行なわれ、リードアドレス信号、ライト
アドレス信号はディザカウンタ10−10から0DAD
Rと主走査カウンタ・デコーダ10−12からのHAD
Rを適時用いている。
Reference numeral 10-15 is a double buffer memory consisting of memories for one line each of memory X and memory Y, and the read and write operations of the memories X and Y are opposite to each other. This buffer switching is performed by inputting the BuffCHG signal, and the read address signal and write address signal are input from the dither counter 10-10 to 0DAD.
R and HAD from main scanning counter decoder 10-12
I use R from time to time.

10−16は伸長した画像信号をプリンタに出力するビ
デオクロックを発生する内部クロック発生部であ、9H
8YNC信号に同期してクロックICLKを発生する。
10-16 is an internal clock generator that generates a video clock for outputting the expanded image signal to the printer;
A clock ICLK is generated in synchronization with the 8YNC signal.

10−17は水平同期信号発生部でありビデオインター
フェースを介してプリンタから入力されるBDと略同周
波数のIBD信号を出力する。プリンタ10−3からビ
デオインターフェースで規定されたBD倍信P−BDが
入力されない場合、とのIBD信号をセレクタ5EL5
10−・22で選択することによりRMU内部の主走査
同期信号H8YNC,リーダーへのBD倍信R−BDと
して用いる。
Reference numeral 10-17 is a horizontal synchronizing signal generating section which outputs an IBD signal having approximately the same frequency as that of the BD input from the printer via the video interface. If the BD double P-BD specified by the video interface is not input from the printer 10-3, the IBD signal is input to the selector 5EL5.
By selecting from 10- and 22, it is used as the main scanning synchronization signal H8YNC inside the RMU and the BD double signal R-BD to the reader.

10−18はφsYsクロックのセレクタであシ、リー
ダーからのビデオクロックB−VCLKと、内部クロッ
ク発生部10−16からのI−CLKをコントローラー
10−2からの指示によシ選択する。
10-18 is a φsYs clock selector, which selects the video clock B-VCLK from the reader and I-CLK from the internal clock generator 10-16 according to instructions from the controller 10-2.

10−19はダブルバックアメモリ10−15への書き
込みデータのセレクタであシ、リーダーからの画像信号
R,−VDAと伸長回路1〇−6からの伸長画像信号D
VDOをコントローラ−10−2からの指示によシ選択
する。
10-19 is a selector for writing data to the double backup memory 10-15, which selects the image signals R, -VDA from the reader and the expanded image signal D from the expansion circuit 10-6.
VDO is selected according to instructions from controller-10-2.

10−20は主走査カウンタデコーダ1〇−12のカウ
ント開始信号及びラインカウンタ10−11のクロック
入力として用いられるLN−8T信号のセレクタであり
セレクタ5EL510−22からのH8YNC信号とリ
ーダーからのR,−VB倍信号コントローラー10−2
からの指示により選択する。
10-20 is a selector for the LN-8T signal used as a count start signal for the main scanning counter decoder 10-12 and a clock input for the line counter 10-11, and selector 5 selects the H8YNC signal from EL510-22 and the R, -VB double signal controller 10-2
Select based on instructions from.

10−21はプIJ ンタニ行(VB倍信号−VBのセ
レクタで、主走査カウンタ・デコーダからのVEに相当
するOVE信号とリーダーからのVE倍信号、−VEを
コントローラー10−2からの指示により選択する。
10-21 is a selector for the output line (VB multiplied signal -VB), which selects the OVE signal corresponding to the VE from the main scanning counter decoder and the VE multiplied signal from the reader, -VE according to instructions from the controller 10-2. select.

10−22は前述の如くH8YNCのセレクタであシ、
コントローラー10−2からの指示により選択される。
10-22 is the H8YNC selector as mentioned above,
The selection is made based on instructions from the controller 10-2.

10−23はプリンタ10−3に出力する画像信号P−
■DAとP−VDHのセレクタでコントローラ10−2
により制御される。ビデオセレクタ10−23のAO,
BO大入力はり−ダーからの画像信号R−VDAが接続
され、このAO,BO大入力セレクトすることによりプ
IJ y タヘノ画像信号P −V D A 、 P 
−V D B c7)両方にリーダーからのR−VDA
が接続されることにガリ、プリンタに出力される記録画
像VDは第7図から明らかなように、2値画像となる0 また、ビデオセレクタ10−23でA1人力とB1人力
が選択されると、プリンタへ行く画像信号P−VDAに
は、リーダーからの画像信号R−vDAが出力され、P
−VDBllj:、リーダーらの画像信号R,−VDB
をさらにANDゲー) 10−34を通した信号が出力
される。
10-23 is an image signal P- output to the printer 10-3.
■Controller 10-2 with DA and P-VDH selectors
controlled by AO of video selector 10-23,
The image signal R-VDA from the BO large input beam is connected, and by selecting these AO and BO large inputs, the image signals P-VDA, P
-V D B c7) R-VDA from the leader on both
As is clear from FIG. 7, the recorded image VD output to the printer becomes a binary image. , the image signal R-vDA from the reader is output as the image signal P-VDA going to the printer;
-VDBllj:, image signal R of the leaders, -VDB
further AND game) The signal passed through 10-34 is output.

このANDゲー)10−34のもう一方の入力信号R−
HALFはコントローラー10−2からの信号である。
The other input signal R- of this AND game) 10-34
HALF is a signal from controller 10-2.

このR−HALFがHレベルであればプリンタに行く画
像信号P−VDBはリーダーからの画像信号R−VDB
と同じ信号になシプリンタに出力される記録画像VDは
第7図に示すようにリーダーからの画像信号R−VDA
、 R−VDBを合成した画像となる。
If this R-HALF is at H level, the image signal P-VDB going to the printer is the image signal R-VDB from the reader.
The recorded image VD output to the printer is the same signal as the image signal R-VDA from the reader as shown in FIG.
, R-VDB is combined into an image.

R,−HALF信号が論理状態0(以下+t Lレベル
″と記す)であればプリンタに行く画像信号P−VDB
はLレベルに固定される。このため第7図かられかるよ
うにプリンタに出力される画像信号VDは1画素(1ビ
デオクロツク)区間に対して約50%のデユーティのV
DA信号が出力紙に記録される。これはR−HALF信
号がLレベルの場合はHレベルの場合に対してレーザー
ユニット5−4から発せられるレーザー光の点灯時間が
約半分になることを意味し、R,−HALF信号をLレ
ベルにすることによりリーダーからの画像信号の約50
%の出力画像濃度が得られる。
If the R, -HALF signals are in a logic state of 0 (hereinafter referred to as +tL level), the image signal P-VDB goes to the printer.
is fixed at L level. Therefore, as shown in FIG. 7, the image signal VD output to the printer has a duty of about 50% for one pixel (one video clock) section.
The DA signal is recorded on the output paper. This means that when the R-HALF signal is at the L level, the lighting time of the laser beam emitted from the laser unit 5-4 is approximately half that of when it is at the H level, and the R,-HALF signal is at the L level. Approximately 50% of the image signal from the reader is
% output image density is obtained.

ビデオセレクタ10−23でA2人力とB2人力が選択
されると、プリンタへ行く画像信号P−VDAはダブル
バッファメモリ10−15からの出力をANDゲート1
(1−27,10−28を通した信号RMU−VDとな
る。またプリンタへ行く画像信号P−VDBは信号RM
U−VDをさらにANDゲート10−32を通した信号
となる。どのANDゲート10−23のもう一方の入力
RMU−HALF’はコントローラ10−2からの信号
であり、このRMU −HALF信号がHレベルであれ
ばプリンタに行く画像信号P−VDBはP−VDAと同
じ信号となりプリンタに出力される記録画像VDは第7
図かられかるように画像信号RMU−VDによる2値画
像になる。RMU−HALF信号がLレベルであればプ
リンタに行く画像信号P−vDBはLレベルに固定され
る。すなわちP−vDAにはダブルバッファメモリ10
−15からの画像信号RMU−VDが伝送されるが、P
−VDBはLレベルのttであるのでプリンタに出力さ
れる画像信号VDは第7図かられかるように、1画素(
1ビデオクロツク)区間に対して約50%のデユーティ
の画像信号として出力紙に記録される。これはRMU−
HALF信号がLレベルの場合はHレベルの場合に対し
てレーザーユニット5−4から発せられるレーザー光の
ON時間が約半分になることを意味し、R,MU、−H
ALF信号をLレベルにすることにより約50%の出力
画像濃度が得られる。
When A2 manual power and B2 manual power are selected by the video selector 10-23, the image signal P-VDA going to the printer is output from the double buffer memory 10-15 by AND gate 1.
(The signal RMU-VD passes through 1-27 and 10-28. Also, the image signal P-VDB going to the printer is the signal RM
It becomes a signal obtained by further passing U-VD through AND gates 10-32. The other input RMU-HALF' of which AND gate 10-23 is a signal from the controller 10-2, and if this RMU-HALF signal is at H level, the image signal P-VDB going to the printer is connected to P-VDA. The recorded image VD that becomes the same signal and is output to the printer is the seventh
As can be seen from the figure, a binary image is created by the image signal RMU-VD. If the RMU-HALF signal is at L level, the image signal P-vDB going to the printer is fixed at L level. In other words, P-vDA has double buffer memory 10
The image signal RMU-VD from -15 is transmitted, but P
-VDB is at L level tt, so the image signal VD output to the printer is 1 pixel (
The image signal is recorded on the output paper as an image signal with a duty of about 50% for one video clock section. This is RMU-
When the HALF signal is at L level, it means that the ON time of the laser beam emitted from the laser unit 5-4 is approximately half that of when it is at H level, and R, MU, -H
By setting the ALF signal to L level, an output image density of about 50% can be obtained.

ビデオセレクタ10−23でA3人力と83人力が選択
されると、ORゲート10−31゜10、−32の働き
によシプリンタに行く画像信号P−VDA、P−VDB
はリーダーからの画像信号R−V D A 、 R−V
 D B (!: タフ’ ルハツ7アメモリ10−1
5よしの画像信号RMU−VI)を合成したものとなる
。ここで前述のR−HA合わせることによりプリンタに
出力される画像信号VDは表1のようになる。
When A3 manual power and 83 manual power are selected by the video selector 10-23, the image signals P-VDA and P-VDB go to the printer by the action of the OR gates 10-31°10 and -32.
is the image signal R-VDA, R-V from the reader
D B (!: Tough' Luhatsu 7 Amori 10-1
It is a composite of five image signals RMU-VI). Here, the image signal VD output to the printer by combining the above-mentioned R-HA becomes as shown in Table 1.

10−25はEOL検出回路10−7からのBuff 
CH() END信号(ダブルバッファ切シ換え許可)
によ、9LN−8T信号をゲートしてダブルバッファメ
モリ10715のリードバッファ、シイトバツファの切
シ換え信号BuffCHGを発生する3人力A N 、
Dゲートである。
10-25 is a Buff from the EOL detection circuit 10-7
CH() END signal (double buffer switching permission)
Accordingly, a three-person power A N gates the 9LN-8T signal to generate a switching signal BuffCHG for the read buffer and sheet buffer of the double buffer memory 10715.
This is the D gate.

10−35は伸長エラーカウンタであり1〇−6の伸長
回路による伸長エラーのライン数を計数する。
10-35 is an expansion error counter that counts the number of lines in which the expansion circuit 10-6 has an expansion error.

以上のように構成された本実施例の基本的な機能は以下
の4つである。
The basic functions of this embodiment configured as described above are as follows.

(Ij(2値圧縮) リーダー10−1からの固定閾値による画像信号R−V
DAの任意の部分を2値圧縮処理し、圧縮画像メモIJ
 10−5に書き込む機能。尚、原稿全域の画像信号を
メモり 10−5に書込む場合もこれの応用である。
(Ij (binary compression) Image signal R-V with fixed threshold from reader 10-1
Perform binary compression processing on any part of DA and create compressed image memo IJ
Function to write to 10-5. Incidentally, this is also applied to the case where image signals of the entire area of the document are written to the memory 10-5.

(2)(ディザ圧縮)            、リー
ダー10−1からのディザマトリクス閾値による画像信
号R−VDAの任意の部分をディザ圧縮処理し圧縮画像
メモIJ 10−5に書き込む機能。
(2) (Dither compression) A function to dither compress an arbitrary part of the image signal R-VDA according to the dither matrix threshold value from the reader 10-1 and write it into the compressed image memo IJ 10-5.

(3) 、 (2値伸長) 圧縮画像メモリ10−5に記憶されている2値圧縮画像
を読み出し2値伸長処理をして、プリンタ10−3に出
力する機能。
(3) (Binary decompression) A function of reading out the binary compressed image stored in the compressed image memory 10-5, subjecting it to binary decompression processing, and outputting it to the printer 10-3.

(4)(ディザ伸長) 圧縮画像メモリ10−5に記憶されているディザ圧縮画
像を読み出しディザ伸長処理をして、プリンタ10−3
に出力する機能。
(4) (Dither expansion) The dither compressed image stored in the compressed image memory 10-5 is read out, subjected to dither expansion processing, and then sent to the printer 10-3.
Function to output to.

以下、順に具体的な動作を説明する。Hereinafter, specific operations will be explained in order.

(1)2値圧縮の機能 リーダーから入力される画像信号は第7図のように主走
査1ラインを表わすVB倍信号同期信号として伝送され
て来る。そしてV8YNC信号によシ1ページ分の副走
査区間が表わされる。このVB倍信号第10図において
はR−VE倍信号表現されている。
(1) Binary compression function The image signal input from the reader is transmitted as a VB double signal synchronization signal representing one main scanning line as shown in FIG. Then, the sub-scanning section for one page is represented by the V8YNC signal. This VB multiplied signal in FIG. 10 is expressed as an R-VE multiplied signal.

本実施例における画像圧縮方法は主走査方向のみの画像
データの符号化であシ副走査方向には画像圧縮を行わ々
い。
The image compression method in this embodiment encodes image data only in the main scanning direction, and does not perform image compression in the sub-scanning direction.

以下第13図に示すようなリーダーから伝送されて来る
4 00 dot/1nch (400dpi )の分
解塵のA3サイズ(主走査297 mm(4677ビツ
トに対応)、副走査420mm)の画像情報Aから主走
査方向に7 Q mm 、副走査方向にlQQmm経過
した点から140mmX210mmの画像情報Bをトリ
ミングして2値圧縮する場合を例に取って説明を行う。
Below, we will extract the image information A of 400 dots/1 nch (400 dpi) of the decomposed dust from the A3 size (main scan 297 mm (corresponding to 4677 bits), sub scan 420 mm) transmitted from the reader as shown in Figure 13. An example will be explained in which image information B of 140 mm x 210 mm is trimmed and binary compressed from a point after 7 Q mm in the scanning direction and lQQ mm in the sub-scanning direction.

リーダー10−1から上記の画像データを受信する前に
コントローラー10−2はRMU内部の各部のモード設
定を行う。
Before receiving the above image data from the reader 10-1, the controller 10-2 sets the mode of each part inside the RMU.

リーダー10−1から送られて来る画像信号R−VDA
を圧縮処理するために11(、MU内部で用いるクロッ
ク(’jsysとしてリーダー10−1からのクロック
R−VCLKを選択すべく1O−18SEL1を設定す
る。
Image signal R-VDA sent from reader 10-1
11(, 10-18SEL1 is set to select the clock R-VCLK from the reader 10-1 as the clock ('jsys) used inside the MU.

リーダー10−1から入力された画像信号トVDAは一
担ダプルバッファメモリ10−15.にライン毎に蓄え
られ、その出力は圧縮回路10−4に入力される。その
ため、ダプルノくラフアメモリ10−15に入力される
画像データをR−vDAにすべく1O−19SEL2を
設定する。
The image signal VDA input from the reader 10-1 is stored in the double buffer memory 10-15. is stored line by line, and its output is input to the compression circuit 10-4. Therefore, 1O-19SEL2 is set so that the image data input to the data memory 10-15 is R-vDA.

次に1ライン毎の同期信号LN−8Tを設定するが、こ
れは、リーダー10−1からのR−■E倍信号用いるべ
く1O−20SEL3を設定スル。マタ、IJ −ター
 10−1fdR,−VEヲ発生するだめの同期信号と
して、R−BD倍信号必要とすることはビデオインター
フェースの説明で述べだが、とのR,−BD倍信号して
水平同期信号発生部10−17からのIBD信号を出力
すべく 10−22SEL5を設定する。
Next, the synchronization signal LN-8T for each line is set, but this is done by setting 1O-20SEL3 to use the R-■E times signal from the reader 10-1. As mentioned in the explanation of the video interface, an R-BD double signal is required as a synchronization signal to generate 10-1 fdR, -VE. 10-22SEL5 is set to output the IBD signal from the signal generator 10-17.

次に主走査カウンタ・デコーダ10−12のダウンカウ
ンタ14−1には1ライン分の画像データ4677ピツ
トを制御できるようにカウント開始値4677を設定す
る。
Next, a count start value 4677 is set in the down counter 14-1 of the main scanning counter/decoder 10-12 so that one line of image data 4677 pits can be controlled.

第13図のB領域の主走査方向の設定をコンパレータ1
4−4.14−5に行う。すなわち、この2つのコンパ
レータの出力でセット、リセットされるフリップフロッ
プ14−11からのH−AREA信号が圧縮回路10−
4に与えられ、圧縮回路10−4はこの信号がHレベル
の主走査区間中の画像データをランレングス符号化処理
し、圧縮画像メモI710−5に書き込む。
Comparator 1 sets the main scanning direction of area B in Figure 13.
Perform on 4-4.14-5. That is, the H-AREA signal from the flip-flop 14-11, which is set and reset by the outputs of these two comparators, is sent to the compression circuit 10-
4, and the compression circuit 10-4 performs run-length encoding processing on the image data during the main scanning period where this signal is at H level, and writes it into the compressed image memo I710-5.

このためコンパレータ14−4には第13図B領域まで
の主走査方向余白7Qmm分に相当する1102ビツト
を4677から引いた値3575をセットする。またコ
ンパレータ14−5には、B領域の主走査中14Qmm
分に相当する2204ピツトをさらに3575から引い
た値1371をセットする。
Therefore, the comparator 14-4 is set to a value 3575, which is obtained by subtracting 1102 bits corresponding to the main scanning direction margin of 7Qmm up to the area B in FIG. 13 from 4677. In addition, the comparator 14-5 has 14Qmm during main scanning of area B.
The value 1371 is set by further subtracting 2204 pits corresponding to minutes from 3575.

コンパレータ14−8からの出力DC8TARTにより
ディザカウンタ10−1・0が動き出すわけであるが、
14−1のダウンカウンタとディザカウンタ10−10
を同時に動作させるべく、コンパレータ14−8には4
677をセットする。
The dither counters 10-1 and 0 start to operate due to the output DC8TART from the comparator 14-8.
14-1 down counter and dither counter 10-10
In order to operate simultaneously, the comparator 14-8 has four
Set 677.

ディザカウンタ10−10には、以下の定数設定を行う
。すなわちカウンタ13−1.13−2にはカウント開
始値4677をセットし、また2値圧縮を行うためにp
ifheの信号をLレベルにする。これによりディザカ
ウンタ10−10はダウンカウンタ14−1と同様の動
作を行う。
The following constants are set for the dither counter 10-10. That is, a count start value of 4677 is set in the counters 13-1 and 13-2, and p is set in order to perform binary compression.
Set the ifhe signal to L level. Thereby, the dither counter 10-10 performs the same operation as the down counter 14-1.

以上の定数設定によりダブルバッファメモリ10−15
に与えられる2つのアドレスDADR。
With the above constant settings, double buffer memory 10-15
Two addresses DADR given to DADR.

HADR,は共にR−VB倍信号立ち上りにょシ467
7からカウントダウンすることになる。
HADR, both R-VB times signal rise 467
We will be counting down from 7.

すなわち、ダブルバッファ10−15よシ圧縮回路10
−4に与えられる画像信号EvDOはリーダーからの画
像信号R−VDAからちょうど1ライン遅れた信号にな
る。
That is, the double buffers 10-15 and the compression circuit 10
The image signal EvDO given to -4 is a signal delayed by exactly one line from the image signal R-VDA from the reader.

伸長回路10−6.BOL検出回路10−7に与えられ
る伸長開始信号V −D E Cij Lレベルである
ので、DRPI信号倍信P2信号はLレベルであり、B
uff CHG ENB信号、 DataENB信号は
Hレベルとなシ伸長回路10−6゜EOL検出回路10
−7は、圧縮動作に影響を与えないように構成されてい
る。
Expansion circuit 10-6. Since the expansion start signal V-D E Cij given to the BOL detection circuit 10-7 is at the L level, the DRPI signal doubler P2 signal is at the L level, and the BOL detection circuit 10-7 is at the L level.
uff CHG ENB signal and DataENB signal are at H level.Expansion circuit 10-6°EOL detection circuit 10
-7 is configured so as not to affect the compression operation.

さらにメモリアドレスカウンタ1o−8に圧縮画像メモ
!J 10−5への書き込み開始アドレスをセットする
Furthermore, there is a compressed image memo on memory address counter 1o-8! Set the write start address to J10-5.

この状態でコントローラー10−2はリーダーからのV
SYNCが入力されるのを待つ。VSYNCが入力され
ると、コントローラー10−2は、第13図のB領域ま
での副走査長100mmを計数すべく’lQQmmに相
当する1574ラインをラインカウンタ10−11に設
定する。
In this state, controller 10-2 receives V from the leader.
Wait for SYNC to be input. When VSYNC is input, the controller 10-2 sets 1574 lines corresponding to 'lQQmm in the line counter 10-11 in order to count the sub-scanning length of 100 mm up to area B in FIG.

ラインカウンタ111−11はLN−8T信号によシカ
ラントダウンし、すなわち、リーダーからの主走査区間
信号R−VEが1574回入力されると、ラインカウン
タ10−11はカウントup信号をコントローラー10
−2に発し、コントローラーはリーダーからの画像信号
がB領域に入ったことを検出する。それによりコントロ
ーラーは圧縮回路10−4に画像圧縮を開始させるべ(
V−ENCをLレベルからHレベルにするとともに、B
領域の副走査長210mmを測定するため、ラインカウ
ンタ10−11に210 mm分に相当する3307を
セットする。
The line counter 111-11 goes down by the LN-8T signal, that is, when the main scanning section signal R-VE from the reader is input 1574 times, the line counter 10-11 sends the count up signal to the controller 10.
-2, the controller detects that the image signal from the reader has entered area B. Thereby, the controller should cause the compression circuit 10-4 to start compressing the image (
While changing V-ENC from L level to H level,
In order to measure the sub-scanning length of the area of 210 mm, 3307 corresponding to 210 mm is set in the line counter 10-11.

リーダーからB領域分の3307ラインのR−VB倍信
号入力されるとラインカウンタ10−11は再度カウン
トアツプし、コントローラー10−2はこれを検出して
V−ENC信号をHレベ/L/ カらLレベルにして、
圧縮回路10−4の画像データ圧縮動作を停止させる。
When the R-VB multiplied signal of 3307 lines for the B area is input from the reader, the line counter 10-11 counts up again, and the controller 10-2 detects this and converts the V-ENC signal to H level/L/ to L level,
The image data compression operation of the compression circuit 10-4 is stopped.

このように、リーダー10−1から連続的に入力される
画像信号R,−VDAは主走査方向には主走査カウンタ
デコーダ10−12から発せられるH−AREAがHレ
ベルの任意の区間、また副走査方向にはコントローラー
10−2が発するV−BNCがHレベルの任意の区間に
トリミングされつつ圧縮回路10−4により符号化され
、圧縮画像メモIJIO−5に書き込まれる0 この様子を第14図に示す。第14図におけるR、−V
DAは、ある1ラインの画像信号の入力の例であるがあ
るラインのトリミング領域における画像信号として白2
ビット、黒2204ビット、白5ビットと入力された場
合を示している。このR−VDA入力により圧縮回路1
〇−4において5バイトのランレングスコードが生成さ
れる。すなわち、最初の白2により2HのTコード、次
に黒2204によりMコード91H,Tコード15H2
最後の白5により5HのTコード、さらにGH−ARE
Aの終了によるEOLコードが生成され、圧縮回路10
−4からの書込み要求DWPパルスにより圧縮画像メモ
リ10−5に書き込まれる。
In this way, the image signals R and -VDA that are continuously input from the reader 10-1 are input in the main scanning direction at any section where H-AREA emitted from the main scanning counter decoder 10-12 is at H level, and in the sub-scanning direction. In the scanning direction, the V-BNC generated by the controller 10-2 is trimmed to an arbitrary section of H level, encoded by the compression circuit 10-4, and written to the compressed image memo IJIO-5. Shown below. R, -V in Figure 14
DA is an example of inputting an image signal of one line.
This shows the case where 2204 bits for black and 5 bits for white are input. By this R-VDA input, the compression circuit 1
A 5-byte run length code is generated at 0-4. In other words, the first white 2 produces a 2H T code, then the black 2204 produces an M code 91H, and a T code 15H2.
The last white 5 creates a 5H T code, and then GH-ARE.
An EOL code is generated due to the end of A, and the compression circuit 10
The data is written into the compressed image memory 10-5 by the write request DWP pulse from -4.

圧縮画像メモリ10−5をアドレッシングするのがメモ
リアドレスカウンタ10−8であり、DWPパルスがゲ
ート10−29.10−30を通った信号によりカウン
トアツプする。
A memory address counter 10-8 addresses the compressed image memory 10-5, and is counted up by a signal from which the DWP pulse passes through the gates 10-29 and 10-30.

仮りにリーダーからの・画像信号R,−VDAの変化が
激しく多量の圧縮コードMWコードが発生すると、圧−
画像メモリ10−5に全ての圧縮コードMWコードが書
ききれない状況が生ずる。さらに第15図のように圧縮
画像メモリ1〇−5に複数ページの圧縮画像データを書
き込む場合に、前に書きこんでおいた圧縮画像データT
の一部が新らたに書き込まれた圧縮画像データUによっ
て損われてしまう状況が生ずる。本実施例では圧縮画像
データ書き込み時に、書き込み可能空領域を越えてしま
ったことを検出し、他の圧縮データを保護するためにコ
ンパレータ10−14を用い、メモリの使用状況をモニ
タしている。
If the image signals R, -VDA from the reader change rapidly and a large amount of compressed code MW code is generated, the pressure -
A situation arises in which all compressed codes MW codes cannot be written in the image memory 10-5. Furthermore, when writing multiple pages of compressed image data to the compressed image memory 10-5 as shown in FIG. 15, the previously written compressed image data T
A situation arises in which a part of the data is damaged by the newly written compressed image data U. In this embodiment, when writing compressed image data, it is detected that the writable free area has been exceeded, and in order to protect other compressed data, comparators 10-14 are used to monitor the memory usage status.

第15図において圧縮画像メモリ中に圧縮画像s(エン
ドアドレスSE)と圧縮画像T(スタートアドレスTS
)が記憶されている状態でアドレスSEとアドレスTS
の間に圧縮画像Uを書き込む場合コントローラー10−
2は書き込み開始アドレスUSを圧縮画像Sのエンドア
ドレスSEに基づいてメモリアドレスカウンタ10−8
に設定し、アドレスリミッタとして圧縮画像Tの開始ア
ドレスTSをコンパレータ10−14に設定する。書き
込みが進行してアドレスカウンタ10−8のカウント出
力が、コンパレータ10−14のTS値に達するとコン
パレ−夕のA≦B出力が発生し、ゲート10−30にお
いて新らたな書き込み要求パルスDWPはゲートされメ
モリアドレスカウンタは停止し更なる書込み動作が禁止
される。これにょシ圧縮画像Tは保護される。またコン
トローラ10−2はコンパレータ10−1.4からのA
≦B出力であるMOVER信号を受けて圧縮画像がメモ
リ10−5に書ききれなかったことを検出し、画像圧縮
エラーとし、画像データの書ききれ々かったメモリ領域
を空領域として、その画像のメモリからの出力を禁止す
るとともに、リーダー表示部にてその旨を表示する。
In FIG. 15, a compressed image s (end address SE) and a compressed image T (start address TS) are stored in the compressed image memory.
) is stored, address SE and address TS
When writing the compressed image U between the controller 10-
2 is a memory address counter 10-8 which calculates the write start address US based on the end address SE of the compressed image S.
, and the start address TS of the compressed image T is set in the comparator 10-14 as an address limiter. When the write progresses and the count output of the address counter 10-8 reaches the TS value of the comparator 10-14, the comparator outputs A≦B, and a new write request pulse DWP is generated at the gate 10-30. is gated, the memory address counter is stopped, and further write operations are prohibited. In this way, the compressed image T is protected. In addition, the controller 10-2 receives the A from the comparator 10-1.4.
≦ Upon receiving the MOVER signal which is the B output, it is detected that the compressed image could not be completely written to the memory 10-5, an image compression error is detected, and the memory area where the image data was completely written is set as an empty area and the image is stored. Output from memory is prohibited and a message to that effect is displayed on the reader display section.

コントローラー10−2は画像圧縮終了時にMo ve
 r信号を判定し、Mover信号が発生されていない
ことを検出した場合、画像圧縮書き込みが成功したと判
別し、メモリアドレスカウンタ10−8からのアドレス
出力MADRを読み込み、今回書き込んだ圧縮画像の終
了アドレスとしてコントローラーの内部メモリに保持し
、次回の圧縮画像の書き込み開始アドレスの設定に用い
る。
The controller 10-2 moves when image compression is completed.
If the r signal is determined and it is detected that the Mover signal is not generated, it is determined that the image compression writing has been successful, the address output MADR from the memory address counter 10-8 is read, and the currently written compressed image is terminated. This address is stored in the controller's internal memory and used to set the start address for writing the next compressed image.

また同様にメモリアドレスカウンタ10−8に設定した
書き込み開始、終了アドレスもコントローラーは保持し
て、圧縮画像データの伸長出力時に用いる。
Similarly, the controller also holds the write start and end addresses set in the memory address counter 10-8 and uses them when decompressing and outputting compressed image data.

尚、原稿全域の画像を符号化してメモリに格納する場合
にはトリミング領域を原稿サイズとすればよい。
Note that when the image of the entire document is encoded and stored in the memory, the trimming area may be set to the document size.

(2)  ディザ圧縮の機能 リーダー10−1から入力される画像信号が組織的ディ
ザ法による中間調表現されたものの場合、画像の変化が
激しくなシ、本実施例で用いているような主走査方向に
おける画像の連続性をコード化する画像圧縮方法では効
果的な画像圧縮を行うことが困難となる。
(2) Function of dither compression When the image signal input from the reader 10-1 is expressed in halftones by systematic dithering, the image changes rapidly, and the main scanning as used in this embodiment Image compression methods that encode image continuity in a direction have difficulty in effectively compressing images.

本実施例ではディザパターンの周期性を利用してディザ
処理された画像信号を効果的に圧縮する。
In this embodiment, the periodicity of the dither pattern is utilized to effectively compress the dithered image signal.

第16図においてディザ処理された画像信号は(16−
1)のようにリーダー10−1から入力される。本実施
例では、1ブロック当り8×8のデイザマ) IJクス
を用いておりその詳細は(16−2)図aブロックに示
す。仮りに、リーダーから読み取られた画像信号が均一
に32レベルのものであった場合、デイザマ) IJク
スの閾値の値が32以上のところに黒信号が出力され、
(16−2)のディザマトリクスにより(16−1)に
模式的に示すような画像を得る。
In FIG. 16, the dithered image signal is (16-
1) is input from the reader 10-1. In this embodiment, an 8x8 dither (IJ) is used for each block, the details of which are shown in block (16-2) in Figure a. If the image signal read from the reader is uniformly at 32 levels, a black signal will be output where the IJ threshold value is 32 or higher.
An image as schematically shown in (16-1) is obtained using the dither matrix (16-2).

(16−1)の画像信号で主走査方向の4ブロツクのみ
を拡大したものが(16−2)である。
(16-2) is an image signal obtained by enlarging only four blocks in the main scanning direction from the image signal (16-1).

ここでHで示す主走査ラインの信号が(16−4)のR
VDA信号となり、4ブロツクの間で8回の状態変化が
発生している。この状態変化の回数は、ブロック数に比
例し、A4巾297mmでは1168回の状態変化が発
生することになりランレングス符号化によ、!1l11
170バイトの符号化データ量となってしまう。この1
170バイトは原画像量4677ビツトの約2倍のデー
タ量であシかえって画像情報量が増えてしまうことにな
る。
Here, the main scanning line signal indicated by H is R of (16-4)
The signal becomes a VDA signal, and state changes occur eight times in four blocks. The number of state changes is proportional to the number of blocks, and for an A4 sheet with a width of 297 mm, 1168 state changes occur, so by run-length encoding,! 1l11
The amount of encoded data is 170 bytes. This one
The 170 bytes is about twice the amount of data of the original image, which is 4677 bits, and the amount of image information increases.

そこで(16−2)のHラインから得られる画像信号を
(16−3)のように同じ閾値で処理された画像信号を
抽出してブロック順に並らべ変えることにより4ブロツ
ク間で、(16−4)のEVDOに示すように、2回の
状態変化となる。すなわち(16−3)のように、各ブ
ロックの同じ閾値による信号は黒か白かの状態のばらつ
きが少々いので、これらを連続するように並らべること
により画像の連続性を伸ばすことになる。
Therefore, by extracting the image signal obtained from the H line of (16-2) and the image signal processed with the same threshold value as shown in (16-3) and rearranging it in the order of the blocks, (16 As shown in EVDO -4), the state changes twice. In other words, as shown in (16-3), since the signals based on the same threshold value for each block have a little variation in the black or white state, it is possible to increase the continuity of the image by arranging them consecutively. become.

本実施例では、この画像信号のデイザマ) IJクスに
応じた並らびかえをディザカウンタ10−10を用いて
ダブルバッファメモリ10−15の読出しを制御するこ
とによシ行う。
In this embodiment, the rearrangement of the image signals according to the dithering (IJ) is performed by controlling the readout of the double buffer memory 10-15 using a dither counter 10-10.

リーダーからのディザ画像信号RVDAは、主走査カウ
ンタ・デコーダ10−12のアドレス制御によりダブル
バッファメモリ10−15にリーダーらの入力順に書き
込まれる。
Dithered image signals RVDA from the readers are written into the double buffer memory 10-15 in the order of input by the readers under address control of the main scanning counter/decoder 10-12.

本実施例ではディザパターンの主走査の繰り返しが8ビ
ット間隔なので、デイザカウンタ10−10は、ダブル
バッファメモリ1 f) −15から画像データを読み
出す時に8ビット間隔にダウンカウントして読み出す。
In this embodiment, since the main scanning of the dither pattern is repeated at 8-bit intervals, the dither counter 10-10 counts down to 8-bit intervals when reading image data from the double buffer memory 1f)-15.

この8ビット間隔の読み出しは第11図に示されるコン
トローラー10−2からのl)i ther  信号に
よって外される。またコントローラー10−2は(16
−1)に示す主走査圧縮ブロック数Nにより、13−2
のカウンタ設定値からN−1を引いた値をコンパレータ
13−3に設定する。この圧縮ブロック数Nは圧縮回路
10−4に与えられる主走査圧縮データ長を示すI−I
 −A RE A信号の長さに対応しており(H−AR
EA信号ビット長)=Nx8とガる。
This 8-bit interval reading is removed by the l)i ther signal from controller 10-2 shown in FIG. In addition, the controller 10-2 is (16
-1) According to the number N of main scanning compressed blocks, 13-2
A value obtained by subtracting N-1 from the counter setting value is set in the comparator 13-3. This number of compressed blocks N indicates the main scanning compressed data length given to the compression circuit 10-4.
-A RE Corresponds to the length of the A signal (H-AR
EA signal bit length)=Nx8.

第11図のl)i ther 信号がHレベルに々るこ
とて3ビツトカウン□り13−1と10ビットカウンタ
13−2は分離され、13−2のカウンタがカウントダ
ウンしてコンパレータ13−3に設定されたブロック数
Nだけカウントすると、コンパレータ13−3のA=B
出力が発生し、カウンタ13−2は最初の設定値に再ロ
ードされ、13−1のカウンタは1だけカウントダウン
する。
l) In Fig. 11, when the ither signal reaches the H level, the 3-bit counter 13-1 and the 10-bit counter 13-2 are separated, and the counter 13-2 counts down and sets it in the comparator 13-3. When the number of blocks N is counted, A=B of comparator 13-3.
An output is generated, counter 13-2 is reloaded to the original set value, and counter 13-1 counts down by one.

す々わち、カウンタ13−2でブロック数Nをカウント
し、カウンタ13−1で、各ブロック内の何番目の閾値
による画像信号かを指定する。このように、ディザマト
リクスの主走査ブロック長ハコンパレータ13−3によ
って任意のNを選択することが可能であり主走査方向に
任意の長さの画像信号のディザ圧縮に対応することがで
きる。
That is, the counter 13-2 counts the number of blocks N, and the counter 13-1 specifies which threshold value in each block the image signal is based on. In this way, the main scanning block length of the dither matrix can be arbitrarily selected by the comparator 13-3, and dither compression of an image signal having an arbitrary length in the main scanning direction can be supported.

(3)2値画像伸長の機能 (1)において述べた2値圧縮画像を伸長処理してプリ
ンタ10−3に出力する機能であり、これにより伸長画
像のトリミング、移動処理をすることができる。
(3) Binary image decompression function This is a function of decompressing the binary compressed image mentioned in (1) and outputting it to the printer 10-3, which allows the decompressed image to be trimmed and moved.

まず基本的な、2値画像伸長を説明するために、トリミ
ング、移動の各処理を行わない場合として、2値画像圧
縮により第13図のB領域からの圧縮画像信号が圧縮画
像メモIJ 10−5に記憶されているものとし、その
圧縮画像をA領域の大きさのA3の出力用紙のB領域の
場所に画像出力する場合を例に取る。
First, in order to explain basic binary image decompression, we will assume that the trimming and movement processes are not performed, and the compressed image signal from area B in FIG. 13 is converted into a compressed image memo IJ 10- For example, let us assume that the compressed image is stored in area B of A3 size output paper having the size of area A.

コントローラー10−2はB領域の画像伸長出力に先た
ち、副走査方向の先端100mmの余白を作るためにプ
リンタ10−3にA3の出力用紙を先行給紙させる。す
なわち、第4図においてプリンタは感光ドラムの転写位
置すからレーザー露光される点a−4での距離と、bか
らレジ艮ト給紙点Cまでの距離が等しく々るように構成
されているため4−7のレジストローラーでA3の出力
用紙を送り出して、100mmの副走査紙送・シの後に
伸長動作を開始し、第13図の3画像を出力する。その
た、め、コントローラー10−2はプリンタにレジスト
給紙信号VSYNCを出力した後、ラインカウンタ10
−11にlQQmmに相当するライン数をセットする。
Prior to outputting the expanded image of area B, the controller 10-2 causes the printer 10-3 to feed A3 output paper in advance in order to create a margin of 100 mm at the leading end in the sub-scanning direction. In other words, in FIG. 4, the printer is constructed so that the distance from the transfer position of the photosensitive drum to the laser-exposed point a-4 is equal to the distance from b to the registration paper feeding point C. Therefore, the A3 output paper is sent out using the registration roller 4-7, and after the sub-scanning paper is fed by 100 mm, the expansion operation is started, and the three images shown in FIG. 13 are output. Therefore, after outputting the registration paper feed signal VSYNC to the printer, the controller 10-2 outputs the registration paper feed signal VSYNC to the line counter 10.
-11 is set to the number of lines corresponding to lQQmm.

この値は400 dpiの解像度で1574ラインとな
る。
This value is 1574 lines at a resolution of 400 dpi.

画像伸長時のライン同期信号LN−8Tは1〇−20の
8Bj3..10.=j2..2の8EL5によってプ
リンタからのBDC信号−BDが選択される。また内部
クロックyIsysは、10−22の5EL5によシ選
択されたH8YNCに同期して内部クロック発生部10
−16で発生されるI−CLKを10−18の5EL1
で選択する。
The line synchronization signal LN-8T during image expansion is 10-20 8Bj3. .. 10. =j2. .. BDC signal -BD from the printer is selected by No. 2 8EL5. Further, the internal clock yIsys is generated by the internal clock generator 10 in synchronization with H8YNC selected by 5EL5 of 10-22.
-16 I-CLK generated at 10-18 5EL1
Select with .

さて、前述のラインカウンタ10−11で副走査余白1
00 mm相当の1574ラインのカウントを終了する
と、コントローラーは画像伸長信号V−DECを出力し
、B領域の伸長動作を開始するが、それに先だち、画像
圧縮記憶時にメモリアドレスカウンタ10−8に設定し
たアドレス値を、コンパレータ10−14には圧縮時の
最終のMADR値をセットする。
Now, with the line counter 10-11 mentioned above, the sub-scanning margin is 1.
When the controller finishes counting 1574 lines equivalent to 0.00 mm, the controller outputs the image expansion signal V-DEC and starts the expansion operation of the B area. The address value is set to the comparator 10-14, and the final MADR value at the time of compression is set.

コントローラ10−2からのV D B ’C信号によ
シ伸長回路10−6は1ラインずつ画像伸長をし、伸長
された画像信号DVDOはダブルバッファメモリ10−
15に書き込まれ、1ライン後に、プリンタに出力され
る。この時ディザカウンタ1O−101dダブルバッフ
ァメモリ10−15に対する書き込みアドレスカウンタ
として働き、主走査カウンタデコーダは読み出しアドレ
スカウンタとして働く。
The decompression circuit 10-6 decompresses the image line by line according to the VDB'C signal from the controller 10-2, and the decompressed image signal DVDO is sent to the double buffer memory 10-2.
15 and output to the printer one line later. At this time, the dither counter 10-101d functions as a write address counter for the double buffer memory 10-15, and the main scanning counter decoder functions as a read address counter.

以下1ラインの画像伸長動作を第17図によシ説明する
。HA D R値がAのときにプリンタに対するビデオ
イネーブル信号としてのOvE信号がHレベルになるも
のとして、主走査カランタデコーグ−10−11のダウ
ンカウンタ14−1には前述のレフトマージン量に対応
しだ値LMG(17’3ビツト)を考慮したA十LMG
The image expansion operation for one line will be explained below with reference to FIG. Assuming that the OvE signal as a video enable signal for the printer becomes H level when the HADR value is A, the down counter 14-1 of the main scanning colorant decoder 10-11 has a value corresponding to the left margin amount described above. A0LMG considering the value LMG (17'3 bits)
.

コンパレータ14−2にはAをセットする。コンパレー
タ14−3にはA−4676、コンパレータ14−4に
はA、コンパレータ14−5にはA−2203,コンパ
レータ14−6にはB、コンパレータ14−7にはB−
2203゜カウンタ14−1がA′に々つだ時にディザ
カウンタ13−1’、13−2が動き出すようにコンパ
レータ14−8にはAをセットする。またディザカウン
タ13−1.13−2はカウンタ14−1と同じカウン
ト動作をする様に、ロード値としてAをセットする。
A is set in the comparator 14-2. A-4676 for comparator 14-3, A for comparator 14-4, A-2203 for comparator 14-5, B for comparator 14-6, and B- for comparator 14-7.
A is set in the comparator 14-8 so that the dither counters 13-1' and 13-2 start operating when the 2203° counter 14-1 reaches A'. Further, the dither counters 13-1 and 13-2 are set to A as a load value so that they perform the same counting operation as the counter 14-1.

プリンタ10−3からPBD信号が入力されるとL N
 −S T信号が発生し、主走査カウンタデコーダ]−
0−1,2のHA D R,はA + L M Gから
カウントダウンし、クロックをL M Gカウントし、
T−TADRがAKlるとOVB信号、HAR,EA倍
信号DC8TART信号が発生する。
When the PBD signal is input from the printer 10-3, LN
-ST signal is generated, main scanning counter decoder] -
HA D R of 0-1,2 counts down from A + L M G, counts the clock L M G,
When T-TADR reaches AK1, an OVB signal, HAR, and EA multiplied signal DC8TART signal are generated.

このL M GはプリンタのBDセンサから感光ドラム
の画像有効部壕での主走査長に相当するクロック数であ
り、OVE信号がHレベル区間にプリンタに出力された
画像信号が出力用紙上にプリントされる。
This L M G is the number of clocks corresponding to the main scanning length from the BD sensor of the printer to the image effective portion of the photosensitive drum, and the image signal output to the printer while the OVE signal is at H level is printed on the output paper be done.

HA D RがAになってから、第13図のB領域まで
の7’Qmm分の余白に相当する1102クロツクをカ
ウントしてHA D R75KBになると、TRM信号
がHレベルになりダブルバッファメモリからの出力画像
信号がゲー)10−27により有効になり、さらにHA
 D RがB−22,03になると、プリンタにはB領
域の主走査中140mmに相当する2204画素が出力
されて、TRM信号がLレベルに々す、それ以降のプリ
ンタに行く画像信号はゲー)10−27により無効にな
る。このようにダブルバッファメモリに蓄えられた伸長
画像信号はプリンタに出力されるが、ダブルバッファメ
モリ10−15への伸長画像DVDOの書き込みは以下
のようになる。
After HA D R reaches A, when HA D R reaches 75 KB by counting 1102 clocks corresponding to the margin of 7'Qmm to area B in Fig. 13, the TRM signal goes to H level and data is transferred from the double buffer memory. The output image signal of HA is enabled by game) 10-27, and
When D R reaches B-22,03, 2204 pixels corresponding to 140 mm during main scanning of area B are output to the printer, and the TRM signal goes to L level.The image signals going to the printer after that are output to the printer. )10-27. The decompressed image signal stored in the double buffer memory in this way is output to the printer, and writing of the decompressed image DVD to the double buffer memory 10-15 is as follows.

OVEの立ち上りと同時に伸長回路10−6゜EOL検
出回路10−7に与えられるH −A REA信号がH
レベルになり伸長回路10−6による圧縮画像MR,コ
ードの伸長が開始される。
At the same time as OVE rises, the H-A REA signal applied to the expansion circuit 10-6°EOL detection circuit 10-7 goes high.
level, and the decompression circuit 10-6 starts decompressing the compressed image MR and the code.

伸長回路10−6は副走査伸長区間信号V−DEC,主
走査伸長区間信号H−AREAがHレベルの区間圧縮画
像メモIJ 10−5から圧縮画像MRコードを読み取
りコードを図示しないデコードカウンタに取り込み% 
I’SYS クロックによってカウントダウンして伸長
画像DVDOを発生する。す々わち第17図に示すよう
にM’ll。
The expansion circuit 10-6 reads the compressed image MR code from the section compressed image memo IJ 10-5 in which the sub-scanning expansion section signal V-DEC and the main-scanning expansion section signal H-AREA are at H level, and takes the code into a decoding counter (not shown). %
It counts down by the I'SYS clock and generates an expanded image DVD. That is, as shown in FIG. 17, M'll.

コードのTコード2Hを取り込みosYs  2クロツ
ク分白信号のDVDOを出力する。5sys  2クロ
ツクによりデコードカウンタはカウントアツプして、圧
縮画像要求信号DRP 1を発生し、圧縮画像メモリ1
0−5より次のMRコードを読み出し、DVDOの出力
を反転させる。
It takes in the T code 2H of the code and outputs the DVD with the osYs 2-clock white signal. The decode counter counts up by the 5sys2 clock, generates a compressed image request signal DRP1, and stores the compressed image memory 1.
Read the next MR code from 0-5 and invert the DVD output.

次に入力されるMRコードは91HでMコードであるの
でs s y’sクロックを2176クロツク計数して
DRPIを発生する。しかし、MコードとTコードはペ
アなのでこの時点でDVDOは反転させないで次のTコ
ード15HのカウントアツプによりDVDOを反転させ
る。このように、HAREAがHレベルの区間に画像の
伸長が行われディザカウンタ10−10よ如のDAI)
RによってダブルバツファメモIJIO−15に伸長画
像DVDOが書き込捷れる。そして、このDVD’0信
号が次のラインにおいてHADRのアドレス8点から読
み出されるように、ディザカウンタのカウント開始値は
Bが設定される。また、第11図のディザカウンタは2
値伸長のためDi ther 信号はLレベルが設定さ
れる。
Since the next input MR code is 91H, which is an M code, 2176 clocks of the sy's clock are counted to generate the DRPI. However, since the M code and T code are a pair, the DVD is not inverted at this point, but is inverted by the count up of the next T code 15H. In this way, the image is expanded during the period in which HAREA is at H level, and the dither counter 10-10 (DAI)
The decompressed image DVDO is written to the double buffer memory IJIO-15 by R. Then, the count start value of the dither counter is set to B so that this DVD'0 signal is read out from 8 addresses of HADR in the next line. Also, the dither counter in Fig. 11 is 2
The Dither signal is set to L level for value expansion.

画像伸長時のHAREA信号の長さは、B領域の画像圧
縮時に用いたH −A RE Aと同じりロック数出力
されるように、コンパレータ14−4.14−5は設定
されるが、とのHAREA信号の立ち下り時に、現ライ
ンの伸長動作の成功、不成功をEOL検出回路10−7
にて判定される。
The comparators 14-4 and 14-5 are set so that the length of the HAREA signal during image expansion is the same as the H-AREA signal used when compressing the image in area B, and the number of locks is output. When the HAREA signal falls, the EOL detection circuit 10-7 detects the success or failure of the extension operation of the current line.
Judgment will be made.

伸長動作の成功の判定は、HAREA信号の立ち下シと
、次のMFLコードがBOLであることと、その時点で
伸長回路10−6のデコードカウンタがカウントアツプ
してDRPI信号が発生していることの3つの状態がそ
ろっていることで行う。これは圧縮回路からのMWコー
ド信号を圧縮画像メモU 10−5に書き込む時あるい
はMl’tコードを圧縮画像メモリから読み出す時にコ
ードに誤りが含まれる可能性があるからであり、MRコ
ードに誤シがある場合は外部からの正確な区間信号HA
R,EAの終了と、1コードの伸長動作の終了であるD
RPIパルスの発生と、ライン終了コードEOLが一致
しなくなるのである。とこで上記3つの状態が一致し、
伸長エラーがなかったことを判定してEOL検出回路1
0−7は、次のラインのために次ラインの先頭のMRコ
ードを読み出すように、DR,P2を発生する。
The success of the decompression operation is determined by the falling edge of the HAREA signal, the fact that the next MFL code is BOL, and at that point the decode counter of the decompression circuit 10-6 counts up and the DRPI signal is generated. This is done when three conditions are met. This is because there is a possibility that an error may be included in the code when writing the MW code signal from the compression circuit to the compressed image memo U10-5 or when reading the Mlt code from the compressed image memory, and the MR code may contain an error. Accurate section signal HA from the outside if there is
D, which is the end of R, EA and the end of the decompression operation of one code.
The generation of the RPI pulse does not match the line end code EOL. Now, the above three conditions match,
EOL detection circuit 1 determines that there is no decompression error.
0-7 generates DR, P2 to read the MR code at the beginning of the next line for the next line.

以下、伸長エラーが発生した場合のライン単位の動作を
第18図により説明する。。
The line-by-line operation when an expansion error occurs will be explained below with reference to FIG. .

第18図においてプリンタ1o−3より入力されるライ
ン同期信号PBDによシ主走査アドレスカウンタ・デコ
ーダ10−12より主走査伸長区間信号がV−DECに
かかわらず発生している。コントローラー10−2から
の副走査伸長区間信号V−DECがLレベルの時はEO
L検出回路からのDECENB信号とBuffCHGE
NB信号はHレベルでありダブルバッファメモリの切り
替えを行うBuff CHG信号は常に発生する。また
])ata ENB信号はこの時Lレベルであシプリン
タに出力される画像信号RMU−VDはANDゲー)1
0−28によシトレベルに固定される。
In FIG. 18, a main scanning expansion period signal is generated by the main scanning address counter/decoder 10-12 in response to the line synchronization signal PBD inputted from the printer 1o-3, regardless of V-DEC. EO when the sub-scanning expansion section signal V-DEC from the controller 10-2 is at L level.
DECENB signal from L detection circuit and BuffCHGE
The NB signal is at H level, and the Buff CHG signal for switching the double buffer memory is always generated. ]) ata ENB signal is at L level at this time, and the image signal RMU-VD output to the printer is AND game)1
0-28 is fixed at the seat level.

コントロー910−2は画像伸長を行うべくV−DEC
信号をHレベルにし、以下HAREA■、HAREA 
 2;・・・・・・HAREA  9  と順にライン
単位の画像伸長動作が行われる。画像伸長時にはHAR
EA領域は3つの状態に分かれる。すなわち、正常の伸
長動作を行うXの状態と、伸長エラーの発生したyの状
態と、BOL検出回路からのDBCENBがLレベルの
伸長エラーリカバー状態2である。
The controller 910-2 is a V-DEC controller for image decompression.
Set the signal to H level, and then HAREA■, HAREA
2; . . . HAREA 9 The image expansion operation is performed line by line in this order. HAR when decompressing images
The EA area is divided into three states. That is, the X state performs a normal decompression operation, the y state where a decompression error occurs, and the decompression error recovery state 2 in which DBCENB from the BOL detection circuit is at L level.

V−DEC信号がHレベルになった次のラインH″AR
EAIから伸長回路10−6において画像伸長が開始さ
れる。第18図のように最初のHAREAIで伸長エラ
ーが発生(yの状態)とすると、EOL検出回路10−
7はHAREAlの後端でBuff CHG ENB信
号とDECENB信号をLレベルにして、次のラインH
AREA2ではダブルバッファメモリの切シ替えと伸長
回路10−6の伸長動作を停止させて、伸長エラーリカ
バーのためのBOL検出処理を行う(2の状態)。
The next line H''AR where the V-DEC signal became H level
Image expansion is started in the expansion circuit 10-6 from the EAI. As shown in FIG. 18, if an expansion error occurs in the first HAREAI (state y), the EOL detection circuit 10-
7 sets the Buff CHG ENB signal and DECENB signal to L level at the rear end of HAREAL, and then the next line H
In AREA2, the switching of the double buffer memory and the decompression operation of the decompression circuit 10-6 are stopped, and BOL detection processing for decompression error recovery is performed (state 2).

EOL検出回路10−7は、伸長エラーリカバーとして
H,l’t’EAがHの区間MRコードとしてEOLコ
ードF’FHを検出するまでDRP2信号を繰シ返し発
生させる。BOLコードを検出することにより圧縮画像
データとHAREA信号との同期関係が回復したことに
なり次のHAREA3における画像伸長のだめの先頭M
Rコードを読み出し、DECENBをHレベルに復帰さ
せて伸長エラーリカバー動作を終了する。
The EOL detection circuit 10-7 repeatedly generates the DRP2 signal until it detects the EOL code F'FH as an MR code in the section where H and l't'EA are H as decompression error recovery. By detecting the BOL code, the synchronization between the compressed image data and the HAREA signal is restored, and the first M of the next image decompression block in HAREA3 is restored.
The R code is read, DECENB is returned to H level, and the decompression error recovery operation is completed.

次のHAREA3において正常に画像伸長動作が終了す
ると(Xの状態)、BOL検出回路1HAREA4のた
めの先頭MRコードを読み出すためにDRP2を1クロ
ック発生させ、Buff CHG ENB信号をHレベ
ルにするとともに1その後に入力されるLNST信号に
よシDa t a ENBをHレベルにする。
When the image decompression operation is normally completed in the next HAREA3 (state of Data ENB is set to H level by the LNST signal inputted thereafter.

HAREA4’、MAR,EA5の2ラインでは共に画
像伸長動作が正常に終了しているのでBuff CHG
 ENB信号はHレベルのままであるが、HARFiA
6ではHAREAlと同様に伸長エラーが発生している
。この状態によfi BOL検出回路は、HAREA6
において、ダブルバソファメモリのメモリYに書き込ま
れた、伸長エラーを含んだ伸長画像データがプリンタに
出力されなイヨうにBuff CHG ENB信号をH
AR,EA 6の後端でLレベルにし、次にHAfEA
8において画像伸長を成功する壕でダブルバッファメモ
リの切り替えを禁止する。このだめ、HAREA7でエ
ラーリカバーしている区間とHAREA8で、次の伸長
動作を行っている区間は、HAREA5において伸長し
た伸長成効の画像データが繰シ返しプリンタにRMU−
VD信号として出力される。
Since the image expansion operation has completed normally on the two lines HAREA4', MAR, and EA5, Buff CHG
Although the ENB signal remains at H level, HARFiA
6, a decompression error occurs as in HAREAL. In this state, the fi BOL detection circuit
, the Buff CHG ENB signal is set to H to prevent the decompressed image data containing decompression errors written to memory Y of the double bath sofa memory from being output to the printer.
AR, EA set to L level at the rear end of 6, then HAfEA
In step 8, double buffer memory switching is prohibited at the point where image decompression is successful. However, in the section where the error is recovered in HAREA 7 and the section where the next decompression operation is performed in HAREA 8, the image data of the decompression effect decompressed in HAREA 5 is repeatedly sent to the printer by RMU--
It is output as a VD signal.

このように、Buff CHG BNB信号により伸長
エラー発生ラインと、エラーリカバーラインの後はLN
STによる13uff CHG信号が発生しないため第
22図のR,MU−VD信号に示すように伸長成功ライ
ン(Xの状態)における伸長画像データだけがRMTJ
−VD信号としてプリンタ10−3に出力される。
In this way, the Buff CHG BNB signal causes the LN after the expansion error occurrence line and the error recovery line.
Since the 13uff CHG signal by ST is not generated, only the decompressed image data on the decompression success line (state of X) is RMTJ as shown in the R and MU-VD signals in Fig.
-It is output to the printer 10-3 as a VD signal.

またData END信号は前述のように、伸長成功ラ
インが発生した後、初めてHレベルになる信号であり、
この信号によりV−DEC信号がHレベルになってから
、伸長成功ラインが発生するまでの間、エラーを含んだ
伸長画像データがプリンタに出力されないようになる。
Furthermore, as mentioned above, the Data END signal is a signal that becomes H level for the first time after the successful extension line is generated.
This signal prevents decompressed image data containing errors from being output to the printer from when the V-DEC signal becomes H level until the decompression success line occurs.

さらにDataENB信号はV−DEC信号がLレベル
になってから1ライン遅れてLレベルになるように構成
されており、最後のHAREA9ラインにおける伸長画
像も、正常にプリンタに出力される。
Furthermore, the DataENB signal is configured to go to the L level one line after the V-DEC signal goes to the L level, and the expanded image in the last 9 lines of HAREA is also normally output to the printer.

コントローラー10−2は、伸長エラーカウンタ10−
35において、Buff CHG ENB信号がLレベ
ル中に発生したLNST信号をカウントして、伸長エラ
ーが発生したラインと、エラーリカバーを行ったライン
の合計をカウントする。すなわちこのカウント値は、伸
長成功し々かったライン数を表わし、コントローラー1
0−2は伸長が成功しなかったライン数が8ラインを越
えた場合は、伸長エラーミスプリントとして直に、VD
ECDEC信号ベルにし伸長動作を停止する等の処理す
る。これによシ、伸長エラーの検出が、1ペ一ジ分の画
像の伸長を待たずして行なわれるので、伸長エラーに対
する迅速な処理が可能となる。
The controller 10-2 has an expansion error counter 10-2.
At step 35, the LNST signals generated while the Buff CHG ENB signal is at L level are counted, and the total number of lines in which an expansion error has occurred and lines in which error recovery has been performed is counted. In other words, this count value represents the number of lines that have been successfully extended, and
0-2: If the number of lines for which decompression was not successful exceeds 8 lines, the VD will be immediately notified as a decompression error misprint.
Perform processing such as setting the ECDEC signal to a bell and stopping the expansion operation. As a result, decompression errors are detected without waiting for one page of images to be decompressed, so that decompression errors can be quickly processed.

伸長時に、コントローラー10−2が出力する副走査伸
長区間信号V−DECは、圧縮時にV−ENC信号を出
力した時と同じライン数をラインカウンタ10−11に
おいて計数して出力する。
During expansion, the sub-scanning expansion section signal V-DEC outputted by the controller 10-2 is output by counting the same number of lines in the line counter 10-11 as when outputting the V-ENC signal during compression.

したがって、画像伸長中に伸長エラーが発生しなければ
、コントローラー10−2がラインカウンタ10−11
からの所定副走査ライン計数完了出力を受けてVDBC
DEC信号ベルに戻すタイミングで、メモリアドレスカ
ウンタ10−8からのアドレス出力M−ADRは、伸長
画像を圧縮した時の最終M−ADRの値と同じになる。
Therefore, if no decompression error occurs during image decompression, the controller 10-2 controls the line counter 10-11.
VDBC upon receiving the predetermined sub-scanning line count completion output from
At the timing of returning to the DEC signal bell, the address output M-ADR from the memory address counter 10-8 becomes the same as the final M-ADR value when the decompressed image was compressed.

コンパレータ10−14には、圧縮時の最終M−A D
 R値をセットしているのでコントローラー10−2は
VDECDEC信号ベルにした時点で% MOVER信
号を検出するはずである。
The comparators 10-14 include the final M-A D at the time of compression.
Since the R value is set, the controller 10-2 should detect the % MOVER signal when the VDECDEC signal is set to bell.

ところで伸長動作中に、前述のように伸長エラーが発生
すると、伸長エラーリカノく−のためにEOL検出回路
10−7がBOLコードをさかすべく、MR,コードを
読みとばすため、MOVER信号が発生した時には、ラ
インカウンター0−11にはカウント残りが発生する。
By the way, when an expansion error occurs as described above during the expansion operation, the EOL detection circuit 10-7 skips the MR code in order to invert the BOL code due to the expansion error error, so a MOVER signal is generated. At times, line counters 0-11 have a count remaining.

このカウント残すを全てカウントするために、7番 −DEC信号を出しつづけても、MOVER信号のため
に、すでにメモリアドレスカウンター0−8はカウント
を停止しているのでメモリアドレスカウンター0−8の
停止した時点のカウント値のアドレスの画像データが繰
返し伸長回路10−6に取込まれることになり、残りの
ラインは全て伸長エラーラインとなってしまう。
Even if you keep outputting the 7-DEC signal in order to count all that remains, the memory address counters 0-8 have already stopped counting due to the MOVER signal, so the memory address counters 0-8 will stop. The image data at the address of the count value at the point in time is repeatedly fetched into the decompression circuit 10-6, and all remaining lines become decompression error lines.

そこで、この状態を防ぐために、コントローラー10’
−214、vDECDEC信号ベルにしてラインカウン
ター0−11からのカウントアツプを待っている間% 
MOVER信号を定期的に調べて、V−DECがHレベ
ルの時にMOVERを検出したら、直ちにV−DEC信
号をLレベルにして、画像伸長動作を停止させて、余分
な伸長エラーラインΩカウントをしないようにする。
Therefore, in order to prevent this situation, the controller 10'
-214, % while waiting for count up from line counter 0-11 with vDECDEC signal bell
Check the MOVER signal periodically, and if MOVER is detected when V-DEC is at H level, immediately set the V-DEC signal to L level to stop the image expansion operation and avoid unnecessary expansion error line Ω counting. Do it like this.

このように、メモリアドレスカウンタが、画像圧縮時の
最大アドレスに一致したことで、画像伸長動作を停止す
ることで、意図しない余分な画像信号がプリンタ1o−
3に記録されることを防ぐことも可能となる。
In this way, when the memory address counter matches the maximum address at the time of image compression, the image decompression operation is stopped, thereby preventing unintended extra image signals from being transmitted to the printer 1o.
3 can also be prevented from being recorded.

次に、伸長した画像信号の一部分をトリミングして出力
用紙の任意の箇所に出力する場合を説明する。    
   。
Next, a case will be described in which a portion of the expanded image signal is trimmed and outputted to an arbitrary location on the output paper.
.

第19図は、A4サイズの伸長画像UのS1点から、主
走査方向にH1ビット、副走査方向に■1ラインの点t
□を基準点として主走査サイズH2ビット、副走査サイ
ズv2ビットの画像Tをトリミングして、八4のコピー
用紙に、■□、Hよ、の位置を変えずに出力する例であ
る。
Figure 19 shows a point t of H1 bit in the main scanning direction and ■1 line in the sub-scanning direction from point S1 of an expanded image U of A4 size.
This is an example in which an image T having a main scanning size of H2 bits and a sub-scanning size of V2 bits is trimmed using □ as a reference point, and outputted on 84 copy paper without changing the positions of ■□ and H.

前述のように1ラインの伸長動作はプリンタからのPB
D信号によるLN−8T信号を同期信号として開始され
るが、・第19図では、主走査アドレスカウンタ・デコ
ーダ10−12からのHA D Rが4677になった
ところから1ラインの伸長動作が始まる。すなわちHA
、DRが4677でH−AR,EAがHレベルになるよ
うにコンパレータ14−4には4677をセットする。
As mentioned above, the expansion operation of one line is performed using the PB from the printer.
It is started using the LN-8T signal by the D signal as a synchronizing signal, but in Fig. 19, the expansion operation of one line starts when the HA D R from the main scanning address counter decoder 10-12 becomes 4677. . That is, H.A.
, 4677 is set in the comparator 14-4 so that when DR is 4677, H-AR and EA are at H level.

まだ、A4巾4677ビツトで伸長を終了するように、
コンパレータ14−5171J:Oヲセットして、HA
REAの長さを4677ビツトとする。また、伸長回路
1 (1−6により伸長された伸長画像信号DVDOを
ダブルバッファメモリjO−15に書き込むDADJ読
み出すHADRが同じ動作をするようにDC5TART
信号の出るタイミングを作るコンパレータ14−8には
4677をセットし、ディザカウンタ10−10のカウ
ンタ13−1.13−2のLD値も4677をセットす
る。これにより、前述のようにUで圧縮された画像信号
がそのまま伸長される。
Please make sure to finish decompression at A4 width 4677 bits.
Comparator 14-5171J: Set O, HA
Let the length of REA be 4677 bits. In addition, DC5TART is used to write the expanded image signal DVD expanded by the expansion circuit 1 (1-6 into the double buffer memory jO-15) so that the DADJ reading HADR performs the same operation.
4677 is set in the comparator 14-8 that creates the timing of outputting the signal, and 4677 is also set in the LD value of the counter 13-1.13-2 of the dither counter 10-10. As a result, the image signal compressed by U as described above is expanded as is.

コントローラー10−2は第20図に示すようにプリン
タ10−3にA4のコピー用紙レジスト給紙信号VSY
NCを出すと同時に副走査伸長区間信号V−I)、EC
を中力する。。これによシプリンタの紙送りと同時に画
像伸長出力が始まり、もしここでトリミングを行う必要
が々けレバ、V−DBC4−PV8.YNCと同じ時間
巾に渡って出力せしめることにより、UのA4の伸長画
像の全てがA4のコピー用紙にそのまま出力される。こ
とで前述の如くのトリミングを行なうべくコントローラ
ー10−2は、■1 ラインの画像信号を消去するため
に、■−DEC信号−を出力してからV1ラインの間は
TRM信号をLレベルに固定し、ダブルバッファメモリ
から読み出し画像信号をゲー)10−27でLレベル、
に固定する。このために、Vl ラインをカウント中の
TR,M信号を出力するコンパレータ14−6にはi、
 F F FH、コンパレータ14−7には4677(
1245H)をセットすることによシ、フリップフロッ
プ14−12には、リセットしかかからないようにする
As shown in FIG. 20, the controller 10-2 sends an A4 copy paper registration paper feed signal VSY to the printer 10-3.
At the same time as outputting NC, sub-scanning expansion section signal V-I), EC
to focus on. . With this, the image expansion output starts at the same time as the printer feeds the paper, so if you need to trim at this point, use the lever V-DBC4-PV8. By outputting over the same time span as YNC, the entire A4 expanded image of U is output as is on A4 copy paper. Therefore, in order to perform the above-mentioned trimming, the controller 10-2 fixes the TRM signal at the L level during the V1 line after outputting the -DEC signal to erase the image signal of the 1st line. Then read the image signal from the double buffer memory and set it to L level at 10-27.
Fixed to. For this reason, the comparator 14-6 that outputs the TR and M signals that are counting the Vl line has i,
F F FH, 4677 (
1245H), the flip-flops 14-12 are only reset.

″V1ラインのカウントをラインカウンタ1〇−11で
カウントした後に、t□の位置から副走査巾■2ライン
、主走査巾H2ビットのT領域のトリミングを行う。そ
のために、ラインカウンタ10−11に■2ラインをセ
ットし、副走査v2ラインを計算するとともに、その間
の主走査トリミング領域のt点からH2ビット巾を表わ
すTRM信号を発生させるべく、コンパレータ14−6
に(4677−Hi)をセットし、コンパレータ14−
7には(4677−(Hs 、+、H2) )をセット
する。とれにより、第19図のTRM(v2)を得ル。
``After counting the V1 line with the line counters 10-11, trimming of the T area with a sub-scanning width of 2 lines and a main-scanning width of H2 bits is performed from the position t□.For this purpose, the line counters 10-11 The comparator 14-6 calculates the sub-scanning v2 line and generates the TRM signal representing the H2 bit width from the t point of the main-scanning trimming area between them.
(4677-Hi) and comparator 14-
7 is set to (4677-(Hs,+,H2)). As a result, TRM (v2) in Figure 19 is obtained.

以上のような定数セットによりtl、点から■2ライン
の間のT領域のトリミングが実現される。
By setting the constants as described above, trimming of the T area between the point tl and the line 2 is realized.

T領域の画像信号が全てプリンタに出力された時点で、
ラインカウンタ1.0−11からコントローラ10−2
に、V2ラインのカウント終了信号が出力される。この
時点で圧縮画像メモリ10−5には、第19図の斜線で
示された部分の圧縮画像コードが読み出されずに残って
いるが、所望のT領域の画像出力はすでに完了している
ので、コントローラー10−2はこの斜線部の圧縮画像
コードの伸長を行う必要はなく、VDEC信号をここで
Lレベルにし、伸長動作を停止させる。VDEC信号が
Lレベルになったため、EOL検出回路からのData
 E’NB信号はLレベルになりこれ以降の■Rライン
は、プリンタに画像信号は白信号(Lレベル)となり。
When all the image signals in the T area are output to the printer,
Line counter 1.0-11 to controller 10-2
Then, a count end signal on the V2 line is output. At this point, the compressed image code of the shaded portion in FIG. 19 remains in the compressed image memory 10-5 without being read out, but since the image output of the desired T area has already been completed, The controller 10-2 does not need to decompress the compressed image code in the shaded area, and sets the VDEC signal to the L level here to stop the decompression operation. Since the VDEC signal became L level, the data from the EOL detection circuit
The E'NB signal goes to L level, and the image signal to the printer for the following ■R line becomes a white signal (L level).

T領域のトリミング出力が完了する。このように、余分
な圧縮画像コードを伸長しないようにすることにより、
伸長エラーの発生量が下がり、それにより伸長画像にエ
ラーが含まれることに起因するミスプリントの発生率が
低下し、コピー動作の信頼性が向上する。
The trimming output of the T area is completed. In this way, by not decompressing the extra compressed image code,
The amount of decompression errors that occur is reduced, thereby reducing the incidence of misprints caused by errors included in decompressed images, and improving the reliability of copying operations.

次に以上の様にして第19図でトリミングした画像信号
Tを主走査方向に紙端よりH3画素の位置に移動してプ
リンタ10−3に出力する場合を第21図により説明す
る。
Next, the case where the image signal T trimmed as described above in FIG. 19 is moved to a position H3 pixels from the paper edge in the main scanning direction and output to the printer 10-3 will be described with reference to FIG.

この場合、伸長画像をダブルバッファメモリに書き込む
時に1ラインの伸長画像の移動を行い、ダブルバッファ
メモリから移動した画像を読み出す時に、所望のTの部
分をトリミングする。この伸長画像の移動及びトリミン
グは全てHAT)Rを基準として行われる。すなわち、
第21図(a)においてHA D R(4677−Hl
)からHADR(4678−(H,十H2))のアドレ
ス範囲で伸長回路10−6で伸長されたTの部分が、D
ADRによりダブルバッファメモリに書き込まれ、第2
1図(b)において、ダブルバッファメモリからHAD
Rにより読み出される時にH3〜H1ビットだけ移動さ
れて、HADR(4677−H3)からHADR(46
78−(J十H3))の範囲で読み出されることになる
。この画像移動はDADRのアドレス制御によって実行
され、第21図(a)でダブルバッファメモリに伸長画
像のTの部分が書き込まれる時(HADRが4677−
Hlの時)に発生した画素を、H3−Hlだけ移動した
4677−H3のアドレスにDADRで書き込めばよい
。すなわち第21図(a)から明らかなように、HAD
R= 4677におけるDADRのカウント開始値を主
走査移動ビット数H3−H1により4677− (H3
−H工)とすればよい。このH3は画像移動方向が主走
査の基準点(1−TADR=4677 )から離れる場
合には正の値と々す、逆に近づく場合には負の値となる
In this case, when writing the expanded image into the double buffer memory, the expanded image is moved by one line, and when the moved image is read out from the double buffer memory, the desired T portion is trimmed. All movement and trimming of this expanded image is performed with HAT)R as a reference. That is,
In FIG. 21(a), HA D R (4677-Hl
) to HADR (4678-(H, 10H2)), the part of T expanded by the expansion circuit 10-6 is D.
ADR writes to the double buffer memory and the second
In Figure 1 (b), HAD
When read by
78-(J10H3)). This image movement is executed by the address control of DADR, and when the portion T of the decompressed image is written to the double buffer memory in FIG. 21(a) (HADR is 4677-
The pixel generated at the time of Hl) may be written to the address of 4677-H3, which is moved by H3-Hl, using DADR. That is, as is clear from FIG. 21(a), HAD
The DADR count start value at R=4677 is 4677-(H3
-H engineering). This H3 takes a positive value when the image movement direction moves away from the main scanning reference point (1-TADR=4677), and takes a negative value when it approaches.

ダブルバッファメモリから読み出された画像信号は、T
RM信号によってトリミングされるが、この’14M信
号も第21図(b)のように、移動量H3−H,を考慮
して、HADRが4677−H3から4678−(H2
+H3)の間でHレベルになるように、コンパレータ1
4−6には4677−H3をセットし、コンパレータ1
4−7には4677− (H2+H3)をセットする。
The image signal read out from the double buffer memory is T
Although this '14M signal is trimmed by the RM signal, as shown in FIG. 21(b), the HADR is changed from 4677-H3 to 4678-(H2
Comparator 1 so that the H level is between +H3)
Set 4677-H3 to 4-6 and comparator 1.
Set 4677- (H2+H3) to 4-7.

次に、伸長した画像信号を出力用紙上の副走査方向(紙
送り方向)に移動する場合を第22図で説明する。
Next, a case in which the expanded image signal is moved in the sub-scanning direction (paper feeding direction) on the output paper will be explained with reference to FIG.

第22図(a)のような伸長画像Uの中のTの部分をト
リミングして出力用紙の副走査方向の任意の位置に出力
するのだが、Tの部分のトリミングのしかたや、主走査
方向の画像の移動は、前述したので、ここではコピー用
紙をレジスト給紙させるタイミングと、伸長画像Uの伸
長開始の副走査方向のタイミングについて述べる。
The part T in the expanded image U as shown in Fig. 22(a) is trimmed and output to an arbitrary position in the sub-scanning direction of the output paper. The movement of the image has been described above, so here we will discuss the timing of registration feeding of the copy paper and the timing of the start of expansion of the expanded image U in the sub-scanning direction.

第22図(b)は、コピー用紙の副走査方向(紙送り方
向)の後方に伸長画像Uを移動するとともにトリミング
を行い、紙端から■3ラインのところに、トリミング画
像のtl 点を記録する例である。
In Fig. 22(b), the expanded image U is moved backward in the sub-scanning direction (paper feeding direction) of the copy paper and trimmed, and the tl point of the trimmed image is recorded at line ■3 from the edge of the paper. This is an example.

コピー用紙と、伸長画像Uの副走査方向のずれは、■2
−V1ラインであるので、コントローラー10−.2は
、プリンタ10−3に対するコピー用紙のレジスト給紙
信号P−■5YNCを出力した後、ラインカウンタ10
−11でV3・−■1ラインを計数した後に副走査伸長
区間信号VDECをHレベルにし、伸長画像Uの伸長動
作を開始する。ここでTR,M信号でT領域の画像を出
力するのは、■〜DEC信号をHレベルにしてから、さ
らに■1 ライン経過した時である。そして、T領域の
副走査外のV2ラインをラインカウンタで計数したとこ
ろでV−DEC信号をLレベルにして、伸長動作を終了
する。
The misalignment between the copy paper and the expanded image U in the sub-scanning direction is ■2
-V1 line, so controller 10-. 2 outputs the copy paper registration paper feed signal P-■5YNC to the printer 10-3, and then outputs the line counter 10.
After counting V3.--1 line at -11, the sub-scanning expansion section signal VDEC is set to H level, and the expansion operation of the expanded image U is started. Here, the image in the T area is output using the TR and M signals when one line (■) has further elapsed after the (2) to DEC signals were set to the H level. Then, when the line counter counts the V2 line outside the sub-scanning of the T area, the V-DEC signal is set to L level, and the expansion operation is completed.

第22図(C)は、コピー用紙をレジスト給紙する前に
伸長画像Uを伸長行い、紙端からV3ラインのところに
、トリミング画像のP点を出力する例であり、11点が
コピー用紙上に来る場合はv3は正の値、コピー用紙外
に出る場合は負の値をとる。
FIG. 22(C) is an example in which the expanded image U is expanded before register feeding the copy paper, and point P of the trimmed image is output at line V3 from the edge of the paper, and 11 points are on the copy paper. v3 takes a positive value if it is above the copy paper, and a negative value if it goes outside the copy paper.

第22図(C)では、プリンタに対するレジスト給紙信
号PVSYNCを出力する前に■1−V3ライン分の画
像伸長を前もってやっておく必要がある。そこでコント
ローラー10−2はラインカウンタ10−11にて、■
、−73247分の画像伸長を行ったら、−担VDBC
信号をLレベルにして画像伸長動作を中断してPVSY
NCを出力するタイミングを待つ。PVSYNCを出力
するタイミングで再度V−DEC信号をHレベルにして
、中断していた画像伸張動作を継続させ、V、−V3ラ
イン分の画像の移動が行われる。
In FIG. 22(C), it is necessary to perform image expansion for lines 1-V3 in advance before outputting the registration paper feed signal PVSYNC to the printer. Therefore, the controller 10-2 uses the line counter 10-11 to
, -73247 minutes of image decompression, -VDBC
The signal is set to L level, the image expansion operation is interrupted, and the PVSY
Wait for the timing to output NC. At the timing of outputting PVSYNC, the V-DEC signal is set to H level again, the interrupted image expansion operation is continued, and the image is moved by three lines of V and -V.

T領域のトリミングは前述のとおりであるが、もしP点
が紙端からV3ラインはみ出る場合には、コピー用紙に
出力されるT領域はその分食なくなる。PVSYNC信
号を出力する前に、V、−V3ラインの画像伸長を行い
、−担V−DEC信号をLレベルに戻しているが、これ
けPVSYNCとしてリーダーから(7)RVSYNC
を用いる場合を考慮している。すなわち、R,MUで伸
長した画像と、リーダーからの画像をオーバーレイして
プリンタに出力する場合、2つの画像のオーバレイ位置
を正確に合わせるためには、共通のVSYNC信号を用
いなければならない。しかし、RMUからリーダーにV
SYNCを知らせる手段がないので、PVSYNCは、
リーターカらのVSYNC(RVSYNC)をm−なけ
ればならない。リーダーと非同期のコントローラー10
−2にとっては、几VSYNCがいつ入力されるかの詳
しいタイミングを取るととは困難である。それでコント
ローラー10−2は、リーダーからのVSYNC(RV
SYNC)を入力するよシ充分前に、Vl−■3ライン
の画像の伸長を終えてコピー用紙に出力される伸長画像
のMR,コードを圧縮画像メモリから頭出ししておき、
RVSYNCに合わせて再度伸長動作を開始させなけれ
ばならない。すなわち、RvSYNcを待っている間V
−DECをLレベルにして、伸長動作を中断しているの
である。
Trimming of the T area is as described above, but if point P protrudes beyond the V3 line from the edge of the paper, the T area output on the copy paper will not be trimmed by that amount. Before outputting the PVSYNC signal, the image of the V and -V3 lines is expanded and the -V-DEC signal is returned to the L level, but (7) RVSYNC from the reader as PVSYNC
We are considering the case where . That is, when an image expanded by R, MU and an image from a reader are overlaid and output to a printer, a common VSYNC signal must be used in order to accurately match the overlay position of the two images. However, from RMU to leader V
Since there is no way to signal SYNC, PVSYNC
The VSYNC (RVSYNC) of Rietaka et al. must be m-. Reader and asynchronous controller 10
-2, it is difficult to determine the detailed timing of when VSYNC is input. Controller 10-2 then receives VSYNC (RV) from the reader.
Sufficiently before inputting the SYNC), the MR and code of the expanded image to be output on the copy paper after the expansion of the Vl-■3 line image are located at the beginning of the compressed image memory.
The decompression operation must be started again in time with RVSYNC. That is, while waiting for RvSYNc, V
-DEC is set to L level to interrupt the decompression operation.

尚、オーバレイ動作を行なわない場合にけり−ダCの同
期を取る必要がな(、PVSYNC信号の出力制御をV
−DEC信号の出力制御と同様にラインカウンタ10−
11で行うこともできる。従って、VDEC信号を一旦
Lレベルに落とさずに、PVSYNCを即に出方し、伸
長動作が中断せずに実行可能となる。
Note that when overlay operation is not performed, there is no need to synchronize the breaker C (the output control of the PVSYNC signal is
-Line counter 10 as well as output control of DEC signal-
It can also be done with 11. Therefore, without once lowering the VDEC signal to the L level, PVSYNC is immediately output, and the decompression operation can be executed without interruption.

(4)  ディザ画像伸長の機能 (2)のディザ圧縮による圧縮画像をそのまま伸長処理
しただけでは、ディザ圧縮時のディザカウンタ10−1
0による主走査画像の並らび替えにより、それをそのま
ま伸長したのでは原稿画像とは異るコピー出力となって
しまう。そこでディザ画像伸長処理では(3)の2値伸
長処理と同一のプロセスにより伸長回路10−6から得
られるディザ並らび替えをされた伸長画像信号DVDO
をダブルバッファメモリ10−15に書き込む時に、も
とのリーダーからのディザ画像の順に並らび替え直す。
(4) Function of dithered image expansion If the compressed image by dither compression in (2) is simply expanded, the dither counter 10-1 at the time of dither compression
If the main scanning image is rearranged by 0 and expanded as it is, the copy output will be different from the original image. Therefore, in the dither image expansion process, the dither rearranged expanded image signal DVDO obtained from the expansion circuit 10-6 is processed in the same process as the binary expansion process in (3).
When writing the images into the double buffer memory 10-15, the images are rearranged in the order of the dithered images from the original reader.

この並らび替えはダブルバッファメモリ10〜15の伸
長時の書き込みアドレスカウンタDADRの発生順を変
えることで実現される。
This rearrangement is realized by changing the order in which the write address counters DADR are generated when the double buffer memories 10 to 15 are expanded.

すなわち、第16図の20−3の如く並らび替えられた
画像を(16−2)の順になるよう、8ビット間隔に並
らび替え直すのであるが、これは第11図示のディザカ
ウンタの])i ther 信号をHレベルとして、デ
ィザ圧縮時と同様にカウンタ13−1.13−2を動作
させることになる。
In other words, the images that have been rearranged as shown in 20-3 in Figure 16 are rearranged at 8-bit intervals so that they are in the order (16-2), but this is done using the dither counter shown in Figure 11. ])i ther signal is set to H level, and the counters 13-1 and 13-2 are operated in the same way as in the case of dither compression.

この場合、カウンタ13−1.13−2にコントローラ
10−2が設定するカウンタロード値は伸長画像の移動
によって、2値画像伸長処理と同様に、任意の値を設定
できるが、13−1のカウンタのロード値は、ディザ圧
縮時に用いた値と同じ値にしなければ々らない。そうし
ないと、ダブルバッファメモリから読み出された画像信
号のディザパターン1ブロツク内の画素の並らびが狂う
ことになる。またコンパレータ13−3には、ディザ圧
縮処理時に用いたブロック数Nを用いて、13−2のカ
ウンタのロード値から(N−1)を引いた値をセットす
る。
In this case, the counter load value set by the controller 10-2 in the counter 13-1. The load value of the counter must be the same value as the value used during dither compression. Otherwise, the arrangement of pixels within one block of the dither pattern of the image signal read out from the double buffer memory will be out of order. Further, the comparator 13-3 is set to a value obtained by subtracting (N-1) from the load value of the counter 13-2 using the number N of blocks used during the dither compression processing.

以上説明した本システムの構成における、リーグ、RM
U間及びR,MU・プリンタ間のシリアル通信と、画像
処理動作の詳細な手順を以下に説明する。尚、以下の説
明に用いるフローチャートに示されたプログラムはリー
グ、プリンタ及びRMUの制御部を構成するマイクロコ
ンピュータのメモリROMに予じめ格納され、これを適
宜読出すことにより制御動作するものである。
In the configuration of this system explained above, the league, RM
Detailed procedures for serial communication between U and between R, MU, and printer, and image processing operations will be described below. The programs shown in the flowcharts used in the following explanation are stored in advance in the memory ROM of the microcomputer that constitutes the control unit of the league, printer, and RMU, and are read out as appropriate to perform control operations. .

第6図に示したシリアル通信は第8図のDEVIOE 
Connect+DgvxcEPOWERReady。
The serial communication shown in Figure 6 is DEVIOE in Figure 8.
Connect+DgvxcEPOWERReady.

Controller Power Ready信号に
よってRMUを含む全ユニットがシリアル通信可能にな
ったときに、リーグ側ユニットからプリンタ側ユニツ)
 (RMUを含む)に命令(以下コマンドと記す)を出
力することで開始される。コマンドがプリンタに到達し
たならばプリンタはコマンドに対する応答(以下ステー
タスと記す)をリーグ側ユニツ)(RMUを含む)に出
力する。RMUは基本的にはリーグからコマンドを入力
したならば、同一コマンドをプリンタへ出力し、プリン
タからステータスを入力したならば同一ステータスをリ
ーグへ出力する。
When all units including the RMU become capable of serial communication due to the Controller Power Ready signal, the league side unit sends a message to the printer side unit)
It is started by outputting an instruction (hereinafter referred to as a command) to (including the RMU). When the command reaches the printer, the printer outputs a response to the command (hereinafter referred to as status) to the league side units (including the RMU). Basically, if the RMU receives a command from the league, it outputs the same command to the printer, and if it receives a status from the printer, it outputs the same status to the league.

リーグ側ユニットとプリンタ側ユニット間のシリアル通
信は8ビツト構成のコマンドとステータスのやりとりに
よって行なわれ、このとき一つのコマンドに対して必ず
一つのステータスが返され、ステータスはコマンドに先
じて返されることはない。
Serial communication between the league side unit and the printer side unit is performed by exchanging 8-bit commands and statuses, and at this time, one status is always returned in response to one command, and the status is returned before the command. Never.

第23図ごRMUのコマンドに対する処理を示す。FIG. 23 shows processing for RMU commands.

RMUはリーグからコマンドを入力する。このコマンド
が後述第1表の1.0’ O−7から10100−12
0Rモード指示コマンド、RMUメモリ指示コマンド、
RMU )リミング指示1コマンド、RMU)リミング
指示2コマンド。
The RMU receives commands from the league. This command corresponds to 1.0' O-7 to 10100-12 in Table 1 below.
0R mode instruction command, RMU memory instruction command,
RMU) Rimming instruction 1 command, RMU) Rimming instruction 2 command.

RMU )リミング指示3コマンド、RMU )リミン
グ指示4コマンド、RMU)リミング指示5コマン)’
、RMU)リミング指示6コマンド(これら8コマンド
をまとめてRMU指示コマンドという。)のいずれかで
ある場合には(S−100−1)、それぞれのコマンド
1バイ)Kついて後述第10表金体ステータスをリーグ
に返送する(S−100−5)。RMUは入力したコマ
ンドがRMU指示コマンドのいずれかでない場合には後
述第1表100−1のプリンタスタートコマンドである
かの判定を行う(S−100−2)。
RMU) Rimming instruction 3 commands, RMU) Rimming instructions 4 commands, RMU) Rimming instructions 5 commands)'
, RMU) If it is any of the 6 rimming commands (these 8 commands are collectively referred to as RMU commands) (S-100-1), each command 1 bye) The status is sent back to the league (S-100-5). If the input command is not one of the RMU instruction commands, the RMU determines whether it is a printer start command as shown in Table 1 100-1, which will be described later (S-100-2).

プリンタスタートコマンドはシステムにRMUが接続さ
れている場合には前述RMU指示コマンドがリーグから
出力後、リーグから出力されるので、この時点で後述R
MUモードはすでに決定している。このRMUモードが
後述の“インプットモード“の場合には、プリンタはコ
ピー動作を行なわないのでこのプリンタスタートコマン
ドをRMUはプリンタへ出力せずリーグに第10表の全
体ステータスを出力する(S−100−3、S−100
−5)。まだRMUの動作上必要な情報を含むコマンド
例えば紙サイズ指示コマンドはコマンドの内容を記憶し
、そのあとでプリンタに出力する(S−100−4)。
If an RMU is connected to the system, the printer start command is output from the League after the RMU instruction command described above is output from the League, so at this point, the RMU command described later is output.
The MU mode has already been determined. If this RMU mode is the "input mode" described later, the printer does not perform a copy operation, so the RMU does not output this printer start command to the printer and outputs the overall status shown in Table 10 to the league (S-100 -3, S-100
-5). For commands that still contain information necessary for the operation of the RMU, such as a paper size instruction command, the contents of the command are stored and then output to the printer (S-100-4).

続いて第24図を用いてRMUのステータスに対する処
理を説明する。プリンタは11.MUよリリーダから出
力されたコマンドを入力すると、一定時間内に入力した
コマンドに対してステータスをRMUへ出力する。
Next, processing for the RMU status will be explained using FIG. 24. The printer is 11. When the MU inputs a command output from the reader, the status of the command input within a certain period of time is output to the RMU.

RMUはプリンタからステータスを入力するとこのステ
ータスがどのコマンドに対してのものかを判定し、第9
表の108−7のアプリケーションステータス要求コマ
ンドに対しての第15表のアプリケーションステータス
であるかどうかをチェックする(S=101−1)。入
力したステータスがアプリケーションステータスである
場合には、RMU接続の情報を付加後(S−101−2
)、リーダヘアプリケーションステータスとして出力す
る。
When the RMU inputs the status from the printer, it determines which command this status corresponds to, and
It is checked whether the application status in Table 15 corresponds to the application status request command in Table 108-7 (S=101-1). If the input status is an application status, after adding RMU connection information (S-101-2
), output to the reader as application status.

また、同様にプリンタからのステータスが第11表エラ
ー発生ユニットステータスであるかどうか判定を行い(
S−101−3)、後述圧縮失敗フラグがセットされて
いる場合には圧縮失敗の情報(RMUメモリオーバーフ
ロー)を付加したエラー発生ユニツ訃ステータスをリー
グに返し、圧縮失敗フラグがリセットされている場合に
はプリンタからのエラー発生ユニットステータスをその
ままリーグに返す。またプリンタからのステータスが第
10表の全体ステータスまたは第16表のミスプリント
詳細ステータスであるかどうか判定を行い(S−101
−6、S−101−9)、後述伸長エラーフラグがセッ
トされている場合には伸長エラーの情報を全体ステータ
スまたはミスプリント詳細ステータスに付加しくS−1
01−8,S−101−11)、伸長エラーフラグがリ
セットされている場合にはプリンタからの全体ステータ
スまたはミスプリント詳細ステータスをそのま、まリー
グへ返す。
Similarly, it is determined whether the status from the printer is the error occurrence unit status in Table 11 (
S-101-3), if the compression failure flag described below is set, return the error unit death status with compression failure information (RMU memory overflow) to the league, and if the compression failure flag is reset. In this case, the error unit status from the printer is returned to the league as is. It is also determined whether the status from the printer is the overall status in Table 10 or the misprint detailed status in Table 16 (S-101
-6, S-101-9), if the decompression error flag described below is set, add decompression error information to the overall status or misprint detailed status.S-1
01-8, S-101-11), if the decompression error flag is reset, the overall status or misprint detailed status from the printer is returned to the league as is.

RMUはリーグからのコマンド入力し対して、プリンタ
へのコマンド転送またはリーグへの全体ステータスの返
送を行い、プリンタからのステータス入力に対してはリ
ーグへのステータス転送またはステータスに情報付加加
工後、転送することを交互に繰り返す。
In response to command input from the league, the RMU transfers the command to the printer or returns the overall status to the league, and in response to status input from the printer, it transfers the status to the league or adds information to the status and processes it before forwarding it. Repeat what you do alternately.

このようにR,MUが接続されたシステムにおいて、R
MUは必要な情報のみ取り込みを行い、その他の情報は
素通しするという通信を行う。
In a system where R and MU are connected in this way, R
The MU communicates by capturing only necessary information and passing other information through.

このことにより情報のやりとりの時間短縮や通信の監視
をリーグが行うことになり、通信プロトコルの簡略化を
計ることができる。
This will shorten the time it takes to exchange information and allow the league to monitor communications, making it possible to simplify communication protocols.

以下第23図、第24図に示したリーグ、RMU。The league and RMU shown in Figures 23 and 24 below.

プリンタ間でのシリアル通信に用いられるコマンドまた
はステータスの詳細な説明を行う。
Provides a detailed explanation of the commands or statuses used for serial communication between printers.

第1表にR,MUまたはプリンタに実行をうながす実行
コマンドを示す。この実行コマンドがリーグから出力さ
れた場合、RMUまたはプリンタは第10表に示した全
体ステータスを返送する。第1表の100−1はプリン
タにコピー動作開始を要求するプリンタ・スタートコマ
ンド。
Table 1 shows execution commands that prompt R, MU, or the printer to execute. When this execution command is output from the league, the RMU or printer returns the overall status shown in Table 10. 100-1 in Table 1 is a printer start command that requests the printer to start copying.

100−2はプリンタにコピー動作停止を要求するプリ
ンタストップコマン)’100−3 、100−4は給
紙カセットを指定する給紙指示コマンド100−5は紙
・サイズを指示する紙サイズ指示コマンドで、このコマ
ンドの2バイト目(第2表)にはビット1からビット6
を用いてA4.A3゜B4 、B5 、A4−R9B5
−R等の紙サイズをコード化し格納している。100−
6は枚数指示コマンドで、このコマンドの2バイ゛ド目
にはビット1からビット6までの6ビツトを用いて最大
64枚のコピ一枚数の設定ができる。10〇−7はR,
MU指示コマンドの1つであるRMUモード指示コマン
ドで2バイト目にRMUモードの情報を第5表のように
格納している。10゛〇−8はRMUのメモリ領域の指
示を行うRMUメモリ指示コマンドで2バイト目(第6
表)に指示するメモリ領域の内容を格納し、対応する1
ケ所のメモリ領域のビットのみセット(“111)され
る。1oo−c+、too−to、too−tt 。
100-2 is a printer stop command that requests the printer to stop copying operation) '100-3, 100-4 is a paper feed instruction command that specifies a paper feed cassette 100-5 is a paper size instruction command that specifies paper and size , the second byte of this command (Table 2) contains bits 1 to 6.
A4. A3゜B4, B5, A4-R9B5
The paper size such as -R is coded and stored. 100-
Reference numeral 6 is a number of copies instruction command, and in the second byte of this command, six bits from bit 1 to bit 6 can be used to set the number of copies of up to 64 copies. 100-7 is R,
The RMU mode instruction command, which is one of the MU instruction commands, stores RMU mode information in the second byte as shown in Table 5. 10゛〇-8 is the RMU memory instruction command that specifies the RMU memory area, and the second byte (sixth
Stores the contents of the memory area specified in the table), and stores the contents of the memory area specified in
Only the bits in these memory areas are set (“111”): 1oo-c+, too-to, too-tt.

100−12,100−13,100−14はRMU 
)リミング指示コマンドで2バイト目(第7表)。
100-12, 100-13, 100-14 are RMU
) 2nd byte of rimming instruction command (Table 7).

3バイト目(第8表)にトリミング量をミリメートル単
位でOミリから512ミリまで表現できる。
The third byte (Table 8) can express the amount of trimming in millimeters from 0 mm to 512 mm.

第9表にR,MUまたはプリンタの情報を要求スルステ
ータス要求コマンドを示す。このコマンドをプリンタが
受信したならば第10表から第16表にあるステータス
をRMUを通じてリーグへ返送する。このときRMUは
後述メモリオーバフローや伸長エラーの情報を付加して
リーグへ返送することもある。
Table 9 shows commands for requesting status of R, MU or printer information. When the printer receives this command, it returns the statuses shown in Tables 10 to 16 to the league via the RMU. At this time, the RMU may add information about memory overflow or decompression error, which will be described later, and send it back to the league.

以下順に要10表から第16表について説明する。第1
0表は全体ステータスで主にプリンタやR,MUの大ま
かな状態についての情報を格納している。ビット5はプ
リンタが紙搬送中であればセット(1゛)される。同様
にビット4はミスプリントがあったとき、ビット3はウ
ェイト中、ビット1はオペレータフールエラー、サービ
スマンコールエラーがあったときにそれぞれセットされ
る。第11表のエラー発生ユニットステータスはどのユ
ニットにエラーが発生したかの情報を格納し、第12表
のオペレータコールエラーステータス、第13表のサー
ビスコールエラーステータスはエラーの具体的内容の情
報、同様に第14表のカセット紙VイズステータスはA
4.B5.B4等の紙サイズの情報、第15表のアプリ
ケーションステータスはシステムにどのようなユニット
が接続されているかの情報、第16表のミスプリント詳
細ステータスはミスプリントについての情報がそれぞれ
格納されている。
Below, Tables 10 to 16 will be explained in order. 1st
The 0 table is the overall status and mainly stores information about the general status of the printer, R, and MU. Bit 5 is set (1') if the printer is transporting paper. Similarly, bit 4 is set when there is a misprint, bit 3 is set during wait, and bit 1 is set when there is an operator fool error or a serviceman call error. The error occurrence unit status in Table 11 stores information on which unit an error has occurred, and the operator call error status in Table 12 and the service call error status in Table 13 contain information on the specific content of the error. The cassette paper V is status in Table 14 is A.
4. B5. Information on the paper size such as B4, application status in Table 15 stores information on what kind of unit is connected to the system, and misprint detailed status in Table 16 stores information on misprints.

これらのステータスをリーグは集めることにより、シス
テム全体の状況エラー発生の原因を知ることができ、シ
ステムの管理を容易にしている。
By collecting these statuses, the league can learn the cause of errors in the overall system status, making system management easier.

前述したコマンド、ステータスによるコピーシーケンス
実行中でないシリアル通信について第25図のフロチャ
ートを用いて説明する。
Serial communication when the copy sequence is not being executed according to the command and status described above will be explained using the flowchart of FIG. 25.

リーグは第9表の108−7のアプリケーションステー
タス要求コマンドの出力による第15表アプリケーショ
ンステータスによりR,M’U接続の情報を得る(S−
1’02−1)。また第9表の1.08−5の下カセツ
ト紙サイズ要求コマンド、第9表の108−6の上カセ
ツト紙サイズ要求コマンド出力による第14表カセット
紙サイズステータスによりプリンタの上、下カセットの
紙サイズの情報を得る(S−102−2)。このあと第
9表の108−1の全体ステータス要求コマンド第9表
の10872のエラー発生ユニットステータス要求コマ
ンド出力による第10表の全体ステータス、第11表エ
ラー発生ユニットステータスによりプリンタJMUでエ
ラーがあるかどうかの情報を得る(S−102−3,S
−102−4)。このあとでエラーがあるかどうかのチ
ェックをする(S−102−5)。このときエラーがあ
る場合にはもつと詳しい情報を得るため第108−38
.tペレータコールエラーステータス要求コマンド、1
108−4表サービスコールエラーステータス要求コマ
ンドを出力し、それぞれのステータス入力によりエラー
の詳細な情報を得て(5−1o 2−6 、 s−t 
02−7 )、必要な情報例えば紙無、R,MUメモリ
オーバフローがあることをオペレータに知らせることが
できる。
The league obtains R, M'U connection information from the application status in Table 15, which is output from the application status request command 108-7 in Table 9 (S-
1'02-1). In addition, the paper in the upper and lower cassettes of the printer is determined by the cassette paper size status in Table 14 based on the output of the lower cassette paper size request command in 1.08-5 in Table 9 and the upper cassette paper size request command in 108-6 in Table 9. Obtain size information (S-102-2). After this, there is an error in the printer JMU according to the overall status in Table 10 based on the output of the overall status request command in 108-1 in Table 9 and the error generated unit status in Table 11, and the error generated unit status in Table 11. Obtain information about what (S-102-3, S
-102-4). After this, it is checked whether there is an error (S-102-5). 108-38 to obtain more detailed information if there is an error at this time.
.. tPerator call error status request command, 1
108-4 Table service call error status request command is output, and detailed error information is obtained from each status input (5-1o 2-6, s-t
02-7), it is possible to notify the operator of necessary information such as out of paper, R, MU memory overflow.

エラーがなかった場合にはコピースタートキーが押され
たかどうかをチェック(S−1,02−8)し、押され
た場合にはコピー実行中のシリアル通信(表116)を
行う。コピースタートキーが押されていない場合はコピ
ーキーが押されるまで説明した動作を繰り返す。
If there is no error, it is checked whether the copy start key has been pressed (S-1, 02-8), and if it has been pressed, serial communication is performed during copy execution (Table 116). If the copy start key is not pressed, the described operation is repeated until the copy key is pressed.

コピー動作中のシリアル通信、各ユニットの動作、信号
について第17表を用いて説明する。
Serial communication during copy operation, operation of each unit, and signals will be explained using Table 17.

リーダにおいて紙サイズ選択(八−■)、コピ一枚数設
定(八−■)2画像読取モード(A−■)、RMUモー
ド、トリミングデータ、RMUメモリ指示等のRMU使
用条件(八−■)がオペレータによりリーダの操作部か
ら入力されてコピーキーが押下(八−■)されると、リ
ーダはシリアル通信においてRMU指示コマンド(RM
Uモード指示コマンド、R,MUメモリ指示コマンドR
,MU)リミング指示コマンド)(B−■)を出力する
。RMUはRMU指示コマンドを入力すると第10図セ
レクタ1.セレクタ2.セレクタ3.セレクタ4.セレ
クタ5゜ビデオセレクタ等のセレクタ設定を行う(C−
■)。リーダはRMU指示コマンドに続いて、枚数指示
コマンド(B−■)、上下給紙コマンド(B−■)2紙
サイズ指示コマンド(B−■)を出力する。RMUは紙
サイズ指示コマンドを入力する(C−■)と第10図コ
ンパレータ。
In the reader, RMU usage conditions (8-■) such as paper size selection (8-■), number of copies per copy setting (8-■), image reading mode (A-■), RMU mode, trimming data, and RMU memory instruction are set. When the operator inputs an input from the reader's operation panel and presses the copy key (8-■), the reader issues an RMU instruction command (RM
U mode instruction command, R, MU memory instruction command R
, MU) rimming instruction command) (B-■) is output. When the RMU inputs the RMU instruction command, the RMU selector 1 in FIG. Selector 2. Selector 3. Selector 4. Selector 5° Configure selectors such as video selector (C-
■). Following the RMU instruction command, the reader outputs a number of sheets instruction command (B-■), a top/bottom paper feed command (B-■), and two paper size instruction commands (B-■). When the RMU inputs a paper size instruction command (C-■), the comparator shown in FIG.

ディザカウンタ主走査カウンタ等の設定を行う(C−■
)。RMUモードが“メモリインプットモード0である
場合にはプリンタへプリンタスタートコマンドをRMU
は流していないのでプリンタは出力用紙可能信号(以下
PR,EQと略す)をRMUに対して出力しないのでR
,MUはプリンタの代りにPRBQをリーダへ出力する
(B−■)。R,MU使用モードがメモリインプットモ
ードでないときはプリンタへプリンタスタートコマンド
が到達し、プリンタは給紙可能状態になったときにPR
EQをRMUに対して出力しくD−〇)、R,MUはP
R,EQをリーダに対して出力する(B−■)。リーダ
はR,MUから(プリンタから)のPRBQを入力する
と対応して出力用紙給紙信号(以下PRINTと略す)
をRMUへ出力する。(B−■)。
Setting the dither counter, main scanning counter, etc. (C-■
). If the RMU mode is "Memory input mode 0", the RMU sends a printer start command to the printer.
Since the printer is not flowing, the printer does not output the output paper enable signal (hereinafter abbreviated as PR, EQ) to the RMU.
, MU outputs PRBQ to the reader instead of the printer (B-■). When the R, MU usage mode is not memory input mode, the printer start command reaches the printer and the printer outputs PR when it is ready to feed paper.
Output EQ to RMU (D-〇), R, MU are P
Output R and EQ to the reader (B-■). When the reader inputs PRBQ (from the printer) from R and MU, it outputs a corresponding output paper feed signal (hereinafter abbreviated as PRINT).
is output to the RMU. (B-■).

R,MUモードが“メモリインプットモード1゛である
ときはPRINTをプリンタに出力せず(D−■)あた
かもプリンタがPRINTを入力しそれに対して画像要
求信号(以下VSRBQ)を出力したかのようにR,M
UがVSR,EQをリーダに対して出力してやる(B−
■)。RMUからのVSRBQをリーダが入力すると画
像出力するために、VSYNCを出力(B−■)する。
When the R, MU mode is "Memory input mode 1", PRINT is not output to the printer (D-■) It is as if the printer inputs PRINT and outputs an image request signal (hereinafter referred to as VSRBQ) in response. to R,M
U outputs VSR and EQ to the reader (B-
■). When the reader inputs VSRBQ from RMU, it outputs VSYNC (B-■) to output an image.

リーダはコピー動作中に全体ステータス要求コマンド、
エラー発生ユニット要求コマンドを一定時間ごとに出力
し、エラーのチェックやRMUのメモリオーバーフロー
等を常にチェックしている(B−[相])。枚数管理は
リーダが行っているのでリーダからプリンタストップコ
マンドを入力したときにR,MUはモードリセットを(
C−■)行い、コピーが終了する。
The reader issues an overall status request command during the copy operation,
It outputs an error unit request command at regular intervals and constantly checks for errors, RMU memory overflow, etc. (B-[phase]). The number of sheets is managed by the reader, so when a printer stop command is input from the reader, R and MU reset the mode (
C-■) and the copying is completed.

RMUはリーダ10−2からのRMU指示コマンドによ
り4つの画像入出力モードに分類される。
The RMU is classified into four image input/output modes by RMU instruction commands from the reader 10-2.

1つ目は「メモリパスモード」と呼ばれるモードであり
、R,MUはリーダ10−1から入力される3値を表わ
す2本の画像信号R,VDAとR,VDBをそのままプ
リンタ10−3に出力し、リーダ10−1とプリンタ1
0−3が直に接続されているように動作する。したがっ
てこのモードにおいてRMUはビデオインターフェース
を通じてリーダ10−1から入力される信号はそのまま
プリンタ10−3に出力し、プリンタ10−3から入力
される信号はそのままリーダ10−1に出力する。
The first is a mode called "memory pass mode", in which R, MU input two image signals R, VDA and R, VDB representing three values input from the reader 10-1 to the printer 10-3 as they are. Output, reader 10-1 and printer 1
It operates as if 0-3 were directly connected. Therefore, in this mode, the RMU outputs signals input from the reader 10-1 through the video interface to the printer 10-3 as they are, and outputs signals input from the printer 10-3 as they are to the reader 10-1.

2つ目は「メモリハイスピードモード」と呼ばれるモー
ドでありRMUはリーダ10−1からの画像信号RVD
Aを一担、圧縮画像メモリに圧縮記憶し、その後連続し
てその圧縮画像データを読み出し、プリンタに出力する
The second mode is called "memory high speed mode", and the RMU receives the image signal RVD from the reader 10-1.
A is compressed and stored in a compressed image memory, and then the compressed image data is continuously read out and output to a printer.

すなわち機械的な往復運動を必要とするリーダ10−1
+p原稿スキヤンによるコピーは一回ですみ、2枚目以
降のコピーは機械的な往復運動をともなわないでRMU
の圧縮画像メモリに記憶されている圧縮画像データを繰
り返しプリンタ10−3に伸長出力して得られるため大
量コピーの高速処理が可能となる。
That is, the reader 10-1 requires mechanical reciprocating motion.
+p Copying by scanning the original is only required once, and subsequent copies are made by RMU without mechanical reciprocating movement.
Since the compressed image data stored in the compressed image memory of the printer 10-3 is repeatedly expanded and outputted to the printer 10-3, high-speed processing of large-volume copies is possible.

3つ目は「メモリインプットモード」と呼ばれるモード
であり、プリンタ10−3を動作させることなく、RM
Uはリーダ10−1から入力される画像信号を圧縮処理
し、圧縮画像メモリに記憶する。
The third mode is called "memory input mode," which allows the RM to be input without operating the printer 10-3.
U compresses the image signal input from the reader 10-1 and stores it in a compressed image memory.

4つ目は「メモリオーバーレイモード」と呼ばれるモー
ドであり、RMUは圧縮画像メモリに記憶されている圧
縮画像データを伸長処理すると同時にリーダから入力さ
れる画像信号と合成してプリンタ10−2に出力する。
The fourth mode is called "memory overlay mode," in which the RMU decompresses the compressed image data stored in the compressed image memory, combines it with the image signal input from the reader, and outputs it to the printer 10-2. do.

この機能によりリーダ10−1で読み取った原稿とR,
MUのメモリに記憶されている画像のオーバーレイ処理
されたコピーが得られる。
With this function, the original read by reader 10-1 and R,
An overlaid copy of the image stored in the MU's memory is obtained.

“メモリハイスピードモード0はRMU内部で3つのモ
ード“リテンションモード“、“アウトプットモード“
、′スルーアウトモード“に区別される。′リテンショ
ンモード“は“メモリハイスピード“の1枚目で原稿か
らの画像情報(信号〕をメモリに圧縮しながらプリンタ
へ素通しをするものである。“′リテンションモードの
実行によってメモリへの圧縮の成功。
“Memory high speed mode 0 has three modes inside the RMU: “retention mode” and “output mode”.
, ``Through-out mode''. ``Retention mode'' is a mode in which the image information (signal) from the first sheet of ``Memory High Speed'' original is compressed into memory and passed through to the printer. ′ Successful compression into memory by running retention mode.

不成功(RMUメモリオーバフロー)が判断できる。リ
ーグはコピー動作中のエラー発生ユニット要求コマンド
によりメモリへの圧縮の成功。
Failure (RMU memory overflow) can be determined. League was successfully compressed into memory due to an error unit request command during copy operation.

不成功の情報(RMUメモリオーバフロー)を得ること
ができ、メモリへの圧縮が成功した場合、次のコピー(
2枚目以降)からメモリからの伸長画像により像形成(
コピー)ができるのでリーグは原稿スキャンを停止する
。RMUは次のコピーからメモリの伸長ができるように
セレクタの再設定を行う。例えば第10図のビデオセレ
クタ10−23はR,MUのメモリからの伸長画像をプ
リンタへ出力するように再設定する。
If you can get the failure information (RMU memory overflow) and the compression to memory is successful, then the next copy (
Image formation (from the second image onward) is performed using the expanded image from the memory.
The league will stop scanning manuscripts because they can be copied (copied). The RMU resets the selector so that the memory can be expanded from the next copy. For example, the video selector 10-23 in FIG. 10 is reset to output the decompressed images from the R and MU memories to the printer.

このようにセレクタの再設定を行ったモードを“アウト
プットモード゛と呼ぶ逆にメモリへの圧縮が失敗したと
きは、“リテンションモードのままではメモリへの圧縮
をしながら画像の素通しをしてしまうのでメモリへの圧
縮を行なわないような動作が必要となる。このモードを
“スルーアウトモード“という。“スルーアウトモード
“は“メモリパスモード”とRMUでのセレクタの設定
は同じであるが、リーグからの画像情報が前者は閾値ジ
ェネレータA、Hの値を同じにしだ2値画像であるのに
対し、後者はVDA 、VDB独立の3値画像であるの
で名称をかえた。このRMU内部モードの変更よりRM
Uは“′メモリハイスピード0においてメモリへの画像
圧縮の成功、不成功にかかわらず2値画像を出力し、1
枚目と2枚目以降の画像の差をなくすことが可能となる
。第18表にRMUモードとRMU内部モードの対応を
示しておく。
The mode in which the selector is reset in this way is called "output mode." Conversely, if compression to memory fails, "retention mode" will compress the image to memory and pass through the image. Therefore, it is necessary to perform an operation that does not compress the data into memory. This mode is called "through-out mode.""Through out mode" has the same selector settings in RMU as "memory pass mode", but the image information from the league is a binary image with the same threshold generators A and H. On the other hand, the latter is a ternary image with VDA and VDB independent, so the name has been changed. This change in RMU internal mode causes RM
U outputs a binary image regardless of the success or failure of image compression to memory at “Memory High Speed 0, and 1
It becomes possible to eliminate the difference between the first image and the second and subsequent images. Table 18 shows the correspondence between RMU mode and RMU internal mode.

リーダ動作を第26図の70チヤートを用いて説明する
The reader operation will be explained using chart 70 in FIG.

まず、コピーキーがオペレータにより押されるとリーダ
はRMUとプリンタに対してRMU指示コマンド(8−
103−1)、枚数指示コマンド(8−103−2)、
上下給紙コマンド(S−103−3)2紙サイズ指示コ
マンド(S−103−4)。
First, when the copy key is pressed by the operator, the reader issues an RMU instruction command (8-
103-1), number of sheets instruction command (8-103-2),
Upper and lower paper feed command (S-103-3) 2 Paper size instruction command (S-103-4).

プリンタスタートコマンド(S−103−4)を出力し
、コピー動作に必要な初期設定を行い、リーダはRMU
からのPREQを入力した後(S−103−10)、P
RINTをRMUに対し出力する( S−103−1’
O)。更に、タイマをスタートさせ(S−103−11
)、このタイマアウトまで一定時間待機しくS−103
−1’2)、RMU内部モードが“アウトプットモード
“のときには光学系をスタートさせず(S−103−1
4)、枚数カウントダウンを行い、枚数が0であるかを
調べ(S−103−20)、0である場合にはプリンタ
ストップコマンドを出力スル(S−103−21)。
Outputs the printer start command (S-103-4), performs the initial settings necessary for the copy operation, and then the reader
After inputting PREQ from (S-103-10), P
Output RINT to RMU (S-103-1'
O). Furthermore, start the timer (S-103-11
), S-103 should wait for a certain period of time until this timer out.
-1'2), the optical system is not started when the RMU internal mode is "output mode" (S-103-1
4) Count down the number of sheets, check whether the number is 0 (S-103-20), and if it is 0, output a printer stop command (S-103-21).

RMU内部モードが“アウトプットモードll以外であ
るときには、光学系をスキャンさせて(S−103−1
5)、原稿の読み取りを開始し、(S−103−16)
画像をR,MUへ出力する。読み取りの終了をチェック
したあと(S−103−17)、メモリインプットモー
ドである場合は枚数をチェックせず(1枚の原稿の読み
取りしか受けつけない)。RMUに対してプリンタスト
ップコマンドを出力(8−103−21)する。
When the RMU internal mode is other than "output mode ll," scan the optical system (S-103-1
5) Start reading the original (S-103-16)
Output the image to R and MU. After checking the completion of reading (S-103-17), if it is in memory input mode, the number of sheets is not checked (reading of only one original is accepted). A printer stop command is output to the RMU (8-103-21).

“メモリインプットモード“、″アウトプットモード以
外の場合には枚数をカウントダウンし、(S−103−
19)枚数が0である場合にはプリンタストップコマン
ドを出力し、0でない場合にはPREQ入力持入力状態
にし枚数Oになるまで前述の動作を繰り返す。
In cases other than “Memory input mode” and “Output mode”, count down the number of sheets (S-103-
19) If the number of sheets is 0, a printer stop command is output, and if it is not 0, the PREQ input is set to an input state and the above operation is repeated until the number of sheets reaches O.

プリンタ動作を第27図の70チヤートを用いて説明す
る。
The printer operation will be explained using chart 70 in FIG.

プリンタはリーグ側(RMUを含む)からプリンタスタ
ートコマンドを入力すると(8−104−1)ドラム帯
電等の各部動作を開始する(S−104−2)。プリン
タが給紙可能な状態になったならば(S−104−3)
、リーダ側へPREQを出力する(S−104−4)、
リーグ側からPREQに対応゛してPRINTを入力し
たならば(S−104−5)、給紙(S−105−6)
を行う。
When the printer receives a printer start command from the league side (including the RMU) (8-104-1), the printer starts various operations such as drum charging (S-104-2). When the printer is ready to feed paper (S-104-3)
, output PREQ to the reader side (S-104-4),
If the league side inputs PRINT in response to PREQ (S-104-5), paper feed (S-105-6)
I do.

給紙を行い画像受信可能になると(S−104−7)、
VSRBQをリーダへ出力する(S−104−8)。V
SRBQに対応してVSYNCをり−ダは出力し画像信
号を出力する(8−104=9)。
When paper is fed and images can be received (S-104-7),
Output VSRBQ to the reader (S-104-8). V
Corresponding to SRBQ, the VSYNC reader outputs an image signal (8-104=9).

プリンタはコピー処理を行い(S−104−710)。The printer performs copy processing (S-104-710).

エラーがあるかどうかチェックし、(S−104−11
,)、エラーがあった場合にはエラーをシリアル通信に
のせる(s−1o4=12)。上記動作をコピ一枚数分
繰り返すとリーグはプリンタストップを出力するのでプ
リンタストップを受信したかチェックしく5−ro4−
ta)プリンタはこれを受けてプリンタの各部を停止す
る(S−104−14)。
Check if there are any errors and (S-104-11
), if there is an error, the error is transferred to the serial communication (s-1o4=12). If you repeat the above operation for one copy, the league will output a printer stop message, so check whether the printer stop message has been received.5-ro4-
ta) Upon receiving this, the printer stops each part of the printer (S-104-14).

RMTJの動作についての説明を行う前に、3MUのメ
モリアドレス管理について第28図を用いて説明を行う
。RMTJは圧縮画像情報をメモリに蓄積するときにメ
モリ上の任意のアドレスを圧縮画像の書き込み開始アド
レス(MSと以下略す)と圧縮画像の最大書き込みアド
レス(、M Eと以下略す)を設定できる。RMUはM
SとMEの設定により圧縮画像のメモリ書き込みの成功
、失敗を判断でき、以前書き込んだ画像情報の保護も可
能となる。
Before explaining the operation of the RMTJ, the memory address management of the 3MU will be explained using FIG. 28. When storing compressed image information in the memory, the RMTJ can set an arbitrary address on the memory as a compressed image write start address (hereinafter referred to as MS) and a maximum compressed image write address (hereinafter referred to as ME). RMU is M
The success or failure of writing a compressed image to memory can be determined by setting S and ME, and it is also possible to protect previously written image information.

メモリは有限であるためこの最大値をMLMTとする。Since memory is limited, this maximum value is set as MLMT.

第28図(1)はRMUに何も画像書き込みが行なわれ
ていない状態を示している。このときにMS←0.ME
4−MLMTを設定しておく。このことはメモリの持つ
最大の空領域を示していることにもなる。R,MUメモ
リ指示コマンドによりメモリAが選択されディザメモリ
ハイスピードモードでA4サイズのコピーが行なわれた
ときに、R,MUは(2)の如くメモIJ Aに格納さ
れた画像はRMUのどのモードで圧縮されたかの情報(
MA−VIDEO)、圧縮した画像の原稿サイズ(MA
−PSZ)、リーダの読み取りモード(MA−METH
OD)、メモリAの画像書き込みスタートアドレス(M
AS)、メモリAの画像書き込みエンドアドレス(MA
E)を記憶する。これらの情報はメモリB、メモリCへ
の書き込みが行なわれたときも同様に行い、何も画像書
き込みが行なわれていない場合には、それに対応する情
報が書き込まれているものとする。
FIG. 28(1) shows a state in which no image is written to the RMU. At this time, MS←0. M.E.
4-Set MLMT. This also indicates the maximum free space available in memory. When memory A is selected by the R, MU memory instruction command and an A4 size copy is made in dither memory high speed mode, R, MU is as shown in (2). Information on whether the mode was compressed (
MA-VIDEO), compressed image original size (MA-VIDEO)
-PSZ), reader reading mode (MA-METH)
OD), memory A image writing start address (M
AS), image write end address of memory A (MA
E). These pieces of information are written in the same way when writing to memory B and memory C, and if no image has been written, it is assumed that the corresponding information has been written.

(2)の状態においてメモリB、メモリCの書き込みが
行われた状態が(3)である。(2)の状態でメモリB
またはメモIJ Cへの書き込みが指示されると、最大
空領域である(2)の状態の領域■をMS4−MAE+
12ME4−MLMTとして設定する。このときに再び
メモIJ Aが指定されたらメモリAの上下の空領域を
含む領域を新しいMS←O、ME、MLMTとして設定
する。このように設定することにより(1)の状態にお
いてメモリAが指定された場合と同じとなり有効にメモ
リを使用できる(3)の状態においてメモリAが指定さ
れた場合、(3)の状態ではメモIJ Aに連続する空
領域はなく、メモリAのメモリ量と(3)の状態におけ
る空領域■Ωメモリニの比較を1し、メモリ量の大きい
方を新しいメモリA領域とする。・(3)の状態におい
ては空領域■の方が大きいため、MS4MBB+ 1 
、ME 4−MLMTと設定し、古いメモIJ、 A領
域は、、空、領域と設定する。
The state (3) is the state in which memory B and memory C are written in the state (2). Memory B in state (2)
Or, when writing to the memo IJC is instructed, the area ■ in state (2), which is the maximum empty area, is written to the MS4-MAE+
Configure as 12ME4-MLMT. At this time, if memo IJA is designated again, the area including the upper and lower empty areas of memory A is set as new MS←O, ME, MLMT. By setting in this way, it is the same as when memory A is specified in state (1), and the memory can be used effectively.If memory A is specified in state (3), the memory in state (3) is There is no continuous empty area in IJ A, and the memory amount of memory A is compared with the empty area ■Ω memory in the state (3) by 1, and the one with the larger memory amount is set as the new memory A area.・In state (3), the empty area ■ is larger, so MS4MBB+1
, ME 4-MLMT, and the old memo IJ, A area is set to be empty.

(3)の状態における空領域■に画像情報を書き込んだ
状態が(4)の状態である。この状態でメモリBに書き
込み指示があった場合(4)の状態におけるメモリB領
域に連続する空領域はなく、メモIJ B領域、空領域
■、空領域■のうちで最も大きなメモリ量を持つ領域を
新しいメモリB領域とする。このとき空領域■が最も大
きなメモリ量を有していた場合、M8←O,ME 4−
M’CB−1を設定し、古いメモリB領域は空領域とし
て設定する。この設定後新しいメモリB領域に画像書き
込みが成功した場合が(5)の状態であり、また、画像
書き込みが失敗した場合が(6)の状態であり、メモリ
への圧縮が失敗した場合、その書き込んだメモリ領域は
空領域となる。
The state (4) is the state in which image information has been written in the empty area (3) in the state (3). If there is a write instruction to memory B in this state, there is no continuous free space in the memory B area in state (4), and the memo IJ has the largest amount of memory among the B area, empty area ■, and empty area ■. The area is set as the new memory B area. At this time, if the empty area ■ has the largest amount of memory, M8←O, ME 4-
M'CB-1 is set, and the old memory B area is set as an empty area. If the image is successfully written to the new memory B area after this setting, the state is (5), if the image writing fails, the state is (6), and if the compression to the memory fails, the state is (5). The written memory area becomes an empty area.

(5)及び(6)の状態において、それぞれメモIJA
In the states of (5) and (6), the memo IJA
.

メモリB、メモリCを指定した場合のMS、ME決定の
だめのメモリ量比較について第118表に示しておく。
Table 118 shows a comparison of memory amounts for determining MS and ME when memory B and memory C are specified.

このように空領域はメモリ指示ができる領域数と最大同
数発生する。この空領域についてのメモリ量をMA8 
、MBS 、MC8、MAR。
In this way, the maximum number of empty areas generated is the same as the number of areas that can be specified by memory. The amount of memory for this empty space is MA8
, M.B.S., MC8, MAR.

MBE、−MCEから計算することによって合理的なメ
モリ管理を行うことができる。たとえMS。
Reasonable memory management can be performed by calculating from MBE, -MCE. Even if MS.

MEで設定した新領域への画像の書き込みが失敗(画像
圧縮エラー)になってもMA−V:IDEO。
MA-V:IDEO even if writing the image to the new area set in ME fails (image compression error).

MB−VIDEO,MC−VIDEOの内容を画像情報
なしの意に設定することによって空領域として認識する
ことにより、これも合理的なメモリ管理を行うことがで
きる。本実施例ではメモリ指定領域数を“′3゛とした
がメモリ量に応じ尼メモリ指定領域数パN″″でも実現
できる。
By setting the contents of MB-VIDEO and MC-VIDEO to mean no image information and recognizing them as empty areas, rational memory management can also be performed. In this embodiment, the number of designated memory areas is set to "3", but it can be realized by changing the number of designated memory areas to "N"" depending on the amount of memory.

以下RMUモードの゛リテンションモード゛についての
説明を第13図に示す如く第29図のフローチャートを
参照しつつA3サイス(主走査297 m m 、副走
査420m、m)の画像情報Aから主走査方向7 Q 
m m 、副走査方向1. O0mm経過した点から1
40mmX 210mmの画像情報Bをトリミングして
出力する場合を例にとって説明する。RMUはRMUモ
ード指示コマンド2バイト目として第20表を入力する
。ビット6、ビット5はそれぞれリーグ画像、RMU伸
長画像の出力濃度を約50%にするだめのビットであり
、両方とも“1゛がセットされ、RMUモードとして第
5表の104−2のようにビット4.ビット3.ビット
2.ビット1はセットされる。メモリ指示としてメモリ
Aが指示され、RMUメモリ指示コマンドとして第21
表を入力する。RMU)リミング指示コマンド1のトリ
ミングデータとして主走査圧縮開始位置Hp (70m
m)、RMU ) ’J ミ>グ指示コマンド2のトリ
ミングデータとして副走査圧縮開始位置Vp(100m
m)、RMU )リミング指示コマンド3のトリミング
データとして主走査圧縮中I(w(140mm)、RM
U)リミング指示コマンド4のトリミングデータとして
副走査圧縮中Vw(210mm)がセットされたものが
リーグからミリメータ単位で出力される(S−106−
A−1)。
The following will explain the retention mode of the RMU mode as shown in FIG. 13, with reference to the flowchart in FIG. 7 Q
mm, sub-scanning direction 1. 1 from the point after 00mm
An example will be explained in which the image information B of 40 mm x 210 mm is trimmed and output. The RMU inputs Table 20 as the second byte of the RMU mode instruction command. Bit 6 and bit 5 are used to make the output density of the league image and RMU expanded image approximately 50%, respectively, and both are set to "1", and the RMU mode is set as shown in 104-2 in Table 5. Bit 4. Bit 3. Bit 2. Bit 1 is set.Memory A is specified as the memory instruction, and the 21st bit is specified as the RMU memory instruction command.
Enter the table. RMU) Main scanning compression start position Hp (70m
m), RMU) 'J M>G instruction command 2 trimming data is the sub-scanning compression start position Vp (100m
m), RMU) During main scanning compression I(w (140mm), RM
U) The trimming data of the rimming instruction command 4 in which Vw (210 mm) during sub-scanning compression is set is output from the league in millimeter units (S-106-
A-1).

コントローラー1’0−2はリーグからの上記位置情報
をビット単位/ライン単位に変換し、Hp=1102ビ
ット、Vp=1.574ライン、Hw=2204ビット
、Vw−=3307ラインの第13図に相当する圧縮画
像位置/サイズ情報を得る。
Controller 1'0-2 converts the above position information from the league into bit units/line units, and converts it into Figure 13 where Hp=1102 bits, Vp=1.574 lines, Hw=2204 bits, and Vw-=3307 lines. Obtain the corresponding compressed image position/size information.

指示された11.MUモードにより、第10図のセレク
タ5ELL (10−18)、5EL2 (10−19
)、5EL3(i、o−2o)、5EL4(10−21
)。
Directed 11. Depending on the MU mode, selectors 5ELL (10-18) and 5EL2 (10-19) in Figure 10
), 5EL3(i, o-2o), 5EL4(10-21
).

5EL5(10−22)、ビテオセレクタ(10−23
)はそれぞれTt、−VCLK 、 R,−VDA 、
 R’−VE。
5EL5 (10-22), video selector (10-23)
) are respectively Tt, -VCLK, R, -VDA,
R'-VE.

R,−VE、P−BD、AO、BOの入力を選択する。Select R, -VE, P-BD, AO, and BO inputs.

リーグの画像信号を圧縮画像メモリに2値圧縮して格納
するため第11図ディザ信号はLレベルにする。RMU
モードは″1メモリハイスピートモード”(R,MU内
部モードは“リテンションモード゛)であるので、リー
グが出力したプリンタスタートコマンドを受信し、プリ
ンタへ素通しする(S−106−A−3)。RMUはプ
リンタの給紙可能状態を示すPREQ信号を入力しく5
−106−A−5)、この信号をリーグへ出力する( 
S−106−A−6)。この時点では、゛メモリハイス
ビートモード゛の1枚目を実行中であるため(S−10
6−A−7)、リーグから出力用紙サイズを指定する紙
サイズ指示コマンドを入力しくS−106−A−8)、
前述MA−PSZに記憶保持する。指示された出力用紙
サイズをもとに以下説明する種々のカウンタの設定を行
う。まず前述したMS(圧縮画像書き込み開始アドレス
)、ME(圧縮画像の最大書き込みアドレス)の設定を
メモリアドレスカウンタ10−8、コン六レータ10−
14に行なう。第11図示のディザカウンタのダウンカ
ウンタ13−1には1245H(4677)の上位10
ビツト248H(584)が、まだ、ダウンカウンタ1
3−2には下位3ビツト5H(5)がセットされる。第
12図示の主走査カウンタ、デコーダには同様にダウン
カウンタ14−1には1’245H(4677)がセッ
トされる。尚、コンパレータ1’4−2.14−3は伸
長時のみに用いるため設定は行なわず、14−4.1’
4−5のコンパレータはHpに相当するDF 7 H(
3575)及びHp 、 Hwに相当する、5 sBH
(1371)を設定し、DADR,をHADRと同時に
動作させるため、コンパレータ14−8には1245 
H(4677)の設定を行う。
In order to binary-compress and store the league image signal in the compressed image memory, the dither signal in FIG. 11 is set to L level. R.M.U.
Since the mode is "1 memory high speed mode" (R, MU internal mode is "retention mode"), the printer start command output by the league is received and passed directly to the printer (S-106-A-3). The RMU should input the PREQ signal indicating that the printer is ready to feed paper5.
-106-A-5), output this signal to the league (
S-106-A-6). At this point, the first frame of "Memory High Speed Beat Mode" is being executed (S-10
6-A-7), input a paper size instruction command from the league to specify the output paper size S-106-A-8);
It is stored and held in the MA-PSZ mentioned above. Based on the specified output paper size, settings for various counters described below are performed. First, set the MS (compressed image write start address) and ME (maximum compressed image write address) mentioned above to the memory address counter 10-8 and the converter 10-.
It will be held on the 14th. The down counter 13-1 of the dither counter shown in FIG. 11 has the top 10 of 1245H (4677).
Bit 248H (584) is still down counter 1.
The lower three bits 5H (5) are set in 3-2. Similarly, in the main scanning counter and decoder shown in FIG. 12, 1'245H (4677) is set in the down counter 14-1. Note that comparator 1'4-2.14-3 is used only during decompression, so no settings are made, and comparator 14-4.1'
The comparator 4-5 is DF 7 H (
3575) and Hp, Hw, 5 sBH
(1371) and operate DADR at the same time as HADR, comparator 14-8 has 1245
Configure H (4677).

RMUはリーグからPRINT信号を入力すると(S−
106−A−10)、プリンタへ出力する(S−106
−A−12)。VSREQ信号をプリンタから入力する
と(S−106−A−13)、リーダへ出力する( 8
−103−A−14)。
When the RMU receives the PRINT signal from the league (S-
106-A-10), output to printer (S-106
-A-12). When the VSREQ signal is input from the printer (S-106-A-13), it is output to the reader (8
-103-A-14).

この時点におけるRMUモードは“メモリハイスピード
モード゛ゝ枚数は1枚目であるためRMU内部モード“
リテンションモード“ニ分岐する( S−106−A−
18)。そして、第30図においてリーダからのVSY
NCのオンを入力したならば(S−106−F−1)、
をオンし、ブリ>夕へ(DV8YNC1tt>(S−1
06−F−2)、する。第13図vp 1574ライン
を生成するために10−11ラインカウンタに626H
(1574)をセットし、ラインカウンタがカウントア
ツプしたならば(5−106−F−4)、副走査圧縮区
間信号V−ENCをオンする(8−106−F−5)。
At this point, the RMU mode is "Memory high speed mode".Since this is the first memory, the RMU mode is "Memory high speed mode".
Retention mode “Bifurcate (S-106-A-
18). Then, in Fig. 30, VSY from the leader
If you input NC ON (S-106-F-1),
Turn on and select Yellow > Evening (DV8YNC1tt > (S-1
06-F-2), do. Figure 13 vp 626H to 10-11 line counter to generate 1574 lines
(1574) and when the line counter counts up (5-106-F-4), the sub-scanning compression section signal V-ENC is turned on (8-106-F-5).

第13図B領域の副走査中VW3307をラインカウン
タにセットする( S−106−F−6)。前述セレク
タの設定により、リーダからの画像をプリンタに素通し
しながら、10−11ラインカウンタ終了まで圧縮画像
メモIJ 10−5に圧縮回路10−4からの圧縮画像
コードの書き込みを行う(S−106−F−7、S−1
06−F−8)。所定副走査ライン数の画像圧縮の終了
を意味するラインカウンタ10−11のカウントアツプ
を検出したならばV−ENC信号をオフしくS−106
−F−9)、リーダからのVSYNCのオフ状態を入力
したならば(S−106−F−10)、プリンタへのv
SYNCをオフする(8−106−F−11)。
During sub-scanning of area B in FIG. 13, set the VW3307 to the line counter (S-106-F-6). By setting the selector described above, while passing the image from the reader through the printer, the compressed image code from the compression circuit 10-4 is written into the compressed image memo IJ 10-5 until the end of the 10-11 line counter (S-106 -F-7, S-1
06-F-8). When a count-up of the line counter 10-11 is detected, which means the end of image compression for a predetermined number of sub-scanning lines, the V-ENC signal is turned off (S-106).
-F-9), if the VSYNC off state from the reader is input (S-106-F-10), the VSYNC to the printer is
Turn off SYNC (8-106-F-11).

この後圧縮画像メモリへの書き込みが成功または失敗し
たかの判定をするため、第31図の手順によりMOVE
R信号をチェックしくS−106−C−1)、MOVE
R信号がHレベルであるならばメモリへの書き込みを失
敗と判定し、圧縮失敗フラグをセット(S−106−C
−2)L、前述コピー動作中のシリアル通信によって圧
縮失敗(RMUメモリオーバーフロー)の情報をリーダ
に伝えることができる。リーダはこの情報により、圧縮
メモリを用いたリテンション動作が下前であると判断し
、2枚目以降も原稿スキャンによる画像出力を繰返し行
い、コピー動作を終了する。この機能によりたとえリー
ダからの画像信号が圧縮画像メモリに入りきらない場合
でも段数枚数のコピーはプリンタから出力される。RM
Uはこのとき圧縮画像の書き込まれつつあったメモリ領
域を空領域とするとともに圧縮失敗フラッグにより、R
MU内部モードを“スルーアウトモード“に変更する。
After this, in order to determine whether writing to the compressed image memory has succeeded or failed, move the image using the procedure shown in FIG.
Check the R signal S-106-C-1), MOVE
If the R signal is at H level, writing to the memory is determined to be a failure and the compression failure flag is set (S-106-C
-2) L. Information about compression failure (RMU memory overflow) can be transmitted to the reader through serial communication during the aforementioned copy operation. Based on this information, the reader determines that the retention operation using the compression memory is at the lower end, and repeats the image output by scanning the second and subsequent documents, and ends the copying operation. With this function, even if the image signal from the reader does not fit into the compressed image memory, copies of the number of stages can be output from the printer. R.M.
At this time, U makes the memory area where the compressed image was being written an empty area, and with the compression failure flag, R
Change the MU internal mode to “through-out mode”.

′スルーアウトモード“は“メモリバスモード“と同じ
であり、V−ENC信号をリーダのVSYNCに対応し
てオン(LレベルからHレベル)、オフ(Hレベルから
Lレベル)にする動作をしないのでRMUは圧縮動作を
せず、セレクタ、カウンタは“リテンションモード“の
設定を行ない、リーダからのVSYNCが入力したらプ
リンタへVSYNCを出力しく第33図、S−106−
D−1,S−106−D−2)、リーダからの画像をプ
リンタに素通しくS−106−D−3)、リーダからの
VSYNCを待機するでよい。(S−106−D−4)
、VSYNCが入力されたならばプリンタへのVSYN
Cをオフしく 8−106−D−5)、リーダは設定枚
数分の画像情報出力を完了すると、プリンタストップコ
マンドを出カシてプ、リンクを停止させる。RMUはこ
のプリンタストップコマンドの入力によりコピーシーケ
ンスを終了する(S−106−C−6)。
'Through-out mode' is the same as 'memory bus mode', and does not turn the V-ENC signal on (from L level to H level) or off (from H level to L level) in response to the reader's VSYNC. Therefore, the RMU does not perform compression operation, the selector and counter are set to "retention mode", and when VSYNC from the reader is input, VSYNC is output to the printer. Figure 33, S-106-
D-1, S-106-D-2), passing the image from the reader directly to the printer S-106-D-3), and waiting for VSYNC from the reader. (S-106-D-4)
, VSYN to the printer if VSYNC is input
8-106-D-5), and when the reader has completed outputting image information for the set number of sheets, it issues a printer stop command and stops the link. The RMU ends the copy sequence by inputting this printer stop command (S-106-C-6).

逆にMOVER信号がLレベルであった場合には、メモ
リへの書き込みは成功であるので、リーダにこのことを
シリアル通信で知らせ、リーダの2枚目以降の原稿スキ
ャンを停止させ、RMUの圧縮画像メモリからの伸長画
像によるコピー動作を行う。伸長画像出力のためには、
七しクタ、カウンタの再設定を行なわなければならず、
以下のような“アウトプットモード“の再設定を行う(
S−106−C−4、S−106−C−5)。第10図
5BLI 、5EL2.5EL3゜5EL4.8EL5
 、ビデオセレクタはそれぞれI−CLK、DVDO,
P−BD、OVE。
Conversely, if the MOVER signal is at the L level, the writing to the memory was successful, so this is notified to the reader via serial communication, the reader stops scanning the second and subsequent documents, and compresses the RMU. A copy operation is performed using the decompressed image from the image memory. To output the decompressed image,
7, the counter must be reset,
Reset the “output mode” as shown below (
S-106-C-4, S-106-C-5). Figure 10 5BLI, 5EL2.5EL3゜5EL4.8EL5
, video selectors are I-CLK, DVDO,
P-BD, OVE.

H8YNC,A2.B2.の入力を選択し、圧縮画像メ
モリには2値画像圧縮された圧縮画像データが記憶され
ていることがMA−METHODの内容により判別でき
る。したがって圧縮画像データを2値画像伸長するため
に第11図のDi ther信号はLレベルにする。
H8YNC, A2. B2. It can be determined from the contents of MA-METHOD that the input of MA-METHOD is selected, and the compressed image data that has been subjected to binary image compression is stored in the compressed image memory. Therefore, in order to expand the compressed image data into a binary image, the Dither signal in FIG. 11 is set to L level.

カウンタ、コンパレータの設定には前述したMA−PS
Z、MB−PSZ、MC−PSZから指定されたメモリ
領域のものからデータを取り出し、圧縮記憶した画像情
報の原稿サイズは第13図B領域すなわち2204 X
 3307であるので、第12図示のダウンカウンタ1
4−1には前述の第17図、第21図の伸長の説明のよ
うに、12F4H(4852)、14−2.14−3.
14−4.14−5.14−6.14−7.14−8の
コンパレータにはそれぞれ1247H(4679)、2
H(2)。
The MA-PS mentioned above is used to set the counter and comparator.
The original size of the image information that was extracted from the memory areas specified by Z, MB-PSZ, and MC-PSZ and compressed and stored is 2204
3307, the down counter 1 shown in Figure 12
4-1, 12F4H (4852), 14-2, 14-3.
1247H (4679) and 2
H(2).

1247H(4679)、9ABH(2475)、dF
9H(3577)、55dH(1373)、1247H
(4679)を設定し、“アウトプットモード“は圧縮
画像メモリーからの伸長を行うため伸長エラーカウンタ
10−35に0をセットする。第11図示のディザカウ
ンタのダウンカウンタ13−1’、13−2にそれぞれ
IH(1)、 IBFH(447)をセットする( S
−106−C−5)。
1247H (4679), 9ABH (2475), dF
9H (3577), 55dH (1373), 1247H
(4679), and the "output mode" sets the decompression error counter 10-35 to 0 in order to perform decompression from the compressed image memory. Set IH (1) and IBFH (447) in the down counters 13-1' and 13-2 of the dither counter shown in Figure 11, respectively (S
-106-C-5).

リーダはエラー発生ユニットステータス要求コマンドに
よってRMUメモリオーバフローがなかったことを認識
し、リーダは原稿スキャンを停止する。リーダはVSY
NCを出力しないのでRMUはリーダからのVSYNC
を待つことなしに、プリンタへのVSYNCをオンする
(S−106−D−1)。また、副走査方向余白Vp1
574ラインのカウントをすべくラインカウンタにセッ
トする( 8−106−D−2)、ラインカウンタがア
ップしたならば(S−106−D−4) 、V−DEC
信号をオンし、■W分の副走査ライン数3307ライン
をラインカウンタにセットしくS−106−D−5)画
像伸長と伸長エラーのチェックをラインカウンタ終了ま
で行う(S−(o6−B−22,8−106−B−23
)。本実施例では8回以上の伸長エラーが発生した場合
、伸長エラーフラグを−セットし、コピー動作を停止す
る。RMUは伸長エラーが所定回数(8回)発生したこ
とをリーダにシリアル通信によって伝え、リーダは伸長
エラーが所定回数以上になったと判断した以後の給紙命
令(PRINT)を出力せず、コピー動作を停止する。
The reader recognizes that there is no RMU memory overflow by the error unit status request command, and stops document scanning. The leader is VSY
Since it does not output NC, RMU receives VSYNC from the reader.
VSYNC to the printer is turned on without waiting (S-106-D-1). In addition, the sub-scanning direction margin Vp1
Set the line counter to count 574 lines (8-106-D-2), and if the line counter is up (S-106-D-4), V-DEC
Turn on the signal and set the number of sub-scanning lines for ■W, 3307 lines, in the line counter.S-106-D-5) Expand the image and check for expansion errors until the line counter ends (S-(o6-B- 22,8-106-B-23
). In this embodiment, if eight or more decompression errors occur, the decompression error flag is set to - and the copying operation is stopped. The RMU notifies the reader via serial communication that the decompression error has occurred a predetermined number of times (8 times), and the reader does not output any paper feed commands (PRINT) after determining that the decompression error has occurred more than the predetermined number of times, and stops the copy operation. stop.

RMUが伸長動作を停止するためにはまずV−DEC信
号をオフしく 5−106−D−s )、VR分の副走
査ライン数をセットし、ラインカウンタアップ後、続い
てプリンタへのVSYNCをオフしてやる。リーダはコ
ピー動作の停止をプリンタへ伝えるためにプリンタスト
ップコマンドを出力し、プリンタはこれを入力し、コピ
ー動作の停止を行なう。
In order for the RMU to stop the expansion operation, first turn off the V-DEC signal (5-106-D-s), set the number of sub-scanning lines for VR, and after incrementing the line counter, send VSYNC to the printer. I'll turn it off. The reader outputs a printer stop command to notify the printer of stopping the copying operation, and the printer receives this command and stops the copying operation.

伸長エラーが8回以上発生しなかった場合にはRMUは
(設定枚数−1)回の伸長動作を繰り返し行い、リーダ
からのプリンタストップコマンドにより停止する( S
−106−C−6)。
If the decompression error does not occur more than 8 times, the RMU repeats the decompression operation (set number of sheets - 1) times, and then stops with the printer stop command from the reader (S
-106-C-6).

次にメモリパスモードについて第33図を用いて説明す
る。メモリパスモードは前述の如くリーダ、からの3値
を表わす2本の画像信号RVDA 、RVDBを圧縮メ
モリに格納することなく、直接プリンタへ伝送するモー
ドである。
Next, the memory path mode will be explained using FIG. 33. As described above, the memory pass mode is a mode in which the two image signals RVDA and RVDB representing three values from the reader are directly transmitted to the printer without being stored in the compression memory.

即ち、メモリパスモードにおいては第10図のセレクタ
10−23のA 1− 、 B 1を選択する。
That is, in the memory path mode, A1- and B1 of the selector 10-23 in FIG. 10 are selected.

また、リーダからのR−VCLKを08YSとすべくセ
レクタ10−18を選択動作し、更に、プリンタからの
P−BDをH8YNCとすべくセレクタ10−22を動
作する(S−106−A−2)。
In addition, the selector 10-18 is selectively operated to set the R-VCLK from the reader to 08YS, and the selector 10-22 is also operated to set the P-BD from the printer to H8YNC (S-106-A-2 ).

この後はり−ダから入ってくる制御信号はプリンタへ、
またプリンタから入ってくる制御信号はリーダへそのま
ま出力し、あたかも、RMUが存在しないかの如くに動
作する。即ち、リーダからのVSYNCがオンしたら(
S−106−D−1)、プリンタへのVSYNCをオン
し、更に、リーダからの画像をセレクタ10−23を通
してプリンタに素通しする( 8−106−D−2゜S
−106−D −,3)。そして、リーダからのV S
 YNCがオフされたならば(8−106−D−4)、
プリンタへのVSYNCをオフしくS−106−D−5
)、更にプリンタストップコマンドが入力していればプ
リント動作を停止せしめる。一方、プリンタストツブコ
マンドが入力していなければ再び同様の処理を設定数分
繰返し実行する。
After this, the control signal coming from the beamer goes to the printer.
Furthermore, control signals coming from the printer are output as they are to the reader, and the RMU operates as if it were not present. In other words, when VSYNC from the reader turns on (
S-106-D-1), turn on VSYNC to the printer, and pass the image from the reader to the printer through the selector 10-23 (8-106-D-2゜S
-106-D-, 3). And VS from the leader
If YNC is turned off (8-106-D-4),
Turn off VSYNC to printer S-106-D-5
), and if a printer stop command is input, the printing operation is stopped. On the other hand, if the printer stop command is not input, the same process is repeated for the set number of times.

次に、″メモリインプットモード”で圧縮画像メモリに
書き込んだ画像を“メモリオーバレイモード゛でリーダ
からの画像と合成してプリンタに出力する例を説明する
。・ メモリオーバレイ動作を行う第一段階としてメモリに画
像情報が書き込まれていなくてはならない。このメモリ
に画像情報の書き込みを行うRMUモードが“メモリイ
ンプットモー、ド“である。第13図のB領域をトリミ
ングしてメ・モIJ C領域へ圧縮記憶する場合のRM
U指示は、第20表に示すRMUモード指示コマンドの
2バイト目と、第、21表に示すR,MUメモリ指示コ
マンドの2バイト目と、第24表に示す如くの、オペレ
ータによるリーダの操作部がらのトリミング領域指定デ
ータに基づ<R,MU、)リミング指示1コマンドから
R,MU)リミング指示6コマンドのトリミングデータ
の内容をリーダから入力する。“メモリインプットモー
ド“においては第1表の100−2のプリンタスタート
コマンドはプリンタへ出力する必要がなく、プリンタは
コピー動作を行なわないため、第10図示の5ELL 
、5EL2,5EL3,5EL4゜5EL5 、ビデオ
セレクタの選択をそれぞれR−CLK、I(、−VDA
、R−VE、R−VB、H8YNC。
Next, we will explain an example in which an image written to compressed image memory in "memory input mode" is combined with an image from a reader in "memory overlay mode" and output to a printer. - As the first step in performing memory overlay operation. Image information must be written to the memory.The RMU mode for writing image information to this memory is "memory input mode".Trim area B in Figure 13 to create a memo IJC. RM when compressing and storing in area
The U instruction is the second byte of the RMU mode instruction command shown in Table 20, the second byte of the R,MU memory instruction command shown in Tables 21, and the reader operation by the operator as shown in Table 24. Based on the trimming area designation data of <R, MU,) Rimming instruction 1 command to R, MU) Rimming instruction 6 commands' trimming data contents are input from the reader. In the "memory input mode", the printer start command 100-2 in Table 1 does not need to be output to the printer, and the printer does not perform a copy operation, so the 5ELL shown in Figure 10 does not need to be output to the printer.
, 5EL2, 5EL3, 5EL4゜5EL5, video selector selection is R-CLK, I(,-VDA
, R-VE, R-VB, H8YNC.

AO,BOと設定する(S−106−A−2)。また、
プリンタがコピー動作を行なわないので、PREQ信号
をR,MUに出力しないが、R,MUはプリンタの代り
にPREQ信号をリーダへ出力する(8−106−A−
4,S−106−A−6)。リーダからのシリアル通信
による。
Set AO and BO (S-106-A-2). Also,
Since the printer does not perform a copy operation, it does not output the PREQ signal to R and MU, but R and MU output the PREQ signal to the reader instead of the printer (8-106-A-
4, S-106-A-6). By serial communication from the reader.

紙サイズ指示コマンドを受信したならば、・メモIJ 
Cが指定されているので、RMUの制御部のメモリにM
C−PSZ(メモリCの紙サイズ)に紙サイズを記憶保
持し、・MC−METHOD(メモリC領域に記憶して
いる画像情報の読み取りモード)に2値画像であること
も記憶保持する。
If the paper size instruction command is received, ・Memo IJ
Since C is specified, M is stored in the memory of the control unit of the RMU.
The paper size is stored and held in C-PSZ (paper size of memory C), and the fact that it is a binary image is also stored and held in MC-METHOD (reading mode of image information stored in memory C area).

リーダより入力した紙サイズとトリミングデ一タHp(
主走査基準位置) 、 Vp (副走査基準位置)、H
w(主走査中  )、Vw(副走査中) ’+ HM 
(主走査移動位置)、VM(副走査移動位置)により、
ダウンカウンタ(14−1)には4677、コンパレー
タ(14−4)にはHpより3575、コンパレータ(
14−5)にはHwより1371、コンパレータ(14
−8)は紙サイズより4677、ディザカウンタ(14
−1)には4677をセットする。メモリアドレスカウ
ンタ(10−8)には前述MS(圧縮画像書き込み開始
アドレス)、コンパレータ(10−14)には、ME(
圧縮画像最大書き込みアドレス)をセットする( 8−
106−A−9)。
Paper size and trimming data entered from the reader HP (
main scanning reference position), Vp (sub-scanning reference position), H
w (during main scanning), Vw (during sub-scanning) '+HM
(main scanning movement position) and VM (sub-scanning movement position),
The down counter (14-1) has 4677, the comparator (14-4) has 3575 from Hp, and the comparator (14-4) has 3575 from Hp.
14-5), 1371 from Hw, comparator (14
-8) is 4677 from the paper size, and the dither counter (14
-1) is set to 4677. The memory address counter (10-8) has the aforementioned MS (compressed image writing start address), and the comparator (10-14) has the ME (
Compressed image maximum write address) (8-
106-A-9).

R,MUはリーダからPRINT信号を入力しても(s
−t’o 6−A−10)、プリンタがコピー動作を行
なわないためプリンタには出力せず、プリンタの代りに
■5RIEQ信号をリーダに出力する(8−106−A
−11,S−106−A−14)。リーダからV8YN
Cオンを入力すると(8−106−B−1)、第17図
B領域までのVp (この例の場合1574)ライン圧
縮しないようにするためラインカウンタ(1’0−11
)にVpをセットする( 8−106−B−2)。ライ
ンカラン・りがカウントアツプしたことを検知しくS−
106−B−3)、圧縮動作を開始するためにV −E
 #C信号をオンする(S−106−B−4)。また、
圧縮する副走査中Vw (この例の場合3307)をラ
インカウンタにセットする(S−106−B−5)。そ
して、ラインカウンタがカウントアツプするまで圧縮画
像メモリに圧縮動作を繰り返す(8−1,06−B−6
、S−106−B−7)。ラインカウンタがカウントア
ツプしたことを検知して圧縮動作を停止するため、V−
ENC信号ttt7fる(S−106−B−8)。その
後リーダからのV8YNC信号がオフになったのを検知
しくS−106−B−9)、メモリオーバー(メモリア
ドレスカウンタが圧縮画像書き込み最大アドレスを越え
たこと)があるかのチェックを行うため、MOVER,
信号の検知を行う(第31図、S−106−C−1)。
Even if the R and MU input the PRINT signal from the reader (s
-t'o 6-A-10), since the printer does not perform a copy operation, it does not output to the printer, and instead of the printer, outputs the ■5RIEQ signal to the reader (8-106-A
-11, S-106-A-14). V8YN from the leader
When C on is input (8-106-B-1), the line counter (1'0-11
) to set Vp (8-106-B-2). S- to detect that the line count has increased.
106-B-3), V -E to start the compression operation
Turn on the #C signal (S-106-B-4). Also,
During sub-scanning to be compressed, Vw (3307 in this example) is set in the line counter (S-106-B-5). Then, the compression operation is repeated in the compressed image memory until the line counter counts up (8-1, 06-B-6
, S-106-B-7). To detect that the line counter has counted up and stop the compression operation, V-
ENC signal ttt7f (S-106-B-8). After that, in order to detect that the V8YNC signal from the reader has turned off (S-106-B-9), check whether there is a memory overflow (the memory address counter has exceeded the maximum address for writing compressed images). MOVER,
Signal detection is performed (Fig. 31, S-106-C-1).

MOVER信号がHレベルであればメモリヘの書き込み
が失敗したことを意味し、リーグに圧縮失敗の情報を伝
えるために圧縮失敗フラグをセットする(S−106−
C−2)。このことによす前述エラー発生ユニットステ
ータスにRMU圧縮失敗の情報が付加され、リーグはR
MU圧縮失敗を認識する。まだ、圧縮失敗の場合にはM
C−PSZ(メモリCの紙サイズ)、MC−METOD
 (読み取りモード)、MC8(メモリC開始アドレス
)、MCE(メモリC終了アドレス)、MC−VI D
’EO(ffl縮モー )”) (7)情報をメモ’J
 Cには何も書き込まれていないものと同じ設定を行う
。このことによ′り圧縮失敗時の指定メモリ領域を空領
域と認識し、次回の圧縮動作のために有効に活用できる
。一方、圧縮成功時には、MC8,MCE、MC−ME
THOD。
If the MOVER signal is at H level, it means that writing to the memory has failed, and a compression failure flag is set to notify the league of compression failure information (S-106-
C-2). Due to this, information about RMU compression failure is added to the error unit status mentioned above, and the league
Recognize MU compression failure. If compression still fails, M
C-PSZ (paper size of memory C), MC-METOD
(reading mode), MC8 (memory C start address), MCE (memory C end address), MC-VI D
'EO (ffl contraction mode)'') (7) Memo information 'J
Make the same settings as if nothing had been written to C. This allows the specified memory area when compression fails to be recognized as an empty area and to be used effectively for the next compression operation. On the other hand, when compression is successful, MC8, MCE, MC-ME
THOD.

MC−VIDEO,MC=PSZに必要な情報の記憶を
行う。これらはメモリC領域からの伸長時に利用する。
Stores information necessary for MC-VIDEO, MC=PSZ. These are used when decompressing from the memory C area.

リーグからプリンタストップコマンドを入力したならば
(S−106−C−6)JtMUはシーケンス処理を終
了する。
If a printer stop command is input from the league (S-106-C-6), the JtMU ends the sequence processing.

今、前述のインプットモードにより、例えばメモIJ 
BにA4サイズの画像情報が圧縮記憶されているとする
。そして、この画像情報を“メモリオーバレイモード゛
で伸長し、リーグがらの画像情報と合成しプリンタに出
力することを考える。RMUの圧縮画像メモリがらの伸
長画像はRMUモード指示2バイト目ビット5をパ0゛
ゝにすることによって約50%の濃度でプリンタに対し
て出力する。また、伸長画像を主走査方向にHpビット
、副走査方向にVpビットの点を基準点として主走査サ
イズHwビット、副走査サイズVWビットの画像領をト
リミングしてA4サイズに出力する場合のRMUモード
指示コマンド2バイト目は第25表のものを、また、E
t、MUメモリ指示コマンド2バイト目として第26表
のものを、RMU)リミング指示コマンド1からRMU
)リミング指示コマンド6のトリミングデータ1からト
リミングデータ6までをビット、またはラインに変換し
たものとして、それぞれHp 、 V’p 、HW 、
 Vw 、 HM 、7Mという値がセットされリーグ
からRMUに対して出力される。RMUは第10図セレ
クタ1.セレクタ2.セレクタ3.セレクタ4.セレク
タ5゜ビデオセレクタの選択をそれぞれR−VCLK。
Now, with the input mode mentioned above, for example, the memo IJ
Assume that A4 size image information is compressed and stored in B. Then, consider decompressing this image information in "memory overlay mode", combining it with the image information of the league, and outputting it to the printer. By setting the parameter to 0'', the printer outputs the density at about 50%.Also, the main scanning size of the expanded image is Hw bits, using the point of Hp bits in the main scanning direction and Vp bits in the sub-scanning direction as a reference point. , the second byte of the RMU mode instruction command when trimming the image area of the sub-scanning size VW bits and outputting it to A4 size is the one in Table 25, and the E
t, MU memory instruction command 2nd byte of Table 26, RMU) Rimming instruction command 1 to RMU
) Assuming that trimming data 1 to trimming data 6 of rimming instruction command 6 are converted into bits or lines, Hp, V'p, HW,
The values Vw, HM, and 7M are set and output from the league to the RMU. The RMU is selected by selector 1 in Figure 10. Selector 2. Selector 3. Selector 4. Selector 5° Video selector selection R-VCLK.

DVDO、LN−8T 、R−VE、P−BD 。DVDO, LN-8T, R-VE, P-BD.

A3.B3.をセレクトし、Dither信号にはLレ
ベルをセットする。
A3. B3. , and set the Dither signal to L level.

さて、第34図において伸長画像Tの副走査移動方向を
判定する( S−106−G−1,)。この結果Tの移
動方向が副走査方向と同じであれば第35図に進む。
Now, in FIG. 34, the sub-scanning movement direction of the expanded image T is determined (S-106-G-1,). As a result, if the moving direction of T is the same as the sub-scanning direction, the process proceeds to FIG. 35.

そして、リーグからの紙サイズ指示コマンドを入力した
ならば圧縮画像の紙サイズとは別に記憶保持しておく、
PR,EQ倍信号PRINT信号、VSREQ信号につ
いての処理はパメモリパスモード゛。または“′スルー
アウトモード゛と同じであるので省略する。記憶してい
る紙サイズ、トリミングデータをビット、ラインに変換
LJcHp 、VP 、HW、VW、HM、VMにより
カウンタの設定を以下のように行う。コンパレータ14
−4には4677、コンパレータ!4−5には01 コ
ンパレータ14−8には4677、ダウンカウンタ13
−1 、13−2には4677−(Hp −MM )、
カウンタ14−1には4677画像の移動方向が副走査
方向と同じ場合はリーグからのVSYNCオンを入力し
たと同時に(S−106−H−1)、プリンタへのVS
YNCをオンし、(S−106−H−2)、V−DEC
信号をプリンタへ出力したVSYNCより(VM−Vp
)ラインおくれで、Hレベルにするため、ラインカウン
タをセットする( S−1o 6−I−(−3)。ライ
ンカウンタアップの後(S −1’06−H−4)、副
走査Vpライン分子R,M信号をLレベルにするため、
コンパレータ14−6にIF’F11i’H,コンパレ
ータ14−7に4677をセットする。
Then, if you input the paper size instruction command from the league, it will be stored separately from the paper size of the compressed image.
The PR, EQ multiplied signals PRINT signal and VSREQ signal are processed in memory pass mode. Or, it is omitted as it is the same as “Through Out Mode”. Convert the stored paper size and trimming data to bits and lines. Set the counter using LJcHp, VP, HW, VW, HM, and VM as follows. Comparator 14
4677 for -4, comparator! 01 for 4-5, 4677 for comparator 14-8, down counter 13
-1, 13-2 has 4677-(Hp -MM),
If the moving direction of the 4677 image is the same as the sub-scanning direction, the counter 14-1 inputs VSYNC ON from the league (S-106-H-1), and at the same time inputs the VSYNC to the printer.
Turn on YNC, (S-106-H-2), V-DEC
From VSYNC that outputs the signal to the printer (VM-Vp
) When the line is late, set the line counter to set it to H level (S-1o 6-I-(-3). After the line counter is up (S-1'06-H-4), the sub-scanning Vp line In order to bring the molecular R and M signals to L level,
Set IF'F11i'H in the comparator 14-6 and 4677 in the comparator 14-7.

HADR,DADRにそれぞれ4677.4677−(
HM−Hp)をセットしく S−106−H−5)、V
−DEC信号をオンするCB−106−H−6)。
4677.4677-( for HADR and DADR respectively)
HM-Hp) S-106-H-5), V
- CB-106-H-6) that turns on the DEC signal.

トリミングするためにTR,M信号を設定(S−106
−H−7)L、Vpライン分のカウンタをセツトし、カ
ウントアツプした後(S−106−H−s、s  10
6  H9)、画像伸長が行なわれるようにTMR信号
を設定しくS−106−H−10)、ラインカウンタに
Vwラインセットしく8−106−H−11)、IJ−
ダの画像と伸長画像の合成を行い、Vwライン分の合成
動作を行った後(S−106−H−12)  伸長動作
を停止するためにV−DEC信号をオフする(S−10
6−H−14)。
Set TR and M signals for trimming (S-106
-H-7) After setting the counters for the L and Vp lines and counting up (S-106-H-s, s 10
6 H9), set the TMR signal so that image expansion is performed S-106-H-10), set the Vw line to the line counter 8-106-H-11), IJ-
After compositing the image and the expanded image and performing the compositing operation for Vw lines (S-106-H-12), turn off the V-DEC signal to stop the expansion operation (S-10
6-H-14).

次に、T領域をトリミングするために、TRM信号を生
成するコンパレータのセットを行い、第25図すよりコ
ンパレータ14−6は4677−HMとし、フンパレー
タ14−7は4677−(HW+HM )とする(S−
106−I−10)。
Next, in order to trim the T area, comparators that generate TRM signals are set, and as shown in FIG. S-
106-I-10).

これによりT領域が第22図(C)の11の場所からコ
ピー用紙に出力される。
As a result, the T area is outputted onto the copy paper from the location 11 in FIG. 22(C).

次に、コントローラ10−2はT領域の副走査中のVW
ラインをラインカウンタ10−11により計数しくS−
106−I−11)、T領域の画像信号がプリンタへ出
力されたことを検出し、伸長動作を停止させるべくVD
ECDEC信号fする( S−106−I−12)。
Next, the controller 10-2 controls the VW during sub-scanning of the T area.
The line is counted by the line counter 10-11.
106-I-11), the VD detects that the image signal of the T area is output to the printer and stops the decompression operation.
ECDEC signal f (S-106-I-12).

これでコントローラ10−2は圧縮画像データの伸長出
力を終了したので、リーダ1o−1の画像が全てプリン
タ10−3に出力されるのを待ツ(S−106−I−1
3)o !J −タ(D PVSYNCがoffされた
ことを検出したらプリンタ1゜−3へのVsYNc (
PVSYNC) をoffLプリンタ10−3への1枚
″の画像出力を終了しくS−106−I−14)、設定
枚数のコピーが終了したか否かをチェックするために、
既に説明した第31図(S−106−C−6)に進む。
Now that the controller 10-2 has finished decompressing and outputting the compressed image data, it waits until all the images from the reader 1o-1 are output to the printer 10-3 (S-106-I-1
3) o! J-ta (D When it is detected that PVSYNC is turned off, VsYNc (
PVSYNC) to finish outputting one page of images to the printer 10-3 (S-106-I-14), and to check whether the set number of copies has been completed,
Proceed to FIG. 31 (S-106-C-6), which has already been described.

一方、伸長画像Tの副走査移動方向が、副走査方向と逆
の方向の場合は第34図の(S−106−G−1)から
第36図進み、第22図[C)の圧縮画像メモリからの
圧縮画像データを伸長したA4サイズの画像信号から副
走査画像位置V、=Vp。
On the other hand, if the sub-scanning movement direction of the decompressed image T is opposite to the sub-scanning direction, the process advances from (S-106-G-1) in Fig. 34 to Fig. 36, and the compressed image in Fig. 22 [C] Sub-scanning image position V,=Vp from an A4 size image signal obtained by expanding compressed image data from memory.

副走査画像中V2=VWとしたTの領域をトリミングし
て副走査紙始端からt8までの距離v、=vMの場所に
移動するとともに、リーダからの画像信号を合成してプ
リンタに出力する場合に相当し、コントローラ10−2
以下の制御動作を第36図により実行する。
When trimming the area T in the sub-scanning image where V2 = VW and moving it to a location at a distance v, = vM from the starting edge of the sub-scanning paper to t8, and combining the image signals from the reader and outputting it to the printer. corresponds to the controller 10-2
The following control operation is executed according to FIG.

T領域の主走査画像位置H,=Hp、主走査画像巾H2
= Hwと、T領域を主走査方向に移動させて主走査紙
始端から11までの距離H8= HMとした場合、第2
1図によりカウンタ14−1 (HADR)のロード値
は4677゜HAR,EA倍信号発生するコンパレータ
14−4には4677゜コンパレータ14−5には0を
セットする。ディザカウンタを起動させるコンパレータ
14−8には4677をセットし、ディザカウンタ13
−1.13−2には4677− (HM−HP )をセ
ットする(S−106−I−1)。ここで)O8YSを
ICLKとすぺ< 5ELI (10−18)をセット
してさらに、メモリアドレスカウンタ10−8にUの圧
縮画像データの先頭アドレスをセットして、V−DEC
信号をonl、、U画像の伸長を開始する。ここで、ラ
インカウンタ10−11によりtJ面画像副走査方向に
コピー用紙からはみ出るライン長(Vp −VM )ラ
インを計数し(S−106−I−3)、−担V−DEC
信号をoffし、伸長動作を中断する(8−106−I
−4)。
Main scanning image position H of T area, = Hp, main scanning image width H2
= Hw and the distance from the starting edge of the main scanning paper to 11 by moving the T area in the main scanning direction H8 = HM, then the second
1, the load value of the counter 14-1 (HADR) is set to 4677° HAR, the comparator 14-4 which generates the EA multiplied signal is set to 4677°, and the comparator 14-5 is set to 0. The comparator 14-8 that starts the dither counter is set to 4677, and the dither counter 13
-1.Set 4677- (HM-HP) in 13-2 (S-106-I-1). Here, set O8YS to ICLK and Spe<5ELI (10-18), further set the start address of the compressed image data of U in the memory address counter 10-8, and
The signal is turned on, and U starts to decompress the image. Here, the line counter 10-11 counts the line length (Vp - VM) lines that protrude from the copy paper in the sub-scanning direction of the tJ side image (S-106-I-3), and -V-DEC
Turn off the signal and interrupt the expansion operation (8-106-I
-4).

これ以降の画像伸長はリーダ10−1のvSYNC(P
VSYNC)に同期してリーダ1〇−1のクロックで行
うため、5RCI(10−18)によりo sysはR
VCKを選択する。これによりリーダの画像と、U画像
を合成した時の主走査方向の画素の不ぞろいを防ぐこと
ができる。
Image decompression after this is performed using vSYNC(P) of reader 10-1.
O sys is R due to 5RCI (10-18) because it is performed using the clock of reader 10-1 in synchronization with VSYNC).
Select VCK. This can prevent pixels from being misaligned in the main scanning direction when the reader image and the U image are combined.

この状態でリーダからのVSYNCを検出したらコント
ローラ10−2はプリンタに、レジスト給紙信号PvS
YNCを出力する(S−106−I−6)とともに、副
走査にVMラインの間、伸長画像を出力しないようにT
RM信号をLレベルにする。
In this state, when VSYNC is detected from the reader, the controller 10-2 sends the registration paper feed signal PvS to the printer.
In addition to outputting YNC (S-106-I-6), set T to not output the expanded image during the VM line in sub-scanning.
Set the RM signal to L level.

これは、コンパレータ14−6にIFFFHを、コンパ
レータ14−7に4677をセットすることで実現され
る(S−106−I−7)。この後、中断していた画像
伸長を開始するために、メモリアドレスカウンタ10−
8の値は、そのままにして、v−DEC信号をOnにす
る。こ1Q こで、7画像を出力するまでのVMラインをラインカウ
ンタ10−11で計数する(S−106−I−9)。
This is achieved by setting IFFFH to the comparator 14-6 and 4677 to the comparator 14-7 (S-106-I-7). After this, in order to start the interrupted image expansion, the memory address counter 10-
Leave the value 8 as is and turn on the v-DEC signal. 1Q Here, the line counter 10-11 counts the VM lines until 7 images are output (S-106-I-9).

このように、RMUは、前述の4つのモード指定に応じ
て動作するものである。
In this way, the RMU operates according to the four mode specifications described above.

尚、本実施例においては圧縮方法としてランレングス符
号化を用いたが、MH、MR符号化等の他の符号化によ
り画像の圧縮を行ってもよいし、また、記憶手段の記憶
容量は3枚に限るものではない。
Although run-length encoding was used as the compression method in this embodiment, the image may be compressed by other encoding methods such as MH or MR encoding, and the storage capacity of the storage means is 3 It is not limited to one piece.

以上説明した様に本発明によると、圧縮された画像が記
憶手段に格納できなくても、像形成動作が可能となると
ともに、既に記憶手段に記憶されている画像の破壊等の
不都合を極力防止できるものである。
As explained above, according to the present invention, even if a compressed image cannot be stored in the storage means, image forming operation is possible, and inconveniences such as destruction of images already stored in the storage means are prevented as much as possible. It is possible.

第2表     第3表 第4表 第  5  表 第6表     第7表 第8表   ′ 第  9  表 第10表     第11表 第12表    第13表 第14表    第15表 第16表 第18表 第19表 第20表     第21表 第22表    第23表 第24表 第25表    第26表Table 2 Table 3 Table 4 Table 5 Table 6 Table 7 Table 8 ′ Table 9 Table 10 Table 11 Table 12 Table 13 Table 14 Table 15 Table 16 Table 18 Table 19 Table 20 Table 21 Table 22 Table 23 Table 24 Table 25 Table 26

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

第1図は本発明を適用した画像処理システムの構成例を
示す図、第2図はリーグによる画像読取り動作を説明す
る図、第3図はリーグの概略回路構成を示すブロック図
、第4図はプリンタの概略構成を示す図、第5図はプリ
ンタの概略回路構成を示すブロック図、第6図はビデオ
インターフェースの内容を示す図、第7図は画像信号の
伝送方式を示す図、第8図はビデオインターフェースの
各種信号を示す図、第9図は符号化動作の説明図、第1
0図はRMUの詳細な構成を示すブロック図、第11図
はディザカウンタの構成図、第12図は主走査カウンタ
デコーダの構成図、第13図は原稿画像のトリミング状
態を示す図、第14図は画像信号の圧縮動作を示すタイ
ミングチャート図、第15図はメモリの記憶状態を示す
図、第16図はディザ圧縮の説明図、第17図は画像信
号の伸長動作を示すタイミングチャート図、第18図は
伸長エラ一時の動作を示すタイミングチャート図、第1
9図は主走査方向に関わるトリミング動作は主走査方向
に関する画像の移動□動作を示す図、第22図(a)、
(b)、(C)は副走査方向に関する画像の移動動作を
示す図、第23図はコマンドのシリアル通信の手順を示
すフローチャート図、第24図はステータスのシリアル
通信の手順を示すフローチャート図、第25図はコピー
動作以前の通信手順を示すフローチャート図、第26図
はリーグの動作を示すフローチャート図、第27図はプ
リンタの動作を示すフローチャート図、第28図はメモ
リ領域の状態を示す図、第29図〜第36図はRMUの
動作手順を示すフローチャート図であり:  1−1は
リーグ、l−2はRMU、1−3はプリンタ、10−2
はコントローラ、1〇−4は圧縮回路、10−5は圧縮
画像メモリ。 10−6は伸張回路、10−15はダブルバッファメモ
リ、10−23はビデオセレクタ、10−8はメモリア
ドレスカウンタである。 70り− U:tC ト  ト
FIG. 1 is a diagram showing a configuration example of an image processing system to which the present invention is applied, FIG. 2 is a diagram explaining image reading operation by league, FIG. 3 is a block diagram showing a schematic circuit configuration of league, and FIG. 5 is a block diagram showing the schematic circuit configuration of the printer, FIG. 6 is a diagram showing the contents of the video interface, FIG. 7 is a diagram showing the image signal transmission method, and FIG. 8 is a diagram showing the schematic configuration of the printer. The figure shows various signals of the video interface. Figure 9 is an explanatory diagram of the encoding operation.
FIG. 0 is a block diagram showing the detailed configuration of the RMU, FIG. 11 is a configuration diagram of a dither counter, FIG. 12 is a configuration diagram of a main scanning counter decoder, FIG. 13 is a diagram showing a trimming state of an original image, and FIG. 15 is a timing chart showing the image signal compression operation, FIG. 15 is a diagram showing the storage state of the memory, FIG. 16 is an explanatory diagram of dither compression, and FIG. 17 is a timing chart showing the image signal expansion operation, Fig. 18 is a timing chart diagram showing the operation at the time of elongation error.
Fig. 9 is a diagram showing the trimming operation related to the main scanning direction and the image movement □ operation related to the main scanning direction, Fig. 22 (a),
(b) and (C) are diagrams showing the image movement operation in the sub-scanning direction, FIG. 23 is a flowchart diagram showing the procedure of serial communication of commands, and FIG. 24 is a flowchart diagram showing the procedure of serial communication of status, FIG. 25 is a flowchart showing the communication procedure before the copy operation, FIG. 26 is a flowchart showing the league operation, FIG. 27 is a flowchart showing the printer operation, and FIG. 28 is a diagram showing the state of the memory area. , FIGS. 29 to 36 are flowcharts showing the operating procedure of the RMU: 1-1 is the league, l-2 is the RMU, 1-3 is the printer, and 10-2
1 is a controller, 10-4 is a compression circuit, and 10-5 is a compressed image memory. 10-6 is an expansion circuit, 10-15 is a double buffer memory, 10-23 is a video selector, and 10-8 is a memory address counter. 70ri-U:tC toto

Claims (1)

【特許請求の範囲】 画像信号を出力する手段と、上記出力手段からの画像信
号を圧縮する手段と、上記圧縮手段により圧縮された画
像信号を複数枚分記憶可能な記憶手段と、 上記出力手段及び記憶手段からの画像信号に基づいて画
像を形成する手段を有し、 上記圧縮手段により圧縮された画像信号を記憶する領域
が上記記憶手段に存在しない場合、上記出力手段からの
画像信号を上記記憶手段を介さずに、上記形成手段に供
給することを特徴とする画像処理システム。
[Scope of Claims] Means for outputting an image signal; means for compressing the image signal from the output means; storage means capable of storing a plurality of images of the image signal compressed by the compression means; and the output means. and means for forming an image based on the image signal from the storage means, and when there is no area in the storage means to store the image signal compressed by the compression means, the image signal from the output means is An image processing system characterized in that the image is supplied to the forming means without going through a storage means.
JP1700385A 1985-01-31 1985-01-31 Picture processing system Pending JPS61176262A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1700385A JPS61176262A (en) 1985-01-31 1985-01-31 Picture processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1700385A JPS61176262A (en) 1985-01-31 1985-01-31 Picture processing system

Publications (1)

Publication Number Publication Date
JPS61176262A true JPS61176262A (en) 1986-08-07

Family

ID=11931827

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1700385A Pending JPS61176262A (en) 1985-01-31 1985-01-31 Picture processing system

Country Status (1)

Country Link
JP (1) JPS61176262A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5715329A (en) * 1991-07-02 1998-02-03 Matsushita Electric Industrial Co., Ltd. Digital copying machine with memory for compressed image data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5715329A (en) * 1991-07-02 1998-02-03 Matsushita Electric Industrial Co., Ltd. Digital copying machine with memory for compressed image data

Similar Documents

Publication Publication Date Title
US4884147A (en) Image signal processing system
US7372599B2 (en) Image processor
US4814898A (en) Image signal processing system
EP0751675B1 (en) Image forming apparatus
US20050073718A1 (en) Image forming method
JP3029118B2 (en) Color image forming equipment
US5692229A (en) Image forming system which superimposes additional information on an image signal
US5867638A (en) Information processing system
JPS61176262A (en) Picture processing system
JP2694826B2 (en) Image processing system
JPS61176264A (en) Picture processing system
JPS61176291A (en) Picture processing system
JP2823155B2 (en) Image processing system
JPS61176265A (en) Picture processing system
JPS61176278A (en) Picture processing system
JPS61176288A (en) Picture processing system
JPS61176263A (en) Picture processing system
JPS61176287A (en) Picture processing system
JPS61176266A (en) Picture processing system
JPS61176261A (en) Picture processing system
US6226470B1 (en) Method and apparatus for image formation using switchable image generators and density control
JPS61176280A (en) Picture processing system
JPS61176290A (en) Picture processing system
JPS61176289A (en) Picture processing system
EP0551823B1 (en) Image processing apparatus