This will programmatically open the Page Setup dialogue, set the orientation to landscape, and close the dialogue.
The disadvantage is that the user will see the dialogue flash on the screen, which might be off-putting. Also, I'm not sure if the layout of the dialogue is the same for every printer, in which case the KEYBOARD command might neeed changing.
The other option is to create a copy of the printer driver (under a new name), and to set its orientation to landscape. Then, when you are ready to print, use SET PRINTER to select that driver.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
Regarding Windows 10, that shouldn't make any difference. The dialogue might be different, but the principle is the same: using the KEYBOARD command to programmatically select the required option. But never mind. Using a second printer driver would be my preferred solution.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.