This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Java in General and the fly likes need to get network printers in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "need to get network printers in jsp" Watch "need to get network printers in jsp" New topic
Author

need to get network printers in jsp

Babar Qadri
Ranch Hand

Joined: Oct 12, 2004
Posts: 51
Hi,

i need to get network printers in jsp intranet application

can anyone tell how to do this

thanks


babar
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

The Java Print Service can enumerate all the printers your server is configured to use.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61103
    
  66

Not really JSP-specific, so moved to Java in Geneal (intermediate).


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
And remember that you'll get the printers defined for the SERVER, not the client.

Just to make sure you're not going to wonder why your users aren't getting printouts on their desktop printers when you print to the default printer from your JSP...


42
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: need to get network printers in jsp