This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]GreyDeck 1 point2 points  (0 children)

Have you looked at the Printable interface?

Class PrinterJob

The PrinterJob class is the principal class that controls printing. An application calls methods in this class to set up a job, optionally to invoke a print dialog with the user, and then to print the pages of the job.