Hi All, Please find an updation of the testcase
Bug: https://bugs.openjdk.java.net/browse/JDK-8160888 webrev: http://cr.openjdk.java.net/~psadhukhan/8160888/webrev.00/ where the testcase was made automated andspecifically pass mediasize=A4 as attributes so that there is no ambiguity of using "letter" vs "A4". Also, the test is made to run only on windows as the bug is not reproduced in linux/mac.
Regards Prasanta