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> capsetup()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CapSetup()
------------------------------------------------------------------------------
 Purpose:
 Set up print capturing.

 Syntax:
 bResult = CapSetup( iLPTNum )

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

 Returns:
 A boolean value (TRUE or FALSE).

 Description:
 CapSetup() returns TRUE if print capturing was successfully set up.

 Returns FALSE if an error occurs and capturing was not set up. This
 function must be called before capturing is started using CapStart().

 Example:
 // To set up printer capturing on LPT1: and start the capture:
 if ( CapSetup( 1 ) )
    if ( CapStart( 1 ) )
       ?" Print capturing of LPT1: is now activated"
    endif
 endif

See Also: CapFSGet() CapStart() CapEnd()

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