JPH06238950A - Controller of page printer - Google Patents

Controller of page printer

Info

Publication number
JPH06238950A
JPH06238950A JP5030042A JP3004293A JPH06238950A JP H06238950 A JPH06238950 A JP H06238950A JP 5030042 A JP5030042 A JP 5030042A JP 3004293 A JP3004293 A JP 3004293A JP H06238950 A JPH06238950 A JP H06238950A
Authority
JP
Japan
Prior art keywords
image
blank
data
signal
page
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
JP5030042A
Other languages
Japanese (ja)
Inventor
Koji Wada
考司 和田
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP5030042A priority Critical patent/JPH06238950A/en
Publication of JPH06238950A publication Critical patent/JPH06238950A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve printing operation speed by a method wherein image data of a margin section of a page is compressed so that in the case where the printing data contains a lot of margin sections, two pages of image data can be stored in a memory. CONSTITUTION:A CPU 1 generates image data from which a margin section is removed in a RAM 5 and sets the information of the margin section to a margin data control circuit 8. During the outputting of the margin section of the page, video data outputted from a video output circuit 6 is applied with a masking operation by means of the margin data control circuit 8, and then the margin data is outputted. Thereby, when a total quantity of image data of continuous pages is smaller than a quantity of an image memory, a concurrent operation of a printing operation and an image-forming operation can be executed so that the printing operation speed is improved.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はページプリンタコントロ
ーラに関し、特に、ページ単位に生成する画像メモリ上
の画像データ圧縮機能を有するページプリンタコントロ
ーラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a page printer controller, and more particularly, to a page printer controller having a function of compressing image data on an image memory generated in page units.

【0002】[0002]

【従来の技術】図7は、従来のページプリンタコントロ
ーラの一例を示すブロック図である。図7を参照する
と、このページプリンタコントローラは、ページプリン
タコントローラ全体を制御し画像データを生成するCP
U71と、CPU71のプログラムを記憶するROM7
2と、ビットマップデータあるいはベクトルデータで文
字パターン情報を記憶するフォントメモリ73と、ホス
トコンピュータとのデータを入出力するホストI/Fポ
ート74と、CPU71のワークエリア、ホストコンピ
ュータとのデータ入出力のための送受信バッファ、画像
データを生成するための画像メモリとして使用されるR
AM75と、RAM75上の画像メモリからビデオ出力
回路76へ画像データをDMA転送するDMA回路77
と、DMA回路77によって転送される画像データを並
列直列変換しプリンタエンジンからのビデオ信号要求に
従ってビデオ信号を出力するビデオ出力回路76と、プ
リンタエンジンへの印刷指令の発行やステータスを読み
出すためのプリンタI/Fポート78とから構成され
る。次に画像メモリの構成について説明する。1ページ
の画像メモリの大きさは、印刷解像度と印刷用紙の印刷
有効エリアから決定される。例えば、印刷解像度が1イ
ンチ当たり300ドットのページプリンタでは、A3用
紙で約2.0Mバイト,B4用紙で約1.5Mバイト,
A4用紙で約1.0Mバイトの容量が必要となる。い
ま、RAM75上に確保できる画像メモリの容量が2M
バイトとすると、A3用紙で1ページ分、B4用紙で1
ページ分、A4用紙で2ページ分の画像メモリが確保で
きることになる。
2. Description of the Related Art FIG. 7 is a block diagram showing an example of a conventional page printer controller. Referring to FIG. 7, the page printer controller controls the entire page printer controller to generate image data.
U71 and ROM7 for storing the program of CPU71
2, a font memory 73 for storing character pattern information in bitmap data or vector data, a host I / F port 74 for inputting / outputting data to / from the host computer, a work area of the CPU 71, and data input / output to / from the host computer. Used as an image memory for generating image data
A DMA circuit 77 for DMA-transferring the image data from the AM 75 and the image memory on the RAM 75 to the video output circuit 76.
And a video output circuit 76 for converting the image data transferred by the DMA circuit 77 into a parallel signal and outputting the video signal in accordance with a video signal request from the printer engine, and a printer for issuing a print command to the printer engine and reading the status. It is composed of an I / F port 78. Next, the configuration of the image memory will be described. The size of the image memory for one page is determined from the print resolution and the print effective area of the print paper. For example, in a page printer with a printing resolution of 300 dots per inch, about 2.0 Mbytes for A3 paper and about 1.5 Mbytes for B4 paper,
A4 paper requires a capacity of about 1.0 MB. Now, the image memory capacity that can be secured on the RAM 75 is 2M.
If it is a bite, one page for A3 paper and one for B4 paper
It is possible to secure an image memory for two pages and two pages for A4 size paper.

【0003】[0003]

