Microsoft KB Archive/251056

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

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</li></ul>

 Microsoft Windows 95</li></ul>

 Microsoft Windows 98 Standard Edition</li></ul> </li> Microsoft Visual FoxPro 5.0 Standard Edition, when used with:  Microsoft Windows NT 4.0</li></ul>

 Microsoft Windows 95</li></ul>

 Microsoft Windows 98 Standard Edition</li></ul> </li> Microsoft Visual FoxPro 5.0a, when used with:  Microsoft Windows NT 4.0</li></ul>

<ul> <li>Microsoft Windows 95</li></ul>

<ul> <li>Microsoft Windows 98 Standard Edition</li></ul> </li> <li>Microsoft Visual FoxPro 6.0 Professional Edition, when used with: <ul> <li>Microsoft Windows NT 4.0</li></ul>

<ul> <li>Microsoft Windows 95</li></ul>

<ul> <li>Microsoft Windows 98 Standard Edition</li></ul> </li> <li>Microsoft Visual FoxPro 3.0b for Macintosh</li></ul>

-

<div class="notice_section">

This article was previously published under Q251056

<div class="symptoms_section">

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.

<div class="resolution_section">

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

<div class="moreinformation_section">

Steps to Reproduce Behavior
<ol> <li> 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 </li> <li>When the Print dialog box appears, either press OK, Cancel, or ESC to close the dialog box.</li> <li> Issue this command: SET PRINT OFF </li> <li> Next, issue this command: SET PRINT ON PROMPT </li></ol>

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

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.