PRB: Using the EJECT Command Causes "Sending this print..."Last reviewed: June 18, 1996Article ID: Q128251 |
The information in this article applies to:
SYMPTOMSUsing the EJECT command in a Program in FoxPro for Macintosh causes the following Message to appear:
Microsoft FoxPro Sending this print job cancels the current print job. Proceed?If you click the no button, the dialog keeps coming up. If you click the yes button, the dialog goes away. NOTE: This behavior does not occur in Visual FoxPro for Macintosh.
RESOLUTIONYou cannot use the EJECT command with Foxpro for the Macintosh. Use these two lines of code instead:
SET PRINTER TO SET DEVICE TO PRINT STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce ProblemCreate and run the following program: **Program with the Problem SET DEVICE TO PRINT @ 1,1 Say "Hello, First Page" EJECT @ 1,1 Say "Second Page!!!" SET DEVICE TO SCREEN SET PRINTER OFF SET PRINTER TO ***end of Program
Example Workaround**Corrected Program SET DEVICE TO PRINT @ 1,1 Say "Hello, First Page" SET PRINTER TO SET DEVICE TO PRINT @ 1,1 Say "Second Page!!!" SET DEVICE TO SCREEN SET PRINTER OFF SET PRINTER TO ***end of Program
|
Additional reference words: 2.60a Error Printing
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |