JPH08469B2 - Output device - Google Patents

Output device

Info

Publication number
JPH08469B2
JPH08469B2 JP5285101A JP28510193A JPH08469B2 JP H08469 B2 JPH08469 B2 JP H08469B2 JP 5285101 A JP5285101 A JP 5285101A JP 28510193 A JP28510193 A JP 28510193A JP H08469 B2 JPH08469 B2 JP H08469B2
Authority
JP
Japan
Prior art keywords
information
character
output
output device
storage means
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
JP5285101A
Other languages
Japanese (ja)
Other versions
JPH06218995A (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 JP5285101A priority Critical patent/JPH08469B2/en
Publication of JPH06218995A publication Critical patent/JPH06218995A/en
Publication of JPH08469B2 publication Critical patent/JPH08469B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、外部から入力される入
力情報に基づいて出力情報を生成して出力するプリンタ
等の出力装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an output device such as a printer for generating and outputting output information based on input information input from the outside.

【0002】[0002]

【従来の技術】従来、用いられている複数の異なるパタ
ーンを発生できる出力装置のうち、活字式プリンタ以外
の多くの出力装置においては、ホストコンピュータから
与えられる文字コードデータをあらかじめ各文字に対応
した文字ドットバターンに変換して印字を行うようにな
っている。たとえばサーマルプリンタ、ワイヤドットプ
リンタ、レーザビームプリンタ等のノンインパクトプリ
ンタがこれに該当する。これらのプリンタにおいては、
異なる書体(例えばイタリック体、ボールド体等)に対
してそれぞれ文字発生器をもつことにより、異なる書体
の文字を出力することが行なわれており、これらの文字
発生器は特に文字数の少ない英文文字等の出力を対象と
するプリンタに実装される傾向にある。更に最近では文
字発生器であるROM又はRAMをカートリッジ化する
とともに出力装置にソケットを設け、このカートリッジ
を着脱可能としているものがある。この結果利用者側に
とっては書体の選択を自由に行うことができるのでその
利用性が高くなり、又メーカ側でも記録装置に内蔵する
文字発生器を無制限に拡張する必要がなくなった。しか
しながら1つのカートリッジで供給できる書体の数は限
定されるため、利用者が異なる場合や1頁内に多数の書
体で出力を行おうとする際にはカートリッジの交換をひ
んばんに実行しなければならず、又交換を忘れた場合に
は指定された書体での出力は保証されないという欠点が
あった。。又このような欠点を解消するために1度に複
数個のカートリッジを装着できるようにした装置も考え
られるがこの場合は装置自体のコストアップにつながる
という欠点があった。
2. Description of the Related Art Among output devices that are capable of generating a plurality of different patterns that have been conventionally used, in many output devices other than a type printer, character code data provided from a host computer is associated with each character in advance. It is designed to print by converting to character dot patterns. For example, non-impact printers such as thermal printers, wire dot printers, and laser beam printers correspond to this. In these printers,
Characters of different typefaces are output by having character generators for different typefaces (for example, italic type, bold type, etc.), and these character generators have a particularly small number of characters such as English characters. It tends to be implemented in printers that target the output of. Further, recently, there is one in which a ROM or a RAM which is a character generator is made into a cartridge and a socket is provided in an output device so that the cartridge can be attached and detached. As a result, the user side can freely select the typeface, which improves its usability, and the maker side does not need to expand the character generator built into the recording device indefinitely. However, the number of typefaces that can be supplied with one cartridge is limited. Therefore, when different users or when trying to output with many typefaces within one page, it is necessary to replace the cartridge most frequently. In addition, there is a drawback that the output in the specified typeface is not guaranteed if the user forgets to replace the item. . Further, in order to solve such a drawback, an apparatus in which a plurality of cartridges can be mounted at once can be considered, but in this case, there is a drawback that the cost of the apparatus itself is increased.

【0003】[0003]

【発明が解決しようとする課題】本発明は上述した欠点
に鑑みなされたもので、その目的は、複写指示情報に基
づいて、出力装置の内部記憶手段或は外部記憶手段に記
憶されている例えば文字パタ−ンセットをダウンロ−ド
文字パタ−ンセットとして複写用記憶手段に複写するこ
とができる出力装置を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned drawbacks, and the purpose thereof is to be stored in the internal storage means or the external storage means of the output device based on the copy instruction information, for example. An object of the present invention is to provide an output device capable of copying a character pattern set as a downloaded character pattern set to a copying storage means.

【0004】[0004]

【課題を解決するための手段】かかる目的を達成するた
めに、本発明の出力装置は、外部から入力される入力情
報に基づいて出力情報を生成して出力する出力装置であ
って、前記出力情報を生成する場合に使用する情報を予
め記憶している内部記憶手段と、前記出力情報を生成す
る場合に使用する情報を予め記憶している外部記憶手段
を接続する接続手段と、外部から入力される複写指示情
報が前記内部記憶手段に予め記憶されている情報を複写
用記憶手段に複写することを指示している場合には当該
情報を複写用記憶手段に複写し、かつ、前記複写指示情
報が前記外部記憶手段に予め記憶されている情報を複写
用記憶手段に複写することを指示している場合には当該
情報を複写用記憶手段に複写する複写手段とを有する。
In order to achieve such an object, an output device of the present invention is an output device for generating and outputting output information based on input information input from the outside, and the output device Internal storage means for storing information used when generating information, connection means for connecting external storage means for storing information used for generating the output information, and input from the outside When the copy instruction information to be copied indicates to copy the information previously stored in the internal storage means to the copy storage means, the information is copied to the copy storage means, and the copy instruction is given. When the information indicates that the information previously stored in the external storage means is to be copied to the copy storage means, it has a copy means for copying the information to the copy storage means.

【0005】[0005]

【作用】複写指示情報に基づいて、内部記憶手段或は外
部記憶手段に記憶されている情報を複写用記憶手段に複
写する。
According to the copy instruction information, the information stored in the internal storage means or the external storage means is copied to the copy storage means.

【0006】[0006]

【実施例】以下図面を参照して本発明の実施例を詳細に
説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0007】図1は種々の書体を示したものであり、図
1(a)はレギュラー体、図1(b)はイタリック体、
図1(c)はボールド体を示したものである。
FIG. 1 shows various typefaces. FIG. 1 (a) is a regular type, FIG. 1 (b) is an italic type,
FIG. 1C shows a bold body.

【0008】書体の変更は様々な場合に行なわれるがそ
の大半はある文字列を何らかの都合で強調したいという
意図をもつからである。特に図1(b)のようなイタリ
ック体、図1(c)のようなボールド体等は文字列強調
のために使用される。具体的には書体の変更は通常出力
装置に書体変更の指令を出し、それに従って文字パター
ンの指示アドレスを指定された書体の文字発生器のアド
レスヘ切り換える事により実現される。
This is because the typeface is changed in various cases, but most of them are intended to emphasize a character string for some reason. In particular, an italic type as shown in FIG. 1B and a bold type as shown in FIG. 1C are used for character string emphasis. Specifically, the change of the typeface is usually realized by issuing a command of the typeface change to the output device and switching the designated address of the character pattern to the address of the character generator of the designated typeface according to the command.

【0009】図2は本実施例における文字パターン発生
のための制御回路図を示すものであり、ホストコンピュ
ータから送られて来る文字コードデータ及び制御命令を
入力してレーザビームプリンタ等のベージプリンタ等に
て文字パターンを出力する場合を示す。図において20
1は文字コードデータ及び制御命令を発生する計算機
(ホストコンピュータ)であり、202は文字コードデ
ータ及び制御命令を一時的に蓄積する入力バッファ、2
03は汎用マイクロプロセッサからなるCPU、204
は文字コードデータに従って文字ドットパターンを発生
する内蔵文字発生器、205はカートリッジ様式の着脱
可能型文字発生器、206は前記文字発生器205を接
続するためのソケット、210は文字ドットパターンを
文字発生器205、204又は自分自身から複写して使
用するためのRAM、207は1ページ分のドット数を
有するRAMからなる出力用ページバッファ、211は
登録されてる文宇パターンセット(後述)に関する情報
を格納するための管理用RAM、208はプリンタとの
インタフェースを保ち、出力用ページバッファ207の
ドット情報よリビデオ信号を発生するプリンタインタフ
ェース部、209は前記ビデオ信号を受け実際に画像を
出力する出力機であるベージプリンタ、214はCPU
ボードである。
FIG. 2 shows a control circuit diagram for generating a character pattern in the present embodiment, in which character code data and control commands sent from a host computer are input to a page printer such as a laser beam printer. Shows the case of outputting a character pattern. 20 in the figure
Reference numeral 1 is a computer (host computer) that generates character code data and control commands, and 202 is an input buffer that temporarily stores the character code data and control commands.
03 is a CPU composed of a general-purpose microprocessor, and 204
Is a built-in character generator that generates a character dot pattern according to character code data, 205 is a cartridge-type removable character generator, 206 is a socket for connecting the character generator 205, and 210 is a character dot pattern RAM for copying and using from the devices 205, 204 or itself, 207 is an output page buffer including a RAM having a dot number for one page, and 211 is information regarding a registered BENU pattern set (described later). A management RAM for storing 208, a printer interface unit 208 for maintaining an interface with the printer, and generating a video signal based on the dot information of the output page buffer 207, and an output device 209 for receiving the video signal and actually outputting an image. Is a page printer, 214 is a CPU
It is a board.

【0010】次に図2に示した回路の動作について詳細
に説明する。
Next, the operation of the circuit shown in FIG. 2 will be described in detail.

【0011】図2の構成において、計算機201から送
られて来る文字コードデータ及び文字パターンセットの
複写指令は一時入力バッファ202に蓄積される。ここ
でこの実施例における文字パターンセットの複写指令の
形式は図3に示す如くなっており、まずSourceI
D301(複写される文字パターンセットの識別子番
号)及びDestinationID302(複写され
て作られる新しい文字パターンセットの識別子番号)が
最初に入力され、この後登録命令303が入力される。
これによりSourceID301によって示される文
字パターンセットがDestinationID302
によって示される文字パターンセットとして複写され登
録される。次にこの文字パターンセットがどのようなデ
ータ構造をとっているかについて説明する。
In the configuration of FIG. 2, the copy command of the character code data and the character pattern set sent from the computer 201 is accumulated in the temporary input buffer 202. Here, the format of the copy command of the character pattern set in this embodiment is as shown in FIG.
D301 (identifier number of the copied character pattern set) and DestinationID302 (identifier number of the new copied character pattern set) are input first, and then the registration command 303 is input.
As a result, the character pattern set indicated by the SourceID301 becomes the DestinationID302.
Is copied and registered as a character pattern set indicated by. Next, the data structure of this character pattern set will be described.

【0012】今、英文等の出力を考えるとそのコード体
系は例えば図4に示す如くになっており、図からわかる
様に各文字、記号等は21〜7E(本例では説明の為各
コードを16進法で表わしている。)のコードで表わさ
れる。また文字パターンセットは本実施例においては例
えば図5に示す如き体系にてRAM又はROM等のメモ
リに格納されている。文字パターンセットは文字パター
ンセット情報部501及び文字パターン部502から成
り、文字パターン部502には各コード21〜7Eに対
応したパターン(ドットパターン)が指定された大きさ
で格納されている。この時1つの文字セット(コード2
1〜7E)に関する情報は文字パターンセット情報部5
01に格納されており、この文字パターンセット情報部
501には文字パターンセットID、文字高さ、文字
幅、文字ピッチ、コード体系(7ビット又は8ビット
等)等の情報が格納されている。又、文字パターン部5
02の各文字(あるいは記号)サイズは文字パターンセ
ット情報部501によって示されるものであり、(文字
高さ×文字幅)/8バイトの大きさによって定まる。あ
る文字、例えば503に示すコード“41”に対応した
“A”という文字は文字パターンセット情報部501内
の文字高さ、文字幅によって指定されるサイズのドット
マトリックスで表わされ、図に示すように文字高さ1の
点の左端より8ビットずつ区切ってRAM又はROM上
に登録されている。又、文字パターンセット情報部50
1の容量は固定(lバイト)であるが文字パターン部5
02に関してはコード体系(7ビット、8ビット、2バ
イト等)によって定まる可変長である。本実施例におい
てはこのような文字パターンセットを管理するために管
理用RAM211を用いて管理パターンテーブルを作成
しておくものであるがその形式は例えば図6に示され
る。
Now, considering the output of English texts, the code system is as shown in FIG. 4, for example. As can be seen from the figure, each character, symbol, etc., is 21 to 7E (each code for the sake of explanation in this example). Is expressed in hexadecimal notation). In the present embodiment, the character pattern set is stored in a memory such as a RAM or a ROM according to the system shown in FIG. 5, for example. The character pattern set includes a character pattern set information section 501 and a character pattern section 502. In the character pattern section 502, patterns (dot patterns) corresponding to the codes 21 to 7E are stored in a designated size. At this time, one character set (code 2
1 to 7E) is the character pattern set information section 5
The character pattern set information section 501 stores information such as a character pattern set ID, a character height, a character width, a character pitch, and a code system (7 bits or 8 bits). Also, the character pattern part 5
The size of each character (or symbol) 02 is indicated by the character pattern set information section 501 and is determined by the size of (character height × character width) / 8 bytes. A character, for example, the character "A" corresponding to the code "41" shown in 503 is represented by a dot matrix of a size designated by the character height and character width in the character pattern set information section 501, and is shown in the figure. As described above, the character height 1 is divided into 8 bits from the left end and registered in the RAM or ROM. Also, the character pattern set information section 50
The capacity of 1 is fixed (1 byte), but the character pattern part 5
02 has a variable length determined by the code system (7 bits, 8 bits, 2 bytes, etc.). In this embodiment, a management pattern table is created using the management RAM 211 in order to manage such a character pattern set, and its format is shown in FIG. 6, for example.

【0013】管理パターンテーブルには1つの文字パタ
ーンセットに関して、次の3つの項目が登録されてい
る。第1の項目は文字パターンセット識別子(文字パタ
ーンセットID)601であり、これは文字パターンセ
ットの登録を行ったり、文字パターンセットを指定して
使用する書体を決定する際に用いられる。第2の項目は
先頭アドレス602であり、これは文字パターンセット
情報部501の存在する先頭アドレスを示すものであ
る。第3の項目は種類603であり、これは文字パター
ンセットの存在する媒体の種類を示すものである。即ち
文字パターンセット識別子601で示される文字パター
ンセットが内蔵ROM204、登録用RAM210、カ
―トリッジ205の内いずれに格納されているかを示す
ものである。
The following three items are registered in the management pattern table for one character pattern set. The first item is a character pattern set identifier (character pattern set ID) 601, which is used when registering a character pattern set or determining a typeface to use by designating a character pattern set. The second item is a start address 602, which indicates the start address where the character pattern set information section 501 exists. The third item is type 603, which indicates the type of medium in which the character pattern set exists. That is, it indicates which of the built-in ROM 204, the registration RAM 210, and the cartridge 205 stores the character pattern set indicated by the character pattern set identifier 601.

【0014】以下に文字パターンセットの複写登録のア
ルゴリズムについて図7のフローチャートを用いて説明
する。尚、図7のフローチャートはCPU203によっ
て実行される。
The algorithm for copying and registering a character pattern set will be described below with reference to the flowchart of FIG. The flowchart of FIG. 7 is executed by the CPU 203.