【発明が解決しようとする課題】この従来のページプリ
ンタコントローラでは、1ページの画像メモリを常に印
刷用紙の印刷有効エリア全て用意しているため、実際の
画像データがページ内の一部分しかないような印刷デー
タに対しては、画像メモリが有効に活用されていない。
また、画像メモリを削減するためのランレングス符号に
よる圧縮方法を用いたページプリンタコントローラは、
符号化および復号化処理のための回路が大規模になり、
複雑な画像の場合、ビデオ信号出力に対して復号化処理
が間に合わず、結果として印刷データ抜けが生じること
がある。
In this conventional page printer controller, since the image memory for one page is always prepared for all the print effective areas of the printing paper, the actual image data may be only a part of the page. The image memory is not effectively used for print data.
Also, a page printer controller using a compression method using a run length code for reducing the image memory is
The circuit for encoding and decoding becomes large,
In the case of a complicated image, the decoding process may not be in time for the video signal output, and as a result print data may be lost.

【0004】[0004]

【課題を解決するための手段】本発明のページプリンタ
コントローラは、ページの副走査方向の余白部の余白ラ
イン数を計数する少なくとも1個の余白ラインカウンタ
と、前記余白ラインに連続する画像部の画像ライン数を
計数する前記余白ラインカウンタと同数の画像ラインカ
ウンタと、ページの主走査方向の余白部の余白ドット数
を計数する少なくとも1個の余白ドットカウンタと、前
記余白ドットに連続する画像部の画像ドット数を計数す
る前記余白ドットカウンタと同数の画像ドットカウンタ
と、前記余白ラインおよび前記余白ドットにおいてビデ
オ信号出力を停止する白マスク処理を行うビデオ信号マ
スク回路とを備える。
A page printer controller according to the present invention comprises at least one blank line counter for counting the number of blank lines in a blank portion of a page in the sub-scanning direction, and an image portion continuous with the blank line. The same number of image line counters as the blank line counter for counting the number of image lines, at least one blank dot counter for counting the number of blank dots in a blank portion of the page in the main scanning direction, and an image portion continuous with the blank dots. The same number of image dot counters as the blank dot counters for counting the number of image dots, and a video signal mask circuit for performing a white mask process for stopping the video signal output at the blank lines and the blank dots.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。本発明の一実施例をブロックで示す図1を参照する
と、この実施例のページプリンタコントローラは、ペー
ジプリンタコントローラ全体を制御し画像データを生成
するCPU1と、CPU1のプログラムを記憶するRO
M2と、ビットマップデータあるいはベクトルデータで
文字パターン情報を記憶するフォントメモリ3と、ホス
トコンピュータとのデータを入出力するホストI/Fポ
ート4と、CPU1のワークエリア,ホストコンピュー
タとのデータ入出力のための送受信バッファ,画像デー
タを生成するための画像メモリとして使用されるRAM
5と、RAM5上の画像メモリからビデオ出力回路6へ
画像データをDMA転送するDMA回路7と、DMA回
路7によって転送された画像データを並列直列変換しプ
リンタエンジンからのビデオ信号要求に従ってビデオ信
号を出力するビデオ出力回路6と、余白部のデータのD
MA転送を禁止しビデオ信号出力に白マスク処理を行う
余白データ制御回路8と、プリンタエンジンへの印刷指
令の発行やステータスを読み出すためのプリンタI/F
ポート9とから構成されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. Referring to FIG. 1 which is a block diagram showing an embodiment of the present invention, a page printer controller of this embodiment has a CPU 1 for controlling the entire page printer controller and generating image data, and an RO for storing a program of the CPU 1.
M2, a font memory 3 for storing character pattern information in bitmap data or vector data, a host I / F port 4 for inputting / outputting data to / from a host computer, a work area of the CPU 1, and data input / output to / from the host computer. Used as an image memory for generating image data
5, a DMA circuit 7 for DMA-transferring image data from the image memory on the RAM 5 to the video output circuit 6, and parallel-serial conversion of the image data transferred by the DMA circuit 7 to generate a video signal in accordance with a video signal request from the printer engine. Video output circuit 6 for outputting and D of blank space data
A margin data control circuit 8 for prohibiting MA transfer and white masking the video signal output, and a printer I / F for issuing a print command to the printer engine and reading the status.
It consists of port 9 and.

【0006】次にこの実施例の動作について説明する。
ページプリンタコントローラの動作は受信,編集,描画
および印字の4つに大別される。受信動作では、ホスト
コンピュータからの印刷データをホストI/Fポート4
を介してRAM5上の受信バッファに格納する。編集動
作では、CPU1が受信データをページプリンタコント
ローラ内部で処理しやすいように内部コードに変換す
る。具体的には、文字コードおよび制御コードから対応
する文字情報が記憶されるフォントメモリ3のアドレス
情報を作成し、拡大/縮小や回転等の修飾情報を付加す
る。そして、文字の描画メモリ上の座標を計算して付加
する。1ページ分の編集データの作成が完了した時点
で、描画動作に移行する。描画動作では、CPU1が1
ページ分の編集データを元にフォントメモリ3より文字
情報を読み出し、必要な修飾処理を行いながら文字パタ
ーンを指定された描画メモリの座標位置に生成する。こ
うして画像メモリ上に1ページの画像を生成すると印字
動作に移行する。印字動作ではCPU1がプリンタI/
Fポート9を介してプリンタエンジンに印刷指令を与え
る。これに応じてプリンタエンジンはビデオ信号の出力
要求を行う。ビデオ出力回路6はプリンタエンジンから
のビデオ要求に基づいてRAM5上の画像メモリからD
MA回路を利用して画像データを読み出し、読み出した
データを並列直列変換してビデオ信号をシリアルデータ
として出力する。
Next, the operation of this embodiment will be described.
The operation of the page printer controller is roughly divided into four types: reception, editing, drawing and printing. In the receiving operation, the print data from the host computer is transferred to the host I / F port 4
It stores in the receiving buffer on RAM5 via. In the editing operation, the CPU 1 converts the received data into an internal code so that it can be easily processed inside the page printer controller. Specifically, the address information of the font memory 3 in which the corresponding character information is stored is created from the character code and the control code, and modification information such as enlargement / reduction and rotation is added. Then, the coordinates of the character on the drawing memory are calculated and added. When the creation of the edit data for one page is completed, the drawing operation is started. In the drawing operation, CPU1
The character information is read from the font memory 3 based on the edited data for the page, and the character pattern is generated at the coordinate position of the designated drawing memory while performing the necessary modification processing. When a one-page image is generated in the image memory in this way, the printing operation starts. In the printing operation, the CPU 1 causes the printer I /
A print command is given to the printer engine through the F port 9. In response to this, the printer engine issues a video signal output request. The video output circuit 6 outputs D from the image memory on the RAM 5 based on the video request from the printer engine.
Image data is read using the MA circuit, the read data is converted into parallel-serial data, and a video signal is output as serial data.

【0007】図2はこの実施例の印刷用紙における有効
画像エリアを表す概念図である。図1に併せて図2を参
照すると、編集動作においてCPU1は画像メモリ上の
文字座標の主走査方向の最小値と最大値と、副走査方向
の最小値と最大値とを算出し、有効画像エリア10を決
定する。編集に際して、CPU1は有効画像エリア10
以外の余白エリア、すなわち、上余白ライン11,下余
白ライン12,左余白ドット13および右余白ドット1
4は無視し、有効画像エリア10において編集する。こ
のことは、従来の印刷有効エリア15全てを対象として
いた場合に比べ、座標原点位置と画像メモリサイズが異
なることを意味する。そして描画動作においては、CP
U1は有効画像エリア10分の画像メモリのみを確保し
て画像の生成処理を行う。
FIG. 2 is a conceptual diagram showing an effective image area on the printing paper of this embodiment. Referring to FIG. 2 in addition to FIG. 1, in the editing operation, the CPU 1 calculates the minimum value and the maximum value in the main scanning direction and the minimum value and the maximum value in the sub-scanning direction of the character coordinates on the image memory to obtain the effective image. Determine area 10. When editing, the CPU 1 uses the effective image area 10
Other than the blank area, that is, the upper blank line 11, the lower blank line 12, the left blank dot 13, and the right blank dot 1
4 is ignored, and editing is performed in the effective image area 10. This means that the coordinate origin position and the image memory size are different as compared with the conventional case where all the print effective areas 15 are targeted. In the drawing operation, CP
U1 secures only the image memory for the effective image area 10 and performs image generation processing.

【0008】図3は余白データ制御回路8の詳細ブロッ
ク図であり、図4はビデオ出力回路6の信号波形図であ
り、図5は余白データ制御回路8の信号波形図である。
図1および図2に併せて図3,図4および図5を参照し
て、この実施例の動作についてさらに詳細に説明する。
CPU1は上余白ライン11のライン数を余白ラインカ
ウンタ20に、画像ライン17のライン数を画像ライン
レジスタ24に、左余白ドット13のドット数を余白ド
ットレジスタ25に、画像ドット18のドット数を画像
ドットレジスタ26にそれぞれ設定する。CPU1がプ
リンタエンジンへ印刷指令を発行すると、プリンタエン
ジンは、ビデオ信号出力に必要な垂直同期信号(VS信
号)と水平同期信号(HS信号)とを出力する。電子写
真方式のページプリンタでは用紙端数ミリメートルはト
ナー定着が保証されない印刷禁止エリア16が存在す
る。従って、ビデオ出力回路6は、HS信号を基にBH
信号を生成する(図4(a))。BH信号は、HS信号
を印刷禁止エリア16で出力せず、印刷有効エリア15
でのみ出力する。なお、BV信号はVS信号と同一のも
のである。ビデオ出力回路6はビデオデータ(BD信
号)の転送レートに応じた発振器を内蔵しており、図4
(b)に示すように印刷禁止エリア16では出力せず、
印刷有効エリア15でのみ出力されるBD信号を生成す
る。BC信号は画像データの並列直列変換用クロックと
して使用される。ビデオ出力回路6は、VS信号あるい
はHS信号の入力に伴い、画像データをRAM5上の画
像メモリから読み出すため、DMA要求信号BRを出力
し、DMA応答信号BAを待ってデータバス上のデータ
を内部に取り込み、BC信号に従って並列直列変換を行
なってBD信号を出力する。
FIG. 3 is a detailed block diagram of the margin data control circuit 8, FIG. 4 is a signal waveform diagram of the video output circuit 6, and FIG. 5 is a signal waveform diagram of the margin data control circuit 8.
The operation of this embodiment will be described in more detail with reference to FIGS. 3, 4 and 5 in addition to FIGS.
The CPU 1 sets the number of upper margin lines 11 to the margin line counter 20, the number of image lines 17 to the image line register 24, the number of left margin dots 13 to the margin dot register 25, and the number of image dots 18 to each other. The image dot registers 26 are respectively set. When the CPU 1 issues a print command to the printer engine, the printer engine outputs a vertical synchronizing signal (VS signal) and a horizontal synchronizing signal (HS signal) necessary for outputting a video signal. In the electrophotographic page printer, there is a print prohibition area 16 where toner fixing is not guaranteed for a few millimeters of paper. Therefore, the video output circuit 6 determines the BH based on the HS signal.
A signal is generated (FIG. 4 (a)). As for the BH signal, the HS signal is not output in the print prohibition area 16 and the print effective area 15 is not output.
Output only with. The BV signal is the same as the VS signal. The video output circuit 6 has a built-in oscillator according to the transfer rate of the video data (BD signal), as shown in FIG.
As shown in (b), output is not performed in the print prohibited area 16,
The BD signal output only in the print effective area 15 is generated. The BC signal is used as a clock for parallel / serial conversion of image data. The video output circuit 6 reads out the image data from the image memory on the RAM 5 in response to the input of the VS signal or the HS signal. Therefore, the video output circuit 6 outputs the DMA request signal BR, waits for the DMA response signal BA, and stores the data on the data bus internally. , And performs parallel-serial conversion according to the BC signal to output the BD signal.

【0009】余白データ制御回路8では、BV信号が入
力されると図5(a)に示すようにフリップフロップ2
7がセットされ、フリップフロップ28がリセットさ
れ、NORゲート34の出力が“L”となる。従って、
ANDゲート35とANDゲート36との出力が“L”
となり、ORゲート31の出力が“H”となる。ここ
で、ビデオ出力回路6からのDMA要求信号であるBR
信号はANDゲート35を経てDR信号としてDMA回
路7へ出力され、DMA回路7からのDMA応答信号で
あるDA信号はORゲート31を経てBA信号としてビ
デオ出力回路6へ出力される。また、ビデオ出力回路6
からのビデオデータであるBD信号はANDゲート36
を経てVD信号としてプリンタエンジンへ出力される。
つまり、BV信号の入力によりビデオ出力回路6からD
MA回路7へのDMA要求はマスクされるが、ビデオ出
力回路6に対しては常にDMA応答状態となる。これに
よりDMA転送データは不定となり、BD信号も不定デ
ータとなるが、BD信号はANDゲート36でマスクさ
れているためプリンタデバイスには常に白データ(VD
=“L”)として出力される。余白ラインカウンタ20
はBH信号でカウントダウンされ、計数値が0になると
ボロー信号B0が出力される。このB0信号によってフ
リップフロップ27がリセットされ、NORゲート34
の出力が“H”となる。従ってDA信号はBA信号に、
BR信号はDR信号に、BD信号はVD信号に等しくな
る。つまり、余白ラインカウンタ20に設定した上余白
ライン11数の計数が終了すると、RAM5とビデオ出
力回路6間の正常なDMA動作となり、ビデオデータも
ビデオ出力回路6で並列直列変換された画像データが出
力される。また、B0信号の出力によって画像ラインカ
ウンタ21はロード状態が解除され、画像ラインレジス
タ24に設定した値からBH信号の入力毎にカウントダ
ウンされる。画像ラインカウンタ21の計数値が0にな
ると、ボロー信号B1が出力され、フリップフロップ2
8がセットされる。これにより再びNORゲート34の
出力が“L”となって、ANDゲート35とANDゲー
ト36の出力が“L”に、ORゲート31の出力が
“H”となる。つまり、画像ラインレジスタ24に設定
した画像ライン数の計数が終了すると、次のBV信号の
入力までは、再びビデオ出力回路6のDMA要求はマス
クされ、ビデオデータは常に白データとして出力され
る。以上のことにより、上余白ライン11および下余白
ライン12ではビデオデータとして常に白データが出力
され、画像ライン17では画像メモリ上の画像データが
ビデオデータとして出力される。
In the blank space data control circuit 8, when the BV signal is input, as shown in FIG.
7 is set, the flip-flop 28 is reset, and the output of the NOR gate 34 becomes "L". Therefore,
The outputs of the AND gates 35 and 36 are "L"
And the output of the OR gate 31 becomes "H". Here, BR which is the DMA request signal from the video output circuit 6
The signal is output to the DMA circuit 7 as a DR signal via the AND gate 35, and the DA signal, which is a DMA response signal from the DMA circuit 7, is output to the video output circuit 6 as a BA signal via the OR gate 31. Also, the video output circuit 6
The BD signal which is the video data from the AND gate 36
Is output to the printer engine as a VD signal.
That is, when the BV signal is input, the video output circuit 6 outputs D
Although the DMA request to the MA circuit 7 is masked, the video output circuit 6 is always in the DMA response state. As a result, the DMA transfer data becomes undefined and the BD signal also becomes undefined data. However, since the BD signal is masked by the AND gate 36, white data (VD
= “L”). Margin line counter 20
Is counted down by the BH signal, and when the count value becomes 0, the borrow signal B0 is output. The flip-flop 27 is reset by the B0 signal, and the NOR gate 34
Output becomes "H". Therefore, the DA signal becomes the BA signal,
The BR signal becomes equal to the DR signal and the BD signal becomes equal to the VD signal. That is, when the counting of the number of upper margin lines 11 set in the margin line counter 20 is completed, the normal DMA operation between the RAM 5 and the video output circuit 6 is performed, and the video data is also the image data parallel-serial converted by the video output circuit 6. Is output. The output of the B0 signal releases the load state of the image line counter 21, and the value set in the image line register 24 is counted down each time the BH signal is input. When the count value of the image line counter 21 becomes 0, the borrow signal B1 is output and the flip-flop 2
8 is set. As a result, the output of the NOR gate 34 becomes "L" again, the outputs of the AND gates 35 and 36 become "L", and the output of the OR gate 31 becomes "H". That is, when the counting of the number of image lines set in the image line register 24 is completed, the DMA request of the video output circuit 6 is masked again until the next BV signal is input, and the video data is always output as white data. As described above, white data is always output as video data on the upper margin line 11 and the lower margin line 12, and image data on the image memory is output as video data on the image line 17.

