Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetpscno()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETPSCNO()
 Changes the settings for the object that is notified
------------------------------------------------------------------------------
 Syntax

     NNETPSCNO(<cPServer>,<nPrinter>,<cObjName>,[<nObjType>],
        [<nFirst>],[<nNext>],[<cServer>|<nConId>]) --> lSuccess

     Netware: 2.2 and 3.11

 Arguments

     <cPServer>  Designates the name of the print server that is
     accessed.

     <nPrinter>  Designates the number of the printer on <cPServer>.
     Values between 0 and 15 are possible.

     <cObjName>  Designates the name of the bindery object (for example,
     a user) that is defined as the object to notify for <nPrinter> on
     <cPServer>.

     <nObjType>  Designates a numeric value that indicates the type of
     <cObjName>.    The header file CTNNET.CH contains symbolic constants for
     the object types defined by Novell for use with the bindery functions of
     CA-Clipper Tools.  The default value designates the object type
     OBJ_USER.

     <nFirst>  Designates a time value in seconds that specifies the
     waiting period between when a problem occurs and the first message.  The
     default value designates no modification.

     <nNext>  Designates a time value in seconds that specifies the
     length of the interval between two messages.  The default value
     designates no modification.

     <cServer>  Designates the name of the file server used to access
     <cPServer>.  The print server checks login information on <cServer>.
     Therefore, the access rights can depend on the specified file server.
     Your workstation must be attached to <cServer>.

     <nConId> Designates the connection ID of your workstation on
     <cServer>.

 Returns

     NNETPSCNO() returns .T. if the values for <nFirst> and <nNext> have been
     changed as requested.  If an error occurs (for example, no operator
     rights), the function returns .F..

 Description

     NOVELL NET PRINT SERVER CHANGE NOTIFY (OBJECT)
     NNETPSCNO() allows you to change the waiting period for the first
     message after a problem has occurred (<nFirst>) and the time period
     between the following messages (<nNext>).  This function requires
     operator rights for <cPServer>.  For efficiency reasons, numeric values
     for <nObjType> must be passed in the high-low format.

 Example

     Set the waiting period for the first message to 10 seconds, and set the
     time interval between the following messages to 30 seconds:

     IF NNETPSCNO('PSERVER',0,'MICK',,10,30)
        ? 'Values changed successfully!'
     ELSE
        ? 'Error!'
     ENDIF

See Also: NNETPSANO() NNETPSDNO()

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