[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SPOOLENTRY()
 Determines the name and path of a print job
------------------------------------------------------------------------------
 Syntax

     SPOOLENTRY([<nEntryNumber>]) --> cFileName

 Argument

     <nEntryNumber>  Designates to which queue entry to return the file
     name. The default is the last entry.

 Returns

     SPOOLENTRY() returns the complete file specification for the designated
     queue entry or a null string for an invalid parameter.

 Description

     SPOOLENTRY() determines the file path and name for a particular entry in
     a print spool queue.  If the optional parameter is not specified, the
     function returns the last entry.  If no matching entry is available,
     then a null string is returned.

     Call SPOOLENTRY() to stop the current print output.  Call SPOOLACTIV()
     to continue the function.

 Example

     .  The last entry:

        ? SPOOLENTRY()                     // File name incl.path
        SPOOLACTIV()                       // Continue output

     .  The next to last entry:

        ? SPOOLENTRY(SPOOLCOUNT() -1)      // "" if not available
        SPOOLACTIV()                       // Continue output


See Also: SPOOLCOUNT() SPOOLDEL()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson