Function NnetPsType() Foundation

Determines the type of a print server.

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

Returns a numeric value which indicates the type of the print server <cPrintServerName> or -1 in case of an error. #define constants found in XBTNWPS.CH are used to identify a print server's type:

Return values of NnetPsType()
Constant Description
PSTYP_DOS Dedicated DOS print server
PSTYP_NLM Print server is a NetWare loadable module
PSTYP_FSVAP Value Added Process on a file server
PSTYP_BRGVAP Value Added Process on a bridge

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.