By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,541 Members | 1,106 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,541 IT Pros & Developers. It's quick & easy.

Problems with setCopies() on PrinterJob

P: n/a
Hi everybody,
following problem is driving me crayz:
I'm working with JDK 1.3.1. We are printing a PDF File via PDFGo
(www.pdfgo.com). In the print dialog shown by printjob.printDialog(),
the user selects the printer and, unfortunately, the number of copies
to be printed. Since the legal background demands that only ONE copy
is printed, what I'm trying to do is to set the users selection back
using printjob.setCopies(1) after the print dialog is shown.
getCopies() then tells me that one copy is to be printed, but the
printer prints the number of copies selected in the dialog, despite
setCopies(1).
What can I do here? I cannot disable the Number of Copies-Option in
the print dialog, can I?

Desperately yours
Timo
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.