【0010】画像ライン17におけるビデオデータ出力
BH信号が図5(b)に示すように入力されるとフリッ
プフロップ29がセットされ、フリップフロップ30が
リセットされ、NORゲート34の出力が“L”とな
る。従って、ANDゲート35とANDゲート36の出
力が“L”となり、ORゲート31の出力が“H”とな
る。従ってビデオ出力回路6からDMA回路7へのDM
A要求はマスクされ、ビデオ出力回路6に対しては常に
DMA応答状態となる。そして、BD信号もマスクされ
るため、プリンタデバイスには常に白データ(VD=
“L”)が出力される。またBH信号の入力により余白
ドットレジスタ25に設定した値が余白ドットカウンタ
22にロードされる。余白ドットカウンタ22はBC信
号でカウントダウンされ、計数値が0になるとボロー信
号B2が出力される。このB2信号によってフリップフ
ロップ29がリセットされ、NORゲート34の出力が
“H”となる。従ってDA信号はBA信号に、BR信号
はDR信号に、BD信号はVD信号に等しくなる。つま
り、余白ドットレジスタ25に設定した左余白ドット1
3数の計数が終了すると、RAM5およびビデオ出力回
路6間の正常なDMA動作となり、ビデオデータもビデ
オ出力回路6で並列直列変換された画像データが出力さ
れる。また、B2信号の出力によって画像ドットカウン
タ23のロード状態が解除され、画像ドットレジスタ2
6に設定した値からBC信号の入力毎にカウントダウン
される。画像ドットカウンタ23の計数値が0になると
ボロー信号B3が出力され、ブリップフロップ30がセ
ットされる。これにより再びNORゲート34の出力が
“L”となって、ANDゲート35とANDゲート36
の出力が“L”に、ORゲート31の出力が“H”とな
る。つまり、画像ドットレジスタ26に設定した画像ド
ット数の計数が終了すると、次のBH信号の入力まで
は、再びビデオ出力回路6のDMA要求はマスクされ、
ビデオデータは常に白データとして出力される。ここで
注意しなければならない点は、余白ドットレジスタ25
および画像ドットレジスタ26に設定する値は、DMA
転送時のデータバス幅の倍数でなければならないことで
ある。例えば、DMA転送時のデータバス幅が8ビット
ならば、左余白ドットおよび画像ドットは8の倍数とす
る。従って、この時の画像メモリの主走査方向のサイズ
も8ドットの倍数となる。以上のことにより、左余白ド
ットと右余白ドットではビデオデータとして常に白デー
タが出力され、画像ドットでは画像メモリ上の画像デー
タがビデオデータとして出力される。
When the video data output BH signal on the image line 17 is input as shown in FIG. 5B, the flip-flop 29 is set, the flip-flop 30 is reset, and the output of the NOR gate 34 becomes "L". Become. Therefore, the outputs of the AND gates 35 and 36 become "L", and the output of the OR gate 31 becomes "H". Therefore, DM from the video output circuit 6 to the DMA circuit 7
The A request is masked, and the video output circuit 6 is always in the DMA response state. Since the BD signal is also masked, white data (VD =
"L") is output. Further, the value set in the margin dot register 25 is loaded into the margin dot counter 22 by the input of the BH signal. The blank dot counter 22 is counted down by the BC signal, and when the count value becomes 0, the borrow signal B2 is output. The flip-flop 29 is reset by this B2 signal, and the output of the NOR gate 34 becomes "H". Therefore, the DA signal becomes the BA signal, the BR signal becomes the DR signal, and the BD signal becomes the VD signal. That is, the left margin dot 1 set in the margin dot register 25
When the counting of the three numbers is completed, the normal DMA operation between the RAM 5 and the video output circuit 6 is performed, and the video data also outputs the image data which is parallel-serial converted by the video output circuit 6. Further, the output state of the image dot counter 23 is released by the output of the B2 signal,
The value set to 6 is counted down each time the BC signal is input. When the count value of the image dot counter 23 becomes 0, the borrow signal B3 is output and the blip-flop 30 is set. As a result, the output of the NOR gate 34 becomes "L" again, and the AND gate 35 and the AND gate 36
Output becomes "L" and the output of the OR gate 31 becomes "H". That is, when the counting of the number of image dots set in the image dot register 26 is completed, the DMA request of the video output circuit 6 is masked again until the input of the next BH signal.
Video data is always output as white data. The point to be noted here is that the margin dot register 25
And the value set in the image dot register 26 is DMA
It must be a multiple of the data bus width at the time of transfer. For example, if the data bus width during DMA transfer is 8 bits, the left margin dot and the image dot are multiples of 8. Therefore, the size of the image memory in the main scanning direction at this time is also a multiple of 8 dots. As described above, white data is always output as video data in the left margin dot and right margin dot, and image data in the image memory is output as video data in the image dot.

【0011】このように1ページの画像メモリを有効画
像エリア10のみに圧縮することにより、従来1ページ
分しか確保できなかった画像メモリが、2ページ以上確
保できる場合が生じてくる。例えば、印刷解像度が1イ
ンチ当たり300ドットのページプリンタでは、印刷有
効エリア15全ての画像メモリを用意する場合、1ペー
ジ当たりA3用紙で約2.0Mバイト,B4用紙で約
1.5Mバイト,A4用紙で約1.0Mバイトの容量が
必要となる。今、RAM5上に確保できる画像メモリの
容量が2Mバイトとすると、A3用紙で1ページ分,B
4用紙で1ページ分,A4用紙で2ページ分の画像メモ
リしか確保できない。しかし、有効画像エリア10のみ
で画像メモリを形成すれば、印刷データによっては、A
3用紙あるいはB4用紙の印刷であっても、連続する2
ページの有効画像エリア10の容量の合計が2Mバイト
以下であれば、2ページ以上の画像メモリが確保でき
る。1ページ分の画像メモリしか確保できない場合、図
6(a)に示すように、のページの印字動作が終了し
ないうちは、のページの描画動作に入れないため、結
果として連続印刷とならない。しかし、2ページ分の画
像メモリが確保できる場合は、図6(b)に示すよう
に、のページの描画動作および印字動作中に、のペ
ージの編集動作と描画動作が終了すれば、連続印刷が可
能となる。
By compressing the image memory for one page only in the effective image area 10 as described above, there may be a case where the image memory which can be secured for only one page can be secured for two or more pages. For example, in the case of a page printer having a printing resolution of 300 dots per inch, if the image memory of all the print effective areas 15 is prepared, about 2.0 Mbytes per A3 sheet, about 1.5 Mbytes per B4 sheet, A4 sheets per page. A paper capacity of about 1.0 MB is required. Now, assuming that the image memory capacity that can be secured in the RAM 5 is 2 Mbytes, one page of A3 paper, B
It is possible to secure only one page of image memory for four sheets and two pages of A4 sheet. However, if the image memory is formed only by the effective image area 10, depending on the print data, A
Even if 3 sheets or B4 sheets are printed, 2 consecutive sheets
If the total capacity of the effective image area 10 of a page is 2 Mbytes or less, an image memory of 2 pages or more can be secured. When only one page of image memory can be secured, as shown in FIG. 6A, the drawing operation of the page cannot be entered until the printing operation of the page is finished, and as a result, continuous printing is not performed. However, if the image memory for two pages can be secured, as shown in FIG. 6B, if the page editing operation and the page drawing operation are completed during the page drawing operation and the printing operation, the continuous printing is performed. Is possible.

【0012】[0012]

【発明の効果】以上説明したように、本発明によれば、
ページの副走査方向の余白部の余白ライン数を計数し、
この余白ラインに連続する画像部の画像ライン数を計数
し、ページの主走査方向の余白部の余白ドット数を計数
し、この余白ドットに連続する画像部の画像ドット数を
計数し、余白ラインおよび余白ドットにおけるビデオ信
号出力に白マスク処理を行うことにより、印刷有効エリ
アでは1ページ分の画像メモリしか確保できない場合で
も、連続する2ページの有効画像エリアの容量の合計が
画像メモリの総容量以下であれば、カレントページの印
字動作と次ページの描画動作が同時進行できるため、印
刷処理速度が向上する。
As described above, according to the present invention,
Count the number of margin lines in the margin of the page in the sub-scanning direction,
The number of image lines in the image part continuous with this margin line is counted, the number of blank dots in the blank part in the main scanning direction of the page is counted, the number of image dots in the image part continuous with this blank dot is counted, and the blank line Even if only one page of image memory can be secured in the print effective area by performing white mask processing on the video signal output in the blank dots and the blank dot, the total capacity of the effective image areas of two consecutive pages is the total capacity of the image memory. In the following cases, the printing operation of the current page and the drawing operation of the next page can proceed at the same time, which improves the printing processing speed.

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

【図1】本発明の一実施例の機能ブロック図である。FIG. 1 is a functional block diagram of an embodiment of the present invention.

【図2】この実施例の印刷用紙における有効画像エリア
を表す概念図である。
FIG. 2 is a conceptual diagram showing an effective image area on the printing paper of this embodiment.

【図3】この実施例の余白データ制御回路の詳細ブロッ
ク図である。
FIG. 3 is a detailed block diagram of a margin data control circuit of this embodiment.

【図4】この実施例のビデオ出力回路の信号波形図であ
る。
FIG. 4 is a signal waveform diagram of the video output circuit of this embodiment.

【図5】この実施例の余白データ制御回路の信号波形図
である。
FIG. 5 is a signal waveform diagram of the blank space data control circuit of this embodiment.

【図6】ページプリンタコントローラの動作手順を示す
図である。
FIG. 6 is a diagram showing an operation procedure of a page printer controller.

【図7】従来例の機能ブロック図である。FIG. 7 is a functional block diagram of a conventional example.

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

1 CPU 2 ROM 3 フォントメモリ 4 ホストI/Fポート 5 RAM 6 ビデオ出力回路 7 DMA回路 8 余白データ制御回路 9 プリンタI/Fポート 10 有効画像エリア 11 上余白ライン 12 下余白ライン 13 左余白ドット 14 右余白ドット 15 印刷有効エリア 16 印刷禁止エリア 17 画像ライン 18 画像ドット 19 用紙 20 余白ラインカウンタ 21 画像ラインカウンタ 22 余白ドットカウンタ 23 画像ドットカウンタ 24 画像ラインレジスタ 25 余白ドットレジスタ 26 画像ドットレジスタ 27 フリップフロップ 28 フリップフロップ 29 フリップフロップ 30 フリップフロップ 31 ORゲート 32 ORゲート 33 ORゲート 34 NORゲート 35 ANDゲート 36 ANDゲート 37 NOTゲート 38 NOTゲート 39 NOTゲート 1 CPU 2 ROM 3 Font memory 4 Host I / F port 5 RAM 6 Video output circuit 7 DMA circuit 8 Margin data control circuit 9 Printer I / F port 10 Effective image area 11 Upper margin line 12 Lower margin line 13 Left margin dot 14 Right margin dot 15 print valid area 16 print prohibited area 17 image line 18 image dot 19 paper 20 margin line counter 21 image line counter 22 margin dot counter 23 image dot counter 24 image line register 25 margin dot register 26 image dot register 27 flip-flop 28 flip-flops 29 flip-flops 30 flip-flops 31 OR gates 32 OR gates 33 OR gates 34 NOR gates 35 AND gates 36 AND gates 37 NOT Gate 38 NOT gate 39 NOT gate

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ページの副走査方向の余白部の余白ライ
ン数を計数する少なくとも1個の余白ラインカウンタ
と、前記余白ラインに連続する画像部の画像ライン数を
計数する前記余白ラインカウンタと同数の画像ラインカ
ウンタと、前記余白ラインにおいてビデオ信号出力を停
止する白マスク処理を行うビデオ信号マスク回路とを備
えることを特徴とするページプリンタコントローラ。
1. A number equal to at least one blank line counter that counts the number of blank lines in a blank portion of a page in the sub-scanning direction, and the blank line counter that counts the number of image lines in an image portion that is continuous with the blank line. And an image line counter, and a video signal mask circuit for performing a white mask process for stopping the output of the video signal at the blank line, the page printer controller.
【請求項2】 ページの主走査方向の余白部の余白ドッ
ト数を計数する少なくとも1個の余白ドットカウンタ
と、前記余白ドットに連続する画像部の画像ドット数を
計数する前記余白ドットカウンタと同数の画像ドットカ
ウンタと、前記余白ドットにおいてビデオ信号出力を停
止する白マスク処理を行うビデオ信号マスク回路とを備
えることを特徴とするページプリンタコントローラ。
2. The same number as at least one blank dot counter for counting the number of blank dots in a blank portion of the page in the main scanning direction and the blank dot counter for counting the number of image dots of an image portion continuous with the blank dots. And a video signal mask circuit that performs a white mask process for stopping the video signal output at the blank dots.
【請求項3】 ページの副走査方向の余白部の余白ライ
ン数を計数する少なくとも1個の余白ラインカウンタ
と、前記余白ラインに連続する画像部の画像ライン数を
計数する前記余白ラインカウンタと同数の画像ラインカ
ウンタと、ページの主走査方向の余白部の余白ドット数
を計数する少なくとも1個の余白ドットカウンタと、前
記余白ドットに連続する画像部の画像ドット数を計数す
る前記余白ドットカウンタと同数の画像ドットカウンタ
と、前記余白ラインおよび前記余白ドットにおいてビデ
オ信号出力を停止する白マスク処理を行うビデオ信号マ
スク回路とを備えることを特徴とするページプリンタコ
ントローラ。
3. The same number as at least one blank line counter that counts the number of blank lines in a blank portion of the page in the sub-scanning direction, and the blank line counter that counts the number of image lines in an image portion that is continuous with the blank line. Image line counter, at least one blank dot counter that counts the number of blank dots in the blank portion of the page in the main scanning direction, and the blank dot counter that counts the number of image dots in the image portion that is continuous with the blank dots. A page printer controller comprising: the same number of image dot counters; and a video signal mask circuit that performs a white mask process for stopping a video signal output at the blank lines and the blank dots.
JP5030042A 1993-02-19 1993-02-19 Controller of page printer Pending JPH06238950A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5030042A JPH06238950A (en) 1993-02-19 1993-02-19 Controller of page printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5030042A JPH06238950A (en) 1993-02-19 1993-02-19 Controller of page printer

Publications (1)

Publication Number Publication Date
JPH06238950A true JPH06238950A (en) 1994-08-30

Family

ID=12292771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5030042A Pending JPH06238950A (en) 1993-02-19 1993-02-19 Controller of page printer

Country Status (1)

Country Link
JP (1) JPH06238950A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7525686B2 (en) 2004-03-01 2009-04-28 Riso Kagaku Corporation Image processor and image processing program for applying image processing to input data and transferring the same to print engine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7525686B2 (en) 2004-03-01 2009-04-28 Riso Kagaku Corporation Image processor and image processing program for applying image processing to input data and transferring the same to print engine

Similar Documents

Publication Publication Date Title
US20060227357A1 (en) Image forming apparatus, image forming method and printing apparatus
JP2001213015A (en) Image recorder
JPH06238950A (en) Controller of page printer
JP2737880B2 (en) Character processing apparatus and method
JP2523213B2 (en) Page printer print control method
JP2003241917A (en) Image processor, image processing method, program and recording medium
JP2803560B2 (en) Printer control device
JPH1063250A (en) Character processing device
JPS59201870A (en) Printer
JP3437209B2 (en) Image recording device
JPH06149735A (en) Data reception controller
JP3143118B2 (en) Printer and print image pattern development method
JP2613302B2 (en) Reduction printing device
JP2889390B2 (en) Printer device
JP3571119B2 (en) Image drawing device
JPS59123987A (en) Print data developing method of image memory
JP2872144B2 (en) Printing equipment
JPH02193216A (en) Printer interface unit
JPS60136824A (en) Printer control device
JPS58119040A (en) Print controller
JPH02164567A (en) Page printer for information processor
JPH0789143A (en) Graphic printer
JPH03155268A (en) Picture output controller
JPS6198439A (en) Printer
JPH05120414A (en) Data processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990615