Microsoft KB Archive/88933

{|
 * width="100%"|

PRJ: Macro to Change Printer Setup Portrait/Landscape

 * }

Q88933

-

The information in this article applies to:


 * Microsoft Project for Windows, versions 3.0, 3.0a, 4.0

-

SUMMARY
Not all of the Windows printer drivers support the ability to change the orientation from Portrait to Landscape in the Page Setup dialog box. It is possible to create a macro in Project to automatically change the orientation.

MORE INFORMATION
The following macro changes the Page orientation in the printer driver from Portrait to Landscape:

SendKeys .Keys=[%fr%s%l{ENTER}{ENTER}] The following macro changes the Page orientation for most printer drivers from Landscape to Portrait:

SendKeys .Keys=[%fr%s%p{ENTER}{ENTER}] Note that to change some printer drivers to a Portrait orientation the keystroke is ALT+R instead of ALT+P. If this is the case, then use the following macro:

SendKeys .Keys=[%fr%s%r{ENTER}{ENTER}] Additional query words:

Keywords : kbcode kbprint

Issue type : kbinfo

Technology : kbProjectSearch kbProject300 kbProject300a kbProject400