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>nnetpspnam()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETPSPNAM()
 Determines the name of a print server printer
------------------------------------------------------------------------------
 Syntax

     NNETPSPNAM(<cPServer>,<nPrinter>,[<cServer>|<nConId>])
        --> cName

     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.

     <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 therefore depend on the specified file
     server.  Your workstation must be attached to <cServer>.

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

 Returns

     NNETPSPNAM() returns the name of <nPrinter> on <cPServer>.  If an error
     occurs, the function returns an empty string.

 Description

     NOVELL NET PRINT SERVER PRINTER NAME
     In a print server, configuration names can be assigned to print server
     printers.  NNETPSPNAM() allows you to determine the name for a print
     server printer (<nPrinter>).

 Example

     Determine the name of printer 0 on print server PSERVER:

     ? NNETPSPNAM('PSERVER',0)

See Also: NNETPSNPRN()

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