Function NnetPsQL() Foundation

Retrieves information about queues serviced by a printer.

Syntax
NnetPsQL( <cPrintServerName>        , ;
          <nPrinterNumber>          , ;
          [<cFileServer|nConnectID>]  ;  // Default: NnetSname()
        ) --> aPrintQueueList
Return

Returns a two dimensional array with information about queues serviced by the printer <nPrinterNumber>. #define constants are found in XBTNWPS.CH to access the subarrays:

Structure of the NnetPsQL() Subarray
Element Constant Datatype Description
1 QL_SERVER C Name of file server
2 QL_NAME C Print queue name
3 QL_PRIOR N Priority of print 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.