Function SpoolDel() Foundation

Deletes a specified print job from the queue.

Syntax
SpoolDel( <cFileName> , ;
          [<nLPTport>]  ;  // Default: 1
        ) --> lDeleted
Return

Returns .T. if the print job could be deleted, otherwise .F.

Description

<cFileName>

This is a string specifying the file (document name) to delete from the print queue.

<nLPTport>

This is a number between 1 and 9 specifying the LPT port (OS/2), or the printer number in the range beween 1 and NumPrinter() (Windows). It defaults to 1 (LPT1).

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.