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>nnetpscand()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETPSCAND()
 Cancels the down request of a print server
------------------------------------------------------------------------------
 Syntax

     NNETPSCAND(<cPServer>,[<cServer>|<nConId>]) --> lSuccess

     Netware: 2.2 and 3.11

 Arguments

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

     <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

     NNETPSCAND() returns .T. if a running down request of <cPServer> has
     been canceled successfully.

 Description

     NOVELL NET PRINT SERVER CANCEL DOWN (REQUEST)
     If a print server receives a down request, it can continue to process
     active jobs.  Within this time period, the down request can be canceled
     with NNETPSCAND().  This function requires operator rights for
     <cPServer>.

 Example

     Cancel the down request for the print server PSERVER:

     // Start down request
     NNETPSDOWN('PSERVER')

     IF .NOT. NNETPSCAND('PSERVER')
        ? 'Down request cannot be canceled!'
     ENDIF

See Also: NNETPSDOWN()

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