|
-
March 29th, 2001, 10:41 AM
#1
Printer Defaults
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
-
March 29th, 2001, 10:47 AM
#2
Re: Printer Defaults
'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
[email protected]
-
March 29th, 2001, 10:55 AM
#3
Re: Printer Defaults
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|