Test was failing with PrinterException: Wrong Orientation since printing was done with default orientation. Fix is made to set the printable with correct PageFormat
It was not seen prior to [JDK-8262731](https://bugs.openjdk.org/browse/JDK-8262731) probably because the exception was being swallowed.. ------------- Commit messages: - 8296920: Regression Test DialogOrient.java fails on MacOS Changes: https://git.openjdk.org/jdk/pull/13950/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13950&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8296920 Stats: 2 lines in 1 file changed: 1 ins; 1 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/13950.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/13950/head:pull/13950 PR: https://git.openjdk.org/jdk/pull/13950
