JPH0499659A - Smoothing system of bit map character data for printer - Google Patents

Smoothing system of bit map character data for printer

Info

Publication number
JPH0499659A
JPH0499659A JP2217595A JP21759590A JPH0499659A JP H0499659 A JPH0499659 A JP H0499659A JP 2217595 A JP2217595 A JP 2217595A JP 21759590 A JP21759590 A JP 21759590A JP H0499659 A JPH0499659 A JP H0499659A
Authority
JP
Japan
Prior art keywords
program
printer
pattern
buffer memory
smoothing
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.)
Granted
Application number
JP2217595A
Other languages
Japanese (ja)
Other versions
JP2890742B2 (en
Inventor
Nobuhiro Kasagi
笠木 信宏
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 JP2217595A priority Critical patent/JP2890742B2/en
Publication of JPH0499659A publication Critical patent/JPH0499659A/en
Application granted granted Critical
Publication of JP2890742B2 publication Critical patent/JP2890742B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To obtain sufficiently minimum value of an approximate error of a curve of a character profile in a bit map by storing a printing pattern obtained by alternately repeating enlarging of a printable minimum magnification and smoothing in a buffer memory. CONSTITUTION:When data are input, a master controller 1 reads a control program from a program ROM 2, and executes it. A printing pattern is developed in a buffer memory for constituting a RAM 3, and enlarged twice. The printing pattern of the obtained result is developed in the buffer memory, smoothed, further enlarged twice, and then smoothed. Thus, smoothed printing data are input to a print controller 5, and dot printed by a printing mechanism.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プリンタの拡張制御機能に関し、特に、ビッ
トマツプ文字データのスムージング処理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to extended control functions of printers, and particularly to a smoothing processing method for bitmap character data.

〔従来の技術〕[Conventional technology]

従来、この種のプリンタは、任意の倍率の拡大文字にス
ムージング処理を行い描画する際に、ドツトマトリック
ス型フォントとして内部に記憶されている文字パターン
に目的とする任意の倍率の拡大を一括に行い、得られた
印字パターンを一時的にバッファメモリ内に記憶させ、
その印字パターンを指定された回数のみスムージング処
理を行っている。
Conventionally, this type of printer performs smoothing processing on enlarged characters at an arbitrary magnification when drawing, and then enlarges character patterns stored internally as a dot matrix font at the desired magnification all at once. , temporarily store the obtained print pattern in the buffer memory,
The printing pattern is smoothed a specified number of times.

従来技術について図面を参照して説明する。The prior art will be explained with reference to the drawings.

第2図(1) 、 (2) 、 (3)は従来例の動作
原理を示す説明図である。
FIGS. 2(1), (2), and (3) are explanatory diagrams showing the operating principle of the conventional example.

ここで、従来技術では、4倍拡大後、スムージング処理
を行って印字パターンを形成させる際には、第2図(1
)(以下、第2図を略す、)のパターンを4倍拡大にし
て(2)のパターンを得たffl、この結果に指定され
た回数のみスムージング処理をして(3)のパターンを
得、これを印字している3 〔発明が解決しようとする課題〕 上述した従来のプリンタでは、目的とする任意の拡大を
一括に行い、その後、指定された回数のみスムージング
処理を行っているので、スムージング処理を行う回数が
文字の拡大における倍率に比して少ない場合、文字輪郭
の曲線部の近似誤差かビットマツプ上で十分最小の値と
ならないという欠点がある。
Here, in the conventional technology, when performing smoothing processing to form a print pattern after 4 times enlargement, as shown in Fig. 2 (1
) (hereinafter, Figure 2 is omitted) is enlarged four times to obtain the pattern (2) ffl, and this result is smoothed the specified number of times to obtain the pattern (3). 3 [Problems to be Solved by the Invention] The conventional printers described above perform any desired enlargement all at once, and then perform smoothing processing a specified number of times. If the number of times of processing is small compared to the magnification of the character, there is a drawback that the approximation error of the curved portion of the character outline will not be sufficiently minimized on the bitmap.

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

本発明のプリンタのビットマツプ文字データのスムージ
ング処理方式は、ドツトマトリックス型フォント構造を
有するマイクロプログラム制御のプリンタにおいて、任
意の倍率の拡大文字にスムージング処理を行い描画する
際に、印字可能な最小倍率の拡大とスムージング処理を
交互に繰返して目的とする任意の倍率の拡大文字を描画
させるプログラムを内蔵しているリードオンリーメモリ
(以下、ROMと略す。)と、ROM内のプログラムを
始めとするプリンタ装置の各部を制御するマスタ制御部
によりプログラム実行中に、新しく得た印字パターンま
たはそのパターンを得るまでに必要とした印字パターン
を一時的に記憶するバッファメモリとを有している。
The bitmap character data smoothing processing method of the printer of the present invention is a microprogram-controlled printer having a dot matrix type font structure. A read-only memory (hereinafter referred to as ROM) that contains a program that alternately repeats enlargement and smoothing processing to draw enlarged characters at a desired magnification, and a printer device that includes the program in the ROM. The printer has a buffer memory that temporarily stores a newly obtained print pattern or a print pattern required until the new pattern is obtained while a program is being executed by a master control section that controls each part of the printer.

〔実施例〕〔Example〕

本発明の実施例について図面に基づいて説明する。 Embodiments of the present invention will be described based on the drawings.

第1図は本発明の一実施例のビットマツプ文字データの
スムージング処理方式のブロック図、第2図(1) 、
 (4) 、 (5) 、 (6) 、 (7)は本実
施例の動作原理を示す説明図である。
FIG. 1 is a block diagram of a bitmap character data smoothing processing method according to an embodiment of the present invention, and FIG. 2 (1),
(4), (5), (6), and (7) are explanatory diagrams showing the operating principle of this embodiment.

第1図において、本実施例は、マスタ制御部1と、ブロ
クラムメモリ(プログラムROM)2と、バッファメモ
リ3と、ドツトマトリックスパターンメモリ(印字RO
M)4と、印字制御部5とを有し、これらがアドレスバ
ス6およびデータバス7を介して接続された精成になっ
ている。
In FIG. 1, this embodiment includes a master control section 1, a block memory (program ROM) 2, a buffer memory 3, and a dot matrix pattern memory (print ROM).
M) 4 and a print control section 5, which are connected via an address bus 6 and a data bus 7.

