JPH07125335A - Printer mechanism - Google Patents

Printer mechanism

Info

Publication number
JPH07125335A
JPH07125335A JP27385793A JP27385793A JPH07125335A JP H07125335 A JPH07125335 A JP H07125335A JP 27385793 A JP27385793 A JP 27385793A JP 27385793 A JP27385793 A JP 27385793A JP H07125335 A JPH07125335 A JP H07125335A
Authority
JP
Japan
Prior art keywords
external device
printer
character
metric information
characters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP27385793A
Other languages
Japanese (ja)
Inventor
Mitsuru Sato
充 佐藤
Takanobu Suzuki
孝信 鈴木
Hiroo Kazama
宏夫 風間
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP27385793A priority Critical patent/JPH07125335A/en
Publication of JPH07125335A publication Critical patent/JPH07125335A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To favorably perform the editing of a document containing a character layout by an external device. CONSTITUTION:A character generator 3 is provided to a printer 1 in a detachable manner and, when there is the transmission request of metric data from an external device 8, the metric data of all of characters are read from the presently mounted character generators 3 to be transmitted to the external device 8. The external device 8 uses the metric data transmitted from the printer 1 to perform the editing of a document. Therefore, the document according to the screen of the monitor of the external device 8 can be printed by the printer 1.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、プリンタシステムに関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer system.

【0002】[0002]

【従来の技術】近年、プリンタにおいては、フォントの
パターンデータ、及びそれに付随するデータが記憶され
たROMカートリッジやICカード等からなる文字発生
器が装着可能になされているものがあり、これによっ
て、ユーザは所望の文字発生器をプリンタに装着するこ
とによって、所望の書体、サイズの文字で印字すること
ができる。
2. Description of the Related Art In recent years, some printers can be equipped with a character generator including a ROM cartridge or IC card in which font pattern data and associated data are stored. By mounting the desired character generator on the printer, the user can print with characters of desired typeface and size.

【0003】ところで、このような文字発生器が装着可
能となされたプリンタを使用して印字する場合には、現
在当該プリンタに使用目的と合致した文字発生器が装着
されている必要がある。例えば、明朝体で印字したい業
務の場合、プリンタには明朝体の文字発生器が装着され
ている必要がある。しかし、従来においては、ホストコ
ンピュータやワードプロセッサ等の当該プリンタを使用
する外部装置においては、現在プリンタにどのような文
字発生器が装着されているかを検知できなかったので、
業務に要求される書体と異なった書体で印字される場合
があった。
By the way, when printing is performed by using a printer to which such a character generator can be attached, it is necessary to equip the printer with a character generator that matches the purpose of use. For example, in the case of a business that wants to print in Mincho type, the printer needs to be equipped with a Mincho type character generator. However, in the past, an external device such as a host computer or a word processor that uses the printer could not detect what kind of character generator is currently installed in the printer.
In some cases, it was printed in a typeface different from the typeface required for business.

【0004】そこで、特開昭60−236764号公報
においては、外部装置側からプリンタに装着されている
文字発生器の書体、文字のサイズを読み取ることを可能
とすることが提案されており、これによって、目的とし
ない書体やサイズで誤って印字するという不都合を未然
に防止することができる。
In view of this, Japanese Patent Laid-Open No. 60-236764 proposes that the font and character size of the character generator mounted on the printer can be read from the external device side. This makes it possible to prevent the inconvenience of erroneously printing with an undesired typeface or size.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、特開昭
60−236764号公報に示されているように文字発
生器の書体、サイズを検知するだけでは文字の配置に関
するレイアウトを十分に行うことはできないものであ
り、これは文字幅、高さ、隣接文字との間隔等が各文字
毎によって異なるフォント(以下、これをプロポーショ
ナルフォントと称す)を用いる場合に顕著である。
However, as disclosed in Japanese Patent Laid-Open No. 60-236764, it is not possible to sufficiently perform the layout regarding the arrangement of characters by only detecting the typeface and size of the character generator. This is remarkable when using a font (hereinafter, referred to as proportional font) in which the character width, the height, the space between adjacent characters and the like differ for each character.

【0006】即ち、文書等の文字のレイアウトはオペレ
ータが外部装置において画面対応により行うのが通常で
あるが、いま、英文を作成する場合を考えてみると、従
来の文字発生器のフォントは、書体やサイズに関しては
種々のものがあるが、一つの書体の一つのサイズに注目
した場合には、例えば図2に示すように、全ての文字が
同じサイズのドットマトリクスで構成されているので、
外部装置での文字のレイアウトは1字毎に決まった間隔
だけずらせばよいので容易である。
That is, the layout of characters in a document or the like is usually performed by an operator in accordance with a screen in an external device. Now, considering the case of creating an English sentence, the font of a conventional character generator is as follows. There are various types of fonts and sizes, but when attention is paid to one size of one type of font, for example, as shown in FIG. 2, all characters are composed of a dot matrix of the same size.
The layout of characters in the external device is easy because it can be shifted by a fixed interval for each character.

【0007】これに対して、プロポーショナルフォント
の場合には、主として見栄えのよさを目的として、文字
幅、文字高さ、次の文字との間隔等が各文字毎に異なっ
ている。例えば、図3に示すように、各文字毎に、ベー
スラインBLから当該文字の上端の有効画素までの画素
数a、ベースラインBLから下端の有効画素までの画素
数b、当該文字に設定されている基準点Oから当該文字
の左端の有効画素までの画素数c及び当該文字の基準点
Oから次の文字の基準点O′までの画素数dが設定され
ている。なお、本明細書中ではこれらのa,b,c,d
の量を総称してメトリック情報という。また、ここで有
効画素とはプリンタで黒く印字される画素を意味する。
On the other hand, in the case of proportional fonts, the character width, the character height, the distance to the next character and the like are different for each character mainly for the purpose of good appearance. For example, as shown in FIG. 3, for each character, the number of pixels a from the baseline BL to the upper effective pixel of the character, the number of pixels b from the baseline BL to the lower effective pixel, and the character are set. A pixel number c from the reference point O to the leftmost effective pixel of the character and a pixel number d from the reference point O of the character to the reference point O ′ of the next character are set. In the present specification, these a, b, c, d
Is collectively referred to as metric information. In addition, the effective pixel here means a pixel printed in black by the printer.

【0008】従って、使用する文字によって1行に印字
される文字数あるいは行間隔が異なることになるので、
特開昭60−236764号公報に示されているように
文字発生器の書体、サイズを検知するだけでは文字の配
置に関するレイアウトを十分に行うことはできないもの
である。
Therefore, the number of characters printed on one line or the line spacing varies depending on the characters used.
As disclosed in Japanese Patent Laid-Open No. 60-236764, it is not possible to sufficiently perform the layout regarding the arrangement of characters by only detecting the typeface and size of the character generator.

【0009】もっとも、外部装置の画面で編集した通り
に印字されなくてもよい場合には何等の問題もないので
あるが、文書を編集するに際してはオペレータは見栄え
をも考慮するのが一般的であり、従って、画面で編集し
た通りに印字されない場合にはオペレータの意図に反し
た文書が印字されてしまう可能性があるので、外部装置
の画面上で編集した通りに印字されるようにすること、
即ち、画面上の1行はプリンタにおいても1行に印字さ
れ、且つ画面上の1頁はプリンタにおいても1頁に印字
されるようにすることの妥当性は明らかである。
Although there is no problem if the image does not have to be printed as edited on the screen of the external device, the operator generally considers the appearance when editing the document. Therefore, if it is not printed exactly as edited on the screen, a document contrary to the operator's intention may be printed, so print it as edited on the screen of the external device. ,
That is, it is clear that it is appropriate that one line on the screen is printed on one line on the printer and one page on the screen is printed on one page on the printer.

