JPH0825718A - Printer - Google Patents

Printer

Info

Publication number
JPH0825718A
JPH0825718A JP6161885A JP16188594A JPH0825718A JP H0825718 A JPH0825718 A JP H0825718A JP 6161885 A JP6161885 A JP 6161885A JP 16188594 A JP16188594 A JP 16188594A JP H0825718 A JPH0825718 A JP H0825718A
Authority
JP
Japan
Prior art keywords
font
message
information
output
host
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.)
Withdrawn
Application number
JP6161885A
Other languages
Japanese (ja)
Inventor
Kenji Ishiguro
健二 石黒
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 JP6161885A priority Critical patent/JPH0825718A/en
Publication of JPH0825718A publication Critical patent/JPH0825718A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To output a message capable of confirming easily, in a case wherein printing is not outputted by a font required from a host, the abovementioned effect. CONSTITUTION:Whether or not font information required from a host 1 exists in a pattern information storage part 7 is examined based on a control command and a character code which are sent from the host 1. When the font information selected from the pattern information storage part 7 does not conform to requests from the host 1, the degree of resemblance is made numerical by giving weight thereto by using a plurality of factors (symbol set, spacing, pitch, height, etc.) according to a degree of importance of each factor. Then, a warning message is generated by using the value made numerical as a value indicating a degree of warning. The message is outputted to printing paper, an operation panel 15, and the host 1.

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.

【0002】[0002]

【従来の技術】従来のプリンタ装置は、図9に示すよう
な構成をしていた。図9において、1はプリンタ情報を
生成し送出するホストコンピュータ(以下、ホストとい
う)、2はホスト1より送られたプリンタ情報に必要な
データ処理を施して出力するプリンタコントローラ、1
1はプリンタコントローラで処理されたデータを指定の
フォーマット、解像度でプリント出力するプリンタエン
ジンである。
2. Description of the Related Art A conventional printer device has a structure as shown in FIG. In FIG. 9, reference numeral 1 is a host computer (hereinafter referred to as host) that generates and sends printer information, and 2 is a printer controller that performs necessary data processing on the printer information sent from the host 1 and outputs it.
A printer engine 1 prints out data processed by the printer controller in a specified format and resolution.

【0003】データコントローラ2において、3はホス
ト1よりデータを受け取る入力部、4は入力部で入力さ
れたデータを解析し制御コマンドと印刷データとを分離
する解析部、5は印刷データを記憶するページバッフ
ァ、7は印刷データに対応する印刷パターン(文字,線
パターン等)が格納されたパターン情報格納部、8は印
刷データのフォント選択とパターン情報格納部7より文
字データ取り出しを行なうフォント制御部、9はフレー
ムメモリ、10はパターン情報格納部7より印刷パター
ン、又は、ページバッファ5よりイメージパターンに展
開されたデータをフレームメモリ10にパターン展開す
るよう制御する展開制御部、6はページバッファ5の印
刷パターンデータ、又は、フレームメモリ10のデータ
をプリンタエンジン11に出力するよう制御制御部であ
る。
In the data controller 2, 3 is an input unit that receives data from the host 1, 4 is an analysis unit that analyzes the data input by the input unit and separates control commands and print data, and 5 stores the print data. A page buffer, 7 is a pattern information storage unit in which print patterns (characters, line patterns, etc.) corresponding to print data are stored, and 8 is a font control unit that selects print data fonts and extracts character data from the pattern information storage unit 7. , 9 is a frame memory, 10 is a print control from the pattern information storage unit 7, or a development control unit for controlling the pattern development of data developed into an image pattern from the page buffer 5 into the frame memory 10, and 6 is a page buffer 5 Print pattern data or data in the frame memory 10 to the printer engine. A control control unit to output to 1.

【0004】プリンタエンジン11にはプリンタエンジ
ン制御部12が含まれている。
The printer engine 11 includes a printer engine controller 12.

【0005】以上のような構成のプリンタ装置は、ホス
ト1から送出されたデータを入力部3で受信し、解析部
4でそのデータが制御コマンドであるか、或いは、印刷
データであるかを解析し、印刷データには解析部4で適
当なデータ処理が施され、その結果がページバッファ5
に格納する。一方、展開制御部10はページバッファ5
に格納されたデータを読みだし、パターン情報格納部7
に格納されている対応する印刷パターンに変換してフレ
ームメモリ9に展開する。
In the printer device having the above-mentioned configuration, the data sent from the host 1 is received by the input unit 3, and the analyzing unit 4 analyzes whether the data is a control command or print data. Then, the print data is subjected to appropriate data processing in the analysis unit 4, and the result is the page buffer 5
To be stored. On the other hand, the expansion control unit 10 uses the page buffer 5
The data stored in the pattern information storage unit 7 is read out.
Is converted into a corresponding print pattern stored in the frame memory 9 and expanded in the frame memory 9.

【0006】そして、出力制御部6は、印刷環境に関す
る制御情報に従い、ページバッファ5のデータと、フレ
ームメモリ10のイメージデータとをプリンタエンジン
11に送出する。これらのデータは、プリンタエンジン
制御部12の制御により記録紙上に印刷出力される。
Then, the output control section 6 sends the data in the page buffer 5 and the image data in the frame memory 10 to the printer engine 11 in accordance with the control information relating to the printing environment. These data are printed out on recording paper under the control of the printer engine control unit 12.

【0007】[0007]

【発明が解決しようとする課題】しかしながら上記従来
例ではホストから出力されたプリント要求フォントデー
タとプリント要求キャラクタコードに関して、プリンタ
装置により選択されたフォントのシンボルセットに、要
求されたキャラクタコードが該当しない場合にプリンタ
装置は要求されるキャラクタコードを出力せずに、その
まま処理を終了していたため、プリント結果をみて出力
したキャラクタコードが全て印刷されているのかを確認
しなければならないという面倒な作業が必要であった。
However, in the above conventional example, regarding the print request font data and the print request character code output from the host, the requested character code does not correspond to the symbol set of the font selected by the printer device. In this case, the printer did not output the required character code, but ended the process as it is.Therefore, it is a troublesome work to check whether all the output character codes are printed by checking the print result. Was needed.

【0008】また、ホストから出力された書体データに
関して、プリンタ装置が有するフォントデータに該当す
るフォントが存在しない場合でも、プリンタ装置の有す
るフォントの内、最も類似するフォントを自動的に選択
し出力するため、ホストから指定したフォントで指定し
たデータがプリント出力されたのかどうか、最終的なプ
リント結果を詳細に調べるまでわからないという欠点が
あった。
Further, regarding the font data output from the host, even if there is no font corresponding to the font data of the printer device, the most similar font among the fonts of the printer device is automatically selected and output. Therefore, there is a drawback that it is not possible to know whether or not the data designated by the font designated by the host is printed out until the final print result is examined in detail.

【0009】本発明は上記従来例に鑑みてなされたもの
で、ホストからの要求に対して正しい出力をすることが
できたか容易に確認ができるプリンタ装置を提供するこ
とを目的としている。
The present invention has been made in view of the above conventional example, and an object of the present invention is to provide a printer device capable of easily confirming whether or not a correct output can be made in response to a request from a host.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に本発明のプリンタ装置は、以下のような構成からな
る。即ち、ホストコンピュータからプリント情報を入力
する入力手段と、前記入力手段によって入力されたプリ
ント情報を解析する解析手段と、種々のフォント情報を
格納する記憶手段と、前記解析手段による解析結果と前
記記憶手段に格納された種々のフォント情報とに基づい
て、前記入力手段が入力したプリント情報が含む前記ホ
ストコンピュータからの要求を満たすフォントがあるか
どうかを調べるフォント解析手段と、前記フォント解析
手段によるフォント解析結果に従って、前記ホストコン
ピュータからの要求と出力可能なフォントとの相違点を
表すメッセージを生成するメッセージ生成手段と、前記
入力手段によって入力されたプリント情報と、前記生成
されたメッセージとに基づいてプリント出力する出力手
段とを有することを特徴とするプリンタ装置を備える。
In order to achieve the above object, the printer device of the present invention has the following configuration. That is, input means for inputting print information from a host computer, analysis means for analyzing print information input by the input means, storage means for storing various font information, analysis results by the analysis means and the storage Font analysis means for checking whether there is a font satisfying the request from the host computer included in the print information input by the input means, based on various font information stored in the means, and the font by the font analysis means. Based on the analysis result, based on the message generation means for generating a message indicating the difference between the request from the host computer and the outputtable font, the print information input by the input means, and the generated message. It is characterized by having an output means for printing out. A printer device according to.

【0011】[0011]

【作用】以上の構成により本発明は、ホストコンピュー
タから入力されたプリント情報を解析し、その解析結果
と記憶手段に格納された種々のフォント情報とに基づい
て、入力プリント情報が含むホストコンピュータからの
要求を満たすフォントがあるかどうかを調べ、その調べ
た結果に従って、ホストコンピュータからの要求と出力
可能なフォントとの相違点を表すメッセージを生成し、
入力プリント情報と、生成されたメッセージとに基づい
てプリント出力するよう動作する。
With the above arrangement, the present invention analyzes print information input from the host computer, and based on the analysis result and various font information stored in the storage means, the input print information includes information from the host computer. Check whether there is a font that meets the requirements of the above, and generate a message indicating the difference between the request from the host computer and the font that can be output according to the result of the check,
It operates to print out based on the input print information and the generated message.

【0012】[0012]

【実施例】以下添付図面を参照して本発明の好適な実施
例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

【0013】図1は本発明の代表的な実施例であるプリ
ンタ装置の構成を示すブロック図である。なお、図1に
おいて、従来例で説明したと共通の実施例には同じ装置
参照番号を付し説明は省略し、ここでは本実施例に特有
の部分についてのみ説明するものとする。本実施例のプ
リンタ装置もプリンタコントローラ2とプリンタエンジ
ン11とで構成される。
FIG. 1 is a block diagram showing the arrangement of a printer apparatus as a typical embodiment of the present invention. It should be noted that, in FIG. 1, the same apparatus reference numerals as those of the conventional example are designated by the same reference numerals, and the description thereof will be omitted. Here, only the parts peculiar to the present embodiment will be described. The printer device of this embodiment also includes the printer controller 2 and the printer engine 11.

【0014】本実施例のプリンタ装置において、プリン
タコントローラ2は、ホスト1から送られてくるフォン
ト情報に関し、このプリンタ装置内に該当するフォント
情報が存在しない場合には、ホスト1で指定する場所
に、数値でその警告度を表現した警告メッセージやホス
トの要求通りにプリントできないキャラクタコードを出
力するよう制御することができる。一方、プリンタエン
ジン11は、プリンタコントローラ2で処理されたデー
タをプリンタ装置固有のデータフォーマットと解像度で
プリント出力する。
In the printer device of this embodiment, the printer controller 2 sets the font information sent from the host 1 to the location designated by the host 1 if the corresponding font information does not exist in the printer device. , It is possible to control to output a warning message that expresses the degree of warning by a numerical value and a character code that cannot be printed as requested by the host. On the other hand, the printer engine 11 prints out the data processed by the printer controller 2 in a data format and resolution specific to the printer device.

