Function NnetPsAddQ() Foundation

Assigns a printer serviced by a print server to a queue.

Syntax
NnetPsAddQ( <cPrintServerName>        , ;
            <nPrinterNumber>          , ;
            <cPrintQueueName>         , ;
            [<nPriority>]             , ;  // Default: 1
            [<cFileServer|nConnectID>]  ;  // Default: NnetSname()
          ) --> lSuccess
Return

Returns .T. if the printer with number <nPrinterNumber> could be assigned to the print queue <cPrintQueueName>.

Description

<nPrinterNumber> is a numeric value between 0 and 15 which indicates the printer connected to the print server (Up to 16 printers can be serviced by one print server).

For <nPriority> a value between 1-10 is valid, with 1 being the highest priority.

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.