Function NnetPsLOut() Foundation

Logs out a print server from a file server.

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

Returns .T. if the print server <cPrintServerName> was logged out from the file server <cLogoutServerName>.

Description

Note that <cFileServer> denotes the file server the workstation processing function NnetPsLOut() is logged in to.

If <lAbortCurrentJobs> is omitted or set .F. the print server finishes all jobs currently being printed before it logs out from the file server <cLogoutServerName>.

If <lAbortCurrentJobs> is set .T. the print server <cPrintServerName> is immediately logged out from <cLogoutServerName> 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.