【0015】また図1において、13はフォント制御部
8から出力されるフォント情報を蓄積するフォント情報
メモリ部、14は解析部4より警告メッセージや動作状
況を示すメッセージを出力する場所を制御するメッセー
ジ出力コントロール部、15は本実施例のプリンタ装置
の操作状況を示したり、メッセージ出力コントロール部
14の制御によって警告メッセージを表示する操作パネ
ルである。このため、操作パネル15にはLCD(不図
示)などのディスプレイを備えている。
Further, in FIG. 1, 13 is a font information memory unit for accumulating font information output from the font control unit 8, and 14 is a message for controlling the place where the analysis unit 4 outputs a warning message or a message indicating the operating condition. An output control unit 15 is an operation panel which indicates the operation status of the printer device of this embodiment and which displays a warning message under the control of the message output control unit 14. Therefore, the operation panel 15 is provided with a display such as an LCD (not shown).

【0016】次に以上の構成の装置を用いたフォント選
択制御処理の概要を図2に示すフローチャートを参照し
て説明する。
Next, an outline of the font selection control process using the apparatus having the above configuration will be described with reference to the flow chart shown in FIG.

【0017】さてプリンタコントローラ2において、フ
ォント制御部8は、解析部4で実行されたホスト1から
の入力データの解析結果に基づいて、その入力データの
内の制御コマンドとキャラクタコードを用いて、プリン
トデータに関するフォント選択の制御を行なう。
In the printer controller 2, the font control unit 8 uses the control command and the character code in the input data based on the analysis result of the input data from the host 1 executed by the analysis unit 4. Controls font selection for print data.

【0018】即ち、ホスト1から送出されたデータに含
まれるフォント選択制御命令、プリンタキャラクタコー
ドに対応するプリントキャラクタパターンを生成するた
めのパターン作成命令などのフォント制御命令に基づい
たフォント選択制御を行ない、パターン情報格納部7か
ら必要なパターンを取り出すよう制御する(ステップS
100)。この処理ではホスト1から要求されたフォン
ト(要求フォント)と実際に選択されたフォント(選択
フォント)とを比較し、フォント選択情報と実際にパタ
ーン情報格納部7からフォント選択されたフォント情報
との相違度を数値化して表現する。
That is, font selection control based on font control commands such as a font selection control command included in the data sent from the host 1 and a pattern creation command for generating a print character pattern corresponding to a printer character code is performed. , Control is performed to retrieve a required pattern from the pattern information storage unit 7 (step S
100). In this process, the font requested from the host 1 (requested font) is compared with the font actually selected (selected font), and the font selection information and the font information actually selected from the pattern information storage unit 7 are compared. The difference is expressed as a numerical value.

【0019】次に、ステップS100で数値化された要
求フォントと選択フォントとの相違度に基づいて、後述
する警告メッセージのために警告の度合いを数値化した
データを生成してフォント情報メモリ部13に蓄積する
(ステップS200)。
Next, based on the degree of difference between the requested font and the selected font which has been digitized in step S100, numerical data indicating the degree of warning is generated for a warning message which will be described later, and the font information memory unit 13 is generated. (Step S200).

【0020】さらに、ホスト1から要求フォントをパタ
ーン情報格納部7から取り出せない場合に、フォント情
報メモリ部13にパターン情報格納部7から取り出すこ
とができなかったプリンタキャラクタコードを蓄積させ
る。このような情報はフォント情報メモリ部13に格納
するのみならず、メッセージ出力コントロール部14に
も渡される(ステップS300)。
Further, when the requested font cannot be retrieved from the host computer 1 from the pattern information storage unit 7, the printer information code which could not be retrieved from the pattern information storage unit 7 is stored in the font information memory unit 13. Such information is not only stored in the font information memory unit 13 but also passed to the message output control unit 14 (step S300).

【0021】そして、メッセージ出力コントロール部1
4からホスト1及びプリンタエンジン11に対して警告
メッセージを出力する(ステップS400)。この場
合、プリンタエンジン11では、プリンタエンジン制御
部12の制御によりプリンタ用紙に警告メッセージが出
力される。また、メッセージ出力コントロール部14は
操作パネル15にも警告メッセージを出力する。さら
に、メッセージ出力コントロール部14はホスト1にも
その警告メッセージを出力することができる。
The message output control unit 1
4 outputs a warning message to the host 1 and the printer engine 11 (step S400). In this case, the printer engine 11 outputs a warning message on the printer paper under the control of the printer engine controller 12. The message output control unit 14 also outputs a warning message to the operation panel 15. Further, the message output control unit 14 can output the warning message to the host 1 as well.

【0022】次に図2のフローチャートに示した各ステ
ップの処理の詳細について、図3〜図6に示すフローチ
ャートを参照して説明する。
Next, the details of the processing of each step shown in the flow chart of FIG. 2 will be described with reference to the flow charts shown in FIGS.

【0023】(1)フォント選択処理(図3) まずステップS1では、2つのパラメータ(M、N)を
“0”に初期化する。次にステップS5では、ホスト1
からの要求フォントについてフォントパターン情報格納
部7に格納された全てのフォント情報との比較が終了し
たかどうかを調べる。ここで、比較処理が終了したなら
処理は終了するが、処理終了でない場合には処理はステ
ップS6に進む。
(1) Font selection process (FIG. 3) First, in step S1, two parameters (M, N) are initialized to "0". Next, in step S5, the host 1
It is checked whether or not the requested font from the above has been compared with all the font information stored in the font pattern information storage unit 7. Here, if the comparison process ends, the process ends, but if the process does not end, the process proceeds to step S6.

【0024】ステップS6ではフォント情報の中で一番
重要な情報であるシンボルセットに関し、要求フォント
が指定する情報とフォントパターン情報格納部7が保持
する情報とを比較する。ここで、要求フォントが指定す
る情報がフォントパターン情報格納部7に存在する場
合、処理はステップS14に進み、パラメータ(M)の
値を“+64”し、その後、処理はステップS7に進
む。これに対して、要求フォントが指定する情報がフォ
ントパターン情報格納部7に存在しない場合、処理はそ
のままステップS7に進む。
In step S6, regarding the symbol set, which is the most important information in the font information, the information designated by the requested font and the information held by the font pattern information storage unit 7 are compared. If the information specified by the requested font exists in the font pattern information storage unit 7, the process proceeds to step S14, the value of the parameter (M) is set to "+64", and then the process proceeds to step S7. On the other hand, if the information designated by the requested font does not exist in the font pattern information storage unit 7, the process proceeds directly to step S7.

