One click printing in a web browser
A method and apparatus for implementing one click printing in an application such as a web browser. The present invention exploits the “pull print” method without requiring copying of the URL. An application is enhanced so that when the user clicks on the link for the pre-formatted document, the application contacts the user's printer, print server, or other device that accepts print jobs, and submits a “pull print” request referring to the URL. Alternatively, the user accesses the context menu for a link which points to a printable document, the menu presented includes a choice to directly print the document, and then the “pull print” is done.
Latest IBM Patents:
- INTERACTIVE DATASET EXPLORATION AND PREPROCESSING
- NETWORK SECURITY ASSESSMENT BASED UPON IDENTIFICATION OF AN ADVERSARY
- NON-LINEAR APPROXIMATION ROBUST TO INPUT RANGE OF HOMOMORPHIC ENCRYPTION ANALYTICS
- Back-side memory element with local memory select transistor
- Injection molded solder head with improved sealing performance
1. Field of the Invention
This invention relates in general to communications in a printing system, and more particularly to a method and apparatus for implementing one click printing in a web browser.
2. Description of Related Art
The Internet is a fusion of many different networks, public and private, big and small, that have agreed to connect to one another. An intranet is a network which is restricted and while it may follow the Internet protocol, none or only part of the network available from outside a “firewall” surrounding the intranet is part of the agreed connection to the Internet. The composite network represented by these networks relies on no single transmission medium. Rather, bi-directional communication can occur via satellite links, fiber-optic trunk lines, phone lines, cable TV wires and local radio links. When a client computer logs onto the Internet at a university, a corporate office or from home, everything looks local, but the access to the network does cost time and line charges.
A particularly important part of the Internet is the World Wide Web. The World Wide Web is comprised of a number of computers scattered throughout the Internet that provide information in the form of graphical documents called Web pages. The growth of the Internet, and particularly the World Wide Web, have accelerated the development of new standards and programming languages for creating content for the World Wide Web such as the Hyper Text Markup Language (HTML), the Virtual Reality Modeling Language (VRML), the Java™” programming language, and scripting languages developed for use in HTML documents.
From a user's point of view, access to the Internet and its services typically are accomplished by invoking a network application program such as a network browser. The network application program acts as an interface between the user and the Internet. Network application programs are typically “client” applications that accept commands from the user and obtain Internet data and services by sending requests to “server” applications on other computers at other locations on the Internet.
While there are a number of different types of network application programs, perhaps the most important application for retrieving and viewing information from the Internet is the network browser. The network browser is commonly referred to today as a web browser because of its ability to retrieve and display Web pages from the World Wide Web. Some examples of commercially available browsers include the Internet Netscape® Navigator by Netscape Communications of Mountain View, Calif., and Mosaic developed at NCSA, University of Illinois.
To retrieve information from computers on the Internet, web browsers send network requests via the File Transfer Protocol (FTP), Simple Mail Transfer Protocol (SMTP), Hyper Text Transfer Protocol (HTTP), Gopher document protocol and others. A web browser and server applications use these network requests to exchange data across the Internet, or some other computer network. HTTP is a protocol used to access data on the World Wide Web. In particular, web browsers use HTTP to retrieve documents created in the HTML from Web servers on the Internet, in intranets, or from the user's own local file system on the hard drive. The location of resource such as an HTML document is defined by an address called a URL (“Uniform Resource Locater”). Web browsers use the URL to find and fetch resources from the Internet and the World Wide Web.
For example, if one is currently at a Web-site (i.e., in a particular Hypertext Markup Language (HTML) document), at which there is a highlighted or embedded “hypertext link” specifying the Internet address of another Web-site (i.e., another HTML document), then the user can access (i.e., “surf to”) this other Web-site by simply “clicking on” or selecting the highlighted URL with his or her pointing device (e.g., “mouse”) in a conventional manner. The ability to connect to other Web-sites by simply pointing and clicking on highlighted URLs embedded in an HTML document has contributed enormously to the growth and popularity of the Internet in the last few years.
If the user desires to connect to a Web-site that is not referenced in a HTML document viewed through a browser program, then the user oftentimes finds it necessary to manually enter the URL of the Web-site (e.g., “http://www.metrologic.com”) into the browser program. This requires manually pressing a sequence of keys on a keyboard or remote control device, corresponding to the characters of the URL being selected. In addition to being time consuming, this Web-site surfing technique is prone to errors, causing the browser program to connect to the wrong Web-site or return an error message. From a practical point of view, this is quite frustrating to the Internet user.
A hypertext link may also be associated with portions of images or control features such as buttons, menus, and the like. Hypertext links allow a user to navigate from the source document to the target document by activation of the link and thereby retrieve the target document in this fashion. For example, web browser users sometimes encounter links to pre-formatted documents they wish to print (such as PDF, PostScript, and PCL files). The conventional way to print them is either to:
-
- A) download and send them to a printer (postscript and PCL files)
- B) download them, open them in a viewer, and select “print”, which formats the document through a print driver(PDF files)
- C) copy the URL, use the browser to go to a printer web page which provides an interface to “pull” printing, and enter the URL, telling the printer to access the document directly from the server and print it
However, each of the above printing methods have disadvantages. For example, the first two method require the user to download the document thereby preventing the user from continuing to surf the web. This ties up the user's system while the document is being downloaded. The third method is rather new and requires the printer to have a built-in web server, and many web pages. One of those pages is for requesting “pull” printing. The user fills in a box with the URL of a file and clicks “submit.” Then the printer fetches the document from the server and prints it. An advantage to this third method is that the document does not pass through the user's system during the process. Nevertheless, an easier method of printing documents that exploits the modern “pull print” method without requiring copying of the URL is not provided.
It can be seen that there is a need for a method and apparatus for implementing one click printing in a web browser.
SUMMARY OF THE INVENTIONTo overcome the limitations in the prior art described above, and to overcome other limitations that will become apparent upon reading and understanding the present specification, the present invention discloses a method and apparatus for implementing one click printing in a web browser.
The present invention solves the above-described problems exploiting the modern “pull print” method without requiring copying of the URL. A web browser is enhanced so that when the user clicks on the link for the pre-formatted document, the web browser contacts the user's printer, print server or other device which accepts print jobs, and submits a “pull print” request referring to the URL. Alternatively, the user accesses the context menu for a link which points to a printable document, the menu presented includes a choice to directly print the document, and then the “pull print” is done.
A method in accordance with the principles of the present invention includes providing a document identifier for a document to a print job acceptor using a single user action and acquiring and printing the document by the print job acceptor based upon the provided document identifier.
Other embodiments of a method in accordance with the principles of the invention may include alternative or optional additional aspects. One such aspect of the present invention is that the document identifier comprises a uniform resource locator.
Another aspect of the present invention is that the single user action comprises clicking on the uniform resource locator.
Another aspect of the present invention is that the providing comprises sending the uniform resource locator to the print job acceptor.
Another aspect of the present invention is that the single user action comprises displaying a context menu associated with the uniform resource locator and selecting to direct print the document identified by the uniform resource locator using a single operation of a cursor control device.
Another aspect of the present invention is that the providing comprises sending the uniform resource locator to the print job acceptor based upon the selection of the direct print of the document.
Another aspect of the present invention is that cursor control device comprises a computer mouse and the single operation comprises depressing a mouse button to cause the context menu to be displayed and releasing the mouse button with the cursor positioned over a direct print menu selection to cause the direct print of the document identified by the uniform resource locator to be selected.
Another aspect of the present invention is that the method further includes configuring an application for one click printing prior to providing a document identifier.
Another aspect of the present invention is that the configuring an application for one click printing comprises installing an application plug-in for interpreting the user actions.
Another aspect of the present invention is that the installing further comprises selecting a print job acceptor for providing one click printing.
Another aspect of the present invention is that the installing further comprises displaying a menu for selecting a print job acceptor for providing one click printing.
Another aspect of the present invention is that the installing further comprises sending a query to all print job acceptors to determine whether a print job acceptor supports direct printing.
Another aspect of the present invention is that the providing a document identifier for a document to a print job acceptor using a single user action further comprises selecting a document, determining whether the selected document can be handled by the print job acceptor and submitting the document identifier to the print job acceptor for acquiring and printing the document when the document can be handled by the print job acceptor.
Another aspect of the present invention is that the method further includes determining whether a plug-in for handling the data is installed and submitting the document identifier to the print job acceptor for acquiring and printing the document when the plug-in for handling the document is installed.
Another aspect of the present invention is that the method further includes displaying a menu for selecting viewing or printing the document when the plug-in for handling the document is installed.
In another embodiment of the present invention, a plug-in for providing one click printing is provided. The plug-in includes an analyzer for analyzing a position of a cursor to obtain a document identifier associated with a document to be printed, an interpreter for interpreting a user's actions to determine when the user has selected to print a document associated with the document identifier using a single user action and a pull print requester for sending the obtained document identifier to a print job acceptor when the interpreter has determined that the user has selected to print a document associated with the document identifier using a single user action.
In another embodiment of the present invention, an article of manufacture is provided. The article of manufacture includes a program storage medium readable by a computer embodying one or more programs of instructions executable by the computer to perform a method for providing one click printing, wherein the method includes providing a document identifier for a document to a print job acceptor using a single user action and acquiring and printing the document by the print job acceptor based upon the provided document identifier.
These and various other advantages and features of novelty which characterize the invention are pointed out with particularity in the claims annexed hereto and form a part hereof. However, for a better understanding of the invention, its advantages, and the objects obtained by its use, reference should be made to the drawings which form a further part hereof, and to accompanying descriptive matter, in which there are illustrated and described specific examples of an apparatus in accordance with the invention.
Referring now to the drawings in which like reference numbers represent corresponding parts throughout:
In the following description of the exemplary embodiment, reference is made to the accompanying drawings which form a part hereof, and in which is shown by way of illustration the specific embodiment in which the invention may be practiced. It is to be understood that other embodiments may be utilized as structural changes may be made without departing from the scope of the present invention.
The present invention provides a method and apparatus for implementing one click printing in an application such as a web browser. The present invention exploits the “pull print” method without requiring copying of the URL. An application is enhanced so that when the user clicks on the link for the pre-formatted document, the application contacts the user's printer, print server or other device that accepts print jobs, and submits a “pull print” request referring to the URL. Alternatively, the user accesses the context menu for a link which points to a printable document, the menu presented includes a choice to directly print the document, and then the “pull print” is done.
The N workstations may include a direct connection 130 to the Internet 140 for accessing at least one content source 150. Alternatively, the N workstations 110–116 may individually connect 132 to the Internet 140. In addition, the network print job acceptor 122 includes a connection 134 to the Internet 140.
One of the N workstations 110–116 may access the content source 150 via connection 130 or 132. If a user 110–116 wants to print a document from the content source 150, the user 110–116 can print the document by selecting a print command from the file menu or by clicking on a print selection, which is generally displayed at the top of the application. The document is then downloaded, and can subsequently be printed. However, this ties-up the user 110–116 because the at least the user's browser is locked while the document is being downloaded.
A third alternative is for the user 110–116 to copy a URL in the address block to command the application to go to a web page of the print job acceptor 122 which provides and interface to “pull” printing, and enter the URL of the document to be printed therein to tell the print job acceptor 122 to access the document directly via connection 134 and print it. This requires that the print job acceptor 122 have access to the Internet via connection 134. Nevertheless, this method requires the print job acceptor 122 to have a built-in web server and at least one web page, which is for requesting “pull” printing. The print job acceptor 122 fetches the document and prints it.
An advantage to this third method is that the document does not pass through the user's system 110–116 during the process. Nevertheless, the user 110–116 must perform the steps correctly to ensure that the print job acceptor 122 accesses the correct page. Most users 110–116 don't know how to transfer the URL to the pull print web page of the print job acceptor 122 automatically. If the URL is spelled out in the web page the user 110–116 is viewing, the user 110–116 must memorize the URL or write it down, and manually enter it in the pull print web page of the print job acceptor 122. Sometimes the URL is not spelled out, and the user 110–116 does not know how to find out the actual URL. Further, the user 110–116 is prevented from viewing other web pages within this browser window during the process or instructing the print job acceptor 122 to download the document to be printed.
According to the present invention, an application is enhanced so that when the user 110–116 clicks on the link for the pre-formatted document, the application contacts the user's print job acceptor 122, and submits a “pull print” request referring to the URL. Alternatively, a user 110–116 accesses the context menu for a link which points to a printable document, the menu presented includes a choice to directly print the document, and then the “pull print” is submitted to the print job acceptor 122. The print job acceptor 122 then uses the URL to print the selected document by directly accessing the document via connection 134.
Besides web browsers,this idea can be extended to other applications that reference URLs (for example, Lotus Notes).
The one click print function may be implemented in any browsers or application such as Netscape® Navigator, which support “plug-ins.” A plug-in is a piece of code which handles specific file types. The present invention could be implemented as a plug-in. There are no common plug-ins for PostScript and PCL files. For those files, the plug-in would submit the pull print request when the URL is selected with the normal single click. This would be true one-click printing in any environment. There already is a widely-used plug in for PDF files: Adobe Acrobat. If Acrobat is not installed, PDF files would be printed just like PostScript and PCL files.
Returning to
If Acrobat is installed as a plug-in, then the one click printing plug-in would either pop up a menu giving a choice between “print” and “view” when the URL is selected, or let Acrobat always be selected when a normal link selection is made. Also, the plug-in would add a choice to the context menu for PDF URLs for “direct print.” For example, in Windows®, the “context menu” is normally activated by pressing the right mouse button on the item. Then a menu appears, and the cursor is moved to the chosen menu item and released; thus providing “one-click printing.” Other systems, such as Apple Macintosh®, which has a one-button mouse, will be different.
Then a decision is made as to whether to print or view the document 348. If a decision is to print the document 350, then a pull-print request is submitted to the one click print job acceptor 316. Then the document is printed without the document passing through the user's system 318. If the view option is selected 352, the document is presented for display 354. If a context menu is not to be displayed, the plug-in associated with the document is selected 342 and the document is presented for display 354. Thereafter, a decision may be made whether to print the document or not 356. If not 358, no further action is required. If a decision is made to print the document 360, the context menu may be selected 362 to present a one click printing option to the user 346.
For example, the present invention could query the network to find all print job acceptors, and then find out which ones support pull printing to make sure the pull print request can be handled on the selected print job acceptor. This query could be done at the time the plug-in is installed, each time the browser is started, or each time the plug-in is activated.
According to a preferred embodiment for print job acceptor selection according to the present invention, the user's system default print job acceptor would be queried and used if it supports pull printing. Otherwise, the user is asked to select a default pull-print, print job acceptor. The default pull print job acceptor is then used for all future requests. Nevertheless, as illustrated in
The computer 810 operates under the control of an operating system 824, such as the Windows, OS/2, Macintosh, or UNIX operating systems, which is represented in
Generally, the operating system 824 and the computer programs 826 may be tangibly embodied in a computer-readable medium or carrier, e.g. one or more of the fixed and/or removable data storage devices 814 and 816, or other data storage or data communications devices. Both the operating system 824 and the computer programs 826 may be loaded from the data storage devices 814 and 816 into the random access memory of the computer 810 for execution by the microprocessor as discussed above with reference to
Although an exemplary computer system configuration is illustrated in
The foregoing description of the exemplary embodiment of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not with this detailed description, but rather by the claims appended hereto.
Claims
1. A method for providing one click printing, comprising:
- providing a document identifier for a document to a print job acceptor using a single user action; and
- acquiring and printing the document by the print job acceptor based upon the provided document identifier;
- wherein the providing the document identifier further comprises selecting a document, determining whether the selected document can be handled by the print job acceptor and submitting the document identifier to the print job acceptor for acquiring and printing the document when the document can be handled by the print job acceptor and wherein the document identifier comprises a uniform resource locator.
2. The method of claim 1 wherein the single user action comprises clicking on the uniform resource locator.
3. The method of claim 2 wherein the providing comprises sending the uniform resource locator to the print job acceptor.
4. The method of claim 1 wherein the single user action comprises displaying a context menu associated with the uniform resource locator and selecting to direct print the document identified by the uniform resource locator using a single operation of a cursor control device.
5. The method of claim 4 wherein the providing comprises sending the uniform resource locator to the print job acceptor based upon the selection of the direct print of the document.
6. The method of claim 4 wherein cursor control device comprises a computer mouse and the single operation comprises depressing a mouse button to cause the context menu to be displayed and releasing the mouse button with the cursor positioned over a direct print menu selection to cause the direct print of the document identified by the uniform resource locator to be selected.
7. The method of claim 1 further comprising configuring an application for one click printing prior to providing a document identifier.
8. The method of claim 7 wherein the configuring an application for one click printing comprises installing an application plug-in for interpreting the user actions.
9. The method of claim 8 wherein the installing further comprises selecting a print job acceptor for providing one click printing.
10. The method of claim 8 wherein the installing further comprises displaying a menu for selecting a print job acceptor for providing one click printing.
11. The method of claim 8 wherein the installing further comprises sending a query to all print job acceptors to determine whether a print job acceptor supports direct printing.
12. The method of claim 1 further comprising determining whether a plug-in for handling the data is installed and submitting the document identifier to the print job acceptor for acquiring and printing the document when the plug-in for handling the document is installed.
13. The method of claim 12 further comprising displaying a menu for selecting viewing or printing the document when the plug-in for handling the document is installed.
14. An article of manufacture comprising a computer program storage medium readable by a computer, the medium tangibly embodying one or more computer program encoded with instructions executable by the computer to perform a method for providing one click printing, the method comprising:
- providing a document identifier for a document to a print job acceptor using a single user action; and
- acquiring and printing the document by the print job acceptor based upon the provided document identifier;
- wherein the providing the document identifier further comprises selecting a document, determining whether the selected document can be handled by the print job acceptor; and submitting the document identifier to the print job acceptor for acquiring and printing the document when the document can be handled by the print job acceptor and wherein the document identifier comprises a uniform resource locator.
15. The article of manufacture of claim 14 wherein the single user action comprises clicking on the uniform resource locator.
16. The article of manufacture of claim 15 wherein the providing comprises sending the uniform resource locator to the print job acceptor.
17. The article of manufacture of claim 14 wherein the single user action comprises displaying a context menu associated with the uniform resource locator and selecting to direct print the document identified by the uniform resource locator using a single operation of a cursor control device.
18. The article of manufacture of claim 17 wherein the providing comprises sending the uniform resource locator to the print job acceptor based upon the selection of the direct print of the document.
19. The article of manufacture of claim 17 wherein cursor control device comprises a computer mouse and the single operation comprises depressing a mouse button to cause the context menu to be displayed and releasing the mouse button with the cursor positioned over a direct print menu selection to cause the direct print of the document identified by the uniform resource locator to be selected.
20. The article of manufacture of claim 14 further comprising configuring an application for one click printing prior to providing a document identifier.
21. The article of manufacture of claim 20 wherein the configuring an application for one click printing comprises installing an application plug-in for interpreting the user actions.
22. The article of manufacture of claim 21 wherein the installing further comprises selecting a print job acceptor for providing one click printing.
23. The article of manufacture of claim 21 wherein the installing further comprises displaying a menu for selecting a print job acceptor for providing one click printing.
24. The article of manufacture of claim 14 wherein the installing further comprises sending a query to all print job acceptors to determine whether a print job acceptor supports direct printing.
25. The article of manufacture of claim 14 further comprising determining whether a plug-in for handling the document is installed and submitting the document identifier to the print job acceptor for acquiring and printing the document when the plug-in for handling the document is installed.
26. The article of manufacture of claim 25 further comprising displaying a menu for selecting viewing or printing the document when the plug-in for handling the document is installed.
5737619 | April 7, 1998 | Judson |
6041309 | March 21, 2000 | Laor |
6067560 | May 23, 2000 | Potts, Jr. |
6327045 | December 4, 2001 | Teng et al. |
6445468 | September 3, 2002 | Tsai |
6473203 | October 29, 2002 | Hisatomi et al. |
6609843 | August 26, 2003 | Mahoney et al. |
6631010 | October 7, 2003 | Foster et al. |
6750978 | June 15, 2004 | Marggraff et al. |
20020072998 | June 13, 2002 | Haines et al. |
20020093676 | July 18, 2002 | Parry |
20040075682 | April 22, 2004 | Burleson |
20050021608 | January 27, 2005 | Wolff |
0 872 792 | October 1998 | EP |
9 920 180 | June 1999 | EP |
0 957 438 | November 1999 | EP |
2001-14120 | January 2001 | JP |
WO 98/48359 | October 1998 | WO |
WO 99/27468 | June 1999 | WO |
- “Controlling Amount of Printouts of Hyper Document,” IBM Technical Disclosure Bulletin, vol. 39, No. 11, Nov. 1996, pp. 133-135.
- “Method of Distributed Printing Solution for Web-Based Document Management System With Separated Secure Printing Support Client,” RD 428147, Disclosed by International Business Machines Corporation, 1 page.
Type: Grant
Filed: Jan 3, 2001
Date of Patent: Feb 20, 2007
Patent Publication Number: 20020085224
Assignee: International Business Machines Corporation (Armonk, NY)
Inventors: Stephen Goddard Price (Longmont, CO), David Earl Stone (Longmont, CO)
Primary Examiner: Dov Popovici
Attorney: Chambliss, Bahner & Stophel P.C.
Application Number: 09/753,598
International Classification: G06F 3/12 (20060101); G06K 1/00 (20060101);