Hi All,

Please review a fix for an issue where it is seen that if user sets invalid imageablearea via Paper.setImageableArea and then calls PrinterJob.validatePage() in linux, then it does not get a valid pageformat

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

Fix is to check for margin as noted via CUPS ppdPageSize() and then calculate to find the valid margin in validatePaper()
similar to what we do in native validatePaper() in windows.

Regards
Prasanta

Reply via email to