JP2523213B2 - Page printer print control method - Google Patents

Page printer print control method

Info

Publication number
JP2523213B2
JP2523213B2 JP2181220A JP18122090A JP2523213B2 JP 2523213 B2 JP2523213 B2 JP 2523213B2 JP 2181220 A JP2181220 A JP 2181220A JP 18122090 A JP18122090 A JP 18122090A JP 2523213 B2 JP2523213 B2 JP 2523213B2
Authority
JP
Japan
Prior art keywords
data
bitmap
control
unit
page printer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2181220A
Other languages
Japanese (ja)
Other versions
JPH0467964A (en
Inventor
今日子 原田
豊茂 能西
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2181220A priority Critical patent/JP2523213B2/en
Publication of JPH0467964A publication Critical patent/JPH0467964A/en
Application granted granted Critical
Publication of JP2523213B2 publication Critical patent/JP2523213B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 キャラクタジェネレータ等のピクセルデータをビット
マップメモリに写像して印刷するページプリンタ印刷制
御方式に関し, 最適なデータ展開手段を選択して,高速な印刷制御を
可能とすることを目的とし, ピクセルデータをビットマップメモリに写像するとき
に,マイクロプロセッサを介してソフトウェアによって
写像する第1の手段と,専用のロジック回路を起動する
ことによりハードウェアによって写像する第2の手段
と,前記第1の手段および前記第2の手段を動的に切り
換える手段とを備え,第1の手段と第2の手段とを条件
により切り換えて写像を行うように構成する。
DETAILED DESCRIPTION [Overview] A page printer print control method for mapping pixel data of a character generator or the like onto a bitmap memory and printing the same. A high-speed print control is enabled by selecting an optimum data expansion means. For mapping the pixel data to the bitmap memory, the first means for mapping by the software through the microprocessor and the second means for mapping by the hardware by activating a dedicated logic circuit. Means and means for dynamically switching the first means and the second means are provided, and the first means and the second means are switched depending on the condition to perform mapping.

〔産業上の利用分野〕 本発明は,キャラクタジェネレータ等のピクセルデー
タをビットマップメモリに写像して印刷するページプリ
ンタ印刷制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a page printer print control system that maps pixel data of a character generator or the like onto a bitmap memory and prints it.

〔従来の技術〕[Conventional technology]

第5図は従来のページプリンタ制御部の全体ブロック
図,第6図は従来技術の実現例,第7図は第6図図示IC
ロジック回路の例を示す。
FIG. 5 is an overall block diagram of a conventional page printer control unit, FIG. 6 is an implementation example of the conventional technique, and FIG. 7 is an IC shown in FIG.
An example of a logic circuit is shown.

第5図に示すページプリンタ20は,ホストコンピュー
タから印刷依頼があると,データ入力部22によりデータ
を受信し,データ処理部23によりデータを解析する。デ
ータ処理部23は,解析結果を,印字位置制御部24,印字
データ制御部25に渡し,印字データ制御部25は,中間形
式で表される印字データを,印字データ記憶部10に格納
する。
When receiving a print request from the host computer, the page printer 20 shown in FIG. 5 receives data by the data input unit 22 and analyzes the data by the data processing unit 23. The data processing unit 23 passes the analysis result to the print position control unit 24 and the print data control unit 25, and the print data control unit 25 stores the print data represented in the intermediate format in the print data storage unit 10.

印字起動制御部21は,データ処理部23からの通知によ
り,ビットマップデータ書込み制御部11とビデオ出力部
26の起動制御を行う。
The print start control unit 21 receives the notification from the data processing unit 23, and the bitmap data write control unit 11 and the video output unit
26 start control.

ビットマップデータ書込み制御部11は,印字データ記
憶部10から読み出した印字データを,キャラクタジェネ
レータ16に格納されたフォントデータに基づきビットマ
ップデータに展開し,ビットマップメモリ17に格納す
る。
The bitmap data writing control unit 11 expands the print data read from the print data storage unit 10 into bitmap data based on the font data stored in the character generator 16, and stores it in the bitmap memory 17.

ビデオ出力部26は,ビットマップメモリ17に格納され
たビットマップデータを読み出し,ビデオ信号に変換し
て印字制御部27に渡す。印字制御部27は,そのビデオ信
号に基づいて印刷を行う。
The video output unit 26 reads the bitmap data stored in the bitmap memory 17, converts it into a video signal, and passes it to the print control unit 27. The print control unit 27 prints based on the video signal.

キャラクタジェネレータ16等のピクセルデータを,ビ
ットマップメモリ17に展開する方式として,従来,第6
図(イ)に示すように,マイクロプロセッサ30を介し
て,ソフトウェア制御により行う方式と,第6図(ロ)
に示すように,マイクロプロセッサ30は初期セットだけ
を行い,実際の展開は,LSIによって構成されるICロジッ
ク回路34によって行う方式とが用いられている。
As a method for expanding the pixel data of the character generator 16 or the like into the bitmap memory 17, the sixth conventional method is used.
As shown in FIG. 6 (a), a method of performing software control via the microprocessor 30, and FIG. 6 (b).
As shown in, the microprocessor 30 performs only the initial setting, and the actual expansion is performed by the IC logic circuit 34 configured by the LSI.

なお,第6図において,30はマイクロプログラムを実
行するマイクロプロセッサ(MPU),31はランダムアクセ
スメモリ(RAM),32は制御プログラム33等を記憶する読
出し専用メモリ(ROM),34はピクセルデータを展開する
ICロジック回路を表す。
In FIG. 6, 30 is a microprocessor (MPU) that executes a microprogram, 31 is a random access memory (RAM), 32 is a read-only memory (ROM) that stores the control program 33, and 34 is pixel data. expand
Represents an IC logic circuit.

ICロジック回路34は,例えば第7図に示すように構成
されており,キャラクタジェネレータ16のソースデータ
と転送先のメモリ内から読み出したデータとを論理和を
とる転送データ処理回路40と,転送するデータのワード
数やライン数を設定する転送データサイズ・レジスタ制
御回路41と,キャラクタジェネレータ16のソースアドレ
スの更新を行うソースアドレス制御回路42と,転送先の
アドレスの制御を行う1ライン転送制御回路43とを備え
ている。なお,この第7図に示すようなICロジック回路
34については,周知であるので,ここでの説明はこの程
度にとどめる。
The IC logic circuit 34 is configured, for example, as shown in FIG. 7, and transfers the source data of the character generator 16 and the data read from the memory of the transfer destination to the transfer data processing circuit 40 that takes the logical sum. A transfer data size register control circuit 41 for setting the number of words and lines of data, a source address control circuit 42 for updating the source address of the character generator 16, and a one-line transfer control circuit for controlling the transfer destination address. It has 43 and. The IC logic circuit as shown in Fig. 7
Since 34 is well known, the explanation here is limited to this extent.

〔発明が解決しようとする課題〕 ページプリンタのピクセル制御には,第6図(イ)に
示すように,マイクロプロセッサ30を用いて,CGデータ
をビットマップメモリ17に展開する方式と,第6図
(ロ)に示すように,マイクロプロセッサ30を直接介さ
ずに,ハードウェア制御によって展開する方式とがあ
る。
[Problems to be Solved by the Invention] For pixel control of a page printer, as shown in FIG. 6A, a microprocessor 30 is used to expand CG data in a bitmap memory 17, and As shown in the figure (b), there is a method of developing by hardware control without directly going through the microprocessor 30.

従来技術では,このいずれか一方だけが用いられてお
り,両方の機能を備えたページプリンタはなかった。
In the prior art, only one of these is used, and there is no page printer having both functions.

ピクセルデータのビットマップメモリ17への展開は,
一般には,ハードウェア制御方式によるほうが高速であ
るが,展開するデータ量が少ない場合には,データの転
送時間よりも回路の初期設定に時間がかかるため,ハー
ドウェアロジックで制御するより,ソフトウェア制御に
よるほうが高速に処理できる。
The expansion of pixel data into the bitmap memory 17
In general, the hardware control method is faster, but when the amount of data to be expanded is small, it takes more time to initialize the circuit than the data transfer time, so software control is needed rather than hardware logic control. Can be processed faster.

すなわち,すべてのピクセルデータ展開を,ハードウ
ェアロジックで制御した場合,データ量の少ないピクセ
ルデータ展開が大量に入ると,ソフトウェア的に展開す
るよりも,はるかに低速になるという問題がある。
That is, if all pixel data expansion is controlled by hardware logic, if a large amount of pixel data expansion with a small amount of data enters, it will be much slower than software expansion.

本発明は上記問題点の解決を図り,最適なデータ展開
手段を選択して,高速な印刷制御を可能とすることを目
的としている。
An object of the present invention is to solve the above-mentioned problems, and to select an optimum data expansion means to enable high-speed printing control.

〔課題を解決するための手段〕[Means for solving the problem]

第1図は本発明の原理説明図である。 FIG. 1 is an explanatory view of the principle of the present invention.

第1図において,10はコード化された印字データを記
憶する印字データ記憶部,11は印字データに基づきビッ
トマップデータを作成するビットマップデータ書込み制
御部,12は書込み制御切り換え判定部,13は書込み制御切
り換え部,14はソフトウェア制御によってデータ展開を
行うビットマップデータ書込み部,15はハードウェア制
御によってデータ展開を行うビットマップデータ書込み
部,16は文字フォントを構成するピクセルデータを記憶
するキャラクタジェネレータ(CG),17は印刷するデー
タをビットマップ形式で格納するビットマップメモリを
表す。
In FIG. 1, 10 is a print data storage unit that stores coded print data, 11 is a bitmap data write control unit that creates bitmap data based on the print data, 12 is a write control switching determination unit, and 13 is A write control switching unit, 14 is a bitmap data writing unit that performs data expansion by software control, 15 is a bitmap data writing unit that performs data expansion by hardware control, and 16 is a character generator that stores pixel data that constitutes a character font (CG), 17 represents a bitmap memory for storing the data to be printed in the bitmap format.

ビットマップデータ書込み部14は,第6図(イ)に示
すような,ソフトウェア制御によってビットマップメモ
リ17へのデータ展開を行う手段である。一方,ビットマ
ップデータ書込み部15は,第6図(ロ)に示すような,
ハードウェア制御によってビットマップメモリ17へのデ
ータ展開を行う手段である。
The bitmap data writing unit 14 is means for expanding data in the bitmap memory 17 by software control as shown in FIG. On the other hand, the bit map data writing unit 15 is as shown in FIG.
It is a means for expanding data in the bitmap memory 17 by hardware control.

本発明では,ビットマップデータ書込み部14,15の2
つの手段を内蔵し,書込み制御切り換え判定部12によっ
て,どちらの手段を使用するかを決め,書き込み制御切
り換え部13によって高速に展開可能なほうを選択する。
In the present invention, 2 of the bitmap data write units 14 and 15 are used.
One means is incorporated, the write control switching determination section 12 determines which means is to be used, and the write control switching section 13 selects one that can be developed at high speed.

〔作用〕[Action]

本発明では,データ量の条件等によって,ハードウェ
ア制御方式とソフトウェア制御方式とを切り換えるの
で,データ量を多少等によらず,より高速なデータ展開
を行うことができる。
According to the present invention, the hardware control method and the software control method are switched depending on the condition of the amount of data, etc., so that the data can be expanded at higher speed regardless of the amount of data.

〔実施例〕 第2図はハードウェア制御方式とソフトウェア制御方
式による文字データの転送時間の比較図,第3図は本発
明の一実施例による書込み制御切り換え判定部の処理説
明図,第4図は本発明の一実施例によるビットマップデ
ータ書込み部の処理フローを示す。
[Embodiment] FIG. 2 is a comparison diagram of transfer time of character data by a hardware control system and a software control system, and FIG. 3 is a process explanatory diagram of a write control switching determination unit according to an embodiment of the present invention, FIG. Shows a processing flow of a bitmap data writing unit according to an embodiment of the present invention.

例えば第6図(イ)に示すソフトウェア制御方式と,
第6図(ロ)に示すハードウェア制御方式とによる1文
字当たりの転送時間を比較すると,文字データの大きさ
によって,第2図に示すように,転送時間の大小が違っ
てくる。
For example, the software control method shown in FIG.
Comparing the transfer time per character by the hardware control method shown in FIG. 6B, the size of the transfer time differs depending on the size of the character data, as shown in FIG.

文字データの大きさ(高さ×幅)が小さい場合には,
ソフトウェア制御方式のほうが,ハードウェア制御方式
のほうよりも,転送時間が短く,高速である。一方,文
字データの大きさが,例えば約20×20ドットを超える
と,ハードウェア制御方式によるほうが高速になる。
If the size of the character data (height x width) is small,
The software control method has a shorter transfer time and higher speed than the hardware control method. On the other hand, if the size of the character data exceeds about 20 × 20 dots, the hardware control method is faster.

そこで,第1図に示す書込み制御切り換え判定部12
は,例えば第3図に示す処理により,データ展開手段の
選択を行う。すなわち,文字データの高さが20ラスター
以下の場合および文字データの幅が20ドット以下の場合
には,ソフトウェア制御によるビットマップデータ書込
み部14を起動し,それ以上の場合には,ハードウェア制
御によるビットマップデータ書込み部15を起動する。
Therefore, the write control switching determination unit 12 shown in FIG.
Selects the data expansion means by the processing shown in FIG. 3, for example. That is, when the height of the character data is 20 rasters or less and when the width of the character data is 20 dots or less, the bitmap data writing unit 14 is activated by software control, and when it is more than that, hardware control is performed. And activates the bitmap data writing unit 15.

なお,このデータ量による判定条件は,一例であり,
設計条件に応じて,他の判定条件を設定することもでき
る。
In addition, the judgment condition by this data amount is an example,
Other judgment conditions can be set according to the design conditions.

ビットマップデータ書込み部14は,第4図(イ)に示
す処理〜により,ビットマップメモリ17へのデータ
展開を行う。
The bitmap data writing unit 14 expands the data to the bitmap memory 17 by the processing shown in FIG.

キャラクタジェネレータ16から,高さ,幅およびX
座標,Y座標のビットマップアドレスなどの文字情報を読
む。
From the character generator 16, height, width and X
Read character information such as coordinate and Y coordinate bitmap address.

ビットマップメモリ17における書込み先アドレスを
算出する。
A write destination address in the bitmap memory 17 is calculated.

作業用のデータ書き込みカウンタを初期化する。 Initialize the work data write counter.

文字のピクセルデータをビットマップメモリ17の書
込み先へ転送する。
The pixel data of the character is transferred to the writing destination of the bitmap memory 17.

全ピクセルデータの書込みが終了するまで,処理
を繰り返し,終了したならば,1文字分の展開処理を終了
する。
The process is repeated until the writing of all pixel data is completed, and when completed, the expansion process for one character is completed.

ビットマップデータ書込み部15は,ハードウェアロジ
ックによる展開のため,第4図(ロ)に示す処理〜
を行う。
Since the bitmap data writing unit 15 is developed by the hardware logic, the processing shown in FIG.
I do.

キャラクタジェネレータ16から,高さ,幅およびX
座標,Y座標のビットマップアドレスなどの文字情報を読
む。
From the character generator 16, height, width and X
Read character information such as coordinate and Y coordinate bitmap address.

ビットマップメモリ17における書込み先アドレスを
算出する。処理,はソフトウェア制御による場合と
同様である。
A write destination address in the bitmap memory 17 is calculated. The process is the same as that under software control.

次に,各文字情報を第7図に示すようなICロジック
回路34のハードウェアポートに設定する。
Next, each character information is set in the hardware port of the IC logic circuit 34 as shown in FIG.

また,ビットマップメモリ17への書込み先情報を,
同様に第7図に示すようなICロジック回路34のハードウ
ェアポートに設定する。
Also, write destination information to the bitmap memory 17
Similarly, it is set to the hardware port of the IC logic circuit 34 as shown in FIG.

以上の準備が終了したならば,ICロジック回路34に
書込み指令を行う。
When the above preparation is completed, a write command is issued to the IC logic circuit 34.

これにより,ハードウェアによるビットマップメモ
リ17への展開が行われる。
As a result, the expansion into the bitmap memory 17 by hardware is performed.

〔発明の効果〕〔The invention's effect〕

以上説明したように,本発明によれば,ピクセルデー
タのデータ量等に応じて,最適なデータ展開を行うこと
ができるようになるので,印刷制御の高速化が可能にな
る。
As described above, according to the present invention, it is possible to perform optimum data expansion according to the amount of pixel data, etc., so that it is possible to speed up print control.

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

第1図は本発明の原理説明図, 第2図はハードウェア制御方式とソフトウェア制御方式
による文字データの転送時間の比較図, 第3図は本発明の一実施例による書込み制御切り換え判
定部の処理説明図, 第4図は本発明の一実施例によるビットマップデータ書
込み部の処理フロー, 第5図は従来のページプリンタ制御部の全体ブロック
図, 第6図は従来技術の実現例, 第7図は第6図図示ICロジック回路の例を示す。 図中,10は印字データ記憶部,11はビットマップデータ書
込み制御部,12は書込み制御切り換え判定部,13は書込み
制御切り換え部,14はビットマップデータ書込み部,15は
ビットマップデータ書込み部,16はキャラクタジェネレ
ータ,17はビットマップメモリを表す。
FIG. 1 is an explanatory view of the principle of the present invention, FIG. 2 is a comparison diagram of transfer time of character data by a hardware control system and a software control system, and FIG. 3 is a write control switching judging unit according to one embodiment of the present invention. FIG. 4 is an explanatory diagram of processing, FIG. 4 is a processing flow of a bitmap data writing unit according to an embodiment of the present invention, FIG. 5 is an overall block diagram of a conventional page printer control unit, FIG. FIG. 7 shows an example of the IC logic circuit shown in FIG. In the figure, 10 is a print data storage unit, 11 is a bitmap data write control unit, 12 is a write control switching determination unit, 13 is a write control switching unit, 14 is a bitmap data writing unit, 15 is a bitmap data writing unit, 16 is a character generator and 17 is a bit map memory.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】キャラクタジェネレータ(16)等のピクセ
ルデータをビットマップメモリ(17)に写像して印刷す
るページプリンタ印刷制御方式において, ピクセルデータをビットマップメモリに写像するとき
に, マイクロプロセッサを介してソフトウェアによって写像
する第1の手段(14)と, 専用のロジック回路を起動することによりハードウェア
によって写像する,前記第1の手段と同じ処理機能を持
つ第2の手段(15)と, 前記第1の手段および前記第2の手段をビットマップメ
モリに写像するデータの条件によって写像対象データご
とに動的に切り換える手段(12,13)とを備えた ことを特徴とするページプリンタ印刷制御方式。
1. A page printer print control system for mapping pixel data of a character generator (16) or the like onto a bitmap memory (17) for printing, and when a pixel data is mapped onto the bitmap memory, a microprocessor is used. First means (14) for mapping by software, and second means (15) for mapping by hardware by activating a dedicated logic circuit, which has the same processing function as the first means, and A page printer print control system characterized by further comprising means (12, 13) for dynamically switching the first means and the second means for each data to be mapped according to the condition of the data to be mapped in the bitmap memory. .
JP2181220A 1990-07-09 1990-07-09 Page printer print control method Expired - Fee Related JP2523213B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2181220A JP2523213B2 (en) 1990-07-09 1990-07-09 Page printer print control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2181220A JP2523213B2 (en) 1990-07-09 1990-07-09 Page printer print control method

Publications (2)

Publication Number Publication Date
JPH0467964A JPH0467964A (en) 1992-03-03
JP2523213B2 true JP2523213B2 (en) 1996-08-07

Family

ID=16096920

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2181220A Expired - Fee Related JP2523213B2 (en) 1990-07-09 1990-07-09 Page printer print control method

Country Status (1)

Country Link
JP (1) JP2523213B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3198985B2 (en) 1997-06-12 2001-08-13 日本電気株式会社 Printing control method
CN102548707B (en) 2009-09-29 2015-06-24 Ntn株式会社 Method for grinding green ball, method for manufacturing ceramic ball, and grinding device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6327891A (en) * 1986-07-22 1988-02-05 富士ゼロックス株式会社 Image processing circuit
JPH01249360A (en) * 1988-03-31 1989-10-04 Kyocera Corp Printing control circuit and system therefor

Also Published As

Publication number Publication date
JPH0467964A (en) 1992-03-03

Similar Documents

Publication Publication Date Title
US5237655A (en) Raster image processor for all points addressable printer
JPH0378651B2 (en)
JP2755308B2 (en) Output method and device
US5122973A (en) Front-end system for a raster output scanner
JP2523213B2 (en) Page printer print control method
JPH04325267A (en) Output method and its device
JPH01290448A (en) Character generator
JP2661742B2 (en) Character processor
JPH11345326A (en) Image processor
JP2580965B2 (en) Printer device
JP2884862B2 (en) Data processing device
JP2872144B2 (en) Printing equipment
JPH05108809A (en) Picture forming device
JPH10240613A (en) Memory access control mehtod and device
JPH02164567A (en) Page printer for information processor
JPS631547A (en) Print controller for laser beam printer
JPH03112668A (en) Printer
JPH04284272A (en) Printing controller
JP2001246788A (en) Printer
JPH05324218A (en) Printer
JPS63278851A (en) Magnification printing system of laser beam printer
JPH09309233A (en) Image forming device and image formation
JPH05309875A (en) Printing treatment device
JPH0412867A (en) Dot pattern generating apparatus
JPH0473170A (en) Serial printer

Legal Events

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