JP2715475B2 - Graphic output device - Google Patents

Graphic output device

Info

Publication number
JP2715475B2
JP2715475B2 JP63245341A JP24534188A JP2715475B2 JP 2715475 B2 JP2715475 B2 JP 2715475B2 JP 63245341 A JP63245341 A JP 63245341A JP 24534188 A JP24534188 A JP 24534188A JP 2715475 B2 JP2715475 B2 JP 2715475B2
Authority
JP
Japan
Prior art keywords
data
graphic
area
rectangular area
buffer memory
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
JP63245341A
Other languages
Japanese (ja)
Other versions
JPH0293724A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP63245341A priority Critical patent/JP2715475B2/en
Publication of JPH0293724A publication Critical patent/JPH0293724A/en
Application granted granted Critical
Publication of JP2715475B2 publication Critical patent/JP2715475B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ページプリンタに図形データを出力する図
形出力装置に関する。
Description: TECHNICAL FIELD The present invention relates to a graphic output device that outputs graphic data to a page printer.

〔従来の技術〕[Conventional technology]

従来、この種の図形出力装置では、ビットマップバッ
ファメモリにプリンタの1ページ分のドツトに対応する
記憶領域を確保し、上記記憶領域に所望の図形データを
展開し、上記展開したデータを含むビットマップバッフ
ァメモリの1ページ分の全データを順次プリンタに送出
していた。
Conventionally, in this type of graphic output device, a storage area corresponding to a dot of one page of a printer is secured in a bit map buffer memory, desired graphic data is expanded in the storage area, and a bit including the expanded data is stored. All data for one page of the map buffer memory has been sequentially sent to the printer.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

ところが、上記のような図形出力装置では、ビットマ
ップバッファメモリの記憶領域のどの部分に図形データ
が描かれているかにかかわらず、常にビットマップバッ
ファメモリの全データをプリンタに送出していたため、
例えば上記メモリの一部にしか図形が描かれていない場
合でも、図形が描かれていない部分のデータもプリンタ
に送出しなければならず、上記データの出力処理に時間
がかかり、以後のデータ処理が停滞するという問題点が
あった。
However, in the graphic output device as described above, the entire data of the bitmap buffer memory is always sent to the printer regardless of which part of the storage area of the bitmap buffer memory the graphic data is drawn.
For example, even when a graphic is drawn only in a part of the memory, the data in the part where the graphic is not drawn must be sent to the printer. There was a problem that stagnation.

本発明は、上記問題点に鑑みなされたもので、プリン
タに送出するデータ量を削減すると共に、データ処理時
間を短縮することができる図形出力装置を提供すること
を課題とする。
The present invention has been made in view of the above problems, and has as its object to provide a graphic output device capable of reducing the amount of data to be sent to a printer and shortening data processing time.

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

本発明では、所定量(1ページ分)の図形データをビ
ットマップバッファメモリ等の図形記憶手段に展開した
後、該展開したデータをラスタデータとしてページプリ
ンタ等の印字手段に出力して印字させる図形出力装置に
おいて、前記図形データの描画領域を算出処理する図形
処理手段と、前記算出処理された描画領域を記憶する描
画領域記憶部等の記憶手段と、前記展開したデータを印
字する際に、前記描画領域記憶部に記憶された描画領域
に対応する当該データを前記ビットマップバッファメモ
リから読み出し処理する印字処理手段とを具える。
According to the present invention, a predetermined amount (one page) of graphic data is developed in graphic storage means such as a bitmap buffer memory, and the developed data is output as raster data to a printing means such as a page printer to be printed. In the output device, figure processing means for calculating a drawing area of the figure data, storage means such as a drawing area storage unit for storing the calculated drawing area, and when printing the developed data, Print processing means for reading out the data corresponding to the drawing area stored in the drawing area storage unit from the bitmap buffer memory and performing processing.

〔作用〕[Action]

図形処理手段で算出され、描画領域記憶部に記憶され
た図形データの描画領域に応じてビットマップバッファ
メモリを走査して上記描画領域のデータのみをプリンタ
へ送出する。
The bitmap buffer memory is scanned in accordance with the drawing area of the graphic data calculated by the graphic processing means and stored in the drawing area storage unit, and only the data of the drawing area is sent to the printer.

従って、プリンタに送出するデータ量を削減すること
ができ、データ処理時間を短縮することができる。
Therefore, the amount of data sent to the printer can be reduced, and the data processing time can be reduced.

〔実施例〕〔Example〕

本発明の実施例を第1図乃至第5図の図面に基づき詳
細に説明する。
An embodiment of the present invention will be described in detail with reference to the drawings of FIGS.

第1図は、本発明の概略構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a schematic configuration of the present invention.

