JP3055473B2 - Driver installation method - Google Patents

Driver installation method

Info

Publication number
JP3055473B2
JP3055473B2 JP8273396A JP27339696A JP3055473B2 JP 3055473 B2 JP3055473 B2 JP 3055473B2 JP 8273396 A JP8273396 A JP 8273396A JP 27339696 A JP27339696 A JP 27339696A JP 3055473 B2 JP3055473 B2 JP 3055473B2
Authority
JP
Japan
Prior art keywords
printer
driver
program
printer driver
installation
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 - Fee Related
Application number
JP8273396A
Other languages
Japanese (ja)
Other versions
JPH10124435A (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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP8273396A priority Critical patent/JP3055473B2/en
Publication of JPH10124435A publication Critical patent/JPH10124435A/en
Application granted granted Critical
Publication of JP3055473B2 publication Critical patent/JP3055473B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プリンタドライバ
をコンピュータに自動的にインストールするドライバイ
ンストール方法に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a driver installation method for automatically installing a printer driver in a computer.

【0002】[0002]

【従来の技術】従来、ウインドウズ95(Windows95 )
等のウインドウシステムを採用したオペレーティングシ
ステム(以下、OSという)は、コンピュータに接続さ
れているプリンタの種類を自動的に検出し、この種類に
応じたプリンタドライバを自動的にインストールするプ
ラグアンドプレイ(Plug and Play )と呼ばれる機能を
備えている。すなわち、このようなOSは、予め複数種
類のプリンタドライバを備えており、接続されているプ
リンタの種類に応じてこれらのプリンタドライバの何れ
かをコンピュータにインストールするものである。
2. Description of the Related Art Conventionally, Windows 95 has been used.
An operating system (hereinafter, referred to as an OS) that employs a window system automatically detects a type of a printer connected to a computer and automatically installs a printer driver according to the type. Plug and Play). That is, such an OS is provided with a plurality of types of printer drivers in advance, and one of these printer drivers is installed in a computer according to the type of the connected printer.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、最新の
プリンタにおいては、OSに所望のプリンタドライバが
用意されているとは限らず、上記プラグアンドプレイに
よってこれら最新のプリンタドライバをインストールす
ることはできなかった。そのため、最新のプリンタドラ
イバをインストールする場合、使用者はマニュアル等を
参照して手動でインストールする必要があった。
However, in the latest printers, a desired printer driver is not always prepared in the OS, and the latest printer driver cannot be installed by the plug and play. Was. Therefore, when installing the latest printer driver, the user has to refer to a manual or the like and install it manually.

【0004】また、複数種類のプリンタドライバをコン
ピュータの同一ポート(プリンタポート、シリアルポー
ト等)に共存させる場合、リソースの競合を防ぐため所
定のインストール順序が決まっているため、単純に新し
いプリンタドライバを追加インストールすることはでき
ないという問題点もあった。本発明はこのような課題を
解決するためのものであり、インストール順序を意識す
ることなく、既存のプリンタドライバと共存できるよう
に新たにプリンタドライバを追加インストールすること
ができるドライバインストール方法を提供することを目
的としている。
When a plurality of types of printer drivers coexist on the same port (printer port, serial port, etc.) of a computer, a predetermined installation order is determined to prevent resource conflicts. There was also a problem that additional installation was not possible. The present invention has been made to solve such a problem, and provides a driver installation method capable of additionally installing a new printer driver so as to coexist with an existing printer driver without being aware of an installation order. It is intended to be.

【0005】[0005]

【課題を解決するための手段】このような目的を達成す
るために、本発明によるドライバインストール方法は、
既にインストールされている第1のプリンタドライバ
と、新たにインストールされる第2のプリンタドライバ
とのインストール順序を判断し、インストール順序が正
しい状態のときは第2のプリンタドライバを追加インス
トールし、インストール順序が正しくない状態のときは
第1のプリンタドライバをアンインストールしてから第
2のプリンタドライバをインストールし、その後再度第
1のプリンタドライバをインストールするものである。
このように構成することにより、本発明はインストール
順序を意識せずに同一コンピュータに複数のプリンタド
ライバをインストールすることができる。
In order to achieve the above object, a driver installation method according to the present invention comprises:
The installation order of the first printer driver already installed and the newly installed second printer driver is determined. If the installation order is correct, the second printer driver is additionally installed, and the installation order is determined. If is not correct, the first printer driver is uninstalled, the second printer driver is installed, and then the first printer driver is installed again.
With this configuration, the present invention can install a plurality of printer drivers on the same computer without considering the installation order.

【0006】[0006]

【発明の実施の形態】次に、本発明の詳細について図面
を参照して説明する。図1は本発明の一つの実施の形態
を示したブロック図である。同図において、ドライバイ
ンストーラ1は自動起動プログラム2とプリンタ接続確
認プログラム3と既存プリンタドライバ確認プログラム
4とファイル書き込みプログラム5とから構成されてい
る。また、既存プリンタドライバ確認プログラム4はチ
ェックプログラム6とファイル検索プログラム7とファ
イル消去プログラム8とアラーム表示プログラム9とか
ら構成されている。
Next, details of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention. In FIG. 1, a driver installer 1 includes an automatic startup program 2, a printer connection confirmation program 3, an existing printer driver confirmation program 4, and a file writing program 5. The existing printer driver confirmation program 4 comprises a check program 6, a file search program 7, a file erase program 8, and an alarm display program 9.

【0007】自動起動プログラム2は、OS10が有す
るインストールプログラムと呼応してドライバインスト
ーラ1の動作を起動させるプログラムである。プリンタ
接続確認プログラム3は、新たに接続するプリンタ、す
なわちターゲットプリンタ11(以下、第2のプリンタ
という)とコンピュータとの物理的な接続状態を確認す
るプログラムである。
The automatic start program 2 is a program for starting the operation of the driver installer 1 in response to the install program of the OS 10. The printer connection confirmation program 3 is a program for confirming a physical connection state between a newly connected printer, that is, a target printer 11 (hereinafter, referred to as a second printer) and a computer.

【0008】既存プリンタドライバ確認プログラム4
は、ファイル検索プログラム7によってレジストリファ
イル12に登録されているプリンタドライバを検索する
プログラムである。そして、チェックプログラム6によ
り、第2のプリンタ11が接続されているポートに既に
同一ラインナップのプリンタ(以下、第1のプリンタと
いう)のドライバが登録されているか否かを確認し、フ
ァイル書き込みプログラム5によって所望のプリンタド
ライバをレジストリファイル12に登録する。
[0008] Existing printer driver confirmation program 4
Is a program for searching for a printer driver registered in the registry file 12 by the file search program 7. Then, the file writing program 5 checks whether or not the driver of the printer of the same lineup (hereinafter, referred to as a first printer) is already registered in the port to which the second printer 11 is connected by the check program 6. Thus, the desired printer driver is registered in the registry file 12.

【0009】なお、同一ラインナップのプリンタドライ
バとは、製造バージョン等が異なるプリンタドライバ同
士のことであり、これらは互いに同一ポートに共存させ
ることができる。また、この既存プリンタドライバ確認
プログラム4は、必要に応じてレジストリファイル12
に登録されているプリンタドライバを消去し、アラーム
表示プログラム9によってモニタ13上に警告を表示さ
せることができる。
Note that printer drivers of the same lineup are printer drivers having different production versions and the like, and these can coexist on the same port. Further, the existing printer driver confirmation program 4 can be used to store the registry file 12 if necessary.
Can be deleted, and an alarm can be displayed on the monitor 13 by the alarm display program 9.

【0010】以上の構成による本発明の一つの実施の形
態の動作について図を用いて詳細に説明する。図2は図
1に係るドライバインストーラによるプリンタドライバ
のインストール手順を示すフローチャートである。
The operation of one embodiment of the present invention having the above configuration will be described in detail with reference to the drawings. FIG. 2 is a flowchart showing a procedure for installing a printer driver by the driver installer shown in FIG.

