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> endcap</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ENDCAP
------------------------------------------------------------------------------
 Purpose:
 To emulate the Novell ENDCAP.EXE command line utility.

 Syntax:
 ENDCAP < see ENDCAP.EXE for list >

 Parameters:
 <n> The LPT device number.

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

 Description:
 ENDCAP is used to end print capturing of a specified printer device <n>.
 If ALL is specified then print capturing to all print devices is ended.
 In both cases all information is immediately flushed to the print queue.
 If the CANCELLOCAL =, or the CANCEL options are used, capture is ended
 and the print job is cancelled, rather than being flushed to the print
 queue. Some data may already have been printed, depending on the setting
 of AutoEndCap().

 Please refer to the Novell documentation of ENDCAP.EXE for further details.

 Example:
 // To end print capture on LPT2: and print the job:

 #include "novlib.ch"
 ENDCAP L = 2
 if ( NWErrorGet() = 0 )
    ? "Print capturing to LPT2: has been ended"
 endif

 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 ENDCAP.EXE in the NetWare reference
 manuals.

 This function only works with CA-Clipper 5.x and 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