4
Contributors
4
Replies
6
Views
5 Years
Discussion Span
Last Post by dongiulio
2

It's printerJob, I would advise you to take a look at oracle documents which explain everything to do with setting the jobs, rendering with the Printable interface and opening the printer dialog.

Go through the document list and look at the examples and you should be able to then put something together. Also look at the class file and let us know if you have any problems.

Start with using the java.awt.print.* package as noted.

Oracle:
http://docs.oracle.com/javase/tutorial/2d/printing/printable.html

http://docs.oracle.com/javase/tutorial/2d/printing/dialog.html

Class file:
http://docs.oracle.com/javase/1.4.2/docs/api/java/awt/print/PrinterJob.html

Hope that helps :)

Votes + Comments
Excellent answer [I would like to add something to make the job easier, though.]
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.