JPS6487362A - Recording method - Google Patents
Recording methodInfo
- Publication number
- JPS6487362A JPS6487362A JP24734887A JP24734887A JPS6487362A JP S6487362 A JPS6487362 A JP S6487362A JP 24734887 A JP24734887 A JP 24734887A JP 24734887 A JP24734887 A JP 24734887A JP S6487362 A JPS6487362 A JP S6487362A
- Authority
- JP
- Japan
- Prior art keywords
- font
- character
- stored
- recording
- attribute
- 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
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J5/00—Devices or arrangements for controlling character selection
- B41J5/30—Character or syllable selection controlled by recorded information
- B41J5/44—Character or syllable selection controlled by recorded information characterised by storage of recorded information
Landscapes
- Dot-Matrix Printers And Others (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は種々の文字パターンを記録しうるプリンタ等に
おける記録方法に関する。[Detailed Description of the Invention] [Industrial Field of Application] The present invention relates to a recording method for a printer or the like that can record various character patterns.
ホストコンピュータ等、外部からの文字データに対応す
る文字パターンをドツトで記録する記録方法にあっては
、異なった属性のフォントを記録する場合には、従来か
ら次の2つの方法あるいはこれら2つを組み合わせた方
法が採用されていた。
In recording methods that record character patterns corresponding to character data from external sources such as host computers as dots, when recording fonts with different attributes, the following two methods, or a combination of these two methods, have traditionally been employed.
(i)異なった属性のフォントのビットパターンをRO
MあるいはRAM内に格納しておく。(i) The bit patterns of fonts with different attributes are RO
Store it in M or RAM.
(ii )記録する際に、異なった属性のフォントに見
えるパターンを形成する処理を行う。例えば、太字を記
録する場合、同じ文字を少しずらして記録し、太字に見
えるパターンをドツトで記録する。(ii) When recording, a process is performed to create a pattern that looks like a font with different attributes. For example, when recording bold text, the same character is recorded with a slight shift, and a pattern that looks like bold text is recorded as dots.
なお、本件における「フォント」は、同一の属性を有す
る文字パターンの集合を意味し、「属性」とは文字太さ
、文字の傾きなどのフォントの性質を意味する。In this context, "font" refers to a set of character patterns that share the same attributes, and "attributes" refer to the properties of the font, such as character weight and slant.
また、ここで「文字」とは、いわゆる文字の外に、記号
や図形なども含めた記録画像を意味する。Furthermore, the term "characters" here refers not only to what we typically consider characters, but also to recorded images that include symbols, figures, and other visual elements.
ところで上記2種類の方法のうち(i)の方法では、記
録する際の処理は少なくて済み、したがって記録速度は
速いが、数多くのフォントを用意しておく必要があり、
フォントを記憶するためのメモリーが多量になるという
問題がある。
By the way, of the two methods described above, method (i) requires less processing during recording and therefore has a faster recording speed, but it requires a large number of fonts to be prepared.
There is a problem in that it requires a large amount of memory to store the fonts.
例えば、文字の太さの属性について、細字、標準太さ、
太字および極太の4社類を用意し、さらにそれぞれに直
立体と斜字体を設け、縦2倍拡大文字および縦横2倍拡
大文字を揃えると、フォントの数は24種類となってし
まう。For example, regarding the attribute of font weight, there are thin, standard weight,
If we prepare four types of fonts—bold and extra bold—and then provide both upright and italic versions for each, and also offer double-sized vertical and double-sized horizontal and vertical fonts, the total number of fonts ends up being 24.
一方、(ii)の方法では、少ないフォントを様々の属
性のフォントとして使用することができるが、記録処理
に時間を要し、記録速度が低下するという問題がある。On the other hand, method (ii) allows the use of a small number of fonts as fonts with various attributes, but it has the problem of requiring time for recording processing and reducing the recording speed.
本発明は上記従来の記録方法の問題点に鑑みなされたも
のであり、少ない種類のフォントを揃えておくだけで多
くの種類のフォントを記録することができ、しかも記録
速度を高速に維持しうる記録方法を提供することを目的
とする。
This invention has been made in view of the problems of the conventional recording methods described above, and aims to provide a recording method that can record many types of fonts by having only a small number of font types available, and that can maintain a high recording speed.
本発明は、少なくとも1つのフォントの格納手段と、属
性指定命令解析手段と、既に存在するフォントに基づい
て別の属性のフォントを作成する手段と、作成されたフ
ォントの格納手段とを備え、要求された属性のフォント
がない場合には該フォントを作成して格納しておき、次
回の同じ属性のフォントの要求があったときこれを読み
出して記録する方法により、上記目的を達成するもので
ある。The present invention provides a means for storing at least one font, an attribute specification instruction analysis means, a means for creating a font with different attributes based on an already existing font, and a means for storing the created font. If a font with the requested attributes does not exist, the font is created and stored, and the next time a font with the same attributes is requested, it is read and recorded, thereby achieving the above objective.
以下図面を参照して本発明を具体的に説明する。The present invention will be specifically described below with reference to the drawings.
第1図は本発明による記録方法を実施するための装置の
要部構成を示すブロック図である。Figure 1 is a block diagram showing the main components of an apparatus for implementing the recording method according to the present invention.
第1図において、ホストコンピュータ1で代表される外
部からプリンタ等の記録装置2に対し文字データおよび
指令データが伝送されてくる。In Figure 1, character data and command data are transmitted from an external source, represented by the host computer 1, to a recording device 2 such as a printer.
記録装置2は、記録装置全体の作動を制御する制御部2
1、ワーク用メモリーであるRAM22、フォノ)RO
M23.1ペ一ジ分の出力用ビットマツプである出力用
ページバッファ24、およびドツト記録部25で構成さ
れている。The recording device 2 is controlled by a control unit 2 that controls the operation of the entire recording device.
1. RAM 22, which is the work memory, phono) RO
It consists of an output page buffer 24, which is an output bitmap for M23.1 pages, and a dot recording unit 25.
このような構成の記録装置によって本発明による記録方
法が実施される。The recording method according to the present invention is carried out using a recording device with such a configuration.
すなわち、外部(ホストコンピューター1など)からの
文字データに対応する文字パターンをドツトで記録する
記録方法において、書体や文字の太さ大きさなどの文字
属性指定命令解析手段と、文字パターンデータ格納手段
と、格納されている文字パターンデータから指定された
文字属性のフォントのパターンデータを作成する作成手
段と、作成された文字パターンデータの記憶手段とを設
け、指定された属性のフォントパターンを作成した後こ
れを記憶しておき、以後の同じ属性の指定に対しては記
憶されているフォントパターンを記録する方法が実施さ
れる。In other words, in a recording method for recording character patterns corresponding to character data from an external source (such as a host computer 1) as dots, the method includes a means for analyzing character attribute specification commands such as typeface and character thickness and size, a means for storing character pattern data, a means for creating font pattern data of the specified character attribute from the stored character pattern data, and a means for storing the created character pattern data. After creating a font pattern of the specified attribute, it is stored, and for subsequent specifications of the same attribute, the stored font pattern is recorded.
第2図は本発明による記録方法を実施する際の動作手順
を示すフローチャートであり、以下、このフローチャー
トに基づいて上記本発明の記録方法の動作を具体的に説
明する。Figure 2 is a flowchart showing the operation procedure when implementing the recording method according to the present invention. The operation of the recording method of the present invention will be specifically described below based on this flowchart.
なお、第2図のフローチャートでは、繁雑さを避けるた
め、文字属性については標準太さ、太字および極太の3
種類の太さの文字を記録することができ、標準太さの文
字のみフォントROM23内に格納されているものとす
る。Note that in the flowchart in Figure 2, to avoid complexity, the text attributes are limited to three types: standard weight, bold, and extra bold.
It is possible to record characters of different thicknesses, but only characters of standard thickness are stored in the font ROM 23.
第2図において、まずステップS1で受信したデータが
太さ指定命令であるか否かを判別し、太さ指定命令でな
い場合はステップ9へ進んでその他の処理を行い、元に
戻ってステップS1を所定のインターバルで繰返し実行
する。In Figure 2, first, it is determined whether the data received in step S1 is a thickness specification command. If it is not a thickness specification command, the process proceeds to step 9 to perform other processing, and then the process returns to repeat step S1 at predetermined intervals.
太さ指定命令であった場合はステップS2へ進んで太字
指定命令であるか否かを判別する。If it is a thickness specification instruction, proceed to step S2 to determine whether or not it is a bold specification instruction.
太字指定命令である場合はステップS3へ進み、太字フ
ォントが存在するか否かを判別する。 太字フォントが
無い場合は、ステップS4において、フォントROM2
3に格納されている標準太さフォントから太字フォント
を作成し、これをRAM22内に格納する。If the instruction is to specify bold text, proceed to step S3 to determine whether a bold font exists. If a bold font does not exist, in step S4, check the font ROM2.
A bold font is created from the standard font weight stored in 3, and this is stored in RAM 22.
前記太字フォントは、例えば標準太さフォントを右に1
ドツトづつずらし、論理和を取って作成される。The aforementioned bold font is, for example, a standard weight font shifted 1 unit to the right.
It is created by shifting each dot and taking a logical OR operation.
ステップS2で太字指定でないと判別されると、ステッ
プS5へ進み、極太指定であるか否かを判別する。If it is determined in step S2 that the text is not bold, the process proceeds to step S5 to determine whether or not it is extra bold.
極太指定である場合はステップS6へ進んで極太フォン
トが有るか否かを判別し、極太フォントが無い場合には
ステップS7で極太フォントを作成し、この極太フォン
トをRAM22内に格納する。If extra bold font is specified, the process proceeds to step S6 to determine whether an extra bold font exists. If an extra bold font does not exist, an extra bold font is created in step S7 and stored in RAM 22.
極太フォントは、フォントROM23に格納されている
標準太さフォントを右、上、右上に1ドツトずらして論
理和をとって作成される。The extra-bold font is created by taking the logical OR of the standard weight font stored in font ROM23, shifting it one dot to the right, up, and upper right.
ステップ5で極太フォント指定でないと判別されると、
それは標準太さフォントの指定であり、フォントは必ず
存在する。If it is determined in step 5 that the font is not extra bold,
That specifies a standard font weight, and the font will always exist.
以上の手順を踏んだ後ステップS8へ進み、指定されて
いるフォントを選択し、ステップSlへ戻り、以上の動
作を受信データごとに繰返し実行する。After following the above steps, proceed to step S8, select the specified font, return to step Sl, and repeat the above operations for each received data.
第2図で説明した処理により、指定された太さのフォン
トが存在しない場合は該フォントがRAM22上に作成
されることになる。As explained in Figure 2, if a font of the specified thickness does not exist, that font will be created in RAM 22.
ROM23またはRAM22上にすでに存在する場合は
、新たに作成し直すことなく、また、記録の際にその度
に作成しながら記録することもないので、高速で記録す
ることができる。If the data already exists in ROM23 or RAM22, it does not need to be recreated, nor does it need to be recreated each time it is recorded, thus enabling high-speed recording.
しかも、少ないフォント(上記実施例では標準太さフォ
ントのみ)で様々な属性のフォント(上記実施例では標
準太さの他に太字フォントおよび極太フォント)として
記録することが可能になった。Furthermore, it became possible to record various font attributes (standard weight, bold, and extra-bold fonts in addition to standard weight) using a limited number of fonts (only the standard weight font in the above example).
以上の実施例では、太さの異なるフォントのみを記録装
置内で作成したが、本発明は斜字体文字、拡大文字、縮
小文字など様々な属性の文字の作成にも同様に通用する
ことができる。In the embodiments described above, only fonts of different thicknesses were created within the recording device, but the present invention can be similarly applied to the creation of characters with various attributes, such as italicized characters, enlarged characters, and reduced characters.
以上の説明から明らかなごとく、本発明によれば、文字
属性指定命令解析手段と、文字パターンデータ格納手段
と、格納されている文字パターンデータから指定された
文字属性のフォントのパターンデータを作成する作成手
段と、作成された文字パターンデータの記憶手段とを設
け、指定された属性のフォントパターンを作成した後こ
れを記憶しておき、以後の同じ属性の指定に対しては記
憶されているフォントパターンを記録するので、少ない
種類のフォントを常備するだけで多くの種類のフォント
を記録することができ、しかも記録速度を高く維持しう
る記録方法が得られる。4、
As is clear from the above description, the present invention provides a character attribute specification instruction analysis means, a character pattern data storage means, a creation means for creating font pattern data of a specified character attribute from the stored character pattern data, and a storage means for the created character pattern data. After creating a font pattern of the specified attribute, it is stored, and for subsequent specifications of the same attribute, the stored font pattern is recorded. Therefore, a recording method is obtained that allows for the recording of many types of fonts by keeping only a small number of fonts on hand, while maintaining a high recording speed. 4.
【図面の簡単な説明】
第1図は本発明の記録方法を実施するのに好適な制御系
の構成を示すブロック図、第2図は本発明の記録方法を
実施する際の動作手順を例示するフローチャートである
。
2−・−・−・−記録装置、21・・−−m=−−−・
制御部、22・・・−・−・・RAM、23・−−−−
−・・−・−フォントROM、 25−−・・−ドツト
記録部。
代理人 弁理士 大 音 康 毅[Brief Description of the Drawings] Figure 1 is a block diagram showing a control system configuration suitable for implementing the recording method of the present invention, and Figure 2 is a flowchart illustrating the operation procedure when implementing the recording method of the present invention. 2−・−・−・−Recording device, 21・・−−m=−−−・
Control unit, 22...----RAM, 23...----
-・・-・-Font ROM, 25---・・-Dot recording section. Agent: Patent Attorney Yasuyuki Ooto
Claims (1)
録方法において、文字属性指定命令解析手段と、文字パ
ターンデータ格納手段と、格納されている文字パターン
データから指定された属性の文字パターンデータを作成
する作成手段と、作成された文字パターンデータの記憶
手段とを設け、指定された属性のフォントパターンを作
成した後これを記憶しておき、以後の同じ属性の指定に
対しては記憶されているフォントパターンを記録するこ
とを特徴とする記録方法。(1) A recording method for recording character patterns corresponding to character data, comprising: a character attribute specification instruction analysis means; a character pattern data storage means; a creation means for creating character pattern data of a specified attribute from the stored character pattern data; and a storage means for the created character pattern data, wherein a font pattern of the specified attribute is created and stored, and the stored font pattern is recorded for subsequent specifications of the same attribute.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP24734887A JP2626769B2 (en) | 1987-09-30 | 1987-09-30 | Output control device and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP24734887A JP2626769B2 (en) | 1987-09-30 | 1987-09-30 | Output control device and method |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JPS6487362A true JPS6487362A (en) | 1989-03-31 |
| JPS6487362A5 JPS6487362A5 (en) | 1995-10-09 |
| JP2626769B2 JP2626769B2 (en) | 1997-07-02 |
Family
ID=17162075
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP24734887A Expired - Fee Related JP2626769B2 (en) | 1987-09-30 | 1987-09-30 | Output control device and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2626769B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01228865A (en) * | 1988-03-09 | 1989-09-12 | Minolta Camera Co Ltd | Printer controller |
-
1987
- 1987-09-30 JP JP24734887A patent/JP2626769B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01228865A (en) * | 1988-03-09 | 1989-09-12 | Minolta Camera Co Ltd | Printer controller |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2626769B2 (en) | 1997-07-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5729665A (en) | Method of utilizing variable data fields with a page description language | |
| EP0119395A2 (en) | A system and method for text processing | |
| JPS6126072B2 (en) | ||
| EP0119396B1 (en) | Apparatus for and methods of presenting or displaying data represented as electric signals | |
| JP2626769B2 (en) | Output control device and method | |
| JPS59211374A (en) | Word processing system | |
| JPH08127152A (en) | Printing device and translation printing method of printing device | |
| JP3083406B2 (en) | Printing method and apparatus | |
| JP2764944B2 (en) | Character output device | |
| JP2969920B2 (en) | Document processing device | |
| JPS63136084A (en) | character processing device | |
| JPS63116192A (en) | Image data output device | |
| JPS63304365A (en) | Text data editing/output system for multi-media editing/ output device | |
| JPS62208090A (en) | Image processing device | |
| JPS61108562A (en) | Character pitch processing method | |
| JPS59117621A (en) | Document editing and proofreading system | |
| JPS63312854A (en) | How to print on a Japanese word processor | |
| JPH064342B2 (en) | Vertical writing control method | |
| JPH02110655A (en) | Document preparing device | |
| JPH03150176A (en) | Recorder | |
| JPH031271A (en) | Automatic setting method for indent character | |
| JPH05101062A (en) | Document processor | |
| JPS6461260A (en) | Printer | |
| JPH10333661A (en) | Character creation device, character creation method, and recording medium recording character creation program | |
| JPH01184572A (en) | Document preparing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |