[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: Integrated: 8311033: [macos] PrinterJob does not take into account Sides attribute
From: Alexander Scherbatiy <alexsch () openjdk ! org>
Date: 2023-07-28 10:28:55
Message-ID: 8HF42SE_GljqHeiosFHJJnjqTafwtY9eyhw6nGJ02jo=.7b8a8e50-73df-42a5-a929-56047bb2af75 () github ! com
[Download RAW message or body]
On Fri, 30 Jun 2023 10:00:46 GMT, Alexander Scherbatiy <alexsch@openjdk.org> wrote:
> To reproduce the issue run the \
> [JavaSidesAttributePrinting](https://bugs.openjdk.org/secure/attachment/104448/JavaSidesAttributePrinting.java) \
> java sample with ONE_SIDED and DUPLEX arguments on macOS:
> java JavaSidesAttributePrinting ONE_SIDED
> java JavaSidesAttributePrinting DUPLEX
>
>
> The sample calls PrinterJob print method with the given sides attribute.
> The pages are printed according to the printer default settings not according to \
> the provided Sides attributes.
> The fix propagates Sides attribute
> - from `PrinterJob` to `NSPrintInfo` in `CPrinterJob.javaPrinterJobToNSPrintInfo` \
> method
> - from `NSPrintInfo` to `PrinterJob` in `CPrinterJob.nsPrintInfoToJavaPrinterJob` \
> method
This pull request has now been integrated.
Changeset: a3d67231
Author: Alexander Scherbatiy <alexsch@openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a3d67231a71fbe37c509fcedd54c679b4644c0d9
Stats: 335 lines in 4 files changed: 335 ins; 0 del; 0 mod
8311033: [macos] PrinterJob does not take into account Sides attribute
Reviewed-by: prr, serb
-------------
PR: https://git.openjdk.org/jdk/pull/14727
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic