JPH04250547A - Control program for peripheral equipment - Google Patents
Control program for peripheral equipmentInfo
- Publication number
- JPH04250547A JPH04250547A JP823591A JP823591A JPH04250547A JP H04250547 A JPH04250547 A JP H04250547A JP 823591 A JP823591 A JP 823591A JP 823591 A JP823591 A JP 823591A JP H04250547 A JPH04250547 A JP H04250547A
- Authority
- JP
- Japan
- Prior art keywords
- operating environment
- peripheral device
- control program
- device driver
- peripheral
- 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
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【0001】0001
【産業上の利用分野】本発明は電子計算機の周辺装置の
制御に用いる周辺装置の制御プログラムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a peripheral device control program used for controlling peripheral devices of an electronic computer.
【0002】一般に、キーボード、プリンタ、タブレッ
ト、ディジタイザ、マウス等のコンピュータ周辺装置は
それぞれ、機種により互換性がない。これは周辺装置の
提供者が製品としての特色をアピールしようとするから
で、これに対し、周辺装置の使用者は、現状使用してい
る機種と互換性のない他機種の特定機能を使用したい状
況が生じることがあり、互換性のない数種類の周辺装置
を使用しなければならない状況にいたる。Generally, computer peripheral devices such as keyboards, printers, tablets, digitizers, and mice are not compatible depending on the model. This is because peripheral device providers try to emphasize the features of their products, whereas peripheral device users want to use specific functions of other models that are not compatible with the model they are currently using. Situations may arise in which several types of incompatible peripheral devices must be used.
【0003】0003
【従来の技術】通常ある1つの周辺装置制御プログラム
(以下,デバイスドライバ)は、特定仕様の装置専用の
制御プログラムとして作成される。1つのデバイスドラ
イバが複数機種をサポートする場合、各機種の仕様が同
一であったり、仕様が異なる場合は装置情報の設定/取
得をする特殊なインタフェースが存在したり、あるいは
共通仕様のみサポートする等の条件下で行われる。2. Description of the Related Art A peripheral device control program (hereinafter referred to as a device driver) is usually created as a control program dedicated to a device with specific specifications. When one device driver supports multiple models, the specifications of each model may be the same, or if the specifications are different, there may be a special interface for setting/obtaining device information, or it may only support common specifications. carried out under the following conditions.
【0004】異なる仕様の複数機種を1つのデバイスド
ライバでサポートする場合、各機種間の違いの中には、
デバイスドライバの作成次第でサポート可能なものと、
サポート不可能なものがある。前者はRS232C準拠
あるいはセントロニクスインタフェース準拠と規定して
いる装置をそれら基本インタフェースで規定されている
部分でかつ基本的な部分に関する動作等であり、後者は
シーケンスを伴った機能や各装置の拡張機能やエラー処
理に関わる部分などである。具合的には、キーボード装
置の場合、同一のキーであっても機種によりその機械の
内部コードが異なるため、1つのキーボードドライバで
異なるキーボードを制御することは通常不可能である。
またプリンタの場合は、単票用ホッパの有無、単票/連
帳切替えレバーの状態認識方法、装置内データ受信バッ
ファの制御方法、エスケープシーケンス等の機能レベル
の違い、用紙切れ通知やオフライン状態への遷移条件等
に違いがあるため、通常の印刷は行えても,用紙切れや
、オフライン等のエラーに対する処理は機種により異な
るため行えない。マウス,タブレット等の場合、通知座
標データのフォーマットの内容や座標原点等の通知座標
範囲が異なるため、移動量や座標の認識が正常に行えな
い。[0004] When supporting multiple models with different specifications with one device driver, the differences between each model include:
What can be supported depending on the creation of the device driver,
There are some things that cannot be supported. The former refers to the operations of devices that are defined as RS232C compliant or Centronics interface compliant, and is defined by those basic interfaces, and the latter refers to functions that involve sequences, extended functions of each device, etc. This includes parts related to error handling. Specifically, in the case of keyboard devices, even if the keys are the same, the internal code of the machine differs depending on the model, so it is usually impossible to control different keyboards with one keyboard driver. In the case of printers, the presence or absence of a hopper for single sheets, how to recognize the state of the single sheet/continuous sheet switching lever, how to control the data reception buffer in the device, differences in function levels such as escape sequences, notification of paper out, and offline status Due to differences in the transition conditions, etc., normal printing may be possible, but processing for errors such as out of paper or offline status is not possible as it differs depending on the model. In the case of a mouse, tablet, etc., the format of the notification coordinate data and the notification coordinate range such as the coordinate origin are different, so the amount of movement and coordinates cannot be recognized correctly.
【0005】このため、従来のデバイスドライバはサポ
ート対象の機種に対しては、各機能をサポートしたり、
各種モードを設定したり、状態を把握して制御を適応さ
せることができるが、同一用途の装置であってもサポー
ト外の機種であれば、セントロニクスやRS232Cイ
ンタフェース等の基本インタフェースの共通仕様の部分
を除き単一のデバイスドライバで制御することは不可能
である。このため、ある1つの機種向けには専用のデバ
イスドライバを用意することが一般的である。[0005] For this reason, conventional device drivers support various functions for supported models, and
It is possible to set various modes and understand the status to adapt control, but even if the device is for the same purpose, if the model is not supported, the common specification part of the basic interface such as Centronics or RS232C interface will be used. It is impossible to control with a single device driver except for For this reason, it is common to prepare a dedicated device driver for one particular model.
【0006】図5は従来のデバイスドライバの構成を示
す。
図において、1は周辺装置を制御するデバイスドライバ
、5は周辺装置の1ステップの動作、4は周辺装置の動
作を規定する設定値である。従来のデバイスドライバは
上記の如く周辺装置の動作を規定する設定値4 を自分
のプログラム内に持っていた。そして動作5 の度毎に
該設定値4 を参照していた。FIG. 5 shows the configuration of a conventional device driver. In the figure, 1 is a device driver that controls the peripheral device, 5 is the operation of one step of the peripheral device, and 4 is a setting value that defines the operation of the peripheral device. Conventional device drivers have set values 4 in their programs that define the operation of peripheral devices as described above. Then, the set value 4 is referred to every time the operation 5 is performed.
【0007】しかし、複数機種を使用するに当たり、デ
バイスドライバを特定の機種毎に作成あるいは購入し、
更に再インストールするのは不便であり、不可能な場合
が多い。また、ある周辺装置の提供者がその装置のデバ
イスドライバを添付することは珍しいことではないが,
通常それらのデバイスドライバは、特定のオペレーティ
ングシステム向けに記述されていることが多いため、そ
れ以外のオペレーティングシステムにおいてその装置を
使用しようとする場合、自前でそのデバイスドラバを作
成しなければならない。However, when using multiple models, it is necessary to create or purchase a device driver for each specific model.
Additionally, reinstalling is inconvenient and often impossible. Additionally, it is not uncommon for a provider of a peripheral device to include a device driver for that device;
These device drivers are usually written for a specific operating system, so if you want to use the device on another operating system, you must create your own device driver.
【0008】[0008]
【発明が解決しようとする課題】上記で述べたように複
数の周辺装置の機種を使用するに当たり、デバイスドラ
イバを特定の機種毎に作成あるいは購入し、更に再イン
ストールするのは不便であり、実際的には不可能である
という問題があった。本発明はこのような点にかんがみ
て、容易に複数の周辺装置の機種を制御するデバイスド
ライバを構成する手段を提供することを目的とする。[Problem to be Solved by the Invention] As mentioned above, when using multiple peripheral device models, it is inconvenient to create or purchase a device driver for each specific model and then reinstall it. The problem was that it was impossible. In view of these points, it is an object of the present invention to provide means for configuring a device driver that easily controls a plurality of peripheral device models.
【0009】[0009]
【課題を解決するための手段】上記の課題は下記の如く
に構成された周辺装置の制御プログラムによって解決さ
れる。図1は、本発明の原理図である。[Means for Solving the Problems] The above problems are solved by a peripheral device control program configured as follows. FIG. 1 is a diagram showing the principle of the present invention.
【0010】電子計算機の周辺装置を制御する制御プロ
グラム1 において、周辺装置の専用化した動作環境の
設定値4 が設定された動作環境ファイル2 を参照す
る動作環境参照機能3 を設けることにより、周辺装置
を動作5 させるとき該動作環境ファイル2 の設定値
4 を参照するように構成する。In a control program 1 for controlling a peripheral device of a computer, an operating environment reference function 3 is provided to refer to an operating environment file 2 in which a dedicated operating environment setting value 4 for the peripheral device is set. The device is configured to refer to the setting value 4 of the operating environment file 2 when operating the device.
【0011】[0011]
【作用】制御プログラム1 の動作環境参照機能3 が
、周辺装置を動作させるとき動作環境ファイル2 の設
定値4 を参照する。[Operation] The operating environment reference function 3 of the control program 1 refers to the setting value 4 of the operating environment file 2 when operating a peripheral device.
【0012】0012
【実施例】容易に複数の周辺装置の機種を制御するデバ
イスドライバを構成する方法として、機種毎に異なる周
辺装置の専用化した動作環境の設定値をデバイスドライ
バから分離して、動作環境の設定値のみを集めた動作環
境ファイルを作成し、該ファイルを参照してデバイスド
ライバが動作するように構成する。[Example] As a method of configuring a device driver that easily controls multiple peripheral device models, the dedicated operating environment settings for each peripheral device are separated from the device driver, and the operating environment is set. Create an operating environment file that collects only values, and configure the device driver to operate by referring to the file.
【0013】図2は本発明の実施例の構成を示す。図に
おいて、1は複数の周辺装置の機種を制御する本発明の
デバイスドライバ、2は機種毎に異なる周辺装置の専用
化した動作環境の設定値を集めた動作環境ファイル、3
はデバイスドライバ1 の中で周辺装置に動作させる時
の設定値4 を参照するときに動作環境ファイル2 を
参照する動作環境参照機能、4はデバイスの動作を規定
する設定値、6は周辺装置を利用するアプリケーション
プログラム、7はシステムを制御するオペレーションシ
ステム(OS)、8は動作環境ファイルを作成する環境
設定プログラムである。FIG. 2 shows the configuration of an embodiment of the present invention. In the figure, 1 is a device driver of the present invention that controls multiple peripheral device models, 2 is an operating environment file that collects operating environment settings dedicated to different peripheral devices for each model, and 3
is an operating environment reference function that refers to the operating environment file 2 when referring to the setting value 4 when operating the peripheral device in the device driver 1, 4 is the setting value that specifies the operation of the device, and 6 is the setting value for the peripheral device. The application programs to be used include an operating system (OS) 7 that controls the system, and an environment setting program 8 that creates an operating environment file.
【0014】図において、アプリケーションプログラム
(以下APL)6 が周辺装置を使用するときはシステ
ムを制御するオペレーションシステム(以下OS)7
に依頼し、OS7 はデバイスドライバ(以下DDV)
1に指令を出す。DDV1 の中では周辺装置に動作さ
せるときの設定値4 を、動作環境参照機能3 が設定
値4 を集めた動作環境ファイル2 を参照して求め、
該設定値4 を使用して動作する。In the figure, when an application program (hereinafter referred to as APL) 6 uses a peripheral device, an operation system (hereinafter referred to as OS) 7 that controls the system is used.
OS7 is a device driver (hereinafter referred to as DDV).
Issue a command to 1. In DDV1, the operating environment reference function 3 determines the setting value 4 when operating the peripheral device by referring to the operating environment file 2 which collects the setting value 4.
It operates using the setting value 4.
【0015】このように異なる複数の周辺装置の設定値
4 について異なる動作環境ファイル2 を作成してお
くことにより、DDV1 が同一でも動作環境ファイル
2 を変更すれば、別の周辺装置を制御できる。又、動
作環境ファイル2 はDDV1 と独立に作成すること
が必要である。そのため動作環境ファイルを作成する環
境設定プログラムを準備する。By creating different operating environment files 2 for the setting values 4 of a plurality of different peripheral devices in this way, it is possible to control different peripheral devices by changing the operating environment file 2 even if the DDV1 is the same. Furthermore, it is necessary to create the operating environment file 2 independently of the DDV1. Therefore, prepare an environment setting program that creates an operating environment file.
【0016】図3は環境設定プログラムの使用されるシ
ステムの構成図である。図において、10はシステムを
制御する計算機、11は計算機10が情報を出力する表
示装置、12は計算機10が情報を入力する入力装置で
ある。その他図2と同一符号の物は同一物である。環境
設定プログラム8 は表示装置11に必要な設定値を表
示して入力を要求する。この時の表示装置11の入力要
求画面が図4に示される。図4の環境設定画面において
、”■”マークは選択を、”□”マークは非選択を表わ
している。ここでは複数種のセントロニクスインタフェ
ース準拠のプリンタ装置を単一のデバイスドライバでサ
ポートする場合についての環境設定項目の一部が表示さ
れている。また、下線__が引いてある部分は、オペレ
ータが、数値を入力するカ所を示し、その上に数値が記
入してある部分は、本実施例として表記したもので、実
際にオペレータが入力する際には使用する機種のデータ
を元に入力することになる。また、その欄を空白のまま
にしてある場合は、選択されていないあるいは、装置側
に該当機能が無い事を示している。設定値が入力装置1
2から入力されると、環境設定プログラム8 はその入
力情報を表示装置11に表示して確認し、この設定値を
まとめて動作環境ファイル2 を作成する。FIG. 3 is a block diagram of a system in which the environment setting program is used. In the figure, 10 is a computer that controls the system, 11 is a display device to which the computer 10 outputs information, and 12 is an input device to which the computer 10 inputs information. Other components having the same symbols as those in FIG. 2 are the same. The environment setting program 8 displays necessary setting values on the display device 11 and requests input. The input request screen of the display device 11 at this time is shown in FIG. In the environment setting screen shown in FIG. 4, the "■" mark indicates selection, and the "□" mark indicates non-selection. Here, some of the environment setting items are displayed when a single device driver supports multiple types of Centronics interface-compliant printer devices. In addition, the underlined part indicates the place where the operator inputs the numerical value, and the part with the numerical value written above it is written as this example, and when the operator actually inputs it. You will need to enter data based on the model you are using. If the field is left blank, it indicates that it has not been selected or that the device does not have the corresponding function. The setting value is input device 1
2, the environment setting program 8 displays the input information on the display device 11 for confirmation, and compiles the setting values to create an operating environment file 2.
【0017】初期化時に動作環境ファイル2 を読込ん
だDDV1 は,その情報に従って図4の環境設定項目
に関して設定を行う。つまり、カットシートフィーダの
搭載/未搭載の認識、及び、それに伴う用紙切れエラー
等の認識方法の変更、装置の変更に伴うエラーリトライ
時のリトライ方法を行単位にするか/1バイト単位にす
るか等の決定を行う。これにより、カットシートフィー
ダ搭載/未搭載の認識がプログラム上で不可能なプリン
タの場合にも、搭載/未搭載が間接的には認識可能とな
り、正しい制御が可能となる。また、連帳/単票状態が
認識不可能な装置に対しても、設定によりどちらの状態
なのかを正しく認識できるので、相応の制御を行うこと
が可能となる。The DDV 1 that has read the operating environment file 2 at the time of initialization makes settings regarding the environment setting items shown in FIG. 4 according to the information. In other words, changes in the recognition method for recognizing whether a cut sheet feeder is installed or not, as well as recognition of out-of-paper errors, etc., and changing the retry method for error retries due to device changes to be line by line or by byte. Make decisions such as: As a result, even in the case of a printer in which it is impossible to programmatically recognize whether a cut sheet feeder is installed or not, it is possible to indirectly recognize whether a cut sheet feeder is installed or not, and correct control becomes possible. Furthermore, even if the device cannot recognize the continuous sheet/single sheet state, it is possible to correctly recognize which state it is in depending on the settings, so that appropriate control can be performed.
【0018】[0018]
【発明の効果】以上の説明から明らかなように本発明に
よれば容易に複数の周辺装置の機種を制御するデバイス
ドライバを構成するという工業的効果がある。As is clear from the above description, the present invention has the industrial effect of easily configuring a device driver that controls a plurality of peripheral device models.
【図1】 本発明の原理図[Figure 1] Principle diagram of the present invention
【図2】 本発明の実施例の構成図[Figure 2] Configuration diagram of an embodiment of the present invention
【図3】 本発明の実施例における環境設定プログラ
ムシステム[Figure 3] Environment setting program system in an embodiment of the present invention
【図4】 プリンタ装置に対する動作環境の設定画面
[Figure 4] Setting screen for operating environment for printer device
【図5】 従来の制御プログラム[Figure 5] Conventional control program
1 制御プログラム又はデバイスドライバ又はD
DV2 動作環境ファイル
3 動作環境参照機能
4 設定値
5 動作6 アプリケーション
プログラム7 オペレーティングシステム
8 環境設定プログラム1 Control program or device driver or D
DV2 operating environment file
3 Operating environment reference function 4 Setting values
5 Operation 6 Application program 7 Operating system 8 Environment setting program
Claims (1)
プログラム(1) において、周辺装置の専用化した動
作環境の設定値(4) が設定された動作環境ファイル
(2) を参照する動作環境参照機能(3) を設ける
ことにより、周辺装置を動作(5) させるとき該動作
環境ファイル(2) の設定値(4) を参照すること
を特徴とする周辺装置の制御プログラム。[Claim 1] In a control program (1) that controls a peripheral device of a computer, an operating environment reference that refers to an operating environment file (2) in which a dedicated operating environment setting value (4) for the peripheral device is set. A control program for a peripheral device, characterized in that by providing a function (3), reference is made to the setting value (4) of the operating environment file (2) when operating the peripheral device (5).
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP823591A JPH04250547A (en) | 1991-01-28 | 1991-01-28 | Control program for peripheral equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP823591A JPH04250547A (en) | 1991-01-28 | 1991-01-28 | Control program for peripheral equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04250547A true JPH04250547A (en) | 1992-09-07 |
Family
ID=11687490
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP823591A Pending JPH04250547A (en) | 1991-01-28 | 1991-01-28 | Control program for peripheral equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04250547A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH1097485A (en) * | 1996-09-20 | 1998-04-14 | Brother Ind Ltd | Information processing apparatus and recording medium storing information processing control program |
-
1991
- 1991-01-28 JP JP823591A patent/JPH04250547A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH1097485A (en) * | 1996-09-20 | 1998-04-14 | Brother Ind Ltd | Information processing apparatus and recording medium storing information processing control program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5790114A (en) | Electronic whiteboard with multi-functional user interface | |
| US7777720B2 (en) | Input system, program, and recording medium | |
| US5936614A (en) | User defined keyboard entry system | |
| CN102694939B (en) | Image forming apparatus and terminal device each having a touch panel | |
| US20050210408A1 (en) | Alternative, customizable, simplified device settings menu | |
| US7467237B2 (en) | Device driver and recording medium | |
| US20040263424A1 (en) | Display system and method | |
| US20130132885A1 (en) | Systems and methods for using touch input to move objects to an external display and interact with objects on an external display | |
| JP6379805B2 (en) | Information processing program, information processing apparatus, and information processing system | |
| US20020130836A1 (en) | Computer system having a plurality of input devices and associated double-click parameters | |
| JPH06342416A (en) | Method and equipment for distributed processing of display-screen information | |
| CN101807141A (en) | The control device of image processing system and image formation system | |
| JP2006268752A (en) | Launching modules for multiple versions | |
| US6664990B1 (en) | Computer display pointer with alternate hot spots | |
| JPH04250547A (en) | Control program for peripheral equipment | |
| JP2013250613A (en) | Information processing device, control method, and program | |
| US20080180412A1 (en) | Dual mode digitizer | |
| JP5008521B2 (en) | Multi-touch panel device and control method thereof | |
| US20070263247A1 (en) | Printing Program, Printing Method, and Host Device | |
| US7149979B2 (en) | Data management system and method for peripheral devices | |
| JP2013235314A (en) | Customization program, information processing device and recording medium | |
| JP7447898B2 (en) | Information processing device, information processing method and program | |
| JPH06110630A (en) | Data processor | |
| JP4480378B2 (en) | Character input support module | |
| US20070253006A1 (en) | Print user interface |