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> capend()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CapEnd()
------------------------------------------------------------------------------
 Purpose:
 End the print capture.

 Syntax:
 bResult = CapEnd( iLPTNum )

 Parameters:
 iLPTNum The LPT device. 1=LPT1: 2=LPT2: 3=LPT3:

 Returns:
 A boolean value (TRUE or FALSE).

 Description:
 CapEnd() returns TRUE if print capturing to the specified print device
 iLPTNum was successfully ended and the print job is flagged as ready for
 servicing. If further print capturing is required, then CapStart() must
 be called again.

 Returns FALSE if an error occurs and capturing is not ended.

 Example:
 // To end print capturing of LPT1:
 if ( CapEnd( 1 ) )
    ? "Print capturing to LPT1: has been ended"
 endif

See Also: CapCancel() CapFlush() CapStart()

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