Print function of WebEngine.java ignores page range setting and prints given number of pages starting from first page, which is the root cause of this issue. To fix it, put check for page ranges and if it available, use it for printing pages otherwise print all pages as usual.
------------- Commit messages: - 8208169: can not print selected pages of web page Changes: https://git.openjdk.java.net/jfx/pull/222/files Webrev: https://webrevs.openjdk.java.net/jfx/222/webrev.00 Issue: https://bugs.openjdk.java.net/browse/JDK-8208169 Stats: 19 lines in 1 file changed: 15 ins; 0 del; 4 mod Patch: https://git.openjdk.java.net/jfx/pull/222.diff Fetch: git fetch https://git.openjdk.java.net/jfx pull/222/head:pull/222 PR: https://git.openjdk.java.net/jfx/pull/222