Microsoft KB Archive/817432

From BetaArchive Wiki
Knowledge Base


WD2000: Word Ignores Pages Per Sheet Setting When You Print From wdDialogFilePrint Dialog Object

Article ID: 817432

Article Last Modified on 11/23/2006



APPLIES TO

  • Microsoft Word 2000 Standard Edition



For a Microsoft Word 2002 version of this article, see 818052.

SYMPTOMS

When you use the Show or Execute methods to programmatically display the Print dialog box (wdDialogFilePrint), and you then change the pages per sheet setting, the change may be ignored, and one page per sheet is always printed. However, this symptom does not occur if you use the Print command on the File menu to manually show the dialog box.

RESOLUTION

A supported fix is now available from Microsoft, but it is only intended to correct the problem described in this article. Only apply it to systems that are experiencing this specific problem. This fix may receive additional testing to further ensure product quality. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Office 2000 service pack that contains this fix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:

   Date         Time   Size       File name
   --------------------------------------------
   31-Mar-2003  22:35  1,588,220  Winwordop.msp
   31-Mar-2003  23:02  4,785,316  Winwordff.msp

After the hotfix is installed, the English version of this fix will have the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

   Date         Time   Version     Size       File name
   ------------------------------------------------------
   29-Mar-2003  03:12  9.0.0.7527  8,826,932  Winword.exe

This fix is a post-Office 2000 Service Pack 3 (SP-3) fix. To install the fix, you must have Office 2000 SP-3 installed. For additional information about Office 2000 SP-3, click the following article number to see the article in the Microsoft Knowledge Base:

326585 OFF2000: Overview of Office 2000 Service Pack 3


Additionally, you may have to install Windows Installer 2.0 to install this fix. For additional information about the Windows Installer requirement for post-Office 2000 SP-3 fixes, click the following article number to see the article in the Microsoft Knowledge Base:

811002 OFF2000: Office 2000 Updates and Patches Released After November 2002 May Require Windows Installer 2.0




WORKAROUND

Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Partners, see the following Microsoft Web site:

For additional information about the support options available from Microsoft, visit the following Microsoft Web site:



To work around this behavior, use the following sample Microsoft Visual Basic for Applications macro:

Sub TestPrint()

   Application.CommandBars("Menu Bar") _
      .Controls("&File").Controls("&Print...").Execute

End Sub

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kbqfe kbhotfixserver kbenv kbprb kbbug kbfix KB817432