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

     NNETPJCOPY([<cJob>],[<nNewCopies>],[<cUser>],
        [<cServer>|<nConId>]) --> nCopies

     Netware: 2.2 and 3.11

 Arguments

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

     <nNewCopies>  Designates the new number of copies for <cJob>.  The
     maximum number of copies is 255.

     <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

     NNETPJCOPY() returns the number of copies of <cJob> that are printed.
     If an error occurs, the function returns -1.

 Description

     NNETPJCOPY() allows you to set or query the number of copies within a
     print job definition.  To query the number of copies, do not pass a
     value for <nNewCopies>.  If <cUser> is not the current user, access
     rights for the mail system of the user are required.

 Examples

     .  Determine the number of copies in print job definition MYJOB:

        ? NNETPJCOPY('MYJOB')

     .  Set the number of copies in print job definition MYJOB to 3:

        ? NNETPJCOPY('MYJOB', 3)

See Also: NNETJCOPY()

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