>Dear alls,
>
>I have a big problem to need everyone to help me. How can I default Visual Foxpro to print the document as Landscape? Can I use some code to change the Orientation of selected printer? Why VF will show an error message "Error access printer spooling" during print the report? Thank you for any help!
>
>Best Regards,
>
>Justy Chow
>justy.chow@fvihk.com
>
>** This is a urgent case, I hope that anyone can reply as soon as possible. Thanks a lot!!!!
>Perfer reply by e-mail!
Hi Justy,
You can open your report, go to Menu/File/Page Setup/Print Setup and select orientation there. It can be done programmatically, if you USE myreport.frx and change the line
ORIENTATION=0
in EXPR memo field to landscape
ORIENTATION=1
Don't know what is going on with the spooler though.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison