JPH01192597A - Data enlargement and reduction system of electrostatic plotter - Google Patents

Data enlargement and reduction system of electrostatic plotter

Info

Publication number
JPH01192597A
JPH01192597A JP1790988A JP1790988A JPH01192597A JP H01192597 A JPH01192597 A JP H01192597A JP 1790988 A JP1790988 A JP 1790988A JP 1790988 A JP1790988 A JP 1790988A JP H01192597 A JPH01192597 A JP H01192597A
Authority
JP
Japan
Prior art keywords
data
maximum value
paper width
enlargement
width direction
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
JP1790988A
Other languages
Japanese (ja)
Inventor
Hiroshi Yoshikawa
浩 吉川
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 JP1790988A priority Critical patent/JPH01192597A/en
Publication of JPH01192597A publication Critical patent/JPH01192597A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To prevent the overflow of image-forming data out of a paper width to avoid a wasteful process of reforming the data, by obtaining an optimum magnification by a maximum value judgement part and an optimum magnification calculation part and conducting the enlargement or reduction with the optimum magnification. CONSTITUTION:A maximum value judgement part 2 reads input data 1, obtains a maximum value YMAX in a paper width direction, and stores it. Since the input data 1 contains the coordinates of a start point and an end point in image- forming, a maximum value YMAX in a paper width direction is easily obtained. Because an optimum magnification calculating part 3 previously recognizes an effective image-forming area WIDTH in a paper width direction, an optimum magnification N1, which is maximum within a paper width, can be obtained by a formula (I). In an enlargement and reduction part 4, the input data 1 is enlarged or reduced according to the optimum magnification N1 and outputted as enlargement/reduction data 5. An electrostatic plotter forms an image on a continuous paper according to the enlargement/reduction data 5.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、図面を出力する静電プロッタのデータ拡大縮
小方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data scaling method for an electrostatic plotter that outputs drawings.

〔従来の技術〕[Conventional technology]

従来、この種の静電プロッタのデータ拡大縮小方式は、
第2図に示すように、倍率指定部6において利用者入出
力部7を通じて、利用者により拡大縮小倍率が与えられ
、入力データ1は、その倍率にしたがって拡大縮小部4
により拡大縮小が行なわれて、拡大縮小データ8として
出力される。
Conventionally, the data scaling method for this type of electrostatic plotter is
As shown in FIG. 2, a scaling factor is given by the user through the user input/output section 7 in the scaling factor specifying section 6, and the input data 1 is sent to the scaling section 4 according to the scaling factor.
The enlarged/reduced data is then outputted as enlarged/reduced data 8.

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

上述した従来の静電プロッタのデータ拡大縮小方式は、
利用者により入力された拡大縮小倍率で入力データを拡
大縮小するだけなので、紙幅方向の作画サイズの制限を
越えてデータが紙幅方向にはみ出した場合、これらのは
み出したデータが作画されてないことになるし、逆に作
画データが小さすぎて見えないという場合もあるという
欠点がある。この場合、もう−度最初からデータ変換を
行わなくてはならないし、また、データがはみだしてい
ることに気がつがないようなミスも発生ずる。
The data scaling method of the conventional electrostatic plotter mentioned above is
Since the input data is simply scaled up or down using the scaling factor entered by the user, if the data exceeds the drawing size limit in the paper width direction and protrudes in the paper width direction, it is possible that the overflowing data will not be drawn. On the other hand, there is a drawback that the drawing data may be so small that it cannot be seen. In this case, the data must be converted from the beginning again, and mistakes may occur in which the data is not noticed.

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

本発明の静電プロッタのデータ拡大縮小方式は、入力デ
ータの紙幅方向の最大値を認識し記憶する最大値判定部
と、この最大値判定部で判定された最大値と紙幅方向の
有効作画範囲とから最適な拡大縮小倍率を計算する最適
倍率計算部と、計算で求めた拡大縮小倍率により入力デ
ータの拡大縮小を行う拡大縮小部を有している。
The data scaling method of the electrostatic plotter of the present invention includes a maximum value determination unit that recognizes and stores the maximum value of input data in the paper width direction, and a maximum value determined by the maximum value determination unit and an effective plotting range in the paper width direction. It has an optimal magnification calculation section that calculates an optimal magnification/contraction magnification based on the calculated magnification/contraction magnification, and a magnification/contraction section that scales input data using the calculated magnification/contraction magnification.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例の構成図である。FIG. 1 is a block diagram of an embodiment of the present invention.

最大値判定部2は、入力データ1を読み込み、その紙幅
方向の最大値YMAXを求め、記憶する。
The maximum value determining unit 2 reads the input data 1, determines the maximum value YMAX in the paper width direction, and stores it.

入力データ1には、作画の起点と終点の各座標を含んで
いるため、紙幅方向の最大値YMAXは容易に求まる。
Since the input data 1 includes the coordinates of the starting point and ending point of drawing, the maximum value YMAX in the paper width direction can be easily determined.

なお、静電プロッタはロールタイプの連続紙を用いるの
で、紙幅方向にのみ作画サイズの制限がある。
Note that since the electrostatic plotter uses roll-type continuous paper, the drawing size is limited only in the width direction of the paper.

