FilePageSetup command
Posted: Tue Apr 27, 2010 3:04 pm
David,
I just tried to make a small macro to automate setting page margins to 0.3" in landscape and print to my default printer, which happens to be "CutePDF".
Macro is:
FilePageSetup(0.3,0.3,0.3,0.3,,1,,)
FilePrint("CutePDF Writer")
Even if I specify orientation=2 as FilePageSetup(0.3,0.3,0.3,0.3,2,1,,), I keep getting portrait oriented pdfs.
If I manually look at page setup, it's set as Landscape, and if I click Printer>Properties, CutePDF is also set to Landscape and Letter size. If I manually print, I get a landscape pdf printout.
Am I doing something wrong? (Manual and Help file are a tiny bit vague about the orientation setting, but I did read them!)
Thanks.
Jon
I just tried to make a small macro to automate setting page margins to 0.3" in landscape and print to my default printer, which happens to be "CutePDF".
Macro is:
FilePageSetup(0.3,0.3,0.3,0.3,,1,,)
FilePrint("CutePDF Writer")
Even if I specify orientation=2 as FilePageSetup(0.3,0.3,0.3,0.3,2,1,,), I keep getting portrait oriented pdfs.
If I manually look at page setup, it's set as Landscape, and if I click Printer>Properties, CutePDF is also set to Landscape and Letter size. If I manually print, I get a landscape pdf printout.
Am I doing something wrong? (Manual and Help file are a tiny bit vague about the orientation setting, but I did read them!)
Thanks.
Jon