• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to get the remote printer name and location  RSS feed

Karthikeyan Balasubramanian
Ranch Hand
Posts: 89
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hii all...
i have written a code ising java print apis to print some details which was set at particular position using java.awt.print apis....

but it getting printed in the printer connected to server only..

What i need to do is the details should get printed in the client side printer..

there is a setPrintService method in the PrinterJob Class,which takes a parameter PrintService..

How do i specify the name and location of the particulat client printer when accessed..
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!