Function NnetPsStat() Foundation
Retrieves status of a print server.
NnetPsStat( <cPrintServerName> , ; // Type: C
[<cFileServer|nConnectID>] ; // Default: NnetSname()
) --> nPrintServerStatus
Returns a numeric value which indicates the status 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 status:
Constant | Description |
---|---|
PSTAT_RUNNING | Print server is running |
PSTAT_GO_DOWN | Print server has received Server Down request |
PSTAT_DOWN | Print server is down |
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.