JPH0751368B2 - Print control device - Google Patents

Print control device

Info

Publication number
JPH0751368B2
JPH0751368B2 JP61306448A JP30644886A JPH0751368B2 JP H0751368 B2 JPH0751368 B2 JP H0751368B2 JP 61306448 A JP61306448 A JP 61306448A JP 30644886 A JP30644886 A JP 30644886A JP H0751368 B2 JPH0751368 B2 JP H0751368B2
Authority
JP
Japan
Prior art keywords
character
font
rom
pattern data
character font
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 - Lifetime
Application number
JP61306448A
Other languages
Japanese (ja)
Other versions
JPS63159071A (en
Inventor
斎司 蔭山
順一 榎本
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61306448A priority Critical patent/JPH0751368B2/en
Publication of JPS63159071A publication Critical patent/JPS63159071A/en
Publication of JPH0751368B2 publication Critical patent/JPH0751368B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ホストコンピュータからの文字コード及び印
字制御コマンドに基づいてプリンタにおいて所望の文字
フォントで印字を行なう印字制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control device that prints in a desired character font in a printer based on a character code and a print control command from a host computer.

〔従来の技術〕[Conventional technology]

プリンタはOA用周辺機器として普及しつつあり、低価格
化が進行したレーザプリンタやLEDプリンタなどの光プ
リンタ(以下LPという)はデージーホイールプリンタ
(以下DPという)やワイヤドツトプリンタ(以下WPとい
う)に置き換えられるすう勢にある。LPは高速,低騒音
印字に加え、高解像度性に基づく高画質印字,マルチフ
オント印字が可能である。マルチフオント印字とは、複
数の文字フオントを備え、これらの文字フオントの中か
ら随時1つの文字フオントをユーザの指示に従つて選択
しながら印字することである。ところでLPでは内蔵ROM
に加えて外付けのカートリツジROMに30種以上の文字フ
オントを装備してこれを利用することができる。
Printers are becoming popular as peripheral devices for OA, and optical printers (hereinafter referred to as LP) such as laser printers and LED printers, which have been reduced in price, are becoming daisy wheel printers (hereinafter referred to as DP) and wire dot printers (hereinafter referred to as WP). It is being replaced. LP is capable of 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. By the way, LP has a built-in ROM
In addition to this, you can use it by equipping an external cartridge ROM with more than 30 kinds of fonts.

従来のマルチフオント選択には次の2つの方式がある。There are the following two methods for conventional multi-font selection.

(1)フオント名称に基づく選択方式(以下フオント名
称方式という) この方式は、ユーザが制御コマンドまたは操作パネルス
イツチにより指示したフオント名称によつて使用するフ
オントを選択する方式である。フオント名称としては、
プロポーシヨナル,パイカ,エリート,イタリツク,ボ
ールド,ゴシツク、明朝体などがある。この方式は「エ
プソン FK−80プリンタ ユーザス マニユアル」(EP
SON FX−80 PRINTER USER′ S MANUAL)に記載されてい
る。
(1) Selection method based on font name (hereinafter referred to as font name method) This method is a method for selecting a font to be used according to a font name designated by a user using a control command or an operation panel switch. As a font name,
Proposal, pica, elite, italic, bold, goshsk, mincho type. This method is called "Epson FK-80 Printer User's Manual" (EP
SON FX-80 PRINTER USER'S MANUAL).

(2)文字ピツチに基づくフオント選択方式(以下文字
ピツチ方式という) この方式は、ユーザが制御コマンドまたは操作パネルス
イツチにより指示した文字ピツチにより使用する文字フ
オントを選択する方式である。通常、文字ピツチはCPI
(キヤラクターズ パーインチ=Charactors Per Inc
h)という単位で指示される。この方式は特開昭60−179
261号公報に記載されている。
(2) Font selection method based on character pitch (hereinafter referred to as character pitch method) This method is a method for selecting a character font to be used by a character pitch designated by a user using a control command or an operation panel switch. Character pitch is usually CPI
(Characters Per Inc.)
Instructed in units of h). This method is disclosed in JP-A-60-179.
No. 261, for example.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

しかしながらこれらの2つの選択方式は、 (1)共通の問題点として、スロツトに対するカートリ
ツジROMの装着状態の監視不十分による不都合である。
従来の印字制御装置は、その初期時点でカートリツジRO
Mの装着状態を調べるが、プリンタ使用中にはその変化
を逐次監視していない。従つて、初期時点で装着されて
いたカートリツジROMがその後に取り外されると印字エ
ラーを起すことがある。また、初期時点で装着されてい
なかつたカートリツジROMをその後に追加しても、該カ
ートリツジROMの装着は認識されないので、該カートリ
ツジROMに備えられた文字フオントは使用されない。
However, these two selection methods are inconvenient because (1) the common problem is insufficient monitoring of the mounting state of the cartridge ROM with respect to the slot.
The conventional print control device is a cartridge cartridge RO at the initial stage.
I check the mounting state of M, but I do not monitor the change sequentially while using the printer. Therefore, if the cartridge ROM mounted in the initial stage is subsequently removed, a printing error may occur. Further, even if a cartridge ROM that has not been mounted at the initial point is added after that, the mounting of the cartridge ROM is not recognized, so that the character font provided in the cartridge ROM is not used.

(2)フオント名称方式は、各フオント名称に対して1
つの文字フオントしかないことを前提にしている。その
ため、同一のフオント名称で文字形状が異る複数の文字
フオントがある場合、フオント名称を指定しても目的の
文字フオントを一意に選択できない問題がある。
(2) Font name system is 1 for each font name
It is assumed that there are only one character font. Therefore, when there are a plurality of character fonts having the same font name and different character shapes, there is a problem that the target character font cannot be uniquely selected even if the font name is specified.

LPは前述したようにマルチフオント印字を実現し得る高
解像特性をもつているが、ワードプロセツサやパーソナ
ルコンピユータ上の応用ソフトウエアとの共通性を維持
するためにマルチフオント選択機能の低いDPやWP用のプ
リンタコマンド体系を用いることが多い。しかしこれら
のDPやWPのプリンタコマンド体系はフオント名称により
マルチフオント選択を行うものであるので、前記問題は
顕著である。
The LP has a high resolution characteristic that can realize multi-font printing as described above, but in order to maintain the commonality with the application software on the word processor or personal computer, the LP with a low multi-font selection function is used. Printer command system for WP and WP is often used. However, since these DP and WP printer command systems perform multi-font selection by font names, the above problem is remarkable.

(3)文字ピツチ方式は、複数文字フオントから常に1
つの文字フオントを選択できる利点をもつ反面、好みの
文字フオントをフオント名称で選択できない問題があ
る。
(3) The character pitch method is always 1 from multiple character fonts.
Although it has the advantage that one character font can be selected, there is a problem that a favorite character font cannot be selected by font name.

本発明の目的は、上記問題点を解決すべく、外付けカー
トリッジROMを着脱自在に装着できるように構成したマ
ルチフォント印字システムにおいて、ユーザが希望する
文字フォントをフォント名称指定によって一意に選択し
て文字展開をして所望の文字フォントで文字パターンを
プリンタにおいて印字できるようにした印字制御装置を
提供することにある。
In order to solve the above problems, an object of the present invention is to provide a multi-font printing system in which an external cartridge ROM can be removably mounted so that a character font desired by a user is uniquely selected by designating a font name. It is an object of the present invention to provide a print control device capable of performing character expansion and printing a character pattern in a printer in a desired character font.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、この目的を達成するために、文字コード及び
文字フォント名称指定の文字フォント選択コマンドを含
む印字制御コマンドを送信するホストコンピュータと、
少なくともコマンドの解釈用及び実行用のプログラム並
びに常駐の文字フォントパターンデータを格納した内臓
ROMとスロットに着脱自在に装着され、文字フォント名
称に対応させた複数の文字形状の文字フォントパターン
データを格納したカートリッジROMとを備えたシステム
メモリ手段と、前記ホストコンピュータとI/Fを介して
バスで接続され、前記ホストコンピュータから送信され
る文字コード及び文字フォント名称指定の文字フォント
選択コマンドを含む印字制御コマンドに基づいて、バス
を介して接続された前記システムメモリ手段のROMにア
クセスして前記文字フォント選択コマンドに該当する同
一文字フォント名称で異なる複数の文字形状の文字フォ
ントから予め定められた優先規則に従って文字フォント
を選択して文字展開を行なって文字パターンデータを発
生させるCPUと、該CPUで発生した文字パターンデータを
記憶するバッファメモリ手段と、該バッファメモリ手段
に記憶された文字パターンデータを出力して印刷を行な
うプリンタとを備えたことを特徴とする印字制御装置で
ある。また本発明は、前記印字制御装置において、前記
複数のカートリッジROMに識別番号を付与し、前記CPUに
おいて、前記優先規則を前記識別番号に基づいて定める
ように構成したことを特徴とする。また本発明は、前記
印字制御装置における前記CPUにおいて、文字フォント
の選択を文字展開の区切りで行なうように構成したこと
を特徴とする。
In order to achieve this object, the present invention provides a host computer that transmits a print control command including a character font selection command that specifies a character code and a character font name, and
At least built-in program for command interpretation and execution, and resident character font pattern data
A system memory means including a ROM and a cartridge ROM that is detachably attached to a slot and stores character font pattern data of a plurality of character shapes corresponding to character font names; and via the host computer and the I / F. A ROM connected to the system memory means connected via a bus is accessed based on a print control command including a character code selection command for designating a character code and a character font name that is transmitted from the host computer. A CPU for generating character pattern data by selecting a character font from a plurality of character fonts having different character shapes and having the same character font name corresponding to the character font selection command according to a predetermined priority rule and performing character expansion to generate character pattern data; Buffer memory means for storing character pattern data generated in CPU A print control apparatus characterized by comprising a printer for printing by outputting the character pattern data stored in said buffer memory means. Further, the present invention is characterized in that, in the print control device, identification numbers are given to the plurality of cartridge ROMs, and the CPU determines the priority rule based on the identification numbers. Further, the present invention is characterized in that the CPU in the print control device is configured to select a character font at a delimiter of character expansion.

〔作用〕[Action]

CPUは、印字時点で装着されているカートリツジROMと文
字フオントを監視してその中から使用する文字フオント
を選択するので、プリンタの利用途中でユーザによつて
カートリツジROMが着脱されてもそれに追随した文字フ
オント選択が可能になる。そして同一フオント名称の文
字フオントが複数個あつても文字フオント間の優先順位
を利用してユーザが希望する文字フオントを選択するこ
とができる。
Since the CPU monitors the cartridge ROM installed at the time of printing and the character font and selects the character font to be used from among them, it follows the cartridge ROM even if the user removes or attaches it while using the printer. Character font selection becomes possible. Even if there are a plurality of character fonts having the same font name, the user can select the character font desired by using the priority order among the character fonts.

例えば、文字フオント間の優先順位は、内蔵ROMとカー
トリツジROMではカートリツジROMを優先し、カートリツ
ジROM同志の場合にはスロツト位置に優先順位を付けて
おけばよい。プリンタにプロポーシヨナルフオント(以
下P1という)が1つ内蔵されており(FX−80エミユレー
シヨン用),ユーザが別のプロポーシヨナルルフオント
(以下P2という)用のカートリツジROMを持つている場
合、カートリツジROMをスロツトに装着すればP2が選択
される。P1を使用したときはカートリツジROMをスロツ
トから取り外しておけばよい。
For example, as for the priority order between the character fonts, the built-in ROM and the cartridge ROM have priority over the cartridge ROM, and in the case of the cartridge ROMs, the slot positions may be prioritized. Printer Proportioner to null font (hereinafter referred to as P 1), are built one (for FX-80 emulation), if a user is having Katoritsuji ROM for another Proportioner to Naruru font (hereinafter referred to as P 2) , P 2 is selected if the cartridge ROM is attached to the slot. When using P 1 , the cartridge ROM should be removed from the slot.

このようにすることにより、従来のコマンド体系を維持
したままでユーザが希望する文字フオントを任意に選択
して使用することができる。
By doing so, the character font desired by the user can be arbitrarily selected and used while maintaining the conventional command system.

〔実施例〕〔Example〕

先ず本発明になる印字制御装置による印字装置では、第
4図に示すように、印字制御装置1はホストコンピユー
タ2とシリアルまたはパラレル信号によつて電気信号的
に接続され、プリンタ本体3とはビデオ信号によつて電
気信号的に接続される。
First, in the printing apparatus by the printing control apparatus according to the present invention, as shown in FIG. 4, the printing control apparatus 1 is electrically connected to the host computer 2 by a serial or parallel signal, and the printer main body 3 is connected to a video device. Electrical connection is made by signals.

印字制御装置は第1図に示すように、ホストコンピユー
タとのシリアル信号通信を実行するシリアルI/F11、同
じくパラレル信号通信を実行するパラレルI/F12を備え
る。本装置を制御するCPU13はホストコンピユータから
送信された文字コードおよび制御コマンドの解釈,実行
を行う。コマンド解釈,実行には文字パターンデータの
展開すなわち文字コードに対応する文字パターンをシス
テムメモリ部14内のフオントカートリツジROMを参照し
ながらバツフアメモリ部15へ書き込む処理を含む。シス
テムメモリ部14は、第2図に示すように、内蔵ROM141、
RAM142およびカートリツジROM143を備える。内蔵ROM141
には、コマンドの解釈,実行用プログラムおよび常駐の
文字フオントパターンデータ(以下内蔵フオントROMと
いう)が格納されている。RAM142は、第3図に示すよう
に、コマンドバツフア部142−a,フオント識別用テーブ
ル142−b,フオント先頭アドレステーブル142−c,文字展
開用フオントテーブル142−d,文字展開制御テーブル142
−eを備える。CPU13はRAM142上のこれらのテーブルを
更新しながらコマンドの解釈と実行を行う。カートリツ
ジROM143はカートリツジスロツトに着脱可能に設けられ
その数は着脱操作によつて0〜カートリツジスロツト数
の間で変化する。これらのカートリツジROM143にはフオ
ントパターンデータ或いはコマンド解釈プログラムが格
納されている。
As shown in FIG. 1, the print control device includes a serial I / F 11 that executes serial signal communication with the host computer, and a parallel I / F 12 that also executes parallel signal communication. The CPU 13 that controls this device interprets and executes the character code and control command sent from the host computer. The command interpretation and execution includes a process of expanding the character pattern data, that is, a process of writing a character pattern corresponding to a character code to the buffer memory unit 15 while referring to the font cartridge ROM in the system memory unit 14. As shown in FIG. 2, the system memory unit 14 includes a built-in ROM 141,
A RAM 142 and a cartridge ROM 143 are provided. Internal ROM 141
Stores command interpretation, execution programs, and resident character font pattern data (hereinafter referred to as built-in font ROM). As shown in FIG. 3, the RAM 142 includes a command buffer unit 142-a, a font identification table 142-b, a font start address table 142-c, a character expansion font table 142-d, and a character expansion control table 142.
-E is provided. The CPU 13 interprets and executes commands while updating these tables on the RAM 142. Cartridge ROM 143 is detachably provided in the cartridge slot and the number thereof varies from 0 to the number of cartridge slots depending on the attaching / detaching operation. These cartridge ROMs 143 store font pattern data or command interpretation programs.

バツフアメモリ部15にはコマンド実行によつて展開され
る文字パターンデータが順次書き込まれ、この文字パタ
ーンデータはパラレルシリアル変換部16によつてパラレ
ス形式からシリアル形式に変換されてビデオ信号にな
る。
Character pattern data developed by command execution is sequentially written in the buffer memory section 15, and the parallel-serial conversion section 16 converts the character pattern data from the parallel format to the serial format to form a video signal.

また17は操作パネルI/F、18は操作パネルである。操作
パネル18にはプリンタおよび該印字制御装置の状態をオ
ペレータに報知するための表示部と前記状態をオペレー
タがセツトするためのスイツチとが設けられている。
Reference numeral 17 is an operation panel I / F, and 18 is an operation panel. The operation panel 18 is provided with a display section for notifying the operator of the status of the printer and the print control device, and a switch for the operator to set the status.

複数個の文字フオントデータは内蔵ROM141およびカート
リツジROM143内に、第5図に示したデータ形式で格納さ
れる。この実施例では1〜Nの文字フオントが格納され
ている。各文字フオントn毎に、先頭アドレスAn31から
共通管理情報32、各文字個別管理情報33、文字パターン
データ34が区分して格納されている。共通管理情報32は
文字によつて変化しない共通情報であり、フオント識別
番号,フオント名称,ポートレートとランドスケープの
区別,文字パターンデータ34の先頭アドレス,各文字個
別管理情報33の先頭アドレス,フオント内文字数、先頭
文字ASCIIコード,文字パターン横サイズ,文字パター
ン縦サイズ,文字パターン占有ワード数などが格納され
ている。これらは文字フオントnに属するすべての文字
を展開するときに共通に利用される。文字展開をスピー
ドアツプするために、これらのうちの後半の7項目はRA
M142上の文字展開用フオントテーブル142−dに格納し
て利用される。文字展開フオントテーブル142−dは文
字フオントnが選択,確定された時点で管理情報32から
選択してコピーすることによりセツトされる。このテー
ブル142−dを第10図に示す。
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 embodiment, character fonts 1 to N are stored. For each character font n, common management information 32, individual character management information 33, and character pattern data 34 are stored separately from the head address An31. The common management information 32 is common information that does not change depending on characters, and includes a font identification number, font name, portrait / landscape distinction, start address of character pattern data 34, start address of each character individual management information 33, and font. The number of characters, ASCII code of the first character, horizontal size of character pattern, vertical size of character pattern, number of occupied words of character pattern, etc. are stored. 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 RA
It is stored in the font table 142-d for character expansion on the M142 and used. The character expansion font table 142-d is set by selecting and copying from the management information 32 when the character font n is selected and confirmed. This table 142-d is shown in FIG.

第5図のデータ形式でN個の文字フオントをROMに格納
するときは次の自由度がある。
When storing N character fonts in the ROM in the data format shown in FIG. 5, there are the following degrees of freedom.

(1)文字フオント1〜Nを1つのフオントROMに入れ
たり、複数個のフオントROMに分割して入れたりするこ
とができる。
(1) Character fonts 1 to N can be put in one font ROM or divided into a plurality of font ROMs.

(2)フオントROMとしては、内蔵ROMとカートリツジRO
Mの一方または両方を使用することができる。
(2) Built-in ROM and cartridge ROM as font ROM
One or both of M can be used.

また、データ形式としては第5図の形式の代りに第6図
に示したデータ形式とすることもできる。
The data format may be the data format shown in FIG. 6 instead of the format shown in FIG.

なお、第5図ではその時点でN個のフオントデータが実
装されている場合についてのデータの格納形式を示し
た。一般には、第7図に示すように、装置に実装可能な
フオントの先頭アドレスがM個(A1,A2−AM)あり、そ
のうちN個(Aj1,Aj2…Ajn)にフオントデータが実装さ
れ、その他の先頭アドレスAx,Ay,AMは未実装である。
Note that FIG. 5 shows the data storage format in the case where N font data are installed at that time. Generally, as shown in FIG. 7, there are M (A 1 , A 2 −A M ) leading addresses of fonts that can be mounted in the device, and N (A j1 , A j2 ... A jn ) fonts are included in the font. data is implemented, other start address Ax, Ay, a M is not implemented.

フオント識別用テーブル142−bを第8図を用いて説明
する。このテーブル142−bには各フオント名称毎に、
文字フオント数とフオント識別番号の列が格納される。
例示したテーブルには、フオント名称がプロポーシヨナ
ルである文字フオントが2つあり、1と2のフオント識
別番号が付してある。従つてこのテーブル142−bを用
いることにより、フオント名称に対してフオント識別番
号の列を得るこができる。このテーブル142−bのセツ
ト方法としては次の2つの方法を適用することができ
る。
The font identification table 142-b will be described with reference to FIG. In this table 142-b, for each font name,
A string of the number of character fonts and a font identification number is stored.
In the illustrated table, there are two character fonts whose font names are proportional, and the font identification numbers 1 and 2 are given. Therefore, by using this table 142-b, a column of font identification numbers can be obtained for font names. The following two methods can be applied as the method of setting the table 142-b.

方法1; (1)予めプリンタメーカがユーザに提供するすべての
文字フオントについて、第8図のようなテーブルを作成
して内蔵ROM141に格納しておく。
Method 1; (1) A table as shown in FIG. 8 is created and stored in the built-in ROM 141 in advance for all the character fonts provided by the printer maker to the user.

(2)プリンタの電源をオンしたときにROM141からデー
タを読み出してコピーすることによりRAM142上にテーブ
ル142−bを作成する。
(2) A table 142-b is created on the RAM 142 by reading data from the ROM 141 and copying the data when the printer is powered on.

なおROM141上の前記テーブルを直接参照するようなプロ
グラムの場合にはこの処理は不要である。
Note that this processing is not necessary in the case of a program that directly refers to the table on the ROM 141.

方法2; (1)ペーシ,行,文字などの文字展開の区切り毎にそ
の時点で実装されているすべての文字フオントの共通管
理情報32を調べてテーブル142−bを作成する。
Method 2; (1) Check the common management information 32 of all the character fonts implemented at that time for each delimiter of character expansion such as page, line, character, etc., and create a table 142-b.

この実施例では第2の方法によりカートリツジROMの装
着状態を逐次監視しフオント識別用テーブル142−bを
作成する。
In this embodiment, the mounting state of the cartridge ROM is successively monitored by the second method to create the font identifying table 142-b.

フオント先頭アドレステーブル142−cを第9図を用い
て説明する。このテーブル142−cには本印字制御装置
が保持できるすべての文字フオント(フオント識別番号
1〜M)の先頭アドレスA1〜AMが格納されている。この
テーブル142−cを用いることにより各フオント識別番
号nに対してその文字フオントが格納されているROM内
の先頭アドレスAnを知ることができる、なお、先頭アド
レスAnの値として、アドレスとして起こり得ない特別な
数値を用いることによりそのフオント識別番号nの文字
フオントがこの制御装置に未実装であることを表すよう
にした。これにより指定文字フオントが未実装であるこ
とを識別して操作パネル18に表示し、オペレータにその
旨を情知する。このテーブル142−cも、ページ,行,
文字などの文字展開の区切り毎にその時点で実装されて
いるすべての文字フオントの共通管理情報32を調べて作
成する。
The font start address table 142-c will be described with reference to FIG. The table 142-c stores the head addresses A 1 to AM of all the character fonts (font identification numbers 1 to M ) that can be held by the print control apparatus. By using this table 142-c, it is possible to know the start address A n in the ROM in which the character font is stored for each font identification number n. As the value of the start address A n , By using a special numerical value which cannot occur, it is indicated that the character font of the font identification number n is not mounted in this control device. As a result, the fact that the specified character font is not mounted is identified and displayed on the operation panel 18, and the operator is informed accordingly. This table 142-c also has pages, rows,
For each delimiter of character expansion such as characters, the common management information 32 of all the character fonts implemented at that time is checked and created.

次にこの印字制御装置の動作を第11図〜第14図のプログ
ラム アナリシス ダイヤグラム(PAD=Problem Anali
sis Diagram)を用いて説明する。
Next, the operation of this print control device is shown in the program analysis diagram (PAD = Problem Anali
sis diagram).

第11図において、ブロツク71でプリンタおよびこの印字
制御装置の電源を入れた後、ブロツク72でRAM上のフオ
ント識別テーブル142−bを初期セツトする。この後CPU
13はブロツク73でホストコンピユータからシリアルI/F1
1またはパラレルI/F12を通じて送信してきた文字コード
および制御コマンドの列を処理する。
In FIG. 11, after the printer 71 and the print control device are turned on at block 71, the block 72 initializes the font identification table 142-b on the RAM. After this CPU
13 is a block 73, which is a serial I / F 1 from the host computer.
Processes the character code and control command string sent through 1 or parallel I / F 12.

第12図はこのコマンド処理73の詳細を示すもので、初め
にブロツク730でコマンドをコマンドバツフア部142−a
に格納する。ブロツク731において、CPU13はコマンドバ
ツフア部142−a内のコマンドを順次読み出して解釈す
る。解釈されたコマンドはブロツク732において次のよ
うに実行する。
FIG. 12 shows the details of this command processing 73. First, at block 730, the command is sent to the command buffer section 142-a.
To store. In block 731, the CPU 13 sequentially reads and interprets the commands in the command buffer unit 142-a. The interpreted command executes at block 732 as follows.

先ずブロツク733でフオント実装状態を調査し、ブロツ
ク734でフオント先頭アドレステーブル142−cおよびフ
オント識別用テーブル142−bを再セツトする。なお、
フオント識別用テーブル142−bは再セツトしない方法
を取ることもできる、フオント実装状態の調査は、前述
したように、ページ,行,文字などの文字展開の区切り
で行う。コマンドがフオント選択用コマンドである場合
にはブロツク735からブロツク736に移つてフオント名称
による選択コマンドかどうかを調べる。フオント名称に
よる選択コマンドの場合はブロツク737でフオント名称
によるフオント選択手順を実行する。フオント名称によ
る選択コマンドでない場合にはブロツク738で他の種類
のフオント選択手順を実行する。コマンドがフオント選
択用コマンドでない場合にはブロツク735からブロツク7
39に移つてそのコマンドが指示する他の処理を実行す
る。
First, in block 733, the mounting state of the font is checked, and in block 734, the font start address table 142-c and the font identification table 142-b are reset. In addition,
The font identification table 142-b may be set without resetting. The font mounting state is checked by separating characters such as pages, lines, and characters, as described above. If the command is a font selection command, block 735 transfers to block 736 to check whether it is a font name selection command. In the case of the selection command by font name, block 737 executes the font selection procedure by font name. If it is not a selection command by font name, block 738 performs another type of font selection procedure. If the command is not a font selection command, block 735 to block 7
Then, the processing shifts to 39, and other processing indicated by the command is executed.

フオント名称によるフオント選択処理737の手順を第13
図を用いて説明する。ブロツク740では、入力されたフ
オント名称に対応するフオント識別番号nを、前もつて
ブロツク72,734の処理でセツトしておいたフオント識別
用テーブル142−b(第8図)上で探索する。該当文字
フオント数が0であればブロツク741からブロツク742に
移つて操作パネル18にその旨を表示した後にブロツク74
3に移つて他の必要な処理を実行する。該当文字フオン
ト数が1であればブロツク741からブロツク744に移り、
決定したフオント識別番号nの文字フオントについての
文字展開用フオントテーブル142−d(第10図)を作成
する。該当文字フオント数が2以上であればブロツク74
1からブロツク745に移つて優先順位に基づきフオント識
別番号を1つ決定した後にブロツク746に移つてブロツ
ク744の場合と同様にして文字展開用フオントテーブル1
42−dを作成する。
Step 13 of the font selection process 737 by font name
It will be described with reference to the drawings. In block 740, the font identification number n corresponding to the input font name is searched for in the font identification table 142-b (FIG. 8) previously set in the processes of blocks 72 and 734. If the number of the corresponding font is 0, the block 741 is moved to the block 742 to display the fact on the operation panel 18 and then the block 74
Move to step 3 to perform other necessary processing. If the number of the corresponding font is 1, block 741 moves to block 744,
A character expansion font table 142-d (FIG. 10) is created for the character font having the determined font identification number n. If the number of corresponding fonts is 2 or more, block 74
Move from 1 to block 745, determine one font identification number based on the priority order, then move to block 746, and in the same way as block 744, font table for character expansion 1
Create 42-d.

決定したフオント識別番号nの文字フオントについての
文字展開用フオントテーブル142−dの作成処理744(74
6)は第14図に示す手順で実行される。
Creation processing 744 (74) of the font table 142-d for character expansion for the character font with the determined font identification number n
6) is executed by the procedure shown in FIG.

優先順位に基づく1つのフオント識別番号の決定方法と
して次の3つの方法がある。
There are the following three methods for determining one font identification number based on priority.

方法a; (1)カートリツジROM143を内蔵ROM141より優先する。Method a; (1) Prioritize the cartridge ROM 143 over the internal ROM 141.

(2)カートリツジROM143がスロツトに複数個装着され
ている場合には、カートリツジスロツト位置に応じてカ
ートリツジROM143間に優先順位を付ける。例えば、左右
または上下の順に優先付けする。
(2) When a plurality of cartridge ROMs 143 are mounted in the slot, the cartridge ROMs 143 are prioritized according to the cartridge slot position. For example, priority is given to the left and right or the top and bottom.

(3)前記(1),(2)の優先順位付けで文字フオン
トが一意に決まらない場合は、フオント識別番号の大小
関係を使つて優先順位を付ける。
(3) If character fonts cannot be uniquely determined by the prioritization of (1) and (2), the priority is assigned by using the magnitude relationship of font identification numbers.

方法b; (1)カートリツジROM143を内蔵ROM141より優先する。Method b; (1) Prioritize the cartridge ROM 143 over the internal ROM 141.

(2)カートリツジROM143がスロツトに複数個装着され
ている場合には、各カートリツジROMに予め記入してあ
るカートリツジROM識別番号を使用して優先順位を付け
る。
(2) When a plurality of cartridge ROMs 143 are mounted on the slot, the cartridge ROM identification number previously written in each cartridge ROM is used to give priority.

(3)前記(1),(2)の優先順位付けで文字フオン
トが一意に決まらない場合は、フオント識別番号の大小
関係を使つて優先順位を付ける。
(3) If character fonts cannot be uniquely determined by the prioritization of (1) and (2), the priority is assigned by using the magnitude relationship of font identification numbers.

方法c; (1)フオント識別番号のうち最大のものを選択する。Method c; (1) Select the largest font identification number.

なお、以上で述べた優先順位は、ユーザがパネル操作ま
たはDIPスイツチ操作することで変更できるようにす
る。
The priority order described above can be changed by the user by operating the panel or the DIP switch.

以上に述べた印字制御装置によれば次のような効果が得
られる。
According to the printing control apparatus described above, the following effects can be obtained.

(1)プリンタ利用の途中にユーサがカートリツジROM
を着脱した場合でもその着脱状態に応じて文字フオント
の選択が可能である。
(1) The user has a cartridge ROM while using the printer.
Even when the character is attached or detached, the character font can be selected according to the attached or detached state.

(2)同一のフオント名称の文字フオントが複数個実装
されていても、指示されたフオント名称と文字フオント
間の優先順位を利用することにより、常に1つの文字フ
オントを選択することができる。
(2) Even if a plurality of character fonts having the same font name are mounted, one character font can always be selected by using the designated font name and the priority order between the character fonts.

(3)従来のプリンタコマンド体系であるフオント名称
方式のままで、前記優先順位の定義を利用することによ
り、複数個の文字フオントの中からユーザが希望する文
字フオントを選択することができる。例えば方法aの優
先順位付けによれば、ユーザはカートリツジROMの着脱
や装着位置を変更することで複数個の文字フオントの中
から希望する文字フオントを使用することができる。
(3) By using the definition of the priority order while keeping the font name system which is the conventional printer command system, the character font desired by the user can be selected from a plurality of character fonts. For example, according to the prioritization of the method a, the user can use a desired character font from a plurality of character fonts by attaching / detaching the cartridge ROM or changing the mounting position.

(4)ユーザが優先順位を定義し直せるようにしたの
で、ユーザの意図をさらに反映した文字フオントの選択
を可能とする。
(4) Since the user can redefine the priority order, it is possible to select the character font that further reflects the user's intention.

〔発明の効果〕〔The invention's effect〕

本発明によれば、プリンタの使用途中でカートリッジRO
Mが着脱されてもそれに追随した文字フォントの選択が
可能となり、しかも同一名称の文字フォントが複数個あ
っても予め定めた文字フォントの間の優先規則に基づい
て希望する文字ファントを選択することができるので、
多数の文字フォントの中からユーザが希望する文字フォ
ントをフォント名称指定によって一意に選択して文字展
開をして所望の文字フォントで文字パターンをプリンタ
において印紙すろことができる効果を奏する。
According to the present invention, the cartridge RO
Even if M is attached or detached, it is possible to select a character font that follows it, and even if there are multiple character fonts with the same name, select the desired character phantom based on the predetermined priority rule between the character fonts. Because you can
There is an effect that a character font desired by a user is uniquely selected from a large number of character fonts by designating a font name, character expansion is performed, and a character pattern can be printed by a printer with the desired character font.

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

