Text Doesn't Print When FileMacPageSetup Command Is Used

Last reviewed: November 17, 1997
Article ID: Q127786
The information in this article applies to:
  • Microsoft Word for the Macintosh, versions 6.0, 6.0.1

SYMPTOMS

When you use the FileMacPageSetup WordBasic command in a macro to switch the orientation of a page, and set the .orientation argument to 1 or 0, some of the text will be truncated when you try to print. If you set ".orientation = 1" (to change from portrait to landscape), text at the top of the document will not be printed. If you set ".orientation = 0" (to change from landscape to portrait), text on the right side of the document will not be printed.

CAUSE

The FileMacPageSetup command successfully changes the page size, but it fails to change the orientation of the document. This causes the text at the top or right side of the document to go off the printable area of the page and not be printed.

WORKAROUND

Use the TogglePortrait WordBasic command (which toggles orientation from portrait to landscape, or from landscape to portrait) instead of the FileMacPageSetup command. The TogglePortrait command will successfully change the page orientation and dimensions.

(NOTE: There is no "ToggleLandscape" command. TogglePortrait is a misnomer; a better name for it would have been ToggleOrientation, which is what this macro does.)

STATUS

Microsoft is researching this problem, and we will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional query words: WordBasic Macro
Keywords : macword word6
Version : Macintosh: 6.0, 6.0.1
Platform : MACINTOSH


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.