CN1160640C - Network printer and driving method - Google Patents

Network printer and driving method Download PDF

Info

Publication number
CN1160640C
CN1160640C CNB021306613A CN02130661A CN1160640C CN 1160640 C CN1160640 C CN 1160640C CN B021306613 A CNB021306613 A CN B021306613A CN 02130661 A CN02130661 A CN 02130661A CN 1160640 C CN1160640 C CN 1160640C
Authority
CN
China
Prior art keywords
print
network
printer
printing
network printer
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
CNB021306613A
Other languages
Chinese (zh)
Other versions
CN1466066A (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 CNB021306613A priority Critical patent/CN1160640C/en
Publication of CN1466066A publication Critical patent/CN1466066A/en
Application granted granted Critical
Publication of CN1160640C publication Critical patent/CN1160640C/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 provides a network printer and a driving method thereof, and the network printer comprising a printing device and a printing driving interface is arranged in an IP address position of a network. The method comprises the following steps: under the condition that an application program with a printing requirement sends a printing request to a printing driver, the printing driver sends a broadcast message for searching for the network printer to the network so as to request the network printer in the network to response, and the printing driving interface sends the necessary attribute information of the network printer back to the printing driver of an IP address for sending the request; the printing driver is configured according to the necessary attribute information responded by the printing driving interface, and the printing request of the application program is converted into a printer language supported by the printing driving interface; the printer language is transmitted to the printing driving interface through the network so as to realize a printing operation. By applying the present invention, a user in the network does not need to ask an administrator for the driver and the IP address of the printer so as to conveniently use the network printer.

Description

A kind of driving method of the network printer
Technical field
The present invention relates to the printer technology field, be meant a kind of driving method of the network printer especially.
Background technology
Traditional network printer provides basic network printing function for people, in order to use the network printer, must at first be every equipment installation corresponding print driver that the network printer provided that the printing demand is arranged in the network, and after carrying out a series of loaded down with trivial details configuration efforts such as IP address, port numbers of the network printer, can move.
In the network of operation, in case the IP address of the network printer is changed, then all have the equipment of printing demand all to need again the IP address and the port numbers of the manual configuration network printer in the network; If the printer in the network is changed, and new printer is different with old printer model, all have the equipment of printing demand all need reinstall the new corresponding print driver that printer provided in the network so, and configuration effort such as duplicate ip address, port numbers; 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 the is installed line correlation configuration effort of going forward side by side.
This trouble 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 need to carry out again installation, the configuration of the network printer just can use printing function, even on a network that had carried out installation, configuration network printer, also need to revise the setting of default printer.Suchlike thing can not be brought any increment for people's work, on the contrary, has delayed many times, for work brings inconvenience, does not have the suitable network printed driver when at hand, and is particularly like this when perhaps not knowing network printer IP address.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of driving method of the network printer, no matter the network printer is to be connected on the net by the webserver, still the computer user shares by network and gives other online users, or directly link on the network by the network interface of Ethernet or token-ring network, for the equipment that the printing demand is arranged print driver only need be installed one time, need not to be configured work, this print driver will search the network printer automatically in network, and dispose accordingly automatically, and then finish printing.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of driving method of the network printer, wherein, a network printer that comprises printing equipment and print drive interface is arranged on the place, an IP address of network, a print driver is arranged on the equipment of printing demand, the method includes the steps of: send under the situation of print request to print driver in the application program that the printing demand is arranged, print driver sends the broadcast of search network printer in network, the network printer in the request network responds; Print drive interface in the network printer is to the necessary attribute information of this network printer of print driver loopback of the IP address that sends request; Print driver is configured according to the necessary attribute information of print drive interface response, and the print request of application program is converted to the printer language that the print drive interface is supported, sends to the print drive interface by network.
Preferably, this method further comprises following steps: the print drive interface arranges printing equipment to print operation according to the printer language that receives.
Preferably, this method further comprises following steps: printing equipment sends print state message to the print drive interface.
Preferably, this method further comprises following steps: the print drive interface sends print state message to the print driver of the IP address of calling its printing function.
Wherein, the necessary attribute information of the described network printer can comprise following information partly or entirely: the printer language of the residing IP of this network printer address, print.er port number, printing technique (stylus printer, ink-jet, laser etc.), print speed, resolution, support breadth, support.
The present invention is by the communication of print driver and print drive interface, the necessary attribute information of printer is passed to print driver, make print driver can obtain information such as printer model, IP address, printing technique exactly, thereby can successfully use standard printer language such as PostScript, PCL, will need printed contents and form to send to the network printer.Application of the present invention, in the time of can making the network printer change the IP address, when perhaps adopting the network printer of different model different manufacturers, print driver is found automatically and is configured.Help the standardization of print driver and printer driver interface.
Use the present invention, only need to install a print driver, get final product automatic search network printer, and print.This type of drive not only can make the difference of printer of the different model of different manufacturers production be hidden, no matter be the IP address of changing the network printer, still change the network printer, or for the computing machine that carries out mobile office, user's experience is the printing function that directly uses network, and need not carry out any installation and configuration effort, use simple, convenient, fast.
Description of drawings
Fig. 1 is for using print procedure synoptic diagram of the present invention;
Fig. 2 is a print driver process flow diagram of the present invention;
Fig. 3 is the driver process flow diagram of printer of the present invention.
Embodiment
For making 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 further details.
At first on the equipment with printing demand print driver is installed, its print procedure as shown in Figure 1.
Step 1 has the application program (for example application program such as WORD, EXCEL) of printing demand to send print request to print driver.
Step 2, print driver is sent out the broadcast of search network printer to network, and the request network printer responds, and promptly the print driver message that will ask the network printer to respond mails to all devices of network.
Step 3, after print drive interface in the network printer receives the request that print driver sent in the network, to the IP address loopback its own IP address at the equipment place that sends request and corresponding print.er port number, and the printer language technical specifications such as (PostScript, PCL etc.) of printing technique (stylus printer, ink-jet, laser etc.), print speed, resolution, support breadth, Color Range (black and white/colour) and support.
Step 4, after print driver obtains the message of network printer response, from response message, obtain the IP address at this network printer place and print.er port number, and various technical specifications, and dispose accordingly, provide print attribution (as paper type, printing effect, printing umber, Print direction etc.) information to select simultaneously in order to user inquiring, and the print request of application program is converted to the printer language (as PostScript, PCL etc.) that the print drive interface is supported, send on the network printer by network.
Step 5, the network printer carries out decode operation according to the printer language that receives from the print drive interface, again these data delivery is arrived printer core, prints operation by printer core.
Step 6, the printer core in the network printer send print state message (printing finish message or print failed message) to the print drive interface after finishing print out task.
Step 7, the network printer sends print state message by the print drive interface to the IP address of the equipment that calls its printing function.
So far, finish print job one time.
Fig. 2 is for using print driver process flow diagram of the present invention, and this program run is on the equipment that the printing demand is arranged.
Step 201 receives the print request of application program.
Step 202, the broadcast of a search network printer.
Step 203 judges whether to receive the response message of the network printer, if execution in step 204; Otherwise repeated execution of steps 203.
Step 204 prints the configuration effort of machine according to the response message of the network printer.
Step 205 is converted to print request the printer language (as PostScript, PCL etc.) of standard.
Step 206 sends to the network printer with the printer language of standard by network.
Step 207 receives print state message.
Fig. 3 is the driver process flow diagram of printer of the present invention, and this program run is on the print drive interface of printer.
Step 301 is received the broadcast of search network printer.
Step 302, the response searching request sends to searching request side with the technical specification of this machine.
Step 303 judges whether the printer language of the standard of receiving, if execution in step 304, otherwise repeated execution of steps 303.
Step 304 will be transported to printer core behind the standard printer language decoder.
Step 305 judges whether to receive print state message, if execution in step 306, otherwise repeated execution of steps 305.
Step 306 sends the seal status message to the printing function called side.
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 made, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1, a kind of driving method of the network printer, wherein, a network printer that comprises printing equipment and print drive interface is arranged on the place, an IP address of network, and a print driver is arranged on the equipment of printing demand, it is characterized in that the method includes the steps of:
Send to print driver under the situation of print request in the application program that the printing demand is arranged, print driver sends the broadcast of search network printer in network, and the network printer in the request network responds;
Print drive interface in the network printer is to the necessary attribute information of this network printer of print driver loopback of the IP address that sends request;
Print driver is configured according to the necessary attribute information of print drive interface response, and the print request of application program is converted to the printer language that the print drive interface is supported, sends to the print drive interface by network.
2, the driving method of the network printer according to claim 1 is characterized in that further comprising following steps: the print drive interface arranges printing equipment to print operation according to the printer language that receives.
3, the driving method of the network printer according to claim 2 is characterized in that further comprising following steps: printing equipment sends print state message to the print drive interface.
4, the driving method of the network printer according to claim 3 is characterized in that further comprising following steps: the print drive interface sends print state message to the print driver of the IP address of calling its printing function.
5, the driving method of the network printer according to claim 1 is characterized in that: the necessary attribute information of the described network printer comprise following information partly or entirely: the printer language of the residing IP of this network printer address, print.er port number, printing technique, print speed, resolution, support breadth, support.
CNB021306613A 2002-09-16 2002-09-16 Network printer and driving method Expired - Fee Related CN1160640C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021306613A CN1160640C (en) 2002-09-16 2002-09-16 Network printer and driving method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021306613A CN1160640C (en) 2002-09-16 2002-09-16 Network printer and driving method

Publications (2)

Publication Number Publication Date
CN1466066A CN1466066A (en) 2004-01-07
CN1160640C true CN1160640C (en) 2004-08-04

Family

ID=34144555

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021306613A Expired - Fee Related CN1160640C (en) 2002-09-16 2002-09-16 Network printer and driving method

Country Status (1)

Country Link
CN (1) CN1160640C (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4273053B2 (en) * 2004-07-27 2009-06-03 キヤノン株式会社 Information processing apparatus and method, and program
CN101815058B (en) * 2009-02-23 2013-02-20 阿尔卡特朗讯 Method and device for creating print dialog based on SIP (Session Initiation Protocol) protocol in IP network
CN102075392A (en) * 2009-11-20 2011-05-25 虹光精密工业(苏州)有限公司 Electronic device convenient for user to obtain device information
JP5402782B2 (en) * 2010-03-31 2014-01-29 ブラザー工業株式会社 Printer search device, print mediation server, and computer program
CN102364429B (en) * 2011-05-31 2015-04-08 北京瑞工科技发展有限公司 Wireless printing system capable of guaranteeing reliable transmission of data
JP2013020380A (en) * 2011-07-08 2013-01-31 Canon Inc Information processing system, image forming apparatus, management device, management method and computer program
CN103853470B (en) * 2012-11-30 2018-01-09 腾讯科技(深圳)有限公司 Data processing and display methods and equipment
JP5744942B2 (en) * 2013-03-13 2015-07-08 東芝テック株式会社 Printer device
CN112148240A (en) * 2020-09-29 2020-12-29 上海汉图科技有限公司 File printing method and device

Also Published As

Publication number Publication date
CN1466066A (en) 2004-01-07

Similar Documents

Publication Publication Date Title
US7636771B2 (en) Network management server, control method, computer program, computer readable storage medium, and network system
US8305602B2 (en) Systems and methods for remotely managing and configuring driver settings
US6301012B1 (en) Automatic configuration of a network printer
CN1160640C (en) Network printer and driving method
US7619763B2 (en) Method and system for dynamically configuring printing device settings
CA2247908A1 (en) Open systems printing
CN1126024C (en) Communication scheme for imaging systems including printers with intelligent options
CN1825274B (en) Image formation system, image formation device, server device and program
CN1133923C (en) LCD panel controlled by two processing components
EP1538523A3 (en) Proxy printing system, information processing apparatus, and controlling method
US20020063877A1 (en) Print driver system having a user interface and a method for processing raster data
CN1873606A (en) Printing system and printing control method
US8384922B2 (en) Printing condition setting apparatus, printing condition setting method, and computer readable recording medium stored with printing condition setting program
CN1261698A (en) Figure interface and system for copying set-up to multiple network equipment
JPH08505969A (en) Virtual printer
CN1898637A (en) Method for obtaining status, printer driver and information processing device
CN1649385A (en) Method and apparatus to generate image forming data
JP2003288199A (en) Method and system to improve working status of printer in network computer system
CN110244920B (en) CAD file batch printing equipment with intelligent cutting function and method
EP1447966A3 (en) Printing method and apparatus using a printer identifier
CN1165841C (en) Method for automatic loading printer drive programme
GB2374707A (en) Selecting a network printer that is a minimum distance from the network user
CN1567284A (en) Method for controlling using of printer under network environment
JP4045800B2 (en) Printing system and method
US8441671B2 (en) Dynamic module configuration in a controller area network (CAN) with fixed sub-module board identification and plug-N-play support

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20040804

Termination date: 20200916