Function NnetPsPSta() Foundation
Retrieves status information about a printer serviced by a print server.
NnetPsPSta( <cPrintServerName> , ;
<nPrinterNumber> , ;
[<cFileServer|nConnectID>] ; // Default: NnetSname()
) --> nPrinterStatus
Returns a numeric value which indicates the current status of the printer <nPrinterNumber> or -1 in case of an error. #define constants found in XBTNWPS.CH are used to identify the printer status:
Constant | Description |
---|---|
PST_WAIT_JOB | Printer waits for a job |
PST_WAIT_FORM | Printer waits for a form |
PST_PRINT | Printer is printing a job |
PST_PAUSED | Printer has paused |
PST_STOPPED | Printer is stopped |
PST_MARK | Printer marks top of page |
PST_GO_DOWN | Printer is ready to shut down |
PST_NOT_CON | Remote printer is not connected |
PST_PRIVATE | Remote printer is in private mode |
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.