File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Displaying a list of printers.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Displaying a list of printers.." Watch "Displaying a list of printers.." New topic

Displaying a list of printers..

Bala Mohan

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
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
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
I agree. Here's the link:
subject: Displaying a list of printers..
It's not a secret anymore!