JPH03113498A - Printer - Google Patents

Printer

Info

Publication number
JPH03113498A
JPH03113498A JP1250552A JP25055289A JPH03113498A JP H03113498 A JPH03113498 A JP H03113498A JP 1250552 A JP1250552 A JP 1250552A JP 25055289 A JP25055289 A JP 25055289A JP H03113498 A JPH03113498 A JP H03113498A
Authority
JP
Japan
Prior art keywords
scaling
font
data
printing
analyzing
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
JP1250552A
Other languages
Japanese (ja)
Inventor
Yoriyasu Ito
順康 伊藤
Shuichi Kumada
熊田 周一
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP1250552A priority Critical patent/JPH03113498A/en
Publication of JPH03113498A publication Critical patent/JPH03113498A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To freely and simply change the scaling condition of a font by providing an analyzing means for analyzing the scaling information inputted by an input means and a generating means for generating a printing pattern in accordance with a result by the analyzing means. CONSTITUTION:This printer is provided with an input means 101 for inputting a scaling condition containing an attribute of printing data, an analyzing means 108 for analyzing the scaling condition inputted by the input means 101 and a generating means 110 for generating a printing pattern in accordance with a result by the analyzing means 108. In this state, the scaling condition containing an attribute of printing data is inputted, the inputted scaling condition is analyzed, and in accordance with a result of its analysis, the printing pattern is generated, and by outputting its printing pattern, printing is executed. In such a way, the scaling condition of a font can freely and simply be changed.

Description

【発明の詳細な説明】 本発明は印刷装置に関し、特にドツトフォント又はベク
トルフォントに基づいてドツトパターンを展開し、該ド
ツトパターンにより印字が可能な印刷装置に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a printing device, and more particularly to a printing device that develops a dot pattern based on a dot font or a vector font and is capable of printing using the dot pattern.

[従来の技術] 近年、レーザビームプリンタなどに代表されるプリンタ
では、文字やデータをドツトパターンによって形成する
場合、フォントデータをフォントメモリ内に記憶させて
おき、そのフォントデータに基づいてドツトパターンを
展開するように構成されている。そして、そのフォント
データには、ドツトフォントとベクトルフォントという
2種類のデータが用いられている。
[Prior Art] In recent years, when printers such as laser beam printers form characters or data using dot patterns, font data is stored in a font memory, and dot patterns are created based on the font data. Configured to expand. The font data uses two types of data: dot font and vector font.

上記ドツトフォントとは、フォントをその大きさ(ポイ
ント数という)に応じたドットパターンでデータを持っ
ているフォントのことである。
The above-mentioned dot font is a font that has data in a dot pattern corresponding to the size of the font (referred to as the number of points).

また、ベクトルフォントとは、例えばフォントの輪郭を
線で描画する際に、必要なドツトデータのみを記憶して
いるフォントのことである。このベクトルフォントは、
ドツトフォントに比べ少ないデータ数で文字情報を記憶
している。しかし、このベクトルフォントで印字する場
合、文字情報から実際に出力する文字の大きさに応じた
輪郭線のデータを求め、それをドツトデータに展開する
必要があり、展開処理に時間がかかつていた。
Furthermore, a vector font is a font that stores only the dot data necessary for drawing the outline of the font with lines, for example. This vector font is
It stores character information using less data than dot fonts. However, when printing with this vector font, it is necessary to find outline data based on the character information according to the actual size of the characters to be output, and then develop it into dot data, which takes time. .

第4図は、ドツトフォントデータの一例を示すものであ
り、図中の“口”がドツトに対応している。また、第5
図は、ベクトルフォントデータの一例を示すものであり
、図中の黒丸の点A1〜A I 2を文字データとして
記憶している。そして、第6図は、−例として(x、y
)座標のデータを示すものである。
FIG. 4 shows an example of dot font data, and the "mouth" in the figure corresponds to a dot. Also, the fifth
The figure shows an example of vector font data, and black circle points A1 to A I2 in the figure are stored as character data. And FIG. 6 shows - for example (x, y
) indicates coordinate data.

上記、2種類の文字セットから一方を選択する際に、従
来では、文字の大きさ(ポイント数)に応じてスケーリ
ングの有無を指定することにより行っていた。
Conventionally, when selecting one of the two types of character sets mentioned above, this has been done by specifying whether or not scaling is to be performed according to the size (number of points) of the characters.

[発明が解決しようとしている課題] しかしながら、上記従来例では、スケーリングの条件を
一度設定してしまうと、それを変更する時には手間がか
かり、頻繁に設定を変えることができないという欠点が
あった。
[Problems to be Solved by the Invention] However, in the conventional example described above, once the scaling conditions are set, it takes time and effort to change them, and the settings cannot be changed frequently.

