This is a clean backport of the fix `8311033: [macos] PrinterJob does not take into account Sides attribute`.
The fix allows to print pages with DUPLEX and TUMBLE attributes on macOS. Manual `test/jdk/java/awt/print` and `test/jdk/javax/print` tests were run to check printing on macOS with and without the fix. ------------- Commit messages: - Backport a3d67231a71fbe37c509fcedd54c679b4644c0d9 Changes: https://git.openjdk.org/jdk21/pull/174/files Webrev: https://webrevs.openjdk.org/?repo=jdk21&pr=174&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8311033 Stats: 335 lines in 4 files changed: 335 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk21/pull/174.diff Fetch: git fetch https://git.openjdk.org/jdk21.git pull/174/head:pull/174 PR: https://git.openjdk.org/jdk21/pull/174
