Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>spoolentry()</b> http://www.X-Hacker.org [<<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()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson