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> capnotifyflagget() / capnotifyflagset()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CapNotifyFlagGet() / CapNotifyFlagSet()
------------------------------------------------------------------------------
 Purpose:
 Get or set the capture notify flag.

 Syntax:
 bFlag = CapNotifyFlagGet( iLPTNum )
 bFlag = CapNotifyFlagSet( iLPTNum, bNewFlag )

 Parameters:
 iLPTNum  The LPT device. 1=LPT1: 2=LPT2: 3=LPT3:
 bNewFlag The capture notify flag.

 Returns:
 A boolean value (TRUE or FALSE).

 The CA-Clipper names for these functions are:
 CapNfyFlgGet() / CapNfyFlgSet()

 Description:
 CapNotifyFlagGet() returns whether the workstation is notified with a
 message when its print job has been sent to the specified LPT device
 iLPTNum.

 CapNotifyFlagSet() sets the notify flag to the value specified by bNewFlag
 for the LPT device iLPTNum, and returns the previous setting.

 Example:
 // To turn notify on for LPT2: so that the workstation will be
 // informed when the print job has been sent to the printer:
 CapNotifyFlag( 2, TRUE )
 if (CapNotifyFlagGet( 2 ))
    ? "The notify flag for LPT2: has been set on"
 endif

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

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