マスタ制御部1は、プリンタ装置全体を制御する機能お
よび拡大文字設定機能、スムージングモート設定機能を
持ち、プログラムROM2に書込まれた制御プログラム
に従って動作する中央処理装置より精成されている。
The master control unit 1 has a function of controlling the entire printer device, an enlarged character setting function, and a smoothing mode setting function, and is refined from a central processing unit that operates according to a control program written in a program ROM 2.

そして、アドレスバス6およびデータバス7を介して各
構成部を制御するようになっている。
Each component is controlled via an address bus 6 and a data bus 7.

プログラムROM2は、プリンタ装置全体を制御するプ
ログラムおよび拡大文字設定プログラムおよびスムージ
ングモード設定プログラムとを内蔵しており、マスタ制
御部1よりアドレスバス6を介して出力される命令に基
づき制御データをデータバス7に出力する機能を有して
いる。
The program ROM 2 contains a program for controlling the entire printer device, an enlarged character setting program, and a smoothing mode setting program. It has a function to output to 7.

RAM3は、バッファメモリからなり、拡大文字設定プ
ログラム、スムージングモード設定プログラム実行中に
、−時的に演算結果等の印字パターンを記憶する機能を
持っている。
The RAM 3 is composed of a buffer memory and has a function of temporarily storing print patterns such as calculation results while the enlarged character setting program and smoothing mode setting program are being executed.

印字ROM4は、指定された文字に対応するドツトマト
リックス型の印字データ(通常印字パターン〉を記憶し
ており、マスタ制御部1の制御に基づいてこの印字デー
タをデータバス7に出力する機能を有している。
The print ROM 4 stores dot matrix type print data (normal print pattern) corresponding to specified characters, and has a function of outputting this print data to the data bus 7 under the control of the master control unit 1. are doing.

印字制御部5は、データバス7を介して印字データを入
力するとともに、これを印字機横部く図示せず。)に送
り、ドツト印字を行う機能を持っている。
The print control unit 5 inputs print data via the data bus 7 and also inputs the print data to the side of the printing machine (not shown). ) and has the function of dot printing.

次に、通常の印字データをもとにして印字可能な最小倍
率を描画させる場合のマスタ制御部]によるプログラム
制御の手法を第1図、第2図を参照して説明する。
Next, a method of program control by the master control unit when drawing at the minimum printable magnification based on normal print data will be described with reference to FIGS. 1 and 2.

第1図、第2図において、今、上位装置より第2図(1
)(以下、第2図を略す。)に示したパターンを印字す
るデータが入力されると、マスタ制御部1はプログラム
ROM2より制御プログラムを読出し、これを実行する
。そして、印字ROM4に印字指令に基づく(1)のパ
ターンを特定するアトシスをアドレスバス6を介して出
力するとともに、読出し指令を出力し、データバス7に
このドツトパターンを出力させる。さらに、マスタ制御
部1は制御プログラムに基づいてこのドツトパターンを
内部に取り込む6 次に、本実施例によりプログラムを実行させた場合、文
字輪郭の曲縁部の近似誤差がビットマツプ上で十分最小
の値となることについて以下に説明する。
In Figures 1 and 2, the upper device now shows Figure 2 (1).
) (hereinafter, FIG. 2 is omitted) When data for printing the pattern shown in FIG. 2 is input, the master control section 1 reads a control program from the program ROM 2 and executes it. Then, an atsis specifying the pattern (1) based on the print command is output to the print ROM 4 via the address bus 6, and a read command is output to cause the data bus 7 to output this dot pattern. Furthermore, the master control unit 1 internally imports this dot pattern based on the control program 6 Next, when the program is executed according to this embodiment, the approximation error of the curved edge of the character outline is sufficiently minimized on the bitmap. The values will be explained below.

マスタ制御部1によって制御プログラムに基づいて内部
に取り込すれな印字パターン(1)をRAM3を構成す
るバッファメモリ上に展開し、これを2倍拡大を行う。
Based on the control program, the master control unit 1 develops a print pattern (1) to be internally imported onto a buffer memory constituting the RAM 3, and enlarges it twice.

得られた結果の印字パターン(4)を同バッファメモリ
上に展開する。
The resulting print pattern (4) is developed on the same buffer memory.

そして、このパターン(4)にスムージングを行った結
果を(5)に示す。さらに、2倍拡大をしだ後(6)、
スムージングを行う(7)。
The result of smoothing this pattern (4) is shown in (5). Furthermore, after 2x magnification (6),
Perform smoothing (7).

このようにして、スムージングされた印字データは、印
字制御部5に入力され、印字機構部よりドツト印字され
る。
The print data smoothed in this manner is input to the print control section 5, and is printed in dots by the printing mechanism section.

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

上述したように本発明によれば、ROMに内蔵されたプ
ログラムにより任意の倍率(本実施例では4倍)の拡大
文字にスムージング処理を行い描画する際に、印字可能
な最小倍率く本実施例では2倍)の拡大とスムージング
処理を交互に縁り返して目的とする印字パターンを得、
その印字パターン等を記憶するバッファメモリとにより
、文字輪郭の曲線部の近似誤差がビットマツプで十分最
小の値となるという効果がある。
As described above, according to the present invention, when smoothing and drawing enlarged characters at an arbitrary magnification (4 times in this embodiment) using a program built into the ROM, the minimum magnification that can be printed is set according to the present embodiment. 2 times) and smoothing processing to obtain the desired printing pattern,
The buffer memory that stores the printing pattern etc. has the effect that the approximation error of the curved portion of the character outline is sufficiently minimized in the bitmap.

第1図は本発明の一実施例のビットマツプ文字データの
スムージング処理方式のブロック図、第2図(]) 、
 (4) 、 (5) 、 (6) 、 <7>は本実
