JPH0725182B2 - Print control device - Google Patents
Print control deviceInfo
- Publication number
- JPH0725182B2 JPH0725182B2 JP62110567A JP11056787A JPH0725182B2 JP H0725182 B2 JPH0725182 B2 JP H0725182B2 JP 62110567 A JP62110567 A JP 62110567A JP 11056787 A JP11056787 A JP 11056787A JP H0725182 B2 JPH0725182 B2 JP H0725182B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- font
- character font
- rom
- command
- 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.)
- Expired - Fee Related
Links
- 238000007639 printing Methods 0.000 claims description 12
- 238000000034 method Methods 0.000 description 36
- 238000010187 selection method Methods 0.000 description 7
- 238000007726 management method Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 230000008901 benefit Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 241000723353 Chrysanthemum Species 0.000 description 1
- 235000005633 Chrysanthemum balsamita Nutrition 0.000 description 1
- 241001482237 Pica Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Landscapes
- Record Information Processing For Printing (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、複数の文字フオントを備えるとともに、ユー
ザが希望する文字フオントが選択できるプリンタの印字
制御装置に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control device for a printer that includes a plurality of character fonts and that allows a user to select a desired character font.
プリンタはOA用周辺機器として普及しつつある。現在、
レーザプリンタ,LEDプリンタなどの光プリンタ(LPと略
す)の低価格化が進行しており、従来のデージーホイー
ルプリンタ(DPの略す),ワイヤドツトプリンタ(WPと
略す)はLPで書き換えられるすう勢にある。Printers are becoming popular as peripheral equipment for OA. Current,
The price of optical printers (abbreviated as LP) such as laser printers and LED printers is decreasing, and conventional daisy wheel printers (abbreviated as DP) and wired dot printers (abbreviated as WP) are being rewritten by LP. .
LPの特徴としては高速、低騒音印字に加え、高解像度性
に基づく高画質印字,マルチフオント印字がある。マル
チフオント印字とは、複数の文字フオントを備え、それ
らの文字フオントの中から随時1つの文字フオントをユ
ーザの指示に従つて選択しながら印字することである。
マルチフオント印字はLPの高解像度性を活用した、十分
なドツト数の文字フオントを用いられるようになつて初
めて、実用的になつた。LP features include high-speed, low-noise printing, high-quality printing based on high resolution, and multi-font printing. The multi-font printing is to print with a plurality of character fonts selected and one character font selected from these character fonts at any time according to a user's instruction.
Multi-font printing became practical only when it was possible to use character fonts with a sufficient number of dots that took advantage of the high resolution of LP.
LPではプリンタ内蔵ROMに加えて、プリンタ外付けのカ
ートリッジROMを併用することにより約30種以上の文字
フオントを同様に実装し、利用することができる。With LP, in addition to the printer's built-in ROM, it is possible to use about 30 or more types of character fonts by using a cartridge ROM that is attached to the outside of the printer.
従来、マルチフオント選択方式としては、次の2つの方
式が用いられていた。Conventionally, the following two methods have been used as the multi-font selection method.
(1)フオント名称に基づくフオント選択方式 (フオント名称方式と略す)。(1) Font selection method based on font name (abbreviated as font name method).
本方式はユーザが制御コマンド又は操作パネル上にスイ
ツチにより指定したフオント名称により、フオント選択
を行う。フオント名称としてはプロポーシヨナル,パイ
カ,エリート,イタリツク,ボールド,ゴシツク,明朝
体などがある。本方式の代表例としてはEPSON方式があ
り、内容はEPON User's Manual FX−80 Printerに記載
されている。In this method, the font is selected by the font name specified by the user by the switch on the control command or the operation panel. Font names include proportional, pica, elite, italic, bold, gossyk, and mincho. A typical example of this method is the EPSON method, and the contents are described in EPON User's Manual FX-80 Printer.
(2)文字ピッチに基づくフオント選択方式 (文字ピツチ方式と略す) 本方式はユーザが制御コマンド又は操作パネル上のスイ
ツチにより指示した文字ピツチにより、フオント選択を
行う。通常文字ピツチはcpi(characters per inch)と
いう単位で指示する。本方式の例としては特開昭60−17
9261号がある。(2) Font selection method based on character pitch (abbreviated as character pitch method) In this method, font selection is performed by a character pitch designated by a user using a control command or a switch on the operation panel. Normally, character pitch is specified in units called cpi (characters per inch). An example of this method is Japanese Patent Laid-Open No. 60-17.
There is 9261.
初めに以上2つの従来例に共通の問題点を述べる。 First, problems common to the above two conventional examples will be described.
(1)カートリツジROM装着状態の監視不十分に伴う問
題点。(1) Problems associated with insufficient monitoring of the cartridge ROM installation status.
従来例は、カートリツジROMは用いていないか、或いは
用いてもその装着状態は初期時点でしか調べない。つま
り、プリンタ利用中にユーザがカートリツジROMを着脱
した場合、それに伴う装着カートリツジROMと装着フオ
ントの内容の変化を逐次監視していない。そのため初期
時点では装着されていた文字フオントが印字時点では外
されていないため印字エラーを起すことがある。また、
反対に、初期時点では装着されていなかつた文字フオン
トが印字時点では装着されていても、文字フオントなし
と判定し、データの印字をプリンタが行わないことが生
じる。In the conventional example, the cartridge ROM is not used, or even if it is used, its mounting state is checked only at the initial point. That is, when the user attaches or detaches the cartridge ROM while using the printer, changes in the contents of the attached cartridge ROM and the attached font are not monitored successively. Therefore, a character font that was installed at the initial point is not removed at the time of printing, which may cause a printing error. Also,
On the other hand, even if a character font that has not been mounted at the initial time is mounted at the time of printing, it is determined that there is no character font and the printer does not print data.
また従来のマルチフオント選択方式にはそれぞれ次のよ
うな問題点があつた。The conventional multi-font selection method has the following problems.
(2)フオント名称方式の問題点 従来のフオント名称方式では、各フオント名称に対し1
つずつしか文字フオントがないことを前提としていた。
そのため、同一のフオント名称を有するが文字形状が異
なる複数の文字フオントがある場合、フオント名称を指
示さても、該当フオントを一意に決定できないという問
題点が生じた。(2) Problems with font name system In the conventional font name system, one for each font name.
It was supposed that there was only one font each.
Therefore, when there are a plurality of character fonts having the same font name but different character shapes, there is a problem in that even if the font name is designated, the corresponding font cannot be uniquely determined.
ところで、LPには前述したように、マルチフオント印字
を実現し得る物理特性(高解像度性)がある。しかし、
通常LPを用いる場合、ワープロ等のパソコン上の応用ソ
フトウエアの互換性を維持するため、マルチフオント選
択機能の低い、従来のDP,WP用のプリンタコマンド体系
を用いることが多い。これら従来のプリンタコマンド体
系では、前述のフオント名称方式によりマルチフオント
選択を行つているから、本問題点は重大である。By the way, as described above, the LP has physical characteristics (high resolution) capable of realizing multi-font printing. But,
Normally, when using LP, in order to maintain compatibility of application software on personal computers such as word processors, the printer command system for conventional DP and WP with low multi-font selection function is often used. In these conventional printer command systems, the multi-font selection is performed by the font name system described above, and this problem is serious.
(3)文字ピツチ方式の問題点 文字ピツチ方式を用いると、複数フオントから常に1つ
を選択できるが、好みの文字フオントをフオント名称で
選択できないという問題点が生じる。(3) Problems of Character Pitch Method When the character pitch method is used, one can always be selected from a plurality of fonts, but the problem that a favorite character font cannot be selected by font name occurs.
本発明の目的は、外付けカートリツジROMを装備したプ
リンタにおける上記問題点を解決し、フオント名称に基
づくフオント選択方式において、常に該当フオントを一
意に決定できるようにするとともに、ユーザが希望する
文字フオントを選択できるようにすることである。An object of the present invention is to solve the above-mentioned problems in a printer equipped with an external cartridge ROM so that a corresponding font can always be uniquely determined in a font selection method based on font names, and a character font desired by a user can be obtained. Is to be able to select.
本発明は、上記目的を達成するために、文字コマンド及
び文字フォント名称指定の文字フォント選択コマンドを
含む印字制御コマンドを送信するホストコンピュータ
と、少なくともコマンドの解釈用及び実行用のプログラ
ム並びに常駐の文字フォントパターンデータを格納した
内蔵ROMとスロットに着脱自在に装着され、文字フォン
ト名称に対応させた複数の文字形状の文字フォントパタ
ーンデータを格納したカートリッジROMとを備えたシス
テムメモリ手段と、最優先の文字フオント候補を表示し
て確認する表示手段と、前記ホストコンピュータと1/F
で介してバスで接続され、前記ホストコンピュータから
送信される文字コード及び文字フオント名称指定の文字
フオント選択コマンドを含む印字制御コマンドに基づい
て、バスを介して接続された前記システムメモリ手段の
ROMにアクセスして前記文字フオント選択コマンドに該
当する同一文字フオント名称で異なる複数の文字形状の
文字フオントから予め定められた優先規則に従って最優
先の文字フオント候補を選択して前記表示手段に表示さ
せ、該表示されて確認された最優先の文字フオントに基
づいて文字展開を行なって文字パターンデータを発生さ
せるCPUと、該CPUで発生した文字パターンデータを記憶
するバッファメモリ手段と、該バッファメモリ手段に記
憶された文字パターンデータを出力して印刷を行なうプ
リンタとを備えたことを特徴とする印字制御装置であ
る。In order to achieve the above object, the present invention provides a host computer that transmits a print control command including a character command and a character font selection command that specifies a character font name, a program for interpreting and executing at least a command, and a resident character. System memory means having a built-in ROM storing font pattern data and a cartridge ROM detachably mounted in a slot and storing character font pattern data of a plurality of character shapes corresponding to character font names; Display means for displaying and confirming character font candidates, and 1 / F for the host computer
Of the system memory means connected via the bus based on a print control command including a character code and a character font selection command for designating a character font name transmitted from the host computer.
The ROM is accessed to select the highest priority character font candidate from a plurality of character fonts having the same character font name and different character shapes corresponding to the character font selection command according to a predetermined priority rule and display it on the display means. A CPU for performing character expansion based on the displayed and confirmed highest priority character font to generate character pattern data; a buffer memory means for storing the character pattern data generated by the CPU; and a buffer memory means And a printer for performing printing by outputting the character pattern data stored in the print control device.
上記手段の働きは以下の通りである。 The function of the above means is as follows.
(1)印字時点で装着されているカートリツジROMと文
字フオントを監視し、その中から文字フオントを選択す
ることができる。従って、プリンタの利用途中でのユー
ザによるカートリツジROMの着脱操作に追随して、文字
フオントが選択できる。(1) It is possible to monitor the cartridge ROM and the character fonts installed at the time of printing, and select the character font from them. Therefore, the character font can be selected in accordance with the user's attachment / detachment operation of the cartridge ROM during the use of the printer.
(2)同一のフオント名称を有する文字フオントが複数
個あつても、指示されたフオント名称に加えて文字フオ
ント間の優先順位を利用することにより、常に1つの文
字フオントを選択することができる。(2) Even if there are a plurality of character fonts having the same font name, one character font can always be selected by using the priority among the character fonts in addition to the designated font name.
(3)前記優先順位の定義を工夫することにより従来の
プリンタコマンド体系であるフオント名称方式を用いた
ままで、ユーザが希望する文字フオントを複数個の文字
フオントの中から選択できる。(3) By devising the definition of the priority order, the character font desired by the user can be selected from a plurality of character fonts while using the font name system which is the conventional printer command system.
例えば、内蔵ROMでなくカートリツジROM内にある文字フ
オントを優先して選択するように優先順位を設定するこ
とができる。本機能により次の利点が生じる。プリンタ
には、プロポーシヨナルフオント(P1と呼ぶ)が1つ内
蔵されており(FX−80エミユレーシヨン用)、ユーザは
別のプロポーシヨナルフオント(P2と呼ぶ)もカートリ
ツジROMに格納して持つている。このとき、そのカート
リツジROMを印字制御装置に装着することにより、ユー
ザはフオントP2を選択できる。フオントP1を選択したい
場合は、ROMカートリツジ印字制御装置から取り外せば
よい。この利点を活すことにより初めて、従来のコマン
ド体系を用いたままで、ユーザが希望する文字フオント
を複数個の文字フオントの中から選択できるようになつ
た。For example, the priority order can be set such that the character fonts in the cartridge ROM instead of the built-in ROM are preferentially selected. This function has the following advantages. The printer (for FX-80 emulation) Proportioner to null font (referred to as P 1), are built one user (referred to as P 2) different Proportioner to null fonts be stored in Katoritsuji ROM I have. At this time, the user can select the font P 2 by mounting the cartridge ROM on the print control device. If you want to select font P 1 , just remove it from the ROM cartridge print controller. By utilizing this advantage, for the first time, the user can select a desired character font from a plurality of character fonts while using the conventional command system.
優先順位をユーザが定義できるようにすることにより、
ユーザの意図をさらに反映した文字フオントの選択が可
能になつた。By allowing the user to define the priority,
It is now possible to select character fonts that further reflect the user's intention.
(3)は、パネル上の続行キーを直ちに押した場合の効
果である。(3) is the effect when the continue key on the panel is pressed immediately.
(4)続行キーを押す前にユーザがカートリツジROMを
着脱する、(つまり指定フオント名称であるが、選びた
くない余分のフオントを含むカートリツジははずす、ユ
ーザが選びたいフオントを含むカートリツジを着ける)
ことにより、確実に望みのフオントを選択することがで
きた。(4) The user attaches and detaches the cartridge ROM before pressing the continue key (that is, remove the cartridge containing the extra fonts that you do not want to select, but put on the cartridge containing the font you want to select).
By doing so, I was able to reliably select the desired font.
(5)以上(1)〜(4)の作用により、ホストコンピ
ユータから印字制御装置へデータを送り直さないでも、
ユーザが望むフオントを使つた印字が行えるようになつ
た。(5) Due to the above operations (1) to (4), even if data is not sent back from the host computer to the print control device,
It is now possible to print using fonts that the user desires.
以下本発明の一実施例を説明する。 An embodiment of the present invention will be described below.
初めに本発明の構成例を示す。第2図において、本発明
の対像である印字制御装置はホストコンピユータとシリ
アリ又はパラレル信号により接続され、プリンタ本体と
ビデオ信号により接続されている。First, a configuration example of the present invention will be shown. In FIG. 2, the print control device, which is the image of the present invention, is connected to the host computer by a serial or parallel signal, and is connected to the printer body by a video signal.
第1図は本印字制御装置の構成例を示す。本図において
11はホストコンピユータとの直列通信を司るシリアルI/
F、12は同じく並列通信を司るパラレル1/Fである。13は
本装置を制御するCPUであり、ホストコンピユータから
送信された文字コード及び制御コマンドの解釈,実行な
どを行う。文字展開、つまり文字コードに対応する文字
パターンをフオントROMを参照しながら15のバツフアメ
モリ部へ書き込む処理も、コマンド解釈,実行の一つと
みなすことにする。14は本装置のシステムメモリ部であ
り、141の内蔵ROM、142のRAM及び143のカートリツジROM
からなる。141にはコマンドの解釈,実行用プログラム
及び常駐フオントパターン(以降内蔵フオントROMと呼
ぶ)が格納されている。142のRAMは、142−aのコマン
ドバツフア部、142−bのフオント識別用テーブル、142
−cのフオント先頭アドレステーブル、142−dの文字
展開用フオントテーブル、142−eの文字展開制御テー
ブルなどからなつている。RAM上のこれらのテーブルを
更新しながら、CPUがコマンドの解釈と実行を行う。FIG. 1 shows an example of the configuration of the print control device. In this figure
11 is a serial I / that controls serial communication with the host computer.
F and 12 are parallel 1 / F which also manages parallel communication. Reference numeral 13 denotes a CPU that controls this device, and interprets and executes the character code and control command transmitted from the host computer. Character expansion, that is, the process of writing the character pattern corresponding to the character code to the buffer memory of 15 while referring to the font ROM, is regarded as one of command interpretation and execution. Reference numeral 14 denotes a system memory unit of this device, which includes 141 built-in ROM, 142 RAM, and 143 cartridge ROM.
Consists of. 141 stores command interpretation, execution programs, and resident font patterns (hereinafter referred to as built-in font ROM). The RAM 142 includes a command buffer unit 142-a, a font identification table 142-b,
-C font front address table, 142-d character expansion font table, 142-e character expansion control table, and the like. The CPU interprets and executes commands while updating these tables in RAM.
143のカートリツジROMは着脱可能であり、着脱操作によ
り装着カートリツジROMの数は0〜カートリツジスロツ
ト数間で変更できる。これらのカートリツジROMにはフ
オントパターン或いはコマンド解釈プログラムなどが予
め記入されている。15はバツフアメモリ部であり、コマ
ンド実行の結果展開された文字パターンが順序書き込ま
れる。16はパラレルシリアル変換部であり、バツフアメ
モリ部15内のパラレル形式データをシリアル形式のビデ
オ信号に変換する。また17は操作パネルI/F、18は操作
パネルである。The cartridge ROM 143 is removable, and the number of mounted cartridge ROMs can be changed from 0 to the number of cartridge slots by the attachment / detachment operation. A font pattern or a command interpreting program is written in advance in these cartridge ROMs. Reference numeral 15 is a buffer memory unit in which character patterns expanded as a result of command execution are sequentially written. A parallel-serial conversion unit 16 converts the parallel format data in the buffer memory unit 15 into a serial format video signal. Reference numeral 17 is an operation panel I / F, and 18 is an operation panel.
操作パネルにはプリンタ及び印字制御装置の状態をユー
ザに知らせるための表示部と前記状態をユーザがセツト
するためのスイツチ及びキーとがある。The operation panel has a display section for notifying the user of the status of the printer and the print control device, and a switch and a key for the user to set the status.
複数個の文字フオントデータは141の内蔵ROM及び143の
カートリツジROMに、第3図(a)に示したデータ形式
で格納されている。本図では文字フオントI〜Nが格納
されている。各文字フオントn毎に、31の先頭アドレス
Anから以下の3項目のデータ、i 32の共通管理情報、ii
33の各文字個別管理情報、iii 34の文字パターンデー
タが区別して記入されている。A plurality of character font data are stored in the built-in ROM 141 and the cartridge ROM 143 in the data format shown in FIG. In this figure, the characters fonts I to N are stored. 31 start addresses for each character font n
The following 3 items of data from An, i 32 common management information, ii
33 individual character management information and iii 34 character pattern data are separately entered.
共通管理情報32は個々の文字によつて変化しない共通情
報であり、以下の10項目などが記入されている。The common management information 32 is common information that does not change for each character, and the following 10 items are entered.
フオント識別番号、フオント名称、ポートレート
とランドスケープの区別、文字パターンデータ34の先
頭アドレス、各文字個別管理情報33の先頭アドレス、
フオント内文字数、先頭文字ASCIIコード、文字
パターン横サイズ、文字パターン縦サイズ、文字パ
ターン占有ワード数。Font identification number, font name, distinction between portrait and landscape, start address of character pattern data 34, start address of individual character management information 33,
Number of characters in font, ASCII code of first character, horizontal size of character pattern, vertical size of character pattern, number of occupied words in character pattern.
これらは文字フオントnに属するすべての文字を展開す
るときに、共通に利用される。文字展開をスピードアッ
プするため、これるのうち後半の7項目は、RAM上の142
−dに示した文字展開用フオントテーブルに格納して利
用される。本テーブルは文字フオントnが選択,確実さ
れた時点で、32の情報から選択、コピーすることにより
セツトされる。These are commonly used when expanding all the characters belonging to the character font n. To speed up character expansion, the latter seven items of these are 142 in RAM.
It is stored in the font table for character expansion shown in -d and used. This table is set by selecting and copying from 32 pieces of information when the character font n is selected and confirmed.
第6図は142−dのテーブルの内容を示したものであ
る。FIG. 6 shows the contents of the table 142-d.
なお、第3図(a)のデータ形式でN個の文字フオント
をROMに格納する時、次の自由度がある。When N character fonts are stored in the ROM in the data format shown in FIG. 3A, there are the following degrees of freedom.
文字フオントI〜Nを1つのフオントROMに入れる
場合と複数個のフオントROMに分割して入れる場合があ
る。The characters fonts I to N may be put in one font ROM or divided into a plurality of font ROMs.
フオントROMとしては、内蔵ROMとカートリツジROM
の一方を用いることも、両方を併用することもある。Built-in ROM and cartridge ROM as font ROM
One of them may be used, or both may be used together.
またデータ形式として、第3図(a)の代りに、第3図
(b)に示した方法を用いることもできる。As the data format, the method shown in FIG. 3 (b) can be used instead of the method shown in FIG. 3 (a).
なお、第3図(a)ではその時点で本装置にN個のフオ
ントデータが実装されている場合についてのデータの格
納形式を示した。一般には、装置に装着可能にフオント
先頭アドレスがM個(A1,A2,…AM)あり、そのうちN個
(Aj1,Aj2,…,Ajn)にフオントデータが実装されてい
る。第3図(c)はこの場合のデータ格納の状況を示し
たものである。Note that FIG. 3 (a) shows the data storage format in the case where N font data are installed in this apparatus at that time. Generally, there are M font start addresses (A 1 , A 2 , ..., A M ) that can be mounted on the apparatus, and N (Aj 1 , Aj 2 , ..., Ajn) of these font data are mounted. FIG. 3 (c) shows the situation of data storage in this case.
142−bのフオント識別用テーブルを第4図を用いて説
明する。本テーブルには各フオント名称毎に、文字フオ
ント数とフオント識別番号の列が記入されている。例え
ば、本テーブルには、フオント名称がプロポーシヨナル
である文字フオントが2個あり、フオント識別番号1と
3であることが、書いてある。従つて、本テーブルを用
いることにより、フオント名称に対してフオント識別番
号の列を得ることができる。なお本テーブルのセツト方
法としては、一般に次の2つの方法が考えられる。The font identification table 142-b will be described with reference to FIG. In this table, a column of the number of character fonts and a font identification number is entered for each font name. For example, it is written in this table that there are two character fonts whose font names are proportional and font identification numbers 1 and 3. Therefore, by using this table, a sequence of font identification numbers can be obtained for font names. The following two methods are generally conceivable as the method of setting this table.
(方法1) 予めプリンタメーカがユーザに供給するすべての文
字フオントについて、第4図に示したのと等価なテーブ
ルを作成し、141のROM上に格納しておく。(Method 1) A table equivalent to that shown in FIG. 4 is created in advance for all the character fonts supplied to the user by the printer maker and stored in the ROM 141.
プリンタの電源をオンにした時、ROMからデータを
読み出しコピーするととにより、RAM上に142−bのテー
ブルを作成する。なお本方法では、ROM上の前記テーブ
ルを直接プログラムが参照することによりRAM上のテー
ブル142−bの作成,参照を不要にすることもできる。When the power of the printer is turned on, the data is read from the ROM and copied to create the table 142-b in the RAM. In this method, the program directly refers to the table on the ROM so that the table 142-b on the RAM does not need to be created or referenced.
(方法2) ページ,行,文字などの文字展開の区切り毎に、その時
点で装着されているすべての文字フオントの共通管理情
報32を調べ、本テーブルを作成する。(Method 2) For each delimiter of character expansion such as page, line, character, etc., the common management information 32 of all the character fonts installed at that time is checked and this table is created.
本発明では方法2を用いることにより、カートリツジRO
Mの装着状態を逐次監視し、フオント識別用テーブルに
記録する。In the present invention, by using the method 2, the cartridge RO
Sequentially monitor the wearing state of M and record it in the font identification table.
142−cのフオント先頭アドレステーブルを第5図を用
いて説明する。本テーブルには、本印字制御装置が保持
できるすべての文字フオント(フオント識別番号I〜
M)の先頭アドレスA1〜AMが記入されている。本テーブ
ルを用いることにより、各フオント識別番号nに対して
その文字フオントが格納されているROMの内先頭アドレ
スAnを知ることができる。なおAnの値として、アドレス
として起り得ない特別な数値を記入することにより、そ
のフオント識別番号nの文字フオントが本装置に未装着
であることを表すようにした。その効果として、指定文
字フオントが本装置に未装着であることを識別できるの
で、ユーザにその旨18の装作パネルに表示し知らせるこ
とができる。また本テーブルのセツトは次のように行
う。ページ,行,文字などの文字展開の区切り毎に、そ
の時点で装着されているすべての文字フオントの共通管
理情報を調べ、本テーブルを作成する。The font start address table of 142-c will be described with reference to FIG. In this table, all the character fonts (font identification number I to
The top addresses A 1 to A M of M) are entered. By using this table, it is possible to know the head address An of the ROM in which the character font is stored for each font identification number n. As a value of An, a special numerical value that cannot occur as an address is entered to indicate that the character font of the font identification number n is not attached to this device. As an effect, since it is possible to identify that the designated character font is not attached to the present device, it is possible to notify the user by displaying it on the 18 equipment panel. The setting of this table is performed as follows. For each delimiter of character expansion such as page, line, character, etc., common management information of all the character fonts installed at that time is checked and this table is created.
以下、本装置の動作を第7図のフローチヤートを用いて
説明する。第7図(a)において、プリンタ及び印字制
御装置の電源を入れた後(71),RAM上のフオント識別用
テーブル142−bを初期セツトする(72)。この後、ホ
ストコンピユータが11又は12の通信1/Fを通じて送信し
てきた文字コード及び制御コマンドの列(以下コマンド
と呼ぶ)をCPU13が処理する(73)。The operation of this apparatus will be described below with reference to the flow chart of FIG. In FIG. 7A, after the printer and the print control device are turned on (71), the font identification table 142-b on the RAM is initially set (72). Thereafter, the CPU 13 processes the character code and control command string (hereinafter referred to as a command) transmitted from the host computer through the communication 1 / F 11 or 12 (73).
第7図(b)のコマンド処理においては、初めてコマン
ドをコマンドバツフア部142−aに格納する(730)。CP
U13はコマンドバツフア部142−a内のコマンドを順次読
出し、解釈する(731)。In the command processing of FIG. 7B, the command is first stored in the command buffer unit 142-a (730). CP
The U13 sequentially reads and interprets the commands in the command buffer unit 142-a (731).
コマンド解釈において固定されたコマンドは以下のよう
に実行される(732)。第7図(c)に示したようにま
ずフオント装着状態を調査し、フオント先頭アドレステ
ーブル142−c及びフオント識別用テーブル142−bを再
セツトする。なお、フオント識別用テーブルは再セツト
しない方法も取ることができる。またフオント装着状態
の調査は、前述したようにページ,行,文字などのの文
字展開の区切りで行う(733,734)。コマンドがフオン
ト選択用コマンドであれば(735)、それがフオント名
称による選択コマンドか調べる(736)。Yesの場合、フ
オント名称によるフオント選択手順を実行する(73
7)。The command fixed in command interpretation is executed as follows (732). As shown in FIG. 7 (c), the font mounting state is first investigated, and the font start address table 142-c and the font identifying table 142-b are reset. Note that the font identification table may be set without resetting. In addition, as described above, the examination of the font mounting state is performed by separating the character expansion of pages, lines, characters, etc. (733,734). If the command is a font selection command (735), it is checked whether it is a selection command by font name (736). If Yes, perform font selection procedure by font name (73
7).
Noの場合、他の種類のフオント選択手順を実行する(73
8)。コマンドがフオント選択用でなければ(735)、そ
のコマンドが指示する他の処理を実行する(739)。If No, perform another type of font selection procedure (73
8). If the command is not for font selection (735), other processing indicated by the command is executed (739).
フオント名称によるフオント選択は第7図(d)に示し
た手順で実行する。まず入力されたフオント名称に対応
するフオント識別番号nを、前もつて手順72及び734で
セツトしておいたフオント識別用テーブル142−b(第
4図)上では探索する。その結果、該当文字フオント数
が0ならば(741)、操作パネル18にその旨表示した後
他の必要な処理を行う。該当文字フオント数が1ならば
(741)、決定したフオント識別番号nの文字フオント
についての文字展開用フオントテーブル142−d(第6
図)を作成する(744)。該当文字フオント数が2以上
ならば(741)、優先順位が1位のフオント識別番号を
候補として選び(745)、候補となつた文字フオントに
ついてのユーザによる判断(747)を行つた後、(744)
と同じ手順により文字展開用フオントテーブルを作成す
る(746)。Font selection by font name is executed by the procedure shown in FIG. First, the font identification number n corresponding to the input font name is searched on the font identification table 142-b (FIG. 4) previously set in steps 72 and 734. As a result, if the number of corresponding character fonts is 0 (741), after displaying that fact on the operation panel 18, other necessary processing is performed. If the number of the corresponding character fonts is 1 (741), the character expansion font table 142-d for the character font having the determined font identification number n (the sixth character
Figure) is created (744). If the number of relevant character fonts is 2 or more (741), the font identification number with the first priority is selected as a candidate (745), and the user determines the character font that is a candidate (747), and then ( 744)
Create a font table for character expansion by the same procedure as (746).
決定したフオント識別番号nの文字フオントについての
文字展開用フオントテーブルは第7図(e)に示した手
順で作成される。The character expansion font table for the character font having the determined font identification number n is created by the procedure shown in FIG. 7 (e).
745における優先順位に基づく1つのフオント識別番号
の選択方法としては、次に示す3つの方法を実施した。The following three methods were implemented as the method of selecting one font identification number based on the priority order in 745.
(方法a) カートリツジROMを内蔵ROMより優先する。内蔵ROM
がない場合、カートリツジROMを優先する。(Method a) The cartridge ROM has priority over the internal ROM. Built-in ROM
If not present, the cartridge ROM has priority.
カートリツジROMが複数個装着されている場合、カ
ートリツジスロツトの位置に応じて、カートリツジROM
間に優先順位を付ける。例えば左右又は上下の順に付け
る。If multiple Cartridge ROMs are installed, the Cartridge ROMs will be changed according to the position of the Cartridge slot.
Prioritize in between. For example, it is attached to the left or right or top and bottom.
までの優先順位でフオントが一意に決まらない場
合、フオント識別番号の大小関係を使つて優先順位を付
ける。If the fonts cannot be uniquely determined by the priorities up to, the priority is assigned using the magnitude relationship of the font identification numbers.
(方法b) 方法aの場合と同じ。(Method b) Same as the method a.
カートリツジROMが複数個装着されている場合、カ
ートリツジROM識別番号(各カートリツジROMに予め記入
してある)を使って、優先順位を付ける。If more than one cartridge ROM is installed, use the cartridge ROM identification number (pre-filled in each cartridge ROM) to prioritize.
方法aの場合と同じ。 Same as for method a.
(方法c) フオント識別番号のうち最大のものを選別する。(Method c) Select the largest font identification number.
なお以上で説明した優先順位はユーザがパネル操作又は
DIPスイツチ操作などで変更できるようにすることもで
きる。It should be noted that the above-described priority order is set by the user through the panel operation or
It can also be changed by DIP switch operation.
747における候補となつた文字フオントについてのユー
ザによる判断は第7図(f)及び第7図(g)に示した
手順で行つた。初めに745で選んだ候補フオントを表示
した後(747−a),ユーザが直ちにパネル上の続行キ
ーを押すならば、その候補フオントを最終選択フオント
として決定した(747−b),(747−g)。ユーザが続
行キーを押す前にカートリツジROMを着脱する(747−c,
747−d)ならば、この時点でのフオント装着状態を調
べた後(747−e)、フオント名称によるフオント選択
を再び実行した(747−f)。The judgment of the character font which is a candidate in 747 is made by the user in the procedure shown in FIGS. 7 (f) and 7 (g). After first displaying the candidate font selected at 745 (747-a), if the user immediately presses the continue key on the panel, that candidate font is determined as the last selected font (747-b), (747-a). g). The cartridge ROM is installed or removed before the user presses the continue key (747-c,
In the case of 747-d), after checking the font mounting state at this point (747-e), font selection by font name is executed again (747-f).
ここでフオント着脱操作の有無は検出した後ハードウエ
ア割り込みで13のCPUに伝えた。また747−fの処理は再
帰的に実行した。Here, the presence or absence of the font attachment / detachment operation was detected and then notified to the 13 CPUs by a hardware interrupt. The process of 747-f was executed recursively.
以上説明した第7図の動作手順を印字制御装置が実行す
ることにより、プリンタに所期の動作を実行させること
ができる。By executing the operation procedure of FIG. 7 described above by the print control device, the printer can be caused to perform a desired operation.
本発明により得られた効果をまとめると以下のようにな
る。The effects obtained by the present invention are summarized as follows.
(1)プリンタ利用途中でのユーザによりカートリツジ
ROMの着脱操作に追随して、文字フオントが選択でき
た。(1) Cartridge storage by the user while using the printer
Following the ROM loading / unloading operation, the character fonts could be selected.
(2)同一のフオント名称を有する文字フオントが複数
個あつても、指示されたフオント名称に加えて文字フオ
ント間の優先順位を利用することにより常に1つの文字
フオントを選択することができた。(2) Even if there are a plurality of character fonts having the same font name, it is possible to always select one character font by using the priority between the character fonts in addition to the designated font name.
(3)前記優先順位の定義を工夫することにより、従来
のプリンタコマンド体系であるフオント名称方式を用い
たままで、ユーザが希望する文字フオントを複数個の文
字フオントの中から、選択することができた。(3) By devising the definition of the priority order, it is possible to select the character font desired by the user from a plurality of character fonts while using the font name system which is the conventional printer command system. It was
例えば、前記方法aの優先順位方法を採用した場合、カ
ートリツジROMの着脱或いは装着位置の変更をユーザが
行うだけで、ユーザが希望する文字フオントを複数個の
文字フオントの中から選択できるようになつた。For example, when the priority method of method a is adopted, the user can select a desired character font from a plurality of character fonts only by attaching / detaching the cartridge ROM or changing the mounting position. It was
(4)優先順位をユーザが定義し直せるようにすること
により、ユーザの意図をさらに反映した文字フオントの
選択が可能になつた。(4) By allowing the user to redefine the priority order, it becomes possible to select character fonts that further reflect the user's intention.
以上の(3),(4)はパネル上の続行キーを直ちに押
した場合の効果である。The above (3) and (4) are the effects when the continue key on the panel is immediately pressed.
(5)続行キーを押す前にユーザがカートリツジROMを
着脱する、(つまり指定フオント名称であるが、選びた
くない余分のフオントを含むカートリツジははずす、ユ
ーザが選びたいフオントを含むカートリツジ着ける)こ
とにより、確実に望みのフオントを選択することができ
た。(5) By the user attaching / detaching the cartridge ROM before pressing the continue key (that is, remove the cartridge containing the extra fonts that you do not want to select, but wear the cartridge containing the font you want to select) I was able to definitely select the font I wanted.
(6)以上(1)〜(4)の作用により、ホストコンピ
ユータから印字制御装置へデータを送り直さないでも、
ユーザが望むフオントを使った印字が行えるようになつ
た。(6) By the above operations (1) to (4), even if data is not sent from the host computer to the print control device again,
It is now possible to print using fonts that the user desires.
第1図と第2図は本発明の一実施例を説明するためのブ
ロツク図、第3図〜第6図は本発明の実施例を説明する
ための説明図、第7図は本発明の実施例の動作手順の説
明図である。 13……CPU、14……システムメモリ部、15……バツフア
メモリ部、16……パラレルシリアル変換部、17……操作
パネルI/F、18……操作パネル、141……内蔵ROM、142…
…RAM、143……カートリツジROM、142−a……コマンド
バツフア部、142−b……フオント識別用テーブル、142
−c……フオント先頭アドレステーブル、142−b……
文字展開用フオントテーブル、142−e……文字展開制
御テーブル。1 and 2 are block diagrams for explaining an embodiment of the present invention, FIGS. 3 to 6 are explanatory diagrams for explaining an embodiment of the present invention, and FIG. 7 is an illustration of the present invention. It is explanatory drawing of the operation procedure of an Example. 13 ... CPU, 14 ... System memory section, 15 ... Buffer memory section, 16 ... Parallel-serial conversion section, 17 ... Operation panel I / F, 18 ... Operation panel, 141 ... Internal ROM, 142 ...
... RAM, 143 ... Cartridge ROM, 142-a ... Command buffer section, 142-b ... Font identification table, 142
-C ... Font start address table, 142-b ...
Font table for character expansion, 142-e ... Character expansion control table.
Claims (1)
字フォント選択コマンドを含む印字制御コマンドを送信
するホストコンピュータと、少なくともコマンドの解釈
用及び実行用のプログラム並びに常駐の文字フォントパ
ターンデータを格納した内蔵ROMとスロットに着脱自在
に装着され、文字フォント名称に対応させた複雑の文字
形状の文字フォントパターンデータを格納したカートリ
ッチROMとを備えたシステムメモリ手段と、最優先の文
字フォント候補を表示して確認する表示手段と、前記ホ
ストコンピュータと1/Fを介してバスで接触され、前記
ホストコンピュータから送信される文字コード及び文字
フォント名称指定の文字フォント選択コマンドを含む印
字制御コマンドに基づいて、バスを介して接続された前
記システムメモリ手段のROMにアクセスして前記文字フ
ォント選択コマンドに該当する同一文字フォント名称で
異なる複数の文字形状の文字フォントから予め定められ
た優先規則に従って最優先の文字フォント候補を選択し
て前記表示手段に表示させ、該表示されて確認された最
優先の文字フォントに基づいて文字展開を行なって文字
パターンデータを発生させるCPUと、該CPUで発生した文
字パターンデータを記憶するバッファメモリ手段と、該
バッファメモリ手段に記憶された文字パターンデータを
出力して印字を行なうプリンタとを備えたことを特徴と
する印字制御装置。1. A host computer for transmitting a print control command including a character font selection command for designating a character code and a character font name, and a built-in computer for storing at least a program for interpreting and executing the command and resident character font pattern data. A ROM and a system memory means that is detachably attached to a slot and has a cart rich ROM that stores character font pattern data of a complicated character shape corresponding to a character font name, and a top priority character font candidate are displayed. Based on a print control command including a character font selection command of a character code and a character font name transmitted from the host computer, which is in contact with the display means to be confirmed by the display device and the host computer via 1 / F via a bus. R of said system memory means connected via a bus OM is accessed to select the highest priority character font candidate from a plurality of character fonts having different character shapes with the same character font name corresponding to the character font selection command according to a predetermined priority rule and display it on the display means. A CPU for performing character expansion based on the displayed and confirmed highest priority character font to generate character pattern data, a buffer memory means for storing the character pattern data generated by the CPU, and the buffer memory means And a printer for outputting the character pattern data stored in the printer for printing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62110567A JPH0725182B2 (en) | 1987-05-08 | 1987-05-08 | Print control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62110567A JPH0725182B2 (en) | 1987-05-08 | 1987-05-08 | Print control device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS63276571A JPS63276571A (en) | 1988-11-14 |
JPH0725182B2 true JPH0725182B2 (en) | 1995-03-22 |
Family
ID=14539104
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62110567A Expired - Fee Related JPH0725182B2 (en) | 1987-05-08 | 1987-05-08 | Print control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0725182B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6738149B2 (en) * | 1992-01-27 | 2004-05-18 | Canon Kabushiki Kaisha | Method and apparatus for selecting a preferential font |
-
1987
- 1987-05-08 JP JP62110567A patent/JPH0725182B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPS63276571A (en) | 1988-11-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4398264A (en) | Circuit to enable foreground and background processing in a word processing system with circuits for performing a plurality of independently controlled functions | |
US4387424A (en) | Communications systems for a word processing system employing distributed processing circuitry | |
US4398246A (en) | Word processing system employing a plurality of general purpose processor circuits | |
US4434419A (en) | Cursor control circuit for plural displays for use in a word processing system | |
JPS5938628B2 (en) | Multi-column format printing system with font control device | |
US4392197A (en) | Print control circuit for a word processing system | |
JPH0725182B2 (en) | Print control device | |
CA1167987A (en) | Circuit for controlling information on a display | |
JPH0751368B2 (en) | Print control device | |
US4422070A (en) | Circuit for controlling character attributes in a word processing system having a display | |
JPS63302083A (en) | printing device | |
JPH0330977A (en) | Page printer control system | |
JPH0522933B2 (en) | ||
KR100524022B1 (en) | Printing system supporting customer emulation and a method thereof | |
JPH0746543Y2 (en) | Printer | |
JPH066929Y2 (en) | Printer | |
JPH04285996A (en) | Method and device for output | |
JPS61286153A (en) | Image output device | |
US5404434A (en) | Document processor having identification display control means | |
JP2670447B2 (en) | Output device and method | |
JPH08174951A (en) | Device and method for information processing | |
JPS61263764A (en) | Method for printer control | |
JPH08132703A (en) | Method and device for outputting character | |
JPH04205346A (en) | Printer device | |
JP2764944B2 (en) | Character output device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
R371 | Transfer withdrawn |
Free format text: JAPANESE INTERMEDIATE CODE: R371 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |