Knowledge Base

BUG: The print job is not released to the printer in Visual FoxPro

Article ID: 102203

Article Last Modified on 2/12/2007


APPLIES TO


This article was previously published under Q102203

SYMPTOMS

When you are printing in FoxPro, the print job is not immediately released to the printer if a print spooler (such as Windows Print Manager) is being used.

NOTE: Print spoolers are often used in network environments.

CAUSE

FoxPro still has a current connection to the spooler. Until this connection is terminated, the spooler will not release the print job.

RESOLUTION

To resolve this problem, do one of the following:

  • Issue the SET PRINTER TO command without any other parameters; for example:

          REPORT FORM test TO PRINTER
          SET PRINTER TO
    								

    -or-

  • Quit FoxPro. This will terminate FoxPro's connection to the spooler and the print job will be sent to the printer.

    -or-

  • If you are using FoxPro for Windows, under Windows 3.x, turn off Print Manager in the Windows Control Panel by double-clicking the Printers icon and then clearing the Use Print Manager check box.

    -or-

  • Issue a RUN command; for example:

         RUN DIR > NUL
    								

    NOTE: Using the RUN command will bring up an MS-DOS session.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

Additional query words: netware novell novel lantastic lan manager flush Buffer kbvfp300 kbvfp500 kbvfp500a kbvfp600

Keywords: kbbug kbprint kbnetwork KB102203