-
Bug
-
Resolution: Fixed
-
P4
-
7u11, 8u76, 9
-
b116
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8197331 | 8u192 | Prasanta Sadhukhan | P4 | Resolved | Fixed | b01 |
JDK-8195515 | 8u172 | Prasanta Sadhukhan | P4 | Resolved | Fixed | b03 |
JDK-8190123 | 8u162 | Prasanta Sadhukhan | P4 | Resolved | Fixed | b04 |
JDK-8183476 | 8u161 | Prasanta Sadhukhan | P4 | Resolved | Fixed | b01 |
JDK-8177954 | 8u152 | Prasanta Sadhukhan | P4 | Resolved | Fixed | b03 |
JDK-8185223 | 8u144 | Prasanta Sadhukhan | P4 | Resolved | Fixed | b31 |
JDK-8183073 | 8u141 | Prasanta Sadhukhan | P4 | Resolved | Fixed | b31 |
JDK-8179237 | 8u131 | Prasanta Sadhukhan | P4 | Closed | Fixed | b32 |
JDK-8192421 | emb-8u161 | Prasanta Sadhukhan | P4 | Resolved | Fixed | b01 |
dialog with copies and page ranges fail.
Test below :-
import javax.print.*;
import javax.print.attribute.*;
import javax.print.attribute.standard.*;
import java.awt.*;
import java.awt.print.*;
public class DlgAttrsBug implements Printable {
public static void main(String args[]) throws Exception {
PrinterJob job = PrinterJob.getPrinterJob();
if (job.getPrintService() == null) {
System.out.println("No printers. Test cannot continue.");
return;
}
job.setPrintable(new DlgAttrsBug());
job.setCopies(2);
PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
aset.add(new Copies(2));
aset.add(new PageRanges(3,4));
aset.add(DialogTypeSelection.NATIVE);
if (job.printDialog(aset)) {
job.print(aset);
}
}
public int print(Graphics g, PageFormat pf, int pi)
throws PrinterException {
System.out.println("pi="+pi);
if (pi >= 5) {
return NO_SUCH_PAGE;
}
g.drawString("Page : " + (pi+1), 200, 200);
return PAGE_EXISTS;
}
}
- backported by
-
JDK-8177954 [macosx] PrinterJob's native Print Dialog does not reflect specified Copies or Page Ranges
-
- Resolved
-
-
JDK-8183073 [macosx] PrinterJob's native Print Dialog does not reflect specified Copies or Page Ranges
-
- Resolved
-
-
JDK-8183476 [macosx] PrinterJob's native Print Dialog does not reflect specified Copies or Page Ranges
-
- Resolved
-
-
JDK-8185223 [macosx] PrinterJob's native Print Dialog does not reflect specified Copies or Page Ranges
-
- Resolved
-
-
JDK-8190123 [macosx] PrinterJob's native Print Dialog does not reflect specified Copies or Page Ranges
-
- Resolved
-
-
JDK-8192421 [macosx] PrinterJob's native Print Dialog does not reflect specified Copies or Page Ranges
-
- Resolved
-
-
JDK-8195515 [macosx] PrinterJob's native Print Dialog does not reflect specified Copies or Page Ranges
-
- Resolved
-
-
JDK-8197331 [macosx] PrinterJob's native Print Dialog does not reflect specified Copies or Page Ranges
-
- Resolved
-
-
JDK-8179237 [macosx] PrinterJob's native Print Dialog does not reflect specified Copies or Page Ranges
-
- Closed
-
- duplicates
-
JDK-8164733 PageRanges are not set on MacOS
-
- Closed
-