【0011】ステップ101において、使用者によって
所望のプリンタドライバおよびドライバインストーラ1
を備えた記憶媒体(フロッピーディスク、CD−ROM
等)がコンピュータに装填されると、この記憶媒体上の
自動起動プログラム2が実行される。自動起動プログラ
ム2はOS10が有するインストールプログラムと呼応
してドライバインストーラ1の動作を起動させる。
In step 101, a printer driver and driver installer 1 desired by a user
Storage media (floppy disk, CD-ROM)
Is loaded into the computer, the automatic start-up program 2 on this storage medium is executed. The automatic activation program 2 activates the operation of the driver installer 1 in response to the installation program of the OS 10.

【0012】ステップ102において、プリンタ接続確
認プログラム3は第2のプリンタ11とコンピュータと
の物理的な接続状態を確認する。ステップ103におい
て、プリンタ接続確認プログラム3は第1のプリンタと
コンピュータとの物理的な接続状態を確認する。
In step 102, the printer connection confirmation program 3 confirms the physical connection state between the second printer 11 and the computer. In step 103, the printer connection check program 3 checks the physical connection state between the first printer and the computer.

【0013】ステップ104において、ファイル検索プ
ログラム7はレジストリファイル12に登録されている
プリンタドライバを検索し、チェックプログラム6はレ
ジストリファイル12に第2のプリンタ11のドライバ
と同一ラインナップのプリンタドライバが既に登録され
ているか否かを確認する。そして、新たに登録する第2
のプリンタ11のドライバのリソースと、既に登録され
ている第1のプリンタのドライバのリソースとの競合の
有無を判断する。
In step 104, the file search program 7 searches for a printer driver registered in the registry file 12, and the check program 6 registers a printer driver of the same lineup as the driver of the second printer 11 in the registry file 12. Check whether it has been done. And the second to register newly
It is determined whether or not there is a conflict between the resource of the driver of the printer 11 and the resource of the driver of the first printer already registered.

【0014】すなわち、第2のプリンタ11に割り当て
られるI/Oポートアドレスと、第1のプリンタに割り
当てられているI/Oポートアドレスとが競合した場合
はステップ106へ移行し、競合しなかった場合はステ
ップ105へ移行する。
That is, if the I / O port address assigned to the second printer 11 and the I / O port address assigned to the first printer conflict, the process proceeds to step 106, and no conflict occurs. In this case, the process proceeds to step 105.

【0015】ステップ105において、ファイル書き込
みプログラム5によって第2のプリンタ11のドライバ
をレジストリファイル12に登録し、このプリンタドラ
イバをコンピュータのハードディスク等の補助記憶装置
に書き込むことによりインストールを実施する。また、
I/Oポートアドレスが競合した場合はステップ106
において、インストール順序が正しくないことを使用者
に知らせるため、アラーム表示プログラム9によってモ
ニタ13上に所定の警告を表示させる。
In step 105, the driver for the second printer 11 is registered in the registry file 12 by the file writing program 5, and the printer driver is written in an auxiliary storage device such as a hard disk of the computer to perform installation. Also,
Step 106 if the I / O port address conflicts
, A predetermined warning is displayed on the monitor 13 by the alarm display program 9 in order to inform the user that the installation order is incorrect.

【0016】ステップ107において、ファイル消去プ
ログラム8はレジストリファイル12中の第1のプリン
タのドライバを消去することによりアンインストールを
実施する。ステップ108において、第2のプリンタ1
1のドライバを先にインストールし、その後第1のプリ
ンタのドライバを再度インストールする。このようにし
て、本発明は第1,2のプリンタドライバを同一ポート
に共存させることができる。なお、上記本発明に係るド
ライバインストール方法は、プリンタドライバに限らず
その他の周辺機器(ディスプレイ、SCSI、マウス
等)のデバイスドライバにも同様に利用することができ
る。
In step 107, the file erasing program 8 executes the uninstallation by deleting the driver of the first printer in the registry file 12. In step 108, the second printer 1
The driver of the first printer is installed first, and then the driver of the first printer is installed again. In this way, the present invention allows the first and second printer drivers to coexist on the same port. The driver installation method according to the present invention can be used not only for a printer driver but also for a device driver of another peripheral device (display, SCSI, mouse, etc.).

【0017】[0017]

【発明の効果】以上説明したように、本発明はコンピュ
ータに複数のプリンタドライバをインストールする際
に、既存のプリンタドライバと新たにインストールする
プリンタドライバのインストール順序を確認し、このイ
ンストール順序にしたがってプリンタドライバの再イン
ストールを実施する。そのため、使用者はマニュアル等
を参照して手動でインストールする必要がなくなり、初
心者でも容易にプリンタドライバを同一ポートに共存さ
せることができる。
As described above, according to the present invention, when a plurality of printer drivers are installed in a computer, the installation order of an existing printer driver and a newly installed printer driver is checked, and the printer is installed in accordance with the installation order. Reinstall the driver. This eliminates the need for the user to manually install the printer driver by referring to the manual or the like, and even a beginner can easily make the printer driver coexist on the same port.

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

【図1】 本発明の一つの実施の形態を示すブロック図
である。
FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】 本発明の一つの実施の形態を示すフローチャ
ートである。
FIG. 2 is a flowchart showing one embodiment of the present invention.

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

1…ドライバインストーラ、2…自動起動プログラム、
3…プリンタ接続確認プログラム、4…既存プリンタド
ライバ確認プログラム、5…ファイル書き込みプログラ
ム、6…チェックプログラム、7…ファイル検索プログ
ラム、8…ファイル消去プログラム、9…アラーム表示
プログラム、10…OS、11…ターゲットプリンタ、
12…ファイル、13…モニタ。
1 ... Driver installer, 2 ... Auto-start program,
3: Printer connection confirmation program, 4: Existing printer driver confirmation program, 5: File writing program, 6: Check program, 7: File search program, 8: File deletion program, 9: Alarm display program, 10: OS, 11 ... Target printer,
12 ... file, 13 ... monitor.

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 13/10 - 13/14 330 G06F 9/06 Continuation of the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 13/10-13/14 330 G06F 9/06

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 同一のポートに複数のプリンタドライバ
をインストールするドライバインストール方法におい
て、 既にインストールされている第1のプリンタドライバ
と、新たにインストールされる第2のプリンタドライバ
とのインストール順序を判断し、 インストール順序が正しい状態のときは第2のプリンタ
ドライバを追加インストールし、 インストール順序が正しくない状態のときは第1のプリ
ンタドライバをアンインストールしてから第2のプリン
タドライバをインストールし、その後再度第1のプリン
タドライバをインストールすることを特徴とするドライ
バインストール方法。
In a driver installation method for installing a plurality of printer drivers on the same port, an installation order of an already installed first printer driver and a newly installed second printer driver is determined. If the installation order is correct, install the second printer driver additionally. If the installation order is incorrect, uninstall the first printer driver, install the second printer driver, and then install again. A driver installation method comprising installing a first printer driver.
【請求項2】 請求項1記載のドライバインストール方
法において、 所望のプリンタドライバを記憶保持した記憶媒体がコン
ピュータに装填されると、このプリンタドライバのイン
ストールを開始することを特徴とするドライバインスト
ール方法。
2. The driver installation method according to claim 1, wherein when a storage medium storing a desired printer driver is loaded into a computer, the installation of the printer driver is started.
【請求項3】 請求項1記載のドライバインストール方
法において、 インストール順序は、各プリンタドライバのリソースが
競合していないときは正しい状態であり、各プリンタド
ライバのリソースが競合しているときは正しくない状態
であることを特徴とするドライバインストール方法。
3. The driver installation method according to claim 1, wherein the installation order is correct when the resources of the respective printer drivers do not conflict, and is incorrect when the resources of the respective printer drivers conflict. A driver installation method characterized by being in a state.
JP8273396A 1996-10-16 1996-10-16 Driver installation method Expired - Fee Related JP3055473B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8273396A JP3055473B2 (en) 1996-10-16 1996-10-16 Driver installation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8273396A JP3055473B2 (en) 1996-10-16 1996-10-16 Driver installation method

Publications (2)

Publication Number Publication Date
JPH10124435A JPH10124435A (en) 1998-05-15
JP3055473B2 true JP3055473B2 (en) 2000-06-26

Family

ID=17527321

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8273396A Expired - Fee Related JP3055473B2 (en) 1996-10-16 1996-10-16 Driver installation method

Country Status (1)

Country Link
JP (1) JP3055473B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4612761B2 (en) * 2000-04-28 2011-01-12 キヤノン株式会社 Electronic device, method for controlling electronic device, and computer-readable storage medium storing control program for electronic device
JP2003084984A (en) 2001-09-12 2003-03-20 Canon Inc Information processor, information processing method, control program, and recording medium storing control program
KR100475643B1 (en) * 2002-02-18 2005-03-10 (주)뉴어텍 adapter provided with driver program for peripheral device connected to computer
US20060072140A1 (en) * 2004-10-05 2006-04-06 Kabushiki Kaisha Toshiba System and method for configuring printer driver settings
GB0504567D0 (en) * 2005-03-04 2005-04-13 Cambridge Silicon Radio Ltd Installing drivers
JP4810282B2 (en) 2006-03-31 2011-11-09 キヤノン株式会社 Module installation method, module installation device, and program
JP4812797B2 (en) * 2008-04-08 2011-11-09 三菱電機株式会社 On-board device for narrow area communication
JP2012048410A (en) * 2010-08-25 2012-03-08 Nec Corp Software installation system and software installation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
「日経パソコン1996年2月26日号」,日経BP社,1996年2月26日,pp170−177

Also Published As

Publication number Publication date
JPH10124435A (en) 1998-05-15

Similar Documents

Publication Publication Date Title
US7334227B2 (en) Device driver installing method
US6804774B1 (en) Software image transition aid comprising building a disk image based on identified hardware
US6820214B1 (en) Automated system recovery via backup and restoration of system state
KR100860447B1 (en) Method and system for creating and employing an operating system having selected functionality
US6138179A (en) System for automatically partitioning and formatting a primary hard disk for installing software in which selection of extended partition size is not related to size of hard disk
US6594723B1 (en) Method and apparatus for updating data in nonvolatile memory
US6851073B1 (en) Extensible system recovery architecture
JP5301764B2 (en) Portable application
KR100689742B1 (en) Memory dump boot method and mechanism, and computer-readable storage medium
US6892255B2 (en) Program install method, file renewal method, program and computer system
US7665084B2 (en) Uninstall system
US7512833B1 (en) Universal imaging utility program
JP2006286001A (en) Usage of usb memory device for recovery of operating system
EP1195679A1 (en) Performing operating system recovery from external back-up media in a headless computer entity
US20010039611A1 (en) Setting method for installing plug and play device
JP2001522088A (en) Computer Recovery System Using Removable Mass Media
KR100191269B1 (en) A computer system testing method using hard disk
JP3055473B2 (en) Driver installation method
JP2001109617A (en) Recording medium for setup and setup method
US7363632B2 (en) Clientless external storage device
US6189147B1 (en) Apparatus and method for an installation recovery system
US6470446B1 (en) Method for preparing computer hard disks during installation of a network operating system
US20040221024A1 (en) Apparatus and method for setting environment of client in client / server system, and program recording medium therefor
JP2000099338A (en) Computer readable information recording medium
JP5133230B2 (en) Information processing apparatus, information processing method, and program

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees