Click to See Complete Forum and Search --> : Printer Defaults
Joe Keller
March 29th, 2001, 09:41 AM
Is there a way that I can set the default printers paper orientation. I dont want to include it in a specific print routine. I just want the program to automatically set the orientation of the printer to landscape when the program starts and reset it back to the way it was before when the program ends.
Thanks
Joe
Iouri
March 29th, 2001, 09:47 AM
'that will return True or False but won't change the orientation
Print Printer.Orientation = vbPRORPortrait
Print Printer.Orientation=vbPRORLandscape
'that will change the orientation
Printer.Orientation = vbPRORPortrait
Printer.Orientation = vbPRORLandscape
Iouri Boutchkine
iouri@hotsheet.com
Joe Keller
March 29th, 2001, 09:55 AM
This only works for the current printer object.
For example
Printer.Orientation = vbPRORLandscape
Printer.Print "This is landscape orientation"
Printer.EndDoc
This works fine and the page is printed landscape.
However if I go out to my system settings and check the default printer settings it is still set at portrait orientation.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.