本発明は、上記課題を解決するために成されたもので、
フォントのスケーリング条件を自由に、かつ簡単に変更
できる印刷装置を提供することを目的とする。
The present invention was made to solve the above problems, and
To provide a printing device that can freely and easily change font scaling conditions.

[課題を解決するための手段] 上記目的を達成するために、本発明の印刷装置は以下の
構成から成る。すなわち、 印刷データに基づいて生成した印刷パターンな出−力し
印刷を行う印刷装置において、前記印刷データの属性を
含むスケーリング条件を入力する入力手段と、該入力手
段で入力したスケーリング条件を解析する解析手段と、
該解析手段での結果に応じて前記印刷パターンを生成す
る生成手段とを備える。
[Means for Solving the Problems] In order to achieve the above object, a printing apparatus of the present invention has the following configuration. That is, in a printing device that outputs and prints a print pattern generated based on print data, an input means for inputting scaling conditions including attributes of the print data, and an analysis of the scaling conditions input by the input means are provided. analysis means,
and generating means for generating the printing pattern according to the result of the analyzing means.

[作用] 以上の構成において、印刷データの属性を含むスケーリ
ング条件を入力し、入力したスケーリング条件の解析を
行う。そして、その解析結果に応じて印刷パターンを生
成し、その印刷パターンを出力して印刷を行う。
[Operation] In the above configuration, scaling conditions including print data attributes are input, and the input scaling conditions are analyzed. Then, a print pattern is generated according to the analysis result, and the print pattern is output and printed.

[実施例] 以下、添付図面を参照して本発明に係る好適な一実施例
を詳細に説明する。
[Embodiment] Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

尚、本実施例での装置は、ホストコンピュータに接続さ
れる構成として説明するが、単体で機能するものであっ
ても良い。
Note that although the device in this embodiment will be described as having a configuration connected to a host computer, it may function as a standalone device.

く構成の説明 (第1図)〉 第1図は、本発明に係る印刷装置の構成を示すブロック
図である。図において、112は不図示のホストコンピ
ュータから送られて来るプリントデータ(文章情報)又
はコマンドデータ、101はホストコンピュータとのデ
ータ受授を制御するホストコンピュータI/F部、10
2は文章情報112を蓄積するページメモリである。1
03はフォントデータを記憶しているフォントメモリで
あり、内部にはドツトフォント104とベクトルフォン
ト105を記憶している。106はページメモリ102
に記憶された文字データをフォントメモリ103を参照
しドツトパターンに展開するドツトパターン展開部であ
る。
Description of Configuration (Fig. 1)> Fig. 1 is a block diagram showing the configuration of a printing apparatus according to the present invention. In the figure, 112 is print data (text information) or command data sent from a host computer (not shown), 101 is a host computer I/F unit that controls data exchange with the host computer, and 10
2 is a page memory that stores text information 112; 1
A font memory 03 stores font data, and stores a dot font 104 and a vector font 105 inside. 106 is page memory 102
This is a dot pattern development section that refers to the font memory 103 and develops the character data stored in the font memory 103 into a dot pattern.

107は印刷装置を制御する主制御部であり、後述する
コマンド解析部108を含み、制御手順(プログラム)
を格納するROM及びそのプログラムを実行するCPU
等により構成されている。
107 is a main control unit that controls the printing apparatus, includes a command analysis unit 108 to be described later, and executes a control procedure (program).
A ROM that stores the program and a CPU that executes the program.
It is composed of etc.

109は本装置の動作を指定するキー及び各状態等を表
示するための操作パネルである。110はドツトパター
ン展開部106に展開されたドツトデータをプリンタエ
ンジン111へ出力する際に送出制御を行うプリンタエ
ンジンI/Fである。
Reference numeral 109 is an operation panel for displaying keys for specifying operations of the apparatus and various statuses. Reference numeral 110 denotes a printer engine I/F that performs sending control when outputting the dot data developed by the dot pattern development section 106 to the printer engine 111.

そして、111はプリンタエンジンであり、入力したド
ツトパターンから用紙上に永久可視像形成を行うもので
ある。
A printer engine 111 forms a permanent visible image on paper from an input dot pattern.

くスケーリング命令の説明 (第2図)〉次に、本実施
例におけるスケーリング許可命令を第2図を参照して以
下に説明する。
Explanation of Scaling Instruction (FIG. 2) Next, the scaling permission instruction in this embodiment will be explained below with reference to FIG.

