Re: PageOrientation partially ignored?

2020-08-18 Thread Tobias Oelgarte
I created a minimal example to illustrate the issue. If I print with 'orientation' set to PORTRAIT i get the expected result [1]. But if i print with 'orientation' set to LANDSCAPE, then i still get a page in portrait orientation and with mixed up margins [2]. Picture [3] illustrates what i wou

Re: PageOrientation partially ignored?

2020-08-17 Thread Tobias Oelgarte
I used the following printers together with JavaFX (versions 14.0.2.1 and 16-ea+1): - cups-pdf under Ubuntu 18.04 (supports A4, all orientations, down to 0 margins) - PDF24 under Windows 7 (supports A4, all orientations, down to 0 margins) - Kyocera FS 2020DN under Windows 7 (supports A4, all

Re: PageOrientation partially ignored?

2020-08-17 Thread Phil Race
what printer, driver, and os? did you call any methods to verify the values being passed are supported ? -Phil. > On Aug 17, 2020, at 9:01 PM, Tobias Oelgarte > wrote: > > I just experimented with the JavaFX printing API and I'm confused about the > results. > > If I request to print in lan

PageOrientation partially ignored?

2020-08-17 Thread Tobias Oelgarte
I just experimented with the JavaFX printing API and I'm confused about the results. If I request to print in landscape format the resulting page is still in portrait mode, but rotated by 90 degrees and with mirrored borders/margins. Is this intentional or should I file a bug report? Simplif