Function NnetPsDown() Foundation

Issues Print Server Down request.

Syntax
NnetPsDown( <cPrintServerName>        , ;
            [<lAbortCurrentJobs>]     , ;  // Default: .F.
            [<nAbortMode>]            , ;  // Default: PSJ_RET2Q
            [<cFileServer|nConnectID>]  ;  // Default: NnetSname()
          ) --> lSuccess
Return

Returns .T. if the Print Server Down request is sent successfully.

Description

If <lAbortCurrentJobs> is omitted or set .F. the down request can be cancelled with NnetPsCanD() as long as there are jobs currently being printed.

If <lAbortCurrentJobs> is set .T. the print server is immediately shut down even if current jobs are not finished. In this case <nAbortMode> determines whether to return the current jobs to the queue (= PSJ_RET2Q) or to discard the jobs (= PSJ_THROWAWAY).

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.