JP2752816B2 - Printer device - Google Patents

Printer device

Info

Publication number
JP2752816B2
JP2752816B2 JP3253138A JP25313891A JP2752816B2 JP 2752816 B2 JP2752816 B2 JP 2752816B2 JP 3253138 A JP3253138 A JP 3253138A JP 25313891 A JP25313891 A JP 25313891A JP 2752816 B2 JP2752816 B2 JP 2752816B2
Authority
JP
Japan
Prior art keywords
character pattern
character
pattern storage
storage area
storage
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
JP3253138A
Other languages
Japanese (ja)
Other versions
JPH0557969A (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.)
NIPPON DENKI DEETA KIKI KK
NEC Corp
Original Assignee
NIPPON DENKI DEETA KIKI KK
Nippon Electric 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 NIPPON DENKI DEETA KIKI KK, Nippon Electric Co Ltd filed Critical NIPPON DENKI DEETA KIKI KK
Priority to JP3253138A priority Critical patent/JP2752816B2/en
Publication of JPH0557969A publication Critical patent/JPH0557969A/en
Application granted granted Critical
Publication of JP2752816B2 publication Critical patent/JP2752816B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • 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 a printer device, and more particularly to a method of storing a character pattern when using characters of several types and character sizes.

【0002】[0002]

【従来技術】従来、プリンタ装置においては、図5に示
すように、プリンタ装置8を含むコンピュータシステム
の立上げ時に、印字動作に先立って文字書体と文字サイ
ズと文字コードと文字パターンとを上位装置インタフェ
ース7を介してホストコンピュータ(図示せず)から受
信する。
2. Description of the Related Art Conventionally, as shown in FIG. 5, when a computer system including a printer device 8 is started up, a character typeface, a character size, a character code and a character pattern are transferred to a host device prior to a printing operation, as shown in FIG. It is received from a host computer (not shown) via the interface 7.

【0003】プリンタ装置8ではホストコンピュータか
ら受信した文字書体と文字サイズとから該当する文字パ
ターン記憶部10〜13と文字パターン格納テーブル1
4〜17とが選択される。選択された文字パターン記憶
部10〜13には文字パターンが格納され、選択された
文字パターン格納テーブル14〜17には文字コードか
ら該当する文字パターンの文字パターン記憶部10〜1
3における格納アドレスを得るために作成された文字パ
ターン格納テーブルが格納される。
In the printer device 8, the character pattern storage units 10 to 13 and the character pattern storage table 1 corresponding to the character font and character size received from the host computer are used.
4 to 17 are selected. Character patterns are stored in the selected character pattern storage units 10 to 13, and the selected character pattern storage tables 14 to 17 are stored in the selected character pattern storage tables 14 to 17 based on the character codes.
The character pattern storage table created to obtain the storage address in No. 3 is stored.

【0004】システム動作時にはホストコンピュータか
ら送信されてくる文字種(文字書体)から該当する文字
パターン記憶部10〜13と文字パターン格納テーブル
14〜17とが選択される。その後に、ホストコンピュ
ータから送信されてくる文字コードに該当する文字パタ
ーンの格納アドレスを文字パターン格納テーブル14〜
17から得て、該格納アドレスによって文字パターン記
憶部10〜13から文字コードに対応する文字パターン
を読出す。文字パターン記憶部10〜13から読出され
た文字パターンは印字機構制御部5の制御の下に印字機
構部6で印字される。
During operation of the system, corresponding character pattern storage units 10 to 13 and character pattern storage tables 14 to 17 are selected from character types (character typefaces) transmitted from the host computer. After that, the storage addresses of the character patterns corresponding to the character codes transmitted from the host computer are stored in the character pattern storage tables 14 to 14.
17, the character pattern corresponding to the character code is read from the character pattern storage units 10 to 13 according to the storage address. The character patterns read from the character pattern storage units 10 to 13 are printed by the printing mechanism unit 6 under the control of the printing mechanism control unit 5.

【0005】尚、上記の制御は主制御部9によって行わ
れ、メインバス100を介して印字機構制御部5と、上位
装置インタフェース7と、文字パターン記憶部10〜1
3と、文字パターン格納テーブル14〜17とが夫々主
制御部9に接続されている。ここで、プリンタ装置8は
明朝体8K字とゴシック体8K字とについて夫々2種類
の文字サイズの文字の印字ができる装置を示している。
The above control is performed by the main control unit 9, and the printing mechanism control unit 5, the host device interface 7, and the character pattern storage units 10 to 1 are connected via the main bus 100.
3 and character pattern storage tables 14 to 17 are connected to the main controller 9 respectively. Here, the printer device 8 is a device capable of printing two types of character sizes for a Mincho 8K character and a Gothic 8K character.

【0006】このような従来のプリンタ装置では、文字
パターン記憶部10〜13と文字パターン格納テーブル
14〜17とが明朝体8K字用およびゴシック体8K字
用として予め用意されているため、書体数や文字数の組
合せを変更して文字パターンを登録することができない
という欠点がある。
In such a conventional printer, the character pattern storage units 10 to 13 and the character pattern storage tables 14 to 17 are prepared in advance for Mincho 8K characters and Gothic 8K characters. There is a drawback that a character pattern cannot be registered by changing the number or the combination of the number of characters.

【0007】また、コンピュータシステムの立上げ後に
文字パターン記憶部10〜13に格納されていない文字
書体あるいは文字サイズの文字を印字する必要が生じた
場合、プリンタ装置8には印字出力に必要な文字パター
ンが登録されていないため、印字出力ができないという
欠点がある。
When it is necessary to print a character font or a character of a character size not stored in the character pattern storage units 10 to 13 after the computer system is started up, the printer device 8 prints the characters necessary for print output. Since the pattern is not registered, there is a drawback that printing cannot be performed.

【0008】[0008]

【発明の目的】本発明は上記のような従来のものの欠点
を除去すべくなされたもので、ハードウェア構成を変更
することなく、文字書体と文字数と文字サイズとを自由
に設定することができるプリンタ装置の提供を目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made to eliminate the above-mentioned drawbacks of the prior art, and can freely set the character type, the number of characters, and the character size without changing the hardware configuration. It is intended to provide a printer device.

【0009】[0009]

【発明の構成】本発明によるプリンタ装置は、印字する
文字パターンのドットイメージを格納する文字パターン
格納手段と、前記文字パターンを登録するのに必要なエ
リアを前記文字パターン格納手段に確保できない時に上
位装置にその旨を通知して登録すべき文字パターンの少
なくとも書体情報と文字サイズ情報と文字数とを要求す
る手段と、前記書体情報と文字サイズ情報と文字数とを
少なくとも含む前記上位装置から文字情報に応じて前
記文字パターン格納手段の格納領域を分割する格納領域
分割手段と、前記格納領域分割手段によって分割された
前記格納領域のうち前記上位装置から送られてきた文字
パターンに付随する文字情報に対応する格納領域に該文
字パターンのドットイメージを格納するよう制御する格
納制御手段と、前記上位装置から送られてきた印字デー
タに付随する文字情報に対応する格納領域から前記文字
パターンのドットイメージを読出すよう制御する読出し
制御手段とを有することを特徴とする。
The printer apparatus according to the present invention SUMMARY OF THE INVENTION] comprises a character pattern storage means for storing the dot image of the character pattern to be printed, necessary to register the character pattern et
When the rear cannot be secured in the character pattern storage means,
Notification to that effect,
Request font type information, character size information and number of characters
Means for dividing a storage area of the character pattern storage means in accordance with character information from the higher-level device including at least the typeface information, character size information, and the number of characters; and Storage control means for controlling to store a dot image of the character pattern in a storage area corresponding to character information attached to the character pattern sent from the higher-level device in the divided storage areas; and and having a read control means for controlling so that the storage area corresponding to the character information associated with the print data sent reading dot image of the character pattern.

【0010】[0010]

【実施例】次に、本発明の一実施例について図面を参照
して説明する。
Next, an embodiment of the present invention will be described with reference to the drawings.

【0011】図1は本発明の一実施例の構成を示すブロ
ック図である。図において、プリンタ装置1は自装置を
含むコンピュータシステムの立上げ時に、印字動作に先
立って文字書体と文字サイズと文字数と文字コードと文
字パターンとを上位装置インタフェース7を介してホス
トコンピュータ(図示せず)から受信する。
FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention. In the figure, when starting up a computer system including its own device, a printer device 1 transmits a character type, a character size, the number of characters, a character code and a character pattern via a host device interface 7 (shown in FIG. 1) prior to a printing operation. Zu).

