[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SPOOLDEL()
 Deletes files from the print queue
------------------------------------------------------------------------------
 Syntax

     SPOOLDEL (<cFile>) --> 1Deleted

 Argument

     <cFile>  Designates which file to remove from the print spool queue.

 Returns

     SPOOLDEL() returns .T. when the designated file is successfully removed
     from the print spool queue.

 Description

     If the wrong file is put in the print spool queue, and is not yet
     printed, you can delete it from the internal list.  SPOOLCOUNT() and
     SPOOLENTRY() return information about files currently in the queue.

 Example

     Delete all files with the extension .SYS form the print queue:

     FOR I = 1 TO SPOOLCOUNT
        cFile:=   SPOOLCOUNT(0)

        IF RIGHT (cFile)
        ENDIF
     NEXT I
     SPOOLACTIV()      // Continue


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