JPH06293160A - Terminal printer - Google Patents

Terminal printer

Info

Publication number
JPH06293160A
JPH06293160A JP5107374A JP10737493A JPH06293160A JP H06293160 A JPH06293160 A JP H06293160A JP 5107374 A JP5107374 A JP 5107374A JP 10737493 A JP10737493 A JP 10737493A JP H06293160 A JPH06293160 A JP H06293160A
Authority
JP
Japan
Prior art keywords
character set
storage means
changed
host
character
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.)
Granted
Application number
JP5107374A
Other languages
Japanese (ja)
Other versions
JP3097721B2 (en
Inventor
Satoru Orii
悟 織井
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP05107374A priority Critical patent/JP3097721B2/en
Publication of JPH06293160A publication Critical patent/JPH06293160A/en
Application granted granted Critical
Publication of JP3097721B2 publication Critical patent/JP3097721B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a terminal printer capable of changing an ID in accordance with a character set ID of a host. CONSTITUTION:The printer comprises an ID storage means 2 storing two kinds of new and old IDs inputted from a control panel 3; an ID retrieval means 1 detecting the ID stored in the storage means 2 by a printing control signal; an ID conversion means 4 converting an ID, if it is required to be changed, to an old ID which is the pair to said ID; and a character set storage means 6 accessed by the conversion means 4.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ターミナルプリンタ、
より詳細にはプリンタにおけるキャラクタセットの変更
技術に関する。
BACKGROUND OF THE INVENTION The present invention relates to a terminal printer,
More specifically, it relates to a technique for changing a character set in a printer.

【0002】[0002]

【従来の技術】ターミナルプリンタは、これに接続され
るホストからのコード信号によりホストと同一の文字を
印刷する関係上、ホストからのコード信号をホストにお
ける文字やパターンに一致するパターンのコードに変換
することが必要であるため、変換コード表、いわゆる文
字セットを複数備え、各文字セットに識別用のコード、
いわゆるIDを設けて、ホストからのIDにより選択で
きるように構成されている。しかしながら、ときとして
IDはホスト側の都合で変更される場合があるため、プ
リンタに内蔵されている文字セットを呼び出すことがで
きないという問題が生じる。
2. Description of the Related Art A terminal printer converts a code signal from the host into a code of a pattern that matches a character or pattern in the host in order to print the same character as the host by a code signal from the host connected to the terminal printer. Therefore, it is necessary to provide a conversion code table, so-called multiple character sets, and each character set has an identification code,
A so-called ID is provided so that the ID can be selected by the host. However, since the ID is sometimes changed due to the convenience of the host side, there arises a problem that the character set built in the printer cannot be called.

【0003】[0003]

【発明が解決しようとする課題】本発明はこのような問
題に鑑みてなされたものであってその目的とするところ
は、ホスト側の文字セットIDの変更に柔軟に対応して
適正な文字セットを読み出すこととができるターミナル
プリンタを提供することである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and an object of the present invention is to flexibly respond to a change in the character set ID on the host side and to set an appropriate character set. It is to provide a terminal printer capable of reading out.

【0004】[0004]

【課題を解決するための手段】このような問題を解消す
るために本発明においては、少なくとも1種類の文字セ
ットデータと、文字セットを特定するためのIDを備え
た文字セット記憶手段と、選択された文字セットのデー
タをホストからの文字コードにより選択するプリンタに
おいて、外部から入力された新旧2種類のIDコードデ
ータを格納するID記憶手段と、ホストからのIDが前
記ID記憶手段に格納されている変更を要するIDであ
るか、否かを判定するID検索手段と、変更を要する新
のIDである場合には、これと対をなす旧のIDを出力
するID変換手段を備えるようにした。
In order to solve such a problem, in the present invention, at least one type of character set data, a character set storing means having an ID for specifying the character set, and a selection are selected. In a printer that selects data of a specified character set by a character code from a host, an ID storage unit that stores two types of ID code data, new and old, input from the outside, and an ID from the host are stored in the ID storage unit. An ID search means for determining whether or not the ID needs to be changed, and an ID conversion means for outputting an old ID paired with the ID search means if the ID is a new ID that needs to be changed. did.

【0005】[0005]

【作用】ホストによる文字セットのIDが変更になった
場合には、変更後のIDと、変更前のIDを対応付けて
ID記憶手段に格納する。ホストから変更後のIDが検
出されると、記憶手段から変更前のIDを読み出してこ
れに変更し、このIDでもって文字セット記憶手段を選
択する。
When the character set ID is changed by the host, the changed ID and the pre-change ID are stored in association with each other in the ID storage means. When the post-change ID is detected from the host, the pre-change ID is read from the storage means and changed to this, and the character set storage means is selected by this ID.

【0006】[0006]

【実施例】そこで以下に本発明の詳細を図示した実施例
に基づいて説明する。図は本発明の一実施例を示すもの
で図中符号1は、ID検索手段で、後述するID記憶手
段2に格納されているIDに一致するIDがホストから
入力するか、否かを監視するものである。2は前述のI
D記憶手段で、制御パネル3からの新旧のIDを記憶す
るものである。4は、ID変換手段で、ID検索手段1
により注目しているIDの入力が検知された場合には、
ID記憶手段2に格納されている対応IDを呼び出して
読出手段に出力し、また注目しているIDが入力しない
場合には入力したIDを変更することなくそのまま読み
出し手段5に出力するものである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The details of the present invention will be described below with reference to the illustrated embodiments. The figure shows an embodiment of the present invention. In the figure, reference numeral 1 is an ID search means for monitoring whether or not an ID matching an ID stored in an ID storage means 2 described later is inputted from a host. To do. 2 is the above I
The D storage means stores the old and new IDs from the control panel 3. Reference numeral 4 denotes an ID conversion means, which is an ID search means 1
If the input of the ID of interest is detected by
The corresponding ID stored in the ID storage means 2 is called and output to the reading means, and when the ID of interest is not input, the input ID is output as it is to the reading means 5 without being changed. .

【0007】6は、文字セットを格納した文字セット記
憶手段で、言語毎、若しくはホスト毎に使用される文字
のコードをアドレスとし、文字コードに対応するパター
ンデータを格納したパターン記憶手段7の格納番地をデ
ータとし、これら各組みの各文字セットにIDを付加し
て不揮発性メモリに格納して構成されている。7は、文
字セットデータからのデータにより呼び出し可能な文字
パターンで、数字等の連続記号をアドレスとして各文字
のドットパターンやアウトラインフォントデータが格納
されている。なお、図中符号8は、パターン記憶手段7
で、ビットマップの場合にはそのまま、またアウトライ
ンフォントの場合にはビットマップデータに変換して出
力するものである。
Reference numeral 6 denotes a character set storage means for storing a character set, which is stored in the pattern storage means 7 in which pattern data corresponding to the character code is stored with the code of the character used for each language or each host as an address. The address is used as data, and an ID is added to each character set of each set and stored in a non-volatile memory. Reference numeral 7 is a character pattern that can be called by data from the character set data, and stores dot patterns and outline font data of each character with continuous symbols such as numbers as addresses. In the figure, reference numeral 8 is the pattern storage means 7.
In the case of a bitmap, it is as it is, and in the case of an outline font, it is converted into bitmap data and output.

【0008】図2は、プリンタ本体の制御パネル3の一
実施例を示すもので、モード選択キー11、カーソル操
作キー12、選択キー13、及び表示器14を備え、モ
ード選択キー11により文字セット変更モードが指令さ
れた場合には、カーソル操作キー12の押下毎に数字や
アルファベットを表示器14に循環的に表示し、表示状
態で選択キー13が押下された場合には、その表示文字
がデータとしてID記憶手段2できるように構成されて
いる。
FIG. 2 shows an embodiment of the control panel 3 of the printer body, which is provided with a mode selection key 11, a cursor operation key 12, a selection key 13 and a display 14, and the mode selection key 11 is used to set characters. When the change mode is instructed, a number or alphabet is cyclically displayed on the display 14 each time the cursor operation key 12 is pressed, and when the selection key 13 is pressed in the display state, the displayed character is The ID storage means 2 can be used as data.

【0009】次に、このように構成した装置の動作を図
3に示したフローチャートに基づいて説明する。通常印
刷モードが選択されている状態で(ステップ イ)、ホ
ストから印刷制御信号とともに文字セットを指定するI
Dが出力されてくると、ID検索手段1は、このIDが
ID記憶手段2に格納されているものであるか、否かを
判定し、記憶手段2に格納されているものはない場合、
つまり非注目IDである場合には(ステップ ニ)、こ
のIDにより指定される文字セットを選択する(ステッ
プヘ)。
Next, the operation of the apparatus thus constructed will be described with reference to the flow chart shown in FIG. With the normal print mode selected (step B), specify the character set together with the print control signal from the host I
When D is output, the ID search means 1 determines whether this ID is stored in the ID storage means 2, and if there is no stored ID in the storage means 2,
That is, if the ID is a non-focused ID (step D), the character set designated by this ID is selected (step F).

【0010】このようにしてホストが使用すべき文字セ
ットが特定された段階で文字コードが入力すると(ステ
ップ ト)、当該文字セットにより決まる文字パターン
がパターン出力手段8によりパターン記憶手段7から読
み出される(ステップ チ)。
When a character code is input at the stage where the character set to be used by the host is specified in this way (step), the character pattern determined by the character set is read from the pattern storage means 7 by the pattern output means 8. (Stepchi).

【0011】ホスト側の事情により上記文字セットのI
Dが変更された場合には、プリンタの制御パネル3によ
りID変更モードを選択し(ステップ イ)、変更後の
IDと、変更前のIDとの新旧2種類のデータを入力す
ると、これら2つのデータがID記憶手段2に格納され
る(ステップ ロ)。文字セットのIDの変更手続きが
終了した段階で(ステップ ハ)、ホストから上述の変
更されたIDが入力すると(ステップ ニ)、ID検索
手段1は、このIDが変更後のIDであると判定し、こ
のIDと対となっている旧IDをID記憶手段2から読
み出してIDを変更して読み出し手段5に出力する(ス
テップホ)。
Depending on the host side circumstances, I of the above character set
When D is changed, the ID change mode is selected by the control panel 3 of the printer (step a), and two types of data, old and new, are input. The data is stored in the ID storage means 2 (step B). When the above-mentioned changed ID is input from the host (step C) when the procedure for changing the ID of the character set is completed (step C), the ID search means 1 determines that this ID is the changed ID. Then, the old ID that is paired with this ID is read from the ID storage means 2, the ID is changed, and output to the reading means 5 (step E).

【0012】これによりIDが変更されたにもかかわら
ず、この新しいIDで元の文字セットを選択することが
できる。もとより、IDは、文字セットを特定するため
のデータで、文字コードまでは変更になっていないか
ら、入力して来る文字コードは元の通り所定の文字パタ
ーンに変換されることになる。
This allows the original character set to be selected with this new ID, even though the ID has changed. Of course, the ID is data for specifying the character set, and the character code is not changed. Therefore, the input character code is converted into a predetermined character pattern as it is.

【0013】なお、この実施例においてはもともとプリ
ンタに備わっていた文字セットを有効化する場合につい
て説明したが、新しい文字セットデータを追加した場合
にも前述と同様の手順によりIDを変更することによ
り、新しい文字セットをプリンタに追加することができ
る。
In this embodiment, the case where the character set originally provided in the printer is validated has been described. However, when new character set data is added, the ID is changed by the same procedure as described above. , A new character set can be added to the printer.

【0014】[0014]

【発明の効果】以上説明したように本発明においては、
外部から入力された新旧2種類のIDを格納するID記
憶手段と、ホストからのIDが前記ID記憶手段に格納
されている変更を要するIDであるか、否かを判定する
ID検索手段と、変更を要する新のIDである場合に
は、これと対をなす旧のIDを出力するID変換手段を
備えたので、ホストによる文字セットのIDが変更にな
った場合には、変更後のIDと、変更前のIDを対応付
けてID記憶手段に格納するという簡単な操作により、
変更後のIDでもって元の文字セットを使用することが
できるばかりでなく、新しい文字セットをプリンタに追
加することが可能となる。
As described above, in the present invention,
ID storage means for storing two types of old and new IDs input from the outside, and ID search means for determining whether or not the ID from the host is the ID stored in the ID storage means that needs to be changed. When the ID is a new ID that needs to be changed, the ID conversion means for outputting the paired old ID is provided. Therefore, if the character set ID is changed by the host, the changed ID is used. And a simple operation of associating the ID before the change and storing it in the ID storage means,
Not only can the original character set be used with the changed ID, but a new character set can be added to the printer.

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

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

【図2】制御パネルの一実施例を示す正面図である。FIG. 2 is a front view showing an embodiment of a control panel.

【図3】同上装置の動作を示すフローチャートである。FIG. 3 is a flowchart showing the operation of the above apparatus.

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

3 制御パネル 11 モード選択キー 12 カーソル操作キー 13 選択キー 3 Control panel 11 Mode selection key 12 Cursor operation key 13 Selection key

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも1種類の文字セットデータ
と、文字セットを特定するためのIDを備えた文字セッ
ト記憶手段と、選択された文字セットのデータをホスト
からの文字コードにより選択するプリンタにおいて、外
部から入力された新旧2種類のIDを格納するID記憶
手段と、ホストからのIDが前記ID記憶手段に格納さ
れている変更を要するIDであるか、否かを判定するI
D検索手段と、変更を要する新のIDである場合には、
これと対をなす旧のIDを出力するID変換手段を備え
てなるターミナルプリンタ。
1. A printer for selecting at least one type of character set data, a character set storing means having an ID for specifying a character set, and a printer for selecting data of a selected character set by a character code from a host. ID storage means for storing two types of IDs, old and new, inputted from the outside, and it is judged whether or not the ID from the host is the ID stored in the ID storage means that needs to be changed.
If the D search means and the new ID that needs to be changed,
A terminal printer provided with ID conversion means for outputting an old ID paired with this.
JP05107374A 1993-04-09 1993-04-09 Terminal printer Expired - Fee Related JP3097721B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05107374A JP3097721B2 (en) 1993-04-09 1993-04-09 Terminal printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05107374A JP3097721B2 (en) 1993-04-09 1993-04-09 Terminal printer

Publications (2)

Publication Number Publication Date
JPH06293160A true JPH06293160A (en) 1994-10-21
JP3097721B2 JP3097721B2 (en) 2000-10-10

Family

ID=14457488

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05107374A Expired - Fee Related JP3097721B2 (en) 1993-04-09 1993-04-09 Terminal printer

Country Status (1)

Country Link
JP (1) JP3097721B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09259079A (en) * 1996-03-25 1997-10-03 Canon Inc Communication controller, communication control method, and memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09259079A (en) * 1996-03-25 1997-10-03 Canon Inc Communication controller, communication control method, and memory

Also Published As

Publication number Publication date
JP3097721B2 (en) 2000-10-10

Similar Documents

Publication Publication Date Title
US4785413A (en) Character input device in document processing apparatus
US4646077A (en) Video display controller system with attribute latch
JPH01183729A (en) Printer containing automatic initializing function of memory
JPH0671952A (en) Printing device
JPS6174063A (en) Data output system
JPH06293160A (en) Terminal printer
JP2644778B2 (en) Character generator
JPS61179755A (en) Pattern converting apparatus
JPH0373374A (en) Image forming device
JPS61179756A (en) Pattern converting apparatus
JPS6057382A (en) Character processor
JPS5972511A (en) Special code input device using ordinary code
JPS61179754A (en) Pattern converting apparatus
KR100193710B1 (en) How to Replace Character Fonts in POS Systems
JPH07106654B2 (en) Information processing method
JPH0548476B2 (en)
JPS5951015B2 (en) document creation device
JPS61179750A (en) Pattern converting apparatus
JP2940140B2 (en) Document data processing device
KR950006824B1 (en) Back tap control method in electronic typewriter
JPH07106653B2 (en) Information processing method
JPH0442322A (en) Document output device
JPS61175765A (en) Format setting system for document processor
JPS61179751A (en) Pattern converting apparatus
JPS61179753A (en) Pattern converting apparatus

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000712

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

Free format text: PAYMENT UNTIL: 20070811

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20080811

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20080811

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090811

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090811

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100811

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110811

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees