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

Reply via email to