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 route print jobs more efficiently by calling n_capset(). </u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
You can route print jobs more efficiently by calling N_CAPSET(). 
Though superseded, N_SPLSRV() has been retained in the library to 
maintain compatibility with earlier versions of NetLib. Future 
versions may not retain N_SPLSRV(), so please take this opportunity 
to begin using the new function in your code.


Syntax

N_SPLSRV( [ <cServer> | .F. ] )


Parameters

<cServer>
Name of the spool server.

.F.
Reset the spool server.


Returns

N_SPLSRV() with no arguments returns the currently spooled server.


Description

N_SPLSRV(<cServer>) routes print jobs to a queue on the server named.

Note  <cServer> is the File server that has the queue, not the 
print server that will service print jobs.

Documents already in progress or already on a spool queue are not 
affected. All documents subsequently spooled from the current station 
will be routed to the specified server until changed by another call to 
N_SPLSRV().

If the current station is not attached and logged into the specified 
server, the printout will not be routed correctly. Use function 
N_SERVER() to obtain the servers to which the current station is 
attached.

N_SPLSRV(.F.) resets the spool server. Subsequent print jobs will be 
routed to the current file server.

If you wish to print to any server other than the current server, then 
you must call N_SPLSRV() prior to calling N_SPOOL(.T.).



See Also: N_CAPSET() N_QJSET()

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