図面は本発明の一実施例を示すもので、第1図〜第4図
はブロツク図、第5図〜第7図は文字フオントデータ説
明図、第8図〜第10図はテーブル説明図、第11図〜第14
図は動作説明用ブロツク図である。 13……CPU、14……システムメモリ部、141……内蔵RO
M、142……RAM、143……カートリツジROM。
The drawings show one embodiment of the present invention. FIGS. 1 to 4 are block diagrams, FIGS. 5 to 7 are character font data explanatory diagrams, and FIGS. 8 to 10 are table explanatory diagrams. Figures 11-14
The figure is a block diagram for explaining the operation. 13 …… CPU, 14 …… System memory, 141 …… Built-in RO
M, 142 …… RAM, 143 …… Cartridge ROM.

フロントページの続き (56)参考文献 特開 昭60−232974(JP,A) 特開 昭60−129268(JP,A) 特開 昭60−179261(JP,A) 特開 昭61−225075(JP,A) 特開 昭63−19278(JP,A) 特開 昭61−274967(JP,A)Continuation of front page (56) Reference JP-A-60-232974 (JP, A) JP-A-60-129268 (JP, A) JP-A-60-179261 (JP, A) JP-A-61-225075 (JP , A) JP-A-63-19278 (JP, A) JP-A-61-274967 (JP, A)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】文字コード及び文字フォント名称指定の文
字フォント選択コマンドを含む印字制御コマンドを送信
するホストコンピュータと、少なくともコマンドの解釈
用及び実行用のプログラム並びに常駐の文字フォントパ
ターンデータを格納した内臓ROMとスロットに着脱自在
に装着され、文字フォント名称に対応させた複数の文字
形状の文字フォントパターンデータを格納したカートリ
ッジROMとを備えたシステムメモリ手段と、前記ホスト
コンピュータとI/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 program for storing at least a program for interpreting and executing the command and resident character font pattern data. A system memory means including a ROM and a cartridge ROM that is detachably attached to a slot and stores character font pattern data of a plurality of character shapes corresponding to character font names; and via the host computer and the I / F. A ROM connected to the system memory means connected via a bus is accessed based on a print control command including a character code selection command for designating a character code and a character font name that is transmitted from the host computer. Corresponds to the character font selection command A CPU that generates a character pattern data by selecting a character font according to a predetermined priority rule from a plurality of character fonts having different character shapes with one character font name and generating character pattern data, and storing the character pattern data generated by the CPU And a printer for outputting and printing the character pattern data stored in the buffer memory means.
【請求項2】前記複数のカートリッジROMに識別番号を
付与し、前記CPUにおいて、前記優先規則を前記識別番
号に基づいて定めるように構成したことを特徴とする特
許請求の範囲第1項記載の印字制御装置。
2. An identification number is given to the plurality of cartridge ROMs, and the CPU determines the priority rule based on the identification number. Print control device.
【請求項3】前記CPUにおいて、文字フォントの選択を
文字展開の区切りで行なうように構成したことを特徴と
する特許請求の範囲第1項記載の印字制御装置。
3. The print control apparatus according to claim 1, wherein the CPU is configured to select a character font at a character development delimiter.
JP61306448A 1986-12-24 1986-12-24 Print control device Expired - Lifetime JPH0751368B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61306448A JPH0751368B2 (en) 1986-12-24 1986-12-24 Print control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61306448A JPH0751368B2 (en) 1986-12-24 1986-12-24 Print control device

Publications (2)

Publication Number Publication Date
JPS63159071A JPS63159071A (en) 1988-07-01
JPH0751368B2 true JPH0751368B2 (en) 1995-06-05

Family

ID=17957121

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61306448A Expired - Lifetime JPH0751368B2 (en) 1986-12-24 1986-12-24 Print control device

Country Status (1)

Country Link
JP (1) JPH0751368B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2968405B2 (en) * 1992-12-22 1999-10-25 沖電気工業株式会社 Printer device
GB2580951B (en) * 2019-01-31 2023-07-12 Liniar Ltd Improvements in or relating to hinges for use in window or door assemblies

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0640257B2 (en) * 1983-10-11 1994-05-25 キヤノン株式会社 Information output device

Also Published As

Publication number Publication date
JPS63159071A (en) 1988-07-01

Similar Documents

Publication Publication Date Title
JPH0640257B2 (en) Information output device
JPS61225075A (en) Printing apparatus
JPH0751368B2 (en) Print control device
JPH0725182B2 (en) Print control device
CA1167987A (en) Circuit for controlling information on a display
JPH01165443A (en) Printer
JP2958017B2 (en) Output control apparatus and method
JP3097818B2 (en) Font data memory device
JPH0746543Y2 (en) Printer
JP2670447B2 (en) Output device and method
JP3143520B2 (en) Character processing apparatus and method
JPH0280266A (en) Printer
JPH066929Y2 (en) Printer
JPH11245455A (en) Printer control method therefor and record medium
JP2764944B2 (en) Character output device
JPH07106654B2 (en) Information processing method
JPH0439434B2 (en)
JP2840504B2 (en) Image data output method and printer controller board
JP2798675B2 (en) Character processor
JP2950420B2 (en) Output control device and output control method
JPH04205346A (en) Printer device
JP2966847B2 (en) Character processor
JPH08282024A (en) Printing device
JPH02240722A (en) Record controller
JPS61263764A (en) Method for printer control