【0010】以上のところから、プリンタ側にプロポー
ショナルフォントの文字発生器が装着されている場合、
外部装置において文書の編集を行う際には当該プロポー
ショナルフォントのメトリック情報が必要となることが
分かる。
From the above, when the character generator of the proportional font is mounted on the printer side,
It will be understood that when editing a document in an external device, the metric information of the proportional font is required.

【0011】これに対して、外部装置の記憶媒体、例え
ばハードディスク等にプリンタに装着される可能性のあ
る全てのフォントについて、全ての文字のメトリック情
報を記憶しておくようにすることが考えられ、これによ
れば現在プリンタにどのようなフォントの文字発生器が
装着されているかを検知すれば文書編集を行うことがで
きるが、文字発生器の種類が多い場合には膨大な記憶容
量が必要となるのでコストが上昇するばかりでなく、バ
ージョンアップ等により文字発生器のメトリック情報が
変更された場合には、それに応じて外部装置の記憶媒体
上のメトリック情報をも変更しなければならず、メンテ
ナンスが煩雑でユーザに大きな負担となるものである。
On the other hand, it is conceivable to store the metric information of all the characters for all the fonts that may be mounted on the printer in the storage medium of the external device, such as the hard disk. According to this, it is possible to edit the document by detecting what kind of font character generator is currently installed in the printer, but if there are many types of character generators, a huge storage capacity is required. As a result, not only will the cost increase, but if the metric information of the character generator is changed due to version upgrade, etc., the metric information on the storage medium of the external device must be changed accordingly, The maintenance is complicated and places a heavy burden on the user.

【0012】なお、以上においてはアルファベットにつ
いて説明したが、その他の文字についても同様であるこ
とはいうまでもない。
Although the alphabet has been described above, it goes without saying that the same applies to other characters.

【0013】本発明は、上記の課題を解決するものであ
って、プロポーショナルフォントが記憶された文字発生
器が装着可能となされているプリンタを使用する場合に
おいて、外部装置において文字レイアウトを含む文書編
集を良好に行うことができるプリンタシステムを提供す
ることを目的とするものである。
The present invention is to solve the above problems, and when using a printer to which a character generator storing a proportional font can be attached, edit a document including a character layout in an external device. It is an object of the present invention to provide a printer system capable of satisfactorily performing the above.

【0014】[0014]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明のプリンタシステムは、外部装置と、前記
外部装置から転送された印字データを印字するプリンタ
とを備えるプリンタシステムにおいて、前記プリンタ
は、文字のパターンデータ及びこれら各文字のメトリッ
ク情報が書き込まれてなる文字発生器が着脱自在になさ
れており、且つ前記外部装置からの要求により現在セッ
トされている文字発生器からメトリック情報を読み出し
て前記外部装置に転送する手段を備え、前記外部装置
は、プリンタから転送されたメトリック情報を用いて文
字のレイアウトを行うことを特徴とする。
In order to achieve the above object, the printer system of the present invention is a printer system comprising an external device and a printer for printing print data transferred from the external device. The printer has a character generator in which pattern data of characters and metric information of each character are written, and the metric information from the character generator currently set according to a request from the external device. It is characterized in that it comprises means for reading out and transferring to the external device, and the external device lays out characters using the metric information transferred from the printer.

【0015】[0015]

【作用】本発明のプリンタシステムは、プリンタと、外
部装置とからなる。プリンタは文字発生器が着脱可能で
あり、外部装置からメトリック情報の転送要求があった
場合には、現在装着されている文字発生器から全ての文
字のメトリック情報を読み出し、外部装置に転送する。
The printer system of the present invention comprises a printer and an external device. The character generator of the printer is detachable, and when a transfer request for metric information is issued from an external device, the metric information of all characters is read from the currently installed character generator and transferred to the external device.

【0016】外部装置はパーソナルコンピュータ、ワー
ドプロセッサ等で構成され、文書の編集が可能である。
そして、外部装置は、プリンタから転送されたメトリッ
ク情報を用いて文書編集を行う。これによって、外部装
置の画面通りの文書がプリンタで印字される。
The external device is composed of a personal computer, a word processor, etc., and can edit a document.
Then, the external device edits the document using the metric information transferred from the printer. As a result, the document on the screen of the external device is printed by the printer.

【0017】[0017]

【実施例】以下、図面を参照しつつ実施例を説明する。
図1は本発明に係るプリンタシステムの一実施例の構成
を示す図であり、図中、1はプリンタ、2は制御部、3
は文字発生器、4は印字部、5は入出力インターフェー
ス(以下、単にI/Fと称す)、6はメトリック情報転
送部、7は転送要求コマンド検知部、8は外部装置を示
す。
Embodiments will be described below with reference to the drawings.
FIG. 1 is a diagram showing a configuration of an embodiment of a printer system according to the present invention, in which 1 is a printer, 2 is a control unit, and 3 is a printer.
Is a character generator, 4 is a printing unit, 5 is an input / output interface (hereinafter simply referred to as I / F), 6 is a metric information transfer unit, 7 is a transfer request command detection unit, and 8 is an external device.

【0018】プリンタ1は、制御部2、文字発生器3、
印字部4、I/F5、メトリック情報転送部6及び転送
要求コマンド検知部7を備えている。
The printer 1 includes a control unit 2, a character generator 3,
A printing unit 4, an I / F 5, a metric information transfer unit 6, and a transfer request command detection unit 7 are provided.

【0019】制御部2は、当該プリンタ1の動作を統括
して管理するものであり、適宜のプロセッサ及びその周
辺回路で構成されている。
The control unit 2 centrally manages the operation of the printer 1, and is composed of an appropriate processor and its peripheral circuits.

【0020】文字発生器3は、ROMカートリッジ、I
Cカード等フォントのパターンデータ及び各文字のメト
リック情報を記憶しているものであり、プリンタ1に対
して着脱自在になされている。印字部4は外部装置8か
ら転送された印字データを所定の用紙に印字するもので
あり、I/F5は、外部装置8とのデータの授受を行う
ためのものである。
The character generator 3 is a ROM cartridge, I
It stores pattern data of fonts such as C cards and metric information of each character, and is detachable from the printer 1. The printing unit 4 prints the print data transferred from the external device 8 on a predetermined paper, and the I / F 5 is for exchanging data with the external device 8.

【0021】メトリック情報転送部6は、文字発生器3
から読み出したメトリック情報をI/F5を介して外部
装置8に転送する処理を行うものであり、転送要求コマ
ンド検知部7は、外部装置8から送られてくる種々のデ
ータの中から文字発生器3のメトリック情報の転送を要
求するコマンドを検知するものである。
The metric information transfer unit 6 includes a character generator 3
The metric information read from the external device 8 is transferred to the external device 8 via the I / F 5, and the transfer request command detection unit 7 selects the character generator from the various data sent from the external device 8. The command for requesting transfer of the metric information 3 is detected.

【0022】外部装置8は、文書の編集を行うものであ
り、パーソナルコンピュータ、ワードプロセッサ等で構
成される。なお、図1には示していないが、外部装置8
にはキーボードやモニタが設けられていることは当然で
ある。
The external device 8 edits a document, and is composed of a personal computer, a word processor and the like. Although not shown in FIG. 1, the external device 8
Needless to say, is equipped with a keyboard and monitor.

【0023】次に、図1に示すプリンタシステムの動作
について説明する。文書の編集を行うに先立って外部装
置8はプリンタ1に対して、現在装着されている文字発
生器3のメトリック情報の転送を所定のコマンドにより
要求する。このコマンドの発行は、外部装置8を操作す
るオペレータがメニューを選択するなどして行うように
してもよいし、また文書編集が指示された場合に外部装
置8が自動的に発行するようにしてもよいものである。
Next, the operation of the printer system shown in FIG. 1 will be described. Prior to editing the document, the external device 8 requests the printer 1 to transfer the metric information of the currently installed character generator 3 by a predetermined command. This command may be issued by an operator operating the external device 8 by selecting a menu, or when the document editing is instructed, the external device 8 is automatically issued. Is also good.

【0024】このメトリック情報の転送を要求するコマ
ンドは、I/F5を介してプリンタ1に取り込まれる。
そして、転送要求コマンド検知部7は当該コマンドを受
信したことを検知すると、その旨をメトリック情報転送
部6に通知する。これによりメトリック情報転送部6
は、文字発生器3から全ての文字のメトリック情報を読
み出し、I/F5を介して外部装置8に転送する。
The command requesting the transfer of the metric information is fetched by the printer 1 via the I / F 5.
When the transfer request command detection unit 7 detects that the command has been received, it notifies the metric information transfer unit 6 to that effect. As a result, the metric information transfer unit 6
Reads the metric information of all characters from the character generator 3 and transfers it to the external device 8 via the I / F 5.

【0025】外部装置8は、メトリック情報を受信する
と所定のメモリ領域にそれを格納し、文書編集に使用す
る。例えば、文字が入力される度毎に入力された文字の
メトリック情報を参照し、図3に示すa,b,c,dの
値を用いて当該行の行端から使用した画素数の累計を求
め、1行に設定されている画素数と比較することによっ
て、当該入力文字が当該行に収まる場合にはその行に配
置し、当該行からはみ出す場合には次の行に送る処理を
行う。行間の演算あるいは当該行が当該頁に収まるか否
かの判断についても同様である。
Upon receiving the metric information, the external device 8 stores it in a predetermined memory area and uses it for document editing. For example, each time a character is input, the metric information of the input character is referred to, and the total number of pixels used from the line end of the line is calculated using the values of a, b, c, and d shown in FIG. When the input character is found in the line, it is arranged in that line, and when it is out of the line, it is sent to the next line. The same applies to the calculation between lines or the determination as to whether the line fits on the page.

【0026】編集された文書の印字が要求される場合に
は、外部装置8から印字データがプリンタ1に転送され
る。制御部2は、外部装置8から印字データを受信する
と、印字すべき文字のパターンデータ及びメトリック情
報を文字発生器3から読み出し、印字部4に与える。こ
れによって印字部4においては外部装置8のモニタの画
面上に表示された通りの状態で印字が行われる。
When printing of the edited document is requested, print data is transferred from the external device 8 to the printer 1. When the control unit 2 receives the print data from the external device 8, the control unit 2 reads the pattern data of the character to be printed and the metric information from the character generator 3 and gives the read data to the printing unit 4. As a result, printing is performed in the printing unit 4 as it is displayed on the screen of the monitor of the external device 8.

【0027】以上、本発明の一実施例について説明した
が、本発明は上記実施例に限定されるものではなく種々
の変形が可能であることは当業者に明らかである。
Although one embodiment of the present invention has been described above, it is obvious to those skilled in the art that the present invention is not limited to the above embodiment and various modifications can be made.

【0028】[0028]

【発明の効果】以上の説明から明らかなように、本発明
によれば、外部装置は文書編集に際して現在プリンタに
装着されている文字発生器のメトリック情報を使用でき
るので文書編集を良好に行うことができ、以て外部装置
のモニタの画面の通りの文書を印字することができる。
As is apparent from the above description, according to the present invention, the external device can use the metric information of the character generator currently installed in the printer at the time of editing the document, so that the document can be edited well. As a result, the document on the screen of the monitor of the external device can be printed.

【0029】また、外部装置におけるメトリック情報の
ための記憶容量としては、一つの文字発生器のメトリッ
ク情報を記憶できるだけの容量でよいので、その記憶領
域を節約することができる。
Further, the storage capacity for the metric information in the external device is sufficient to store the metric information of one character generator, so that the storage area can be saved.

