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


Syntax

N_SPLSETUP( [ <cString> ] )


Parameters

<cString>
Printer initialization string.


Returns

N_SPLSETUP() with no parameters  returns the current setup string.

N_SPLSETUP(<cString>) returns logical true if successful, false if 
unsuccessful.



Description

If <cString> is too long there is no change to the setup buffer and the 
function returns false. Use N_SPLSETSZ() to get the maximum size of the 
buffer.

N_SPLSETUP("") clears the setup buffer.

N_SPLSETUP() becomes effective at the start of the next print job. It 
does not affect the currently active print job, if any, nor does it 
affect print jobs already on the queue.



See Also: N_CAPSET()

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