On Mon, 21 Nov 2022 14:32:50 GMT, Christian Heilmann <d...@openjdk.org> wrote:

> 8297191: [macos] printing page range "page 2 to 2" or "page 2 to 4" on macOS 
> leads to not print

The problem is noticeable when setPageable on java.awt.print.PrinterJob is 
used. In that case the pageIndex 0 will be used in "PageFormat 
getPageFormat(int pageIndex)" even though user select page 2 to 2 (or 3, 4, ..).
JavaFX printing is based on the given page index, which is in that case wrong.

-------------

PR: https://git.openjdk.org/jdk/pull/11266

Reply via email to