【0025】ステップS7ではフォント情報の中で2番
目に重要な情報である“spacing(スペーシング)”に
関し、要求フォントが指定する情報とフォントパターン
情報格納部7が保持する情報とを比較する。要求フォン
トでは、プロポーショナルスペース或いはフィックスド
スペースが指定される。ここで、要求フォントが指定す
る情報がフォントパターン情報格納部7に存在する場
合、処理はステップS15に進み、パラメータ(M)の
値を“+32”し、その後、処理はステップS8に進
む。これに対して、要求フォントが指定する情報がフォ
ントパターン情報格納部7に存在しない場合、処理はそ
のままステップS8に進む。
In step S7, regarding the "spacing" which is the second most important information in the font information, the information designated by the requested font is compared with the information held by the font pattern information storage section 7. In the required font, proportional space or fixed space is designated. Here, if the information designated by the requested font exists in the font pattern information storage unit 7, the process proceeds to step S15, the value of the parameter (M) is set to "+32", and then the process proceeds to step S8. On the other hand, when the information designated by the requested font does not exist in the font pattern information storage unit 7, the process proceeds directly to step S8.

【0026】ステップS8ではフォント情報で3番目に
重要な情報である“pitch(ピッチ:文字間のピッ
チ)”に関し、要求フォントが指定する情報とフォント
パターン情報格納部7が保持する情報とを比較する。こ
こで、要求フォントが指定する情報がフォントパターン
情報格納部7に存在する場合、処理はステップS16に
進み、パラメータ(M)の値を“+16”し、その後、
処理はステップS9に進む。これに対して、要求フォン
トが指定する情報がフォントパターン情報格納部7に存
在しない場合、処理はそのままステップS9に進む。
In step S8, with respect to "pitch (pitch: pitch between characters)" which is the third most important information in the font information, the information designated by the requested font and the information held by the font pattern information storage unit 7 are compared. To do. Here, if the information specified by the requested font exists in the font pattern information storage unit 7, the process proceeds to step S16, the value of the parameter (M) is set to “+16”, and then,
The process proceeds to step S9. On the other hand, when the information designated by the requested font does not exist in the font pattern information storage unit 7, the process proceeds directly to step S9.

【0027】ステップS9ではフォント情報で4番目に
重要な情報である“height(ハイト:文字の大きさ)”
に関し、要求フォントが指定する情報とフォントパター
ン情報格納部7が保持する情報とを比較する。ここで、
要求フォントが指定する情報がフォントパターン情報格
納部7に存在する場合、処理はステップS17に進み、
パラメータ(M)の値を“+8”し、その後、処理はス
テップS10に進む。これに対して、要求フォントが指
定する情報がフォントパターン情報格納部7に存在しな
い場合、処理はそのままステップS10に進む。
In step S9, "height" is the fourth most important information in the font information.
Regarding the above, the information specified by the requested font is compared with the information held by the font pattern information storage unit 7. here,
If the information specified by the requested font exists in the font pattern information storage unit 7, the process proceeds to step S17,
The value of the parameter (M) is set to "+8", and then the process proceeds to step S10. On the other hand, if the information designated by the requested font does not exist in the font pattern information storage unit 7, the process proceeds directly to step S10.

【0028】ステップS10ではフォント情報で5番目
に重要な情報である文字の形を示す“style(スタイ
ル)”に関し、要求フォントが指定する情報とフォント
パターン情報格納部7が保持する情報とを比較する。こ
こで、要求フォントが指定する情報がフォントパターン
情報格納部7に存在する場合、処理はステップS18に
進み、パラメータ(M)の値を“+4”し、その後、処
理はステップS11に進む。これに対して、要求フォン
トが指定する情報がフォントパターン情報格納部7に存
在しない場合、処理はそのままステップS11に進む。
In step S10, regarding the "style" indicating the shape of the character, which is the fifth most important information in the font information, the information designated by the requested font and the information held by the font pattern information storage unit 7 are compared. To do. Here, if the information designated by the requested font exists in the font pattern information storage unit 7, the process proceeds to step S18, the value of the parameter (M) is set to "+4", and then the process proceeds to step S11. On the other hand, if the information specified by the requested font does not exist in the font pattern information storage unit 7, the process proceeds directly to step S11.

【0029】ステップS11ではフォント情報で6番目
に重要な情報である文字の太さを示す“strokeweight
(ストロークウエイト)”に関し、要求フォントが指定
する情報とフォントパターン情報格納部7が保持する情
報とを比較する。ここで、要求フォントが指定する情報
がフォントパターン情報格納部7に存在する場合、処理
はステップS19に進み、パラメータ(M)の値を“+
2”し、その後、処理はステップS12に進む。これに
対して、要求フォントが指定する情報がフォントパター
ン情報格納部7に存在しない場合、処理はそのままステ
ップS12に進む。
In step S11, "strokeweight" indicating the thickness of the character, which is the sixth most important information in the font information, is indicated.
Regarding "(stroke weight)", the information specified by the requested font is compared with the information held by the font pattern information storage unit 7. Here, when the information specified by the requested font exists in the font pattern information storage unit 7, The process proceeds to step S19, and the value of the parameter (M) is set to “+
2 ″, and then the process proceeds to step S12. On the other hand, if the information designated by the requested font does not exist in the font pattern information storage unit 7, the process proceeds directly to step S12.

【0030】ステップS12ではフォント情報で7番目
に重要な情報である“typeface(タイプフェイス)”に
関し、要求フォントが指定する情報とフォントパターン
情報格納部7が保持する情報とを比較する。ここで、要
求フォントが指定する情報がフォントパターン情報格納
部7に存在する場合、処理はステップS20に進み、パ
ラメータ(M)の値を“+1”し、その後、処理はステ
ップS13に進む。これに対して、要求フォントが指定
する情報がフォントパターン情報格納部7に存在しない
場合、処理はそのままステップS13に進む。
In step S12, the "typeface", which is the seventh most important piece of font information, is compared with the information designated by the requested font and the information held by the font pattern information storage unit 7. Here, when the information designated by the requested font exists in the font pattern information storage unit 7, the process proceeds to step S20, the value of the parameter (M) is incremented by "+1", and then the process proceeds to step S13. On the other hand, if the information designated by the requested font does not exist in the font pattern information storage unit 7, the process proceeds directly to step S13.

【0031】ステップS13ではパラメータ(M)とパ
ラメータ(N)との値を比較し、M<Nであれば処理は
ステップS21に進み、M=Nとして処理はステップS
5に戻る。これに対して、M≧Nであれば処理はそのま
まステップS5に戻る。以上の処理によって、フォント
選択における各比較処理の重要度に応じて、各フォント
情報の有意性が加味されながらパラメータ(N)の値が
カウントアップされ、フォントパターン情報格納部7に
存在する各フォント情報に関するパラメータ(N)の値
が得られる。この値はさらに、これまでに得られた各フ
ォント情報に関するパラメータ(N)の最大値を示すパ
ラメータ(M)と比較され、パラメータ(M)にはその
時点までパラメータ(N)の最大値がセットされる。こ
のようにして、フォントパターン情報格納部7に存在す
る全てのフォント情報との比較が行なわれると、ホスト
1からの要求フォントに関して、パラメータ(N)の最
も高い値をもつフォント情報が選択されることになる。
In step S13, the values of the parameter (M) and the parameter (N) are compared. If M <N, the process proceeds to step S21, and M = N is set, and the process proceeds to step S13.
Return to 5. On the other hand, if M ≧ N, the process directly returns to step S5. By the above processing, the value of the parameter (N) is counted up while considering the significance of each font information according to the importance of each comparison processing in font selection, and each font existing in the font pattern information storage unit 7 is counted. The value of the parameter (N) for the information is obtained. This value is further compared with the parameter (M) indicating the maximum value of the parameter (N) for each font information obtained so far, and the parameter (M) is set to the maximum value of the parameter (N) up to that point. To be done. In this way, when all the font information existing in the font pattern information storage unit 7 is compared, the font information having the highest value of the parameter (N) is selected for the font requested from the host 1. It will be.

【0032】(2)警告度合いの数値化処理(図4) この処理では、ホスト1から送られてきた要求フォント
と選択フォントとを比較して、選択フォントが要求フォ
ントに一致しなかった場合に発行する警告メッセージに
付加する警告の度合(異なる情報)を数値化する。
(2) Quantifying Warning Level (FIG. 4) In this processing, the requested font sent from the host 1 is compared with the selected font, and if the selected font does not match the requested font. Quantify the degree of warning (different information) added to the issued warning message.

【0033】ステップS22では警告度合いを示すパラ
メータ(W)の値を初期化する。そして、ステップS2
3ではパラメータ(W)に図3の処理で得られたパラメ
ータ(M)の値をセットする。これによって、パラメー
タ(W)にはホスト1からの要求フォントに関してプリ
ンタ装置が選択したフォントに与えられたフォント情報
の有意性を数値化した値が設定されることになる。言い
換えると、パラメータ(W)は選択フォントと要求フォ
ントとの類似度を数値化したものと言える。そのパラメ
ータ(W)の値が大きければ大きいほど、警告の度合い
は高く、類似度は低い。一方、パラメータ(W)の値が
小さければ小さいほど、警告の度合いは低く、類似度は
高いといえる。
In step S22, the value of the parameter (W) indicating the degree of warning is initialized. And step S2
In 3, the value of the parameter (M) obtained in the process of FIG. 3 is set in the parameter (W). As a result, the parameter (W) is set to a numerical value of the significance of the font information given to the font selected by the printer device with respect to the font requested by the host 1. In other words, it can be said that the parameter (W) is a numerical value of the similarity between the selected font and the requested font. The larger the value of the parameter (W), the higher the degree of warning and the lower the degree of similarity. On the other hand, the smaller the value of the parameter (W), the lower the degree of warning and the higher the degree of similarity.

【0034】このような数値化された警告の度合の基と
なる種々の因子は表1のように数値化され、パラメータ
(W)の値は異なる因子に対応する数値の総和となる。
Various factors which are the basis of such a digitized degree of warning are digitized as shown in Table 1, and the value of the parameter (W) is the sum of the numerical values corresponding to the different factors.

【0035】[0035]

【表1】 従って、以下に説明する警告メッセージに例えば、“3
1”という数値が付加されている場合は、ピッチ(1
6)とハイト(8)とスタイル(4)とストロークウェ
イト(2)とタイプフェース(1)とが異なっているこ
とを示す。
[Table 1] Therefore, for example, in the warning message described below, "3
If the numerical value "1" is added, the pitch (1
6), height (8), style (4), stroke weight (2), and type face (1) are different.

【0036】(3)キャラクタパターン展開処理(図
5) ステップS36ではホスト1からプリント要求されたキ
ャラクタコードに対応するパターン情報がパターン情報
格納部7に存在するかどうかを調べる。ここで、要求さ
れたキャラクタコードに対応するパターンが存在すれ
ば、処理はステップS38に進み、そのキャラクタコー
ドに対応するパターンをパターン情報格納部7から取り
出して、展開制御部10の制御によってフレームメモリ
9に展開される。
(3) Character pattern development processing (FIG. 5) In step S36, it is checked whether or not the pattern information corresponding to the character code requested to be printed by the host 1 exists in the pattern information storage unit 7. If there is a pattern corresponding to the requested character code, the process proceeds to step S38, the pattern corresponding to the character code is taken out from the pattern information storage unit 7, and the frame memory is controlled by the expansion control unit 10. Expanded to 9.

【0037】これに対して、要求されたキャラクタコー
ドに対応するパターンが存在しない場合、処理はステッ
プS37に進み、そのキャラクタコードをフォント情報
メモリ部13に蓄積する。フォント情報メモリ部には警
告メッセージに付加する警告の度合(異なる情報)を数
値化情報も蓄積される。
On the other hand, if the pattern corresponding to the requested character code does not exist, the process proceeds to step S37 to store the character code in the font information memory unit 13. The font information memory unit also stores digitized information about the degree of warning (different information) added to the warning message.

【0038】これにより、キャラクタコードに対応する
実際のキャラクタパターンがない場合に、そのキャラク
タコードを警告メッセージと共に出力するための情報が
蓄積されるのである。
As a result, when there is no actual character pattern corresponding to the character code, the information for outputting the character code together with the warning message is accumulated.

【0039】(4)警告メッセージ出力処理(図6) まず処理はステップS39において、警告メッセージを
出力するための元となる情報がフォント情報メモリ部1
3に格納されているかどうかを調べる。この処理の判断
は上述の図3〜図5のフローチャートで説明した処理結
果に依存していることは言うまでもない。ここで、警告
メッセージを出力するための情報が存在しない場合、処
理はプリンタ装置が有するフォント情報でホスト1から
送られた要求フォントなどの情報を完全に満足したとみ
なしステップS40に進んで、警告メッセージ出力処理
は実行されず、そのまま処理を終了する。
(4) Warning Message Output Process (FIG. 6) First, in step S39, the font information memory unit 1 is the source information for outputting the warning message.
Check whether it is stored in 3. It goes without saying that the determination of this processing depends on the processing result described in the flowcharts of FIGS. Here, if the information for outputting the warning message does not exist, the processing is considered to completely satisfy the information such as the requested font sent from the host 1 in the font information of the printer device, and the process proceeds to step S40 to issue the warning. The message output process is not executed, and the process ends as it is.

【0040】これに対して、警告メッセージを出力する
ための情報が存在する場合、処理はステップS41に進
み、警告メッセージを生成する。図6のステップS41
では“要求されたフォントコードが出力されませんでし
た 31 0x41 0x61”という警告メッセージが生成さ
れた例を示している。この警告メッセージは、パラメー
タ(W)の値や、実際のキャラクタパターンがない場合
の、そのキャラクタコードなどに基づいて生成される。
続いて処理はステップS42に進み、メッセージを出力
するかどうかを判断する。即ち、ステップS41で生成
された警告メッセージ、或いは、ステップS40での
“正常終了”という判断を示すメッセージを、ホスト
1、プリンタエンジン11、操作パネル15に出力する
かどうかを判断する。この判断は、メッセージ出力コン
トロール部14によって実行され、メッセージ出力コン
トロール部が指定した機器にメッセージが出力される。
On the other hand, if the information for outputting the warning message exists, the process proceeds to step S41 to generate the warning message. Step S41 of FIG.
Shows an example in which a warning message "The requested font code was not output 31 0x41 0x61" was generated. This warning message is generated based on the value of the parameter (W), the character code of the character pattern when there is no actual character pattern, and the like.
Subsequently, the process proceeds to step S42, and it is determined whether to output the message. That is, it is determined whether to output the warning message generated in step S41 or the message indicating the "normal end" determination in step S40 to the host 1, the printer engine 11, and the operation panel 15. This determination is executed by the message output control unit 14, and the message is output to the device designated by the message output control unit.

【0041】さてステップS42の処理により、メッセ
ージ出力する指定機器がある場合には処理はステップS
43に進み、その指定機器にメッセージを出力する。図
6のステップS43では“正常終了”或いは“要求され
たフォントコードが出力されませんでした 31 0x41
0x61”という警告メッセージが出力される例を示して
いる。これに対して、メッセージ出力指定機器が場合に
は処理はそのまま終了する。
When there is a designated device for outputting a message by the processing of step S42, the processing is step S
In step 43, the message is output to the designated device. In step S43 in Fig. 6, "Normal termination" or "The requested font code was not output. 31 0x41
In this example, a warning message "0x61" is output. On the other hand, if there is a message output designated device, the process ends.

【0042】なお、図6のステップS41とS43で示
すメッセージにおいて、数値“31”は、パラメータ
(W)の値を示し、コード“0x41”と“0x61”は要求フ
ォントに対して対応するキャラクタパターンが存在しな
かったキャラクタコードを示すものである。
In the messages shown in steps S41 and S43 of FIG. 6, the numerical value "31" indicates the value of the parameter (W), and the codes "0x41" and "0x61" indicate the corresponding character pattern for the requested font. Is a character code that does not exist.

【0043】従って本実施例に従えば、ホスト1から送
られてきたプリント要求フォントに関し、そのすべてを
プリンタ装置が完全に満足して出力できない場合には、
要求フォントと選択フォントの類似度を反映し、かつ、
ホストから要求されたキャラクタコードでこれに対応す
るパターンがプリンタ装置に存在しないキャラクタコー
ドを含んだ警告メッセージをプリント出力とともに指定
機器に出力するので、装置利用者が要求フォントと選択
フォントとの不一致を容易に判別することができる。
Therefore, according to the present embodiment, when the printer cannot completely output all the print request fonts sent from the host 1,
Reflects the similarity between the requested font and the selected font, and
A warning message that includes the character code requested by the host and whose pattern does not exist in the printer is output to the specified device together with the print output, so the device user can check the mismatch between the requested font and the selected font. It can be easily identified.

