JP2710119B2 - Output device - Google Patents

Output device

Info

Publication number
JP2710119B2
JP2710119B2 JP61050433A JP5043386A JP2710119B2 JP 2710119 B2 JP2710119 B2 JP 2710119B2 JP 61050433 A JP61050433 A JP 61050433A JP 5043386 A JP5043386 A JP 5043386A JP 2710119 B2 JP2710119 B2 JP 2710119B2
Authority
JP
Japan
Prior art keywords
character
font
feed amount
pitch
register
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
Application number
JP61050433A
Other languages
Japanese (ja)
Other versions
JPS62208091A (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.)
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 JP61050433A priority Critical patent/JP2710119B2/en
Publication of JPS62208091A publication Critical patent/JPS62208091A/en
Application granted granted Critical
Publication of JP2710119B2 publication Critical patent/JP2710119B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は入力された属性情報に基づいて複数のフォン
トの中から特定のフォントを選択して出力する出力装置
に関する。 [従来の技術] 従来、ラインプリンタやキヤラクタデイスプレイ装置
等の情報出力装置では単一種のフオントを装備するもの
が大部分であつた。しかし最近では高精度デイスプレイ
装置や高解像度インパクトプリンタの普及と大容量ROM
(リードオンリメモリ)の低廉化に伴い、複数種のフオ
ントを扱える装置が増加している。そしてこの種の装置
にはその装置自身に複数種のフオントを装備しているも
のも少なくない。特にワードプロセツサの分野では複数
種のフオントにより印字や表示が今後益々必須なものに
なるばかりでなく、フオントの種類も多種に及んでくる
と予想される。 ここで、フオント(字体)とは同一の属性を有する文
字パターンの集合をいう。その属性には文字セット(コ
ード体系等)、書体、文字サイズ、文字ピツチ、文字の
傾き、文字の太さ等が挙げられる。尚、ここで文字とい
うときは記号、図形等も含めるものとする。 ここで、文字サイズとは一般に文字の大きさを規定す
るものであり、文字ピッチとは文字の幅を規定するもの
である。 従来、かかる装置に対して例えばデータ発生源である
ホスト側から使用フオントの指令をするには、そのフオ
ントの識別名称またはフオントの属性を指定することに
より行つていた。一方、情報出力装置側では当該指定フ
オントを装備しているときはそのフオントで情報を出力
するが、指定フオントを装備していないときは情報出力
ができない。従って、プリントを停止するかあるいはエ
ラー表示をする等の処置を行なつていた。即ち、指定さ
れたフオントが存在しない状態はあくまでも異常事態と
して扱われていた。故に、このような状態とならないた
めにホスト側では予め情報出力装置のフオント装備状況
を詳細に把握している必要があつた。 しかし、出力装置側で装備されているフオントの種類
が固定であり、かつ小種類であるような場合にはかかる
従来方式でも十分に対応できるが、出力装置が多種類の
フオントを装備するようになるとホスト側で把握するこ
とが極めて困難になる。特に、使用者がフオントの装備
状態を自由に変えられる出力装置、例えば多種類のフオ
ントを大容量マスクROMにより内蔵した着脱可能なカー
トリツジ上のメモリにより複数種のフオントを供給でき
る形態の出力装置等においては、ホスト側でこれを把握
することはほとんど不可能である。例えば、フオントA
を持つ出力装置と、フオントAは持たないが代りにフオ
ントAに極めて属性の近似したフオントA′を持つ出力
装置があつた場合には、ホスト側ではそれぞれの出力装
置に情報を出力する際に各出力装置のフオント装備状態
を把握した上で、フオントAの選択指令、あるいはフオ
ントA′の選択指令をそれぞれに別個に指令しなくては
ならない。ましてこれを自由に変えられると管理不可能
になる。 換言すれば、従来は情報出力装置のフオント装置状態
が主であつて、ホスト側は完全にこれに依存した従の形
でしかフオント選択指令を出すことができなかつた。す
なわち、ホスト側が主になつて、とにかく、“Aのよう
なフオント”でよいから出力しろ、というような指令は
全く行ない得なかつた。 上述のような問題点に対して、特願昭58−188351で
は、出力を要求されたフォントの属性と出力可能なフォ
ントの属性とを比較し、同一もしくはこれに近い属性の
フオントを選択し、選択されたフォントで出力すること
により、「Aのようなフォントで出力する」ということ
を可能としている。 [発明が解決しようとする問題点] 一般に選択されたフォントを印字する際には、当該フ
ォントの有する文字ピッチに基づいて文字送り量が決定
され、決定された文字送り量で印字が行なわれる。ここ
で、文字送り量とは、印字等に際しての文字間隔に相当
するもの(Horizontal Motion Index)であり、以下、
文字送り量或いはHMIと記載することにする。 さて、上記従来技術においては、指定さたフォントと
同一或いはこれに近いフォントが選択され、選択された
フォントを出力(印字、表示等)する際は、各文字の送
り量が選択されたフォントサイズ(文字ピッチ)により
一義的に決定される。すなわち、属性情報で指定される
文字ピッチと文字の送り量が1対1に対応している。こ
のため、選択されたフォントが有する文字ピッチによっ
て文字送り量が決定されてしまい、多様かつ所望の印刷
を行なうことができない。 例えば、書体パラメータ「5」かつ文字ピッチパラメ
ータ「9」のフォントで印刷した後に、文字ピッチパラ
メータはそのままで書体パラメータ「2」のフォントで
印字するために、書体パラメータのみを「2」に変更す
る支持を行なった場合を考える。ここで、書体パラメー
タ「2」のフォントには文字ピッチパラメータが「9」
のものが存在せず、これに近い文字ピッチのフォントと
して文字ピッチパラメータ「10」のものが存在するもの
とする。 従来技術によれば、上記例において、書体パラメータ
「2」及び文字ピッチ「9」を指定することにより、こ
の属性に近いフォントとして、書体パラメータ「2」及
び文字ピッチパラメータ「10」のフォントが選択される
ことになる。すなわち、文字ピッチが「9」から「10」
に変更され、これに応じて印字の際の文字の送り量も変
更されてしまう。このため、予定していた範囲に文字が
納まらなかったりするなど、所望の印字結果が得られな
くなってしまう。 本発明は上記従来技術に鑑みてなされたものであり、
フォントを出力する際の文字送り量の更新をフォント選
択のための属性情報によつて制御することを可能とし、
利用者の文字送り量管理の負担を軽減し,多様かつ所望
の文字出力を容易に行なえる出力装置を提供することを
目的とする。 [問題点を解決するための手段] 上記の目的を達成するための本発明の出力装置は、 固有の文字ピッチを有する複数種のフォントを記憶す
るフォント記憶手段と、 フォントを指定するために入力された属性情報を記憶
する属性情報記憶手段と、 前記属性情報記憶手段に記憶された属性情報に基づき
前記複数種のフォントのうちからフォントを選択する選
択手段と、 文字を出力する際の文字送り量を指定するための文字
送り量を記憶する文字送り量記憶手段と、 フォントを指定するために入力された属性情報がフォ
ントの文字ピッチを指定する文字ピッチ情報を含むか否
かを判定する判定手段と、 前記判定手段により文字ピッチ情報が含まれると判定
された場合には前記選択手段によって選択されたフォン
トが有する文字ピッチ情報に基づいて前記文字送り量記
憶手段に記憶される文字送り量を更新し、前記判定手段
により文字ピッチ情報が含まれないと判定された場合に
は前記文字送り量記憶手段に記憶されている文字送り量
をそのまま保持さる制御手段と、 前記選択手段により選択されたフォントを用いて、前
記文字送り量記憶手段に記憶されている文字送り量で文
字を展開する展開手段と を備えることを特徴とする。 [作用] 上記の構成によれば、フォントを指定するために入力
された属性情報に基づいてフォントが選択される際に、
当該属性情報に文字ピッチ情報が含まれるか否かが判定
される。そして、文字ピッチ情報が含まれる場合は、選
択されたフォントの有する文字ピッチ情報に基づいて、
表示や印刷等の出力に際しての文字送り量を更新され
る。一方、文字ピッチ情報が含まれない場合は、文字送
り量はそのままの値に維持される。 [実施例] 以下、添付図面を参照して本発明の実施例を詳細に説
明する。 第1図は実施例の情報出力装置のブロツク構成図であ
る。図示の構成は、印刷情報発生源(計算機)1から送
られる文字コードデータ及び制御指令を入力して、レー
ザビームプリンタ等のページ毎に文書を印刷する印刷機
構16により印字する場合の一例を示している。 図において、1は文字コードデータ及び制御指令を発
生する印刷情報発生源としての計算機等からなる印刷情
報発生装置である。2は印刷情報発生装置1から発生し
た文字コードデータ及び制御指令の受信用インタフエー
ス回路からなる入力インタフエース部であり、3はその
文字コードデータおよび制御指令を一時的に蓄積する入
力バツフアメモリである。この制御指令にはフオント選
択指令も含む。4は装置全体の演算制御を行なう汎用マ
イクロプロセツサ等からなる中央演算処理装置(CPU)
である。5は中央演算処理装置4により選択されたフオ
ントの先頭アドレスを指し示すフオント選択レジスタで
ある。6はリードオンリメモリ等からなり、文字コード
データの文字パターンへの変換を行なうコードコンバー
ト機能を有する複数種のフオントの集まりである文字パ
ターン発生器である。 さらに、7は直前に選択されたフオントの書体を記憶
する前書体レジスタ、8はフオント選択指令の書体パラ
メータを記憶する書体レジスタ、9はフオント選択指令
の文字ピツチパラメータを記憶する文字ピツチレジス
タ、10はフオント選択指令の文字傾きパラメータを記憶
する文字傾きレジスタ、11はフオント選択指令の文字太
さパラメータを記憶する文字太さレジスタである。12は
ランダムアクセスメモリ(RAM)等からなり、フオント
選択指令がなされたときに一意にフオントを選択するた
めに、フオントの属性別にフオントを分類したフオント
選択テーブルメモリであり、13はフオント選択テーブル
メモリ12を順時に検索するのに用いるテーブルポインタ
レジスタである。 14は中央演算処理装置4から送られてきたドツトタイ
プの1ページ分の印刷情報(文字パターン)を順時に一
時記憶する出力用ページバツフアメモリ、15は出力用ペ
ージバツフアメモリ14から送られたドツト信号をビデオ
信号に変換してページプリンタ16に供給する出力インタ
フエース部である。ページプリンタ16はそのビデオ信号
により記録媒体上に実際に文字画像を印刷する。 107はピツチパラメータが指定されたことを記憶するH
MI更新フラグ、108は各文字を印字する際の文字送り量
(HMI)を記憶するHMIレジスタである。 第2図(A)〜(D)は制御指令の構成例を示す図で
ある。なお、本例の制御指令は、欧文書体を対象として
構成されているものとする。 まず、第2図(A)はフオント選択の制御指令の構成
を示し、図示の様に、フオント選択指令17に引き続き、
いかなる属性のフオントを選択するかを4つのパラメー
タ18〜21により指定する。4つのパラメータ18〜21は大
分類から小分類という方向を保つており、さらに各パラ
メータは固定長となっており、故に各パラメータ間には
区切り符号は設けない。最も高位の属性パラメータは書
体パラメータ18である。この書体パラメータ18は、いわ
ゆる書体(タイプフエース)に相当するものであり、こ
の車体を番号で指定する。どの番号がどの書体を指示し
ているかは、あらかじめ定められているものとする。例
えば、パイカ書体は“1"で指示し、タイムスローマン書
体は“5"で指示するというように規則を設けておくこと
とする。第2番目の属性パラメータは文字ピツチパラメ
ータ19である。この文字ピツチパラメータ19は文字の水
平方向の送り量を指示するものであり、具体的には文字
ピツチをCPI(1インチ当り何文字印字するか)で指定
するものとする。第3番目の属性パラメータは文字傾き
パラメータ20であり、いわゆる斜体(イタリツク)の指
示を行なう。例えば“0"は直立体を示し“1"は斜体を示
すものとする。第4番目の属性パラメータは文字太さパ
ラメータ21であり、文字の線の太さの指示を行なう。例
えば“0"は標準体を示し“1"はボールド体を示すものと
する。 以上の様な規則に従つたフオント選択指令の具体例を
第2図(B)に示す。この制御指令により、書体5(例
えばタイムスローマン)であつて、文字サイズ8CPI相当
のイタリツク、ボールド体の選択が指令されたことにな
る。なお、必ずしもすべてのパラメータを指示する必要
はない。直前に指令した属性で変更を要しないものはそ
のパラメータの部分に“=”の符号を指示すれば良い。
例えば、第2図(B)の選択指令を行なつた後に、必要
な文字を印字し、文字ピツチのみを変更した際には、第
2図(C)の如くに指令を行なえば文字ピツチの10CPI
が選択される。また例えば第2図(B)の選択指令を行
なつた後に、必要な文字を印字し、文字傾きのみを変更
したい際には第2図(D)の如くに指令を行なえば文字
傾きの「アツプライト」が選択される。 ここで重要なことは、第2図(B)及び(C)の指令
をした場合は、フオントを選択た後にその選択されたフ
オントの持つ固有の文字ピツチにより、現在のHMI量を
更新するということである。又、第2図(D)の指令を
した場合は、フオントの選択指令をした後に、その選択
したフオントの持つ固有の文字ピツチによつてはHMI量
を更新せずに、それまでのHMI量を保つということであ
る。これは文字ピツチパラメータの有無に従つて判別さ
れる。言い換えれば、HMIを更新したくない場合は文字
ピツチパラメータを省略すれば良いということである。 第3図はフオント選択を行なうために必要なフオント
選択テーブルメモリ12の構成配置例を示す図である。こ
こで、23は書体テーブル、24は文字ピツチテーブル、25
は文字傾きテーブル、26は文字太さテーブルであり、破
線で囲むAは書体“2"のフオントの集合、同じくBは書
体“5"のフオントの集合、同じくCは書体“7"のフオン
トの集合である。 次に第4図および第5図(A),(B)のフローチヤ
ートを参照して第1図の構成の動作例を説明する。印刷
情報発生装置1からの文書データおよびフオント選択指
令は、入力インタフエース部2を介して、一旦入力バツ
フアメモリ3に蓄積された後に、中央演算処理装置4に
供給される。このフオント選択指令に応じて中央演算処
理装置4は、第4図のステツプS1においてフオント選択
テーブルメモリ12を初期化する。すなわち、実装されて
いる文字パターン発生器6から各フオントの属性に関す
る情報を読みこみ、フオント選択テーブルメモリ12を第
3図示の如くの構成のテーブルに組みたてる。まず、書
体番号をキーとして昇順に並べかえ、書体テーブル23の
書体欄27に格納する。次に、同一書体番号をもつ異つた
文字ピツチのフオントに対して、文字ピツチをキーとし
て昇順に並べかえて文字ピツチテーブル24の文字ピツチ
欄29に格納し、その文字ピツチテーブル24の先頭アドレ
スを書体テーブル23の該当書体番号のネクストポインタ
欄28に格納して、書体テーブル23から文字ピツチテーブ
ル24へのリンクをとる。同様にして、文字傾きテーブル
25および文字太さテーブル26をそれぞれ作成した後、文
字太さテーブル26のフオントアドレス欄34には各フオン
トの先頭アドレスを格納して、フオント選択テーブルメ
モリ12の初期化を終了する。第3図示のフオント選択テ
ーブル12の例では、文字パターン発生器6内には21種の
フオントが存在し、3書体の大きな集合A〜Cに分類さ
れている状態となる。 ついで、中央演算処理装置4はステツプS2において、
前書体レジスタ7、書体レジスタ8、文字ピツチレジス
タ9、文字傾きレジスタ10および文字太さレジスタ11の
各レジスタを初期化する。この初期化においては、例え
ばどのような文字パターン発生器6であつても必ず存在
するようなデフオルト(指定省略時)のフオントの属性
を格納する。さらに、フオント択レジスタ5にはデフオ
ルトフオントの先頭アドレスを格納しておく。更にHMI
更新フラグをOFFにし、デフオルトフオントのもつ固有
の文字ピツチに従つてHMIレジスタ108の内容を設定す
る。 次に、ステツプS3に進んで1文字コードを入力バツフ
アメモリ3から読み出し、更にステツプS4において判別
した結果が文字データの終了でなければ、ステツプS5に
おいてフオント選択指令17であるか否かを判別する。 フオント選択指令17が読み出されていなければ、ステ
ツプS5からステツS6に移行して出力用ページメモリ14が
1ページ分の文字コードデータにより満たされていない
か否かを判別し、それが満たされていなければステツプ
S8に飛び、読み出した入力文字コードに対応するパター
ンを出力用ページメモリ14に展開する。すなわち、フオ
ント選択レジスタ5によつてベースアドレスされた文字
パターン発生器6から、入力文字コードに対応したドツ
トパターンを読み出して、中央演算処理装置4によるメ
モリ位置制御の下に、出力用ページメモリ14に1文字分
の文字ドツトパターンを展開する。このときの文字印字
後の展開位置の送り量はHMIレジスタ108の値をとるもの
とする。 しかる後に、次の1文字コードを入力バツフアメモリ
3から読み出すために再びステツプS3に戻り、上述した
フオント選択指令が読み出されるまで、かかる処理過程
を反復する。 かかる反復過程の途中のステツプS6において、出力用
ページメモリ14が1ページ分の文字データにより満たさ
れたと判別したときには、次のステツプS7において、1
スキヤンライン分ずつのドツト信号を出力インタフエー
ス部15に供給してビデオ信号に変換し、ビデオ信号に応
じて文字パターンをページプリンタ16により所定の記録
媒体に印刷し、続いて出力用ページメモリ14の展開アド
レスを初期化して上述のステツプS8の処理に移行する。 また、かかる反復過程の途中のステツプS5において、
フオント選択指令17が読み出されたと判別したときに
は、ステツプS9に移行して後述のフオント選択ルーチン
(第5図(A),(B)参照)を呼出して所定の処理を
した後に、再びステツプS3に戻る。 さらに、上述の様な印刷過程の途中のステツプS4にお
いて、印刷業務の終了を示すコードや、フアイルの終り
を示すコード等の印刷情報データの終りを告げる終了コ
ードを判別したときには、ステツプS10に移行して出力
用ページメモリ14に文字コードデータが残存しているか
否かを判別し、残存していなければ以上の処理過程を完
了し、また残存していればステツプS11において残存文
字列データをページプリンタ16により印刷した後に処理
過程を完了する。 次に、第5図(A),(B)を参照してフオント選択
ルーチンを詳細に説明する。前述の主たる処理過程(メ
インルーチン)のステツプS3において、読み取つたフオ
ント選択指令17に応じてステツプS9でフオント選択ルー
チンが呼びだされると、まずステツプS201において入力
バツフアメモリ3から4つのパラメータ18〜21(第2図
参照)を読み出し、それぞれ該当するレジスタ8〜11に
格納する。すなわち、第1パラメータである書体パラメ
ータ18の値の書体レジスタ8に、第2パラメータである
文字ピツチパラメータ19の値は文字ピツチレジスタ9
に、第3パラメータである文字傾きパラメータ20の値は
文字傾きレジスタ10に、および第4パラメータである文
字太さパラメータ21の値は文字太さレジスタ11にそれぞ
れ格納する。但し、上述のパラメータ18〜21に“=”の
符号が指定されているときはパラメータ指定の省略とみ
なし、該当レジスタの内容は直前の値のままに保存す
る。 続いてステツプS202において、文字ピツチパラメータ
が指定されたか、又は省略(=)されたかの判断を行な
い、もし指定されたときはステツプS203においてHMI更
新フラグをONにしてこれを記憶する。 続いて、ステツプS22においてテーブルポインタレジ
スタ13にフオント選択テーブルメモリ12の書体テーブル
23の先頭アドレスの値を格納して初期化した後、次のス
テツプS23に進み、テーブルポインタレジスタ13の指し
示す書体テーブル23の書体番号欄27(第3図参照)をキ
ーとして、書体番号欄27の値と書体レジスタ8の値との
突合せを行ない、ステツプS24においてその突合せ結果
を判断する。突合せの結果、書体テーブル23の書体番号
欄27の値と書体レジスタ8の値とが一致したものがあれ
ば、ステツプS26においてその値を選択フオントの書体
として決定する。 他方、書体番号欄27に書体レジスタ8の値と一致した
ものがなければ、指定された書体が、現に実装されてい
る文字パターン発生器6の中には存在していないという
ことを意味するので、その書体パラメータを無視してス
テツプS25において前書体レジスタ7に格納されている
直前の指定書体の値を書体レジスタ8に転送した後に、
ステツプS23に戻り、再びステツプS24の処理を経て、ス
テツプS26において直前書体を採用して書体の変更は行
なわない。これは、書体指定の場合には、より近い書体
の概念が一律ではないので、近似選択の仕方が極めて困
難となり、かつあまり意味のないものであり、むしろ、
以前の書体のままフオント選択を行なう方が自然である
からである。なお、一番最初のフオント選択指令につい
て、書体が一致しなかつた場合にも前書体レジスタには
主たる処理過程のステツプS2においてすでにデフオルト
の、必ず存在する、書体番号が格納済であるので何等問
題は生じない。 ステツプS26までにフオントの書体の属性を決定し、
次いで、ステツプS27においてその決定された書体番号
欄27に引き続くネクストポインタ欄28の値をテーブルポ
インタレジスタ13に移送した後、ステツプS28におい
て、テーブルポインタレジスタ13の指し示す決定された
書体に属する文字ピツチテーブル24の文字ピツチ欄29
(第3図参照)をキーとして、文字ピツチ欄29の値と文
字ピツチレジスタ9の値との突合せを行ない、ステツプ
S29にて、その突合せ結果を判断する。突合せの結果、
文字ピツチ欄29の値と文字ピツチレジスタ9の値とが一
致したものがあれば、ステツプS30で、その値を選択フ
オントの文字ピツチとして決定する。 他方、文字ピツチ欄29に文字ピツチレジスタ9の値と
一致したものがなければ、指定された文字ピツチが現に
実装されている文字パターン発生器6の中に存在してい
ないということを意味するので、ステツプS31において
存在する文字ピツチのうちで文字ピツチレジスタ9の値
に最も近い値の文字ピツチの値を選択フオントの文字ピ
ツチとして決定する。 しかる後に、次のステツプS32において、その決定さ
れた文字ピツチ欄29に引きつづくネクストポインタ欄30
の値をテーブルポインタレジスタ13に移送してから、続
くステツプS33においてテーブルポインタレジスタ13の
指し示す決定された書体および文字ピツチに属する文字
傾きテーブル25の文字傾き欄31(第3図参照)をキーと
して、文字傾き欄31の値と文字傾きレジスタ10の値との
突合せを行ない、ステツプS34においてその突合せ結果
を判断する。突合せの結果、文字傾き欄31の値と文字傾
きレジスタ10の値とが一致したものがあれば、ステツプ
S35でその値を選択フオントの文字傾きとして決定す
る。ここで、文字傾きは斜体/直立体の2値であるの
で、斜体指定であれば斜体を選択し、直立体であれば直
立体を選択することになる。 ステツプS33での突合せの結果、不一致であれば、即
ち、文字傾きとして斜体が指定されたが、実装されてい
る文字パターン発生器6の中には斜体フオントが存在し
ていないという場合には、ステツプS36において選択フ
オントを直立体として決定する。 さらに、ステツプS37に進み、決定された文字傾き欄3
1に引きつづくネクストポインタ欄32の値をテーブルポ
インタレジスタ13に移送してから、ステツプS38におい
て、テーブルポインタレジスタ13の指し示す決定された
書体、文字ピツチおよび文字傾きに属する文字太さテー
ブル26の文字太さ欄33をキーとして、文字太さ欄33の値
と文字太さレジスタ11の値との突合せを行ない、ステツ
プS39においてその突合せ結果を判断する。突合せの結
果、文字太さ欄33の値と文字太さレジスタ11の値とが一
致したものがあれば、ステツプS40においてその値を選
択フオントの文字太さとして決定する。ここで、文字太
さは本例では、標準体/ボールド体の2値であるので、
標準体指定であれば標準体を選択し、ボールド体指定で
あればボールド体を選択することになる。 ステツプS38での突合せの結果、不一致であれば、即
ち文字太さとしてボールド体が指定されたが、実装され
ている文字パターン発生器6の中にはボールドフオント
が存在していないという場合には、ステツプS41におい
て選択文字太さを標準体と決定する。以上の処理過程に
より、書体、文字ピツチ、文字傾き、文字太さの各属性
が一意に定まり、唯一のフオントアドレス34(第3図参
照)が選びだされる。 さらに、ステツプS42に進み、書体レジスタ8の値を
前書体レジスタ7に移送して、次のフオント選択指令に
備えてから、次のステツプS43において上述の決定した
フオントアドレス34をフオント選択レジスタ5に移送し
た後に、ステツプS44において、HMI更新フラグがONであ
るか否かを聞いて、ONであればステツプS45にて、選択
されたフオントのもつ固有の文字ピツチにより、HMIレ
ジスタ108の内容を更新し、ステツプS46にてHMI更新フ
ラグをOFFにした後に、ルーチンの全過程を終了し、主
処理過程(メインルーチン)に復帰する。 このようなフオント選択ルーチンの処理により、フオ
ント選択レジスタ5は指定されたフオントの属性に等し
いか、あるいは可能なかぎり近い属性のフオントアドレ
スに書き換えられ、主処理過程におけるステツプS8で発
生する文字パターンは、そのフオントアドレスに従うフ
オントを以降用いることとなる。例えば、以上のフオン
ト選択ルーチンによれば、第2図(B)のフオント選択
指定、すなわち書体5(タイムスローマン)の8CPIの文
字ピツチで、イタリツクかつボールドのフオントを選択
せよというフオント選択指令は、第3図の如くのフオン
ト装備状態の出力装置に与えられると、書体5の9CPIで
イタリツクかつボールドのフオントが選択されることに
なる。 また、指令により、文字ピツチパラメータが指定され
たか否かによりHMIを更新したり、しなかつたりするこ
とにより、利用者の意志によりHMIの制御が可能とな
る。 このように、本例によれば、全く一致した属性のフオ
ントがなくても、かなり近い属性のフオントが選び出さ
れて、印刷が続行される効果がある。 なお、本実施例では4つの属性に従つてフオントの選
択を行なうとして説明したが、その属性の種類および数
を更に細分化すること、あるいは不要な属性を削除する
ことは十分できる。例えば、文字セツト(ASCII,JIS,IS
O各国語等のコード体系に対応)を最上位の属性に位置
させたり、文字ピツチの代わりに文字サイズ(ポイン
ト)を属性にとり入れることは容易に対応できる。ま
た、和文書体については一般に文字傾き属性は不要とな
ろう。さらに、属性の値自体を細分化することも可能で
ある。例えば、本例では文字太さのパラメータは0(標
準)、1(ボールド)の2値であつたが、多値化して極
太、太、標準、細および極細等とすることにより、印刷
物の表現力をさらに高めることもできる。 さらになお、本例ではフオントの属性を示すパラメー
タはすべて数値データとしているが、これをアルフアベ
ツト表記によるニユーモニツクな表現、例えば書体は
“PICA"あるいは“ELITE"等と指定し、文字太さは“reg
ular"あるいは“bold"等と指定可能とすることによりフ
オント選択指令の表記性を高めることも可能である。 以上の説明から明らかなように、本実施例によれば、
データ発生源であるホスト側で出力装置のフオント装備
状態の詳細を完全に把握できていなくても、フオントの
選択指令を行なうことができる利点がある。 具体的には、本実施例によれば、「文字サイズ10ポイ
ント程度のもの」とか「もしイタリツク体があればイタ
リツク体で」という意味内容の指令を行なうことが可能
となる。 また同時に本実施例によれば出力装置側でそのフオン
ト装備状態での最良の状態での、少ないフオントしかな
ければそれなりに、多種のフオントがあればきめ細かく
フオント選択が行なえるという効果が得られる。 さらに、本実施例によれば変更を要する属性のみを指
定して他の属性の指定を省略することにより、文字ピツ
チのみの変更、イタリツク指示、ボールド指示等が極め
て容易に行なえるという効果もある。 さらに、本実施例によればフオントのある属性を指令
により指定することにより、自動的にそのフオントのも
つ固有の文字ピツチによりHMIが更新され、以降そのHMI
で印字され、逆にある属性を指定しないことにより、フ
オントが切りわつてもHMIを更新させないということが
可能となる。 以上説明したように本発明によれば、フォントを出力
(印字や表示等)する際の文字送り量の更新を、フォン
トの変更時における属性情報が文字ピツチ指定を含むか
否かによって制御することが可能となり、利用者の文字
送り量管理の負担が軽減され、多様かつ所望の文字出力
を容易に行なうことができる。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a plurality of phones based on input attribute information.
Output device that selects and outputs a specific font from the list
About. [Prior art] Conventionally, line printers and character display devices
Information output devices equipped with a single type of font
Was for the most part. But recently, high-precision displays
Spread of devices and high-resolution impact printers and large-capacity ROM
(Read Only Memory)
Devices that can handle clients are increasing. And this kind of equipment
Have multiple fonts on the device itself
Not a few. Especially in the field of word processors
Printing and display will become increasingly indispensable in the future due to the type of font
Not only will it be different, but there will be many types of fonts
It is expected to be. Here, a sentence having the same attribute as a font
A set of character patterns. Its attributes include the character set (
Font system), typeface, character size, character pitch, character
The inclination, the thickness of the character, and the like are given. In addition, here is the character
In this case, symbols, figures, etc. shall be included. Here, the character size generally defines the size of the character.
The character pitch defines the width of the character.
It is. Conventionally, for such devices, for example, is a data source
To instruct the font to be used from the host,
Specifying the font identification name or font attribute
Had gone more. On the other hand, the information output device side
When equipped, output information at the font
But output the information when the specified font is not equipped
Can not. Therefore, stop printing or
In such a case, measures such as displaying an error were performed. That is,
The state in which no font is present is just an abnormal situation.
Was treated as Therefore, such a state does not occur
On the host side, the status of the information output device font
I needed to know the details. However, the type of font installed on the output device side
Is fixed and small type
The conventional method can be used satisfactorily.
When the host comes to equip the font,
Becomes extremely difficult. In particular, if the user
An output device that can change the state freely, for example, various types of
Detachable car with built-in hardware using large-capacity mask ROM
Multiple fonts can be supplied by memory on the trig
In an output device of such a form, the host grasps this.
It is almost impossible to do. For example, Font A
Output device with font A, but without font A
Output with font A 'with very similar attributes to font A
If there are devices, the host side will output
When outputting information to the device, the state of the font of each output device
Command, select font A, or
Command A 'must be separately commanded separately.
No. Even more, if you can change this freely, you can not manage
become. In other words, conventionally, the state of the font device of the information output device
And the host side completely depends on it.
Can only issue a font selection command. You
In other words, the host side is the main, anyway, like "A
Command to output it because it can be
I could not do it at all. Regarding the above problems, Japanese Patent Application No. 58-188351
Is the attribute of the requested font and the
Of attributes that are the same or similar
Select a font and output it in the selected font
Means "output in a font like A"
Is possible. [Problems to be Solved by the Invention] Generally, when a selected font is printed,
The character feed amount is determined based on the character pitch of the font
Then, printing is performed with the determined character feed amount. here
The character feed amount is equivalent to the character spacing for printing etc.
(Horizontal Motion Index).
It will be described as the character feed amount or HMI. Now, in the above prior art, the specified font and
The same or similar font is selected and selected
When outputting fonts (printing, displaying, etc.), send each character.
The amount depends on the font size (character pitch) selected.
Determined uniquely. That is, specified by attribute information
The character pitch and the character feed amount correspond one-to-one. This
Depends on the character pitch of the selected font.
The character feed amount is determined by the
Can not do. For example, typeface parameter "5" and character pitch parameter
After printing with the font “9”, the character pitch parameter
The meter is the font of the font parameter "2" as it is
Change only typeface parameters to "2" for printing
Consider the case where you support Where the typeface parameter
The character pitch parameter is “9” for font “2”.
There is no such thing, and a font with a character pitch close to this
With a character pitch parameter of "10"
And According to the prior art, in the above example, the typeface parameter
By specifying “2” and character pitch “9”,
Font type parameter "2"
And font of character pitch parameter "10" is selected
Will be. That is, the character pitch is changed from “9” to “10”.
The character feed amount during printing changes accordingly.
Will be changed. For this reason, characters are
The desired print result cannot be obtained, for example,
It will get worse. The present invention has been made in view of the above prior art,
Update the character feed amount when outputting fonts
Control by attribute information for selection,
Reduces the burden of managing the amount of characters sent by the user
To provide an output device that can easily output characters
Aim. [Means for Solving the Problems] An output device of the present invention for achieving the above object stores a plurality of types of fonts having a unique character pitch.
Font storage means and attribute information input to specify fonts
Based on attribute information stored in the attribute information storage unit,
Selection of a font from the plurality of fonts
Character for specifying character selection amount and character feed amount when outputting characters
Character feed amount storage means for storing the feed amount, and attribute information input to specify the font
Whether to include character pitch information that specifies the character pitch of the
Determining means for determining whether or not character pitch information is included by the determining means
If selected, the phone selected by the selecting means
The character feed amount based on the character pitch information
Updating the character feed amount stored in the storage means;
When it is determined that character pitch information is not included by
Is the character feed amount stored in the character feed amount storage means.
Using the font selected by the selecting means,
The sentence is based on the character feed amount stored in the character feed amount storage means.
And developing means for developing characters. [Action] According to the above configuration, input is performed to specify a font.
When a font is selected based on the attribute information provided,
Determines whether the attribute information includes character pitch information
Is done. If character pitch information is included, select
Based on the character pitch information of the selected font,
The character feed amount for output such as display and printing has been updated.
You. On the other hand, if character pitch information is not included,
The amount is maintained at the same value. Embodiment An embodiment of the present invention will be described below in detail with reference to the accompanying drawings.
I will tell. FIG. 1 is a block diagram of an information output apparatus according to an embodiment.
You. The configuration shown in the figure is transmitted from a print information source (computer) 1.
Input character code data and control commands
A printing machine that prints documents for each page, such as the beam printer
An example in the case of printing by the composition 16 is shown. In the figure, 1 indicates character code data and a control command.
Printing information consisting of a computer etc. as a source of generated printing information
It is a report generation device. 2 is generated from the print information generator 1
Interface for receiving character code data and control commands
3 is an input interface section composed of
An input to temporarily store character code data and control commands
Power buffer memory. This control command includes font selection.
Includes selection command. 4 is a general-purpose computer that performs arithmetic control of the entire apparatus.
Central processing unit (CPU) consisting of icroprocessors, etc.
It is. 5 is a font selected by the central processing unit 4.
In the font selection register indicating the head address of the
is there. 6 is composed of a read-only memory, etc.
Code converter that converts data to character patterns
A character pattern, which is a collection of multiple fonts
It is a turn generator. 7 stores the font of the font selected immediately before
8 is the font parameter of the font selection command.
Typeface register to store meter, 9 is font selection command
Character pitch register to store character pitch parameters
And 10 store the character inclination parameter of the font selection command.
Character inclination register, 11 is the font thickness of the font selection command
This is a character thickness register for storing a parameter. 12 is
Consists of random access memory (RAM), etc.
Select a font uniquely when a selection command is given
Fonts classified by font attribute
Selection table memory, 13 is font selection table
Table pointer used to search memory 12 sequentially
It is a register. 14 is a dot tie sent from the central processing unit 4
One page of print information (character pattern)
Output page buffer memory to store the time, 15 is the output page buffer.
The dot signal sent from the buffer memory 14 is
An output interface that converts the signal into a signal and supplies it to the page printer 16
The face department. The page printer 16 has its video signal
To actually print the character image on the recording medium. 107 is an H for storing that the pitch parameter has been specified.
MI update flag, 108 is the character feed amount when printing each character
(HMI) is an HMI register. 2 (A) to 2 (D) are diagrams showing a configuration example of a control command.
is there. The control commands in this example are for European fonts.
It shall be configured. First, FIG. 2 (A) shows the configuration of a font selection control command.
And, as shown, following the font selection command 17,
Four parameters determine which font to select.
Specified by parameters 18-21. Four parameters 18-21 are large
It keeps the direction from classification to small classification, and furthermore,
The meter has a fixed length, so between each parameter
No delimiter is provided. The highest attribute parameter is
Body parameter 18. This typeface parameter 18 is
This is equivalent to a loose typeface (type face).
Is specified by the number. Which number indicates which typeface
Is determined in advance. An example
For example, the Paika typeface is designated by “1”
The body should have rules such as “5”
And The second attribute parameter is the character pitch parameter.
Data 19. This character pitch parameter 19 is the character water
This indicates the amount of feed in the horizontal direction.
Specify pitch by CPI (how many characters are printed per inch)
It shall be. The third attribute parameter is character inclination
Parameter 20 is the so-called italic finger
Make a presentation. For example, “0” indicates a solid and “1” indicates italic
Shall be The fourth attribute parameter is the character thickness parameter.
The parameter 21 indicates the thickness of the character line. An example
For example, “0” indicates standard type and “1” indicates bold type.
I do. Specific examples of font selection commands according to the above rules
It is shown in FIG. 2 (B). By this control command, the font 5 (example
For example, Time Slow Man), which is equivalent to a character size of 8 CPI
Italic, bold body selection has been ordered
You. It is necessary to indicate all parameters
There is no. Those attributes that were ordered just before and do not need to be changed are
In this case, the sign of “=” may be indicated in the parameter portion.
For example, after the selection command shown in FIG.
When characters are printed and only the character pitch is changed,
2 If the command is performed as shown in Fig. (C), the character pitch will be 10CPI.
Is selected. Also, for example, the selection command shown in FIG.
After printing, print the required characters and change only the character inclination.
If you want to do that, you can issue a command as shown in Fig. 2 (D).
"Upright" with a slope is selected. What is important here is the command shown in FIGS. 2 (B) and 2 (C).
If you select a font, the selected font
Ont's unique character pitch allows the current HMI amount to be
That is to update. In addition, the command shown in FIG.
Command, select the font and then
HMI amount depending on the unique character pitch of the font
Without updating the HMI, and maintaining the previous HMI volume.
You. This is determined by the presence or absence of the character pitch parameter.
It is. In other words, if you do not want to update the HMI
This means that the pitch parameter may be omitted. FIG. 3 shows the fonts required for font selection.
FIG. 3 is a diagram showing an example of the configuration and arrangement of a selection table memory 12. This
Here, 23 is a typeface table, 24 is a character pitch table, 25
Is a character tilt table, 26 is a character thickness table,
A surrounded by a line is a set of fonts of typeface "2", and B is a typeface
A set of fonts of type "5", and C is a font of type "7"
Is a set of Next, the flow charts of FIGS. 4 and 5 (A) and (B) will be described.
An operation example of the configuration of FIG. 1 will be described with reference to FIG. printing
Document data and font selection finger from information generation device 1
The command is input once through the input interface unit 2.
After being stored in the memory 3, the central processing unit 4
Supplied. The central processing unit responds to this font selection command.
The processing device 4 selects the font in step S1 of FIG.
The table memory 12 is initialized. That is, implemented
From the character pattern generator 6 to the attribute of each font.
Information in the font selection table memory 12
3. Assemble the table as shown in the figure. First, calligraphy
Using the face number as a key, sort in ascending order
Stored in typeface column 27. Next, different fonts with the same typeface number
For fonts of character pitch, use character pitch as a key
Character pitch in character pitch table 24
Column 29, and the first address of the character pitch table 24 is stored.
Next pointer of the corresponding font number in the font table 23
Stored in column 28 and the character pitch table from typeface table 23
Take the link to Le 24. Similarly, the character tilt table
25 and the text thickness table 26
Each font is entered in the font address column 34 of the character thickness table 26.
Stores the start address of the font and stores it in the font selection table
The initialization of the memory 12 ends. The font selection table shown in FIG.
In the example of the table 12, 21 kinds of
Fonts exist and are classified into large sets A to C of three typefaces.
It will be in the state that has been. Then, the central processing unit 4 proceeds to step S2.
Previous font register 7, Font register 8, Character pitch register
Data 9, character inclination register 10 and character thickness register 11
Initialize each register. In this initialization,
If any character pattern generator 6 exists
Default font attribute (if omitted)
Is stored. Furthermore, the font selection register 5 has a default
The start address of the default font is stored. Further HMI
Turn off the update flag and set the default font
Set the contents of HMI register 108 according to the character pitch of
You. Next, proceed to step S3 to input a one-character code.
Read from memory 3 and discriminate in step S4
If the result is not the end of character data, go to step S5.
Then, it is determined whether or not the command is a font selection command 17. If the font selection command 17 has not been read, the
From step S5 to step S6, the output page memory 14
Not satisfied by one page of character code data
Is determined, and if it is not satisfied, step
Jump to S8 and read the pattern corresponding to the input character code
Is expanded in the output page memory 14. That is, Huo
Character base-addressed by the event selection register 5.
From the pattern generator 6, a dot corresponding to the input character code
The central processing unit 4 reads out the
Under the memory position control, one character in the output page memory 14
Expand the character dot pattern of. Character printing at this time
The feed amount of the later unfolding position takes the value of the HMI register 108
And Then, enter the next one-character code in the buffer memory.
Returning to step S3 again to read from step 3,
This process until the font selection command is read
Is repeated. In step S6 during such an iterative process, the output
Page memory 14 is filled with one page of character data
If it is determined that the error has occurred, in the next step S7, 1
Outputs dot signals for each scan line
The video signal is supplied to the
The character pattern is recorded by the page printer 16
Print on the medium, and then expand the output page memory 14
Then, the process proceeds to step S8 described above. Also, in step S5 in the middle of such an iterative process,
When it is determined that the font selection command 17 has been read
Proceeds to step S9 to execute the font selection routine described later.
(See FIGS. 5 (A) and (B).)
After that, the process returns to step S3 again. Further, in step S4 during the printing process as described above,
And a code indicating the end of the printing job or the end of the file
End code that signals the end of print information data such as a code that indicates
If the mode is determined, go to step S10 and output
Code data remains in the page memory 14
It is determined whether or not the above process is complete.
Completed, and if there is any
Process after printing character string data by page printer 16
Complete the process. Next, referring to FIGS. 5A and 5B, font selection is performed.
The routine will be described in detail. The main processing steps described above (me
In step S3 of the in-routine, the
Font selection route in step S9 according to the font selection command 17.
When the chin is called, first input in step S201
From buffer memory 3, four parameters 18 to 21 (FIG. 2)
Read out) and store them in the corresponding registers 8 to 11 respectively.
Store. That is, the font parameter, which is the first parameter,
In the typeface register 8 of the value of the data 18, the second parameter
The value of the character pitch parameter 19 is the character pitch register 9
In addition, the value of the character inclination parameter 20, which is the third parameter, is
Sentence in the character tilt register 10 and the fourth parameter
The value of the character thickness parameter 21 is stored in the character thickness register 11
Stored. However, if the above parameters 18 to 21 have “=”
When the sign is specified, it is assumed that parameter specification is omitted.
None, saves the contents of the corresponding register with the previous value.
You. Then, in step S202, the character pitch parameter
Is determined or omitted (=)
If specified, the HMI is updated in step S203.
Turn on the new flag and store it. Then, in step S22, the table pointer register
Font type table in font selection table memory 12
After storing and initializing the value of the first address of 23, the next
Proceed to step S23 to point to the table pointer register 13.
Key in the font number column 27 (see FIG. 3)
Between the value in the font number column 27 and the value in the font register 8
Matching is performed, and the matching result is obtained in step S24.
Judge. As a result of matching, the font number in the font table 23
If the value in column 27 matches the value in typeface register 8
For example, select that value in step S26.
To be determined. On the other hand, the font number field 27 matches the value of the font register 8
If none, the specified typeface is currently implemented.
Does not exist in the character pattern generator 6
Ignoring the typeface parameter
In step S25, it is stored in the previous typeface register 7.
After transferring the value of the immediately preceding typeface to the typeface register 8,
Returning to step S23, the process again proceeds to step S24, and
In step S26, the font immediately before is adopted and the font is changed.
No. This is the closest typeface if the typeface is specified.
Is not uniform, so it is extremely difficult to select approximations.
Difficult and not very meaningful,
It is more natural to do font selection with the previous typeface
Because. Note that the first font selection command is
Therefore, even if the fonts do not match,
Default is already set in step S2 of the main process.
Any question because the type number already stored is already stored
No title arises. By step S26, determine the font type of the font
Then, in step S27, the determined font number
The value of the next pointer column 28 following the column 27
After the transfer to the inter-register 13,
The table pointer register 13 points to
The character pitch field 29 of the character pitch table 24 belonging to the typeface
(See FIG. 3) as a key, the value of the character pitch field 29 and the sentence
Match the value of the character pitch register 9 and step
At S29, the matching result is determined. As a result of the reconciliation,
The value of the character pitch field 29 and the value of the character pitch register 9 match.
If there is a match, select that value in step S30.
Determined as the character pitch of the font. On the other hand, the value of the character pitch register 9 is stored in the character pitch field 29.
If there is no match, the specified character pitch is actually
Existing in the implemented character pattern generator 6
In step S31
The value of the character pitch register 9 among the existing character pitches
Select the value of the character pitch closest to
Determined as Tsuchi. Then, in the next step S32, the decision is made.
Next pointer field 30 that follows the character pitch field 29
After transferring the value of
In step S33, the table pointer register 13
Characters belonging to the determined typeface and character pitch
The character inclination column 31 (see FIG. 3) of the inclination table 25 is used as a key.
Between the value of the character inclination column 31 and the value of the character inclination register 10.
Matching is performed, and the matching result is obtained in step S34.
Judge. As a result of the matching, the value of the character inclination column 31 and the character inclination
If there is a match with the value of register 10
In S35, determine that value as the character tilt of the selected font
You. Here, the character inclination is a binary value of italic / straight solid.
If italic is specified, select italic.
You will have to choose a solid. If the result of the comparison in step S33 is a mismatch,
In other words, italic is specified as the character inclination, but it is not implemented.
In the character pattern generator 6, there is an italic font.
If not, select it in step S36.
Determine the onto as a solid. Further, proceeding to step S37, the determined character inclination column 3
The value of the next pointer field 32 following 1 is stored in the table pointer.
Transfer to the inter-register 13 and then go to step S38
The table pointer register 13 points to
Character thickness table belonging to typeface, character pitch and character inclination
Using the character thickness column 33 of the bull 26 as a key, the value of the character thickness column 33
And the value of the character thickness register 11
In step S39, the matching result is determined. Matching result
As a result, the value of the character thickness column 33 and the value of the character
If there is a match, select that value in step S40.
Determined as the font thickness of the selected font. Where
In this example, since it is a binary value of the standard body / bold body,
If the standard type is specified, select the standard type.
If so, you will have to choose a bold body. If the result of the comparison in step S38 is a mismatch,
Although bold type was specified as the character thickness, it was implemented.
Bold font in the character pattern generator 6
If not, go to step S41.
To determine the selected character thickness as the standard type. In the above process
More attributes of typeface, character pitch, character inclination, and character thickness
Is uniquely determined, and the only font address 34 (see FIG. 3)
Teru) is selected. Further, the process proceeds to step S42, where the value of the typeface register 8 is read.
Transfer to the previous font register 7 and use it for the next font selection command
After preparing, in the next step S43
Transfer the font address 34 to the font selection register 5
After that, in step S44, the HMI update flag is ON.
Ask if it is or not, and if it is ON, select in step S45
The unique character pitch of the font
Update the contents of register 108 and update HMI in step S46.
After turning off the lag, complete the entire routine and
The process returns to the process (main routine). By the processing of such a font selection routine, the font is selected.
Font selection register 5 equals the attribute of the specified font.
Font address with attributes as close as possible
And is issued at step S8 in the main process.
The character pattern to be generated depends on the font address according to the font address.
Onto will be used hereinafter. For example, Huon
According to the font selection routine, the font selection shown in FIG.
Designation, that is, 8 CPI sentence of typeface 5 (Time Slow Man)
Select italic and bold fonts
The font selection command to set the font as shown in Fig. 3
When the output device is equipped with
Italic and bold font selected
Become. Also, the command specifies the character pitch parameter.
Update or skip the HMI depending on whether
HMI can be controlled by the user's will.
You. As described above, according to the present example, the fonts of the completely matched attribute are set.
Even if there is no font, a font with a close attribute is selected
The printing is continued. In this embodiment, font selection is performed according to four attributes.
Option type, but the type and number of attributes
Subdivide or remove unnecessary attributes
Can do enough. For example, character set (ASCII, JIS, IS
O Corresponding to the coding system of each language etc.) as the highest attribute
Or make the character size (point
Incorporating g) into attributes can be easily handled. Ma
In general, the character inclination attribute is not required for Japanese fonts.
Would. It is also possible to subdivide the attribute value itself.
is there. For example, in this example, the parameter of the character thickness is 0 (standard).
Quasi) 1 (bold), but multi-valued, extreme
Printing by making it thick, thick, standard, thin and extra-fine
The expressive power of things can be further enhanced. Furthermore, in this example, the parameter indicating the font attribute is used.
Data are all numerical data.
A humorous expression in the title notation, for example,
Specify "PICA" or "ELITE", etc., and set the character thickness to "reg
ular "or" bold "
It is also possible to enhance the notation of the ont selection command. As is apparent from the above description, according to the present embodiment,
Equipped with an output device font at the host that is the data source
Even if you don't fully understand the details of the state,
There is an advantage that a selection command can be issued. Specifically, according to the present embodiment, “character size 10
"If you have italic body,
It is possible to issue a command with the meaning of
Becomes At the same time, according to this embodiment, the output device side
Only a few fonts in the best condition with
If there are many kinds of fonts, fine
The effect that font selection can be performed is obtained. Furthermore, according to the present embodiment, only attributes that need to be changed are specified.
By omitting the specification of other attributes
Switch only, italic instructions, bold instructions, etc.
There is also an effect that it can be easily performed. Further, according to the present embodiment, an attribute having a font is specified.
Automatically specifies the font
HMI is updated with one unique character pitch, and
Is printed in.
That the HMI will not be updated even if the ont
It becomes possible. As described above, according to the present invention, a font is output
Update the character feed amount when printing (printing, displaying, etc.)
Whether the attribute information when changing the port includes the character pitch specification
Can be controlled depending on whether or not
Various and desired character output with reduced burden of feed amount management
Can be easily performed.

【図面の簡単な説明】 第1図は実施例の情報出力装置のブロツク構成図、 第2図(A)〜(D)は制御指令の構成例を示す図、 第3図は第1図のフオント選択テーブルメモリのメモリ
領域の構成例を示す図、 第4図は第1図の情報出力装置の印刷情報データ処理動
作の一例を示すフローチャート、 第5図(A),(B)は第4図の処理過程におけるフオ
ント選択処理動作の詳細例を示すフローチャートであ
る。 図中、1……計算機、2……入力インタフエース部、3
……入力バツフアメモリ、4……中央演算処理装置(CP
U)、5……フオント選択レジスタ、6……文字パター
ン発生器、7……前書体レジスタ、8……書体レジス
タ、9……文字ピツチレジスタ、10……文字傾きレジス
タ、11……文字太さレジスタ、12……フオント選択テー
ブルメモリ、13……テーブルポイントレジスタ、14……
出力用ページメモリ、15……出力インタフエース部、16
……ページプリンタ、107……HMI更新フラグ、108……H
MIレジスタ、17……フオント選択指令、18……書体パラ
メータ、19……文字ピツチパラメータ、20……文字傾き
パラメータ、21……文字太さパラメータ、23……書体テ
ーブル、24……文字ピツチテーブル、25……文字傾きテ
ーブル、26……文字太さテーブル、27,29,31,33……検
索対象欄、28,30,32,34……アドレス欄である。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of an information output device according to an embodiment, FIGS. 2 (A) to 2 (D) are diagrams showing a configuration example of a control command, and FIG. 3 is a diagram of FIG. FIG. 4 is a flowchart showing an example of a configuration of a memory area of a font selection table memory, FIG. 4 is a flowchart showing an example of a print information data processing operation of the information output device of FIG. 1, and FIGS. It is a flowchart which shows the detailed example of the font selection processing operation in the processing process of a figure. In the figure, 1 ... a computer, 2 ... an input interface unit, 3
…… Input buffer memory, 4 …… Central processing unit (CP
U) 5, Font selection register, 6 ... Character pattern generator, 7 ... Previous font register, 8 ... Font register, 9 ... Character pitch register, 10 ... Character inclination register, 11 ... Character thickness Register, 12 ... font selection table memory, 13 ... table point register, 14 ...
Output page memory, 15 ... Output interface section, 16
…… Page printer, 107 …… HMI update flag, 108 …… H
MI register, 17: Font selection command, 18: Font parameters, 19: Character pitch parameter, 20: Character tilt parameter, 21: Character thickness parameter, 23: Font table, 24: Character pitch table , 25... Character inclination table, 26... Character thickness table, 27, 29, 31, 33... Search target column, 28, 30, 32, 34.

Claims (1)

(57)【特許請求の範囲】 1.固有の文字ピッチを有する複数種のフォントを記憶
するフォント記憶手段と、 フォントを指定するために入力された属性情報を記憶す
る属性情報記憶手段と、 前記属性情報記憶手段に記憶された属性情報に基づき前
記複数種のフォントのうちからフォントを選択する選択
手段と、 文字を出力する際の文字送り量を指定するための文字送
り量を記憶する文字送り量記憶手段と、 フォントを指定するために入力された属性情報がフォン
トの文字ピッチを指定する文字ピッチ情報を含むか否か
を判定する判定手段と、 前記判定手段により文字ピッチ情報が含まれると判定さ
れた場合には前記選択手段によって選択されたフォント
が有する文字ピッチ情報に基づいて前記文字送り量記憶
手段に記憶される文字送り量を更新し、前記判定手段に
より文字ピッチ情報が含まれないと判定された場合には
前記文字送り量記憶手段に記憶されている文字送り量を
そのまま保持させる制御手段と、 前記選択手段により選択されたフォントを用いて、前記
文字送り量記憶手段に記憶されている文字送り量で文字
を展開する展開手段と を備えることを特徴とする出力装置。 2.前記出力装置は、プリンタであることを特徴とする
特許請求の範囲第1項に記載の出力装置。
(57) [Claims] Font storage means for storing a plurality of types of fonts each having a unique character pitch; attribute information storage means for storing attribute information input to specify the font; and attribute information stored in the attribute information storage means. Selecting means for selecting a font from the plurality of types of fonts based on the plurality of fonts; character feed amount storing means for storing a character feed amount for specifying a character feed amount when outputting characters; and Determining means for determining whether or not the input attribute information includes character pitch information designating the character pitch of the font; and selecting by the selecting means when the determining means determines that the character pitch information is included. The character feed amount stored in the character feed amount storage means is updated based on the character pitch information of the obtained font, and When it is determined that the character pitch information is not included, control means for holding the character feed amount stored in the character feed amount storage means as it is, and using the font selected by the selection means, the character An output device comprising: expansion means for expanding a character by the character feed amount stored in the feed amount storage means. 2. The output device according to claim 1, wherein the output device is a printer.
JP61050433A 1986-03-10 1986-03-10 Output device Expired - Fee Related JP2710119B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61050433A JP2710119B2 (en) 1986-03-10 1986-03-10 Output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61050433A JP2710119B2 (en) 1986-03-10 1986-03-10 Output device

Publications (2)

Publication Number Publication Date
JPS62208091A JPS62208091A (en) 1987-09-12
JP2710119B2 true JP2710119B2 (en) 1998-02-10

Family

ID=12858733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61050433A Expired - Fee Related JP2710119B2 (en) 1986-03-10 1986-03-10 Output device

Country Status (1)

Country Link
JP (1) JP2710119B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH066929Y2 (en) * 1987-04-30 1994-02-23 カシオ電子工業株式会社 Printer
JPH0930061A (en) * 1995-07-19 1997-02-04 Fuji Xerox Co Ltd Character output device

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
JPS62208091A (en) 1987-09-12

Similar Documents

Publication Publication Date Title
JPH0640257B2 (en) Information output device
US4715006A (en) Image forming apparatus
US4710886A (en) Table driven print formatting
JP2710119B2 (en) Output device
JP2993276B2 (en) Printer
EP0119396B1 (en) Apparatus for and methods of presenting or displaying data represented as electric signals
US5413420A (en) Wordprocessing device
JPH0818446B2 (en) Character output method and device
JP2699385B2 (en) Printing device
KR100555765B1 (en) Method for changing font information by a printer driver
JP2644778B2 (en) Character generator
JPH0469261A (en) Printer
JPH0346020A (en) Document processing system
JPS59201870A (en) Printer
JPH0823744B2 (en) Character string processor
JP2903516B2 (en) Document processing device
JPH06130930A (en) Method and device for generating bit image data
JPH0548476B2 (en)
JPH0293496A (en) Character output device
JP3437293B2 (en) Character output method and character processing device
JPH04326478A (en) Graphic preparing device
JP2670447B2 (en) Output device and method
JPH07106654B2 (en) Information processing method
JPH08234720A (en) Data structure of font data memory
JPH09230844A (en) Font converting device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees