Where to pick the default printed page size?
Posted: Sat Apr 24, 2021 3:24 pm
Hi,
I'm developing a music notation program. At startup program is trying to find the default page size user would perhaps want to use with the musical scores. I've used IIntuition->GetPrefs() to get the field Preferences->PaperSize. Now, when I created a new partition for OS4 update 2 combined with Enhancer v2 and most of the OS preferences were at their defaults, I noticed that even if I set the page size to ISO_A4 with Prefs/PrinterPS and use Printer preferences to set driver to PostScript & the device to lpr.device (setup for my HP printer), the GetPrefs() page size will be NARROW_TRACTOR. In the Printer preferences the page size is not editable when PostScript driver is set.
Shouldn't the Preferences->PaperSize be updated even if the PrinterPS preferences editor is used for changing the size? Or am I looking in the wrong direction searching for the default paper size?
Marko
I'm developing a music notation program. At startup program is trying to find the default page size user would perhaps want to use with the musical scores. I've used IIntuition->GetPrefs() to get the field Preferences->PaperSize. Now, when I created a new partition for OS4 update 2 combined with Enhancer v2 and most of the OS preferences were at their defaults, I noticed that even if I set the page size to ISO_A4 with Prefs/PrinterPS and use Printer preferences to set driver to PostScript & the device to lpr.device (setup for my HP printer), the GetPrefs() page size will be NARROW_TRACTOR. In the Printer preferences the page size is not editable when PostScript driver is set.
Shouldn't the Preferences->PaperSize be updated even if the PrinterPS preferences editor is used for changing the size? Or am I looking in the wrong direction searching for the default paper size?
Marko