【0012】プリンタ装置1ではホストコンピュータか
ら受信した文字書体と文字サイズと文字数とに基づい
て、文字パターン記憶部3および文字パターン格納テー
ブル4に必要なメモリ量を確保する。文字パターン記憶
部3の確保された領域には文字パターンのドットイメー
ジが格納され、文字パターン格納テーブル4の確保され
た領域には文字コードから該当する文字パターンの文字
パターン記憶部3の確保された領域における格納アドレ
スを得るために作成された文字パターン格納テーブルが
格納される。
The printer device 1 secures a necessary memory amount in the character pattern storage unit 3 and the character pattern storage table 4 based on the character typeface, character size, and number of characters received from the host computer. In the reserved area of the character pattern storage unit 3, the dot image of the character pattern is stored, and in the reserved area of the character pattern storage table 4, the character pattern storage unit 3 of the corresponding character pattern is reserved from the character code. A character pattern storage table created to obtain a storage address in the area is stored.

【0013】システム動作時にはホストコンピュータか
ら送信されてくる文字書体と文字サイズとに基づいて、
文字パターン記憶部3および文字パターン格納テーブル
4の中から必要なテーブルを選択する。その後に、ホス
トコンピュータから送信されてくる文字コードに該当す
る文字パターンの格納アドレスを文字パターン格納テー
ブル4から得て、該格納アドレスによって文字パターン
記憶部3から文字コードに対応する文字パターンのドッ
トイメージを読出し、印字機構制御部5の制御の下にそ
の文字パターンのドットイメージの印字を印字機構部6
で行う。
At the time of system operation, based on the character font and character size transmitted from the host computer,
A required table is selected from the character pattern storage unit 3 and the character pattern storage table 4. Thereafter, the storage address of the character pattern corresponding to the character code transmitted from the host computer is obtained from the character pattern storage table 4, and the dot address of the character pattern corresponding to the character code is stored in the character pattern storage unit 3 by the storage address. Under the control of the printing mechanism control unit 5 to print a dot image of the character pattern.
Do with.

【0014】図2は図1の文字パターン記憶部3の分割
例を示す図であり、図3は図1の文字パターン格納テー
ブル4の分割例を示す図である。これらの図において、
明朝体8K字とゴシック体8K字とについて夫々2種類
の文字サイズについて格納しようとする場合、文字パタ
ーン記憶部3には明朝体1用文字パターン記憶エリア3
1と、明朝体2用文字パターン記憶エリア32と、ゴシ
ック体1用文字パターン記憶エリア33と、ゴシック体
2用文字パターン記憶エリア34とが夫々確保される。
また、文字パターン格納テーブル4には文字パターン記
憶部3の各領域に対応して、明朝体1用文字パターン格
納テーブル41と、明朝体2用文字パターン格納テーブ
ル42と、ゴシック体1用文字パターン格納テーブル4
3と、ゴシック体2用文字パターン格納テーブル44と
が夫々確保される。
FIG. 2 is a diagram showing an example of division of the character pattern storage unit 3 of FIG. 1, and FIG. 3 is a diagram showing an example of division of the character pattern storage table 4 of FIG. In these figures,
When two types of character sizes are to be stored for the Mincho 8K character and the Gothic 8K character, respectively, the character pattern storage unit 3 stores the character pattern storage area 3 for Mincho 1
1, a character pattern storage area 32 for Mincho style 2, a character pattern storage area 33 for Gothic style 1, and a character pattern storage area 34 for Gothic style 2.
The character pattern storage table 4 corresponds to each area of the character pattern storage unit 3 and includes a character pattern storage table 41 for Mincho 1, a character pattern storage table 42 for Mincho 2, and a Gothic 1. Character pattern storage table 4
3 and a character pattern storage table 44 for Gothic body 2 are each secured.

【0015】図4は本発明の一実施例による文字パター
ンの登録処理を示す図である。図において、文字種が明
朝体、文字サイズが「1」、文字コードが「××××」
の文字パターンを登録する場合、文字パターン格納テー
ブル4の明朝体1用文字パターン格納テーブル41に該
文字パターンの文字パターン記憶部3における格納アド
レスが格納され、該文字パターンが文字パターン記憶部
3の明朝体1用文字パターン記憶エリア31に格納され
る。
FIG. 4 is a diagram showing a character pattern registration process according to one embodiment of the present invention. In the figure, the character type is Mincho, the character size is "1", and the character code is "xxx".
When the character pattern is registered, the storage address of the character pattern in the character pattern storage unit 3 is stored in the character pattern storage table 41 for Mincho 1 in the character pattern storage table 4, and the character pattern is stored in the character pattern storage unit 3. Is stored in the character pattern storage area 31 for Mincho style.

【0016】これら図1〜図4を用いて本発明の一実施
例の動作について説明する。コンピュータシステムの立
上げ時に、プリンタ装置1は印字動作に先立って文字パ
ターンの格納処理を行う。
The operation of the embodiment of the present invention will be described with reference to FIGS. When the computer system is started up, the printer device 1 performs a character pattern storage process prior to a printing operation.

【0017】プリンタ装置1は自己診断終了後にホスト
コンピュータと通信可能な状態になると、ホストコンピ
ュータがこれから送信しようとする文字パターンの書体
数や文字サイズ、および文字数などの情報を含む文字登
録指令を上位装置インタフェース7を介して受信する。
プリンタ装置1では文字登録指令を受信すると、主制御
部2がその文字登録指令に基づいて文字パターン記憶部
3および文字パターン格納テーブル4に必要なメモリ量
を確保し、文字パターン記憶部3および文字パターン格
納テーブル4の初期化を行う。
When the printer device 1 becomes communicable with the host computer after completion of the self-diagnosis, the host computer issues a character registration command including information such as the number of fonts, the character size, and the number of characters of the character pattern to be transmitted from the host computer. It is received via the device interface 7.
When the printer device 1 receives the character registration command, the main control unit 2 secures necessary memory amounts in the character pattern storage unit 3 and the character pattern storage table 4 based on the character registration command, The pattern storage table 4 is initialized.

【0018】たとえば、これから明朝体8K字とゴシッ
ク体8K字とについて夫々2種類の文字サイズについて
格納しようとする場合、図2および図3に示すように、
文字パターン記憶部3および文字パターン格納テーブル
4を分割する。すなわち、主制御部2は文字パターン記
憶部3に明朝体1用文字パターン記憶エリア31と、明
朝体2用文字パターン記憶エリア32と、ゴシック体1
用文字パターン記憶エリア33と、ゴシック体2用文字
パターン記憶エリア34とを夫々確保する。同様に、主
制御部2は文字パターン格納テーブル4に文字パターン
記憶部3の各領域に対応して明朝体1用文字パターン格
納テーブル41と、明朝体2用文字パターン格納テーブ
ル42と、ゴシック体1用文字パターン格納テーブル4
3と、ゴシック体2用文字パターン格納テーブル44と
を夫々確保する。
For example, in the case where two types of character sizes are to be stored for Mincho-style 8K characters and Gothic-type 8K characters, as shown in FIGS. 2 and 3,
The character pattern storage unit 3 and the character pattern storage table 4 are divided. That is, the main control unit 2 stores the character pattern storage area 31 for Mincho style 1, the character pattern storage area 32 for Mincho style 2 and the Gothic style 1
And a character pattern storage area for Gothic body 2 are secured. Similarly, the main control unit 2 stores a character pattern storage table 41 for Mincho style 1 and a character pattern storage table 42 for Mincho style 2 in the character pattern storage table 4 corresponding to each area of the character pattern storage unit 3. Gothic type 1 character pattern storage table 4
3 and a Gothic 2 character pattern storage table 44 are secured.

【0019】このとき、文字パターン記憶部3または文
字パターン格納テーブル4の記憶容量を越える文字パタ
ーンを登録しようとして必要なエリアを確保できない場
合、主制御部2は上位装置インタフェース7を介してホ
ストコンピュータにその旨を通知し、ホストコンピュー
タに再度これから送信しようとする文字パターンの書体
数や文字サイズ、および文字数などの情報を送信させ
る。
At this time, if a necessary area cannot be ensured by registering a character pattern exceeding the storage capacity of the character pattern storage unit 3 or the character pattern storage table 4, the main control unit 2 sends the host computer via the host device interface 7 to the host computer. To the host computer, and the host computer again transmits information such as the number of fonts, the character size, and the number of characters of the character pattern to be transmitted.

【0020】次に、主制御部2は文字パターン記憶部3
および文字パターン格納テーブル4の分割処理と初期化
処理とが終了すると、プリンタ装置1への文字パターン
の登録処理を行う。プリンタ装置1に文字パターンを登
録するには少なくとも文字パターンの1文字に対して文
字パターンと、文字サイズと、文字書体の情報とをホス
トコンピュータから受信する必要がある。
Next, the main control unit 2 stores a character pattern storage unit 3
When the division processing and the initialization processing of the character pattern storage table 4 are completed, the registration processing of the character pattern in the printer 1 is performed. In order to register a character pattern in the printer device 1, it is necessary to receive a character pattern, a character size, and character type information for at least one character of the character pattern from the host computer.

【0021】主制御部2はホストコンピュータから受信
した文字書体および文字サイズから、文字パターン記憶
部3および文字パターン格納テーブル4の中から使用す
るテーブルを選択する。その後に、主制御部2は選択さ
れた文字パターン格納テーブル4のテーブルにおいて、
ホストコンピュータから受信した文字コードに対応する
位置に文字パターンの格納アドレスを記憶する。最後
に、主制御部2は該文字パターンの格納アドレスに基づ
いて文字パターン記憶部3に該文字パターンを格納す
る。この処理を必要回数行うことによって、文字パター
ンの格納処理が終了する(図4参照)。
The main control unit 2 selects a table to be used from the character pattern storage unit 3 and the character pattern storage table 4 based on the character type and character size received from the host computer. After that, the main control unit 2 determines in the table of the selected character pattern storage table 4 that
The storage address of the character pattern is stored at a position corresponding to the character code received from the host computer. Finally, the main control unit 2 stores the character pattern in the character pattern storage unit 3 based on the storage address of the character pattern. By performing this process a required number of times, the character pattern storage process ends (see FIG. 4).

【0022】システム動作時にプリンタ装置1が印字出
力を行う場合、ホストコンピュータから送信される印字
データを上位装置インタフェース7を介して受信する
と、主制御部2はホストコンピュータからの印字データ
中の文字書体および文字サイズから文字パターン記憶部
3および文字パターン格納テーブル4の中から必要なテ
ーブルを選択する。その後に、主制御部2は選択された
文字パターン格納テーブル4のテーブルから文字パター
ンの格納アドレスを得て、文字パターン記憶部3から該
文字コードに対応する文字パターンを引き出し、指定さ
れた印字位置に該文字パターンのドットイメージを展開
して印字機構部6によって該文字パターンの印字出力を
行う。
When the printer 1 prints out during system operation, when the print data transmitted from the host computer is received via the host device interface 7, the main control unit 2 executes the character font in the print data from the host computer. Then, a required table is selected from the character pattern storage unit 3 and the character pattern storage table 4 based on the character size. Thereafter, the main control unit 2 obtains the storage address of the character pattern from the selected character pattern storage table 4, retrieves the character pattern corresponding to the character code from the character pattern storage unit 3, and specifies the designated printing position. Then, the dot image of the character pattern is developed and the printing mechanism unit 6 prints out the character pattern.

【0023】一方、ある印字動作の終了後、次の印字出
力に対して現在プリンタ装置1内部に登録されていない
文字書体、またはプリンタ装置1内部に登録されていな
い文字サイズを使用する必要が生じた場合、プリンタ装
置1は文字パターンの追加または再登録を行う。
On the other hand, after the end of a certain printing operation, it is necessary to use a character font not currently registered in the printer 1 or a character size not registered in the printer 1 for the next print output. In this case, the printer 1 adds or re-registers the character pattern.