【0015】本実施例においては例えばカートリッジ2
05に格納されているある書体の文字パターンセットを
RAM210に複写し、登録することにより多種の書体
の文字パターンを使用できる様にしている。従って本実
施例によれば例えカートリッジが取りはずされたり、他
のカートリッジと交換されたとしても、文字パターンセ
ットを複写登録しておくことにより複数のカートリッジ
に格納されている複数種類の文字パターンセットを必要
に応じて使用できるものである。
In this embodiment, for example, the cartridge 2
By copying a character pattern set of a certain typeface stored in 05 into the RAM 210 and registering it, character patterns of various typefaces can be used. Therefore, according to the present embodiment, even if the cartridge is removed or replaced with another cartridge, the character pattern sets are stored in the plurality of cartridges by copying and registering the character pattern sets. Can be used as required.

【0016】コマンド解析ルーチンにおいて、Sour
ceID301を入力した段階で解析し(ステップS7
01)、指定された文字パターンセットIDが管理用R
AM211の管理パターテーブルに存在するかどうか判
定して、もし存在しなければ複写を実行できないので終
了する。もし存在するならばステップS702へ移行
し、DestinationID302を入力した段階
で解析し、指定された文字パターンセットIDが管理パ
ターンテーブル上にすでに存在するかどうか判定する。
もしすでに存在すれば複写を実行できないので終了す
る。存在しない場合は複写登録を実行するわけである
が、この時SOurceIDより対応する文字パターン
セット情報部の先頭アドレスを求め、その中の情報(文
字パターン高さ“b”ビット、幅“w”ビット、コード
体系による印字可能文字数“n”、文字パターンセット
情報部バイト長“L”)により複写に必要なバイト長
“c”をステップS703において以下の計算式により
求める。
In the command analysis routine, Source
When the ceID301 is input, it is analyzed (step S7
01), the designated character pattern set ID is R for management
It is judged whether or not it exists in the management pattern table of the AM 211, and if it does not exist, copying cannot be executed, and the process ends. If it exists, the process proceeds to step S702, where it is analyzed when the Destination ID 302 is input, and it is determined whether the specified character pattern set ID already exists in the management pattern table.
If it already exists, copying cannot be executed, and the process ends. If it does not exist, copy registration is executed. At this time, the start address of the corresponding character pattern set information part is obtained from the SourceID, and the information (character pattern height "b" bits, width "w" bits) in that is obtained. , The number of printable characters according to the code system is “n”, and the byte length “c” required for copying is obtained from the character pattern set information section byte length “L” by the following formula in step S703.

【0017】c=L+n X(b X(W/8))そし
てこのバイト長分の未使用エリアが、RAM210内に
存在するか否かをステップS704で判定して、存在し
なければ複写が行なわれない。そしてステップS704
で複写が行えると判断されるとSourceIDによっ
て指定された文字パターンセットを複写してRAM21
0内の未使用エリアに格納するとともに複写された文字
パターンセットの内文字パターンセットIDのみをDe
stinationIDの値に置き換える(ステップS
705)。そして次に管理パターンテーブル更新ルーチ
ンとして、新規登録した文字パターンセットID、登録
先の先頭アドレスを管理用RAM211に書込むととも
に新規登録した文字パターンセットはRAMであるとい
うフラグを立てる(ステップS706)。こうして文字
パターンセットの複写動作は完了する。尚、もしカート
リッジ205が抜かれた場合には管理パターンテーブル
上でカートリッジとして存在する文字パターンセットの
情報をすぺてテーブル上から削除する。又カートリッジ
が挿入された場合にはカートリッジに格納されている各
文字パターンセットの先頭アドレス、ID番号、及びカ
ートリッジパターンである旨を管理パターンテーブルに
登録する。又、電源オン時においては内蔵ROM204
及びカートリッジ(カートリッジが挿入されているなら
ば)両方の情報(先頭アドレス、文字パターンセットI
D番号等)を管理パターンテーブルに登録する。
C = L + n X (b X (W / 8)) Then, in step S704, it is determined whether or not an unused area of this byte length exists in the RAM 210. If it does not exist, copying is performed. I can't. And step S704
When it is determined that the copy can be performed, the character pattern set designated by the SourceID is copied to the RAM 21.
Only the character pattern set ID of the copied character pattern set stored in the unused area of 0 is De.
Replace with the value of stationid (step S
705). Then, as a management pattern table update routine, the newly registered character pattern set ID and the start address of the registration destination are written in the management RAM 211, and a flag that the newly registered character pattern set is RAM is set (step S706). In this way, the copy operation of the character pattern set is completed. If the cartridge 205 is removed, the information on the character pattern set existing as a cartridge on the management pattern table is deleted from the table. When a cartridge is inserted, the start address, ID number, and cartridge pattern of each character pattern set stored in the cartridge are registered in the management pattern table. When the power is turned on, the built-in ROM 204
And cartridge (if a cartridge is inserted) both information (start address, character pattern set I
D number, etc.) is registered in the management pattern table.

【0018】次に図8及び図9のフローチャートを用い
て本実施例における出力動作について述べる。CPU2
03はステップS901、S902にて水平方向出力位
置を示す桁カウンタ(不図示)、及び垂直方向出力位量
を示す行カウンタ(不図示)を初期化した後、CPU2
03はステップS903にて入力バッファ202より1
単位コード(1単位コードは1文字のドットパターンに
対応する。)を読み込む。ステップS904にてコード
データの読み込みが全て終了したか否かが判定され、終
了でないと判定されると、ステップS905にて書体変
更に関する指令の有無が判定される。もしこの指令がな
いと判定されるとステップS906でその文字コードに
対応する文字ドットパターンを出力用ページバッファ2
07に発生する。この文字ドットパターンは現在指定さ
れている文字パターンセットより得られ、それはCPU
203により後述するように適正に位置決めれて1文字
分のドットパターンが出力用ページバッファ207へ格
納される。
Next, the output operation in this embodiment will be described with reference to the flow charts of FIGS. CPU2
03 initializes the digit counter (not shown) indicating the horizontal output position and the line counter (not shown) indicating the vertical output quantity in steps S901 and S902, and then the CPU2
03 is 1 from the input buffer 202 in step S903.
A unit code (one unit code corresponds to a dot pattern of one character) is read. In step S904, it is determined whether or not the reading of all the code data has been completed. If it is determined that the reading has not been completed, it is determined in step S905 whether or not there is a command for changing the font. If it is determined that this command is not present, the character dot pattern corresponding to the character code is output to the output page buffer 2 in step S906.
It occurs at 07. This character dot pattern is obtained from the currently specified character pattern set, which is the CPU
A dot pattern for one character is stored in the output page buffer 207 after being properly positioned by 203 as described later.

【0019】次に発生する文字の位量に関して、図8を
用いて説明する。図8は出力用ベージバッファの内容を
説明するための図であり、図中801は左余白数(l
m)、802は本文桁数(m)、803は右余白数(r
m),804は上余白数(tm)、805は本文行数
(l)、806は下余白数(bm)、807は行ピッチ
のドット数(yp)、808は文字ピッチのドット数
(xp)、809は水平方向文字幅のドット数(xs)
を示す。ページの左上端を原点(0,0)とし桁カウン
タの値をXc、行カウンタの値をYcとしたとき、発生
文字の文字ドットパターンの右下端の位置(x。,
y。)は x。=lm+(Xc×xp) y。=tm+(Yc×yp) なる計算式により求められ、Xc,Ycが変化するに従
って発生文字の位置決定がなされる。
The amount of character generated next will be described with reference to FIG. FIG. 8 is a diagram for explaining the contents of the output page buffer, in which 801 is the number of left margins (l
m), 802 is the number of digits in the text (m), and 803 is the number of right margins (r
m), 804 is the number of upper margins (tm), 805 is the number of text lines (l), 806 is the number of lower margins (bm), 807 is the number of dots in the line pitch (yp), and 808 is the number of dots in the character pitch (xp). ), 809 is the number of dots in the horizontal character width (xs)
Indicates. When the upper left corner of the page is the origin (0, 0), the digit counter value is Xc, and the line counter value is Yc, the lower right position (x.,
y. ) Is x. = Lm + (Xcxxp) y. = Tm + (Yc × yp), and the position of the generated character is determined as Xc and Yc change.

【0020】以上の様な方法でステップS906にて文
字発生がなされた後、ステップS907にて桁カウンタ
の値を1増加させ、ステップS908にて桁あふれのチ
ェックを行う。ステップS908において桁あふれでな
い場合、すなわち桁カウンタの値が本文桁数(m)より
小なる場合にはステップS903に戻り、次の1単位コ
ードを読み込む。
After the characters are generated in step S906 by the above method, the value of the digit counter is incremented by 1 in step S907, and the overflow is checked in step S908. If there is no overflow of digits in step S908, that is, if the value of the digit counter is smaller than the number of digits (m) in the text, the process returns to step S903 to read the next one-unit code.

【0021】同じ様に次々と文字ドットパターンを発生
させていき、ステップS908にて桁あふれが起きた場
合、ステップS909で行カウンタの値を1増加させ、
ステップS910にて桁カウンタを初期化した後、ステ
ップS911にてページあふれのチェックを行う。ペー
ジあふれでないと判定された場合、すなわち行カウンタ
の値が本文行数(l)と比べて等しいか又は小さい場合
はまだ出力用ページバッファに余裕ありと判定してステ
ップS903に戻り出力用ページバッファ207の作成
処理を継続する。逆にステップS911でページあふれ
状態であると判定された場合は1ページ分の出力用ペー
ジバッファ207の作成が完了したものとして、1スキ
ャンライン分づつのドットイメージがプリンターインタ
フェース部208に転送され、同部にてビデオ信号に変
換された後出力機であるページプリンタ209により出
力が行なわれる。同様にしてステップS903からステ
ップS913の繰り返しによって次々とページが作成さ
れていく。
Similarly, when character dot patterns are generated one after another, and if a digit overflow occurs in step S908, the value of the line counter is incremented by 1 in step S909.
After the digit counter is initialized in step S910, page overflow is checked in step S911. If it is determined that there is no page overflow, that is, if the value of the line counter is equal to or smaller than the number of lines (l) in the text, it is determined that the output page buffer still has room, and the process returns to step S903 and the output page buffer is returned. The creation process of 207 is continued. On the other hand, if it is determined in step S911 that the page overflow state has occurred, it is assumed that the creation of the output page buffer 207 for one page is completed, and the dot image for each one scan line is transferred to the printer interface unit 208. After being converted into a video signal in the same section, output is performed by a page printer 209 which is an output device. Similarly, pages are created one after another by repeating steps S903 to S913.

【0022】ところでステップS905にて書体変更命
令が読み込まれるとステップS914においてその命令
がパラメータとして持つ文字パターンセットIDが管理
用RAM211の管理パターンテーブル中に存在するか
どうか確認する。そしてもし存在すればステップS91
5にてCPU203内のペースレジスタの内容を、直前
までアクセスしていた文字パターンセットのアドレスか
ら今回指定された文字パターンセットのアドレスに変更
しステップS903に戻る。そして次の1単位コードの
処理に入ることにより書体の変更した文字パターンにて
出力を行う事が出来る。
When the typeface change command is read in step S905, it is checked in step S914 whether the character pattern set ID that the command has as a parameter exists in the management pattern table of the management RAM 211. And if present, step S91
At 5, the content of the pace register in the CPU 203 is changed from the address of the character pattern set that was accessed until immediately before to the address of the character pattern set designated this time, and the process returns to step S903. Then, by entering the processing of the next one-unit code, it is possible to output the character pattern with the changed font.

【0023】以上説明したような処理の流れにより書体
変更の指令と文字コードデータに従って出力が行なわれ
て行くが、データ終了を告げる情報(例えば仕事の終り
を示すコード、ファイルの終りを示すコード等)がステ
ップS904にて認識されるとステップS916、S9
17に進み、現在作成中の出力用ページバッファ207
の内容が空でない時、すなわち行カウンタが2以上、又
は桁カウンタが1以上の時に限り同バッファのデータを
プリントしすべての処理を終了する。
According to the flow of processing as described above, output is performed according to the typeface change command and the character code data, but information indicating the end of data (for example, a code indicating the end of work, a code indicating the end of a file, etc.). ) Is recognized in step S904, steps S916 and S9
17, the output page buffer 207 currently being created
When the content of is not empty, that is, when the line counter is 2 or more, or the digit counter is 1 or more, the data in the buffer is printed and all the processing is completed.

【0024】図10に本発明が適用できるレーザビーム
プリンタの概略断面図を示す。
FIG. 10 is a schematic sectional view of a laser beam printer to which the present invention can be applied.

【0025】図10において、21はスキャナ及びレー
ザユニットを具備する露光装量である。22は感光ドラ
ム23上に形成された潜像を可視像化する現像ユニット
である。23は感光ドラム、24は給紙カセット、5は
給紙カセット24から搬送ローラ6へと用紙を一枚ずつ
供給する給紙ローラである。7はレジストシャッタであ
り、搬送ローラ6を介して搬送されてきた用紙はこのレ
ジストシャッタ7によって一時的に停止させられ、レー
ザ光の投射及び感光ドラム23の回転動作と用紙送りと
の間で同期がとられる。8は用紙を転写部9に送り込む
ための送り込みローラである。10は用紙上に転写され
たトナー像を定着する定着部であり、11は排紙された
用紙を受けるスタッカ部である。又、前述した如く20
5は着脱可能な文字発生器、206はソケット、214
はCPU203,出力用バッファ207等が取付けられ
たCPUボードである。
In FIG. 10, reference numeral 21 denotes an exposure amount including a scanner and a laser unit. Reference numeral 22 is a developing unit that visualizes the latent image formed on the photosensitive drum 23. Reference numeral 23 is a photosensitive drum, 24 is a paper feed cassette, and 5 is a paper feed roller that feeds paper one by one from the paper feed cassette 24 to the transport roller 6. Reference numeral 7 denotes a registration shutter, which temporarily stops the sheet conveyed through the conveyance roller 6 by the registration shutter 7 so that the projection of laser light, the rotation operation of the photosensitive drum 23, and the sheet feeding are synchronized. Be taken. Reference numeral 8 denotes a feed roller for feeding a sheet to the transfer unit 9. Reference numeral 10 is a fixing unit that fixes the toner image transferred onto the paper, and 11 is a stacker unit that receives the discharged paper. Also, as mentioned above, 20
5 is a removable character generator, 206 is a socket, 214
Is a CPU board to which the CPU 203, the output buffer 207, etc. are attached.

【0026】このように構成したレーザビームプリンタ
においては、用紙の搬送、現像等の一連の動作タイミン
グ制御がシーケンスコントローラ13により制御され
る。又、このレーザビームプリンタはプリンタインタフ
ェース部208から出力されるビデオ信号に応じてレー
ザ光をオン/オフし感光ドラム23上に可視像を形成す
るものである。
In the laser beam printer thus constructed, the sequence controller 13 controls a series of operation timing control such as paper conveyance and development. Further, this laser beam printer forms a visible image on the photosensitive drum 23 by turning on / off a laser beam in accordance with a video signal output from the printer interface unit 208.

