[go: up one dir, main page]

JPH09156158A - Printer - Google Patents

Printer

Info

Publication number
JPH09156158A
JPH09156158A JP7317695A JP31769595A JPH09156158A JP H09156158 A JPH09156158 A JP H09156158A JP 7317695 A JP7317695 A JP 7317695A JP 31769595 A JP31769595 A JP 31769595A JP H09156158 A JPH09156158 A JP H09156158A
Authority
JP
Japan
Prior art keywords
line width
line
data
ruled line
ruled
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
JP7317695A
Other languages
Japanese (ja)
Inventor
Yoshitsuru Takahashi
美鶴 高橋
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 JP7317695A priority Critical patent/JPH09156158A/en
Publication of JPH09156158A publication Critical patent/JPH09156158A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To print a ruled line with good quality. SOLUTION: This printer comprises a receiving section 2 that receives print data transmitted from a host device, a developing section 4 that develops the print data accumulated in the receiving section 2 to bit-map data, an image forming memory 6 that accumulates the bit-map data developed by the developing section 4 and a printing section 8 that prints out the bit-map data in accordance with image forming coordinates accumulated in the image-forming memory 6. The developing section 4 comprises a ruled line shape data memory means 10 that stores shape data of the ruled lines (ruled line auxiliary data) corresponding to character codes indicative of ruled lines, a ruled line character generating means 12 that sets a prescribed line width to the shape data stored in the ruled line shape data memory means 10 when a character code designated by the print data is of the ruled line and a line width calculating means 14 that calculates the width of the line to be added to the shape data based on a size of the character designated in the print data and the resolution of the printing section 8.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、アウトラインフォ
ントを印刷するプリンタ装置に係り、特に、罫線を印刷
するプリンタ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer device for printing outline fonts, and more particularly to a printer device for printing ruled lines.

【0002】[0002]

【従来の技術】従来の罫線印刷では、通常の文字と同じ
ようにアウトラインデータをビットマップデータに展開
して印刷していた。即ち、アウトライン展開用のファー
ムウエア(F/W)を使用して、CPUによる座標演算
により、罫線の拡大や縮小を行っていた。
2. Description of the Related Art In conventional ruled line printing, outline data is expanded into bitmap data and printed as in the case of normal characters. That is, the outline expansion firmware (F / W) is used to enlarge or reduce the ruled line by the coordinate calculation by the CPU.

【0003】特開平4−10069号公報に記載の技術
では、アウトラインデータとアウトライン展間用のファ
ームウエアを使用して、指示された拡大・縮小倍率以上
のフォントサイズで印字することにより、印字された罫
線が途切れないようにいている。
According to the technique disclosed in Japanese Patent Laid-Open No. 4-10069, the outline data and the firmware for the outline space are used to print with a font size larger than the designated enlargement / reduction ratio. The ruled lines are not broken.

【0004】特開平5−309872号公報では、単純
出力された罫線データについて、簡単な回路構成で、複
数の1ドット幅の縦の罫線のドット幅(太さ)が統一し
た高品位の拡大印刷出力をリアルタイムで得られるとい
う手法が開示されている。これは、ハードウエア(H/
W)を利用して、1ドット幅の罫線出力を得るものであ
る。
In Japanese Laid-Open Patent Publication No. 5-309872, high-quality enlarged printing in which the dot widths (thicknesses) of a plurality of 1-dot-long vertical ruled lines are unified with respect to simply output ruled line data with a simple circuit configuration A method of obtaining an output in real time is disclosed. This is hardware (H /
W) is used to obtain a ruled line output having a 1-dot width.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来例では、指定された文字サイズに合わせてアウトライ
ンフォントデータの拡大や縮小を行うとき、これらの拡
大や縮小の処理は座標データの演算によって実現される
ため、縮小計算時の文字輪郭の歪みや、拡大計算時の輪
郭のがたつきが生ずる、という不都合があった。
However, in the above-mentioned conventional example, when enlarging or reducing outline font data according to a designated character size, the enlarging or reducing process is realized by calculation of coordinate data. Therefore, there is a problem that the character contour is distorted during the reduction calculation and the contour is rattled during the enlargement calculation.

【0006】特に、罫線文字などの単純なパターンで
は、それらの演算誤差が顕著にあらわれてしまい線幅の
不揃いが生じたり、左右対称であるはずの文字のバラン
スが狂ったりする品質低下が問題点として指摘されてい
る。
In particular, in the case of a simple pattern such as ruled line characters, the calculation errors thereof are prominent and the line width becomes uneven, and the balance of the characters which should be left-right symmetric is deteriorated. Has been pointed out as.

【0007】上述した特開平4−10069号公報に記
載の技術では、罫線文字を指示された拡大・縮小率以上
のフォントサイズで印字するため、罫線はとぎれないよ
うになるが、単純に拡大率を変えるだけでは演算誤差を
防ぐことができず、線の不揃いが生じたり文字のバラン
スが狂うという問題は解決できない。
In the technique described in the above-mentioned Japanese Patent Laid-Open No. 4-10069, since the ruled line characters are printed with a font size larger than the specified enlargement / reduction ratio, the ruled lines are not interrupted, but the enlargement ratio is simply increased. The calculation error cannot be prevented only by changing the, and the problem that the lines are not aligned or the characters are out of balance cannot be solved.

【0008】また、特開平5−309872号公報に記
載の技術では、ビットマップデータに展開されたときの
1ドット幅の縦罫線の拡大する場合において処理される
ものであり、アウトラインデータの拡大縮小について
は、なんら保証されていない。
Further, in the technique described in Japanese Patent Laid-Open No. 5-309872, when the bitmap data is expanded,
This is processed when enlarging a vertical ruled line with a width of 1 dot, and there is no guarantee for enlarging or reducing outline data.

【0009】[0009]

【発明の目的】本発明は、係る従来例の有する不都合を
改善し、特に、罫線の印刷を高品位に行うことのできる
プリンタ装置を提供することを、その目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a printer apparatus which is capable of improving the disadvantages of the conventional example and, in particular, capable of printing ruled lines with high quality.

【0010】[0010]

【課題を解決するための手段】そこで、本発明では、第
1の手段として、上位装置から送信された印刷データを
受信する受信部と、この受信部に蓄積された印刷データ
をビットマップデータに展開する展開部と、この展開部
によって展開されたビットマップデータを蓄積する描画
メモリと、この描画メモリに蓄積された描画座標でのビ
ットマップデータを印刷出力する印刷部とを備えてい
る。しかも、展開部が、罫線を示す文字コードに応じた
罫線の形状データを予め記憶した罫線形状データ記憶手
段と、印刷データに指定される文字コードが罫線である
ときに罫線形状データ記憶手段に格納された形状データ
に所定の線幅を設定する罫線文字発生手段と、前記印刷
データで指定された文字サイズおよび印刷部の解像度に
基づいて形状データに与える前記線幅の太さを算出する
線幅算出手段とを備えた、という構成を採っている。
Therefore, in the present invention, as a first means, a receiving unit that receives print data transmitted from a higher-level device and print data accumulated in this receiving unit are converted into bitmap data. The image forming apparatus includes an expanding unit for expanding, a drawing memory for accumulating the bitmap data expanded by the expanding unit, and a printing unit for printing out the bitmap data at the drawing coordinates accumulated in the drawing memory. In addition, the expansion unit stores the ruled line shape data storage unit in which the ruled line shape data corresponding to the character code indicating the ruled line is stored in advance, and the ruled line shape data storage unit when the character code specified in the print data is the ruled line. Ruled line character generating means for setting a predetermined line width in the formed shape data, and a line width for calculating the thickness of the line width given to the shape data based on the character size specified in the print data and the resolution of the printing section. And a calculation means.

