Function SpoolEntry() Foundation

Retrieves a document name (filename) of a specified job in the print queue

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

Returns a string with the document name or a null string ("") if the print queue is empty.

Description

<nEntry>

Integer specifying the position of the job in the print queue. It defaults to 1 which is the job that is currently 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.