-
Bug
-
Resolution: Fixed
-
P4
-
8, 17
-
OS: macOS
JDK: 20.0.1
-
b09
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8315638 | 21.0.1 | Alexandr Scherbatiy | P4 | Resolved | Fixed | b10 |
JDK-8315115 | 17.0.9 | Alexandr Scherbatiy | P4 | Resolved | Fixed | b05 |
JDK-8314772 | 11.0.21 | Alexandr Scherbatiy | P4 | Resolved | Fixed | b04 |
Steps to reproduce:
- Compile the attached JavaSidesAttributePrinting.java sample which passes a sides attribute provided as the program argument to the PrinterJob and prints 2 pages.
- Run the sample with the ONE_SIDED and DUPLEX argument:
--------------------------
> javac JavaSidesAttributePrinting.java
> java JavaSidesAttributePrinting ONE_SIDED
> java JavaSidesAttributePrinting DUPLEX
--------------------------
Expected result:
The first two pages should be printed as one sided.
The second two pages should be printed as duplex.
Actual result:
All pages are printed as one sided or duplex according to the printer default settings.
- backported by
-
JDK-8314772 [macos] PrinterJob does not take into account Sides attribute
- Resolved
-
JDK-8315115 [macos] PrinterJob does not take into account Sides attribute
- Resolved
-
JDK-8315638 [macos] PrinterJob does not take into account Sides attribute
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/d0f6931a
-
Commit openjdk/jdk17u-dev/47ed2e5b
-
Commit openjdk/jdk21u/91e37e90
-
Commit openjdk/jdk/a3d67231
-
Review openjdk/jdk11u-dev/2091
-
Review openjdk/jdk17u-dev/1701
-
Review openjdk/jdk21/174
-
Review openjdk/jdk21u/116
-
Review openjdk/jdk/14727