Function NnetPsnPrn() Foundation

Retrieves the number of printers serviced by a print server.

Syntax
NnetPsnPrn( <cPrintServerName>        , ;
            [<cFileServer|nConnectID>]  ;  // Default: NnetSname()
          ) --> nPrinterCount
Return

Returns a numeric value which indicates the number of printers (including remote printers) serviced by the print server <cPrintServerName> or -1 in case of an error.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.