Function NnetQStat() Foundation

Retrieves or changes the queue status.

Syntax
NnetQStat( <cPrintQueueName>         , ;
           [<nStatus>]               , ;  // Default: NIL
           [<cFileServer|nConnectID>]  ;  // Default: NnetSname()
         ) --> nStatus
Return

Returns the queue status as a numeric value or -1 in case of an error. Use function IsBit() to identify different states (see table below).

Description

To change one or more queue status flags, add the numeric values from the following table and use the sum for <nStatus>.

Bits set for queue status
Bit set Value Description
2 2 Currently no jobs can be added to the queue
3 4 Currently no print servers can be attached
5 16 Currently no jobs are processed in the queue

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.