• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to change system default printer by Java?  RSS feed

 
Leon Pu
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

is it possible to change system's default printer by Java?

I found package javax.print from JDK 1.4.2, and it can get the default printer by following code. Does JDK also can change default printer?



I also found J2Printer, but I prefer to handle it in JDK.

http://www.wildcrest.com/Software/J2PrinterWorks/documentation/J2Printer14.html


Best regards,
Leon
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!