issue #22991 - float division avoids truncation of page to 8 inch width (mac-specific because of compiler difference?)
issue #22991 - on at least some macs, explicitly setting the paper size changes the orientation back to portrait. need to test on a different mac and on both windows and linux.
same arithmetic but easier to read
file->print_preview, file->print_preview->print, and file->print_to_pdf seem to work on mac from openrpt client; file->print sometimes gives correct output and sometimes gives empty output
Merge pull request #17 from gilmoskowitz/22991

issue #22991
Merge pull request #18 from gilmoskowitz/23555

issue #23555 - watermarks scaled incorrectly on Macs