施例の動作原理を示す説明図、第2図<1) 、 (2
) 、 (3)は従来例の動作原理を示す説明図である
FIG. 1 is a block diagram of a smoothing processing method for bitmap character data according to an embodiment of the present invention, and FIG. 2 (]),
(4), (5), (6), <7> are explanatory diagrams showing the operating principle of this embodiment, and Fig. 2 <1), (2
) and (3) are explanatory diagrams showing the operating principle of the conventional example.

1・・・マスタ制御部、2・・・プログラムROM、3
・・−RAM、4・・・印字ROM、5・・・印字制御
部、6・・・アドレスバス、7・・・データバス。
1... Master control unit, 2... Program ROM, 3
...-RAM, 4... Print ROM, 5... Print control section, 6... Address bus, 7... Data bus.

Claims (1)

【特許請求の範囲】 ドットマトリックス型フォント構造を有するマイクロプ
ログラム制御のプリンタにおいて、任意の倍率の拡大文
字にスムージング処理を行い描画する際に、印字可能な
最小倍率の拡大とスムージング処理を交互に繰返して目
的とする任意の倍率の拡大文字を描画させるプログラム
を内蔵しているリードオンリーメモリと、 前記リードオンリーメモリ内の前記プログラムを始めと
するプリンタ装置の各部を制御するマスタ制御部により
プログラム実行中に、新しく得た印字パターンまたはそ
のパターンを得るまでに必要とした印字パターンを一時
的に記憶するバッファメモリとを有することを特徴とす
るプリンタのビットマップ文字データのスムージング処
理方法。
[Claims] In a microprogram-controlled printer having a dot matrix type font structure, when drawing enlarged characters at an arbitrary magnification by performing smoothing processing, enlargement at the minimum printable magnification and smoothing processing are alternately repeated. The program is being executed by a read-only memory that contains a program for drawing enlarged characters at a desired magnification, and a master control unit that controls each part of the printer device including the program in the read-only memory. A method for smoothing bitmap character data in a printer, further comprising a buffer memory for temporarily storing a newly obtained print pattern or a print pattern needed until the pattern is obtained.
JP2217595A 1990-08-17 1990-08-17 Smoothing processing method of bitmap character data of printer Expired - Lifetime JP2890742B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2217595A JP2890742B2 (en) 1990-08-17 1990-08-17 Smoothing processing method of bitmap character data of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2217595A JP2890742B2 (en) 1990-08-17 1990-08-17 Smoothing processing method of bitmap character data of printer

Publications (2)

Publication Number Publication Date
JPH0499659A true JPH0499659A (en) 1992-03-31
JP2890742B2 JP2890742B2 (en) 1999-05-17

Family

ID=16706760

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2217595A Expired - Lifetime JP2890742B2 (en) 1990-08-17 1990-08-17 Smoothing processing method of bitmap character data of printer

Country Status (1)

Country Link
JP (1) JP2890742B2 (en)

Also Published As

Publication number Publication date
JP2890742B2 (en) 1999-05-17

Similar Documents

Publication Publication Date Title
JPH0378651B2 (en)
JP3029136B2 (en) Output method and device
JPH0441548B2 (en)
JPH0499659A (en) Smoothing system of bit map character data for printer
JPH03213367A (en) Multicolor printer
JPS6189861A (en) Printing controller
JP2711860B2 (en) Output control method and device
JPH05301411A (en) Method for treating printing of page printer
JP4029436B2 (en) Recording device
JP3254011B2 (en) Form drawing system
JP2910183B2 (en) Character processor
JPH01281963A (en) Document processing device
JP2002096506A (en) Rasterizing method, print control device, print system, and recording medium recording program
JP2650982B2 (en) Printer control device
JPH07114541A (en) Document creating apparatus and background pattern creating method
JPH0326558A (en) Smooth printing system in printer
JP2958017B2 (en) Output control apparatus and method
JP2784823B2 (en) Image editing printing method of printer
JPH0349965A (en) Halftone printing system of printer
JPH03112668A (en) printing device
JPH03268963A (en) Half tone printing system of printer
JPH0410960A (en) Half tone printing method for printer
JPH1075352A (en) PRINT CONTROL METHOD AND APPARATUS AND PRINT SYSTEM INCLUDING THE APPARATUS
JPH0361562A (en) Printer
JPH0462084A (en) Printer