[go: up one dir, main page]

CN1165841C - Method for automatic loading printer drive programme - Google Patents

Method for automatic loading printer drive programme Download PDF

Info

Publication number
CN1165841C
CN1165841C CNB021312206A CN02131220A CN1165841C CN 1165841 C CN1165841 C CN 1165841C CN B021312206 A CNB021312206 A CN B021312206A CN 02131220 A CN02131220 A CN 02131220A CN 1165841 C CN1165841 C CN 1165841C
Authority
CN
China
Prior art keywords
network
protocol stack
printer
print driver
stack device
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
CNB021312206A
Other languages
Chinese (zh)
Other versions
CN1472642A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB021312206A priority Critical patent/CN1165841C/en
Publication of CN1472642A publication Critical patent/CN1472642A/en
Application granted granted Critical
Publication of CN1165841C publication Critical patent/CN1165841C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The present invention relates to a method for automatically loading a printer driver, which comprises the following steps: A. using a first network protocol stack device which is arranged on a first device terminal which needs to be printed, receiving the print demand of a first device and searching a printer in a network; B. using a second network protocol stack device which is arranged on a second device terminal in the network, receiving the information of searching the printer from the network, and returning a found search response containing the necessary attribute information of the printer to the first network protocol stack device; C. searching the print driver in the network and a local computer according to the attribute information of the printer by the first network protocol stack device, and installing the printer driver after downloading the printer driver so as to avoid the trouble of searching and installing the printer by handwork.

Description

A kind of method of automatic loading printer drive programme
Technical field
The present invention relates to the printer technology field, be meant especially a kind of on network the method for the driver of automatic loading printer.
Background technology
The network printer is meant the printer that shares use on the network, comprise the printer that directly links to each other with LAN (Local Area Network) by the Ethernet card on the printer, also comprise by parallel interface or USB interface (USB (universal serial bus)) with after computing machine is connected, again the printer that links to each other with LAN (Local Area Network) of the Ethernet card by computing machine etc.The network printer provides the network printing function for people, can allow many equipment shared or several printers that the printing demand is arranged in a network, and is therefore cost-saved, improves the utilization factor of printer.
The shortcoming of the network printer is in the prior art, in order to use the network printer, and the corresponding print driver of must be at first one by one the network printer being installed and being provided for every in the network equipment that the printing demand arranged, otherwise can not carry out printing.If the printer in the network is changed, and new printer is different with old printer model, in the network all have the equipment of printing demand all to need again the new corresponding print driver that printer provided of manual installation so, otherwise can not carry out printing equally.If a computing machine leaves original network, join in the new network, and in this network in the model of printer and the former network model of printer inequality, still need again the manual driver that the network printer is installed.
This problem for often being displaced into a plurality of internetwork computing machines more very, such as the notebook computer that often carries out mobile office, every new network all can run into the printer of different model, all needs again the manual installation of carrying out the network printer can use printing function.Suchlike thing has delayed many times of people, and for work brings inconvenience, and this problem is particularly outstanding when not having the suitable network printed driver at hand.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of method of automatic loading printer drive programme, it can avoid the manual driver that various printers are installed, and exempts from configuration, intelligentized print driver loading path for there being the printing demand but not have the equipment of corresponding printer driver to provide in the network.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of method of automatic loading printer drive programme comprises following steps: A, one first network protocol stack device of employing, be arranged on one first equipment end that needs printing, and receive the printing demand of this first equipment, and in network, search printer; B, one second network protocol stack device of employing, be arranged on one second equipment end on the network, receive the message of searching printer in the network, return a response of finding of searching and give the first network protocol stack device, this response comprises the necessary attribute information of printer; C, the first network protocol stack device are searched print driver according to the attribute information of this printer in this machine and network, install after the download.
Preferably, described the searching in this machine and network of step C further comprises following steps: the first network protocol stack device searches whether this print driver is arranged in the local resource, if any then installing, otherwise searches this print driver in network; Adopt one the 3rd network protocol stack device, be arranged on one the 3rd equipment end that has this print driver on the network, search the message of print driver in the response to network and download is provided.
Preferably, described the searching in this machine and network of described step C further comprises following steps: the first network protocol stack device searches whether this print driver is arranged in the local resource, if any then installing, otherwise in network, search this print driver; Search the message of print driver and download is provided in the second network protocol stack device response to network.
Preferably, described second equipment end is provided with an axial cable leading-in device, is used to deposit printer index and print driver index, and first equipment that needs to print is communicated by letter with this axial cable leading-in device with mode of unicast; And described the searching further in this machine and network of step C comprises: the first network protocol stack device searches whether this print driver is arranged in the local resource, if any then installing, otherwise searches this print driver to this axial cable leading-in device; Search the message of print driver in the axial cable leading-in device response to network and download path is provided; The first network protocol stack device is downloaded this print driver according to the download path request that the axial cable leading-in device provides; Adopt one the 3rd network protocol stack device, be arranged on one the 3rd equipment end that has this print driver on the network, download the message of print driver in the response to network and download is provided.
Preferably, this method further comprises: the described network protocol stack device that provides print driver to download judges whether to allow the first network protocol stack device to download according to licensing scheme, if, provide print driver to download then for the first network protocol stack device, otherwise, give first network protocol stack device response error code, and refusal is downloaded.
The present invention has avoided must be by the manual shortcoming that the driver of various printers is installed in the prior art, exempt from configuration, intelligentized print driver loading path for there being the printing demand but not have the equipment of corresponding printer driver to provide in the network, especially be fit to the situation of mobile office.And implement simple and fast, produced the beyond thought technique effect of those of ordinary skills.
Description of drawings
Fig. 1 shows first preferred embodiment of the present invention;
Fig. 2 shows second preferred embodiment of the present invention;
Fig. 3 shows the 3rd preferred embodiment of the present invention;
Fig. 4 shows a process flow diagram of the first network protocol stack device;
Fig. 5 shows response and searches a process flow diagram of printer message;
Fig. 6 shows response and searches a process flow diagram of printed driver message;
Fig. 7 shows a process flow diagram of response print driver download request.
Embodiment
For make purpose of the present invention, technical scheme, and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.
Fig. 1 shows first preferred embodiment of the present invention.As shown in Figure 1, print driver has the Automatic Program discovery print driver and the process of downloading of printing demand as follows at the network printing machine local:
There is the program that the printing demand is arranged in step 1 on the equipment 101, send out message Network Search printer 102 in the mode of broadcast or multicast in network.
Step 2, there is a network printer 102 on the network, after receiving the information of searching, with mode of unicast return one find search response, the necessary attribute that comprises printer in this response message, as printer model, IP address, print.er port etc., and some attributes of supporting of print driver, as the printing language (as PostScript, PCL etc.) of colour/black and white, single face/two-sided, breadth, support etc.
Step 3, equipment 101 this locality are the driver of this printer not, and it is sent out in the mode of broadcast or multicast in network and searches message, searches this print driver.
Step 4, a response of finding after receiving this and searching message, is returned with mode of unicast in printer 102 this locality of depositing print driver in the network.
Step 5 after the program on the equipment 101 is received response, is sent unitcast request to printer 102 this locality of depositing this network printing driver, and hope can be downloaded this driver.
Step 6, after download request was received in the printer this locality of depositing the network printing driver, whether decision can download this driver to equipment 101 according to licensing scheme.As can then downloading, otherwise refusal is downloaded concurrent corresponding error response code and is given program on the equipment 101.
Step 7, equipment is installed and according to the printer attribute information that obtains in the step 2 driver is configured automatically after downloading print driver.
Fig. 2 shows second preferred embodiment of the present invention.As shown in Figure 2, on the equipment 102 of print driver in network, have the Automatic Program discovery print driver and the process of downloading of printing demand as follows:
There is the program that the printing demand is arranged in step 1 on the equipment 101, send out message Network Search printer 102 in the mode of broadcast or multicast in network.
Step 2, there is a network printer 102 on the network, after receiving the information of searching, with mode of unicast return one find search response, the necessary attribute that comprises printer in this response message, as printer model, IP address, print.er port etc., and some attributes of supporting of print driver, as the printing language (as PostScript, PCL etc.) of colour/black and white, single face/two-sided, breadth, support etc.
Step 3, equipment 101 this locality are the driver of this printer not, and it is sent out in the mode of broadcast or multicast in network and searches message, searches this print driver.
Step 4 is deposited the equipment 103 of print driver in the network, after receiving this and searching message, return a response of finding with mode of unicast.
Step 5 after the program on the equipment 101 is received response, is sent unitcast request to the equipment 103 of depositing this network printing driver, and hope can be downloaded this driver.
Step 6, after the equipment 103 of depositing the network printing driver was received download request, whether decision can download this driver to equipment 101 according to licensing scheme.As can then downloading, otherwise refusal is downloaded concurrent corresponding error response code and is given program on the equipment 101.
Step 7, equipment is installed and according to the printer attribute information that obtains in the step 2 driver is configured automatically after downloading print driver.
Fig. 3 shows the 3rd preferred embodiment of the present invention.As shown in Figure 3, on print driver certain server 105 in network, and exist in the network can the index resources in network axial cable leading-in device 104, have the Automatic Program of printing demand to find that print driver and process of downloading are as follows:
There is the program that the printing demand is arranged in step 1 on the equipment 101, send out message Network Search printer to network center's indexing unit 104 with mode of unicast.
Step 2, there is a network printer in the resource that axial cable leading-in device 104 is deposited, therefore after receiving the Network Search Printer Information, return a response of finding of searching with mode of unicast and give equipment 101, this response message comprises the necessary attribute of printer, as printer model, IP address, print.er port etc., and some attributes of supporting of print driver, as the printing language (as PostScript, PCL etc.) of colour/black and white, single face/two-sided, breadth, support etc.
Step 3, equipment 101 this locality are the driver of this printer not, and it searches message with mode of unicast to 104 of network center's indexing units, searches this print driver.
Therefore step 4, axial cable leading-in device 104 are found this print driver in the Internet resources, after receiving this and searching message, return a response of finding with mode of unicast, comprises the actual position of this print driver in the response simultaneously.
Step 5, after the program on the equipment 101 was received response, this print driver on the server 105 at this print driver place sent unitcast request, and hope can be downloaded.
Step 6, after network printing driver on the server 105 is received download request, whether this print driver can be downloaded to equipment 101 according to licensing scheme decision, as can then downloading, otherwise refusal is downloaded concurrent corresponding error response code and is given program on the equipment 101.
Step 7, equipment are installed after downloading print driver and according to the printer attribute information that obtains in the 2nd step driver are configured automatically.
Fig. 4 shows a process flow diagram of the first network protocol stack device as an example, the process flow diagram of printer message is searched in other network protocol stack devices (for example second network protocol stack device or the 3rd network protocol stack device) response that Fig. 5 to Fig. 7 shows respectively as an example, the process flow diagram of printed driver message is searched in response, and the process flow diagram of response print driver download request.But its application corresponding is in above preferred embodiment.
Fig. 4 shows a process flow diagram of the first network protocol stack device.The network protocol stack device generally is a program, operate in equipment that network is connected on.One first network protocol stack device operates on the equipment 101 of printing demand (promptly operate in need print one first equipment end).As shown in Figure 4:
Step 401, broadcasting (exists in network under the situation of axial cable leading-in device, for example the axial cable leading-in device 104 in the 3rd preferred embodiment can adopt mode of unicast, and is as follows) search the required network printer (conditional parameter that has required printer in the broadcast);
Step 402, judge to have or not and search response, if there is not execution in step 403, withdraw from, otherwise execution in step 404 judges that this machine has or not the driver of this printer, if execution in step 405 is arranged, withdraw from, otherwise execution in step 406, required network printer driver (conditional parameter that has required printed driver in the broadcast) is searched in broadcasting;
Step 407 is judged to have or not and is searched response, if there is not execution in step 408, withdraw from, otherwise execution in step 409 sends download request to destination device.
Fig. 5 shows response and searches a process flow diagram of printer message.Search in response on second equipment of printer message (for example can be the network printer or centre retrieves device), one second network protocol stack device is set, the flow process that printer message is searched in its response is as follows:
Step 501, message is searched in the broadcasting that judges whether to receive the network printer that the equipment of printing demand sends, if do not receive then repeated execution of steps 501; Otherwise execution in step 502 judges whether the present networks printer meets search criterion, if ineligible then re-execute step 501, otherwise execution in step 503 returns to clean culture of the equipment of searching and searches response, and response contents comprises the necessary attribute of printer, return step 501, re-execute.
Fig. 6 shows response and searches a process flow diagram of printed driver message.The network protocol stack device of carrying out this flow process may be arranged on (as first preferred embodiment) on the printer, also may be arranged on (as second preferred embodiment) on other equipment on the network, can also be arranged on the axial cable leading-in device on the network.As shown in Figure 6:
Step 601 judges whether that the broadcasting that receives printed driver searches message, if do not receive then repeated execution of steps 601; Otherwise execution in step 602, judge whether this printed driver meets search criterion, if it is ineligible then re-execute step 601, otherwise execution in step 603, return to clean culture of the equipment of searching and search response, response contents comprises the IP address of print driver attribute and this equipment, returns step 601, re-executes.
Fig. 7 shows a process flow diagram of response print driver download request.As shown in Figure 7:
Step 701 judges whether to receive the unitcast request message that print driver is downloaded; If do not receive then repeated execution of steps 701; Otherwise execution in step 702, judge whether this printed driver can be downloaded to the equipment of initiating request, if can not download to the equipment of initiating request, execution in step 703 is returned errored response, re-executes step 701, otherwise execution in step 704, download driver, return step 701, re-execute.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1, a kind of method of automatic loading printer drive programme is characterized in that comprising following steps:
A, one first network protocol stack device of employing are arranged on one first equipment end that needs printing, receive the printing demand of this first equipment, and search printer in network;
B, one second network protocol stack device of employing, be arranged on one second equipment end on the network, receive the message of searching printer in the network, return a response of finding of searching and give the first network protocol stack device, this response comprises the necessary attribute information of printer;
C, the first network protocol stack device are searched print driver according to the attribute information of this printer in this machine and network, install after the download.
2, the method for automatic loading printer drive programme according to claim 1 is characterized in that described the searching of step C further comprises following steps in this machine and network:
The first network protocol stack device searches whether this print driver is arranged in the local resource, if any then installing, otherwise searches this print driver in network;
Adopt one the 3rd network protocol stack device, be arranged on one the 3rd equipment end that has this print driver on the network, search the message of print driver in the response to network and download is provided.
3, the method for automatic loading printer drive programme according to claim 1 is characterized in that described the searching of step C further comprises following steps in this machine and network:
The first network protocol stack device searches whether this print driver is arranged in the local resource, if any then installing, otherwise searches this print driver in network;
Search the message of print driver and download is provided in the second network protocol stack device response to network.
4, the method for automatic loading printer drive programme according to claim 1, it is characterized in that, described second equipment end is provided with an axial cable leading-in device, be used to deposit printer index and print driver index, first equipment that needs to print is communicated by letter with this axial cable leading-in device with mode of unicast; And described the searching further in this machine and network of step C comprises:
The first network protocol stack device searches whether this print driver is arranged in the local resource, if any then installing, otherwise searches this print driver to this axial cable leading-in device;
Search the message of print driver in the axial cable leading-in device response to network and download path is provided;
The first network protocol stack device is downloaded this print driver according to the download path request that the axial cable leading-in device provides;
Adopt one the 3rd network protocol stack device, be arranged on one the 3rd equipment end that has this print driver on the network, download the message of print driver in the response to network and download is provided.
5, according to the method for claim 2,3 or 4 described automatic loading printer drive programmes, it is characterized in that, this method further comprises: the described network protocol stack device that provides print driver to download judges whether to allow the first network protocol stack device to download according to licensing scheme, if, provide print driver to download then for the first network protocol stack device, otherwise, give first network protocol stack device response error code, and refusal is downloaded.
CNB021312206A 2002-09-13 2002-09-13 Method for automatic loading printer drive programme Expired - Fee Related CN1165841C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021312206A CN1165841C (en) 2002-09-13 2002-09-13 Method for automatic loading printer drive programme

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021312206A CN1165841C (en) 2002-09-13 2002-09-13 Method for automatic loading printer drive programme

