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>dfisprn()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfIsPrn()
Replaces Clipper's ISPRINTER()
------------------------------------------------------------------------------
Syntax:

     dfIsPrn( <nPrinter> ) --> lStatus

Parameters:

     <nPrinter> number of the printer to test
     +---------------------+
     |#|     Printer       |
     |-+-------------------|
     |1|       LPT1        |
     |2|       LPT2        |
     |3|       LPT3        |
     +---------------------+

Returns:

     <lStatus> If .T. the printer is ready.

Description:

     Returns a printer's status.

Example:

     // Printer test
     ? dfIsPrn()        //  .T.
     ? dfIsPrn( 1 )     //  .T.
     ? dfIsPrn( 2 )     //  .T.
     ? dfIsPrn( 3 )     //  .F.

See also:

     dfPrnChk()

See Also: dfPrnChk()

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