Function SpoolAdd() Foundation

Adds the contents of a file to the spooler queue.

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

Returns .T. if a file could be spooled, otherwise .F.

Description

<cFileName>

This is a string specifying the file to be spooled (printed).

<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.