Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfsplstop()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfSplStop()
Interrupts temporarily the printer SPOOLER
------------------------------------------------------------------------------
Syntax:

     dfSplStop() --> nError

Parameters:

     NONE

Returns:

     <nError> If 0 the printer SPOOLER has been interrupted
     
     +------------------------+
     | N. |Errors             |
     |----+-------------------|
     |  0 |Success            |
     |  1 |Invalid Function   |
     |  2 |File Not Found     |
     |  3 |Path Not Found     |
     |  4 |Out Of File Handles|
     |  5 |Access Denied      |
     |  8 |Print Queue Full   |
     |  9 |Spooler Busy       |
     | 12 |Name Too Long      |
     | 15 |Invalid Drive      |
     +------------------------+

Description:

     Allows to interrupt temporarily the printer SPOOLER

Example:

     IF dfIsSpl()
        dfSplClear()  // Clear the SPOOLER
        dfSplFile( "\config.sys" )  // Put in SPOOLER
        dfSplStop()                 // Stops the SPOOLER
        IF dfYesNo("Report interrupted", .F.)
           dfSplClear() // Clear the SPOOLER
        ELSE
           dfSplGo()    // Restart the SPOOLER
        ENDIF
     ENDIF

See also:

     dfIsSpl(), dfSplFile(), dfSplGo()

See Also: dfIsSpl() dfSplFile() dfSplGo()

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