【0044】[0044]

【他の実施例】上記の実施例では警告メッセージに要求
フォントと選択フォントの類似度とホストから要求され
たキャラクタコードでこれに対応するパターンがプリン
タ装置に存在しないキャラクタコードとを含ませていた
が、警告メッセージの出力様式を簡略化するために、要
求フォントと選択フォントの類似度(前述の実施例のパ
ラメータ(W)の値のみを警告メッセージに付加して出
力しても良い。
Other Embodiments In the above embodiment, the warning message includes the similarity between the requested font and the selected font and the character code requested by the host and the corresponding pattern does not exist in the printer. However, in order to simplify the output format of the warning message, the similarity between the requested font and the selected font (only the value of the parameter (W) in the above-described embodiment may be added to the warning message and output).

【0045】以下の説明ではこのような例について説明
する。なお、ここで用いるプリンタ装置の構成やパラメ
ータ(W)などは、前述の実施例と同じとし、ここでは
本実施例に特徴的な部分についてのみ説明する。さら
に、以下に説明するフローチャートに示した各処理ステ
ップについても、前述の実施例と同じ処理ステップには
同じステップ参照番号を付し説明を省略する。
In the following description, such an example will be described. The configuration and parameters (W) of the printer used here are the same as those in the above-described embodiment, and only the characteristic parts of this embodiment will be described here. Further, regarding each processing step shown in the flowchart described below, the same step reference number is given to the same processing step as that of the above-described embodiment, and the description thereof will be omitted.

【0046】図7は本実施例に従うフォント選択の制御
の処理概略を示すフローチャートである。この図と前述
の実施例で説明した図2とを比較すると本実施例では選
択フォントが要求フォントと一致しなかった場合のキャ
ラクタコードをフォント情報メモリ部13に蓄積する処
理(図2のステップS300)が省略されていることが
わかる。
FIG. 7 is a flow chart showing the outline of the processing for controlling font selection according to this embodiment. Comparing this figure with FIG. 2 described in the above-described embodiment, in the present embodiment, the process of accumulating the character code in the font information memory unit 13 when the selected font does not match the requested font (step S300 in FIG. 2). ) Is omitted.

【0047】図8は本実施例に従う警告メッセージ出力
処理を示すフローチャートである。この図と前述の実施
例で説明した図6とを比較すると、図8のステップS4
4では、警告メッセージにパラメータ(W)のみを付加
するようにして警告メッセージの生成が行なわれ、ステ
ップS45ではステップS43で生成された警告メッセ
ージ、或いは、“正常終了”である旨を示すメッセージ
が出力される。
FIG. 8 is a flowchart showing the warning message output process according to this embodiment. Comparing this figure with FIG. 6 described in the above embodiment, step S4 in FIG.
In 4, the warning message is generated by adding only the parameter (W) to the warning message. In step S45, the warning message generated in step S43 or the message indicating “normal end” is displayed. Is output.

【0048】従って本実施例に従えば、前述の実施例と
比べ、より簡略化された処理で簡略化された出力様式の
警告メッセージを出力することができる。
Therefore, according to this embodiment, it is possible to output a warning message in a simplified output format by a more simplified process compared to the above-described embodiments.

【0049】尚、本発明は、複数の機器から構成される
システムに適用しても良いし、1つの機器から成る装置
に適用しても良い。また、本発明はシステム或は装置に
プログラムを供給することによって達成される場合にも
適用できることは言うまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of one device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus.

【0050】[0050]

【発明の効果】以上説明したように本発明によれば、ホ
ストコンピュータから入力されたプリント情報を解析
し、その解析結果と記憶手段に格納された種々のフォン
ト情報とに基づいて、入力プリント情報が含むホストコ
ンピュータからの要求を満たすフォントがあるかどうか
を調べ、その調べた結果に従って、ホストコンピュータ
からの要求と出力可能なフォントとの相違点を表すメッ
セージを生成し、入力プリント情報と、生成されたメッ
セージとに基づいてプリント出力するので、ホストから
の要求に対して正しい出力をすることができたか容易に
確認ができる効果がある。
As described above, according to the present invention, the print information input from the host computer is analyzed, and the input print information is obtained based on the analysis result and various font information stored in the storage means. Check whether there is a font that satisfies the request from the host computer, and generate a message indicating the difference between the request from the host computer and the printable font according to the result of the check, input print information, and generate Since the print output is performed based on the received message, there is an effect that it can be easily confirmed whether or not the correct output can be made in response to the request from the host.

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

【図1】本発明の代表的な実施例であるプリンタ装置の
構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a printer device that is a typical embodiment of the present invention.

【図2】フォント選択制御処理の概要を示すフローチャ
ートである。
FIG. 2 is a flowchart showing an outline of font selection control processing.

【図3】フォント選択処理の詳細を示すフローチャート
である。
FIG. 3 is a flowchart showing details of font selection processing.

【図4】要求フォントと選択フォントの比較結果を数値
化する処理の詳細を示すフローチャートである。
FIG. 4 is a flowchart showing details of processing for digitizing a comparison result between a request font and a selected font.

【図5】キャラクタコード蓄積処理の詳細を示すフロー
チャートである。
FIG. 5 is a flowchart showing details of character code storage processing.

【図6】警告メッセージ出力処理の詳細を示すフローチ
ャートである。
FIG. 6 is a flowchart showing details of a warning message output process.

【図7】他の実施例に従うフォント選択制御処理の概要
を示すフローチャートである。
FIG. 7 is a flowchart showing an outline of font selection control processing according to another embodiment.

【図8】他の実施例に従う警告メッセージ出力処理の詳
細を示すフローチャートである。
FIG. 8 is a flowchart showing details of a warning message output process according to another embodiment.

