Link to home
Start Free TrialLog in
Avatar of jwill01
jwill01

asked on

Changing default printer page orientation

I'm trying to print Delphi 3.0 TRichEdit contents to a desired page orientation, without having the user use the TPrinterSetupDialog dialog box.  Since TRichEdit uses the default printer (not the TPrinter object), how can I change the default printer page orientation in code?
ASKER CERTIFIED SOLUTION
Avatar of XSpider
XSpider

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jwill01
jwill01

ASKER

That worked fine!

I didn't realize TPrinter represented the default printer.

Thanks for the help.  I appreciate your time.