JPH03173659A - Emphasized printing method - Google Patents
Emphasized printing methodInfo
- Publication number
- JPH03173659A JPH03173659A JP1313448A JP31344889A JPH03173659A JP H03173659 A JPH03173659 A JP H03173659A JP 1313448 A JP1313448 A JP 1313448A JP 31344889 A JP31344889 A JP 31344889A JP H03173659 A JPH03173659 A JP H03173659A
- Authority
- JP
- Japan
- Prior art keywords
- data
- font
- image
- character
- printing
- 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
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
- Dot-Matrix Printers And Others (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は文字を構成する線の太さを当該文字書体に最も
似合った大きさの文字で印字が可能な強調印字方式に関
する。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an emphasizing printing method capable of printing characters with the thickness of lines constituting a character in a size that best suits the character font.
(従来の技術)
第5図はホストコンピュータ1と接続されたプリンタコ
ントローラ2の機能ブロック図を示す。(Prior Art) FIG. 5 shows a functional block diagram of a printer controller 2 connected to a host computer 1.
このコン1〜ローラ(画像処理装置)2はホス1−コン
ピュータ1からの印字データ、コマンドを受取り、画像
データに変換してプリンタエンジン(画像形成装置)3
へ出力し、転写紙へプリント出力する。The controller 1 to roller (image processing device) 2 receive print data and commands from the host 1 and computer 1, convert them into image data, and convert them into printer engine (image forming device) 3.
and print it out on transfer paper.
図におけるマイクロコンピュータCCP U)20はコ
ン1−ローラ2の全体を統括的に制御するもので、該c
puzoはプログラムROM21に格納された制御プロ
グラムに従い動作する。RAM22は大容量のランダム
アクセスメモリで、1ペ一ジ分の画像データに展開する
。フォントファイルはフォントROM23.フォントカ
ード4あるいはダウンロードされてRAM22に存在す
る。また、太字(Bold)発生のための操作は前記プ
ログラムROM23のプログラムにより行なわれRAM
22に展開されるよう構成されている。The microcomputer CCP U) 20 in the figure controls the entire controller 1-roller 2;
puzo operates according to a control program stored in the program ROM 21. The RAM 22 is a large-capacity random access memory that expands image data for one page. The font file is font ROM23. The font card 4 or is downloaded and exists in the RAM 22. Further, the operation for generating bold characters is performed by the program in the program ROM 23, and the RAM
It is configured to be expanded to 22.
なお、上記説明に現れない不揮発性RAM24゜変倍処
理部25.ホストインタフェース26.操作パネル27
.オプションインタフェース28.ビデオ制1
2−
御部29.エンジンインタフェース30及びCPUバス
31等を有し、プリントに必要な動作を行なう。It should be noted that the nonvolatile RAM 24.degree. magnification processing section 25. which does not appear in the above description. Host interface 26. Operation panel 27
.. Optional interface 28. Video control 1 2- control section 29. It has an engine interface 30, a CPU bus 31, etc., and performs operations necessary for printing.
」二連したプリンタで文字を発生させる場合には、一般
的にプリンタメモリ内のフォントファイル(上記フォノ
1〜ROM23等)に予め登録されている文字パターン
を使用している。ところで、同一フォノ1〜でも細字(
Mediumフォント)、太字(Boldフォント)両
方の文字パターンが必要な場合、細字、太字フォント−
のフォノ1〜フアイルをプリンタメモリ内に搭載するか
、あるいは細字フォントの文字のドツトパタンを、定め
られた量(例えば1ドツト分の固定量)だけシフトして
元のドツトパターンに重ね合せる処理を指定された回数
だけ行ない太字を作成している(特開昭60−2458
4号)。When characters are generated using two printers, character patterns that are registered in advance in font files (such as phono 1 to ROM 23) in the printer memory are generally used. By the way, the fine print (
If you need character patterns for both Medium font and Bold font, use Fine and Bold fonts.
Specify the process of loading the phono 1~ file in the printer memory, or shifting the dot pattern of a thin font character by a predetermined amount (for example, a fixed amount of 1 dot) and superimposing it on the original dot pattern. The bold text is created by repeating the same number of times as
No. 4).
(発明が解決しようとする課題)
しかし、従来の技術では、太字のフォントファイルを、
細字フォノ1〜とは別にプリンタメモリ内に搭載するた
めに大量のメモリが必要であるという欠点があった。(Problem to be solved by the invention) However, in the conventional technology, the bold font file is
There was a drawback that a large amount of memory was required to be installed in the printer memory separately from the fine print phono 1.
また、太字フォントを作成する際に細字フォノj−をシ
フ1へさせる量が固定量であるため、例えば第4図の細
字(Mcdjum文字)から太字(Illol、d文字
)を作成する過程図に示すように、文字の大きさ((1
)> (2) > (3)の関係)に係わらす、シフ1
−量ΔX。Also, when creating a bold font, the amount by which the fine phono j- is shifted to shift 1 is a fixed amount, so for example, in the process diagram of creating bold characters (Illol, d characters) from fine characters (Mcdjum characters) in Figure 4, As shown, the font size ((1
) > (2) > (3), Schiff 1
-Amount ΔX.
八yは全て同じ(Δx、=Δx、=ΔX3.Δy、=Δ
y2−Δy3)である。つまり、書体が異なっても太字
の太くなる公報は同じとなり、例えば、小さめのフォン
トF(第4図(3))は太くなり過ぎ(太字:Bol、
d文字)、また、大きめのフォノ1〜F’ (第4図(
1))は太さが足りない(太字: Bold文字)など
、文字の字形(デザイン)に最も似合った太字フォノ1
へが得られないという欠点があった。All eight y are the same (Δx, = Δx, = ΔX3. Δy, = Δ
y2-Δy3). In other words, even if the fonts are different, the bold fonts will be the same.For example, the smaller font F (Figure 4 (3)) will be too thick (bold: Bol,
d letter), and larger phono 1 to F' (Fig. 4 (
1) Bold phono 1 that best suits the character shape (design), such as those that are not thick enough (bold characters).
The disadvantage was that it was not possible to obtain
(発明の目的)
本発明は太字フォノ1〜が必要な際、プリンタメモリ内
にその太字フォントが搭載されていない場合には、書・
体ごと設定されたシフト量だけ細字フォノ1−のドツト
パターンをシフトし、元のドツトパターンに重ね合せる
ことにより、そのフォントに最も適する太字フォノ1−
を作成することを目的とする。(Object of the Invention) The present invention provides that when bold fonts 1 to 1 are required and the bold fonts are not installed in the printer memory,
By shifting the dot pattern of the fine phono 1- by the amount of shift set for each font and superimposing it on the original dot pattern, the bold phono 1- most suitable for that font is created.
The purpose is to create.
−
(構成および作用)
本発明は上記目的を達成するため、画像メモリ内の1−
ットパターンデータを指定された方向へ所定量だけシフ
トして得たドツトパターンデータと元のドツトパターン
データとを重ね合せて強調印字する方式において、前記
ドツトパターンデータのシフト量を、文字書体の大きさ
に合せて指定し文字書体に最も似合った太さの文字で印
字し、かつ前記ドツトパターンデータのシフト量をフォ
ントファイルごとに持たせて印字を行なうことを特徴と
する。- (Structure and operation) In order to achieve the above object, the present invention
In a method of emphasizing printing by overlapping the original dot pattern data with the dot pattern data obtained by shifting the dot pattern data by a predetermined amount in a specified direction, the amount of shift of the dot pattern data is adjusted according to the character font. The present invention is characterized in that characters are printed with a thickness that best matches the character font specified according to the size, and that the shift amount of the dot pattern data is set for each font file.
本発明はフォントファイルの構成を、フォノ1〜の属性
を示すフォントヘッダ一部と、夫々のイメージデータを
格納しているイメージデータ部で構成し、上記フォント
ヘッダ一部に強調印字時のΔX、Δy各方向のシフト量
を格納して、ドツトパターンデータのシフト量を文字書
体の大きさに合せて指定して、文字書体に最も似合った
太さの文字で強調印字する。The structure of the font file of the present invention is composed of a part of the font header indicating the attributes of phono 1 to 1, and an image data part storing the respective image data, and part of the font header includes the ΔX when emphasizing printing, The amount of shift in each direction of Δy is stored, the amount of shift of the dot pattern data is specified in accordance with the size of the character font, and characters with a thickness that best suits the character font are printed in an emphasized manner.
(実施例)
第1図は本発明方式を実施するためのフォノ1〜フアイ
ルの構成例を示し、フォントファイル5はフォントヘッ
ダ一部51とイメージデータ部52とで構成される。こ
のフォノ1〜ヘツダ一部は書体の属性を表すデータ群5
10を有し、データd、には書体名、セルの高さ1幅、
シンボルセット等が、また、データd、には強調印字の
際の+x、+y方向および−X+ 3’方向のシフト
量を有し、第4図(1)〜(3)に例示する細字(Me
dium)文字の大きさに応じて、各文字作成のため第
4図(4)〜(6)に示すようにシフト量Δx′、とΔ
y′4.ΔX′2とΔy′2.Δx′3とΔy′3とが
夫々定められている。(Embodiment) FIG. 1 shows an example of the configuration of a phono file 1 to a phono file for carrying out the method of the present invention, and a font file 5 is composed of a font header part 51 and an image data part 52. This phono 1 ~ header part is a data group 5 that represents the attributes of the typeface
10, and the data d contains the font name, cell height 1 width,
The symbol set, etc. also has shift amounts in the +x, +y directions, and -X+3' direction for emphasis printing in the data d, and the fine characters (Me
dium) Depending on the size of the character, the shift amount Δx' and Δ
y′4. ΔX'2 and Δy'2. Δx'3 and Δy'3 are respectively determined.
また、イメージデータ部52は、各文字のイメージデー
タのアドレスを表すテーブル52D、と、各文字のイメ
ージデータ(ドツトパターン)52D2とを有する。The image data section 52 also includes a table 52D representing the address of image data of each character, and image data (dot pattern) 52D2 of each character.
次に強調印字の動作を説明すると、フォントファイル(
第1図)のイメージデータ部52から文字のイメージデ
ータ52D2を読出し、同時にフォノ1−ヘッダ一部5
1からシフト量(データd2)を読出し6
前記第5図でのべたコントローラ2の処理により印字を
行なう。Next, to explain the operation of emphasized printing, the font file (
The character image data 52D2 is read out from the image data section 52 in FIG.
The shift amount (data d2) is read from 1 and 6. Printing is performed by the processing of the controller 2 shown in FIG.
これを詳しく第2図の太字文字を作成するためのフロー
チャート及び第3図の文字D−)の強調処理について説
明するが、ここは+x、+y方向に夫々ΔXとΔy l
’ツ1〜ずつ太字とする文字データの場合についてのべ
る。またイメージ(n )(Image(n)と記す)
はイメージ(0)(Image(0)と記す)を初期値
として、文字枠内で指定方向(十xまたは十y方向)に
nドツトだけシフトしたデータを指すことにする。This will be explained in detail in the flowchart for creating bold characters in Fig. 2 and the emphasizing process for the character D-) in Fig. 3.
Let's talk about the case of character data in which each character is made bold. Also, image (n) (denoted as Image(n))
indicates data shifted by n dots in the specified direction (10x or 10y direction) within the character frame, with Image (0) (denoted as Image (0)) as the initial value.
ます、初期設定としてX方向にも、X方向にも太字処理
をしていない通常のデータ(第3図(1)の]mage
(0))を作成する(第2図S、)。太字(Bold)
印字でない場合(第2図82のNo)は、文字データの
データ作成は終了する(第2図83)。As an initial setting, normal data (in Figure 3 (1)) with no bold text processing in either the X direction or the
(0)) is created (S, in Figure 2). Bold
If it is not printing (No in FIG. 2 82), data creation of character data ends (FIG. 2 83).
次に太字印字の場合(第2図82のYES) 、まずX
方向についてシフ1へ量ΔXをフォントファイル(第1
図のデータd、)より読出す(第2図84)。そして第
3図(1)の初期データImage(0)をX方向へ1
ドツトだけシフトした第3図(2)のデータImage
(1)を作成する(第2図86)。次に前記第3図(1
)の]’mage (0)と第3図(2)のImage
(1)と重ね合せ(第2図s7)、第3図(3)の新し
いデータI m a g eを作成する(第2図Sr、
)。Next, in the case of bold printing (YES in Figure 2 82), first
For the direction, transfer the amount ΔX to shift 1 in the font file (first
The data d,) in the figure is read out (84 in FIG. 2). Then, the initial data Image (0) in Fig. 3 (1) is moved by 1 in the X direction.
Data Image in Figure 3 (2) shifted by a dot
(1) is created (Fig. 2 86). Next, the above-mentioned figure 3 (1
)'mage (0) and Image in Figure 3 (2)
(1) (Fig. 2 s7) and create a new data image of Fig. 3 (3) (Fig. 2 Sr,
).
以下同様に第3図(1)のImaFCe (0)を、X
方向へ2ドツトだけシフ1へした第3図(4)のデータ
丁made(2)を作成し、第3図(3)のデータIm
ageとImage(2)を重ね合せ(第2図S7)、
第3図(5)の新しいデータImageを作成する。こ
のX方向の太字作成動作をΔχ回繰返す(第2図85)
。このX方向の動作が終了すると(第2図S、のYES
)、次にX方向について行なう。Similarly, ImaFCe (0) in FIG. 3 (1) is
Create the data made (2) in Figure 3 (4) with a shift of 1 by 2 dots in the direction, and create the data Im in Figure 3 (3).
Overlap age and Image (2) (S7 in Figure 2),
A new data Image shown in FIG. 3 (5) is created. This operation of creating bold characters in the X direction is repeated Δχ times (Fig. 2 85)
. When this movement in the X direction is completed (YES in S in Figure 2)
), then in the X direction.
まず、前記フォノ1〜フアイル(第1図のデータd2)
より、X方向についてシフト量Δyを読出す(第2図8
3)。データの初期値としては、前記X方向への太字処
理が終了しているデータImage(第3図(5))
tr Image(0)とする(第2図Sg)。そして
、X方向について、Image(0)を1ドツトだけシ
フトシたデータImage(1)(第3図(6))と、
前記7
8
]’、mage(○)(第3図(5))とを重ねて新し
いデータImage(第3図(7))を作成する。これ
をΔy回繰返す。First, the phono 1 to file (data d2 in Figure 1)
Then, the shift amount Δy in the X direction is read out (see Fig. 2, 8).
3). The initial value of the data is the data Image for which the bold processing in the X direction has been completed (Fig. 3 (5)).
tr Image (0) (Sg in Figure 2). Then, in the X direction, Image (0) is shifted by one dot to create data Image (1) (Fig. 3 (6)),
7 8 ]' and image(○) ((5) in FIG. 3), new data Image ((7) in FIG. 3) is created. This is repeated Δy times.
このようにして、ΔX、Ay回繰返された最終的なデー
タ丁mageは第3図(8)のように形成され、X方向
へΔXドツト、X方向へΔyドツトの太字文字を作成す
ることができる。In this way, the final data image that is repeated ΔX and Ay times is formed as shown in Figure 3 (8), and bold characters with ΔX dots in the X direction and Δy dots in the X direction can be created. can.
第4図は上記太字文字処理による本実施例(4)〜(6
)の太字(Bold)文字を、従来例(1) −(3)
のそれとを比較のために示しである。両図から明らかな
ように本発明の実施例による太字文字の方が、元の細字
文字によく似合った形状に強調印字処理されている。FIG. 4 shows the present embodiments (4) to (6) using the bold character processing described above.
) in conventional examples (1) - (3)
is shown for comparison. As is clear from both figures, the bold characters according to the embodiment of the present invention are printed in an emphasized manner to have a shape that better matches the original thin characters.
(発明の効果)
以−に説明したように本発明は、文字の大きさに適した
強調印字を行なうことができ、より美しく見易いプリン
ト出力をうろことができる。(Effects of the Invention) As described above, the present invention can perform emphasized printing appropriate to the size of the characters, and can produce more beautiful and easy-to-read print output.
また、フォントファイル毎にシフトの量を持たせること
により、カードフォントのようなプリンタから脱着可能
なオプションフォントにおいても、同様に細字フォント
からそれに適した太字フォントを得ることができる。Furthermore, by providing a shift amount for each font file, it is possible to similarly obtain a bold font suitable for an optional font such as a card font that is removable from a printer from a thin font.
第1図は本発明方式を実施するためのフォントファイル
の構成例を示す図、第2図は太字文字を作成するための
フローチャート、第3図は文字(L)の太字強調処理の
説明図、第4図は従来と本実施例との文字強調処理によ
る比較を示す図、第5図は本発明方式が適用されるプリ
ンタコントローラの機能ブロック図を示す。
1 ・・ホストコンピュータ、 2 ・・・コントロー
ラ、 3 ・・・プリンタエンジン、4 ・・・フォン
トカード等、 5 ・・・ フォントファイル、51・
・・フォノ1−ヘッダ一部、52・・イメージデータ部
、51D ・・・書体の属性を表わすデータ群、52D
よ・・・各文字のイメージデータのアドレスを表わすテ
ーブル、52D2・・・各文字のイメージデータ(ドツ
トパターン)。
一1〇−
○
′IフFIG. 1 is a diagram showing an example of the configuration of a font file for implementing the method of the present invention, FIG. 2 is a flowchart for creating bold characters, and FIG. 3 is an explanatory diagram of bold emphasis processing for the character (L). FIG. 4 is a diagram showing a comparison of character emphasis processing between the conventional method and the present embodiment, and FIG. 5 is a functional block diagram of a printer controller to which the method of the present invention is applied. 1... host computer, 2... controller, 3... printer engine, 4... font card, etc., 5... font file, 51...
... Phono 1 - header part, 52 ... Image data section, 51D ... Data group representing typeface attributes, 52D
52D2... Image data (dot pattern) for each character. 110- ○ 'Ifu
Claims (1)
へ所定量だけシフトして得たドットパターンデータと元
のドットパターンデータとを重ね合せて強調印字する方
式において、 前記ドットパターンデータのシフト量を、文字書体の大
きさに合せて指定し文字書体に最も似合った太さの文字
で印字し、かつ前記ドットパターンデータのシフト量を
フォントファイルごとに持たせて印字を行なうことを特
徴とする強調印字方式。[Scope of Claims] A method of emphasizing printing by superimposing dot pattern data obtained by shifting dot pattern data in an image memory by a predetermined amount in a specified direction and the original dot pattern data, comprising: The amount of data shift is specified in accordance with the size of the character font, and the characters are printed with a thickness that best suits the font, and the amount of shift of the dot pattern data is set for each font file for printing. Emphasized printing method featuring
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1313448A JPH03173659A (en) | 1989-12-04 | 1989-12-04 | Emphasized printing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1313448A JPH03173659A (en) | 1989-12-04 | 1989-12-04 | Emphasized printing method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03173659A true JPH03173659A (en) | 1991-07-26 |
Family
ID=18041426
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1313448A Pending JPH03173659A (en) | 1989-12-04 | 1989-12-04 | Emphasized printing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03173659A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6259535B1 (en) | 1996-04-15 | 2001-07-10 | Seiko Epson Corporation | Print image-forming method and device |
-
1989
- 1989-12-04 JP JP1313448A patent/JPH03173659A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6259535B1 (en) | 1996-04-15 | 2001-07-10 | Seiko Epson Corporation | Print image-forming method and device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4707153A (en) | Printer controller | |
| JPH0263763A (en) | Printing apparatus | |
| US4623978A (en) | Print control apparatus having line buffer | |
| JPH03173659A (en) | Emphasized printing method | |
| US5867637A (en) | Document processing with flexible resolution and output style | |
| EP0127745B1 (en) | A word processing system based on a data stream having integrated alphanumeric and graphic data | |
| JP3218088B2 (en) | Printer | |
| JP2000506797A (en) | Printing apparatus and method for saving printing material | |
| JPS6189861A (en) | Printing controller | |
| JPH0421592B2 (en) | ||
| JPH01304486A (en) | Multivalued character font generation system | |
| JPS63116192A (en) | Image data output device | |
| JPH05301411A (en) | Method for treating printing of page printer | |
| JPH08183208A (en) | Bitmap recording method and recording device | |
| JPH03112668A (en) | printing device | |
| JPH03112671A (en) | printing device | |
| JPH08132684A (en) | Braille plate output system and Braille plate output method | |
| JPH01229651A (en) | Image recorder | |
| JPS5931731B2 (en) | Print information processing method | |
| JPH04120594A (en) | data conversion device | |
| JPH04267165A (en) | Printing apparatus | |
| JPH03150176A (en) | recording device | |
| JPS61108562A (en) | Character pitch processing method | |
| JPS61120755A (en) | Printer | |
| JPS63108391A (en) | Document generator |