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

 Syntax:
 bFlag = CapNfyFlgGet( iLPTNum )
 bFlag = CapNfyFlgSet( 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).

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

 CapNfyFlgSet() 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 (CapNfyFlgGet( 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