図において、図形データ記憶部11は、サーバ等から入
力した図形データを記憶している。
In the figure, a graphic data storage unit 11 stores graphic data input from a server or the like.

ビットマップバッファメモリ(以下、「バッファメモ
リ」という。)12は、後述するCPU10の制御により、ペ
ージプリンタの1ページ分のドットに対応する記憶領域
に上記図形データを展開する。例えば、240DPI[dots/i
nch]のページプリンタにA4の用紙がセットされている
場合には、210[mm]×297[mm]≒1984[dots」×2806
[dots]のビットマップバッファが必要である。
A bitmap buffer memory (hereinafter, referred to as “buffer memory”) 12 develops the graphic data in a storage area corresponding to one page of dots of a page printer under the control of a CPU 10 described later. For example, 240 DPI [dots / i
nch] page printer when A4 paper is set, 210 [mm] x 297 [mm] / 1984 [dots] x 2806
A [dots] bitmap buffer is required.

描画領域記憶部13は、上記CPU10の図形処理によって
算出されたバッファメモリ12に展開した図形データの描
画領域を記憶している。
The drawing area storage unit 13 stores a drawing area of graphic data developed in the buffer memory 12 calculated by the graphic processing of the CPU 10.

ページプリンタ14は、上記CPU10の印字処理によって
送出されるデータを受取り、図形を印字する。
The page printer 14 receives the data transmitted by the printing process of the CPU 10 and prints a graphic.

CPU10は、後述する各部の動作制御を行うと共に、入
力した図形データから図形の描画領域を算出する図形処
理及び上記描画領域に対応するバッファメモリ12のアド
レスを算出する印字処理を行っている。
The CPU 10 controls the operation of each unit, which will be described later, and performs graphic processing for calculating a graphic drawing area from input graphic data and print processing for calculating an address of the buffer memory 12 corresponding to the graphic area.

次に上記図形処理及び印字処理の処理動作について第
2図のフローチャートに基づき説明する。
Next, the processing operations of the graphic processing and the printing processing will be described with reference to the flowchart of FIG.

図において、図形データ記憶部11から印字を行うため
のコマンド列で表される印字データを読み込むと(ステ
ップ101)、CPU10はまず上記データがページ終了信号か
どうか判断する(ステップ102)。ここで、上記データ
がページ終了信号ではなく印字データを示すコマンドの
場合には、図形処理としてページプリンタの1ページ分
のドットに対応するバッファメモリ12の記憶領域に上記
図形データに基づき図を展開し、展開した図形を描画さ
せるとともに(ステップ103)、上記バッファメモリ12
の記憶領域のうち、描画された図が占有する領域を計算
し(ステップ104)、描画領域記憶部13に上記図が占有
する領域を記憶する(ステップ107)。例えば、上記コ
マンドが、 (DRAWCIRCLE 800,1300,500) …… (DRAWSQUARE 500,500,1500,1500) …… の場合には、は座標(800,1300)を中心とする半径50
0の円を描くという意味で、は座標(500,500)と、
(1500,1500)とを対角とする四角形を描くという意味
(第3図参照)であるので、第4図に示すように、確保
した上記バッファメモリ12にまず最初のコマンドに対応
した円を描くと共に、上記描画領域記憶部13に円が占有
する領域を記憶する。この場合、円が占有する領域は、
(300,800,1000,1000)のリストで表される。なお、上
記リスト内の各要素は、順に領域の左下端点のX座標、
Y座標、領域の幅並びに高さである。また、最初のコマ
ンドの読み込み時には、描画領域記憶部13はクリアされ
ているので、後述するステップ105の描画領域記憶部13
に記憶されている領域を読み出す工程と、ステップ106
の新たな領域を計算する工程とは、スキップして円が占
有する領域(300,800,1000,1000)を上記描画領域記憶
部13に記憶する(ステップ107)。
In the figure, when print data represented by a command sequence for printing is read from the graphic data storage unit 11 (step 101), the CPU 10 first determines whether the data is a page end signal (step 102). Here, if the data is a command indicating print data instead of a page end signal, a figure is developed based on the figure data in a storage area of the buffer memory 12 corresponding to one page of dots of the page printer as a figure processing. Then, the developed figure is drawn (step 103), and the buffer memory 12
Of the storage areas, the area occupied by the drawn figure is calculated (step 104), and the area occupied by the figure is stored in the drawing area storage unit 13 (step 107). For example, if the above command is (DRAWCIRCLE 800,1300,500) …… (DRAWSQUARE 500,500,1500,1500) ……, the radius 50 around the coordinates (800,1300)
In the sense of drawing a circle of 0, the coordinates (500,500)
(1500, 1500) means that a rectangle having a diagonal of (1500, 1500) is drawn (see FIG. 3). Therefore, as shown in FIG. While drawing, the area occupied by the circle is stored in the drawing area storage unit 13. In this case, the area occupied by the circle is
(300,800,1000,1000). Note that each element in the list is an X coordinate of a lower left point of the area in order,
Y coordinate, width and height of the area. When the first command is read, the drawing area storage unit 13 is cleared, so that the drawing area storage unit
Reading the area stored in the
The step of calculating a new area is to skip and store the area (300, 800, 1000, 1000) occupied by the circle in the drawing area storage unit 13 (step 107).

次にCPU10は、読み込むべき印字データが存在するか
どうか判断し(ステップ108)、存在する場合には、ス
テップ101に戻って、のコマンドを読み込む。そして
ステップ102を経てステップ103に進み、第4図に示すよ
うに、上記バッファメモリ12に上記コマンドに対応した
四角形を描き、さらに上記描画領域記憶部13に記憶され
た値を、四角形の領域を含む値に更新する。この場合、
四角形の占有する領域は、(500,500,1000,1000)であ
るから、更新された結果の値は、(300,500,1200,130
0)のリストとなる。この更新された値は、上記描画領
域記憶部13に新たに記憶される(ステップ107)。そし
て、ステップ108で次ぎのデータの存在を確認し、ステ
ップ101でそのデータを読み込み、ステップ102でページ
終了信号かどうか判断する。
Next, the CPU 10 determines whether there is print data to be read (step 108), and if so, returns to step 101 and reads the command. Then, the process proceeds to step 103 via step 102, and as shown in FIG. 4, a rectangle corresponding to the command is drawn in the buffer memory 12, and the value stored in the drawing area storage unit 13 is replaced with a square area. Update to include value. in this case,
Since the area occupied by the rectangle is (500,500,1000,1000), the value of the updated result is (300,500,1200,130
0). This updated value is newly stored in the drawing area storage unit 13 (step 107). Then, the existence of the next data is confirmed at step 108, the data is read at step 101, and it is determined at step 102 whether or not it is a page end signal.

ここで上記データがページ終了記号の場合には、印字
処理に処理動作が移行して、描画領域記憶部13に記憶さ
れた領域の値があるかどうか判断する(ステップ10
9)。ここで、記憶された領域の値がない場合には、ス
テップ108に進み、上記同様の動作を行い、また描画領
域記憶部13に記憶された領域の値(300,500,1200,130
0)がある場合には、上記値(300,500,1200,1300)に基
づき図形(円と四角形)の描画領域に対応するバッファ
メモリ12のアドレスを計算する(ステップ110)。そし
て、計算結果であるアドレスに応じてバッファメモリ12
を走査して上記アドレスが示す領域からイメージデータ
を読み出し、上記読み出したイメージデータをページプ
リンタ14に送出する(ステップ111)。データの送出が
終了すると、CPU10は、バッファメモリ12及び描画領域
記憶部13をクリアして(ステップ112、113)、ステップ
108に進み、次のデータがある場合には、図形処理に処
理動作が移行し、また次のデータがない場合には、上記
図形処理及び印字処理の処理動作を終了する。
Here, if the data is a page end symbol, the processing operation shifts to printing processing, and it is determined whether or not there is a value of the area stored in the drawing area storage unit 13 (step 10).
9). If there is no stored area value, the process proceeds to step 108, where the same operation as described above is performed, and the area value stored in the drawing area storage unit 13 (300, 500, 1200, 130
If there is (0), the address of the buffer memory 12 corresponding to the drawing area of the figure (circle and rectangle) is calculated based on the values (300, 500, 1200, 1300) (step 110). Then, according to the address as the calculation result, the buffer memory 12
Is scanned to read image data from the area indicated by the address, and the read image data is sent to the page printer 14 (step 111). When the data transmission is completed, the CPU 10 clears the buffer memory 12 and the drawing area storage unit 13 (steps 112 and 113), and
Proceeding to 108, if there is the next data, the processing operation shifts to the graphic processing. If there is no next data, the processing operation of the graphic processing and print processing ends.

これにより、ページプリンタ14は、CPU10の制御によ
って上記バッファメモリ12から送出されたイメージデー
タに応じて、第3図に示すような各ページごとの図形の
印字を行うことができる。
As a result, the page printer 14 can print a figure for each page as shown in FIG. 3 according to the image data sent from the buffer memory 12 under the control of the CPU 10.

従って、本発明では、図形が描かれていない部分のデ
ータをプリンタに送出する必要がなくなり、上記プリン
タに送出するデータ量を削減することができる。
Therefore, according to the present invention, it is not necessary to send data of a portion where no figure is drawn to the printer, and the amount of data sent to the printer can be reduced.

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

以上説明したように、本発明では、図形の描かれた領
域のデータのみをプリンタに送出するので、送出するデ
ータ量を削減することができるとともに、データ処理時
間を短縮することができ、ひいてはシステム全体の処理
能力を向上することができる。
As described above, according to the present invention, since only the data in the area where the graphic is drawn is sent to the printer, the amount of data to be sent can be reduced, and the data processing time can be shortened. The overall processing capacity can be improved.

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

第1図は本発明に係る図形出力装置の概略構成を示すブ
ロック図、第2図は第1図の図形出力装置における図形
処理及び印字処理の処理動作を説明するためのフローチ
ャート、第3図はプリンタによって印字される図形を示
す図、第4図及び第5図はそれぞれビットマップバッフ
ァメモリに展開した図形データを示す図である。 10……CPU、11……図形データ記憶部、12……ビットマ
ップバッファメモリ(バッファメモリ)、13……描画領
域記憶部、14……ページプリンタ。
FIG. 1 is a block diagram showing a schematic configuration of a graphic output apparatus according to the present invention, FIG. 2 is a flowchart for explaining processing operations of graphic processing and printing processing in the graphic output apparatus of FIG. 1, and FIG. FIGS. 4 and 5 are diagrams showing graphics printed by a printer, and FIGS. 4 and 5 are diagrams each showing graphics data developed in a bitmap buffer memory. 10 CPU CPU 11 Graphic data storage unit 12 Bitmap buffer memory (buffer memory) 13 Drawing area storage unit 14 Page printer

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】所定量の図形データ毎に該図形データを図
形記憶手段に展開した後、該展開したデータを印字手段
に出力して印字させる図形出力装置において、 前記展開したデータ内の描画図形を含む矩形領域を算出
する算出手段と、 前記算出された矩形領域を示す矩形領域情報を記憶する
描画領域記憶手段と、 前記展開したデータを印字する際に、前記矩形領域情報
によって示される矩形領域に対応する展開データ領域を
走査し、この走査によって前記図形記憶手段から該矩形
領域に対応する展開データを読み出して前記印字手段に
転送する印字処理手段と を具備したことを特徴とする図形出力装置。
1. A graphic output device for expanding graphic data for each predetermined amount of graphic data in graphic storage means, and outputting the developed data to a printing means for printing. Calculating means for calculating a rectangular area including: a drawing area storing means for storing rectangular area information indicating the calculated rectangular area; and a rectangular area indicated by the rectangular area information when printing the developed data. Print processing means for scanning a development data area corresponding to the rectangular area, reading the development data corresponding to the rectangular area from the graphic storage means by this scanning, and transferring the data to the printing means. .
JP63245341A 1988-09-29 1988-09-29 Graphic output device Expired - Fee Related JP2715475B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63245341A JP2715475B2 (en) 1988-09-29 1988-09-29 Graphic output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63245341A JP2715475B2 (en) 1988-09-29 1988-09-29 Graphic output device

Publications (2)

Publication Number Publication Date
JPH0293724A JPH0293724A (en) 1990-04-04
JP2715475B2 true JP2715475B2 (en) 1998-02-18

Family

ID=17132229

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63245341A Expired - Fee Related JP2715475B2 (en) 1988-09-29 1988-09-29 Graphic output device

Country Status (1)

Country Link
JP (1) JP2715475B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS593625A (en) * 1982-06-30 1984-01-10 Fujitsu Ltd Empty confirmation control system of image buffer of printer
JPS62164548A (en) * 1986-01-16 1987-07-21 Hitachi Ltd Access control system for dot memory

Also Published As

Publication number Publication date
JPH0293724A (en) 1990-04-04

Similar Documents

Publication Publication Date Title
US5136688A (en) Print data processing apparatus for an image forming apparatus
JPH0345076A (en) Processing system for picture data
JPH0378651B2 (en)
JPH0263763A (en) Printing apparatus
US5586226A (en) Control method and device for a unicolor printer
JP2715475B2 (en) Graphic output device
JPH05313636A (en) Image supply device
US5867637A (en) Document processing with flexible resolution and output style
JPS6179674A (en) Image/character overlapping printing control system of printer
JPS60159077A (en) Printer controller
JPH0474740B2 (en)
JP2711860B2 (en) Output control method and device
JP3450958B2 (en) Printing apparatus and printing method
JP3143118B2 (en) Printer and print image pattern development method
JPH0425570B2 (en)
JP2908571B2 (en) Page printer
JPS59201870A (en) Printer
JP3864520B2 (en) Print processing apparatus and print processing method
JP3591096B2 (en) How to control a page printer
JP2710140B2 (en) Output control device
JP2738174B2 (en) Format control method
JP2598125B2 (en) Output control device
JPH09277616A (en) Printer and control method therefor
JPS63242561A (en) Font reducing system
JPH02171082A (en) Facsimile equipment

Legal Events

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