This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Let's play, find a printer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Let Watch "Let New topic

Let's play, find a printer

Brian Gregory

Joined: Mar 05, 2003
Posts: 1
Howdy, this is my first time working with the Print API's in Java (javax.print). I haven't really found much information on it. Can I find a specific printer and then monitor it's job queque to see what it is printing? If so can someone give me a clue as how to get started? I'm printing labels and while we have 10 printers in the network, only one printer can print these labels. Thanks.

Was that a cow?
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
For the most part the printing API just hooks into your operating systems handling of printing. If you use a PrinterJob the OS's standard printer dialog will pop-up and let you select the printer that you want to use.

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: Let's play, find a printer
Similar Threads
Printing in Java
Printing Labels in Java
Printing to a line printer
Want to print a file using java program
How to print barcode labels using barcode4j?