Open Vzor- opened 8 months ago
The issue seems to stem from this line https://github.com/openjdk/jfx/blob/master/modules/javafx.graphics/src/main/java/javafx/print/JobSettings.java#L910 When the printer is set to 'Black & White', 'Color' is not considered to be supported.
Thanks for documenting this @Vzor-. Can you provide a small reproducible example to provide to Gluon for an upstream bug report?
Thanks for documenting this @Vzor-. Can you provide a small reproducible example to provide to Gluon for an upstream bug report?
https://gist.github.com/Vzor-/b221e53911b2607919f68ac9d5e850ab
Thanks! Upstream bug report filed SUPQZ-21
.
OpenJDK bug report: https://bugs.openjdk.org/browse/JDK-8143603
System: Windows 10
While testing #1247, I found that a printer which had been set to 'Black & White' in the device driver could not be told to print in color when printing from HTML. This JavaFX behavior is inconsistent with AWT printing, such as PDF/Image.
To reproduce:
Note: 'Microsoft Print to PDF' does not have the color setting, so it will not work in this test.