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 now set a capture queue for each of three local printer ports </u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
You can now set a capture queue for each of three local printer ports 
by calling N_CAPSET() and set a default port with N_CAPDFLT(). These 
are preferable to the outmoded function N_SPOOL(). In addition, 
N_SPOOL(<cFilespec>) has been superseded by N_QFILE(). Though 
superseded, N_SPOOL() has been retained in the library to maintain 
compatibility with earlier versions of NetLib. Future versions may 
not retain N_SPOOL(), so please take this opportunity to begin using 
the new function in your code.


Syntax

N_SPOOL( <lSetting> | <cFilespec> )


Parameters

<lSetting>
Start (.T.) or stop (.F.) spool capture.

<cFilespec>
Filename of a File to place on the queue.


Returns

Current print capture status.


Description

N_SPOOL(.T.) begins print capture. It must come after any print 
attributes are set (e.g., Banner, Copies, Server, and so on.) and 
before printer activation commands such as SET PRINT ON or SET DEVICE 
TO PRINT.

N_SPOOL(.F.) terminates spool capture and places the document onto the 
print queue for physical printing. It must come after the document is 
complete, including the final eject, if any.

N_SPOOL(<cFilespec>) places an existing File onto the spool queue.

When spooling non-displayable control characters (font-definition 
files, for instance) make sure that tab expansion is set to zero. See 
N_SPLTABS().



See Also: N_CAPDFLT() N_CAPSET()

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