JPS6027566A - Discrimination system of connected printer - Google Patents
Discrimination system of connected printerInfo
- Publication number
- JPS6027566A JPS6027566A JP58136965A JP13696583A JPS6027566A JP S6027566 A JPS6027566 A JP S6027566A JP 58136965 A JP58136965 A JP 58136965A JP 13696583 A JP13696583 A JP 13696583A JP S6027566 A JPS6027566 A JP S6027566A
- Authority
- JP
- Japan
- Prior art keywords
- printer
- data
- main system
- centro
- identification
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の技術分野〕
本発明は、接続プリンタの識別方式、具体的にはセント
ロインターフェースに準拠したプリンタがシステムに接
続されているか否かを知る識別のための方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a method for identifying a connected printer, and specifically to a method for identifying whether or not a printer compliant with the Centro interface is connected to a system. .
プリンタインターフェースの中で、セントロインターフ
ェースは、一般的なものとして使用されている。従がっ
て、セントロインターフェース準拠であればどのプリン
タが接続されようとシステム側は同等考慮することなく
使用できるわけである。Among printer interfaces, the Centro interface is commonly used. Therefore, as long as the printer is compliant with the Centro interface, the system can use it without any consideration, regardless of which printer is connected.
しかし、ここに1つの問題がある。即ち、インターフェ
ースがセントロインターフェース準拠であっても、プリ
ンタ自身が持つメカ仕様例えば印字桁数が136桁であ
ったり、80桁であったシ、あるいは倍幅印字が出来た
り出来なかった9等、各種プリンタまちまちである。シ
ステム側は、現在、どの仕様のプリンタが接続されてい
るかを一切認識することができない。However, there is one problem here. In other words, even if the interface is compliant with the Centro interface, there are various mechanical specifications of the printer itself, such as the number of printing digits being 136 or 80, or being able to print double-width or not. Printers vary. The system side cannot recognize at all which specifications of the printer are currently connected.
これは、七ントロインターフェースが、データ出力ライ
ンとプリンタスティタスを知るための入力ラインでのみ
構成されており、メカ仕様を知るだめの情報ラインが用
意されていないことに起因する。従がって、システム側
が誤まって違うメカ仕様のプリンタにデータを送シ込む
と、異常なのに印字を開始してしまい、印字してからで
ないとその異常に気づかない。従がって単に使用者の意
図する印字結果が得られないばかりか、印字用紙の無駄
になっていた。This is because the Nanatro interface consists only of a data output line and an input line for knowing the printer status, and there is no information line for knowing the mechanical specifications. Therefore, if the system mistakenly sends data to a printer with different mechanical specifications, it will start printing even though there is an error, and the error will not be noticed until after printing. Therefore, not only the printing result intended by the user cannot be obtained, but also the printing paper is wasted.
本発明は上記欠点に鑑みてなされたものであり、セント
ロインターフェース概念を崩すことなく、フ”リンク自
身にそのメカ仕様の識別機能を持たせることによシ、シ
ステムに通知することで上記無駄を省いた接続プリンタ
の識別方式を提供することを目的とする。The present invention has been made in view of the above-mentioned drawbacks, and the above-mentioned waste can be avoided by providing the link itself with an identification function of its mechanical specifications and notifying the system without breaking the Centro interface concept. The purpose is to provide a method for identifying connected printers.
本発明社、セントロインターフェース概念を崩すことな
く、プリンタ自身にその識別機能を持たせ、異常な識別
コードが送られ、てきたときは自身をフォルト状態とす
ることで、システムが所望とするプリンタでないことを
メづンシステムに通知するものである。このため、プリ
ンタのメカ仕様(例えば印字桁数1倍幅印字の有無等)
が設定されるDTPスイッチを設け、更にメインシステ
ムによるプリントデータ送出前。Without breaking the Centro interface concept, the present invention company has provided the printer with the identification function itself, and when an abnormal identification code is sent, it puts itself into a fault state, so that the printer is not the printer that the system wants. This is to notify the mezun system of this. For this reason, the mechanical specifications of the printer (for example, whether or not the number of printing digits is 1x width printing, etc.)
A DTP switch is provided that is set, and also before the print data is sent by the main system.
強制的に識別のためのデータを送出するプログラムルー
チンと、ここで送出される識別データと上記DIPスイ
ッチによる設定データの比較を行なうプログラムルーチ
ンと、不一致が確認されたとき、プリンタを7オルト状
態とするプログラムルーチンをプリンタ側に内蔵した。A program routine that forcibly sends data for identification, and a program routine that compares the sent identification data with the data set by the above DIP switch. A program routine to do this is built into the printer.
そして、メインシステム側では、識別データ送出後、フ
ォルト状態を知ることで所望とするプリンタがシステム
に接続されていないことを認識する。After sending the identification data, the main system side recognizes that the desired printer is not connected to the system by knowing the fault state.
このことにより、セントロインターフェースHe念を崩
すことなく、プリント開始以前、システムが接続プリン
タのメカ仕様を認識することができる。This allows the system to recognize the mechanical specifications of the connected printer before starting printing without compromising the Centro interface.
以下1図面を使用して本発明実施例につき詳述する。 Embodiments of the present invention will be described in detail below using one drawing.
第1図は本発明が採用される情報処理システムの(を成
例を示すブロック図である。FIG. 1 is a block diagram showing an example of an information processing system in which the present invention is adopted.
図において、11は中央処理二ニット
(CMU)でおり、主記憶と演算制御装置が複合化され
たコニットa成となっている。この中央処理ユニット1
1はシステムバス12を介t。In the figure, reference numeral 11 denotes a central processing unit (CMU), which has a connit-a configuration in which a main memory and an arithmetic control unit are combined. This central processing unit 1
1 via the system bus 12.
て入出力制御装fEk (Iop J3)と接続されて
いる。以降、この入出力制御装置13を含め、この装置
13より上位にあるブロック1ノをメインシステムと称
し説す]を行なう。It is connected to the input/output control device fEk (Iop J3). Hereinafter, the block 1 above this device 13, including this input/output control device 13, will be referred to as the main system.
入出力制御装置15には、キーボートノ4゜フロッピー
ディスク装置15.オペレータとの対話及びイメージデ
ータを生成する画像装置J6、そして作成されたイメー
ジデータをブリットアットするプリンタ17が接続され
ている。The input/output control device 15 includes a keyboard, a 4° floppy disk device 15. Connected are an image device J6 that interacts with the operator and generates image data, and a printer 17 that prints the created image data.
もちろん、プリンタ17はセントロインターフェース準
拠する。Of course, the printer 17 complies with the Centro interface.
第2図は、メインシステムより入出力制御装置13に送
られてくるプリント命令データ(−)がプリント送出用
データ(b)として変換される様子を示す。FIG. 2 shows how print command data (-) sent from the main system to the input/output control device 13 is converted into print sending data (b).
図中、制御コードキャラクタb 8 C+ r n @
vnl で識別データを示すものとし、8Iは倍幅指
定コード、SOは倍幅解除コード、CRは印字開始コー
ドを示すものとする。In the figure, control code character b 8 C+ r n @
vnl indicates identification data, 8I indicates a double-width designation code, SO indicates a double-width release code, and CR indicates a print start code.
第3図は本発明の動作を示すフローチャートである。FIG. 3 is a flow chart showing the operation of the present invention.
以下1本発明の動作につき詳述する。Hereinafter, one operation of the present invention will be explained in detail.
マス、一連のプログラムは、フロッピーディスク装置1
6から中央処理ユニツ)27が読取り、これを内蔵の主
記憶内に格納する。キーボード14及び画像装置16を
使用して、あるジョブに起動をかける。このジョブが伝
票発行東務の様なものである場合は、所望のデータを7
″リンタ17に出力するため、フ゛リント命令がシステ
ムバス12t−経由して入出力制御装置13に渡される
。中央処理ユニット11よりプリント命令を受信した入
出力制御装置13はプリントデータをプリンタJ7へ送
出する前に、メインシステムが望んでいるプリンタが接
続されているか否かを判断するため1強制的に識別デー
タを送出する。A series of programs are stored on the floppy disk device 1.
6 to the central processing unit 27, and stores it in its built-in main memory. A certain job is activated using the keyboard 14 and the image device 16. If this job is something like a bill issuing office, the desired data should be
``In order to output to the printer 17, the print command is passed to the input/output control device 13 via the system bus 12t-.The input/output control device 13, which received the print command from the central processing unit 11, sends the print data to the printer J7. Before doing so, the main system forcibly sends identification data to determine whether the desired printer is connected or not.
いま1例えば1倍幅部字機能を有した136桁の1リン
タJ2を使用して伝票発行業務を行なおうとすれば1以
上に示す表かられかる様に、nl ;o、n、:0の識
別データを送出すれば良いことになる。第2図に入出力
制御装置J3に送られてきたプリント命令データがプリ
ンタ送出用データとしてどの様に修正されるかが示され
ている。For example, if you try to issue a slip using a 136-digit linter J2 with a double-width character function, as shown in the table above, nl ;o, n, :0 It is sufficient to send the identification data. FIG. 2 shows how the print command data sent to the input/output control device J3 is modified as data for sending to the printer.
く表〉
送信されてきた修正後のプリンタ送出用データがプリン
タJ7内でどの様な処理を行なうかにつき、第3図に示
したフローチャートを用いて説明する。Table 3 The following describes how the corrected printer sending data that has been sent is processed within the printer J7 using the flowchart shown in FIG.
まず、プリンタ11は受信したデータが識別コード(E
8C+?)か否かを判断する。識別コードでなければ、
既に識別された後に受信したデータであるものとし、印
字処理動作に入る。First, the printer 11 uses the received data as an identification code (E
8C+? ) or not. If it is not an identification code,
The data is assumed to have been received after it has already been identified, and printing processing begins.
i@別コードであると判断されると、続く2バづトデー
タ(これは適宜拡張される)の内容がシステムが希望し
ているプリンタの識別データであるとし、内蔵RAMに
一時スドアする。プリンタ17は、ぞの識別データが自
身を指しているか否かを判断するため、あらかじめ設定
されているDTPスイッチの内容を続出す。If it is determined that it is an i@ separate code, the content of the following two-bit data (which will be expanded as appropriate) is assumed to be the identification data of the printer desired by the system, and is temporarily stored in the built-in RAM. The printer 17 successively prints out the contents of the preset DTP switch in order to determine whether the identification data points to itself.
ぞして、この識別データの内容とDTPスイッチて設定
さオtた内容とを比較し、一致しているか否かが調べら
れる。Then, the contents of this identification data are compared with the contents set by the DTP switch to check whether they match.
ここで等しいことが確認されると、メインシステムと7
′リンタJ7の識別内容が一致しているということであ
り、識別データ以降に送られてくるデータを続けて受イ
ムし、正常な印字動作を行なう。又1等しくないことが
確認されると、現在接続されているプリンタJ2はシス
テムが認識しているものとは違っているということで1
7、セントロインターフェース上のフォルトラインをア
クディプ状態とすることで、その旨。If equality is confirmed here, the main system and 7
'This means that the identification contents of the printer J7 match, and the data sent after the identification data is successively received and a normal printing operation is performed. If it is confirmed that the printer is not equal to 1, it means that the currently connected printer J2 is different from what the system recognizes.
7. This is indicated by setting the fault line on the Centro interface to the accedip state.
メインシステムに通知する。Notify main system.
メインシステムは送信した識別データに対し。The main system will respond to the sent identification data.
フォルト2インがアクティブ状態になったということで
、今、接続されているプリンタが希望しているものとは
違うということを認識し、ジョブを7ボートしてしまう
。Since Fault 2-in has become active, the printer recognizes that the currently connected printer is different from the one desired, and votes the job 7 times.
以上説明の如く1本発明によれば以下に列挙する効果を
有する。As described above, the present invention has the following effects.
(1) 従来のセントロづンターフエース概念を崩すこ
となく、誤まって接続されたプリンタであ 。(1) Without breaking the conventional Centro Zinterface concept, it is a printer that is connected incorrectly.
ることをシステムが識別コードを同定化することで、認
識することができる。The system can recognize this by identifying the identification code.
(21印字する前に該当する)”リンクか否か知ること
ができるため、用紙に印字してみて初めてわかるといっ
た従来の無駄がなくなる。(Applicable to 21) "Before printing, it is possible to know whether or not it is a link, eliminating the conventional waste of knowing whether it is a link or not until it is printed on paper.
(3) プリンタが幾種類も接続されているような場合
1%られる効果は大きくシステムが誤まって該当しない
プリンタに対して目J字を行なわせようとしたことをシ
ステムに通知することができる。(3) If many types of printers are connected, the effect of 1% is large, and the system can be notified that the system has mistakenly attempted to perform the J-J character on an unsuitable printer. .
(4識別コードの拡張によりプリンタの多種多様化に適
宜対応することかできる。(4) By expanding the identification code, it is possible to respond appropriately to the diversification of printers.
第1図は本発明が採用される情報処理システムの構成例
を示すブロック図、第2図はメインシステムより入出力
制御装置に対し送られてくるプリント命令データがプリ
ンタに送出される様子を示した図、第3図は本発明の動
作を示すフローチャートである。
73・・・中央処理ユニット、12・・・システムバス
、J3・・・入出力制御装置、12・・・プリンタ。
出願人代理人 弁理士 鈴 圧式 彦
第1図
第2図
第3図FIG. 1 is a block diagram showing an example of the configuration of an information processing system to which the present invention is applied, and FIG. 2 shows how print command data sent from the main system to the input/output control device is sent to the printer. FIG. 3 is a flowchart showing the operation of the present invention. 73... Central processing unit, 12... System bus, J3... Input/output control device, 12... Printer. Applicant's agent Patent attorney Hiko Rin Ushiki Figure 1 Figure 2 Figure 3
Claims (1)
続されるプリンタ装置において、このプリンタのメカ仕
様が定禮設定されるDIPスイッチと、メインシステム
、にて所望とする仕様を有するプリンタが論理的に接続
されているか否かを確認するため、プリントデータ送出
前、強制的に識別のためのデータを送出する第1の手段
と、この第1の手段により発せられる識別データと上記
DIPスイッチにより設定される自答との比較を行なう
第2の手段と、ここで不一致が確認されたとき、上記プ
リンタをフォルト状態とする第3の手段とを有し、メイ
ンシステムは上記第1の手段による識別データの送出後
、上記第3の手段を介してフォルト状態を知ることで所
望とする仕様のプリンタが接続されていないことを認識
することを特徴とする接続プリンタの識別方式。In the printer device connected to the main system via the Centro interface, is the DIP switch that sets the mechanical specifications of this printer logically connected to the printer with the desired specifications in the main system? In order to confirm whether or not the print data is sent, a first means for forcibly sending data for identification, and identification data issued by this first means and a self-answer set by the above-mentioned DIP switch are used. and a third means for placing the printer in a fault state when a mismatch is confirmed, and the main system, after sending the identification data by the first means, A method for identifying a connected printer, characterized in that it is recognized that a printer of a desired specification is not connected by knowing the fault state through the third means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58136965A JPS6027566A (en) | 1983-07-27 | 1983-07-27 | Discrimination system of connected printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58136965A JPS6027566A (en) | 1983-07-27 | 1983-07-27 | Discrimination system of connected printer |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6027566A true JPS6027566A (en) | 1985-02-12 |
Family
ID=15187620
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58136965A Pending JPS6027566A (en) | 1983-07-27 | 1983-07-27 | Discrimination system of connected printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6027566A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60157353A (en) * | 1984-01-26 | 1985-08-17 | Citizen Watch Co Ltd | Communication system for inquiry of printer information |
JPS61101832A (en) * | 1984-10-24 | 1986-05-20 | インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション | Word processor system |
JPS61211732A (en) * | 1985-03-18 | 1986-09-19 | Nec Corp | Display picture recognizing device |
JPS61290529A (en) * | 1985-06-19 | 1986-12-20 | Fujitsu Ltd | display control device |
JPS6240522A (en) * | 1985-08-16 | 1987-02-21 | インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション | Printer |
JPS62279423A (en) * | 1986-05-28 | 1987-12-04 | Mitsubishi Electric Corp | Printer unit |
JPS6380321A (en) * | 1986-09-24 | 1988-04-11 | Sharp Corp | Computer system using liquid crystal television receiver as display monitor |
JPS6449429U (en) * | 1987-09-24 | 1989-03-27 | ||
JPH0262618A (en) * | 1988-08-29 | 1990-03-02 | Sega Enterp Ltd | Type identification method for connected device |
US5630170A (en) * | 1994-10-12 | 1997-05-13 | Kabushiki Kaisha Sega Enterprises | System and method for determining peripheral's communication mode over row of pins disposed in a socket connector |
-
1983
- 1983-07-27 JP JP58136965A patent/JPS6027566A/en active Pending
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60157353A (en) * | 1984-01-26 | 1985-08-17 | Citizen Watch Co Ltd | Communication system for inquiry of printer information |
JPH0363767B2 (en) * | 1984-01-26 | 1991-10-02 | Citizen Watch Co Ltd | |
JPH0332809B2 (en) * | 1984-10-24 | 1991-05-14 | Intaanashonaru Bijinesu Mashiinzu Corp | |
JPS61101832A (en) * | 1984-10-24 | 1986-05-20 | インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション | Word processor system |
JPS61211732A (en) * | 1985-03-18 | 1986-09-19 | Nec Corp | Display picture recognizing device |
JPH0426491B2 (en) * | 1985-03-18 | 1992-05-07 | Nippon Electric Co | |
JPS61290529A (en) * | 1985-06-19 | 1986-12-20 | Fujitsu Ltd | display control device |
JPH0426492B2 (en) * | 1985-06-19 | 1992-05-07 | Fujitsu Ltd | |
JPS6240522A (en) * | 1985-08-16 | 1987-02-21 | インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション | Printer |
JPS62279423A (en) * | 1986-05-28 | 1987-12-04 | Mitsubishi Electric Corp | Printer unit |
JPS6380321A (en) * | 1986-09-24 | 1988-04-11 | Sharp Corp | Computer system using liquid crystal television receiver as display monitor |
JPS6449429U (en) * | 1987-09-24 | 1989-03-27 | ||
JPH0734756Y2 (en) * | 1987-09-24 | 1995-08-09 | 日立化成工業株式会社 | Section Insulator |
JPH0262618A (en) * | 1988-08-29 | 1990-03-02 | Sega Enterp Ltd | Type identification method for connected device |
US5630170A (en) * | 1994-10-12 | 1997-05-13 | Kabushiki Kaisha Sega Enterprises | System and method for determining peripheral's communication mode over row of pins disposed in a socket connector |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4979132A (en) | Control device for use with an image recording system | |
JPS6027566A (en) | Discrimination system of connected printer | |
JPS6240522A (en) | Printer | |
JPH0239973A (en) | Printing control system | |
JPH0537308Y2 (en) | ||
JPH03148743A (en) | Multitask processing system | |
JPS62273872A (en) | Information processor | |
JPS637964A (en) | Printer control apparatus of cash register | |
JPH0357027A (en) | Emergency operation system for online system | |
JPS62125432A (en) | Printing control method for terminals with two-job operation method | |
JPH11345368A (en) | Pos terminal equipment | |
JPS6010673B2 (en) | Message alternative output control method | |
JPS62226222A (en) | Sequence control system for printer | |
JPH02120076A (en) | Printing paper run-out monitoring system | |
JPS63226719A (en) | Form mode automatic switching method | |
JPH04325266A (en) | Printer | |
JPH06127085A (en) | Checking method of printing data by control code | |
JPH02272620A (en) | Printing system | |
JPH0795259B2 (en) | Output device | |
JPH04141474A (en) | Printer | |
JPH0519994A (en) | Printer | |
JPH0273447A (en) | Local CPU logon method | |
JPS6253879B2 (en) | ||
JPS593616A (en) | Input prohibited character display method on display keyboard terminal device | |
JPH07230369A (en) | Printer device |