How to manage the PageSetup by a script? part 2

Reinhold Venzl-Schubert r.venzl-schubert at t-online.de
Thu Apr 6 09:03:54 CDT 2006


Hi!

Three weeks ago I started just the same inquiry here.
I wanted to print my cards in portrait-format on a A4-sheet with  
special margins.

I got good help and added these line to my printscript and it worked  
well:

   set the printrotated to false
   set the printMargins to 51,35,51,10

But now mc don't do its job well.

It's evident that after a reboot of the Mac the PageSetup of mc is  
reset to default.
After running my script PageSetup shows the printMargins of the script.
But the printout don't has the expected margins.

It's the same as if I set the margins in PageSetup an quit the input  
not with "OK" but with "Cancel"
And indeed, when I review the settings of my script in PageSetup and  
quit it with "OK" mc next time prints it in the right way, all  
margins are as wanted.

How can I send this devilish "OK" with my script?

Thanks :-)
Reinhold


More information about the metacard mailing list