Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> capture</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CAPTURE
------------------------------------------------------------------------------
 Purpose:
 Emulate the Novell CAPTURE.EXE utility.

 Syntax:
 CAPTURE < see CAPTURE.EXE for list >

 Parameters:
 See CAPTURE.EXE in the NetWare reference manuals for list of arguments.

 Returns:
 None.
 NWErrorGet() returns non-zero if an error occurs.

 Description:
 CAPTURE is a CA-Clipper 5.x UDC to emulate the Netware CAPTURE.EXE
 command line utility, and can be used in exactly the same way.
 It is easy to use for programmers who have an understanding of NetWare.

 Example:
 // A typical command line would be:

 #include "novlib.ch"
 CAPTURE /NB /NFF /TI=1 /L=1 /Q=PRINTQ_0

 // The same operation using a variable will NOT work, due to limitations
 // of the CA-Clipper preprocessor:
 #include "novlib.ch"
 CapStr = "/NB /NFF /TI=1 /L=1 /Q=PRINTQ_0"   // This will fail!
 CAPTURE &CapStr

 ***Bad Example***
 // To assemble a string and use it to set up capture parameters:
 #include "novlib.ch"
 CapStr = "/NB /NFF /TI=1 /L=1 /Q=PRINTQ_0"
 NLParser( "CAPTURE " + CapStr )

 Notes:
 The command you would type in your CA-Clipper program is exactly
 the same as you would type at the DOS prompt.

 For information on the parameters and their usage, see CAPTURE.EXE in the
 NetWare reference manuals.
 This function requires that NOVLIB50.PRG is compiled and linked in with
 your program.

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