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> capformfeedget() / capformfeedset()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CapFormFeedGet() / CapFormFeedSet()
------------------------------------------------------------------------------
 Purpose:
 Enable / disable form feed after capture.

 Syntax:
 bFlag = CapFormFeedGet( iLPTNum )
 bFlag = CapFormFeedSet( iLPTNum, bNewFlag )

 Parameters:
 iLPTNum  The LPT device. 1=LPT1: 2=LPT2: 3=LPT3:
 bNewFlag The enable/disable form feed flag.

 Returns:
 A boolean value (TRUE or FALSE).

 The CA-Clipper names for these functions are:
 CapFmFdGet() / CapFmFdSet()

 Description:
 CapFormFeedGet() returns TRUE if the form feed flag is set, or FALSE if
 the flag is not set or an error occurs.

 CapFormFeedSet() is used to set, using bNewFlag,  whether a form feed
 should be sent to the specified LPT device iLPTNum after the print job has
 printed. CapFormFeedSet() also returns the previous setting.

 Example:
 // To return the current state of the form feed flag on LPT2:

 FeedFlag = CapFormFeedGet( 2 )
 if ( NWErrorGet() = 0 )
    ? "The automatic form feeds flag for LPT2: is ", FeedFlag
 endif

 // To disable the automatic form feed after print jobs on LPT1:

 CapFormFeedSet( 1, FALSE )
 if ( NWErrorGet() = 0 )
    ? "Automatic form feeds on LPT1: have been disabled"
 endif

 Notes:
 If FALSE is returned, check NWErrorGet().

See Also: CapFormNameGet() / CapFormNameSet() CapFormNumberGet() / CapFormNumberSet()

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