最適倍率計算部3は、紙幅方向の有効作画範囲WIDT
Hを予め認識しているため、(1)式により、紙幅に納
まり、かつ最大である最適倍率N1を求めることができ
る。
The optimum magnification calculation unit 3 calculates the effective drawing range WIDT in the paper width direction.
Since H is recognized in advance, the optimum magnification N1 that fits within the paper width and is the maximum can be determined using equation (1).

N1士WI DTH+YMAX          (
1)拡大縮小部4では、この最適倍率Nlにより、入力
データ1を拡大、または縮小して、拡大縮小データ5と
して出力し、静電プロッタ(図示省略)は、この拡大縮
小データ5により連続紙の上に作画する。
N1 WI DTH+YMAX (
1) The enlarging/reducing unit 4 enlarges or reduces the input data 1 using the optimum magnification Nl and outputs it as enlarged/reduced data 5, and the electrostatic plotter (not shown) uses this enlarged/reduced data 5 to print continuous paper. Draw on top of.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、最大値判定部と最適倍率
計算部により最適倍率を求め自動的に、最適な倍率で入
力データの拡大縮小を行なうことができるため、作画デ
ータが紙幅からはみ出すことを防いだり、また、−回の
操作で見やすい大きさの画面が得られるので、無駄なや
り直しなどをしなくてすむという効果がある。
As explained above, the present invention is capable of determining the optimum magnification using the maximum value determining section and the optimum magnification calculating section and automatically scaling up and down the input data at the optimum magnification, so that the drawing data does not extend beyond the paper width. In addition, since a screen of an easy-to-read size can be obtained with just one operation, there is no need for unnecessary redoing.

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

第1図は本発明の構成図、第2図は従来の構成図である
。 1・・・入力データ、2・・・最大値判定部、3・・・
最適倍率計算部、4・・・拡大縮小部、5,8・・・拡
大縮小データ、6・・・倍率指定部、7・・・利用者入
出力部。
FIG. 1 is a block diagram of the present invention, and FIG. 2 is a conventional block diagram. 1... Input data, 2... Maximum value judgment section, 3...
Optimal magnification calculation unit, 4... Enlargement/reduction unit, 5, 8... Enlargement/reduction data, 6... Magnification designation unit, 7... User input/output unit.

Claims (1)

【特許請求の範囲】[Claims] 入力データの紙幅方向の最大値を認識し記憶する最大値
判定部と、この最大値判定部で判定された最大値と紙幅
方向の有効作画範囲とから最適な拡大縮小倍率を計算す
る最適倍率計算部と、該拡大縮小倍率により前記入力デ
ータの拡大縮小を行う拡大縮小部を有する静電プロッタ
のデータ拡大縮小方式。
A maximum value determination unit that recognizes and stores the maximum value in the paper width direction of input data, and an optimal magnification calculation that calculates the optimal enlargement/reduction magnification from the maximum value determined by this maximum value determination unit and the effective drawing range in the paper width direction. A data scaling method for an electrostatic plotter, comprising: a scaling section; and a scaling section that scales the input data according to the scaling factor.
JP1790988A 1988-01-27 1988-01-27 Data enlargement and reduction system of electrostatic plotter Pending JPH01192597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1790988A JPH01192597A (en) 1988-01-27 1988-01-27 Data enlargement and reduction system of electrostatic plotter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1790988A JPH01192597A (en) 1988-01-27 1988-01-27 Data enlargement and reduction system of electrostatic plotter

Publications (1)

Publication Number Publication Date
JPH01192597A true JPH01192597A (en) 1989-08-02

Family

ID=11956878

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1790988A Pending JPH01192597A (en) 1988-01-27 1988-01-27 Data enlargement and reduction system of electrostatic plotter

Country Status (1)

Country Link
JP (1) JPH01192597A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0362898U (en) * 1989-10-20 1991-06-19

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0362898U (en) * 1989-10-20 1991-06-19

Similar Documents

Publication Publication Date Title
JPH118814A (en) Digital photograph processing system
JPH01192597A (en) Data enlargement and reduction system of electrostatic plotter
JPH05323941A (en) Scrolling controller
JPH0624046A (en) Printer
JPH01184156A (en) Printing automatic contracting/magnifying system of printer
JPH08101881A (en) Image data display device and method
JPH10198810A (en) Image data generator
JPH08297747A (en) Drawing device and drawing method
JPH05266013A (en) Document page compression processing method
JP2794409B2 (en) Ruled line creation device
JPS6469355A (en) Data enlarging/reducing device in electrostatic plotter
JPH0398177A (en) Data conversion system
JPH0519952A (en) Handwritten character input display device
JPS63203363A (en) Printing controller
JP3359166B2 (en) Printer device and line segment division drawing method of printer device
KR20050104022A (en) Apparatus and method for enlarge and reduce printing
JP3118064B2 (en) Curve drawing device
JP3187137B2 (en) Image processing method and apparatus
JPH04137187A (en) Plotting system for line in raster image
JPH06215079A (en) Graphic processing device
JPH05127848A (en) Form printing device
JPH0349592U (en)
JPH04167188A (en) string formatter
JPS63236700A (en) Data magnification reduction system of electrostatic plotter
JPH0750427B2 (en) Drawing system