【図9】従来のプリンタ装置の構成を示すブロック図で
ある。
FIG. 9 is a block diagram showing a configuration of a conventional printer device.

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

1 ホストコンピュータ 2 プリンタコントローラ 3 入力部 4 解析部 5 ページバッファ 6 出力制御部 7 パターン情報格納部 8 フォント制御部 9 フレームメモリ 10 展開制御部 11 プリンタエンジン 12 プリントエンジン制御部 13 フォント情報メモリ部 14 メッセージ出力コントロール部 15 操作パネル 1 host computer 2 printer controller 3 input unit 4 analysis unit 5 page buffer 6 output control unit 7 pattern information storage unit 8 font control unit 9 frame memory 10 expansion control unit 11 printer engine 12 print engine control unit 13 font information memory unit 14 message Output control section 15 Operation panel

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 ホストコンピュータからプリント情報を
入力する入力手段と、 前記入力手段によって入力されたプリント情報を解析す
る解析手段と、 種々のフォント情報を格納する記憶手段と、 前記解析手段による解析結果と前記記憶手段に格納され
た種々のフォント情報とに基づいて、前記入力手段が入
力したプリント情報が含む前記ホストコンピュータから
の要求を満たすフォントがあるかどうかを調べるフォン
ト解析手段と、 前記フォント解析手段によるフォント解析結果に従っ
て、前記ホストコンピュータからの要求と出力可能なフ
ォントとの相違点を表すメッセージを生成するメッセー
ジ生成手段と、 前記入力手段によって入力されたプリント情報と、前記
生成されたメッセージとに基づいてプリント出力する出
力手段とを有することを特徴とするプリンタ装置。
1. An input unit for inputting print information from a host computer, an analyzing unit for analyzing print information input by the input unit, a storage unit for storing various font information, and an analysis result by the analyzing unit. And a font analysis means for checking whether or not there is a font satisfying the request from the host computer included in the print information input by the input means, based on the various font information stored in the storage means, and the font analysis. Message generation means for generating a message indicating a difference between a request from the host computer and an outputable font according to a font analysis result by the means; print information input by the input means; and the generated message. Output means for printing based on Printer and wherein the.
【請求項2】 前記メッセージには前記ホストコンピュ
ータからの要求をどれだけ満たしたフォント出力ができ
るかを示す指標を含むことを特徴とする請求項1に記載
のプリンタ装置。
2. The printer device according to claim 1, wherein the message includes an index indicating how much font output that satisfies the request from the host computer can be performed.
【請求項3】 前記メッセージには前記フォント出力に
対応する前記ホストコンピュータから送られてくるコー
ドをさらに含むことを特徴とする請求項1に記載のプリ
ンタ装置。
3. The printer device according to claim 1, wherein the message further includes a code sent from the host computer corresponding to the font output.
【請求項4】 前記メッセージの出力先を制御するメッ
セージ制御手段をさらに含むことを特徴とする請求項1
に記載のプリンタ装置。
4. A message control means for controlling an output destination of the message is further included.
The printer device according to 1.
【請求項5】 前記メッセージの表示可能な表示パネル
をさらに有することを特徴とする請求項4に記載のプリ
ンタ装置。
5. The printer device according to claim 4, further comprising a display panel capable of displaying the message.
【請求項6】 前記メッセージの出力先には、前記ホス
トコンピュータ、前記表示パネル、前記出力手段を含む
ことを特徴とする請求項5に記載のプリンタ装置。
6. The printer device according to claim 5, wherein output destinations of the message include the host computer, the display panel, and the output unit.
【請求項7】 前記出力手段は、画像形成を行ない前記
画像を出力する画像形成手段を含むことを特徴とする請
求項1に記載のプリンタ装置。
7. The printer device according to claim 1, wherein the output unit includes an image forming unit that forms an image and outputs the image.
JP6161885A 1994-07-14 1994-07-14 Printer Withdrawn JPH0825718A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6161885A JPH0825718A (en) 1994-07-14 1994-07-14 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6161885A JPH0825718A (en) 1994-07-14 1994-07-14 Printer

Publications (1)

Publication Number Publication Date
JPH0825718A true JPH0825718A (en) 1996-01-30

Family

ID=15743845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6161885A Withdrawn JPH0825718A (en) 1994-07-14 1994-07-14 Printer

Country Status (1)

Country Link
JP (1) JPH0825718A (en)

Similar Documents

Publication Publication Date Title
JP2000083161A (en) Image processing unit, its method and image processing system
JP4537040B2 (en) Document processing apparatus and document processing method
JP2003058528A (en) Character processor, character processing method and program
JP3054230B2 (en) Printing apparatus and print control method
US6132116A (en) Print system and method for presenting required record time of print system
JPH0825718A (en) Printer
JP3450869B2 (en) Bit image data generation device and bit image data generation method
JP3062397B2 (en) PRINTING SYSTEM, PRINTING SYSTEM RECORDING TIME PRESENTATION METHOD, INFORMATION PROCESSING DEVICE, AND INFORMATION PROCESSING DEVICE RECORDING TIME PRESENTATION METHOD
JP3483348B2 (en) Printing system and method for presenting required recording time of printing system
JPH06187107A (en) Slip distribution output device
JP3470377B2 (en) Information output device
JP3470378B2 (en) Character information output device and method
JPH08339281A (en) Printing system and printing method therefor
JPH08132703A (en) Method and device for outputting character
JP2006166223A (en) Method and device for printing color image, and storage medium
JP2959490B2 (en) String addition method
JP2764944B2 (en) Character output device
JP3119094B2 (en) Character output device
JPH09222879A (en) Character processor
JPH08129371A (en) Font cache managing device and method therefor
JP2002120418A (en) Printer device and image processing device comprising the printer device
JPH09114439A (en) Information output device
JPH08106454A (en) Document information editing device
JPH10232861A (en) Document output device
JPH11327849A (en) Printing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20011002