JPH06183071A - Printer device - Google Patents

Printer device

Info

Publication number
JPH06183071A
JPH06183071A JP34181092A JP34181092A JPH06183071A JP H06183071 A JPH06183071 A JP H06183071A JP 34181092 A JP34181092 A JP 34181092A JP 34181092 A JP34181092 A JP 34181092A JP H06183071 A JPH06183071 A JP H06183071A
Authority
JP
Japan
Prior art keywords
code
data
code page
information
menu
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
JP34181092A
Other languages
Japanese (ja)
Other versions
JP2968405B2 (en
Inventor
Masashi Hasegawa
政司 長谷川
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP4341810A priority Critical patent/JP2968405B2/en
Publication of JPH06183071A publication Critical patent/JPH06183071A/en
Application granted granted Critical
Publication of JP2968405B2 publication Critical patent/JP2968405B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To provide a printer device capable of designating a code page in a ROM card without changing a program in the printer device at every ROM card. CONSTITUTION:In a ROM card 21 to be mounted on a printer device, menu printing information 22 as a data for printing names of code pages is stored. In the menu printing information 22, the arrangement of the data for printing the names of the code pages is made to correspond to an arrangement of tables of the code pages in code page table information 23 in which a character pattern data and a code data are made to correspond to each other by a predetermined relationship.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ROMカードの装着が
可能なプリンタ装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer device to which a ROM card can be attached.

【0002】[0002]

【従来の技術】図6は従来のプリンタ装置のブロック図
であり、1はCPU、2′は前記CPU1を動作させる
プリンタ制御プログラムが格納されている読み出し専用
メモリ(PROGRAM ROM)、3′はコードデー
タをパターンデータに変換するために文字パターン等が
格納されている読み出し専用メモリ(CG ROM)で
ある。
2. Description of the Related Art FIG. 6 is a block diagram of a conventional printer device. 1 is a CPU, 2'is a read-only memory (PROGRAM ROM) in which a printer control program for operating the CPU 1 is stored, and 3'is a code. It is a read-only memory (CG ROM) in which character patterns and the like are stored for converting data into pattern data.

【0003】4はプリンタ装置に着脱自在なROMカー
ドで、前記CG ROM3′でサポートしていない特定
の文字パターン等が格納されている。5はプリンタ装置
を接続しているパソコン等の機器から受信したデータを
格納する随時読み出し,書き込みが可能なメモリ(RA
M)、6はピッチや字体等のメニューの設定状態を記憶
しておく電気的消去,書き込みおよび読み出しが可能な
メモリ(EEPROM)である。
Reference numeral 4 denotes a ROM card which can be attached to and detached from the printer device, and stores specific character patterns which are not supported by the CG ROM 3 '. Reference numeral 5 is a memory (RA that can be read and written at any time to store data received from a device such as a personal computer to which the printer device is connected.
M) and 6 are electrically erasable, writable and readable memories (EEPROM) for storing menu setting states such as pitch and font.

【0004】7はCPU1と他の構成要素とを接続する
I/Oポート、8はパソコン等の機器からデータを受け
る受信回路、9は紙等の図示しない媒体に文字や数字を
印字する印字ヘッド、10は印字ヘッド9をスペース方
向に移動させるスペースモータ、11は媒体をライン方
向に送るラインフィードモータ、12はメニュー設定を
行う操作盤である。
Reference numeral 7 is an I / O port for connecting the CPU 1 to other components, 8 is a receiving circuit for receiving data from a device such as a personal computer, and 9 is a print head for printing characters and numbers on a medium (not shown) such as paper. Reference numeral 10 is a space motor for moving the print head 9 in the space direction, 11 is a line feed motor for feeding the medium in the line direction, and 12 is an operation panel for setting menus.

【0005】上記構成によるプリンタ装置において、C
PU1は、該プリンタ装置を接続しているパソコン等の
機器より送られてくるコードデータを受信回路8で受信
し、これをRAM5に格納する。そして、コードデータ
と対応する文字パターンデータをCG ROM3′から
読み出し、印字ヘッド9により媒体に印字を行う。ここ
で、プリンタ装置のCPU1は、パソコン等の装置より
送られてくるコードからこのコードデータと対応する文
字パターンデータをCG ROM3′から読み出すが、
パソコン等の機器から送られてくるコードデータは、機
器の種類や国等によって表す文字は異なっているものが
ある。
In the printer device having the above structure, C
The PU 1 receives code data sent from a device such as a personal computer connected to the printer device by the receiving circuit 8 and stores the code data in the RAM 5. Then, the character pattern data corresponding to the code data is read from the CG ROM 3'and the print head 9 prints on the medium. Here, the CPU 1 of the printer device reads the character pattern data corresponding to this code data from the CG ROM 3'from the code sent from a device such as a personal computer,
Code data sent from a device such as a personal computer may have different characters depending on the type of device or country.

【0006】このため、CG ROM3′には、送られ
てきたコードデータから所定の文字パターンを印字でき
るように、幾つかの機器や国に対応するように文字パタ
ーンデータが格納されており、この機器別あるいは国別
の文字パターンデータの集まりをコードページおよびキ
ャラクタセットと呼んでいる。従来、プリンタ装置にお
けるこのコードページ(国別キャラクタセット)の指定
方法には、メニュー方式とコマンド方式の2つがあっ
た。
Therefore, the CG ROM 3'stores character pattern data corresponding to some devices and countries so that a predetermined character pattern can be printed from the sent code data. A collection of character pattern data for each device or country is called a code page and character set. Conventionally, there have been two methods of specifying this code page (character set for each country) in a printer device: a menu method and a command method.

【0007】メニュー方式とは、プリンタ装置に実装さ
れている操作盤上のスチッチを操作することによってプ
リンタ装置内に格納されているコードページの一覧表を
印字し、オペレータにその中の1つをスイッチ操作によ
って指定させる方法であり、以下にその手順を詳細に説
明する。ここで、図7は前記操作盤12上のメニュー設
定用スイッチの配列を示す説明図で、13はMENUキ
ー、13aはMENUキー13に設けられたランプ、1
4はGROUPキー、15はITEMキー、16はSE
Tキー、17はPRINTキーである。
In the menu system, a list of code pages stored in the printer is printed by operating a switch on the operation panel mounted in the printer, and the operator selects one of them. This is a method of specifying by switch operation, and the procedure will be described in detail below. Here, FIG. 7 is an explanatory view showing an arrangement of menu setting switches on the operation panel 12, 13 is a MENU key, 13a is a lamp provided on the MENU key 13,
4 is GROUP key, 15 is ITEM key, 16 is SE
The T key and 17 are PRINT keys.

【0008】上記構成において、MENUキー13のラ
ンプ13aが消灯している時に該MENUキー13を押
すと、メニューモードが設定され、MENUキー13の
ランプ13aが点灯する。次にPRINTキー17を押
すと、EEPROM6に格納されているメニュー設定の
一覧表が印字される。ここで、図8はメニュー設定の一
覧表の一例を示す説明図で、18はグループ名、19は
グループ18内のアイテム、20は各アイテム19の設
定値である。
In the above structure, when the MENU key 13 is pressed while the lamp 13a of the MENU key 13 is off, the menu mode is set and the lamp 13a of the MENU key 13 is turned on. Next, when the PRINT key 17 is pressed, a list of menu settings stored in the EEPROM 6 is printed. Here, FIG. 8 is an explanatory diagram showing an example of a list of menu settings, where 18 is a group name, 19 is an item in the group 18, and 20 is a set value of each item 19.

【0009】図9はメニュー設定の階層構造を示す説明
図で、GROUPキー14を押す毎に、FONT,CO
NTROL,SYMBOL SETの順にグループ名が
印字され、グループの特定を行い、ITEMキー15を
押す毎に、指定されたグループのアイテムが順に印字さ
れ、SETキー16を押す毎に、設定値が順に印字さ
れ、希望する設定値が印字されるまで繰り返す。
FIG. 9 is an explanatory view showing the hierarchical structure of menu setting. Each time the GROUP key 14 is pressed, the FONT, CO
The group name is printed in the order of NTROL, SYMBOL SET, the group is specified, each time the ITEM key 15 is pressed, the item of the specified group is printed in order, and each time the SET key 16 is pressed, the set value is printed in order. Repeated until the desired set value is printed.

【0010】この様にして、全てのグループのアイテム
に対して設定値を変更することが可能で、MENUキー
13を押すことにより、変更された設定値はEEPRO
M6に記憶され、メニューモードは解除される。例え
ば、SYMBOL SETのCODE PAGEの設定
をUSAからMULTILINGUALへ変更する場合
は、MENUキー13を押してメニューモードを設定し
た後、GROUPキー14を押すと、まず、 “FONT PRINT MODE UTILIT
Y” が印字され、次にGROUPキー14を押すと、 “CONTROL AUTO LF NO” が印字され、さらにGROUPキー14を押すと、 “SYMBOL SET CHARACTER SE
T AAA SET2” が印字される。
In this way, it is possible to change the set value for all the group items, and by pressing the MENU key 13, the changed set value is EEPRO.
It is stored in M6 and the menu mode is released. For example, when changing the CODE PAGE setting of SYMBOL SET from USA to MULTILINGUAL, press the MENU key 13 to set the menu mode, and then press the GROUP key 14 to display "FONT PRINT MODE UTILIT".
When "Y" is printed and the GROUP key 14 is pressed next, "CONTROL AUTO LF NO" is printed, and when the GROUP key 14 is pressed again, "SYMBOL SET CHARACTER SE
"T AAAA SET2" is printed.

【0011】このように、GROUPキー14を所定回
数押すことで設定値を変更したいグループ(ここではS
YMBOL SET)を指定し、次にITEMキー15
を所定回数、ここでは1回押すと、グループ内で変更し
たいアイテムが指定される。すなわち、ITEMキー1
5を1回押すと、 “SYMBOL SET CODE PAGE U
SA” が印字され、変更したいアイテム(ここでは、CODE
PAGE)が指定される。そして、ここでSETキー
16を押すと、 “SYMBOL SET CODE PAGE M
ULTILINGUAL” が印字され、コードページの設定値がUSAからMUL
TILINGUALに変換される。
As described above, by pressing the GROUP key 14 a predetermined number of times, the group (S
YMBOL SET), then ITEM key 15
When is pressed a predetermined number of times, here once, the item to be changed in the group is designated. That is, ITEM key 1
Press 5 once to display "SYMBOL SET CODE PAGE U
SA ”is printed, and the item you want to change (here, CODE
PAGE) is specified. Then, when the SET key 16 is pressed here, "SYMBOL SET CODE PAGE M
"ULTILLINGUAL" is printed and the setting value of the code page is changed from USA to MUL.
Converted to TILLINGUAL.

【0012】この変換されたメニュー情報はEEPRO
M6に格納され、印字の際には、CPU1はどのコード
ページが設定されているのか知るために、EEPROM
6からメニュー情報を呼び出す。そして、ここで設定さ
れているコードページに基づいてCG ROM3′から
文字パターンデータを読み出す。コマンド方式とは、オ
ペレータによるメニュー設定とは無関係に、ホストコン
ピュータからのコマンドシーケンス受信によりプリンタ
装置内に格納されている該当するコードページを指定す
る方法である。
This converted menu information is EEPRO
The data is stored in M6, and when printing, the CPU 1 knows which code page is set by the EEPROM.
Call menu information from 6. Then, the character pattern data is read from the CG ROM 3'based on the code page set here. The command method is a method of designating a corresponding code page stored in the printer apparatus by receiving a command sequence from the host computer regardless of the menu setting by the operator.

【0013】例えば、CG ROM3′にUSA,MU
LTILINGUAL,NORWAY,PORTUGA
Lの4つのコードページが格納されている場合、それぞ
れのコードページに対応して、あらかじめコマンドシー
ケンスを、 “ESC A”は“USA” “ESC B”は“MULTILINGUAL” “ESC C”は“NORWAY” “ESC D”は“PORTUGAL” と定義しておき、ホストコンピュータからコマンドシー
ケンス“ESC b”を受信すると、コードページ“M
ULTILINGUAL”が指定されたことになり、E
EPROM6には変更されたメニュー情報が格納され
る。
For example, in the CG ROM 3 ', USA, MU
LTI LINGUAL, NORWAY, PORTUGA
When four code pages of L are stored, the command sequence corresponding to each code page is previously set, “ESC A” is “USA” “ESC B” is “MULTILINGUAL” “ESC C” is “NORWAY” "" ESC D "is defined as" PORTUGAL ", and when the command sequence" ESC b "is received from the host computer, the code page" M
"ULTILLINGUAL" has been specified, and E
The EPROM 6 stores the changed menu information.

【0014】ここで、上記ROMカード4を使用するた
めに、該ROMカード4に格納されているコードページ
の設定値を印字,特定するためのデータをあらかじめC
GROM3′に格納しておき、プリンタ制御プログラム
は、まずこれを読み出して設定値を印字し、所定のコー
ドページが指定されると、指定されたコードページはC
G ROM3′に格納されているコードページの設定値
を印字,特定するためのデータで特定され、印字の際に
はROMカード4から指定されたコードページの文字パ
ターンが読み出されるようになっていた。
Here, in order to use the ROM card 4, the data for printing and specifying the setting value of the code page stored in the ROM card 4 is previously C
Stored in the GROM 3 ', the printer control program first reads this out, prints the set value, and when a predetermined code page is designated, the designated code page becomes C
The setting value of the code page stored in the G ROM 3'is specified by the data for printing and specifying, and at the time of printing, the character pattern of the specified code page is read from the ROM card 4. .

【0015】[0015]

【発明が解決しようとする課題】しかしながら、上述し
た従来のプリンタ装置では、ROMカードを使用するた
めに、該ROMカードに格納されているコードページの
設定値を印字,特定するためのデータをあらかじめプリ
ンタ装置側で格納しておき、まずこれを読み出して設定
値を印字させ、所定のコードページが指定されると、指
定されたコードページはプリンタ装置側で格納されてい
るコードページの設定値を印字,特定するためのデータ
で特定されるので、プリンタ制御プログラムは特定のR
OMカードに格納されているコードページのみしか特定
できず、特定以外のROMカードを使用する場合はRO
Mカード毎に制御プログラムを変更しなければ、ROM
カードに格納されているコードページを指定することが
できないという問題点があった。
However, in the above-mentioned conventional printer device, since the ROM card is used, the data for printing and specifying the setting value of the code page stored in the ROM card is previously stored. Stored on the printer device side, first read it to print the set value, and when a predetermined code page is specified, the specified code page is the set value of the code page stored on the printer device side. Since it is specified by the data for printing and specifying, the printer control program is
Only the code page stored in the OM card can be specified, and RO is used when a ROM card other than the specified one is used.
ROM unless the control program is changed for each M card
There was a problem that the code page stored in the card could not be specified.

【0016】本発明は、このような問題点を解決するた
めになされたもので、ある一定のフォーマットで構成さ
れているROMカードであれば、いかなるROMカード
が装着されてもメニュー方式またはコマンド方式のいず
れか、あるいは両方式でROMカード内のコードページ
を指定することが可能なプリンタ装置を提供することを
目的とする。
The present invention has been made in order to solve such a problem, and it is a menu system or a command system regardless of which ROM card is mounted as long as the ROM card is constructed in a certain format. It is an object of the present invention to provide a printer device capable of designating a code page in a ROM card by either or both of the above.

【0017】[0017]

【課題を解決するための手段】この目的を達成するた
め、本発明は、パターンデータを受けて印字を行う印字
ヘッドと、印字すべき文字をコードデータとして送る外
部装置から受信したコードデータをパターンデータに変
換して前記印字ヘッドに送り、印字を行わせる制御手段
とを備えるとともに、前記制御手段により格納している
データの読み取りが行われるROMカードが着脱可能に
装着されたプリンタ装置において、前記ROMカード
に、各文字のパターンデータから構成されるフォントパ
ターン情報と、前記フォントパターン情報内の個々の文
字パターンデータのアドレスと前記制御手段が受信しう
るコードデータをぞれぞれ対応づけたデータから構成さ
れ、制御手段が受信したコードデータに対してどの文字
のフォントパターンデータをフォントパターン情報から
読み出して前記印字ヘッドに送るかコードページ毎に定
義しているコードページテーブル情報と、前記コードペ
ージテーブル情報内の各コードページの名称を印字させ
るとともに、前記コードページテーブル情報の中から印
刷されたコードページを指定するためのデータから構成
され、前記制御手段により読み出されて各コードページ
の名称を順に前記印字ヘッドにより印字させるメニュー
印字情報とを格納したものである。
In order to achieve this object, the present invention provides a print head for receiving pattern data for printing and a pattern of code data received from an external device for sending characters to be printed as code data. A printer device comprising: a control unit that converts the data into data and sends the data to the print head to print; and a ROM card that is detachably attached to read the data stored by the control unit. Data in which a ROM card is associated with font pattern information composed of pattern data of each character, addresses of individual character pattern data in the font pattern information, and code data that can be received by the control means are associated with each other. Of the font data of the character for the code data received by the control means. Code page table information that is read from the font pattern information and sent to the print head or is defined for each code page, and the name of each code page in the code page table information is printed. Data for designating a code page printed from among the above, and stores the menu print information read by the control means and sequentially printing the names of the code pages by the print head.

【0018】また、前記ROMカードに、上位装置から
送られてくるコードページ指定コマンドにより検索され
る個々のコードページと対応させたコマンドシーケンス
から構成され、上位装置から送られてくるコードページ
指定コマンドと合致するコマンドシーケンと対応したコ
ードページを選択させるコマンドシーケンス情報を格納
することとしてもよい。
The ROM card is composed of a command sequence corresponding to each code page searched by the code page designating command sent from the host device, and the code page designating command sent from the host device. The command sequence information for selecting the code page corresponding to the command sequence matching with may be stored.

【0019】[0019]

【作用】上述した構成を有する本発明において、制御手
段は、まずROMカードのメニュー印字情報からデータ
を読み出して、各コードページの名称を順に印字する。
所定のコードページの名称を印字することで、コードペ
ージテーブル情報内ので所定のコードページが指定さ
れ、印字時には、制御手段は受信したコードデータに対
して所定の文字パターンデータを読み出して印字ヘッド
に送る。
In the present invention having the above-mentioned structure, the control means first reads the data from the menu print information of the ROM card and prints the name of each code page in order.
By printing the name of the specified code page, the specified code page is specified in the code page table information, and at the time of printing, the control means reads out the specified character pattern data from the received code data and causes the print head to read it. send.

【0020】[0020]

【実施例】以下、図面を参照して実施例を説明する。図
1は本発明の第1の実施例を示すメニュー方式における
ROMカードの構成を示す説明図、図2は本実施例にお
けるプリンタ装置のブロック図であり、まず、図2によ
りプリンタ装置の構成を説明する。
Embodiments Embodiments will be described below with reference to the drawings. FIG. 1 is an explanatory diagram showing the structure of a ROM card in the menu system showing the first embodiment of the present invention, and FIG. 2 is a block diagram of the printer device in this embodiment. First, referring to FIG. explain.

【0021】図において、1はCPU、2は前記CPU
1を動作させるプリンタ制御プログラムが格納されてい
る読み出し専用メモリ(PROGRAM ROM)、3
はコードデータをパターンデータに変換するために文字
パターン等が格納されている読み出し専用メモリ(CG
ROM)である。5はプリンタ装置を接続しているパ
ソコン等の機器から受信したデータを格納する随時読み
出し,書き込みが可能なメモリ(RAM)、6はピッチ
や字体等のメニューの設定状態を記憶しておく電気的消
去,書き込みおよび読み出しが可能なメモリ(EEPR
OM)である。
In the figure, 1 is a CPU, 2 is the CPU
Read-only memory (PROGRAM ROM) in which a printer control program for operating 1 is stored, 3
Is a read-only memory (CG which stores character patterns etc. for converting code data into pattern data).
ROM). Reference numeral 5 is a memory (RAM) that stores data received from a device such as a personal computer to which a printer device is connected and that can be read and written at any time, and 6 is an electrical memory for storing menu setting states such as pitch and font. Erasable, writable and readable memory (EEPR
OM).

【0022】7はCPU1と他の構成要素とを接続する
I/Oポート、8はパソコン等の機器からデータを受け
る受信回路、9は紙等の図示しない媒体に文字や数字を
印字する印字ヘッド、10は印字ヘッド9をスペース方
向に移動させるスペースモータ、11は媒体をライン方
向に送るラインフィードモータ、12はメニュー設定を
行う操作盤である。
Reference numeral 7 is an I / O port for connecting the CPU 1 to other components, 8 is a receiving circuit for receiving data from a device such as a personal computer, and 9 is a print head for printing characters and numbers on a medium (not shown) such as paper. Reference numeral 10 is a space motor for moving the print head 9 in the space direction, 11 is a line feed motor for feeding the medium in the line direction, and 12 is an operation panel for setting menus.

【0023】21はプリンタ装置に着脱自在なROMカ
ードで、図1に示すように、メニュー印字情報22,コ
ードページテーブル情報23およびフォントパターン情
報24で構成されている。図1において、メニュー印字
情報22は、後述するメニューモードにおいてこのRO
Mカード21内に格納されているコードページの設定値
(名称)を識別可能とするためにコードページの名称を
印字させるための情報で、ROMカード21内に格納さ
れているコードページの名称がASCIIデータで格納
されており、例えば、コードページの名称が“a,b・
・・z”とそれぞれ付けられているとすると、この
“a,b・・・z”を示すASCIIデータが格納され
ている。
Reference numeral 21 denotes a ROM card which can be attached to and detached from the printer device, and is composed of menu print information 22, code page table information 23 and font pattern information 24, as shown in FIG. In FIG. 1, the menu print information 22 is the RO in the menu mode described later.
The information for printing the code page name in order to identify the set value (name) of the code page stored in the M card 21, and the name of the code page stored in the ROM card 21 It is stored as ASCII data. For example, the code page name is “a, b.
..Z ", the ASCII data indicating" a, b ... z "is stored.

【0024】コードページテーブル情報23は、後述す
るフォントパターン情報内の個々の文字パターンデータ
のアドレスと前記CPU1が受信しうるコードデータ
(ここでは00H
The code page table information 23 includes addresses of individual character pattern data in font pattern information, which will be described later, and code data which can be received by the CPU 1 (here, 00H).

〔0〕から0FFH〔255〕)をぞ
れぞれ対応づけたデータから構成され、CPU1が受信
したコードデータに対してどの文字のフォントパターン
データをフォントパターン情報から読み出して前記印字
ヘッド9に送るか、上記したように“a,b・・・z”
と名称を付けられたコードページ毎に定義しており、
“a,b・・・z”と名称を付けられた各コードページ
毎に、文字パターンデータのアドレスとコードデータと
を所定の関係で対応づけたテーブルが格納されている。
[0] to 0FFH [255]) are associated with each other, and the font pattern data of which character in the code data received by the CPU 1 is read from the font pattern information and sent to the print head 9. Or, as mentioned above, "a, b ... z"
It is defined for each code page named as
A table in which the addresses of the character pattern data and the code data are associated with each other in a predetermined relationship is stored for each code page named “a, b ... Z”.

【0025】また、前記メニュー印字情報22とコード
ページテーブル情報23の配列はそれぞれ対応してお
り、後述するように、メニュー印字情報22によりコー
ドページの名称が印字され、例えば“a”という名称の
コードページが印字されると、コードページテーブル情
報23においてコードページ“a”のテーブルが指定さ
れる。
The arrangements of the menu print information 22 and the code page table information 23 correspond to each other. As will be described later, the name of the code page is printed by the menu print information 22. For example, the name of the code page is "a". When the code page is printed, the table of the code page “a” is designated in the code page table information 23.

【0026】フォントパターン情報24は、各文字のビ
ットマップデータで構成され、各文字のフォントパター
ンデータが格納されている。図3は第1の実施例におけ
るメニュー印字例を示す説明図で、以下に、上記構成の
第1の実施例における作用を説明する。なお、図1で説
明したプリンタ装置の操作盤12には、従来の技術図7
で説明したもの同様のメニュー設定用スイッチが設けら
れている。
The font pattern information 24 is composed of bitmap data of each character, and the font pattern data of each character is stored. FIG. 3 is an explanatory diagram showing an example of menu printing in the first embodiment, and the operation of the first embodiment having the above configuration will be described below. The operation panel 12 of the printer described with reference to FIG.
A menu setting switch similar to the one described in 1 is provided.

【0027】以上で構成されるROMカード21がプリ
ンタ装置に実装され、MENUキー13のランプ13a
が消灯している時に該MENUキー13を押すと、メニ
ューモードが設定され、MENUキー13のランプ13
aが点灯する。次にPRINTキー17を押すと、EE
PROM6に格納されている従来の技術図8で説明した
ようなメニュー設定の一覧表が印字される。また、メニ
ュー設定の階層構造も従来の技術図9で説明したものと
同じように構成され、GROUPキー14を押す毎に、
FONT,CONTROL,SYMBOL SETの順
にグループ名が印字され、グループの特定を行い、IT
EMキー15を押す毎に、指定されたグループのアイテ
ムが順に印字され、SETキー16を押す毎に、設定値
が順に印字され、希望する設定値が印字されるまで繰り
返す。
The ROM card 21 configured as described above is mounted on the printer device, and the lamp 13a of the MENU key 13 is mounted.
When the MENU key 13 is pressed when is off, the menu mode is set and the MENU key 13 lamp 13
a lights up. Then press the PRINT key 17
Prior art stored in PROM 6 A list of menu settings as described in FIG. 8 is printed. Further, the hierarchical structure of menu setting is also configured in the same manner as described in the related art FIG. 9, and every time the GROUP key 14 is pressed,
The group name is printed in the order of FONT, CONTROL, SYMBOL SET, and the group is specified.
Each time the EM key 15 is pressed, the items of the designated group are printed in sequence, and each time the SET key 16 is pressed, the set values are printed in order, and the process is repeated until the desired set value is printed.

【0028】この様にして、全てのグループのアイテム
に対して設定値を変更することが可能で、MENUキー
13を押すことにより、変更された設定値はEEPRO
M6に記憶され、メニューモードは解除される。ここ
で、SYMBOL SETのCODE PAGEの設定
を変更する場合は、MENUキー13を押してメニュー
モードを設定した後、GROUPキー14を押すと、ま
ず、 “FONT PRINT MODE UTILIT
Y” が印字され、次にGROUPキー14を押すと、 “CONTROL AUTO LF NO” が印字され、さらにGROUPキー14を押すと、 “SYMBOL SET CHARACTER SE
T AAA SET2” が印字される。
In this way, it is possible to change the set value for all the items of the group, and by pressing the MENU key 13, the changed set value is EEPRO.
It is stored in M6 and the menu mode is released. If you want to change the CODE PAGE setting of SYMBOL SET, press the MENU key 13 to set the menu mode, and then press the GROUP key 14 to display the "FONT PRINT MODE UTILIT" first.
When "Y" is printed and the GROUP key 14 is pressed next, "CONTROL AUTO LF NO" is printed, and when the GROUP key 14 is pressed again, "SYMBOL SET CHARACTER SE
"T AAAA SET2" is printed.

【0029】このように、GROUPキー14を所定回
数押すことで設定値を変更したいグループ(ここではS
YMBOL SET)を指定し、次にITEMキー15
を所定回数、ここでは1回押すと、グループ内で変更し
たいアイテムが指定される。すなわち、ITEMキー1
5を1回押すと、 “SYMBOL SET CODE PAGE U
SA” が印字され、変更したいアイテム(ここでは、CODE
PAGE)が指定される。そして、SETキー16を
押す毎に、プリンタ制御プログラムによりCPU1は、
まずCG ROM3に格納されているコードページの設
定値(コードページの名称)を検索して読み出し、図3
に示すように順に印字する。
As described above, by pressing the GROUP key 14 a predetermined number of times, the group (S
YMBOL SET), then ITEM key 15
When is pressed a predetermined number of times, here once, the item to be changed in the group is designated. That is, ITEM key 1
Press 5 once to display "SYMBOL SET CODE PAGE U
SA ”is printed, and the item you want to change (here, CODE
PAGE) is specified. Then, every time the SET key 16 is pressed, the printer control program causes the CPU 1 to
First, the set value of the code page (name of the code page) stored in the CG ROM 3 is searched and read out.
Print in order as shown in.

【0030】オペレータは、SETキー16を押して行
く過程で、CG ROM3に格納されているコードペー
ジの設定値の中で所望の設定値があれば、所望のコード
ページの設定値が印字された後、MENUキー13を押
すことにより、印字されたコードページの設定値が変更
された設定値として確定し、変更された設定値はEEP
ROM6に記憶され、メニューモードは解除される。
In the process of pressing the SET key 16, the operator, if there is a desired setting value among the setting values of the code page stored in the CG ROM 3, after the setting value of the desired code page is printed. , MENU key 13 is pressed, the set value of the printed code page is confirmed as the changed set value, and the changed set value is EEP.
It is stored in the ROM 6 and the menu mode is released.

【0031】プリンタ装置本体のCG ROM3に格納
されているコードページの検索が終了して、この中に所
望の設定値がない場合、オペレータがさらにSETキー
16を押すと、プリンタ制御プログラムによりCPU1
はSETキー16が押される毎にROMカード21に格
納されているコードページを検索する。そして、SET
キー16が押される毎にメニュー印字情報22の上位ア
ドレスから順にコードページの名称を印字するためのデ
ータを読み出し、順次図3に示すように印字する。
When the search for the code page stored in the CG ROM 3 of the main body of the printer is completed and the desired set value is not found in this, when the operator further presses the SET key 16, the printer control program causes the CPU 1 to operate.
Searches the code page stored in the ROM card 21 every time the SET key 16 is pressed. And SET
Each time the key 16 is pressed, the data for printing the code page name is read in order from the upper address of the menu print information 22 and sequentially printed as shown in FIG.

【0032】そして、オペレータは、SETキー16を
押して行く過程で、ROMカード21に格納されている
コードページの設定値の中で所望の設定値があれば、所
望のコードページの設定値が印字された後、MENUキ
ー13を押すことにより、印字されたコードページの設
定値が変更された設定値として確定し、変更された設定
値はEEPROM6に記憶され、メニューモードは解除
される。
When the operator presses the SET key 16, the operator prints the desired code page setting value if the desired setting value exists among the code page setting values stored in the ROM card 21. After that, by pressing the MENU key 13, the set value of the printed code page is confirmed as the changed set value, the changed set value is stored in the EEPROM 6, and the menu mode is released.

【0033】ここで、例えば、ROMカード21に格納
されている「コードページ“b”」が指定されたとする
と、印字の際には、CPU1は、ROMカード21のメ
ニュー印字情報22の「コードページ“b”」と配列上
対応しているコードページテーブル情報23の「コード
ページ“b”テーブル」を読み出し、「コードページ
“b”」がフォントパターン情報24のどのアドレスに
格納されているか認識して、フォントパターン情報24
から所定の文字フォントパターンデータを読み出して印
字を行う。
If, for example, the "code page" b "" stored in the ROM card 21 is designated, the CPU 1 will print the "code page" in the menu print information 22 of the ROM card 21 when printing. The “code page“ b ”table” of the code page table information 23 corresponding to “b” ”in the array is read and the address of the font pattern information 24 where the“ code page “b” ”is stored is recognized. Font pattern information 24
The specified character font pattern data is read from and printed.

【0034】図4は本発明の第2の実施例を示すコマン
ド方式におけるROMカードの構成を示す説明図で、第
2の実施例におけるROMカード25は、コマンドシー
ケンス情報26,コードページテーブル情報23および
フォントパターン情報24で構成されている。なお、こ
のROMカード25が装着されるプリンタ装置の構成に
ついては、第1の実施例で説明した図2のものと同じで
あるので、ここでは、その説明を省略する。
FIG. 4 is an explanatory view showing the structure of the ROM card in the command system showing the second embodiment of the present invention. The ROM card 25 in the second embodiment has the command sequence information 26 and the code page table information 23. And font pattern information 24. The configuration of the printer in which the ROM card 25 is mounted is the same as that of FIG. 2 described in the first embodiment, and therefore the description thereof is omitted here.

【0035】コマンドシーケンス情報26は、ROMカ
ード25内に格納されているコードページに対応するコ
マンドシーケンスが格納されており、例えば、コードペ
ージが“a,b・・・z”とある場合は、これに対応し
て“ESC a,ESC b・・・ESC z”が格納
されている。コードページテーブル情報23は、後述す
るフォントパターン情報内の個々の文字パターンデータ
のアドレスと前記CPU1が受信しうるコードデータ
(ここでは00H
The command sequence information 26 stores a command sequence corresponding to the code page stored in the ROM card 25. For example, when the code page is "a, b ... z", Corresponding to this, "ESC a, ESC b ... ESC z" are stored. The code page table information 23 includes addresses of individual character pattern data in font pattern information described later and code data that can be received by the CPU 1 (here, 00H).

〔0〕から0FFH〔255〕)をそ
れぞれ対応づけたデータから構成され、CPU1が受信
したコードデータに対してどの文字のフォントパターン
データをフォントパターン情報から読み出して前記印字
ヘッド9に送るか、上記したように“a,b・・・z”
と名称を付けられたコードページ毎に定義しており、
“a,b・・・z”と名称を付けられた各コードページ
毎に、文字パターンデータのアドレスとコードデータと
を所定の関係で対応づけたテーブルが格納されている。
[0] to 0FFH [255]) are associated with each other, and which character of the font pattern data is read from the font pattern information with respect to the code data received by the CPU 1 and sent to the print head 9, Like “a, b ... z”
It is defined for each code page named as
A table in which the addresses of the character pattern data and the code data are associated with each other in a predetermined relationship is stored for each code page named “a, b ... Z”.

【0036】また、コマンドシーケンス情報26とコー
ドページテーブル情報23の配列はそれぞれ対応してお
り、後述するようにコードページ指定コマンドを受けて
例えば、コマンドシーケンス情報26でESC“a”が
選択されると、コードページテーブル情報23内のこれ
に対応するコードページ“a”のテーブルが指定される
ようになっている。
The sequences of the command sequence information 26 and the code page table information 23 correspond to each other. For example, ESC "a" is selected by the command sequence information 26 in response to a code page designation command as will be described later. Then, the table of the corresponding code page "a" in the code page table information 23 is designated.

【0037】フォントパターン情報24は、各文字のビ
ットマップデータで構成され、各文字のフォントパター
ンデータが格納されている。以上のように構成されてい
る第2の実施例におけるROMカード25がプリンタ装
置に実装され、図示しないホストコンピュータからコー
ドページ指定コマンドを受信した場合、PROGRAM
ROM2に格納されているプリンタ制御プログラムに
より、CPU1は、まずプリンタ装置本体のCG RO
M3に格納されているコードページの中から該当するも
のが存在するか検索し、存在しない場合は前記ROMカ
ード25内のコマンドシーケンス情報26を検索し、該
当するコマンドシーケンスが存在したら、そのコマンド
シーケンスに対応するコードページを選択する。
The font pattern information 24 is composed of bitmap data of each character, and the font pattern data of each character is stored. When the ROM card 25 according to the second embodiment configured as described above is mounted on the printer and a code page designating command is received from a host computer (not shown), PROGRAM
According to the printer control program stored in the ROM 2, the CPU 1 first causes the CG RO of the printer apparatus main body.
The code page stored in M3 is searched for the corresponding one, and if not, the command sequence information 26 in the ROM card 25 is searched. If the corresponding command sequence exists, the command sequence is found. Select the code page corresponding to.

【0038】このように、ROMカード25内にコマン
ドシーケンス情報を格納しておくことにより、PROG
RAM ROM2に格納されているプリンタ制御プログ
ラムを変更することなくROMカード25内のコードペ
ージをホストコンピュータから選択することができる。
図5は本発明の第3の実施例を示すメニュー,コマンド
方式併用におけるROMカードの構成を示す説明図で、
図1に示すメニュー印字情報22と図4に示すコマンド
シーケンス情報26を1つのROMカードに格納したも
ので、これにより1つのカードでメニュー方式とコマン
ド方式の両方でコードページの指定の指定が可能とな
る。
By thus storing the command sequence information in the ROM card 25, the PROG
The code page in the ROM card 25 can be selected from the host computer without changing the printer control program stored in the RAM ROM2.
FIG. 5 is an explanatory diagram showing the configuration of the ROM card in the combination of the menu and command methods according to the third embodiment of the present invention.
The menu print information 22 shown in FIG. 1 and the command sequence information 26 shown in FIG. 4 are stored in one ROM card. This allows one card to specify the code page in both the menu method and the command method. Becomes

【0039】[0039]

【発明の効果】以上詳細に説明したように、本発明は、
ROMカードにメニュー印字情報あるいはコマンドシー
ケンス情報を記憶しているので、ROMカード毎にプリ
ンタ本体の制御プログラムを変更することなく、メニュ
ー方式あるいはコマンド方式のいずれか、あるいは両方
でROMカードに格納されているコードページを指定す
ることができる。
As described in detail above, the present invention is
Since the menu print information or command sequence information is stored in the ROM card, it can be stored in the ROM card by either the menu method or the command method or both without changing the control program of the printer body for each ROM card. The specified code page can be specified.

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

【図1】本発明の第1の実施例を示すROMカードの構
成を示す説明図である。
FIG. 1 is an explanatory diagram showing a configuration of a ROM card showing a first embodiment of the present invention.

【図2】第1の実施例におけるプリンタ装置のブロック
図である。
FIG. 2 is a block diagram of the printer device according to the first embodiment.

【図3】第1の実施例におけるメニュー印字例を示す説
明図である。
FIG. 3 is an explanatory diagram showing an example of menu printing in the first embodiment.

【図4】本発明の第2の実施例を示すROMカードの構
成を示す説明図である。
FIG. 4 is an explanatory diagram showing a configuration of a ROM card showing a second embodiment of the present invention.

【図5】本発明の第3の実施例を示すROMカードの構
成を示す説明図である。
FIG. 5 is an explanatory diagram showing a configuration of a ROM card showing a third embodiment of the present invention.

【図6】従来のプリンタ装置のブロック図である。FIG. 6 is a block diagram of a conventional printer device.

【図7】メニュー設定用スイッチの配列を示す説明図で
ある。
FIG. 7 is an explanatory diagram showing an arrangement of menu setting switches.

【図8】メニュー設定の一覧表の一例を示す説明図であ
る。
FIG. 8 is an explanatory diagram showing an example of a list of menu settings.

【図9】メニュー設定の階層構造を示す説明図である。FIG. 9 is an explanatory diagram showing a hierarchical structure of menu settings.

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

21 メニュー印字情報 22 コードページテーブル情報 23 フォントパターン情報 26 コマンドシーケンス情報 21 Menu print information 22 Code page table information 23 Font pattern information 26 Command sequence information

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 パターンデータを受けて印字を行う印字
ヘッドと、 印字すべき文字をコードデータとして送る外部装置から
受信したコードデータをパターンデータに変換して前記
印字ヘッドに送り、印字を行わせる制御手段とを備える
とともに、 前記制御手段により格納しているデータの読み取りが行
われるROMカードが着脱可能に装着されたプリンタ装
置において、 前記ROMカードに、 各文字のパターンデータから構成されるフォントパター
ン情報と、 前記フォントパターン情報内の個々の文字パターンデー
タのアドレスと前記制御手段が受信しうるコードデータ
をぞれぞれ対応づけたデータから構成され、制御手段が
受信したコードデータに対してどの文字のフォントパタ
ーンデータをフォントパターン情報から読み出して前記
印字ヘッドに送るかコードページ毎に定義しているコー
ドページテーブル情報と、 前記コードページテーブル情報内の各コードページの名
称を印字させるとともに、前記コードページテーブル情
報の中から印刷されたコードページを指定するためのデ
ータから構成され、前記制御手段により読み出されて各
コードページの名称を順に前記印字ヘッドにより印字さ
せるメニュー印字情報と、 を格納したことを特徴とするプリンタ装置。
1. A print head for receiving pattern data for printing, and code data received from an external device for sending a character to be printed as code data, converted into pattern data and sent to the print head for printing. In a printer device detachably mounted with a ROM card for reading data stored by the controller, a font pattern composed of pattern data of each character is provided in the ROM card. Information, the address of each character pattern data in the font pattern information, and the code data which the control means can receive, respectively. The font pattern data of the character is read from the font pattern information and the The code page table information sent to the head or defined for each code page and the name of each code page in the code page table information are printed, and the printed code page is specified from the code page table information. And a menu print information which is composed of data for performing the printing, and which is read by the control means and causes the print head to print the names of the code pages in order.
【請求項2】 パターンデータを受けて印字を行う印字
ヘッドと、 印字すべき文字をコードデータとして送る外部装置から
受信したコードデータをパターンデータに変換して前記
印字ヘッドに送り、印字を行わせる制御手段とを備える
とともに、 前記制御手段により格納しているデータの読み取りが行
われるROMカードが着脱可能に装着されたプリンタ装
置において、 前記ROMカードに、 各文字のパターンデータから構成されるフォントパター
ン情報と、 前記フォントパターン情報内の個々の文字パターンデー
タのアドレスと前記制御手段が受信しうるコードデータ
をぞれぞれ対応づけたデータから構成され、制御手段が
受信したコードデータに対してどの文字をフォントパタ
ーン情報から読み出して前記印字ヘッドに送るかコード
ページ毎に定義しているコードページテーブル情報と、 上位装置から送られてくるコードページ指定コマンドに
より検索される個々のコードページと対応させたコマン
ドシーケンスから構成され、上位装置から送られてくる
コードページ指定コマンドと合致するコマンドシーケン
スと対応したコードページを選択させるコマンドシーケ
ンス情報と、 を格納したことを特徴とするプリンタ装置。
2. A print head for receiving pattern data for printing, and code data received from an external device for sending characters to be printed as code data, converted to pattern data and sent to the print head for printing. In a printer device detachably mounted with a ROM card for reading data stored by the controller, a font pattern composed of pattern data of each character is provided in the ROM card. Information, the address of each character pattern data in the font pattern information, and the code data which the control means can receive, respectively. Read the characters from the font pattern information and send them to the print head The code page table information defined for each page and the command sequence corresponding to each code page searched by the code page specification command sent from the host device, and the code sent from the host device. A printer device, which stores command sequence information for selecting a code page corresponding to a command sequence that matches a page designation command, and:
JP4341810A 1992-12-22 1992-12-22 Printer device Expired - Fee Related JP2968405B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4341810A JP2968405B2 (en) 1992-12-22 1992-12-22 Printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4341810A JP2968405B2 (en) 1992-12-22 1992-12-22 Printer device

Publications (2)

Publication Number Publication Date
JPH06183071A true JPH06183071A (en) 1994-07-05
JP2968405B2 JP2968405B2 (en) 1999-10-25

Family

ID=18348938

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4341810A Expired - Fee Related JP2968405B2 (en) 1992-12-22 1992-12-22 Printer device

Country Status (1)

Country Link
JP (1) JP2968405B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011008661A (en) * 2009-06-29 2011-01-13 Seiko Epson Corp Output control data generating device, data generating method, and program
US8694882B2 (en) 2009-11-20 2014-04-08 Seiko Epson Corporation Control device, method of controlling a recording device, and a storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61225075A (en) * 1985-03-30 1986-10-06 Toshiba Corp Printing apparatus
JPS62256677A (en) * 1986-04-30 1987-11-09 Juki Corp Mode setter for printer
JPS63159071A (en) * 1986-12-24 1988-07-01 Hitachi Ltd Printing controller
JPH01159726A (en) * 1987-12-16 1989-06-22 Tokyo Electric Co Ltd Data buffer device
JPH01207788A (en) * 1988-02-16 1989-08-21 Fuji Xerox Co Ltd Document producing device
JPH01226381A (en) * 1988-03-08 1989-09-11 Fujitsu Ltd Printing mode setting system of printer
JPH0217359U (en) * 1988-07-18 1990-02-05
JPH04279378A (en) * 1991-03-08 1992-10-05 Chinon Ind Inc Mode setting device of serial printer

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61225075A (en) * 1985-03-30 1986-10-06 Toshiba Corp Printing apparatus
JPS62256677A (en) * 1986-04-30 1987-11-09 Juki Corp Mode setter for printer
JPS63159071A (en) * 1986-12-24 1988-07-01 Hitachi Ltd Printing controller
JPH01159726A (en) * 1987-12-16 1989-06-22 Tokyo Electric Co Ltd Data buffer device
JPH01207788A (en) * 1988-02-16 1989-08-21 Fuji Xerox Co Ltd Document producing device
JPH01226381A (en) * 1988-03-08 1989-09-11 Fujitsu Ltd Printing mode setting system of printer
JPH0217359U (en) * 1988-07-18 1990-02-05
JPH04279378A (en) * 1991-03-08 1992-10-05 Chinon Ind Inc Mode setting device of serial printer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011008661A (en) * 2009-06-29 2011-01-13 Seiko Epson Corp Output control data generating device, data generating method, and program
US8786868B2 (en) 2009-06-29 2014-07-22 Seiko Epson Corporation Output control data generating device, data generating method, and program
US8694882B2 (en) 2009-11-20 2014-04-08 Seiko Epson Corporation Control device, method of controlling a recording device, and a storage medium

Also Published As

Publication number Publication date
JP2968405B2 (en) 1999-10-25

Similar Documents

Publication Publication Date Title
US5560718A (en) Label printer with simultaneous printing and storing
JPH01183729A (en) Printer containing automatic initializing function of memory
US8786868B2 (en) Output control data generating device, data generating method, and program
JPH03127088A (en) Label printer
JP2968405B2 (en) Printer device
KR100217995B1 (en) Printing device preformat feature and method thereof
US5675722A (en) Pattern output apparatus
US5444826A (en) Image processing appartus which processes a plurality of command languages
JP3632422B2 (en) Printer, printer control device and printing system
KR100509458B1 (en) Overlapping printing method in printer
JPS6145325A (en) Printer
JPH06187107A (en) Slip distribution output device
US5404517A (en) Apparatus for assigning order for sequential display of randomly stored titles by comparing each of the titles and generating value indicating order based on the comparison
JP2726752B2 (en) Printer device
JPH0585014A (en) Setting device for printer
JP3742285B2 (en) Identification code output device
JPH06293160A (en) Terminal printer
JP3317042B2 (en) Data processing system
JPH11134246A (en) Data processing system and data input method from storage device in data processing system
JPH07106653B2 (en) Information processing method
JPH06162020A (en) Document preparing device
JPH04292975A (en) Printing system setting device
JPS61179750A (en) Pattern converting apparatus
JPH079705A (en) Method of printing designated page in one lump and apparatus thereof
JPH0448374A (en) Document data processor

Legal Events

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

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20070820

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

Free format text: PAYMENT UNTIL: 20080820

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090820

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090820

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100820

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees