Function NnetJPos() Foundation

Retrieves or changes the position of a job in a queue.

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

Returns the ordinal position of a job in a queue as numeric value or -1 in case of an error.

Description

Note that <nPrintJobNumber> is not a sequential number of print jobs but a unique value used to identify a job. It can be retrieved using NnetCapJob() or NnetJList().

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.