【0011】この第1の手段では、罫線の印刷につい
て、線幅算出手段が、印刷データで指定された文字サイ
ズおよび印刷部の解像度に基づいて罫線のウエイト(太
さ)を一律に算出し、罫線文字発生手段が、アウトライ
ンデータの展開によらず、罫線形状データ記憶手段に格
納された形状データに線幅算出手段によって算出された
線幅を設定する。しかも、線幅算出手段による罫線のウ
エイトの算出が、印刷部の解像度に基づいて行われるた
め、拡大率および印刷位置によっては必要となるドット
の丸め込みの処理を行わない。このため、文字サイズが
同一の罫線については、線幅が一定となる。
In the first means, regarding the printing of the ruled line, the line width calculating means uniformly calculates the weight (thickness) of the ruled line based on the character size designated by the print data and the resolution of the printing section, The ruled line character generation means sets the line width calculated by the line width calculation means in the shape data stored in the ruled line shape data storage means regardless of the outline data expansion. Moreover, since the weight of the ruled line is calculated by the line width calculating means based on the resolution of the printing unit, the rounding process of dots required depending on the enlargement ratio and the printing position is not performed. Therefore, the ruled lines having the same character size have a constant line width.

【0012】第2の手段では、第1の手段を特定する事
項に加え、線幅算出手段に、罫線の線幅を指定する複数
の線幅制御点が定められたX座標およびY座標の配置情
報を記憶した配置情報記憶手段を併設し、前記線幅算出
手段が、文字サイズのうち文字幅に基づいてX座標の描
画座標での中点を算出すると共に文字高さに基づいてY
座標の描画座標での中点を算出する中点算出機能と、中
点からの比率として定められている各線幅制御点の描画
座標での位置解像度に基づいて算出する線幅制御点位置
算出機能とを備えた、という構成を採っている。
In the second means, in addition to the item for specifying the first means, the line width calculation means is arranged with a plurality of line width control points for designating the line width of the ruled line, and the arrangement of the X coordinate and the Y coordinate. Arrangement information storage means for storing information is additionally provided, and the line width calculation means calculates the midpoint at the drawing coordinate of the X coordinate based on the character width of the character size and Y based on the character height.
Midpoint calculation function that calculates the midpoint in the drawing coordinates of coordinates, and linewidth control point position calculation function that calculates based on the position resolution in the drawing coordinates of each linewidth control point that is defined as the ratio from the midpoint It is equipped with and.

【0013】この第2の手段では、線幅の算出につい
て、罫線の線幅を指定する複数の線幅制御点が定められ
たX座標およびY座標と、描画メモリにおける描画座標
とを一致させ、まず、1文字の罫線のX座標及びY座標
の中点を算出し、次いで、この中点からの比率として定
められている線幅制御点の位置を求める。さらに、罫線
文字発生手段が、この描画メモリにおける描画座標と一
致した座標での線幅制御点の位置に基づいて、それぞれ
の罫線の座標データまたはビットマップデータを発生さ
せるため、文字サイズが同一で形状の異なる罫線につい
てもその線幅が同一となる。
In the second means, in the calculation of the line width, the X coordinate and the Y coordinate in which a plurality of line width control points for designating the line width of the ruled line are defined and the drawing coordinate in the drawing memory are matched, First, the midpoint of the X and Y coordinates of the ruled line of one character is calculated, and then the position of the line width control point defined as the ratio from this midpoint is determined. Furthermore, since the ruled line character generating means generates coordinate data or bitmap data for each ruled line based on the position of the line width control point at the coordinates that match the drawing coordinates in this drawing memory, the character size is the same. The ruled lines having different shapes have the same line width.

【0014】第3の手段では、第2の手段を特定する事
項に加え、罫線文字発生手段が、印刷データで指定され
る線幅指定に基づいて線幅制御点を選択する制御点選択
機能を備えた、という構成を採っている。
In the third means, in addition to the matter for specifying the second means, the ruled line character generating means has a control point selection function for selecting a line width control point based on the line width designation designated by the print data. It is equipped with the structure.

【0015】本発明は、これらの各手段により、前述し
た目的を達成しようとするものである。
The present invention aims to achieve the above-mentioned object by each of these means.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0017】図1は、本発明によるプリンタ装置の構成
を示すブロック図である。プリンタ装置は、上位装置か
ら送信された印刷データを受信する受信部2と、この受
信部2に蓄積された印刷データをビットマップデータに
展開する展開部4と、この展開部4によって展開された
ビットマップデータを蓄積する描画メモリ6と、この描
画メモリ6に蓄積された描画座標でのビットマップデー
タを印刷出力する印刷部8とを備えている。
FIG. 1 is a block diagram showing the arrangement of a printer device according to the present invention. The printer device receives the print data transmitted from the higher-level device, the receiving unit 2, the expanding unit 4 that expands the print data accumulated in the receiving unit 2 into bitmap data, and the expanding unit 4. A drawing memory 6 that stores bitmap data and a printing unit 8 that prints out bitmap data at the drawing coordinates stored in the drawing memory 6 are provided.

【0018】しかも、展開部4が、罫線を示す文字コー
ドに応じた罫線の形状データ(罫線補助データ)を予め
記憶した罫線形状データ記憶手段10と、印刷データに
指定される文字コードが罫線であるときに罫線形状デー
タ記憶手段10に格納された形状データに所定の線幅を
設定する罫線文字発生手段12と、印刷データで指定さ
れた文字サイズおよび印刷部の解像度に基づいて形状デ
ータに与える線幅の太さを算出する線幅算出手段14と
を備えている。
In addition, the expanding unit 4 stores the ruled line shape data (ruled line auxiliary data) corresponding to the character code indicating the ruled line in advance, and the character code specified in the print data is the ruled line. The ruled line character generating means 12 for setting a predetermined line width in the shape data stored in the ruled line shape data storage means 10 at a certain time, and the shape data based on the character size designated by the print data and the resolution of the printing section. A line width calculating means 14 for calculating the thickness of the line width is provided.

【0019】これを詳細に説明する。This will be described in detail.

【0020】展開部4は、一般的には、アウトラインフ
ォントデータを記憶したアウトラインフォント記憶手段
と、このアウトラインフォントデータをビットマップデ
ータに展開するためのアウトラインフォント展開用のフ
ァームウエアとを備えている。アウトラインフォントデ
ータをビットマップデータに展開するには、まず、アウ
トラインフォント記憶手段からデータを取りだして文字
の拡大や縮小を行い座標データを作成する。次いで、座
標データによって構成される文字の輪郭を塗りつぶす。
このビットマップデータは、描画メモリ6に描画され
る。
The expansion unit 4 generally comprises outline font storage means for storing outline font data, and outline font expansion firmware for expanding the outline font data into bitmap data. . To develop the outline font data into bitmap data, first, the data is taken out from the outline font storage means and the characters are enlarged or reduced to create coordinate data. Then, the outline of the character constituted by the coordinate data is filled.
This bitmap data is drawn in the drawing memory 6.

【0021】本実施形態では、罫線の印刷に際してはア
ウトラインフォントを使用しない。上位装置から送信さ
れた印刷データに罫線を指定する文字コードが含まれて
いたときには、罫線文字発生手段12が罫線の座標デー
タを生成する。罫線文字発生手段12は、アウトライン
フォント記憶部からのデータを利用するのではなく、独
白の定義された罫線の形状データ(罫線補助データ)か
ら座標データを発生させる。
In this embodiment, an outline font is not used when printing ruled lines. When the print data transmitted from the higher-level device includes a character code designating a ruled line, the ruled line character generating means 12 generates coordinate data of the ruled line. The ruled line character generating means 12 does not use the data from the outline font storage unit, but generates the coordinate data from the shape data (ruled line auxiliary data) of the defined ruled line of monologue.

【0022】罫線文字発生手段12は、線幅が未定義の
形状データと、線幅算出手段によって算出された線幅と
に基づいて罫線の座標データを発生する。罫線の形状デ
ータは、全ての罫線について用意されていて、文字コー
ドで検索が可能な構造で定義されている。このため、形
状データの検索時間が短縮され、また、形状データ全体
のデータ構造は比較的簡単なものとなる。
The ruled line character generating means 12 generates coordinate data of ruled lines based on the shape data whose line width is undefined and the line width calculated by the line width calculating means. The ruled line shape data is prepared for all ruled lines, and is defined by a structure that can be searched by a character code. Therefore, the search time for the shape data is shortened, and the data structure of the entire shape data is relatively simple.

【0023】図2は線幅算出手段14による罫線の線幅
の算出処理を説明するための説明図である。線幅算出手
段14は、印刷データで指定される文字サイズに基づい
て、描画メモリにおける描画座標での罫線の線幅を算出
する。この線幅は、形状の異なる罫線であっても、文字
サイズが同一であれば同一の線幅となるように算出され
る。
FIG. 2 is an explanatory diagram for explaining the calculation processing of the line width of the ruled line by the line width calculation means 14. The line width calculation means 14 calculates the line width of the ruled line at the drawing coordinates in the drawing memory based on the character size specified by the print data. This line width is calculated so that even ruled lines having different shapes have the same line width if the character sizes are the same.

【0024】この線幅算出手段14は、罫線として描画
される部分の配置を定めた配置情報に基づいて線幅を算
出する。罫線は、その形状、文字サイズ、線幅が明確に
なれば、配置の可能性のある点が明示的に定まる。図2
に示すように、細い罫線であればおよびで示される
点の間に罫線が引かれ、また、太い線であればおよび
で定まる点の間に罫線が引かれる。
The line width calculating means 14 calculates the line width based on the arrangement information that defines the arrangement of the portion drawn as a ruled line. If the shape, character size, and line width of the ruled line are clear, points that can be arranged are explicitly determined. FIG.
As shown in, a ruled line is drawn between points indicated by and if it is a thin ruled line, and a ruled line is drawn between points defined by and if it is a thick line.

【0025】ここでは、この図2に示すX座標及びY座
標にからで示した各点を線幅制御点と呼ぶ。この線
幅制御点は、中点からの比率として定められている。図
2には、罫線の外観を示すための最小限の数(6通り)
を示している。X座標及びY座標の線幅制御点の集合
を、ここでは配置情報という。この配置情報は、配置情
報記憶部18に格納されている。また、図2に示す例で
はX座標とY座標それぞれについて線幅制御点を定義し
ているが、例えば、X座標のみ6点定義し、Y座標につ
いてはとのみを定義しておき、X座標で与えられた
線幅をY座標の中点に適用するようにしてもよい。
Here, the points indicated by the X and Y coordinates shown in FIG. 2 are called line width control points. This line width control point is defined as a ratio from the midpoint. Figure 2 shows the minimum number (6 ways) to show the appearance of ruled lines.
Is shown. Here, a set of line width control points of X coordinate and Y coordinate is referred to as arrangement information. This placement information is stored in the placement information storage unit 18. Further, in the example shown in FIG. 2, the line width control points are defined for each of the X coordinate and the Y coordinate. However, for example, only 6 points are defined for the X coordinate and only the and are defined for the Y coordinate. Alternatively, the line width given by can be applied to the midpoint of the Y coordinate.

【0026】線幅算出手段14は、中点算出機能によ
り、文字サイズのうち文字幅に基づいてX座標の中点を
算出し、文字高さに基づいてY座標の中点を算出する。
この中点は、描画メモリ6の描画座標における1文字分
の領域での中点となる。また、線幅制御点位置算出機能
により、図2に示す配置情報に基づいて、中点からの比
率として定められている各線幅制御点の描画座標での位
置を算出する。さらに、この線幅は罫線文字発生手段に
出力される。
The line width calculation means 14 calculates the midpoint of the X coordinate based on the character width of the character size and the midpoint of the Y coordinate based on the character height by the midpoint calculation function.
This midpoint is the midpoint in the area of one character in the drawing coordinates of the drawing memory 6. Further, the line width control point position calculation function calculates the position at the drawing coordinates of each line width control point determined as the ratio from the midpoint, based on the arrangement information shown in FIG. Further, this line width is output to the ruled line character generating means.

【0027】線幅算出手段14が、このような処理によ
り、文字サイズと印刷部14の解像度(描画メモリにお
ける描画座標の解像度)とにより一意的に定まる線幅を
算出することができる。従って、罫線の太さが変化する
ことがなく、このため、罫線を高品位で印刷することが
できる。
By such processing, the line width calculating means 14 can calculate the line width that is uniquely determined by the character size and the resolution of the printing unit 14 (resolution of drawing coordinates in the drawing memory). Therefore, the thickness of the ruled line does not change, and therefore the ruled line can be printed with high quality.

