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>spoolactiv()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SPOOLACTIV()
 Determines if the DOS PRINT program is installed
------------------------------------------------------------------------------
 Syntax

     SPOOLACTIV() --> lSpoolActive

 Returns

     SPOOLACTIV() returns .T. when the DOS memory-resident print spooler is
     installed.

 Description

     Before you implement any print spool functions, use SPOOLACTIV() to test
     if the DOS PRINT program is installed.  If inactive, then you must leave
     the application because memory-resident programs cannot load from within
     CA-Clipper applications.

 Note

     .  Use SPOOLACTIV() to continue output stopped with SPOOLENTRY().

 Example

     Test if PRINT is loaded:

     IF SPOOLACTIVE()
        SPOOLADD("C:\TEST\PRINT.DAT")
     ELSE
        ? "Spooling not possible !"
     ENDIF


See Also: Introduction

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