Publications (2)

Publication Number Publication Date
CN1472642A CN1472642A (en) 2004-02-04
CN1165841C true CN1165841C (en) 2004-09-08

Family

ID=34144842

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021312206A Expired - Fee Related CN1165841C (en) 2002-09-13 2002-09-13 Method for automatic loading printer drive programme

Country Status (1)

Country Link
CN (1) CN1165841C (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006134245A (en) * 2004-11-09 2006-05-25 Kyocera Mita Corp Automatic installation system and program of printer driver
US7903267B2 (en) 2005-11-02 2011-03-08 Kyocera Mita Corporation Automatic installation system for printer driver, and program recording medium
JP5419637B2 (en) * 2009-11-04 2014-02-19 キヤノン株式会社 Management device, method and program
JP5744942B2 (en) * 2013-03-13 2015-07-08 東芝テック株式会社 Printer device
CN105812613B (en) * 2014-12-31 2019-01-08 航天信息股份有限公司 The communication means of terminal and the terminal and printing device
JP2016139386A (en) * 2015-01-29 2016-08-04 富士ゼロックス株式会社 Device management system, relay device, and program
JP6624987B2 (en) * 2016-03-23 2019-12-25 キヤノン株式会社 Information processing apparatus, program, and control method
CN109408004B (en) * 2018-09-30 2022-03-15 福建星谷信息科技有限公司 USB multi-channel synchronous downloading tool applied to printer and working method thereof
CN110851149B (en) * 2019-10-11 2024-04-23 杭州珐珞斯科技有限公司 Method, system and computer device for installing cloud printing driver
CN116048551A (en) * 2022-12-22 2023-05-02 中科方德软件有限公司 Printer driver installation method, device and readable storage medium

Also Published As

Publication number Publication date
CN1472642A (en) 2004-02-04

Similar Documents

Publication Publication Date Title
US8305606B2 (en) Job management system, apparatus, and method for distributing print job information list in RSS format
CN1095562C (en) Local-printing providing on customer computer
CN1213360C (en) Method, system, program and data structure for reconfiguring output devices in a network
CN1165841C (en) Method for automatic loading printer drive programme
CN1620010A (en) VLAN server
CN101068171A (en) Speed-measuring resource dynamic distributing method and system for network speed-measuring system
CN1584865A (en) Comptuer software updating method
CN1206154A (en) Method of administering work group printers
CN1416090A (en) Method for pushing customized web page to network users
CN1852502A (en) Method for realizing load uniform in clustering system, system and storage controller
CN101064659A (en) Data transmission system and method
CN1157898C (en) method for internet communication
CN1578487A (en) Method for mobile terminal switching in packet network
CN1852411A (en) An electronic program guide server deployment system and its establishment and operation method
CN1142296A (en) data storage device
US20060077421A1 (en) System and method for driverless printers
CN1889572A (en) Internet protocol address distributing method and dynamic main machine configuration protocol relay
CN1719808A (en) Power saving in wireless packet based networks
CN1160640C (en) Network printer and driving method
CN1922834A (en) Internet connection terminal apparatus and internet connection status determining method
CN1791044A (en) System to manage wireless connection state between network printer and access point using wireless connection map and a method thereof
CN1606305A (en) Method and apparatus for managing ip addresses and name mappings for wireless clients
CN1815972A (en) Method for obtaining configuration data of business plate in distribution type management system
CN1798147A (en) Method for matching uniform resource locator
CN1704931A (en) Method and apparatus for providing information inquiry by the network administration system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20040908

Termination date: 20200913

CF01 Termination of patent right due to non-payment of annual fee