Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - <u>you can set a timeout value more efficiently by calling n_capset(). </u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
You can set a timeout value more efficiently by calling N_CAPSET(). 
Though superseded, N_SPLTMO() has been retained in the library to 
maintain compatibility with earlier versions of NetLib. Future 
versions may not retain N_SPLTMO(), so please take this opportunity 
to begin using the new function in your code.


Syntax

N_SPLTMO( [ <nSeconds> ] )


Parameters

<nSeconds>
Timeout value in seconds. Zero indicates timeout supressed.


Returns

N_SPLTMO() with no arguments returns the current timeout value in 
seconds.


Description

N_SPLTMO(<nSeconds>) sets a printer timeout value. If the program does 
not generate print output for the specified number of seconds (assuming 
a document is in progress), the network will act as if an N_SPOOL(.F.) 
had been issued, signaling the end of the document.

All documents subsequently spooled from the current station are 
affected. The setting remains in effect until changed by another 
N_SPLTMO().

N_SPLTMO(0) turns off the print timeout, in which case you will need to 
issue N_SPOOL(.F.) to terminate a document.

Note  This function has no control over when the document is 
physically printed, only when it is queued for printing.


See Also: N_CAPSET()

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