【0027】尚、本実施例においては文字パターンセッ
ト識別子によって複写すべさ文字パターンセットを指定
しているが、現在使用している文字パターンセットを新
たな文字パターンセットとして、文字パターンセット識
別子のみを変更してそのまま登録する様構成しても良
い。又、本実施例においては端末装量としてプリンタ等
の出力装置を用いているが、CRT端末装置等を用いて
も良い。又、本実施例において文字パターンセットの複
写登録はホストコンピュータの指令により行なっている
が、例えば出力装量に取付けられた操作キー等により行
なっても良い。
In this embodiment, the character pattern set identifier to be copied is designated by the character pattern set identifier. However, the currently used character pattern set is used as a new character pattern set and only the character pattern set identifier is used. The configuration may be changed and registered as it is. Further, in the present embodiment, an output device such as a printer is used as the terminal equipment, but a CRT terminal device or the like may be used. Further, in the present embodiment, the copy registration of the character pattern set is performed by a command of the host computer, but it may be performed by an operation key or the like attached to the output device, for example.

【0028】尚、本発明は例えば制御情報(改行等)あ
るいはベクトルデータ(文字を表わす座標情報)等の複
写にも適用できる。
The present invention can also be applied to copying control information (line feed, etc.) or vector data (coordinate information representing a character), for example.

【0029】[0029]

【発明の効果】以上説明したように本発明によれば、複
写指示情報に基づいて、出力装置の内部記憶手段或は外
部記憶手段に記憶されている例えば文字パタ−ンセット
をダウンロ−ド文字パタ−ンセットとして複写用記憶手
段に複写することができ、むやみに書体の異なる内蔵文
字発生器を多数設けたり、カートリッジをひんばんに交
換しなければならないといった不都合を防止できるもの
である。
As described above, according to the present invention, the character pattern set stored in the internal storage means or the external storage means of the output device is downloaded based on the copy instruction information. It is possible to make a copy in the storage means for copying as a headset, and it is possible to prevent the inconvenience that a large number of built-in character generators having different typefaces are provided and the cartridge is frequently exchanged.

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

【図1】英文文字の種々の書体を示した図であり、
(a)はレギュラー体を示す図、(b)はイタリック体
を示す図、(c)はボールド体を示す図である。
FIG. 1 is a diagram showing various typefaces of English characters,
(A) is a figure which shows a regular body, (b) is a figure which shows an italic type, (c) is a figure which shows a bold type.

【図2】本実施例における制御回路図である。FIG. 2 is a control circuit diagram in the present embodiment.

【図3】文字パターンセットの複写指令の形式の説明図
である。
FIG. 3 is an explanatory diagram of a format of a copy command of a character pattern set.

【図4】英文等のコード体系を示す図である。FIG. 4 is a diagram showing a code system such as an English sentence.

【図5】文字パターンセットの構成図である。FIG. 5 is a configuration diagram of a character pattern set.

【図6】管理パターンテープルの構成図である。FIG. 6 is a configuration diagram of a management pattern table.

【図7】本実施例における文字パターンセット複写登録
のためのフローチャ―卜である。
FIG. 7 is a flow chart for character pattern set copy registration in the present embodiment.

【図8】出力用ページバッファの内容を説明するための
図である。
FIG. 8 is a diagram for explaining the contents of an output page buffer.

【図9】本実施例における出力動作のフローチャートで
ある。
FIG. 9 is a flowchart of an output operation in this embodiment.

【図10】本発明が適用でさるレーザビームプリンタの
概略構成図である。
FIG. 10 is a schematic configuration diagram of a laser beam printer to which the present invention is applied.

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

201 計算器 202 入力バッファ 203 CPU 204 内蔵文字発生器 205 着脱可能型文字発生器 206 ソケット 207 出力用ページバッファ 208 プリンタインタフェース部 209 ページプリンタ 210 文字パターンセット格納用RAM 211 管理用RAM 201 calculator 202 input buffer 203 CPU 204 built-in character generator 205 removable character generator 206 socket 207 output page buffer 208 printer interface section 209 page printer 210 character pattern set storage RAM 211 management RAM

