This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Displaying a list of printers.. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Displaying a list of printers.." Watch "Displaying a list of printers.." New topic
Author

Displaying a list of printers..

Bala Mohan
Greenhorn

Joined: Jul 05, 2002
Posts: 27
Hi there,
Is there a way that I can get the list of printers that my user has configered for use from his desktop? I want the user to to choose a printer from a list of printers. When he selects one, I should be able to get the name of the printer in my javascript variable, so that, I can use that variable to pass as parameter to another url.
I can not use the print() window object, because it will not return me the name of the printer.
(I am using the IE6 on Windows 2000
Thanks,
Bala.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
There might be some sort of active-x control for IE, but I am not positive.
A search on google might point you in the right direction
Eric
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Displaying a list of printers..
 
Similar Threads
PrintDialog for selecting the printers
List of printers in the network
Get the list of printers configured on the Server machine via a JSP page
How to distinguish Hardware printer and Software printer
i m new to java pls help for socket program of printer