PRB: Print Dialog May Not Appear with SET PRINT ON PROMPT

ID: Q251056


The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b, 5.0, 5.0a, 6.0
    on the following platforms: Win95, Win98, winnt
  • Microsoft Visual FoxPro for Macintosh, version 3.0b


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:


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


  4. Issue this command:


  5. 
    SET PRINT OFF 
  6. Next, issue this command:


  7. 
    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.

Additional query words:

Keywords : kbPrinting kbVFp300 kbVFp300b kbVFp500 kbVFp500a kbVFp600 kbXBase kbGrpFox kbDSupport kbCodeSnippet
Version : MACINTOSH:3.0b; WINDOWS:3.0,3.0b,5.0,5.0a,6.0
Platform : MACINTOSH WINDOWS
Issue type : kbprb


Last Reviewed: January 25, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.