I can reproduce this problem by adding a couple of lines
to SimpleBook.java from the tutorial http://java.sun.com/docs/books/tutorial/2d/printing/collection.html
It looks
like a bug to me, unless someone can explain otherwise. It works
fine in 1.4.1.
//Do this before opening the print
dialog
PrintRequestAttributeSet aset = new
HashPrintRequestAttributeSet();
aset.add(PrintQuality.DRAFT);
aset.add(PrintQuality.DRAFT);
//Change job.print() to
try {
job.print(aset); }
From: Karen Johnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 17, 2005 3:50 PM
To: [EMAIL PROTECTED]
Subject: [JAVA2D] Print dialog Print range broken in 1.5?
The Print dialog Print range seems to be broken in jre 1.5.0_01 on Windows XP. When I try to print the first page only of a multi page document, all of the pages are printed. It works fine when using 1.3.1_09.
I can't seem to find this problem on the bug parade, has anyone else seen it?
Thanks,
Karen