【0024】文字パターンの追加を行う場合、主制御部
2はホストコンピュータから文字パターン追加情報を受
信すると、文字パターン記憶部3および文字パターン格
納テーブル4に空き領域があるか否かを判定する。主制
御部2は空き領域があると判定すると、文字パターン記
憶部3および文字パターン格納テーブル4各々の空き領
域に追加を行う文字パターンの文字パターン記憶エリア
および文字パターン格納テーブルを夫々確保する。その
後に、主制御部2は上述した処理と同様にして、追加を
行う文字パターンおよびその格納アドレスを確保した文
字パターン記憶エリアおよび文字パターン格納テーブル
に夫々格納する。
When adding a character pattern, the main control unit 2 receives the character pattern addition information from the host computer, and determines whether or not there is an empty area in the character pattern storage unit 3 and the character pattern storage table 4. When determining that there is a free area, the main control unit 2 secures a character pattern storage area and a character pattern storage table of a character pattern to be added to each of the free areas of the character pattern storage unit 3 and the character pattern storage table 4. Thereafter, the main control unit 2 stores the character pattern to be added and the storage address of the character pattern in the character pattern storage area and the character pattern storage table, respectively, in a manner similar to the above-described processing.

【0025】一方、主制御部2は空き領域がないと判定
すると、文字パターン記憶部3および文字パターン格納
テーブル4各々に格納された文字パターンおよびその格
納アドレスから不必要な文字パターンおよびその格納ア
ドレスを消去し、消去した文字パターン記憶部3および
文字パターン格納テーブル4各々の領域に追加を行う文
字パターンおよびその格納アドレスを夫々格納する。
尚、文字パターンの再登録も上述した処理と同様にして
行われる。
On the other hand, if the main control unit 2 determines that there is no free area, the character pattern stored in the character pattern storage unit 3 and the character pattern stored in the character pattern storage table 4 and the storage address thereof are used to determine the unnecessary character pattern and its storage address. Is deleted, and the character pattern to be added and the storage address thereof are stored in the areas of the deleted character pattern storage unit 3 and character pattern storage table 4, respectively.
Note that the re-registration of the character pattern is performed in the same manner as the above-described processing.

【0026】このように、コンピュータシステムの立上
げ時に、ホストコンピュータから受信した文字書体や文
字サイズ、および文字数などの情報に基づいて文字パタ
ーン記憶部3および文字パターン格納テーブル4に必要
なメモリ量を確保して初期化し、ホストコンピュータか
ら受信した文字書体および文字サイズから文字パターン
記憶部3および文字パターン格納テーブル4の中から使
用するテーブルを選択してホストコンピュータから受信
した文字コードに対応する位置に文字パターンの格納ア
ドレスを記憶するとともに、該文字パターンの格納アド
レスに基づいて文字パターン記憶部3に該文字パターン
を格納するようにすることによって、ハードウェア構成
を変更することなく、文字書体と文字数と文字サイズと
を自由に設定することができる。
As described above, when starting up the computer system, the amount of memory required for the character pattern storage unit 3 and the character pattern storage table 4 is determined based on information such as the character type, character size, and number of characters received from the host computer. The table to be used is selected from the character pattern storage unit 3 and the character pattern storage table 4 based on the character type and character size received from the host computer, and is located at a position corresponding to the character code received from the host computer. By storing the storage address of the character pattern and storing the character pattern in the character pattern storage unit 3 based on the storage address of the character pattern, the character font and the number of characters can be changed without changing the hardware configuration. And font size can be set freely Door can be.

【0027】また、文字パターンの追加または再登録を
行う場合、文字パターン記憶部3および文字パターン格
納テーブル4に空き領域があるか否かを判定し、空き領
域があればその空き領域に、空き領域がなければ文字パ
ターン記憶部3および文字パターン格納テーブル4各々
に格納された文字パターンおよびその格納アドレスから
不必要な文字パターンおよびその格納アドレスを消去し
た領域に、追加または再登録を行う文字パターンおよび
その格納アドレスを格納するようにすることによって、
次の印字出力に対して現在プリンタ装置1内部に登録さ
れていない文字書体、またはプリンタ装置1内部に登録
されていない文字サイズを使用する必要が生じた場合で
もそれに対応することができ、限られたメモリ資源を有
効に活用することができる。
In addition, when adding or re-registering a character pattern, it is determined whether or not there is an empty area in the character pattern storage unit 3 and the character pattern storage table 4. If there is no area, the character pattern stored in the character pattern storage unit 3 and the character pattern storage table 4 and the character pattern to be added or re-registered in the area where the unnecessary character pattern and the storage address are deleted from the storage address are deleted. And by storing its storage address,
Even if it is necessary to use a character type that is not currently registered in the printer 1 or a character size that is not registered in the printer 1 for the next print output, it is possible to cope with such a case. Memory resources can be used effectively.

【0028】[0028]

【発明の効果】以上説明したように本発明によれば、上
位装置から送られてきた文字情報に応じて文字パターン
の格納領域を分割し、その分割された格納領域のうち上
位装置から送られてきた文字パターンに付随する文字情
報に対応する格納領域に該文字パターンのドットイメー
ジを格納するよう制御するとともに、上位装置から送ら
れてきた印字データに付随する文字情報に対応する格納
領域から文字パターンのドットイメージを読出すよう制
御するようにすることによって、ハードウェア構成を変
更することなく、文字書体と文字数と文字サイズとを自
由に設定することができるという効果がある。
As described above, according to the present invention, the storage area of the character pattern is divided according to the character information transmitted from the higher-level device, and the divided storage area is transmitted from the higher-level device. In addition to controlling to store the dot image of the character pattern in the storage area corresponding to the character information attached to the received character pattern, the characters are stored in the storage area corresponding to the character information associated with the print data sent from the host device. By controlling to read the dot image of the pattern, there is an effect that the character typeface, the number of characters, and the character size can be set freely without changing the hardware configuration.

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

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

【図2】図1の文字パターン記憶部の分割例を示す図で
ある。
FIG. 2 is a diagram illustrating an example of division of a character pattern storage unit in FIG. 1;

【図3】図1の文字パターン格納テーブルの分割例を示
す図である。
FIG. 3 is a diagram showing an example of division of the character pattern storage table of FIG. 1;

【図4】本発明の一実施例による文字パターンの登録処
理を示す図である。
FIG. 4 is a diagram showing a character pattern registration process according to one embodiment of the present invention.

【図5】従来例の構成を示すブロック図である。FIG. 5 is a block diagram showing a configuration of a conventional example.

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

1 プリンタ装置 2 主制御部 3 文字パターン記憶部 4 文字パターン格納テーブル 31 明朝体1用文字パターン記憶エリア 32 明朝体2用文字パターン記憶エリア 33 ゴシック体1用文字パターン記憶エリア 34 ゴシック体2用文字パターン記憶エリア 41 明朝体1用文字パターン格納テーブル 42 明朝体2用文字パターン格納テーブル 43 ゴシック体1用文字パターン格納テーブル 44 ゴシック体2用文字パターン格納テーブル REFERENCE SIGNS LIST 1 printer device 2 main control unit 3 character pattern storage unit 4 character pattern storage table 31 character pattern storage area for Mincho 1 character pattern storage area 32 for Mincho 2 character pattern storage area for Gothic 1 character 34 gothic 2 Character pattern storage area 41 Mincho 1 character pattern storage table 42 Mincho 2 character pattern storage table 43 Gothic 1 character pattern storage table 44 Gothic 2 character pattern storage table

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平2−130168(JP,A) 特開 昭64−58014(JP,A) 特開 昭57−174765(JP,A) 特開 平4−173272(JP,A) 特開 平2−729743(JP,A) 特開 平2−301464(JP,A) ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-2-130168 (JP, A) JP-A 64-58014 (JP, A) JP-A-57-174765 (JP, A) JP-A 4- 173272 (JP, A) JP-A-2-729743 (JP, A) JP-A-2-301146 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 印字する文字パターンのドットイメージ
を格納する文字パターン格納手段と、前記文字パターン
を登録するのに必要なエリアを前記文字パターン格納手
段に確保できない時に上位装置にその旨を通知して登録
すべき文字パターンの少なくとも書体情報と文字サイズ
情報と文字数とを要求する手段と、前記書体情報と文字
サイズ情報と文字数とを少なくとも含む前記上位装置か
文字情報に応じて前記文字パターン格納手段の格納
領域を分割する格納領域分割手段と、前記格納領域分割
手段によって分割された前記格納領域のうち前記上位装
置から送られてきた文字パターンに付随する文字情報に
対応する格納領域に該文字パターンのドットイメージを
格納するよう制御する格納制御手段と、前記上位装置か
ら送られてきた印字データに付随する文字情報に対応す
る格納領域から前記文字パターンのドットイメージを読
出すよう制御する読出し制御手段とを有することを特徴
とするプリンタ装置。
1. A character pattern storage means for storing the dot image of the character pattern to be printed, the character pattern
The area required to register
When it is not possible to secure the level, notify the higher-level device and register
At least typeface information and character size of the character pattern to be
Means for requesting information and the number of characters, storage area dividing means for dividing the storage area of the character pattern storage means according to the character information from the upper device including at least the typeface information, character size information and the number of characters, Storage control means for controlling to store a dot image of the character pattern in a storage area of the storage area divided by the storage area division means, the storage area corresponding to character information attached to the character pattern sent from the host device When the printer apparatus characterized by comprising a reading control means for controlling so as to read the dot image of the character pattern from the storage area corresponding to the character information associated with the print data sent from the host device.
【請求項2】 前記文字パターン格納手段への文字パタ
ーンの追加情報を前記上位装置から受信した時に前記文
字パターン格納手段に空き領域があるか否かを判定する
判定手段と、前記判定手段によって空き領域があると判
定された時にその空き領域に前記文字パターン格納手段
に該文字パターンのドットイメージの格納領域を確保す
る格納領域確保手段と、前記判定手段によって空き領域
がないと判定された時に不必要な文字パターンの領域を
消去して該領域に文字パターンを追加登録する手段と
含むことを特徴とする請求項1記載のプリンタ装置。
Wherein a determination unit configured to determine whether there is free space in the character pattern storage means when the additional information of the character pattern into the character pattern storage means is received from the host system, free by the determining means If there is an area
A storage area securing means to secure a storage area of the dot image of the character pattern in the character pattern storage means in the free space when they are constant, free space by said determining means
When it is determined that there is no unnecessary character pattern area
Means for deleting and additionally registering a character pattern in the area.
The printer device according to claim 1, further comprising:
JP3253138A 1991-09-04 1991-09-04 Printer device Expired - Fee Related JP2752816B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3253138A JP2752816B2 (en) 1991-09-04 1991-09-04 Printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3253138A JP2752816B2 (en) 1991-09-04 1991-09-04 Printer device

Publications (2)

Publication Number Publication Date
JPH0557969A JPH0557969A (en) 1993-03-09
JP2752816B2 true JP2752816B2 (en) 1998-05-18

Family

ID=17247042

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3253138A Expired - Fee Related JP2752816B2 (en) 1991-09-04 1991-09-04 Printer device

Country Status (1)

Country Link
JP (1) JP2752816B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57174765A (en) * 1981-04-20 1982-10-27 Ricoh Co Ltd Word processor
JPS6458014A (en) * 1987-08-28 1989-03-06 Alps Electric Co Ltd Control system for character font
JP2986478B2 (en) * 1988-11-10 1999-12-06 松下電器産業株式会社 Character processor
JPH04173272A (en) * 1990-11-07 1992-06-19 Hitachi Ltd Multiple face font control system

Also Published As

Publication number Publication date
JPH0557969A (en) 1993-03-09

Similar Documents

Publication Publication Date Title
JP2500976B2 (en) Printing method in data processing system
JP2861404B2 (en) Printing device
JP2752816B2 (en) Printer device
JPS61250722A (en) Printer
JPH0434505B2 (en)
JPH0616764Y2 (en) Dot matrix printer
JPH03114856A (en) Printer data management system
JP2744025B2 (en) Printing control device
JPH05116377A (en) Printer
JP3193551B2 (en) Printing equipment
JP3054157B2 (en) Character processing device and character processing method
JPS63242561A (en) Font reducing system
JP2738174B2 (en) Format control method
JPH0834142A (en) Pie character printing apparatus
JP3082972B2 (en) Character processing apparatus and method
JP2940140B2 (en) Document data processing device
JPH06183093A (en) Printing equipment
JPH06242904A (en) Printer
JPH0462075A (en) Font data recording system of printer
JPH06183074A (en) Character processing device
JPH05138957A (en) Printer
JPH02202461A (en) Recording device
JPH0619641A (en) Printing control system
JP2001117742A (en) External character printing control system
JPH0725081A (en) Printer controller

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080227

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090227

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100227

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100227

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110227

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees