Function NnetPsPMod() Foundation

Retrieves or changes the print queue service mode for a printer.

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

Returns a numeric value which indicates the queue service mode or -1 in case of an error. #define constants found in XBTNWPS.CH are used to identify a service mode:

Standard queue service modes
Constant Description
QSM_NEED Forms are changed as needed
QSM_MINQ Change of forms is minimized within a queue
QSM_NEVER Forms are never changed
QSM_MINACROSS Change of forms is minimized across queues

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.