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>nnetpjadd()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETPJADD()
 Adds a new print job definition
------------------------------------------------------------------------------
 Syntax

     NNETPJADD(<cJob>,[<cUser>],[<cServer>|<nConId>])
        --> lSuccess

     Netware: 2.2 and 3.11

 Arguments

     <cJob>  Designates the print job definition that is added.

     <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

     NNETPJADD() returns .T. if the print job definition has been added
     successfully.

 Description

     NOVELL NET PRINT JOB ADD
     NNETPJADD() allows you to add a new print job definition (<cJob>) for
     <cUser>.  The new job definition is created with default values that can
     be modified by calling other NNETPJXXX() functions.  To achieve results
     with NNETPJADD(), a print job file for <cUser> must exist
     (PRINTCON.DAT).  <cJob> must be unique, and the job file must have less
     than 37 entries.  If <cUser> is not the current user, access rights for
     the mail directory of the user are required.

 Example

     Add a new print job definition for the current user under the name
     MYJOB:

     IF NNETPJADD('MYJOB')
     ? 'Job definition has been added successfully'
     ELSE
     ? 'Error'
     ENDIF

See Also: NNETPJCRT()

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