Function NnetPsAJob() Foundation
Tells a print server to abort the currently printed job.
NnetPsAJob( <cPrintServerName> , ;
<nPrinterNumber> , ;
[<nAbortMode>] , ; // Default: PSJ_RET2Q
[<cFileServer|nConnectID>] ; // Default: NnetSname()
) --> lSuccess
Returns .T. if the job is aborted which currently gets printed on the printer <nPrinterNumber>.
Two #define constants from XBTNWPS.CH are used to specify <nAbortMode>:
PSJ_RET2Q
The current job is returned to the queue (default). Note that the Service Restart flag must be set (refer to NnetJFlags()).
PSJ_THROWAWAY
The current job is aborted and discarded.
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.