第2図は、本実施例でのスケーリング許可命令のデータ
形式を示す図である。図示するように、スケーリング許
可命令はスケーリング許可フラグ201、文字サイズデ
ータ2029条件指定フラグ2031文字スタイルデー
タ204により構成されている。まずスケーリング許可
フラグ201は、スケーリングの許可あるいは禁止を指
示するフラグであり、例えば、“1”であれば「許可」
を示し、0”であれば「禁止」を示している。
FIG. 2 is a diagram showing the data format of the scaling permission command in this embodiment. As shown in the figure, the scaling permission command includes a scaling permission flag 201, character size data 2029, condition designation flag 2031, and character style data 204. First, the scaling permission flag 201 is a flag that instructs to permit or prohibit scaling; for example, if it is "1", it is "permitted".
, and if it is 0", it indicates "prohibited".

次に、文字サイズデータ202は、文字サイズ。Next, the font size data 202 is the font size.

ポイント数を示すデータである。そして条件指定フラグ
203は、文字サイズデータ202で指定されたポイン
ト数をスケーリングの上限又は下限にするか、あるいは
、そのポイント数の文字のみスケーリングを行うかどう
かを指定するフラグである。最後に、文字スタイルデー
タ204は、印字するデータが直立体か斜体かを示すデ
ータである。そして、不図示のホストコンピュータより
上述のスケーリング許可命令が送られて(ると、コマン
ド解析部108が解析し、処理を行う。
This is data indicating the number of points. The condition designation flag 203 is a flag that designates whether the number of points designated by the character size data 202 is to be the upper or lower limit of scaling, or whether only the characters of that number of points are to be scaled. Finally, character style data 204 is data indicating whether the data to be printed is upright or italic. Then, the above-mentioned scaling permission command is sent from a host computer (not shown), and the command analysis unit 108 analyzes and processes the command.

く処理手順の説明 (第3図)〉 次に、上述のスケーリング許可命令を受信した場合の処
理手順を第3図に示すフローチャートに従って以下に説
明する。
Description of Processing Procedure (FIG. 3)> Next, the processing procedure when the above-mentioned scaling permission command is received will be described below according to the flowchart shown in FIG.

まず、ステップS1において、不図示のホストコンピュ
ータから上述したスケーリング許可命令を受信すると、
ステップS2へ処理を進め、印字データの属性を調べる
。この処理は、あらかじめページメモリ102に格納し
ておいた印字データの文字サイズ等を調べる処理である
First, in step S1, upon receiving the above-mentioned scaling permission command from a host computer (not shown),
The process advances to step S2, and the attributes of the print data are checked. This process is a process of checking the character size, etc. of print data stored in the page memory 102 in advance.

次に、ステップS3において、スケーリング許可命令の
スケーリング許可フラグ201を調べ、スケーリングの
「許可」あるいは「禁止」を判断する。その結果、「許
可」であればステップs4へ処理を進め、印字データに
該当するフォントをベクトルフォント104がら選択す
る。
Next, in step S3, the scaling permission flag 201 of the scaling permission command is checked to determine whether scaling is "permitted" or "prohibited". If the result is "permission", the process advances to step s4, and a font corresponding to the print data is selected from the vector fonts 104.

しかし、判断の結果、スケーリングが「禁止」であれば
ステップS5へ処理を進め、印字データに該当するフォ
ントをドツトフォント104がら選択する。
However, as a result of the determination, if scaling is "prohibited", the process advances to step S5, and a font corresponding to the print data is selected from among the dot fonts 104.

上述のステップS4又はステップs5での選択処理が終
了すると、ステップs6へ処理を進め、選択したフォン
トデータなドツトパターン展開部106に展開する。そ
して、ステップs7へ処理を進め、展開されたパターン
をプリンタエンジンI/FIIOを介してプリンタエン
ジン111へ出力して処理を終了する。
When the selection process in step S4 or step s5 described above is completed, the process advances to step s6, and the selected font data is developed in the dot pattern development section 106. The process then proceeds to step s7, where the expanded pattern is output to the printer engine 111 via the printer engine I/FIIO, and the process ends.

以上説明したように、本実施例によれば、スケーリング
許可、禁止命令に文字の属性指定を付随させることによ
り、所定の属性を有する文字のみ選択してスケーリング
を行うことができる。
As described above, according to this embodiment, by attaching a character attribute designation to a scaling permission/prohibition command, scaling can be performed by selecting only characters having a predetermined attribute.

また、コマンドによって指定することにより、設定や変
更が容易となり、同一文章中に様々なスケーリングが可
能となる。
Also, by specifying it using a command, settings and changes can be made easily, and various scalings can be performed within the same text.

前述した実施例では、ホストコンピュータからスケーリ
ング許可命令を受信しているが、例えばプリンタの操作
パネルからスケーリングの許可を設定することも可能で
ある。
In the embodiment described above, the scaling permission command is received from the host computer, but it is also possible to set scaling permission from the printer's operation panel, for example.

以上、本発明を好ましい実施例により説明してきたが、
本発明は上述の実施例に限定されることなく、請求の範
囲に記載された範囲内において、種々の変形が可能であ
る。
Although the present invention has been explained above using preferred embodiments,
The present invention is not limited to the embodiments described above, and various modifications can be made within the scope of the claims.

[発明の効果] 以上説明したように、本発明によれば、印刷データの属
性を含むスケーリング条件を自由に、かつ簡単に変更す
ることができる。
[Effects of the Invention] As described above, according to the present invention, scaling conditions including print data attributes can be changed freely and easily.

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

第1図は本実施例における印刷装置の構成を示すブロッ
ク図、 第2図は本実施例におけるスケーリング許可命令のデー
タ形式を示す図、 第3図は本実施例における処理手順を示すフローチャー
ト、 第4図はドツトフォントを説明する図、第5図はベクト
ルフォントを説明する図、第6図はベクトルフォントの
座標データを示す図である。 図中、 101・・・ホストコンピュータI/F、102・・・
ベージメモリ、103・・・フォントメモリ、104・
・・ドツトフォント、105・・・ベクトルフォント、
106・・・ドツトパターン展開部、107・・・主制
御部、108・・・コマンド解析部、109・・・操作
パネル、110・・・プリンタエンジンI/F、111
・・・プリンタエンジン、112・・・文章情報である
FIG. 1 is a block diagram showing the configuration of the printing apparatus in this embodiment, FIG. 2 is a diagram showing the data format of the scaling permission command in this embodiment, FIG. 3 is a flowchart showing the processing procedure in this embodiment, FIG. 4 is a diagram explaining a dot font, FIG. 5 is a diagram explaining a vector font, and FIG. 6 is a diagram showing coordinate data of the vector font. In the figure, 101... host computer I/F, 102...
Page memory, 103... Font memory, 104.
...Dot font, 105...Vector font,
106... Dot pattern development section, 107... Main control section, 108... Command analysis section, 109... Operation panel, 110... Printer engine I/F, 111
. . . Printer engine, 112 . . . Text information.

Claims (1)

【特許請求の範囲】 印刷データに基づいて生成した印刷パターンを出力し印
刷を行う印刷装置において、 前記印刷データの属性を含むスケーリング条件を入力す
る入力手段と、 該入力手段で入力したスケーリング条件を解析する解析
手段と、 該解析手段での結果に応じて前記印刷パターンを生成す
る生成手段とを備えることを特徴とする印刷装置。
[Scope of Claims] A printing device that outputs and prints a print pattern generated based on print data, comprising: an input means for inputting scaling conditions including attributes of the print data; and a scaling condition input by the input means. A printing apparatus comprising: an analysis means for analyzing; and a generation means for generating the printing pattern according to a result of the analysis means.
JP1250552A 1989-09-28 1989-09-28 Printer Pending JPH03113498A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1250552A JPH03113498A (en) 1989-09-28 1989-09-28 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1250552A JPH03113498A (en) 1989-09-28 1989-09-28 Printer

Publications (1)

Publication Number Publication Date
JPH03113498A true JPH03113498A (en) 1991-05-14

Family

ID=17209612

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1250552A Pending JPH03113498A (en) 1989-09-28 1989-09-28 Printer

Country Status (1)

Country Link
JP (1) JPH03113498A (en)

Similar Documents

Publication Publication Date Title
US5878198A (en) Information processing apparatus and method and memory medium storing information processing program
JPH04128970A (en) Document processing system
JP2741800B2 (en) Document processing device
JPH08160934A (en) Character information processor
JP2845380B2 (en) Printing apparatus and control method thereof
JPH03113498A (en) Printer
JPH01229649A (en) Printing method using vector font data
JP3089014B2 (en) Output control method and device
JPH07114541A (en) Document preparation device and background pattern generating method
JPS60109888A (en) Character processor
JP3040624B2 (en) Pattern generator
JPS63242561A (en) Font reducing system
JPS637963A (en) Printing apparatus
JPS605470B2 (en) typesetting system
JPH06110444A (en) Character processor and character output method
JPH07141340A (en) Document output method and document processor
JPH08132684A (en) Braille block copy output system and braille block copy outputting method
JPH086542A (en) Character font and method and device for pattern expansion of same
JPH0689019A (en) Slip plotting system and proofreading paper
KR19990000887A (en) How to implement banner function in general printer device
JPH03147017A (en) Image processor
JPH02238965A (en) Recorder
JPH02238515A (en) Recording device
JPH0426889A (en) Character output device
JPH0546140A (en) Character data processor