[go: up one dir, main page]

JPH0416368A - Controlling method for external character printing - Google Patents

Controlling method for external character printing

Info

Publication number
JPH0416368A
JPH0416368A JP2117686A JP11768690A JPH0416368A JP H0416368 A JPH0416368 A JP H0416368A JP 2117686 A JP2117686 A JP 2117686A JP 11768690 A JP11768690 A JP 11768690A JP H0416368 A JPH0416368 A JP H0416368A
Authority
JP
Japan
Prior art keywords
external character
character table
external
codes
sub
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
JP2117686A
Other languages
Japanese (ja)
Inventor
Hideichiro Aoki
秀一郎 青木
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2117686A priority Critical patent/JPH0416368A/en
Publication of JPH0416368A publication Critical patent/JPH0416368A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To make external character codes registerable in the number more than the registration in an external character table on the main body side of a printer by a method wherein external character codes exceeding the maximum capacity of the external character table member are registered in a sub-external character table member. CONSTITUTION:An external character table member GTB is provided in conformity with a main body side external character table of a printer 1, and codes for once-used characters are registered therein. A sub-external character table member SGTB puts external character codes and external character patterns for registration therein. A printer control firmware consists of a CPU 11, the external character table member GTB, and the sub-external character table member SGTB. The external table is a table provided on the main body side of the printer 1, and is different from both the external character table member GTB and the sub-external character table member SGTB. In the case where the codes of the external character provided in conformity with the external character table on the main body side of the printer 1 for registration in the external character table member GTB exceed the maximum capacity of said external character table member in such structure, excess external character codes are registered in the sub-external character table member SGTB.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明はプリロード機能を有するプリンタにおける外
字印字制御方式に関し、特にプリンタ制御ファームウェ
ア部に外字テーブル部およびサブ外字テーブル部を設け
て外字印字動作の高速化を図った外字印字制御方式に関
する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an external character printing control method in a printer having a preload function, and in particular, a system for controlling external character printing by providing an external character table section and a sub-external character table section in the printer control firmware section. Related to a high-speed external character printing control method.

[従来の技術] 従来のプリンタ制御ファームウェア部には、最に、1つ
の外字テーブル部が備えられている。
[Prior Art] A conventional printer control firmware section is provided with one external character table section.

そして、この外字テーブル部に登録された範囲の外字に
関しては、外字ファイルをアクセスすることなく、高速
な外字印字動作ができるようになっている。
Regarding the external characters in the range registered in this external character table section, high-speed external character printing operation can be performed without accessing the external character file.

[発明が解決しようとする課題] しかし、上述した従来のプリンタ制御ファームウェア部
に備えられた外字テーブル部に登録できる外字コードの
数と、プリンタ装置の本体側に備えられた外字テーブル
に登録できる外字コードの数は等しいので、登録できる
外字コードの数を超えて新たな外字コードを登録するよ
うな場合は、プリンタ制御ファームウェア部の外字テー
ブル部およびプリンタ本体側の外字テーブルには、とも
に、これらの先頭領域から新たな外字コードが登録され
ることになり、この結果、すでに先頭領域に登録されて
いた外字コードが消去される。
[Problems to be Solved by the Invention] However, the number of external character codes that can be registered in the external character table section provided in the conventional printer control firmware section mentioned above and the external characters that can be registered in the external character table provided on the main body side of the printer device are limited. The number of codes is the same, so if you want to register new custom character codes that exceed the number of custom character codes that can be registered, these codes will be stored in both the printer control firmware's custom character table and the printer main body's custom character table. A new private character code will be registered starting from the top area, and as a result, the private character code already registered in the top area will be deleted.

このため、このような消去された外字コードを印字する
場合には、新たに外字ファイルをアクセスしなくてはな
らず、この結果、外字コードの印字動作が遅くなるとい
う問題があった。
Therefore, when printing such erased external character codes, it is necessary to newly access the external character file, resulting in a problem that the printing operation of the external character codes becomes slow.

[課題を解決するための手段] プリンタ装置の本体側の外字テーブルに対応して設けら
れ一度印字された外字コードを登録する外字テーブル部
と、プリンタ装置の本体側の外字テーブルに対応して設
けられ登録される外字コードが外字テーブル部の最大容
量を超えたときに超過分の外字コードを登録するサブ外
字テーブル部とを備えたものである。
[Means for solving the problem] An external character table part is provided corresponding to the external character table on the main body side of the printer device and registers the external character code once printed, and an external character table section is provided corresponding to the external character table on the main body side of the printer device. When the number of registered external character codes exceeds the maximum capacity of the external character table section, the sub-external character table section is provided for registering the excess external character codes.

[作用] 登録される外字コードが外字テーブル部の最大容量を超
えた場合は、この超過分の外字コードはサブ外字テーブ
ル部に登録される。
[Operation] If the number of registered external character codes exceeds the maximum capacity of the external character table section, the excess external character codes are registered in the sub-external character table section.

[実施例] 次にこの発明について図面を参照して説明する。[Example] Next, the present invention will be explained with reference to the drawings.

第1図はこの発明の外字印字制御方式を適用したプリン
タ装置の一実施例を示すブロック図である。同図におい
て、】はプリンタ装置、2はパソコンおよびワープロ等
の上位装置、11はこのプリンタ装置1の制御を行うC
PU、12はCPU11からの印字データを受信して印
字を行う印字駆動部、GTBは外字コードを登録するテ
ーブル部、5GTBは外字コードおよび外字バタンを登
録するサブ外字テーブル部である。なお、CPU11、
外字テーブル部GTBおよびサブ外字テーブル部5GT
Bを含めてプリンタ制御ファームウェアと呼称する。
FIG. 1 is a block diagram showing an embodiment of a printer device to which the external character printing control method of the present invention is applied. In the figure, ] is a printer device, 2 is a host device such as a personal computer or a word processor, and 11 is a C controller that controls the printer device 1.
PU and 12 are print drive units that receive print data from the CPU 11 and perform printing; GTB is a table unit that registers external character codes; and 5GTB is a sub external character table unit that registers external character codes and external character buttons. In addition, CPU11,
External character table section GTB and sub external character table section 5GT
The firmware including B is called printer control firmware.

次に、以上のように構成されたプリンタ装置1内のCP
UIIの動作を第2図のフローチャートに基づいて説明
する。
Next, the CP in the printer device 1 configured as described above
The operation of the UII will be explained based on the flowchart in FIG.

まず、初めにステップ50においてカウンタの値が「0
」に設定される。続いて、ステップ51で外字コードG
ET、すなわち上位装置2から送信される外字コードを
入力する。そして、ステップ52でこの受信した外字コ
ードに基づき外字コードが登録されているテーブル部G
TBを検索し、ステップ53で外字コード発見?の判断
、すなわちこのテーブル部GTBの中に受信した外字コ
ードが存在するか否かが判断され、これが発見されて「
Y」となると、ステップ54でこの外字コードを印字駆
動部12に出力して、ステップ55で印字駆動部12に
印字させ、ステップ56で印字されるデータ(外字コー
ド)が存在するか否かが判断され、これが「N」の場合
はステップ51に戻って上位装置2から送信される外字
コードを入力してステップ52以降の処理を実行するが
、「Y」と判断されるとそのまま終了する。
First, in step 50, the value of the counter is "0".
” is set. Next, in step 51, the external character code G
ET, that is, input the external character code sent from the host device 2. Then, in step 52, the table section G in which the external character code is registered based on the received external character code.
Search TB and find the external character code in step 53? In other words, it is determined whether or not the received external character code exists in this table section GTB.
Y", this external character code is output to the print drive unit 12 in step 54, the print drive unit 12 is printed in step 55, and it is determined in step 56 whether or not there is data to be printed (external character code). If the result is "N", the process returns to step 51, the external character code sent from the host device 2 is input, and the processing from step 52 onwards is executed; however, if the result is "Y", the process ends.

外字テーブルGTBを検索した結果、受信した外字コー
ドが発見できなければ、ステップ53で「N」となり、
この場合は、ステップ60で後述する外字テーブル部G
TBの2ndフラグのオンを検出して外字テーブル部G
TBの2周目の登録アクセスがなされたか否かを判断し
、これが「N」の場合は、1周目ということで、ステッ
プ61でアクセス時間のかかる外字ファイルをアクセス
してその結果、受信した外字コードに対応した外字コー
ドおよび外字バタンをステップ62でサブテーブル部5
GTF3に登録するとともに、ステップ63でこれらの
外字コードおよび外字バタンを外字テーブルGTHに登
録して、ステップ64でカウンタを1だけ増加させる。
As a result of searching the external character table GTB, if the received external character code cannot be found, the result is "N" in step 53.
In this case, in step 60, the external character table section G
Detects that the 2nd flag of TB is on and displays the external character table section G.
It is determined whether or not the second registered access to the TB has been made, and if this is "N", it means that it is the first round, and in step 61, the external character file that takes time to access is accessed, and as a result, it is received. The custom character code and custom character button corresponding to the custom character code are stored in the sub-table section 5 in step 62.
At the same time as registering them in GTF3, in step 63 these private character codes and private character buttons are registered in the private character table GTH, and in step 64 the counter is incremented by one.

こうして、各デープル部には、第3図の(1)図7(2
)図に示されるような状況で外字コードおよび外字バタ
ンか登録される。ここで、説明を省略したが、第3図に
示される外字テーブルというのは、プリンタ装置1の本
体側に設けられたテーブルであり、外字テーブル部GT
B、サブ外字テーブル部5GTBとは異なるものである
。そして、このとき、本体側の外字テーブルにも同時に
外字コードA、B、  ・・・および外字バタンA’ 
、B”・・・の各データがカウンタの値、すなわちテー
ブルNOの示すアドレスに順次登録されるものとなって
いる。また、本実施例の場合、各テーブル部に登録でき
る外字コードの数は、テーブルNoの最大値で示されて
おり、これはそれぞれ最大256個となっていて、テー
ブルNo、1〜NO,256まで順次外字コードが登録
され、これが−巡すると2周目に入って再びデープルN
001から登録されるものとなっている。
In this way, each daple part is
) A private character code and a private character button are registered in the situation shown in the figure. Although the explanation is omitted here, the external character table shown in FIG. 3 is a table provided on the main body side of the printer device 1, and the external character table section GT
B. This is different from the sub-external character table section 5GTB. At this time, the external character codes A, B, ... and the external character button A' are also displayed on the external character table on the main body side.
, B", etc. are sequentially registered in the counter value, that is, the address indicated by the table number. In addition, in the case of this embodiment, the number of external character codes that can be registered in each table section is , is indicated by the maximum value of the table number, which is a maximum of 256 for each, and the external character codes are registered sequentially from table number 1 to table number 256, and when this goes around, it enters the second round and is registered again. Daple N
It is to be registered starting from 001.

そして上記したように、ステップ64でカウンタの値が
1だけ増加されると、続いてステップ65でカウント値
が100H以下の判断、すなわちカウント値が256以
下であるかの判断が行われ、これが[YJの場合は、ス
テップ66でこの外字コードおよび外字パタンか印字駆
動部12に出力され、この結果、ステップ55以降の印
字処理が行われる。
As described above, when the counter value is incremented by 1 in step 64, it is then determined in step 65 that the count value is 100H or less, that is, it is determined whether the count value is 256 or less, and this is [ In the case of YJ, the external character code and external character pattern are outputted to the print drive unit 12 in step 66, and as a result, the printing process from step 55 onwards is performed.

また、カウント値が1001−1より大きい場合は、ス
テップ65で「N」と判断され、この場合はステップ6
7でカウント値が200H以下、すなわち512以下で
あるかの判断が行われる9そしてこれが「Y」と判断さ
れる場合は、外字テーブル部GTBへの登録アクセスが
2周目に入ったということで、ステップ68でGTBの
2 n riミツラグオンさせ、ステップ66以降の外
字コード、外字パタンの出力および印字処理を行う。
Further, if the count value is larger than 1001-1, it is determined as "N" in step 65, and in this case, step 6
At step 7, it is determined whether the count value is 200H or less, that is, 512 or less.9 If this is determined to be "Y", it means that the registration access to the external character table section GTB has entered the second round. , In step 68, 2 nri of GTB is turned on, and the output and printing process of the external character code and external character pattern from step 66 onwards is performed.

また、カウント値が512より大きくなった場合は、ス
テップ67で「N」と判断され、この場合は外字テーブ
ル部GTBの登録アクセスが3周目に入ったということ
で、このときは1周目に戻すためにステップ69でGT
Bの2ndフラグをオフさせ、続いてステップ70でカ
ウント値を「0」に設定して、ステップ66以降の外字
コード、外字パタンの出力および印字処理を行う。
In addition, if the count value becomes larger than 512, it is judged as "N" in step 67, and in this case, it means that the registration access of the external character table section GTB has entered the third round, and in this case, the first round GT in step 69 to return to
The 2nd flag of B is turned off, and then the count value is set to "0" in step 70, and the output and printing process of the external character code and external character pattern from step 66 onwards is performed.

次に、ステップ60において外字テーブル部GTBの登
録アクセスが2周目に入りGTBの2ndフラグのオン
が検出されて「Y」と判断される場合は、外字テーブル
部GTB内には受信した外字コードが登録されていない
ことから、受信した外字コードを外字テーブル部GTB
に登録するとともに、ステップ71でサブ外字テーブル
部5GTBを検索して、ステップ72で外字コード発見
?、すなわち受信した外字コードがこのサブ外字テーブ
ル部5GTBの中に存在するが否がを判断する。そして
、そして外字コードが発見された場合は、ステップ72
で「Y」となり、この場合は、外字テーブル部GTRで
は発見できなかった印字コードがサブ印字テーブル部5
GTBにおいて発見されたということで、長いアクセス
時間を要する外部ファイルのアクセス時間が省略され、
従って、プリンタ装置1の高速動作が可能となって、続
いて、ステップ66以降の外字コード、外字パタンの出
力および印字処理が行われる。
Next, in step 60, if the registered access to the external character table part GTB is in the second round and the 2nd flag of GTB is detected to be on and it is judged as "Y", the received external character code is stored in the external character table part GTB. is not registered, the received external character code is sent to the external character table section GTB.
At the same time, at step 71, the sub-external character table section 5GTB is searched, and at step 72, an external character code is found? That is, it is determined whether the received external character code exists in this sub-external character table section 5GTB. and if a custom character code is found, step 72
In this case, the print code that could not be found in the external character table part GTR is displayed in the sub print table part 5.
Since it was discovered in GTB, the access time for external files that require a long access time is omitted,
Therefore, high-speed operation of the printer device 1 is enabled, and outputting and printing of the external character code and external character pattern in and after step 66 are then performed.

また、サブ外字テーブル5GTB内に外字コードが発見
されない場合はステップ72で「N」となり、この場合
は、ステップ61でアクセス時間がかかる外部ファイル
をアクセスし、ステップ62以降において外字コード、
パタンをサブ外字テーブル部5GTBに登録する等の処
理が行われる。なお、この場合の印字動作は外部ファイ
ルをアクセスしているので動作時間が遅くなる。
In addition, if the custom character code is not found in the sub custom character table 5GTB, the answer is "N" in step 72. In this case, the external file that takes time to access is accessed in step 61, and the custom character code,
Processing such as registering the pattern in the sub-external character table section 5GTB is performed. Note that the printing operation in this case accesses an external file, which slows down the operation time.

そしてこの結果、各テーブル部の外字コードおよび外字
パタンの登録状況は、第3図の(31図に示されるよう
な状況となる。すなわち、受信した外字コードが外字テ
ーブル部G T R内には発見されず、サブ外字テーブ
ル部S G T H内で発見された場合は、外字テーブ
ル部GTRとサブ外字テーブル部とに登録される外字コ
ードはそれぞれ異なったものが登録されることになる。
As a result, the registration status of the external character code and the external character pattern in each table section becomes as shown in FIG. If the external character code is not found but is found in the sub-external character table section S G T H, different external character codes will be registered in the external character table section GTR and the sub-external character table section.

以上説明したように、本発明は、プリンタ制御ファーム
ウェア部にサブ外字テーブル部S G Tnを備えたこ
とにより、プリンタ本体部側に備えられている外字テー
ブルに登録できる外字コードの最大数以上の外字コード
が登録できるようになるため、外部ファイルをアクセス
しないで済み、従来の外字印字動作よりも高速な印字動
作が期待できる。
As explained above, the present invention provides the printer control firmware section with the sub-external character table section S G Tn. Since codes can now be registered, there is no need to access external files, and printing operations can be expected to be faster than conventional non-standard character printing operations.

[発明の効果] 以上説明したようにこの発明の外字印字制御方式によれ
ば、外字テーブル部およびサブ外字テーブル部を備え、
外字テーブル部の登録最大容量を超過した外字コードは
サブ外字テーブル部に登録するようにしたので、プリン
タ装置の本体側の外字テーブルに登録できる外字コード
の数よりも多い外字コードの登録が可能となり、外部フ
ァイルをアクセスしないで済むことから、従来の外字印
字制御方式に比較して外字印字動作の高速化が可能にな
るという効果がある。
[Effects of the Invention] As explained above, according to the external character printing control method of the present invention, the external character table section and the sub-external character table section are provided,
Custom character codes that exceed the maximum registration capacity of the external character table section are now registered in the sub-external character table section, making it possible to register more external character codes than can be registered in the external character table on the main body of the printer device. Since there is no need to access external files, this method has the effect of making it possible to speed up the external character printing operation compared to conventional external character printing control methods.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の外字印字制御方式を適用したプリン
タ装置の一実施例を示すブロック図、第2図はこの装置
の動作を説明するフローチャート、第3図はこの装置に
使用される外字テーブルの構成を説明する説明図である
。 1・・・・プリンタ装置、2・・・・上位装置、11・
・・・CPU、12−・・・印字駆動部、GTB・・・
・外部テーブル部、5GTB−・サブ外字テーブル部。
Fig. 1 is a block diagram showing an embodiment of a printer device to which the external character printing control method of the present invention is applied, Fig. 2 is a flowchart explaining the operation of this device, and Fig. 3 is an external character table used in this device. It is an explanatory diagram explaining the composition of. 1... Printer device, 2... Host device, 11...
...CPU, 12-...Print drive section, GTB...
・External table part, 5GTB-・Sub external character table part.

Claims (1)

【特許請求の範囲】 プリロード機能を有し本体側に外字コードを登録する外
字テーブルを有したプリンタ装置の制御を行うプリンタ
制御ファームウェアの外字コード印字制御方式において
、 前記プリンタ装置の本体側の外字テーブルに対応して設
けられ一度印字された外字コードを登録する外字テーブ
ル部と、 前記プリンタ装置の本体側の外字テーブルに対応して設
けられ登録される外字コードが前記外字テーブル部の最
大容量を超えたときに超過分の外字コードを登録するサ
ブ外字テーブル部と を備え、前記外字テーブル部およびサブ外字テーブル部
を制御することにより外字コードの印字を行うようにし
たことを特徴とする外字印字制御方式。
[Scope of Claims] In an external character code printing control method of printer control firmware that controls a printer device that has a preload function and has an external character table for registering external character codes on the main body side, the external character table on the main body side of the printer device is provided. an external character table section for registering external character codes once printed, which is provided corresponding to the external character table on the main body side of the printer device, and an external character code provided and registered corresponding to the external character table on the main body side of the printer device, which exceeds the maximum capacity of the external character table section. and a sub-external character table section for registering an excess external character code when the external character code is exceeded, and the external character code is printed by controlling the external character table section and the sub-external character table section. method.
JP2117686A 1990-05-09 1990-05-09 Controlling method for external character printing Pending JPH0416368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2117686A JPH0416368A (en) 1990-05-09 1990-05-09 Controlling method for external character printing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2117686A JPH0416368A (en) 1990-05-09 1990-05-09 Controlling method for external character printing

Publications (1)

Publication Number Publication Date
JPH0416368A true JPH0416368A (en) 1992-01-21

Family

ID=14717786

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2117686A Pending JPH0416368A (en) 1990-05-09 1990-05-09 Controlling method for external character printing

Country Status (1)

Country Link
JP (1) JPH0416368A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS521448B2 (en) * 1972-11-08 1977-01-14
JPS6248962B2 (en) * 1982-05-19 1987-10-16 Chisso Corp

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS521448B2 (en) * 1972-11-08 1977-01-14
JPS6248962B2 (en) * 1982-05-19 1987-10-16 Chisso Corp

Similar Documents

Publication Publication Date Title
JPH07141134A (en) Shared printer
JPH0416368A (en) Controlling method for external character printing
JP2616628B2 (en) Key input device
JPS61210415A (en) CRT key input operation device
JP2874676B2 (en) Single screen multiple input terminal
US10447873B2 (en) Display device for displaying a variety of data elements in a list form
JP2767608B2 (en) Membership function analyzer
JP3489364B2 (en) Table processing equipment
JP2912066B2 (en) Command input frequency learning device
JPH08292909A (en) Data security equipment
JPH0338690A (en) Data processor
JPH086956A (en) Electronic filing device
JPH07110747A (en) Data display method
JPH096772A (en) Character processor
JP2000081934A (en) Information processor
JPH01118923A (en) Information retrieving device
JPH04220714A (en) Output data protection processing method
JPS63257016A (en) System for supporting application understanding
JPS6368929A (en) System for displaying format of language in-use in information processor
JPH04153739A (en) Information processor
JPH08305686A (en) Character processor
JPH03158926A (en) Information terminal equipment
JPS62204954A (en) Image forming device
JPH03253985A (en) Character processing device
JPH07281855A (en) Help function display device