Microsoft KB Archive/251056

From BetaArchive Wiki

Article ID: 251056

Article Last Modified on 5/12/2003



APPLIES TO

  • Microsoft Visual FoxPro 3.0 Standard Edition, when used with:
    • Microsoft Windows NT 4.0
    • Microsoft Windows 95
    • Microsoft Windows 98 Standard Edition
  • Microsoft Visual FoxPro 3.0b Standard Edition, when used with:
    • Microsoft Windows NT 4.0
    • Microsoft Windows 95
    • Microsoft Windows 98 Standard Edition
  • Microsoft Visual FoxPro 5.0 Standard Edition, when used with:
    • Microsoft Windows NT 4.0
    • Microsoft Windows 95
    • Microsoft Windows 98 Standard Edition
  • Microsoft Visual FoxPro 5.0a, when used with:
    • Microsoft Windows NT 4.0
    • Microsoft Windows 95
    • Microsoft Windows 98 Standard Edition
  • Microsoft Visual FoxPro 6.0 Professional Edition, when used with:
    • Microsoft Windows NT 4.0
    • Microsoft Windows 95
    • Microsoft Windows 98 Standard Edition
  • Microsoft Visual FoxPro 3.0b for Macintosh



This article was previously published under Q251056

SYMPTOMS

If you issue the SET PRINT ON command with the PROMPT clause more than once in Visual FoxPro, which is running on Windows 95, Windows 98, Windows NT 4.0 or the Apple Macintosh, the Print dialog box does not appear after issuing the command the first time.

RESOLUTION

As a work around, use the following commands to display the Print dialog box:

SET PRINT ON PROMPT
SET PRINT OFF
SET PRINT TO
SET PRINT ON PROMPT
                

MORE INFORMATION

Steps to Reproduce Behavior

  1. On a Windows 95, Windows 98, or Windows NT 4.0 computer that is running Visual FoxPro 3.0b, 5.0a, or 6.0 (SP3) with a printer attached, type the following in the Command window:

    SET PRINT ON PROMPT
                        
  2. When the Print dialog box appears, either press OK, Cancel, or ESC to close the dialog box.
  3. Issue this command:

    SET PRINT OFF
                        
  4. Next, issue this command:

    SET PRINT ON PROMPT
                        

Note that the Print dialog box does not appear after step 4. You must exit Visual FoxPro and re-issue the SET PRINT ON PROMPT command to see the Print dialog box again.

Keywords: kbprint kbxbase kbcodesnippet kbprb kbpending KB251056