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>nnetpjdef()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETPJDEF()
 Sets or queries the default print job for a user
------------------------------------------------------------------------------
 Syntax

     NNETPJDEF([<cNewDefault>],[<cUser>],[<cServer>|
        <nConId>]) --> cDefault

     Netware: 2.2 and 3.11

 Arguments

     <nNewDefault>  Designates an optional parameter that sets a new
     print job definition.  The definition must already exist.

     <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

     NNETPJDEF() returns the name of the default job definition for <cUser>.

 Description

     In general, all NNETPJXXX() functions that refer to a print job
     definition access the default job definition.  NNETPJDEF() allows you to
     set or query the name of the default job definition.  If <cUser> is not
     the current user, access rights for the mail system of the user are
     required.

 Examples

     .  Determine the name of the default job definition for the
        current user:

        ? NNETPJDEF()

     .  Set MYJOB as the default job definition for the current user:

        ? NNETPJDEF('MYJOB')

See Also: NNETPJADD()

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