> This PR fixes a bug that caused no or the wrong set of pages to be printed > when using page ranges on macOS. > > The main fix is to change the 'location' value of the returned NSRange from > the knowsPageRange method to 1 in the native class PrinterView.m.
Christian Heilmann has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains nine additional commits since the last revision: - Merge branch 'openjdk:master' into pr/8297191 - Update PrinterView.m - Update PrinterView.h - Update CPrinterJob.m - 8297191 fixed printing page range for e.g. page 2 to 2 on macOS - 8297191 fixed printing page range for e.g. page 2 to 2 on macOS - Merge branch 'master' of https://github.com/openjdk/jdk into pr/11266 - Merge branch 'master' into pr/11266 - 8297191 fixed printing page range for e.g. page 2 to 2 on macOS ------------- Changes: - all: https://git.openjdk.org/jdk/pull/11266/files - new: https://git.openjdk.org/jdk/pull/11266/files/8d00e6c5..fc38fec2 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=11266&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11266&range=02-03 Stats: 632731 lines in 7051 files changed: 430870 ins; 129939 del; 71922 mod Patch: https://git.openjdk.org/jdk/pull/11266.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/11266/head:pull/11266 PR: https://git.openjdk.org/jdk/pull/11266