【0030】更に、バージョンアップ等により文字発生
器の各文字のパターンデータ及びメトリック情報が変更
されたとしても、外部装置では何等の操作を行う必要も
ないものである。
Further, even if the pattern data and metric information of each character of the character generator is changed due to version upgrade or the like, it is not necessary to perform any operation in the external device.

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

【図1】 本発明の一実施例の構成を示す図である。FIG. 1 is a diagram showing a configuration of an exemplary embodiment of the present invention.

【図2】 従来の文字パターンの例を示す図である。FIG. 2 is a diagram showing an example of a conventional character pattern.

【図3】 メトリック情報を説明するための図である。FIG. 3 is a diagram for explaining metric information.

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

1…プリンタ、2…制御部、3…文字発生器、4…印字
部、5…入出力インターフェース、6…メトリック情報
転送部、7…転送要求コマンド検知部、8…外部装置。
1 ... Printer, 2 ... Control part, 3 ... Character generator, 4 ... Printing part, 5 ... Input / output interface, 6 ... Metric information transfer part, 7 ... Transfer request command detection part, 8 ... External device.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】外部装置と、 前記外部装置から転送された印字データを印字するプリ
ンタとを備えるプリンタシステムにおいて、 前記プリンタは、文字のパターンデータ及びこれら各文
字のメトリック情報が書き込まれてなる文字発生器が着
脱自在になされており、且つ前記外部装置からの要求に
より現在セットされている文字発生器からメトリック情
報を読み出して前記外部装置に転送する手段を備え、 前記外部装置は、プリンタから転送されたメトリック情
報を用いて文字のレイアウトを行うことを特徴とするプ
リンタシステム。
1. A printer system comprising an external device and a printer for printing the print data transferred from the external device, wherein the printer is a character in which pattern data of characters and metric information of these characters are written. The generator is detachable, and further comprises means for reading out metric information from the character generator currently set in response to a request from the external device and transferring the metric information to the external device. A printer system characterized in that characters are laid out using the obtained metric information.
JP27385793A 1993-11-01 1993-11-01 Printer mechanism Pending JPH07125335A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27385793A JPH07125335A (en) 1993-11-01 1993-11-01 Printer mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27385793A JPH07125335A (en) 1993-11-01 1993-11-01 Printer mechanism

Publications (1)

Publication Number Publication Date
JPH07125335A true JPH07125335A (en) 1995-05-16

Family

ID=17533527

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27385793A Pending JPH07125335A (en) 1993-11-01 1993-11-01 Printer mechanism

Country Status (1)

Country Link
JP (1) JPH07125335A (en)

Similar Documents

Publication Publication Date Title
US4686525A (en) Image data output apparatus
JP3320975B2 (en) Two axis printer
US5483623A (en) Printing apparatus
JP3780103B2 (en) Information processing apparatus, information processing method, storage medium, and printing system
EP2503489B1 (en) Printer, printing method, and program for superposing received print data and stored print data
US5481367A (en) Printing apparatus capable of changing print format
US7265857B1 (en) Medium where status information printing program is recorded, printer, print controller, status information printing method, and status information printing system
JP4310023B2 (en) Reduced image creation method and apparatus, and storage medium
JPH07125335A (en) Printer mechanism
JP3248811B2 (en) Print control device and print control method
JPH0425870B2 (en)
JP3207051B2 (en) Output device and printing environment transfer control method
JP2839139B2 (en) Document processing method
JPH0619772B2 (en) Document processor
JP4594813B2 (en) Printing system, printing request apparatus control method, program, and printing request apparatus
JP2897987B2 (en) Printing control device
JP3040398B2 (en) Image processing device
JP2840504B2 (en) Image data output method and printer controller board
JP2779157B2 (en) Document information processing device
JP4652892B2 (en) Printer
JP4084442B2 (en) Image forming system
JPH1191185A (en) Printing control method
JP2623458B2 (en) Graphic output control device
JPH0462075A (en) Font data recording system of printer
JPS60107374A (en) Printer