[OpenJDK 2D-Dev] [9] RFR JDK-6575247: Banner checkbox in PrinterJob print dialog doesn't work

Prasanta Sadhukhan prasanta.sadhukhan at oracle.com
Mon Jul 18 11:27:21 UTC 2016


Hi All,

Please review a fix for an issue where it is seen that Banner page in 
linux does not get printed despite user selecting the Banner page 
checkbox in Printer dialog.

Bug: https://bugs.openjdk.java.net/browse/JDK-6575247
webrev: http://cr.openjdk.java.net/~psadhukhan/6575247/webrev.00/

It seems if we pass "-J <bannername>" option to lpr command, it has no 
effect.
To print Banner page, we need to pass
"-o job-sheets=<either of "classified", "confidential", "secret", 
"standard", "topsecret", or "unclassified">"

Since we support only standard banner or none via a checkbox,
the proposed fix passes option "-o job-sheets=standard" to lpr command 
to print the banner page.

Regards
PRasanta



More information about the 2d-dev mailing list