PRB: SET DEVICE TO PRINTER PROMPT Does Not Open Dialog BoxLast reviewed: April 29, 1996Article ID: Q98746 |
The information in this article applies to:
SYMPTOMSIssuing the SET PRINTER ON PROMPT or SET DEVICE TO PRINTER PROMPT command immediately after issuing the same command does not produce the expected Microsoft Windows Print dialog box.
CAUSEOnce the printer has been defined, FoxPro does not display the Print dialog box again until the printer is once again in an undefined state. For example, this problem will occur if the previous print job has not yet been released by Print Manager or the network spooler.
RESOLUTIONTo work around this problem, do one of the following:
STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONTo reproduce the problem, run the following program twice:
SET DEVICE TO PRINTER PROMPT @ 3,3 SAY 'HELLO,WORLD' SET DEVICE TO SCREENThe first time the program is run, the Print dialog box will appear as expected. The second time the program is run, the dialog box will not appear although both print jobs are in the print queue. NOTE: Both jobs will print if you quit FoxPro for Windows or if you issue the SET PRINTER TO command in the Command window. Also, if the Cancel button on the prompt is selected, FoxPro ignores this action and sends the @...SAY commands to the printer anyway.
REFERENCES"Language Reference," version 2.5, page L3-973
|
Additional reference words: VFoxWin 3.00 FoxWin 2.50 2.50a 2.50b 2.60 2.60a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |