Function NnetPsProb() Foundation

Identifies problems with a printer serviced by a print server.

Syntax
NnetPsProb( <cPrintServerName>        , ;
            <nPrinterNumber>          , ;
            [<cFileServer|nConnectID>]  ;  // Default: NnetSname()
          ) --> nProblemCode
Return

Returns a numeric value which indicates common problems which may occur on a printer while serviced by a print server. #define constants found in XBTNWPS.CH are used to identify a problem:

Return values of NnetPsProb()
Constant Description
-1 Calling error
PPROB_NONE No problem detected
PPROB_OFFLINE Printer is off line
PPROB_NOPAPER Printer has no paper

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.