JPH0236004B2 - - Google Patents

Info

Publication number
JPH0236004B2
JPH0236004B2 JP59123145A JP12314584A JPH0236004B2 JP H0236004 B2 JPH0236004 B2 JP H0236004B2 JP 59123145 A JP59123145 A JP 59123145A JP 12314584 A JP12314584 A JP 12314584A JP H0236004 B2 JPH0236004 B2 JP H0236004B2
Authority
JP
Japan
Prior art keywords
printer
data processing
code
characters
common
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP59123145A
Other languages
Japanese (ja)
Other versions
JPS613238A (en
Inventor
Kohei Myamoto
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 SHISUTETSUKUSU KK
Original Assignee
NIPPON SHISUTETSUKUSU KK
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 SHISUTETSUKUSU KK filed Critical NIPPON SHISUTETSUKUSU KK
Priority to JP59123145A priority Critical patent/JPS613238A/en
Publication of JPS613238A publication Critical patent/JPS613238A/en
Publication of JPH0236004B2 publication Critical patent/JPH0236004B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】 (1) 発明の技術分野 本発明は機種の異なるデータ処理システム用プ
リンタを共通に利用可能にした共通適合制御方式
およびその共通適合制御装置、特に異なるメーカ
による異なる機種のプリンタおよび同一メーカで
機種の異なるプリンタのいずれも共通に使用可能
にすると共に、主回線に接続された主データ処理
装置以外に複数の副データ処理装置をも選択的に
利用可能にしたプリンタ用の共通適合制御方式お
よびその共通適合制御装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to a common compatibility control method and common compatibility control device that enable common use of printers for data processing systems of different models, and in particular to a common compatibility control system that enables printers for different models of data processing systems to be commonly used. A printer for printers that allows the common use of printers and printers of different models from the same manufacturer, as well as selectively using multiple sub data processing devices in addition to the main data processing device connected to the main line. The present invention relates to a common adaptive control method and a common adaptive control device thereof.

(2) 技術の背景 データ処理システムにおいては、一般に、特定
のデータ処理装置本体と、該データ処理装置に用
いられかつ処理されるデータを印字するプリンタ
とは、前記システムに用いられるコード(符号)
あるいは情報処理の面から、用いられたデータ処
理装置本体と密接な関係を有し、互換性に乏しい
のが普通である。
(2) Background of the technology In a data processing system, generally, a specific data processing device and a printer that prints data that is used and processed by the data processing device are coded (symbols) used in the system.
Or, from the perspective of information processing, it is usually closely related to the data processing device itself and lacks compatibility.

印字されるべき文字・数字のうち、アルフアベ
ツト、カタカナ文字、数字および若干の特殊符号
などについては、確かにある程度、JIS規格
(C6220、1バイトコード)で標準化されている
が、それでも印字のピツチ幅、拡大文字などを制
御する制御コードは、プリンタの機種毎に仕様が
異なつているのが現状である。
Among the characters and numbers that should be printed, alpha characters, katakana characters, numbers, and some special symbols are certainly standardized to some extent by the JIS standard (C6220, 1-byte code), but the printing pitch width still varies. Currently, the specifications of control codes for controlling , enlarged characters, etc. differ depending on the printer model.

更に、欧米などで用いられているアルフアベツ
ト文字およびその変形文字と比較して、日本語に
は漢字、ひら仮名をも併用する日本語特有の特殊
性と処理の複雑さがあるが、近年においてはプリ
ンタとして既製の活字とあまり変りのない印字を
行なうことが可能なドツトプリンタが用いられ、
漢字、ひら仮名を含む複雑な日本語の印字を実現
している。そして、漢字を含む図形文字用のコー
ドとして、JIS規格(C6226)による2バイトコ
ードが一応定められ、規準ベースとしているが、
下記の如き問題を生じている。
Furthermore, compared to the alpha alphabet and its variant characters used in Europe and the United States, Japanese has the unique characteristics of using kanji and hiragana and is more complex to process. The printer used was a dot printer, which could print characters that were not much different from ready-made type.
It is capable of printing complex Japanese characters including kanji and hiragana. As a code for graphic characters including kanji, a 2-byte code according to the JIS standard (C6226) has been established and is based on the standard.
The following problems are occurring.

(3) 従来技術の問題点 (イ) 例えば、漢字用の2バイトコードによる印字
開始指示符号および印字終了指示符号は、各社
のプリンタの機種毎に異なつた仕様となつてい
て、そのままでは機種の異なるプリンタ間では
互換性がない。
(3) Problems with the prior art (a) For example, the print start indicator code and print end indicator code using 2-byte codes for Kanji characters have different specifications for each printer model from each company, and if Not compatible between different printers.

(ロ) 通常の事務処理においてよく用いられる特殊
文字・符号、例えば(株)、(有)、No.、TEL、
〓、等は、JIS規格C6226で規定されてなく、
プリンタの各機種毎に、前記JIS規格である
C6226規格の未定義区分(28、29、2A、2B、
……2F行)を利用して、予め前記特殊文字・
符号を登録しているのが現状であり、いずれに
しても漢字に対するコードがすべて規格化され
ている訳でないので、プリンタについて機種間
の互換性がない。
(b) Special characters and codes often used in normal business processes, such as Co., Ltd., No., TEL,
〓, etc. are not specified in JIS standard C6226,
The above JIS standard is specified for each printer model.
C6226 standard undefined categories (28, 29, 2A, 2B,
...2F line) to enter the above special characters and characters in advance.
Currently, codes are registered, and in any case, not all codes for kanji have been standardized, so there is no compatibility between printer models.

したがつて、一度、特定の機種のプリンタを選
択し利用することになつたデータ処理システムに
おいては、従来、プリンタ側のソフトウエアかデ
ータ処理装置本体のソフトウエアの変更なしに、
他の機種のプリンタをそのまま前記処理システム
に接続して使用することは不可能であつた。ま
た、ある型式のプリンタ、特にドツトプリンタか
ら他の型式のドツトプリンタに変更する必要が生
じた場合に、その変更毎に上記ソフトウエアを変
更するか、コード変換機能を有する特殊な付属装
置を付加するか、あるいは場合によつては、変更
を迫られた原プリンタに密接に関連するデータ処
理装置本体を放棄して、新規なプリンタに適合す
る新規なデータ処理装置本体を採入れる必要さ
え、生じることもあつた。
Therefore, once a data processing system has selected and used a specific model of printer, it has conventionally been possible to select and use a specific model of printer without changing the printer's software or the software of the data processing device itself.
It has been impossible to use other types of printers by directly connecting them to the processing system. Also, if it becomes necessary to change from one type of printer, especially a dot printer, to another type of dot printer, do you need to change the above software each time you change the printer, or do you need to add a special accessory device that has a code conversion function? Or, in some cases, it may even be necessary to abandon the data processing device that is closely related to the original printer that needs to be changed and adopt a new data processing device that is compatible with the new printer. It was hot.

このようにプリンタ機種間で相互の互換性がな
いため比較的高価なプリンタとしては無駄が多
く、かつその使用が制限されてしまい、プリンタ
の機能を十分に発揮できないばかりでなくそれを
十分に使いこなしているとは言えなかつた。
In this way, the lack of mutual compatibility between printer models results in a lot of waste for relatively expensive printers, and their use is limited, making it impossible to fully utilize the printer's functions and to make full use of it. I couldn't say that it was.

(4) 発明の目的 したがつて、本発明は上記の問題に鑑みこれを
解決するもので、特定のデータ処理システムある
いは既存のデータ処理システムと、それに密接に
関連するプリンタのみならず、メーカの異なる別
のプリンタも利用可能とすると共に、主たるデー
タ処理装置本体の外に、複数の副データ処理装置
も接続して選択的に切替えることによつて、いず
れか1台の処理装置からの出力を1台のプリンタ
で共通に印字可能にした共通適合制御方式および
その共通適合制御装置を提供することを目的とし
ている。
(4) Purpose of the Invention Therefore, the present invention is to solve the above problems, and is intended to solve the above problems, and to solve the problems not only with a specific data processing system or an existing data processing system and a printer closely related thereto, but also with a manufacturer's product. By making it possible to use different printers, and by connecting multiple sub data processing devices in addition to the main data processing device and selectively switching between them, the output from any one processing device can be The object of the present invention is to provide a common compatibility control method and a common compatibility control device that enable common printing with one printer.

(5) 発明の実施例 次に本発明の実施例について添付図面を参照し
て詳細に説明する。
(5) Embodiments of the invention Next, embodiments of the invention will be described in detail with reference to the accompanying drawings.

第1図は本発明による共通適合制御方式の構成
を示しており、本発明による共通適合制御装置を
用いて機種の異なる複数のデータ処理装置(図示
の実施例においては3台まで)を前記制御装置に
接続し、いずれかのデータ処理装置からの処理情
報を1台のドツトプリンタに入力して印字するよ
うにしている。
FIG. 1 shows the configuration of a common adaptive control system according to the present invention, in which a plurality of data processing devices (up to three in the illustrated embodiment) of different models are controlled using a common adaptive control device according to the present invention. The processing information from one of the data processing devices is input to one dot printer and printed.

すなわち、参照番号1は本発明による共通適合
制御装置であつて、図示の実施例においては、入
力側にチヤンネルCH1,CH2,CH3に接続される
3個のコネクタ(図示せず)を有し、該コネクタ
に同一機種または異なる機種のデータ処理装置を
3台まで任意に接続できるようになつており、そ
の出力側に特定機種のドツトプリンタを1台接続
できる1個のコネクタKを有している。2,3,
4は複数のデータ処理装置を示し、例えば2は主
データ処理装置であり、回線(チヤンネルCH1
を介して前記入力側コネクタの1個に接続され、
3および4は、例えば1とは別機種のパーソナル
コンピユータ(パソコン)などを副データ処理装
置として入力側コネクタに接続することができ
る。5はドツトプリンタであつて、前記いずれの
データ処理装置2,3,4に共通に利用され漢字
を含む印字を行なうことができるように共通適合
制御装置1の出力側コネクタに接続される。
That is, reference numeral 1 denotes a common compatible control device according to the invention, which in the illustrated embodiment has three connectors (not shown) connected to the channels CH 1 , CH 2 and CH 3 on the input side. It is designed to allow up to three data processing devices of the same model or different models to be arbitrarily connected to the connector, and has one connector K on the output side to which one dot printer of a specific model can be connected. ing. 2, 3,
4 indicates a plurality of data processing devices, for example 2 is the main data processing device, and the line (channel CH 1 )
connected to one of the input side connectors via
3 and 4 can be connected to the input side connector, for example, a personal computer (personal computer) of a different model from 1 as a sub data processing device. Reference numeral 5 denotes a dot printer, which is commonly used by any of the data processing devices 2, 3, and 4, and is connected to the output side connector of the common adaptation control device 1 so that it can print characters including Chinese characters.

また、共通適合制御装置1に設けられている押
ボタンスイツチB1,B2,B3は、押された際、前
記入力側コネクタに接続された3台のデータ処理
装置のいずれかを任意に選択する、いわばチヤン
ネル選択スイツチとなつており、スナツプスイツ
チSW1,SW2,SW3は前記入力側コネクタを介し
て各チヤンネルに接続されたデータ処理装置2,
3,4が、同一機種か異なる機種に従つて切替え
られる機種選択用のスイツチとなつている。この
ようにして該機種選択用スイツチSW1〜SW3およ
びチヤンネル選択用押ボタンスイツチB1〜B3
よつて選択された特定のデータ処理装置のみがド
ツトプリンタに接続され、そこからの情報が該プ
リンタで印字されるようになつている。
In addition, the pushbutton switches B 1 , B 2 , and B 3 provided in the common compatible control device 1, when pressed, arbitrarily switch any of the three data processing devices connected to the input side connector. The snap switches SW 1 , SW 2 , and SW 3 serve as channel selection switches for selecting data processing devices 2 and 2 connected to each channel via the input connectors.
3 and 4 are model selection switches that can be switched depending on whether the model is the same or a different model. In this way, only the specific data processing device selected by the model selection switches SW 1 to SW 3 and the channel selection pushbutton switches B 1 to B 3 is connected to the dot printer, and the information therefrom is transmitted to the dot printer. It is now printed on a printer.

第2図a〜dは、第1図に示した実施例の共通
適合制御装置1に対して同種または異なる二機種
のデータ処理装置を3台接続し、処理した情報を
いずれか一台から選択的に取出して共通使用のド
ツトプリンタ5に印字させる様子を示す。すなわ
ち、チヤンネルCH1,CH2,CH3に接続される3
台のデータ処理装置2,3,4(第1図)につい
てA社製の或る機種のデータ処理装置Aで示し、
B社製の他機種ものをBで示した場合の各選択切
替え動作を示す。
Figures 2 a to d show that three data processing apparatuses of the same type or two different types are connected to the common adaptive control apparatus 1 of the embodiment shown in Figure 1, and processed information is selected from any one of the data processing apparatuses. The figure shows how the dot printer 5 is taken out and printed on a commonly used dot printer 5. That is, 3 channels connected to channels CH 1 , CH 2 , CH 3
The data processing devices 2, 3, and 4 (Fig. 1) are shown as data processing device A of a certain model made by company A,
Each selection switching operation is shown when another model made by company B is indicated by B.

第2図aにおいては、共通適合制御装置1に対
してA社製の同一機種Aを3台接続して1台のド
ツトプリンタ5に情報を印字する場合を示すもの
で、この場合、例えば機種選択用スナツプスイツ
チSW1〜SW3は図示のように上に投入された状態
でA機種を選択できるようにしておく。
FIG. 2a shows a case where three identical models A manufactured by company A are connected to the common compatible control device 1 and information is printed on one dot printer 5. In this case, for example, model selection is performed. The snap switches SW 1 to SW 3 are placed in the upper position as shown in the figure so that the A model can be selected.

そうすると、第2図bに示すデータ処理装置の
接続状態においては、CH1にA機種、CH2,CH3
には同一のB機種が接続されているから、スナツ
プスイツチSW1は上に投入し、SW2およびSW3
B機種を選択するために下に投入することによつ
て異なる2機種のデータ処理装置A,B,Bから
の情報が選択的にプリンタ5に印字されうる。
Then, in the connection state of the data processing device shown in FIG .
Since the same B model is connected to the , two different models of data processing devices can be selected by setting the snap switch SW 1 at the top and switching SW 2 and SW 3 at the bottom to select the B model. Information from A, B, and B can be selectively printed on the printer 5.

第2図cにおいてはA機種が2台、B機種が1
台接続された場合であるからチヤンネルCH1
CH2に対応するスナツプスイツチSW1およびSW2
を上に投入し、チヤンネルCH3に対応するスナツ
プスイツチSW3は下に投入することによつてプリ
ンタ5は接続準備状態におかれる。
In Figure 2c, there are two A models and one B model.
If the unit is connected to channel CH 1 ,
Snap switch SW 1 and SW 2 corresponding to CH 2
By turning the snap switch SW 3 corresponding to the channel CH 3 into the top position and turning the snap switch SW 3 corresponding to the channel CH 3 into the bottom position, the printer 5 is placed in a connection preparation state.

このようにセツトしておいて、プリンタ5で印
字する情報を送り出す特定のデータ処理装置を選
択するには、チヤンネル選択用押ボタンスイツチ
B1〜B3のいずれかを押せばよい。例えば第2図
bの場合でチヤンネルCH1に接続されたA機種の
データ処理装置からの情報を共通ドツトプリンタ
5で印字させようとするには、押ボタンスイツチ
B1を押せばよい。
With this setting in place, to select a specific data processing device from which information is to be printed by the printer 5, press the channel selection pushbutton switch.
Just press any one of B 1 to B 3 . For example, in the case of FIG. 2b, if you want the common dot printer 5 to print information from the data processing device of model A connected to channel CH 1 , press the push button switch.
Just press B 1 .

第2図dは、この状態を示している。すなわ
ち、スナツプスイツチSW1が上に投入されてお
り、この状態でスイツチB1を押せばチヤンネル
CH1のA機種のデータ処理装置がプリンタ5に接
続される。後ほど詳細に述べるようにスイツチ
SW1が上に投入されているか下に投入されている
かを制御プログラムが判断し、その結果にもとづ
いてA機種用かB機種用のコード変換ステツプが
自動的に選択され、プリンタ5に対する印字処理
が共通適合制御装置1中で行なわれる。すなわ
ち、この場合にはCH1のA機種が選択接続されて
いるので、該A機種のデータ処理装置に対応する
特殊文字を外字として登録すると共に必要な準備
動作(イニシヤライズ動作)を行なつてプリンタ
5が印字可能状態にしている。
FIG. 2d shows this situation. In other words, snap switch SW 1 is placed on the top, and if you press switch B 1 in this state, the channel will be changed.
The A type data processing device of CH 1 is connected to the printer 5. switch as described in detail later.
The control program determines whether SW 1 is inserted at the top or bottom, and based on the result, the code conversion step for model A or model B is automatically selected, and the printing process for printer 5 is performed. is carried out in the common adaptation control device 1. That is, in this case, since model A of CH 1 is selectively connected, the special characters corresponding to the data processing device of model A are registered as external characters, and the necessary preparation operations (initialization operations) are performed to connect the printer. 5 makes it printable.

第3図は、第1図に示した本発明による共通適
合制御装置の詳細な構成図である。本発明の共通
適合制御装置は、種々の演算制御を行なうマイク
ロプロセツサ(CPU)10、あとで述べる本発
明による制御プログラム、外字イメージデータな
どが記憶されているROM(リードオンリーメモ
リ)11、バツフア領域を有しかつ外字対応テー
ブルなどを記憶しうるRAM(ランダムアクセス
メモリ)12、各チヤンネルCH1〜CH3に接続さ
れた各データ処理装置のうち特定のデータ処理装
置を選択する押ボタンスイツチB1,B2,B3(第1
図)を有するチヤンネル選択スイツチ13、前記
各チヤンネルCH1〜CH3に接続された各データ処
理装置の機種に合わせて選択設定されるスナツプ
スイツチSW1,SW2,SW3(第1図)を有する機
種選択スイツチ14、現に選択接続されているデ
ータ処理装置またはチヤンネル番号その他必要に
応じていずれかの機種を表示するLEDなどで構
成された表示装置15、その入力側にそれぞれ設
けられ各チヤンネルCH1〜CH3に接続される各デ
ータ処理装置(DP)2,3,4とCPU10との
間をインターフエースする各入出力インターフエ
ース16,17,18およびその出力側に設けら
れ前記CPU10と共通使用されるドツトプリン
タ5との間をインターフエースする入出力インタ
ーフエース19で構成されている。
FIG. 3 is a detailed configuration diagram of the common adaptation control device according to the present invention shown in FIG. 1. The common compatible control device of the present invention includes a microprocessor (CPU) 10 that performs various arithmetic controls, a ROM (read only memory) 11 that stores a control program according to the present invention described later, external character image data, etc., and a buffer. RAM (Random Access Memory) 12 which has an area and can store external character correspondence tables, etc., and a pushbutton switch B that selects a specific data processing device from among the data processing devices connected to each channel CH 1 to CH 3 . 1 , B 2 , B 3 (first
a channel selection switch 13 (see FIG. 1), and snap switches SW 1 , SW 2 , SW 3 (see FIG. 1 ) which are selectively set according to the model of each data processing device connected to each of the channels CH 1 to CH 3 . A model selection switch 14, a display device 15 consisting of an LED, etc., which displays the data processing device currently selectively connected, the channel number, and any other model as necessary; each channel CH 1 is provided on the input side thereof. ~ Each input/output interface 16, 17, 18 that interfaces between each data processing device (DP) 2, 3, 4 connected to CH 3 and the CPU 10, and the input/output interface 16, 17, 18 provided on the output side and used in common with the CPU 10. It consists of an input/output interface 19 that interfaces with the dot printer 5 that is used.

本発明の装置においては、各チヤンネルCH1
CH3に接続された各データ処理装置2,3,4か
ら送られてくる文字・数字に対応するコードのう
ち前述のJIS規格では未定義の特殊文字、例えば
(株)、(有)、(代)、No.等に対応するものが、共通に使

されるドツトプリンタ5には準備されていない場
合に、本発明の共通適合制御装置1内のROM1
1内にそれらの特殊文字に対応する文字イメージ
を予め記憶しておいたものを該ドツトプリンタ5
に外字として登録しておくようにしている。そし
て前記制御装置1内のRAM12には、用いられ
たデータ処理装置2,3,4の有している特殊文
字に対応する各コードとドツトプリンタ5に外字
として登録された各印字指示コードとの対応テー
ブルを予め記憶しておくようにする。
In the device of the present invention, each channel CH 1 ~
Among the codes corresponding to the characters and numbers sent from each data processing device 2, 3, and 4 connected to CH 3 , special characters undefined by the JIS standard mentioned above, such as
Co., Ltd., Co., Ltd., No., etc., when the commonly used dot printer 5 is not prepared, the ROM 1 in the common compatible control device 1 of the present invention
Character images corresponding to those special characters are stored in advance in the dot printer 5.
I am trying to register it as a custom character. The RAM 12 in the control device 1 stores the correspondence between each code corresponding to the special character possessed by the data processing devices 2, 3, and 4 used and each print instruction code registered as an external character in the dot printer 5. Make sure to memorize the table in advance.

例えばA社製のA機種のデータ処理装置におい
て、規格外の特殊文字、「(有)」が2バイトコード
(HEX)2865、「(株)」が前記コード2866、「(代)」が
コード2867……、などで表わされていた場合に、
ドツトプリンタ5に外字登録されている該特殊文
字の登録場所(位置)が外字登録域1番目、2番
目、3番目……というように対応テーブルにして
RAM12に記憶しておけばよい。そうすること
によつて、例えば特殊文字「(株)」に対応するコー
ド2866は、プリンタ5に2番目として外字登録さ
れた「(株)」の印字指示コードであることがCPU
10で判断できるので、使用されるドツトプリン
タ5には本来、準備されていない特殊文字が前記
ROM11からの文字イメージの形式でプリンタ
5に与えられ、それらの印字が可能となる。
For example, in a data processing device of model A manufactured by company A, the non-standard special characters ``(Y)'' is the 2-byte code (HEX) 2865, ``Co., Ltd.'' is the code 2866, and ``(O)'' is the code. 2867..., etc.,
The registration locations (positions) of the special characters registered in the dot printer 5 as external characters are the first, second, third, etc. in the external character registration area, and so on, in a correspondence table.
It is sufficient to store it in RAM12. By doing so, for example, the CPU can determine that the code 2866 corresponding to the special character "Co., Ltd." is the print instruction code for "Co., Ltd.", which is registered as the second external character in the printer 5.
10, so the dot printer 5 used has special characters that are not originally prepared.
The characters are provided to the printer 5 in the form of character images from the ROM 11, allowing them to be printed.

次に本発明による共通適合制御装置1(第3
図)の動作を、第4図の制御プログラムフローチ
ヤートを参照して説明する。なお、該フローチヤ
ートに対応した制御プログラムは共通適合制御装
置内のROM11に予め記憶されている。
Next, the common adaptation control device 1 (third
The operation of FIG. 4 will be explained with reference to the control program flowchart of FIG. Note that a control program corresponding to the flowchart is stored in advance in the ROM 11 in the common compatible control device.

動作の開始(START)により、ステツプ(1)に
おいて、本発明の前記制御装置1のチヤンネル選
択スイツチ13のどの押ボタンB1〜B3が押され
どのチヤンネルCH1〜CH3が選択されているか
(ON状態)を、入力側の入出力インターフエー
ス16〜18を介してCPU10がチエツクする。
例えば、押ボタンB1が押されていればチヤンネ
ルCH1が装置1に接続され選択されていることが
判る。
Upon the start of operation (START), in step (1), which push button B1 to B3 of the channel selection switch 13 of the control device 1 of the present invention is pressed and which channel CH1 to CH3 is selected? (ON state) is checked by the CPU 10 via the input/output interfaces 16 to 18 on the input side.
For example, if pushbutton B 1 is pressed, it is known that channel CH 1 is connected to device 1 and selected.

次いでステツプ(2)において前記選択スイツチ1
3に対応する機種選択スイツチSW1〜SW3がどの
機種(A、B)を選択しているかを調べる。もし
も機種選択スイツチSW1が上に投入されていれば
チヤンネルCHのA機種のデータ処理が選択され
ていることが(第3図参照)判定され、動作は次
のステツプに移る。
Then, in step (2), the selection switch 1
Check which model (A, B) is selected by the model selection switches SW 1 to SW 3 corresponding to No. 3. If the model selection switch SW1 is turned upward, it is determined that data processing of model A of channel CH is selected (see FIG. 3), and the operation moves to the next step.

ステツプ(3)において、選択されたデータ処理装
置の機種に応じて予めROM11に記憶してある
特殊文字イメージをプリンタ5に外字(JIS規格
外文字)として登録すると共に、予め作成され
ROM11に記憶されていた入力コードに対応す
る外字登録番号の対応テーブルをROM11から
RAM12へ移す。例えば、この場合、A機種デ
ータ処理装置の2バイトコード2866は登録された
外字の2番目に相当することが判るような印字指
示コードの対応テーブルを作成しておく。
In step (3), special character images pre-stored in the ROM 11 according to the model of the selected data processing device are registered in the printer 5 as external characters (non-JIS standard characters), and the special character images created in advance are
The correspondence table of external character registration numbers corresponding to the input codes stored in ROM11 is retrieved from ROM11.
Move to RAM12. For example, in this case, a correspondence table of print instruction codes is created so that it can be seen that the 2-byte code 2866 of the A model data processing device corresponds to the second registered external character.

こうしておいてから、ステツプ(4)において、特
定のチヤンネルに接続され選択されたデータ処理
装置(この場合はチヤンネルCH1のA機種)から
ドツトプリンタ5で印字すべきコードデータを共
通適合制御装置1に実際に入力する。
After doing this, in step (4), the code data to be printed by the dot printer 5 is sent to the common compatibility control device 1 from the selected data processing device connected to a specific channel (in this case, model A of channel CH 1 ). Actual input.

ステツプ(5)において、入力されたコードが使用
されているプリンタ用のコードに変換する必要が
あるか否かを判定する。その必要があれば
(YES)、動作はステツプ(6)に移り、必要なコー
ドおよびデータの変換を行なう。
In step (5), it is determined whether the input code needs to be converted into a code for the printer being used. If so (YES), the operation moves to step (6) and performs the necessary code and data conversion.

一方、ステツプ(5)においてコード等の変換の必
要がなく、そのままの形式で利用可能であると判
断された場合には(No)、ステツプ6は無視され
る。
On the other hand, if it is determined in step (5) that there is no need to convert the code or the like and that it can be used as is (No), step 6 is ignored.

次いでステツプ(7)において、選択されたデータ
処理装置からの文字コードのうち、特殊文字に対
するコードが含まれていて外字登録印字の必要性
があるか否かの判断を行なう。
Next, in step (7), it is determined whether or not the character codes from the selected data processing device include codes for special characters and there is a need for external character registration printing.

その結果、もし外字印字の必要がある(YES)
と判断された場合にはステツプ(8)において、前記
特殊文字に対応する外字印字指示コードを前記対
応テーブルから取出して、プリンタ5に送り、ス
テツプ(9)においてはドツトプリンタ5中で、選択
された機種のデータ処理装置から送られた文字数
字コードに対応するプリントを行なう。
As a result, if it is necessary to print external characters (YES)
If it is determined that Prints corresponding to the alphanumeric code sent from the data processing device of the model.

一方、ステツプ(7)において、外字登録印字の必
要性がなく、そのまま印字可能であることが判定
された場合には(No)、ステツプ(8)の動作を飛び
越してステツプ(9)において送られた文字数字の印
字が行なわれる。
On the other hand, if it is determined in step (7) that there is no need for external character registration printing and that it can be printed as is (No), the operation is skipped over step (8) and sent in step (9). The characters and numbers entered are printed.

以上の動作はチヤンネル選択スイツチ13およ
び機種選択スイツチ14の状態に変更がない限り
(この場合にはチヤンネルCH1に接続されたA機
種のデータ処理装置の選択が、他のものに変更さ
れない限り)、ステツプ(9)からステツプ(4)の間で
繰返され所定の印字が行なわれる。
The above operation will continue as long as there is no change in the state of the channel selection switch 13 and model selection switch 14 (in this case, unless the selection of the data processing device of model A connected to channel CH 1 is changed to another one) , steps (9) to (4) are repeated to perform predetermined printing.

そしてこの場合、もしある時点で、チヤンネル
選択スイツチ13の押ボタンB1が他へ切替えら
れて他のチヤンネルが選択されるか、機種スイツ
チSW1が上から下へ切替えられてB機種が選択さ
れた場合には、ステツプ(1)に戻る。
In this case, if at some point push button B 1 of channel selection switch 13 is switched to another channel and another channel is selected, or model switch SW 1 is switched from top to bottom and model B is selected. If so, return to step (1).

第5図は、本発明による共通適合制御方式およ
びその共通適合制御装置を用いて、特殊文字を取
扱うある機種データ処理装置からのコードを、そ
のような特殊文字を取扱わないある機種のドツト
プリンタに、印字する場合の印字例を示す。
FIG. 5 shows how a code from a certain type of data processing device that handles special characters is transferred to a certain type of dot printer that does not handle such special characters using the common compatibility control method and common compatibility control device according to the present invention. An example of printing is shown below.

例えば簡単な例として、図示のように「鈴木商
店(株)」なる情報を、特定のチヤンネルに接続され
たデータ処理装置から送出してドツトプリンタに
印字する場合について説明する。データ処理装置
2,3,4から送出される文字情報「鈴」「木」
「商」「店」に対応するコードは、JIS規格に規定
された2バイトコード(HEX)では「4E6B」
「4C5A」「3E25」「4539」としてそれぞれ表わさ
れる。そしてドツトプリンタ5側においても、こ
れらの文字に対応するJIS規格コードはそのまま
の形式で取扱える範囲のコードであるので、共通
適合制御装置1はそれらのコードデータを受信し
ても何ら符号変換せず、そのまま、ドツトプリン
タに送つて印字する。
For example, as a simple example, a case will be explained in which the information "Suzuki Shoten Co., Ltd." is sent from a data processing device connected to a specific channel and printed on a dot printer as shown in the figure. Character information “bell” and “ki” sent from data processing devices 2, 3, and 4
The code corresponding to "Shanghai" and "Shop" is "4E6B" in the 2-byte code (HEX) specified by the JIS standard.
They are represented as "4C5A,""3E25," and "4539," respectively. Also, on the dot printer 5 side, the JIS standard codes corresponding to these characters are within the range of codes that can be handled as they are, so the common compliance control device 1 does not perform any code conversion even if it receives these code data. , send it as is to a dot printer and print it.

一方、特殊文字の1つである「(株)」なるJIS規
格未定義文字は、使用されたデータ処理装置にお
いて、例えば「2866」の2バイトコードで取扱わ
れているが、プリンタ側においては該コードに対
応する特殊文字はそのままでは準備されていない
場合に、本発明の共通適合制御装置1により、前
述のように、「(株)」なる字を予めプリンタに外字
として登録してあるので、対応テーブルから入力
コード「2866」に対応する所定外字登録番号を取
出して印字指示を行ない、共通適合制御装置1の
ROMからの文字イメージを印字するようになつ
ている。
On the other hand, the JIS undefined character ``Corporation'', which is one of the special characters, is handled as a 2-byte code of ``2866'' in the data processing device used, but the printer side does not recognize it. When the special characters corresponding to the code are not prepared as they are, the common compatibility control device 1 of the present invention registers the character "Co., Ltd." as an external character in the printer in advance as described above. Extracts the predetermined external character registration number corresponding to the input code "2866" from the correspondence table, issues a print instruction, and prints it on the common compatibility control device 1.
It is designed to print character images from ROM.

(6) 発明の効果 以上述べたように、本発明による共通適合制御
装置は主として; (イ) 共通に利用される特定の型式の1台のドツト
プリンタの仕様に対処して、入力側の各データ
処理装置が取扱う制御コードおよび文字数字に
対応するコードデータを必要に応じて本装置に
おいて変換して前記プリンタ側に出力し印字す
る機能、および (ロ) 入力側のデータ処理装置においては処理しう
るがプリンタ側においてはそのままでは処理し
えない特殊文字については、本装置から共通利
用されるドツトプリンタにそれらを予め外字登
録しておき、本装置のROMに予め記憶されて
いる特殊文字の各イメージを取出して前記ドツ
トプリンタの外文字用RAMに送り出して印字
する機能、の2つの機能を有している点に特徴
を有している。
(6) Effects of the Invention As described above, the common compatibility control device according to the present invention mainly has the following features: A function for converting code data corresponding to control codes and alphanumeric characters handled by the processing device in this device as necessary and outputting the converted data to the printer side for printing, and (b) a function that can be processed by the data processing device on the input side. However, for special characters that cannot be processed as they are on the printer side, register them in advance in the dot printer that is commonly used from this device, and use each image of the special characters stored in the ROM of this device in advance. It is characterized in that it has two functions: taking it out and sending it to the external character RAM of the dot printer for printing.

したがつて本発明においては、上記(イ)の制御コ
ード、コードデータの変換機能によつて接続され
る各データ処理装置の処理能力に応じて、ドツト
プリンタの機能が拡大され、よつてドツトプリン
タの融通性も著しく増大すると共に、上記(ロ)の補
字機能によつて、特定の1台のドツトプリンタが
処理しうる能力、すなわち可能な印字文字範囲が
著しく拡大し、使用される各データ処理装置の能
力に殆んど対処しうる顕著な効果を有する。した
がつて各チヤンネル選択および機種選択スイツチ
の切替えによつて印字ピツチの制御、制御シーケ
ンスの変換、モード選択、その他、ROMからの
イメージ文字制御が種々行なえる。
Therefore, in the present invention, the functionality of the dot printer is expanded according to the processing capacity of each data processing device connected by the control code and code data conversion function described in (a) above, thereby increasing the flexibility of the dot printer. At the same time, the supplementary character function described in (b) above significantly expands the processing capacity of a particular dot printer, that is, the range of possible printed characters, and increases the capacity of each data processing device used. It has a remarkable effect that can almost cope with the ability. Therefore, by selecting each channel and switching the model selection switch, it is possible to control the print pitch, convert the control sequence, select the mode, and perform various other image character controls from the ROM.

例えば、本発明の共通適合制御装置中のROM
に予め記憶された文字イメージ(キヤラクタ・イ
メージ)の生成方式を利用することによつて、特
殊文字についての伸縮、その他の変形ばかりでな
く、JIS規格内の普通の文字数字に(アルフアニ
ユメリツク)ついても、機種選択スイツチSW1
SW2,SW3の選択により普通の文字数字コードを
そのままプリンタに送らずに、一度ROMの有す
る所定の形式のイメージ文字、あるいはバーコー
ドに変換してそれらのイメージ文字、バーコード
をプリンタにプリントすることもできる。
For example, the ROM in the common compatible control device of the present invention
By using the generation method of character images (character images) stored in advance in ), model selection switch SW 1 ,
By selecting SW 2 and SW 3 , instead of sending ordinary alphanumeric codes to the printer as they are, they are converted into image characters or barcodes in the predetermined format of the ROM, and then those image characters and barcodes are printed to the printer. You can also.

すなわち、データ処理装置から送られてきた文
字情報を変換して、ROM内に予め記憶された光
学読取装置(OCR)用の対応B−フオント文字、
または縮少文字、にしたり、同様にデータ処理装
置から送出された数字をバーコードに変換してド
ツトプリンタにプリントすることもできるので、
本発明の利用範囲は著しく拡大されうる。
That is, the character information sent from the data processing device is converted into corresponding B-font characters for the optical reader (OCR) stored in advance in the ROM,
Alternatively, you can convert the numbers sent from the data processing device into barcodes and print them on a dot printer.
The scope of application of the invention can be significantly expanded.

なお、本発明においては説明を簡単にするため
に異なる2機種のデータ処理装置を3台まで接続
した場合の実施例について説明してあるが、スイ
ツチ手段としてロータリスイツチ、その他多接点
スイツチを用いたり、その他ハードウエアの一部
を変更すること、あるいは制御プログラムフロー
チヤートを一部変更することによつて接続しうる
データ処理装置の台数および機種を更に増大しう
ることは、当業者であれば本発明の範囲で可能に
なることは明らかである。
In the present invention, in order to simplify the explanation, an embodiment is described in which up to three data processing devices of two different types are connected, but it is also possible to use a rotary switch or other multi-contact switch as the switching means. Those skilled in the art will understand that the number and types of data processing devices that can be connected can be further increased by changing part of the hardware or by changing part of the control program flowchart. It is clear that many possibilities are within the scope of the invention.

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

第1図は本発明による共通適合制御方式を説明
する原理ブロツク図、第2図a〜dは第1図に示
す本発明の共通適合制御方式により接続されるデ
ータ処理装置の構成と選択切替動作を説明する
図、第3図は第1図に示す方式を実現する本発明
による共通適合制御装置の実施例の詳細なブロツ
ク構成図、第4図は本発明による共通適合制御方
式および装置を制御する制御プログラムフローチ
ヤート、および第5図は本発明による共通適合制
御装置を介して印字される特殊文字を含む印字
例、をそれぞれ示す。 図中、1は共通適合制御装置、2〜4は共通適
合装置に接続された各データ処理装置、5はドツ
トプリンタ、10はマイクロプロセツサ、11は
ROM、12はRAM、13はチヤンネル選択ス
イツチ、14は機種選択スイツチ、15は表示装
置、16〜18は入力側入出力インターフエー
ス、19は出力側入出力インターフエース、を
夫々示す。
FIG. 1 is a principle block diagram explaining the common adaptive control method according to the present invention, and FIGS. 2 a to 2 d show the configuration and selection switching operation of a data processing device connected by the common adaptive control method according to the present invention shown in FIG. FIG. 3 is a detailed block configuration diagram of an embodiment of a common adaptive control device according to the present invention that realizes the system shown in FIG. 1, and FIG. FIG. 5 shows a control program flowchart and an example of printing including special characters printed via the common compatible control device according to the present invention. In the figure, 1 is a common adaptation control device, 2 to 4 are data processing devices connected to the common adaptation device, 5 is a dot printer, 10 is a microprocessor, and 11 is a
12 is a RAM, 13 is a channel selection switch, 14 is a model selection switch, 15 is a display device, 16 to 18 are input-side input/output interfaces, and 19 is an output-side input/output interface, respectively.

Claims (1)

【特許請求の範囲】 1 異なるチヤンネルに接続された同種、または
異種の複数のデータ処理装置から、共通に使用さ
れる一つのプリンタへと、スイツチ手段を介して
選択的にデータを送出して印字する共通適合制御
方式において、チヤンネル選択および機種選択可
能なスイツチ手段、対照テーブル、その他特殊文
字に対応するイメージ情報を記憶するROM、
RAM、およびマイクロプロセツサとを有する共
通適合制御装置を設け、前記複数のデータ処理装
置においてそれぞれ取扱われる制御コードおよび
文字・数字に対応するコードデータのうち、前記
プリンタには準備されているがそのままでは該プ
リンタの仕様に適合しない入力コードに対しては
前記共通適合制御装置を介してプリンタ用の適合
コードに適宜変換すると共に、前記プリンタに準
備されていない特殊文字に対応するコードデータ
については前記プリンタ内蔵のRAMに未定義コ
ードとして予め登録しておいて、前記入力データ
コードに対する未定義コードとの対照テーブルと
なつている前記対照テーブルを参照し、前記未定
義コードに対応する特殊文字イメージ情報を前記
ROMから取出し前記プリンタに送つて外字とし
てのそれらの特殊文字を補足して印字するように
したことを特徴とするプリンタ用共通適合制御方
式。 2 特許請求の範囲第1項に記載の制御方式にお
いて、前記未定義特殊文字以外の一般文字数字に
対応するコードデータについても、前記共通適合
制御装置に設けられた前記ROM内に予め記憶さ
れた所定の字種の対応イメージ文字あるいはバー
コードに変換し、変換された別字種のイメージ文
字またはバーコードを前記プリンタに送出してプ
リントすることを特徴とするプリンタ用共通適合
制御方式。 3 各入力チヤンネルに接続された複数のデータ
処理装置のうち特定の入力チヤンネルのデータ処
理装置を選択するチヤンネル選択スイツチ手段
と、前記各チヤンネルに接続されたデータ処理装
置の機種を選択する機種選択スイツチ手段と、前
記スイツチ手段を介して選択されるデータ処理装
置から送出される制御コードおよびデータコード
を適宜変換処理して出力チヤンネルに接続された
1つの共通利用プリンタへ与えるマイクロプロセ
ツサと、共通適合制御を行なう制御プログラム、
特殊文字イメージ情報、固有の対照テーブル等を
予め記憶しているROMと、前記ROMからの対
照テーブルを移して記憶したり、その他の必要な
データを一時的に記憶するRAMとを備え、前記
各データ処理装置から送出される前記コードに応
じて前記プリンタに適合するコードに変換すると
共に、該プリンタに準備されていない特殊文字に
対応するコードに対しては所定の未定義コードと
して予め前記プリンタに登録しておき、前記所定
の未定義コードに対応する特殊文字イメージを前
記ROMから取出して前記プリンタへ与え、前記
準備されていない特殊文字を補足して印字するこ
とを特徴とするプリンタ用共通適合制御装置。
[Claims] 1. Printing by selectively sending data from a plurality of data processing devices of the same type or different types connected to different channels to one commonly used printer via a switch means. In the common adaptive control method, a ROM for storing image information corresponding to a channel selection and model selection, a comparison table, and other special characters;
A common compatible control device having a RAM and a microprocessor is provided, and among the control codes and code data corresponding to characters and numbers handled by each of the plurality of data processing devices, the data prepared in the printer is stored as is. Then, input codes that do not conform to the specifications of the printer are appropriately converted to compatible codes for the printer via the common compatibility control device, and code data corresponding to special characters that are not prepared for the printer are converted as described above. The special character image information corresponding to the undefined code is registered in the printer's built-in RAM in advance by referring to the comparison table that is a comparison table of the undefined code with respect to the input data code. The above
A common compatible control system for a printer, characterized in that the special characters are taken out from a ROM and sent to the printer, and the special characters are supplemented and printed as external characters. 2. In the control method according to claim 1, code data corresponding to general letters and numbers other than the undefined special characters are also stored in advance in the ROM provided in the common compatible control device. A common compatible control system for printers, characterized in that the image characters or barcodes corresponding to a predetermined character type are converted into corresponding image characters or barcodes, and the converted image characters or barcodes of a different character type are sent to the printer and printed. 3 Channel selection switch means for selecting a data processing device for a specific input channel from among a plurality of data processing devices connected to each input channel; and a model selection switch for selecting the model of the data processing device connected to each channel. means, a microprocessor that appropriately converts the control code and data code sent from the data processing device selected through the switch means and provides the same to one commonly used printer connected to the output channel; A control program that performs control;
It is equipped with a ROM that stores special character image information, a unique comparison table, etc. in advance, and a RAM that transfers and stores the comparison table from the ROM and temporarily stores other necessary data. The code sent from the data processing device is converted into a code compatible with the printer, and codes corresponding to special characters that are not prepared in the printer are converted into predetermined undefined codes and sent to the printer in advance. The common compatibility for printers is characterized in that a special character image corresponding to the predetermined undefined code is registered in advance and is taken out from the ROM and given to the printer, and the unprepared special character is supplemented and printed. Control device.
JP59123145A 1984-06-15 1984-06-15 System and device for common adaption control for printer Granted JPS613238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59123145A JPS613238A (en) 1984-06-15 1984-06-15 System and device for common adaption control for printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59123145A JPS613238A (en) 1984-06-15 1984-06-15 System and device for common adaption control for printer

Publications (2)

Publication Number Publication Date
JPS613238A JPS613238A (en) 1986-01-09
JPH0236004B2 true JPH0236004B2 (en) 1990-08-15

Family

ID=14853303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59123145A Granted JPS613238A (en) 1984-06-15 1984-06-15 System and device for common adaption control for printer

Country Status (1)

Country Link
JP (1) JPS613238A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01182234A (en) * 1987-12-28 1989-07-20 Naigai Iryo Seihin Kk Converter and system using same for printing tag, label or the like

Also Published As

Publication number Publication date
JPS613238A (en) 1986-01-09

Similar Documents

Publication Publication Date Title
US4952785A (en) Bar code generating apparatus for image communication terminal device
EP0446928A2 (en) Label printer
US5288155A (en) Printer capable of displaying selected font
JPH0236004B2 (en)
US4608557A (en) Graph-drawing machine
US5675722A (en) Pattern output apparatus
JP2580946B2 (en) Key input control device
JPH02139624A (en) Apparatus for using printer to print selection part at personal information terminal
JP2591642B2 (en) Printer
KR100728677B1 (en) Mobile communication terminal enable to input memo and its operating method
JP2799162B2 (en) Document creation device
JP3742285B2 (en) Identification code output device
JP2526696B2 (en) Programmable controller monitoring method and monitoring device
JP2607502B2 (en) Facsimile interface device
JPH06251011A (en) Document preparing device and printing control method
JPH01114932A (en) Printer device
JPH0720754U (en) Fax machine
JPH0780334B2 (en) Printer controller
JPH0514607Y2 (en)
KR200158717Y1 (en) Apparatus for interfacing in a printer
JPH0622064A (en) Method and device for inputting registered contents in electronic equipment
JPH0483663A (en) Printer with external memory part
JPH04225423A (en) Printing device
JPH0720969A (en) On-line data input and output switching device utilizing personal computer
JPH04177419A (en) Printer switch