【0028】図3は罫線の座標データを発生させる処理
の一例を示すフローチャートである。印刷データを受信
すると、展開部4は、印刷データ中の文字コードが罫線
か否かを確認する(ステップS1,文字属性判断機
能)。
FIG. 3 is a flow chart showing an example of processing for generating coordinate data of ruled lines. When the print data is received, the expansion unit 4 confirms whether the character code in the print data is a ruled line (step S1, character attribute determination function).

【0029】罫線ではない場合には、通常のアウトライ
ンフォントの展開処理を行い、さらに、イメージデータ
を印刷出力する。
If the line is not a ruled line, a normal outline font expansion process is performed and the image data is printed out.

【0030】罫線である場合には、当該文字コードの文
字サイズを確認し、当該文字サイズについて線幅が算出
されているか否かを確認する。線幅が算出されていない
場合には、線幅算出手段14が起動し、まず、当該文字
サイズに基づいて中点を決定する(ステップS2)。さ
らに、印刷部8の解像度と、中点の位置とに基づいて、
各線幅制御点の位置を算出する(ステップS3)。
If the line is a ruled line, the character size of the character code is checked to see if the line width has been calculated for the character size. If the line width has not been calculated, the line width calculation means 14 is activated to first determine the midpoint based on the character size (step S2). Furthermore, based on the resolution of the printing unit 8 and the position of the midpoint,
The position of each line width control point is calculated (step S3).

【0031】一方、罫線文字発生手段12は、文字コー
ドに応じた形状データを罫線形状データ記憶手段10か
ら読み出す(ステップS4)。さらに、当該文字コード
に付された文字属性による線幅の指定に基づいて、又は
文字コード自身による線幅の指定に基づいて、線幅制御
点を選択する(ステップS5)。次いで、形状データに
重なる線幅部分を抽出し、座標データとする。展開部4
は、この座標データで定まる文字の輪郭を塗りつぶして
描画メモリ6に蓄積する。
On the other hand, the ruled line character generation means 12 reads out the shape data corresponding to the character code from the ruled line shape data storage means 10 (step S4). Further, the line width control point is selected based on the line width specified by the character attribute attached to the character code or the line width specified by the character code itself (step S5). Next, the line width portion overlapping the shape data is extracted and used as coordinate data. Development unit 4
Fills the outline of the character determined by the coordinate data and stores it in the drawing memory 6.

【0032】印刷する罫線が水平方向点線や垂直方向点
線など点罫線の場合は、形状が異なるため特別処理を施
し、座標値を求める。更に、点罫線の場合も、それ以外
の罫線の場合も、非常に小さい文字サイズでの展間要求
が出されたときは、それぞれの方法で座標値に補正をか
ける。
When the ruled line to be printed is a dotted ruled line such as a horizontal dotted line or a vertical dotted line, since the shapes are different, special processing is performed to obtain the coordinate value. Further, in the case of dot ruled lines and other ruled lines, when a space request with a very small character size is issued, the coordinate value is corrected by each method.

【0033】[0033]

【発明の効果】本発明は以上のように構成され機能する
ので、これによると、線幅算出手段が、印刷データで指
定された文字サイズおよび印刷部の解像度に基づいて罫
線のウエイト(太さ)を一律に算出し、罫線文字発生手
段が、アウトラインデータの展開によらず、罫線形状デ
ータ記憶手段に格納された形状データに線幅算出手段に
よって算出された線幅を設定するため、線幅算出手段が
印刷部の解像度に応じて安定して生成する線幅のみを用
いて罫線の印刷を行うことができ、このため、文字サイ
ズが同一の罫線については、常に線幅を一定とすること
ができる。このように、罫線の印刷を高品位に行うこと
ができる従来にない優れたプリンタ装置を提供すること
ができる。
Since the present invention is constructed and functions as described above, according to this, the line width calculating means determines the weight (thickness) of the ruled line based on the character size designated by the print data and the resolution of the printing section. ) Is uniformly calculated and the ruled line character generation means sets the line width calculated by the line width calculation means to the shape data stored in the ruled line shape data storage means regardless of the outline data expansion. The ruled line can be printed using only the line width that the calculation unit stably generates according to the resolution of the printing unit. Therefore, for ruled lines with the same character size, the line width should always be constant. You can As described above, it is possible to provide an excellent printer device which is not available in the related art and which is capable of printing ruled lines with high quality.

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

【図1】本発明の一実施形態の構成を示すブロック図で
ある。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.

【図2】図1に示した線幅算出手段による線幅の算出の
一例を示す説明図である。
FIG. 2 is an explanatory diagram showing an example of line width calculation by the line width calculation means shown in FIG.

【図3】図1に示した構成での罫線の展開処理を示すフ
ローチャートである。
FIG. 3 is a flowchart showing a ruled line expansion process in the configuration shown in FIG.

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

2 受信部 4 展開部 6 描画メモリ 8 印刷部 10 罫線形状データ記憶手段 12 罫線文字発生手段 14 線幅算出手段 18 配置情報記憶部 2 receiving unit 4 developing unit 6 drawing memory 8 printing unit 10 ruled line shape data storage unit 12 ruled line character generation unit 14 line width calculation unit 18 arrangement information storage unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 上位装置から送信された印刷データを受
信する受信部と、この受信部に蓄積された印刷データを
ビットマップデータに展開する展開部と、この展開部に
よって展開されたビットマップデータを蓄積する描画メ
モリと、この描画メモリに蓄積された描画座標でのビッ
トマップデータを印刷出力する印刷部とを備えたプリン
タ装置において、 前記展開部が、罫線を示す文字コードに応じた罫線の形
状データを予め記憶した罫線形状データ記憶手段と、前
記印刷データに指定される文字コードが罫線であるとき
に前記罫線形状データ記憶手段に格納された形状データ
に所定の線幅を設定する罫線文字発生手段と、前記印刷
データで指定された文字サイズおよび前記印刷部の解像
度に基づいて前記形状データに与える線幅の太さを算出
する線幅算出手段を備えたことを特徴とするプリンタ装
置。
1. A receiving unit for receiving print data transmitted from a higher-level device, a developing unit for expanding the print data accumulated in the receiving unit into bitmap data, and bitmap data expanded by the expanding unit. In a printer device including a drawing memory that stores a drawing line and a printing unit that prints out bitmap data at the drawing coordinates stored in the drawing memory, the expansion unit creates a ruled line corresponding to a character code indicating a ruled line. Ruled line shape data storage means for storing shape data in advance, and ruled line characters for setting a predetermined line width in the shape data stored in the ruled line shape data storage means when the character code specified in the print data is a ruled line Generating means and calculating the thickness of the line width given to the shape data based on the character size designated by the print data and the resolution of the printing unit. Printer apparatus comprising the line width calculating means that.
【請求項2】 前記線幅算出手段に、前記罫線の線幅を
指定する複数の線幅制御点が定められたX座標およびY
座標の配置情報を記憶した配置情報記憶手段を併設し、 前記線幅算出手段が、前記文字サイズのうち文字幅に基
づいて前記X座標の前記描画座標での中点を算出すると
共に文字高さに基づいてY座標の前記描画座標での中点
を算出する中点算出機能と、前記中点からの比率として
定められている前記各線幅制御点の描画座標での位置を
前記解像度に基づいて算出する線幅制御点位置算出機能
とを備えたことを特徴とする請求項1記載のプリンタ装
置。
2. An X coordinate and a Y in which a plurality of line width control points that specify the line width of the ruled line are defined in the line width calculation means.
An arrangement information storage unit that stores arrangement information of coordinates is also provided, and the line width calculation unit calculates the midpoint of the drawing coordinate of the X coordinate based on the character width of the character size and the character height. Based on the resolution, the midpoint calculation function for calculating the midpoint of the Y coordinate in the drawing coordinate based on the above, and the position in the drawing coordinate of each of the line width control points defined as a ratio from the midpoint based on the resolution. The printer device according to claim 1, further comprising a line width control point position calculation function for calculating the line width control point position.
【請求項3】 前記罫線文字発生手段が、前記印刷デー
タで指定される線幅指定に基づいて前記線幅制御点を選
択する制御点選択機能を備えたことを特徴とする請求項
2記載のプリンタ装置。
3. The ruled line character generating means is provided with a control point selecting function for selecting the line width control point based on a line width designation specified by the print data. Printer device.
JP7317695A 1995-12-06 1995-12-06 Printer Pending JPH09156158A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7317695A JPH09156158A (en) 1995-12-06 1995-12-06 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7317695A JPH09156158A (en) 1995-12-06 1995-12-06 Printer

Publications (1)

Publication Number Publication Date
JPH09156158A true JPH09156158A (en) 1997-06-17

Family

ID=18090999

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7317695A Pending JPH09156158A (en) 1995-12-06 1995-12-06 Printer

Country Status (1)

Country Link
JP (1) JPH09156158A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008243235A (en) * 2002-09-06 2008-10-09 Canon Inc Information processor, information processing method, and print control program
US8102543B2 (en) 2002-09-06 2012-01-24 Canon Kabushiki Kaisha Information processing apparatus, information processing method and printing control program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH025095A (en) * 1988-06-24 1990-01-09 Hitachi Ltd Character output system
JPH0392897A (en) * 1989-09-05 1991-04-18 Nec Off Syst Ltd Pattern generating device
JPH05233615A (en) * 1992-02-24 1993-09-10 Nec Corp Enlarged ruled line generating device
JPH06175637A (en) * 1992-12-03 1994-06-24 Oki Electric Ind Co Ltd Method for generating character
JPH0863144A (en) * 1994-08-19 1996-03-08 Mitsubishi Electric Corp Font processing device and font processing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH025095A (en) * 1988-06-24 1990-01-09 Hitachi Ltd Character output system
JPH0392897A (en) * 1989-09-05 1991-04-18 Nec Off Syst Ltd Pattern generating device
JPH05233615A (en) * 1992-02-24 1993-09-10 Nec Corp Enlarged ruled line generating device
JPH06175637A (en) * 1992-12-03 1994-06-24 Oki Electric Ind Co Ltd Method for generating character
JPH0863144A (en) * 1994-08-19 1996-03-08 Mitsubishi Electric Corp Font processing device and font processing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008243235A (en) * 2002-09-06 2008-10-09 Canon Inc Information processor, information processing method, and print control program
US8102543B2 (en) 2002-09-06 2012-01-24 Canon Kabushiki Kaisha Information processing apparatus, information processing method and printing control program
US8670150B2 (en) 2002-09-06 2014-03-11 Canon Kabushiki Kaisha Information processing apparatus, information processing method and printing control method

Similar Documents

Publication Publication Date Title
JP2909273B2 (en) Outline font line width adjusting method and apparatus
JP3058168B2 (en) Character processing apparatus and method
JP2876942B2 (en) Data converter
JPH09156158A (en) Printer
JP3226734B2 (en) Data conversion device and method
JPH05224651A (en) Character spacing adjustment system
US5222208A (en) Device and method for generating dot pattern enlargement data
JP3450869B2 (en) Bit image data generation device and bit image data generation method
KR100223496B1 (en) Apparatus and method for generating characters
JP3189345B2 (en) Character display processing method
JP3070822B2 (en) Contour data converter
JP2819961B2 (en) Printing control device
JPH08101675A (en) Font developing device
JP2629098B2 (en) Character arrangement correction method
JP3055918B2 (en) Font data conversion processing method
JP2738189B2 (en) Coordinate conversion method and coordinate conversion device
JP2687478B2 (en) Printing device
JPH11190990A (en) Outline font displaying and printing method
JP3084817B2 (en) Character output device
JPH0511734A (en) Character pattern generating device
JP2740539B2 (en) Enlarged reproduction image information creation method and apparatus
JP2710131B2 (en) Character processing apparatus and method
JP2901860B2 (en) How to generate character data
JPH03118167A (en) Printing device
JPH04269564A (en) Controller for printing

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19980630