───────────────────────────────────────────────────── フロントページの続き (72)発明者 永田 聡 東京都大田区下丸子3丁目30番2号キヤノ ン株式会社内 (72)発明者 佐藤 賢也 東京都大田区下丸子3丁目30番2号キヤノ ン株式会社内 (72)発明者 河村 吉章 東京都大田区下丸子3丁目30番2号キヤノ ン株式会社内 (72)発明者 渋谷 壮一 東京都大田区下丸子3丁目30番2号キヤノ ン株式会社内 (72)発明者 村上 裕 東京都大田区下丸子3丁目30番2号キヤノ ン株式会社内 (56)参考文献 特開 昭51−10322(JP,A) 特開 昭58−205247(JP,A) 特開 昭59−177635(JP,A) ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Satoshi Nagata 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Kenya Sato 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Incorporated (72) Inventor Yoshiaki Kawamura 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Soichi Shibuya 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Yutaka Murakami, 3-30-2 Shimomaruko, Ota-ku, Tokyo, Canon Inc. (56) References JP-A-51-10322 (JP, A) JP-A-58-205247 (JP, A) JP-A-59-177635 (JP, A)

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 外部から入力される入力情報に基づいて
出力情報を生成して出力する出力装置であって、 前記出力情報を生成する場合に使用する情報を予め記憶
している内部記憶手段と、 前記出力情報を生成する場合に使用する情報を予め記憶
している外部記憶手段を接続する接続手段と、 外部から入力される複写指示情報が前記内部記憶手段に
予め記憶されている情報を複写用記憶手段に複写するこ
とを指示している場合には当該情報を複写用記憶手段に
複写し、かつ、前記複写指示情報が前記外部記憶手段に
予め記憶されている情報を複写用記憶手段に複写するこ
とを指示している場合には当該情報を複写用記憶手段に
複写する複写手段とを有することを特徴とする出力装
置。
1. An output device for generating and outputting output information based on input information inputted from the outside, and an internal storage means for storing in advance information used when generating the output information. Connection means for connecting an external storage means that stores in advance information to be used when generating the output information, and copy instruction information input from the outside that is previously stored in the internal storage means When it is instructed to copy to the copy storage means, the information is copied to the copy storage means, and the information in which the copy instruction information is previously stored in the external storage means is copied to the copy storage means. An output device comprising: a copying means for copying the information to a copying storage means when a copying instruction is given.
【請求項2】 前記入力情報は、文字コ−ドであること
を特徴とする請求項第1項記載の出力装置。
2. The output device according to claim 1, wherein the input information is a character code.
【請求項3】 前記出力情報は、ドット情報であり出力
用記憶手段に記憶されることを特徴とする請求項第1項
記載の出力装置。
3. The output device according to claim 1, wherein the output information is dot information and is stored in output storage means.
【請求項4】 前記出力情報を生成する場合に使用する
情報は、文字パタ−ンセットであることを特徴とする請
求項第1項記載の出力装置。
4. The output device according to claim 1, wherein the information used when the output information is generated is a character pattern set.
【請求項5】 前記出力情報を生成する場合に使用する
情報は、制御情報であることを特徴とする請求項第1項
記載の出力装置。
5. The output device according to claim 1, wherein the information used when the output information is generated is control information.
【請求項6】 前記複写処理は、他の装置からのコマン
ドで指示されることを特徴とする請求項第1項記載の出
力装置。
6. The output device according to claim 1, wherein the copying process is instructed by a command from another device.
【請求項7】 前記複写処理は、前記出力装置上のスイ
ッチで指示されることを特徴とする請求項第1項記載の
出力装置。
7. The output device according to claim 1, wherein the copying process is instructed by a switch on the output device.
【請求項8】 前記複写指示情報は、複写処理を施す情
報を指定する識別情報を含むことを特徴とする請求項第
1項記載の出力装置。
8. The output device according to claim 1, wherein the copy instruction information includes identification information that specifies information to be copied.
【請求項9】 前記出力装置は、プリンタであることを
特徴とする請求項第1項記載の出力装置。
9. The output device according to claim 1, wherein the output device is a printer.
JP5285101A 1993-11-15 1993-11-15 Output device Expired - Lifetime JPH08469B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5285101A JPH08469B2 (en) 1993-11-15 1993-11-15 Output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5285101A JPH08469B2 (en) 1993-11-15 1993-11-15 Output device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP59276930A Division JPH0712720B2 (en) 1984-12-26 1984-12-26 Output device

Publications (2)

Publication Number Publication Date
JPH06218995A JPH06218995A (en) 1994-08-09
JPH08469B2 true JPH08469B2 (en) 1996-01-10

Family

ID=17687140

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5285101A Expired - Lifetime JPH08469B2 (en) 1993-11-15 1993-11-15 Output device

Country Status (1)

Country Link
JP (1) JPH08469B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5110322A (en) * 1974-07-17 1976-01-27 Amakata Sangyo Kk SANSOJUDODENDOKINIOKERU KIDOTEISH ISOCHI
JPS573186A (en) * 1980-06-09 1982-01-08 Hitachi Ltd Print control system
JPS58205247A (en) * 1982-05-24 1983-11-30 Ricoh Co Ltd Japanese word processor
JPS59177635A (en) * 1983-03-29 1984-10-08 Toshiba Corp Kanji pattern managing system
JPH0712720B2 (en) * 1984-12-26 1995-02-15 キヤノン株式会社 Output device

Also Published As

Publication number Publication date
JPH06218995A (en) 1994-08-09

Similar Documents

Publication Publication Date Title
US5657048A (en) Image processing apparatus
US4686525A (en) Image data output apparatus
JPS63256450A (en) Multi-color image forming apparatus
US5150460A (en) Apparatus for character output with modification of character code array
US5740462A (en) Output apparatus permitting font selection based on resolutions
US5020004A (en) Image output apparatus capable of outputting forms in special colors
JPH0661969B2 (en) Output device
JPH0712720B2 (en) Output device
JPH08469B2 (en) Output device
JPH0661967B2 (en) output method
JPS61197252A (en) Image output device
JPS61232484A (en) Image output unit
JPH0723012B2 (en) Character pattern information output device
US7320552B2 (en) Image forming apparatus
JP2608393B2 (en) Information processing device
JP2839136B2 (en) Output device
JPH03284960A (en) Image output device
JP2526873B2 (en) Character generator
JP2746768B2 (en) Electrophotographic printer
JPS6073670A (en) Output unit
US5579465A (en) Shifted character pattern data processor
JPH07125390A (en) Image recognition processor
JPH07108577B2 (en) output method
JPS58107592A (en) Character pattern generator
JPS58107591A (en) Overlapping character pattern generation system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term