Function NnetJFlags() Foundation
Retrieves or sets job control flags.
NnetJFlags( <cPrintQueueName> , ;
<nPrintJobNumber> , ;
[<nControlFlags>] , ; // Default: NIL
[<cFileServer|nConnectID>] ; // Default: NnetSname()
) --> nJobControlFlags
Returns the job control flags as a numeric value. Use function IsBit() to detect which flags are set (see table below).
To change one or more job control flags, add the numeric values from the following table and use the sum for <nControlFlags>.
Bit set | Value | Description |
---|---|---|
4 | 8 | Service Auto-Start flag When this bit is set, the job will be serviced if a job server connection is broken even if the client has not started the job. |
5 | 16 | Service Restart flag When this bit is set, the job remains in the queue if the server aborts the job. Otherwise the job is removed from the queue when the server aborts the job. |
6 | 32 | Entry Open flag When set, this bit indicates that the job is not closed yet and not ready to be processed. |
7 | 64 | User Hold flag When this bit is set, the job advances in the queue but will not be processed until the bit is cleared either by the job owner or by a queue operator. |
8 | 128 | Operator Hold flag y a queue operator. |
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.