JP2845793B2 - Printer interface controller - Google Patents

Printer interface controller

Info

Publication number
JP2845793B2
JP2845793B2 JP8039588A JP3958896A JP2845793B2 JP 2845793 B2 JP2845793 B2 JP 2845793B2 JP 8039588 A JP8039588 A JP 8039588A JP 3958896 A JP3958896 A JP 3958896A JP 2845793 B2 JP2845793 B2 JP 2845793B2
Authority
JP
Japan
Prior art keywords
printer interface
printer
interface means
identifier
application software
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
JP8039588A
Other languages
Japanese (ja)
Other versions
JPH09231024A (en
Inventor
仁 梅野
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.)
HOTSUKAIDO NIPPON DENKI SOFUTOEA KK
Original Assignee
HOTSUKAIDO NIPPON DENKI SOFUTOEA 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 HOTSUKAIDO NIPPON DENKI SOFUTOEA KK filed Critical HOTSUKAIDO NIPPON DENKI SOFUTOEA KK
Priority to JP8039588A priority Critical patent/JP2845793B2/en
Publication of JPH09231024A publication Critical patent/JPH09231024A/en
Application granted granted Critical
Publication of JP2845793B2 publication Critical patent/JP2845793B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はプリンタインタフエ
ース制御装置に関し、特に1つのプリンタコネクタにて
プリンタを接続し複数のプリンタインタフエース手段を
切り換えて使用するコンピュータのプリンタインタフエ
ース制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer interface control device, and more particularly, to a printer interface control device for a computer which connects a printer with one printer connector and switches between a plurality of printer interface means.

【0002】[0002]

【従来の技術】従来のプリンタインタフエース制御に関
しては、1台のプリンタ装置を互いにインタフエースの
異なる複数台のホストで共用する場合に、各ホストに対
応してそれぞれ受け口(物理的なインタフエースコネク
タ)をそのプリンタ装置に設け、ホストから供給される
制御信号等によりプリンタ装置が接続ホストを選択して
インターフエース制御を行なう技術が、特開平4−29
4181、特開平4−302021および特開平4−3
29171号公報等に開示されてよく知られている。
2. Description of the Related Art With regard to conventional printer interface control, when a single printer is shared by a plurality of hosts having different interfaces, a receptacle (physical interface connector) is provided for each host. ) Is provided in the printer device, and the printer device selects a connection host by a control signal or the like supplied from the host and performs interface control.
4181, JP-A-4-302201 and JP-A-4-3
No. 29171, which is well known.

【0003】この技術は、プリンタ装置に接続されてい
る個々のホストとこのプリンタ装置とのインタフエース
制御は個々に一定であり、対応する物理的なインタフエ
ースコネクタを介しての信号の授受により行なわれる。
In this technique, interface control between an individual host connected to the printer and the printer is fixed, and is performed by transmitting and receiving signals via a corresponding physical interface connector. It is.

【0004】一方、ホストで処理がおこなわれるアプリ
ケーションソフトウエアのプリンタからの報知情報の要
求は種々あり、例えばプリンタの「異常」を報知する報
知情報の場合に、単に「異常」を報知すれば十分とする
アプリケーションソフトウエアもあれば、異常の原因、
例えば電源がOFF、給紙切れ、セレクトボタンの押し
忘れ、ハードの異常等の報知を要求するアプリケーショ
ンソフトウエアもある。
On the other hand, there are various requests for notification information from a printer of application software executed by a host. For example, in the case of notification information for notifying "abnormal" of a printer, it is sufficient to simply notify "abnormal". Some application software may be
For example, there is also application software that requests notification of power OFF, paper out, forget to press the select button, hardware abnormality, and the like.

【0005】これらの報知情報は何れも上記の物理的コ
ネクタを介しての信号の組合わせにより作成されるもの
であり、種々のパターンが存在する。
[0005] All of these pieces of notification information are created by combining signals through the above-described physical connectors, and there are various patterns.

【0006】そこで、ホストにこの種々の信号組合せの
パターンによりアプリケーションソフトウエアの要求す
る新たな報知情報信号を作成するプリンタインタフエー
ス手段をそれぞれ用意し、アプリケーションソフトウエ
アの要求によりプリタインタフエース手段をアプリケー
ションソフトウエアの要求するプリンタインタフエース
手段に切換制御することができるプリンタインタフエー
ス制御を有するホスト技術が出現している。
In view of the above, printer interface means for preparing a new broadcast information signal required by application software in accordance with the various signal combination patterns are prepared in the host, and the printer interface means is switched to the application interface by application software request. A host technology having a printer interface control capable of switching control to a printer interface means required by software has emerged.

【0007】図3には2つの異なるプリンタインタフエ
ース手段AとBとを有するホストにプリンタインタフエ
ース手段Aを要求するアプリケーションソフトウエアA
とプリンタインタフエース手段Bを要求するアプリケー
ションソフトウエアBとを付加したブロック図が示して
ある。
FIG. 3 shows application software A requesting the printer interface means A from a host having two different printer interface means A and B.
And a block diagram to which application software B for requesting the printer interface means B is added .

【0008】プリンタ装置31はホストプリンタインタ
フエース部30と物理的な1つのコネクタにより、例え
ばセントロニクスインタフエースで接続されている。
The printer device 31 is connected to the host printer interface unit 30 by one physical connector, for example, by a Centronics interface.

【0009】ホストプリンタインタフエース部30はプ
リンタコントローラ(例へばマイクロプロセッサ)と、
プリンタBIOSやプリンタインタフエース手段Aおよ
びBなるプログラムを格納するメモリ等を備え、プリン
タBIOSによりプリンタ装置31を制御しており、そ
のインタフエースはアプリケーションソフトウエアから
の要求によりプリンタコントローラはこれに対応するイ
ンタフエース手段に切り換えて動作する。電源投入時の
初期設定に際しては予め定めておいた一定のプリンタイ
ンタフエース手段、例えばプリンタインタフエース手段
Aが設定される。現在どのプリンタインタフエース手段
が設定されているかはフラグ等により記憶されている。
The host printer interface unit 30 includes a printer controller (for example, a microprocessor),
The printer includes a printer BIOS and a memory for storing programs as printer interface means A and B. The printer BIOS controls the printer device 31, and the interface responds to a request from application software. It operates by switching to interface means. At the time of the initial setting at the time of turning on the power, a predetermined printer interface means, for example, a printer interface means A is set. Which printer interface means is currently set is stored by a flag or the like.

【0010】プリンタインタフエース制御部Aはアプリ
ケーションソフトウエアAからの印刷要求に応じてホス
トプリンタインタフエース部30にその必要処理を指示
する。同様にプリンタインタフエース制御部Bはアプリ
ケーションソフトウエアBからの印刷要求に応じてホス
トプリンタインタフエース部30にその必要処理を指示
する。
The printer interface control unit A instructs the host printer interface unit 30 to perform necessary processing in response to a print request from the application software A. Similarly, in response to a print request from the application software B, the printer interface control unit B instructs the host printer interface unit 30 on necessary processing.

【0011】図3を参照してこのインタフエース制御を
説明する。
The interface control will be described with reference to FIG.

【0012】アプリケーションソフトウエアAがプリン
タ装置に出力する場合には、アプリケーションソフトウ
エアAはプリンタインタフエース手段変更命令を出し、
プリンタインタフエース手段制御部Aはその時点で設定
されているプリンタインタフエース手段がプリンタイン
タフエース手段AであるかBであるかを調べる。
When the application software A outputs to the printer, the application software A issues a printer interface means change command,
The printer interface means controller A checks whether the currently set printer interface means is the printer interface means A or B.

【0013】設定されているプリンタインタフエース手
段がプリンタインタフエース手段Bである場合にはプリ
ンタインタフエース手段をBからAに変更することを要
求して変更完了後プリンタのステータス情報を取得して
印刷可であればデータを出力して終了する。
When the set printer interface means is the printer interface means B, a request is made to change the printer interface means from B to A, and after the change is completed, status information of the printer is obtained and printed. If possible, output data and terminate.

【0014】設定されているプリンタインタフエース手
段がプリンタインタフエース手段Aである場合には、プ
リンタのステータス情報を取得して印刷可であればデー
タを出力し終了する。
If the set printer interface means is the printer interface means A, status information of the printer is acquired, and if printing is possible, data is output and the process is terminated.

【0015】[0015]

【発明が解決しようとする課題】上述した従来のプリン
タインタフエース制御は、それぞれのアプリケーション
ソフトウエアに対し対応するプリンタインタフエース手
段制御部を設けねばならないという欠点を有している。
The above-mentioned conventional printer interface control has a disadvantage that a corresponding printer interface means control unit must be provided for each application software.

【0016】本発明の目的は、種々のアプリケーション
ソフトウエアに共用でき資源の節減ができるプリンタイ
ンタフエース制御装置を提供することにある。
An object of the present invention is to provide a printer interface control device which can be shared by various application software and can save resources.

【0017】[0017]

【課題を解決するための手段】第1の発明のプリンタイ
ンタフエース制御装置は、複数のアプリケーションソフ
トウエアの要求するプリンタインタフエース報知情報信
号を作成するプリンタインタフエース手段を前記アプリ
ケーションソフトウエアの異なる要求対応で複数有する
コンピュータに対するプリンタインタフエース制御装置
において、前記アプリケーションソフトウエアの要求す
るプリンタインタフエース手段の識別子を前記アプリケ
ーションソフトウエア対応で保存を行なうプリンタイン
タフエース手段識別子保存手段と、前記アプリケーショ
ンソフトウエアの最初のプリンタインタフエース手段変
更命令に応じて当該アプリケーションソフトウエアの要
求するプリンタインタフエース手段の識別子を前記プリ
ンタインタフエース手段識別子保存手段に保存し以後の
命令供給に応じて前記プリンタインタフエース手段識別
子保存手段に保存したプリンタインタフエース手段識別
子と前記コンピュータに設定されているプリンタインタ
フエース手段の識別子とを比較し異なるときには前記コ
ンピュータに前記プリンタインタフエース手段識別子保
存手段に保存したプリンタインタフエース手段識別子と
同一プリンタインタフエース手段識別子を有するプリン
タインタフエース手段への切り換えを指示するプ手リン
タインタフエース手段制御手段を含んで構成されてい
る。
According to a first aspect of the present invention, a printer interface control device includes a printer interface means for generating a printer interface notification information signal required by a plurality of application software. A printer interface control device for a computer having a plurality of corresponding printer interface means identifier storing means for storing an identifier of the printer interface means requested by the application software corresponding to the application software; In response to the first printer interface means change command, the identifier of the printer interface means requested by the application software is changed to the printer interface. When the printer interface means identifier stored in the means identifier storage means and stored in the printer interface means identifier storage means according to the subsequent command supply is compared with the identifier of the printer interface means set in the computer, A printer interface control means for instructing the computer to switch to a printer interface means having the same printer interface means identifier as the printer interface means identifier stored in the printer interface means identifier storage means. Have been.

【0018】第2の発明のプリンタインタフエース制御
装置は、第1の発明のプリンタインタフエース制御装置
において、プリンタインタフエース手段制御手段はプリ
ンタインタフエース手段識別子保存手段のプリンタイン
タフエース手段識別子保存領域に初期値としてコンピュ
ータに初期設定されるプリンタインタフエース手段の有
する識別子を設定することを特徴としている。
A printer interface control device according to a second aspect of the present invention is the printer interface control device according to the first aspect of the present invention, wherein the printer interface control means is provided in the printer interface means identifier storage area of the printer interface means identifier storage means. It is characterized in that an identifier possessed by the printer interface means which is initially set in the computer is set as an initial value.

【0019】[0019]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0020】図1は本発明のプリンタインタフエース制
御装置の一実施の形態と関連機器等の構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing an embodiment of a printer interface control device according to the present invention and the configuration of related devices and the like.

【0021】図1には例として2つの異なるプリンタイ
ンタフエース手段AとBとを有するホストにプリンタイ
ンタフエース手段Aを要求するアプリケーションソフト
ウエアAとプリンタインタフエース手段Bを要求するア
プリケーションソフトウエアBとを付加したブロック図
が示してある。
FIG. 1 shows, as an example, application software A for requesting the printer interface means A to a host having two different printer interface means A and B, and application software B for requesting the printer interface means B. block diagram added is shown.

【0022】ここにおいて、プリンタインタフエース手
段とは、前述のように、ホストとプリンタ間の1つの物
理的なインタフエースコネクタを介して授受される種々
のインタフエース信号を組合せて新たな報知情報信号を
作成する機構であり、この新たに作成された報知情報信
号は個々のアプリケーションソフトウエアの要求を充足
するものであり、これにより各アプリケーションソフト
ウエアはプリンタに関する情報を知りうるのである。
Here, the printer interface means, as described above, combines various interface signals transmitted and received via one physical interface connector between the host and the printer to generate a new broadcast information signal. The notification information signal newly created satisfies the requirements of the individual application software, so that each application software can know information about the printer.

【0023】プリンタ装置5はホストプリンタインタフ
エース部4と物理的な1つのコネクタにより例えばセン
トロニクスインタフエースで接続されている。
The printer device 5 is connected to the host printer interface unit 4 by one physical connector, for example, by a Centronics interface.

【0024】ホストプリンタインタフエース部4はプリ
ンタコントローラ(例へばマイクロプロセッサ)と、プ
リンタBIOSやプリンタインタフエース手段Aおよび
Bなるプログラムを格納するメモリ等を備え、プリンタ
BIOSによりプリンタ装置5を制御しており、そのイ
ンタフエースはアプリケーションソフトウエアからの要
求によりプリンタコントローラはこれに対応するインタ
フエース手段に切り換えて動作する。電源投入時の初期
設定に際しては予め定めておいた一定のプリンタインタ
フエース手段、例えばプリンタインタフエース手段Aが
設定される。現在どのプリンタインタフエース手段が設
定されているかはフラグ等により記憶されている。
The host printer interface unit 4 includes a printer controller (for example, a microprocessor), a memory for storing a printer BIOS and programs for printer interface means A and B, and controls the printer device 5 by the printer BIOS. In response to a request from the application software, the printer controller operates by switching to the corresponding interface means. At the time of the initial setting at the time of turning on the power, a predetermined printer interface means, for example, a printer interface means A is set. Which printer interface means is currently set is stored by a flag or the like.

【0025】プリンタインタフエース制御装置1はプリ
ンタインタフエース手段制御部2と、プリンタインタフ
エース手段識別子保存部3とを含んで構成されている。
The printer interface control device 1 includes a printer interface means control unit 2 and a printer interface means identifier storage unit 3.

【0026】プリンタインタフエース手段制御部2はア
プリケーションソフトウエアから供給される命令を解析
して現時点で設定されているプリンタインタフエース手
段を調べ、それが命令の供給されたアプリケーションソ
フトウエアに対応するプリンタインタフエース手段でな
いときにはプリンタインタフエース手段の切り換えを指
示する。
The printer interface means control unit 2 analyzes a command supplied from the application software to check a printer interface means set at the present time, and determines whether the printer interface means is a printer corresponding to the application software to which the command is supplied. If it is not the interface means, an instruction is given to switch the printer interface means.

【0027】プリンタインタフエース手段識別子保存部
3はホストに付加されるアプリケーションソフトウエア
毎に保存領域を有し、アプリケーションソフトウエアか
らのプリンタインタフエース手段変更命令に応じプリン
タインタフエース手段制御部2の指示するプリンタイン
タフエース手段識別子を、プリンタインタフエース手段
制御部2の指示する保存領域に格納している。
The printer interface means identifier storage section 3 has a storage area for each application software added to the host, and instructs the printer interface means control section 2 in response to a printer interface means change command from the application software. The printer interface means identifier to be stored is stored in a storage area designated by the printer interface means control unit 2.

【0028】アプリケーションソフトウエアのプリンタ
に対する命令としては、自アプリケーションソフトウエ
アに対応するプリンタインタフエース手段への切り換え
指示を行なうプリンタインタフエース手段変更命令と、
プリンタが印刷可能かいなかのプリンタステータスを問
い合せるステータス取得命令と、データを伴なった印刷
要求命令とが一般に用意されている。
The application software commands to the printer include a printer interface means change command for instructing a switch to the printer interface means corresponding to the application software;
In general, a status acquisition command for inquiring the printer status as to whether or not the printer can print and a print request command accompanied by data are prepared.

【0029】図2は本実施の形態のプリンタインタフエ
ース制御装置の動作を示す流れ図である。
FIG. 2 is a flowchart showing the operation of the printer interface control device according to the present embodiment.

【0030】図1および2を参照して本実施の形態のプ
リンタインタフエース制御装置の動作を説明する。
The operation of the printer interface control device according to the present embodiment will be described with reference to FIGS.

【0031】電源投入に応じてホストプリンタインタフ
エース部4ではプリンタインタフエース手段Aが初期設
定される。
When the power is turned on, the printer interface means A of the host printer interface unit 4 is initialized.

【0032】アプリケーションソフトウエアは業務を開
始し最初のプリンタ出力が生じたときには、先ずプリン
タインタフエース手段変更命令をプリンタインタフエー
ス手段制御部2に出力する。
When the application software starts work and the first printer output occurs, it first outputs a printer interface means change command to the printer interface means control unit 2.

【0033】プリンタインタフエース手段制御部2は到
来した命令を解析し、これがプリンタインタフエース手
段変更命令であるので(ステップ21のYES枝)、こ
のプリンタインタフエース手段変更命令の指定するプリ
ンタインタフエース手段、すなわち当該アプリケーショ
ンソフトウエアの使用するプリンタインタフエース手段
の識別子を、プリンタインタフエース手段識別子保存部
3の当該アプリケーションソフトウエアに対応する保存
領域に保存する(ステップ22)。
The printer interface control unit 2 analyzes the arriving command, and since this is a printer interface change command (YES branch of step 21), the printer interface means specified by the printer interface change command is designated. That is, the identifier of the printer interface means used by the application software is stored in the storage area corresponding to the application software in the printer interface means identifier storage unit 3 (step 22).

【0034】次いで、プリンタインタフエース手段制御
部2はホストプリンタインタフエース部4において現在
設定されているプリンタインタフエース手段の識別子を
ホストプリンタインタフエース部4より取得し(ステッ
プ23)、更にステップ22で保存した識別子をプリン
タインタフエース手段識別子保存部3より取得し(ステ
ップ24)、ステップ23とステップ24で取得したそ
れぞれの識別子を比較する(ステップ25)。
Next, the printer interface control unit 2 obtains the identifier of the printer interface currently set in the host printer interface 4 from the host printer interface 4 (step 23). The stored identifiers are obtained from the printer interface means identifier storage unit 3 (step 24), and the respective identifiers obtained in steps 23 and 24 are compared (step 25).

【0035】ステップ25での比較結果が、一致したと
きには(ステップ25のYES枝)、先程アプリケーシ
ョンソフトウエアから供給された命令を解析し(ステッ
プ27)、今の場合はプリンタインタフエース手段変更
命令であるので(ステップ27のYES枝)、これで終
了する。
If the comparison result in step 25 matches (YES branch of step 25), the command supplied from the application software is analyzed (step 27). In this case, the command is changed by the printer interface means change command. Since there is (YES branch of step 27), the process ends.

【0036】すなわち、この場合はプリンタインタフエ
ース手段変更命令がアプリケーションソフトウエアから
供給されても、もともとホストプリンタインタフエース
部4に設定されていたプリンタインタフエース手段はア
プリケーションソフトウエアの要求したプリンタインタ
フエース手段と同じであるので、プリンタインタフエー
ス手段制御部2からホストプリンタインタフエース部4
へはプリンタインタフエース手段変更要求を出して変更
する必要はない場合である。
That is, in this case, even if the printer interface means change instruction is supplied from the application software, the printer interface means originally set in the host printer interface unit 4 will be replaced by the printer interface requested by the application software. Means, the printer interface means control unit 2 sends the host printer interface unit 4
Is not necessary to issue a printer interface means change request.

【0037】ステップ25での比較結果が、一致しない
ときには(ステップ25のNO枝)、プリンタインタフ
エース手段制御部2からホストプリンタインタフエース
部4へプリンタインタフエース手段変更要求を出してホ
ストプリンタインタフエース部4に現在設定されている
プリンタインタフエース手段をステップ24で取得した
識別子を有するプリンタインタフエース手段に切り換え
(ステップ26)、次いで先程アプリケーションソフト
ウエアから供給された命令を解析し(ステップ27)、
今の場合はプリンタインタフエース手段変更命令である
ので(ステップ27のYES枝)、これで終了する。
If the result of the comparison at step 25 does not match (NO at step 25), a request for changing the printer interface means is issued from the printer interface means control section 2 to the host printer interface section 4, and the host printer interface is issued. The printer interface means currently set in the section 4 is switched to the printer interface means having the identifier obtained in step 24 (step 26), and the command supplied from the application software is analyzed (step 27).
In this case, since the instruction is a printer interface means change instruction (YES branch of step 27), the process ends.

【0038】すなわち、この場合はもともとホストプリ
ンタインタフエース部4に設定されていたプリンタイン
タフエース手段とアプリケーションソフトウエアの要求
したプリンタインタフエース手段とが異なっているの
で、プリンタインタフエース手段制御部2からホストプ
リンタインタフエース部4へプリンタインタフエース手
段変更要求を出して変更する必要がある場合である。
That is, in this case, the printer interface means originally set in the host printer interface section 4 is different from the printer interface means requested by the application software. This is a case where it is necessary to issue a printer interface means change request to the host printer interface unit 4 to change the printer interface means.

【0039】次にアプリケーションソフトウエアからプ
リンタインタフエース手段制御部2に供給される命令が
プリンタインタフエース手段変更命令以外の場合につい
て説明する。
Next, a case where a command supplied from the application software to the printer interface means control unit 2 is other than a printer interface means change command will be described.

【0040】この場合には既にプリンタインタフエース
手段変更命令がプリンタインタフエース手段制御部2に
出力され、当該アプリケーションソフトウエアの使用す
るプリンタインタフエース手段の識別子がプリンタイン
タフエース手段識別子保存部3の当該アプリケーション
ソフトウエアに対応する保存領域に格納されている。
In this case, the printer interface means change instruction has already been output to the printer interface means control unit 2 and the identifier of the printer interface means used by the application software is stored in the printer interface means identifier storage unit 3. It is stored in a storage area corresponding to the application software.

【0041】プリンタインタフエース手段制御部2は到
来した命令を解析し、これがプリンタインタフエース手
段変更命令でないので(ステップ21のNO枝)、プリ
ンタインタフエース手段制御部2はホストプリンタイン
タフエース部4において現在設定されているプリンタイ
ンタフエース手段の識別子をホストプリンタインタフエ
ース部4より取得し(ステップ23)、更に既に前述の
ようにして保存されている当該アプリケーションソフト
ウエアに対応するプリンタインタフエース手段の識別子
をプリンタインタフエース手段識別子保存部3より取得
し(ステップ24)、ステップ23とステップ24で取
得したそれぞれの識別子を比較する(ステップ25)。
The printer interface means control section 2 analyzes the received command, and since this is not a printer interface means change command (NO branch of step 21), the printer interface means control section 2 causes the host printer interface section 4 to execute the command. The identifier of the currently set printer interface means is obtained from the host printer interface unit 4 (step 23), and the identifier of the printer interface means corresponding to the application software already stored as described above is obtained. Is obtained from the printer interface means identifier storage unit 3 (step 24), and the respective identifiers obtained in step 23 and step 24 are compared (step 25).

【0042】ステップ25での比較結果が、一致しない
ときには(ステップ25のNO枝)、プリンタインタフ
エース手段制御部2からホストプリンタインタフエース
部4へプリンタインタフエース手段変更要求を出してホ
ストプリンタインタフエース部4に現在設定されている
プリンタインタフエース手段をステップ24で取得した
識別子を有するプリンタインタフエース手段に切り換え
(ステップ26)、次いで先程アプリケーションソフト
ウエアから供給された命令を解析し(ステップ27)、
今の場合はプリンタインタフエース手段変更命令以外で
あるので(ステップ27のNO枝)、供給された命令の
実行を行ない(ステップ28)、終了する。
If the comparison result in step 25 does not match (NO branch in step 25), a request for changing the printer interface means is issued from the printer interface means control section 2 to the host printer interface section 4, and the host printer interface is issued. The printer interface means currently set in the section 4 is switched to the printer interface means having the identifier obtained in step 24 (step 26), and the command supplied from the application software is analyzed (step 27).
In this case, since the instruction is other than the printer interface means change instruction (NO branch of step 27), the supplied instruction is executed (step 28), and the processing ends.

【0043】すなわち、この場合はもともとホストプリ
ンタインタフエース部4に設定されていたプリンタイン
タフエース手段とアプリケーションソフトウエアの要求
したプリンタインタフエース手段とが異なっている場合
であり、当該アプリケーションソフトウエアがプリンタ
インタフエース手段変更命令を出して以後他のアプリケ
ーションソフトウエアによりプリンタインタフエース手
段の切り換えが行なわれた場合であり、プリンタインタ
フエース手段制御部2からホストプリンタインタフエー
ス部4へプリンタインタフエース手段変更要求を出して
変更する必要がある場合である。
That is, in this case, the printer interface means originally set in the host printer interface unit 4 is different from the printer interface means requested by the application software. This is the case where the printer interface means is switched by another application software after issuing the interface means change command, and the printer interface means control unit 2 sends a printer interface means change request to the host printer interface unit 4. Is necessary to change it.

【0044】ステップ25での比較結果が、一致したと
きには(ステップ25のYES枝)、先程アプリケーシ
ョンソフトウエアから供給された命令を解析し(ステッ
プ27)、今の場合はプリンタインタフエース手段変更
命令以外であるので(ステップ27のNO枝)、供給さ
れた命令の実行を行ない(ステップ28)、終了する。
When the comparison result in step 25 matches (YES branch of step 25), the command supplied from the application software is analyzed (step 27), and in this case, a command other than the printer interface means change command is used. (NO branch of step 27), the supplied instruction is executed (step 28), and the processing ends.

【0045】すなわち、この場合は、もともとホストプ
リンタインタフエース部4に設定されていたプリンタイ
ンタフエース手段はアプリケーションソフトウエアの要
求するプリンタインタフエース手段と同じ場合であり、
当該アプリケーションソフトウエアがプリンタインタフ
エース手段変更命令を出して以後他のアプリケーション
ソフトウエアによりプリンタインタフエース手段の切り
換えが行なわれなかった場合か、または、当該アプリケ
ーションソフトウエアにより上述のプリンタインタフエ
ース切り換えの再実行が行なわれた場合である。
That is, in this case, the printer interface means originally set in the host printer interface unit 4 is the same as the printer interface means requested by the application software.
If the application software issues a printer interface means change command and the printer interface means is not switched by another application software after that, or if the application software changes the printer interface switching as described above. This is the case when execution is performed.

【0046】以上説明したように、本実施の形態のプリ
ンタインタフエース制御装置は、最初のプリタインタフ
エース手段変更命令の受信に際してその要求するプリン
タインタフエース手段の識別子を記憶しておき、以後こ
れを利用することによりアプリケーションソフトウエア
は他のアプリケーションソフトウエアによりプリンタイ
ンタフエース手段が切り換えられたか否かを意識せずに
プリンタヘ命令を発することができ、また、本装置は種
々なるインタフエース手段を要求するアプリケーション
ソフトウエアに共用でき、インタフエース手段制御に要
する資源を削減できる。
As described above, the printer interface control device according to the present embodiment stores the identifier of the requested printer interface unit upon receiving the first printer interface unit change command, and thereafter stores this identifier. By using the application software, the application software can issue a command to the printer without being aware of whether or not the printer interface means has been switched by another application software, and the apparatus requests various interface means. It can be shared with application software, and resources required for interface means control can be reduced.

【0047】また、電源投入に応じてホストプリンタイ
ンタフエース部4ではプリンタインタフエース手段Aが
初期設定されるが、これに応答してプリンタインタフエ
ース制御装置1にあるプリンタインタフエース手段識別
子保存部3のアプリケーションソフトウエアAおよびア
プリケーションソフトウエアBに対するプリンタインタ
フエース手段識別子の各保存領域に初期設定として、ホ
ストプリンタインタフエース部4に初期設定されたプリ
ンタインタフエース手段Aの識別子「A」を設定すれ
ば、初期設定されたインタフエース手段を要求するアプ
リケーションソフトウエアは、最初の印刷要求において
もインタフエース手段変更命令使用する必要がなくな
る。これが第2の発明であり、アプリケーションソフト
ウエアのプリンタ制御命令数を削減できるという効果が
ある。
When the power is turned on, the printer interface unit A is initialized in the host printer interface unit 4. In response to this, the printer interface unit identifier storage unit 3 in the printer interface control unit 1 responds to this. If the identifier "A" of the printer interface means A initially set in the host printer interface unit 4 is set as an initial setting in each storage area of the printer interface means identifiers for the application software A and the application software B, The application software requesting the initially set interface means does not need to use the interface means change command even in the first print request. This is the second invention, and has an effect that the number of printer control instructions of application software can be reduced.

【0048】以上の説明においては、プリンタインタフ
エース手段が2つの場合について説明したが、本発明は
これに限定されるものではなく、複数の異なるプリンタ
インタフエース手段についても同様制御できることは自
明である。
In the above description, the case where there are two printer interface means has been described. However, the present invention is not limited to this, and it is obvious that a plurality of different printer interface means can be similarly controlled. .

【0049】また、付加されるアプリケーションソフト
ウエアが2つの場合について説明したが、本発明はこれ
に限定されるものではなく、複数のアプリケーションソ
フトウエアが付加された場合についても同様制御できる
ことは自明である。
Although the description has been given of the case where two application softwares are added , the present invention is not limited to this. It is obvious that the same control can be performed when a plurality of application softwares are added. is there.

【0050】[0050]

【発明の効果】以上説明したように、本発明のプリンタ
インタフエース制御装置は、最初のプリタインタフエー
ス手段変更命令の受信に際してその要求するプリンタイ
ンタフエース手段の識別子を記憶しておき、以後これを
利用することによりアプリケーションソフトウエアは他
のアプリケーションソフトウエアによりプリンタインタ
フエース手段が切り換えられたか否かを意識せずにプリ
ンタヘ命令を発することができ、また、本装置は種々な
るインタフエース手段を要求するアプリケーションソフ
トウエアに共用でき、インタフエース手段制御に要する
資源を削減できるという効果を有している。
As described above, the printer interface control device according to the present invention stores the identifier of the requested printer interface unit upon receiving the first printer interface unit change command, and thereafter stores this identifier. By using the application software, the application software can issue a command to the printer without being aware of whether or not the printer interface means has been switched by another application software, and the apparatus requests various interface means. This has the effect that it can be shared by application software and resources required for interface means control can be reduced.

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

【図1】本発明のプリンタインタフエース制御装置の一
実施の形態と関連機器等の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a configuration of a printer interface control device according to an embodiment of the present invention and related devices and the like.

【図2】本実施の形態のプリンタインタフエース制御装
置における動作の一例を示す流れ図である。
FIG. 2 is a flowchart illustrating an example of an operation of the printer interface control device according to the present embodiment.

【図3】従来のプリンタインタフエース制御装置と関連
機器等の構成を示すブロック図である。
FIG. 3 is a block diagram showing a configuration of a conventional printer interface control device and related devices.

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

1 プリンタインタフエース制御装置 2 プリンタインタフエース手段制御部 3 プリンタインタフエース手段識別子保存部 4、30 ホストプリンタインタフエース部 5、31 プリンタ装置 21〜28 流れ図のステップ DESCRIPTION OF SYMBOLS 1 Printer interface control device 2 Printer interface means control part 3 Printer interface means identifier storage part 4, 30 Host printer interface part 5, 31 Printer device 21-28 Flow chart steps

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 3/12 B41J 5/30 B41J 29/38──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 6 , DB name) G06F 3/12 B41J 5/30 B41J 29/38

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のアプリケーションソフトウエアの
要求するプリンタインタフエース報知情報信号を作成す
るプリンタインタフエース手段を前記アプリケーション
ソフトウエアの異なる要求対応で複数有するコンピュー
タに対するプリンタインタフエース制御装置において、
前記アプリケーションソフトウエアの要求するプリンタ
インタフエース手段の識別子を前記アプリケーションソ
フトウエア対応で保存を行なうプリンタインタフエース
手段識別子保存手段と、前記アプリケーションソフトウ
エアの最初のプリンタインタフエース手段変更命令に応
じて当該アプリケーションソフトウエアの要求するプリ
ンタインタフエース手段の識別子を前記プリンタインタ
フエース手段識別子保存手段に保存し以後の命令供給に
応じて前記プリンタインタフエース手段識別子保存手段
に保存したプリンタインタフエース手段識別子と前記コ
ンピュータに設定されているプリンタインタフエース手
段の識別子とを比較し異なるときには前記コンピュータ
に前記プリンタインタフエース手段識別子保存手段に保
存したプリンタインタフエース手段識別子と同一プリン
タインタフエース手段識別子を有するプリンタインタフ
エース手段への切り換えを指示するプリンタインタフエ
ース手段制御手段を含むことを特徴とするプリンタイン
タフエース制御装置。
1. A printer interface control device for a computer having a plurality of printer interface means for generating printer interface notification information signals required by a plurality of application software in response to different requests of said application software.
A printer interface means identifier storing means for storing an identifier of the printer interface means requested by the application software in correspondence with the application software; and an application corresponding to the first printer interface means change instruction of the application software. The printer interface means identifier required by the software is stored in the printer interface means identifier storage means, and the printer interface means identifier stored in the printer interface means identifier storage means in response to a subsequent command supply is stored in the printer interface means identifier and the computer. The identifier of the printer interface unit is compared with the set identifier. Printer In Tough Ace controller which comprises a printer in tough ace means controlling means for instructing the switching to the printer in tough ace means having Tafuesu means identifier and same printer in tough ace means identifier.
【請求項2】 プリンタインタフエース手段制御手段は
プリンタインタフエース手段識別子保存手段のプリンタ
インタフエース手段識別子保存領域に初期値としてコン
ピュータに初期設定されるプリンタインタフエース手段
の有する識別子を設定することを特徴とする請求項1記
載のプリンタインタフエース制御装置。
2. The printer interface means control means sets an identifier of the printer interface means which is initially set in the computer as an initial value in a printer interface means identifier storage area of the printer interface means identifier storage means. The printer interface control device according to claim 1, wherein
JP8039588A 1996-02-27 1996-02-27 Printer interface controller Expired - Lifetime JP2845793B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8039588A JP2845793B2 (en) 1996-02-27 1996-02-27 Printer interface controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8039588A JP2845793B2 (en) 1996-02-27 1996-02-27 Printer interface controller

Publications (2)

Publication Number Publication Date
JPH09231024A JPH09231024A (en) 1997-09-05
JP2845793B2 true JP2845793B2 (en) 1999-01-13

Family

ID=12557271

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8039588A Expired - Lifetime JP2845793B2 (en) 1996-02-27 1996-02-27 Printer interface controller

Country Status (1)

Country Link
JP (1) JP2845793B2 (en)

Also Published As

Publication number Publication date
JPH09231024A (en) 1997-09-05

Similar Documents

Publication Publication Date Title
US20040199600A1 (en) Method and apparatus for program installation in a modular network
JP2845793B2 (en) Printer interface controller
JPH08123631A (en) Method and device for printing, and printing system
JPH05265911A (en) Interface function-extension system and method
JP2000020317A (en) Device and device control method in information processing system, and software storage medium
JP3052595B2 (en) Computer redundancy control method
JPH01263064A (en) Printer device
JPH11161591A (en) Data communication equipment, data communication method, storage medium and device driver
JP3661609B2 (en) SCSI interface control device and selection monitoring method thereof
JPH02231622A (en) Printer controlling system
JPH06311199A (en) Uninterrupted communication control software changing method
JPH05108310A (en) Automatic activity test method for computer system
JPH02178170A (en) Printer device
JPS59189466A (en) Terminal change-over system
JPH04296904A (en) Programmable controller
JPS62118428A (en) Terminal equipment
JP2000347771A (en) Power source controller for printer
JPH10333785A (en) Printer power source control system
JPS63126029A (en) Test printing system for printer
JPH07115423A (en) Transmission control system
JPS63310052A (en) Bus connection controller
JPH09135282A (en) Polling control method
JPH06274320A (en) Dynamic system generation system by parameter when system pises
JPH1091465A (en) Job starting controller and its use method
JPH05307448A (en) Printer

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19981006