Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetpjcap()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETPJCAP()
 Sets or queries the capture mode for a print job
------------------------------------------------------------------------------
 Syntax

     NNETPJCAP([<cJob>],[<lNewCap>],[<cUser>],[<cServer>|
        <nConId>]) --> lCaptureMode

     Netware: 2.2 and 3.11

 Arguments

     <cJob>  Designates the selected print job definition.  The default
     value designates the default job.

     <lNewCap>  Designates an optional parameter that allows you to set a
     new capture mode for <cJob>.  When this parameter is .T., the function
     activates the auto end capture mode.

     <cUser>  Designates the name of the user whose print job definition
     is processed.  The default value designates the current user.

     <cServer>  Designates the name of the file server on which the
     operation is processed.  Your workstation must be attached to <cServer>.

     <nConId>  Designates the connection ID of your workstation on
     <cServer>.

 Returns

     NNETPJCAP() returns .T. if the auto end capture mode has been activated.

 Description

     NOVELL NET PRINT JOB CAPTURE MODE
     Under Netware, two capture modes are possible.  If the auto end capture
     mode is activated, open print jobs are closed automatically when the
     application has been terminated or the printer device has been closed.
     If the auto end capture mode is not activated, open jobs are closed when
     the timeout value is exceeded, or the ENDCAP utility or the CA-Clipper
     Tools NNETCAPEND() function are called.  NNETPJCAP() allows you to query
     or set the capture mode in a print job definition.  If <cUser> is not
     the current user, access rights for the mail system of the user are
     required.

 Examples

     .  Determine the capture mode in the job definition MYJOB:

        IF NNETPJCAP('MYJOB')
        ? 'Auto end capture activated'
        ELSE
        ? 'Auto end capture mode not active'
        ENDIF

     .  Activate the auto end capture mode in the job definition
        MYJOB:

        ? NNETPJCAP('MYJOB', .T.)

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson