PRB: Printing @..SAYs is Slow in FoxPro/DOS Under Win95Last reviewed: March 7, 1997Article ID: Q164743 |
The information in this article applies to:
SYMPTOMSPrinting @..SAYs from FoxPro for MS-DOS to some network printers under Windows 95 on a Windows NT network is slow. The output comes out of other printers much more quickly.
CAUSEThe printers that are slow to release the print jobs are captured on the LPT2 or LPT3 ports.
RESOLUTIONCapture the printers on LPT ports other than LPT2 and LPT3. To change the port that the printer is captured under, follow these steps:
MORE INFORMATIONBecause printing is very complex and the printer, network and configuration of the computer can have a major influence on it, the scope of this article is very narrow. However, if the scenario described herein applies, the resolution should solve the problem. The resolution should work if you are running FoxPro for MS-DOS in a DOS window under Windows 95. The network should either be a Windows NT or Windows 95 network. The printers should be shared via the network. In order to print from MS-DOS based programs, printers in Windows 95 need to be captured. The Add Printer Wizard in Windows 95 asks this question when setting up an new printer. Printing reports in FoxPro for MS-DOS exhibits similar behavior as the @ SAY commands. However, without issuing the SET PRINTER TO command after the REPORT FORM command, the report will still come out slowly. By issuing SET PRINTER TO immediately after the REPORT FORM command, it allow the report to start printing immediately if the printer is captured on any LPT port except LPT2 or LPT3. Some sample code follows:
SET PRINTER TO LPT1 REPORT FORM <whatever> TO PRINT SET PRINTER TO Steps to Reproduce Behavior
REFERENCESMicrosoft "Windows 95 Resource Kit," pages 393-394, 602 and 781
|
Keywords : FoxDos FxprintGeneral FxprintNet kbprint
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |