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

     NNETPJQ([<cJob>],[<cNewQueue>],[<cUser>],[<cServer>|
        <nConId>]) --> cQueue

     Netware: 2.2 and 3.11

 Arguments

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

     <nNewQueue>  Designates a new queue that is set for <cJob>.  The
     queue must exist on the file server currently defined in <cJob>.

     <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

     NNETPJQ() returns the name of the print queue in the job definition
     <cJob>.

 Description

     NOVELL NET PRINT JOB QUEUE
     A print job definition must contain the name of the print queue that is
     set as the target queue when the definition is activated.  The queue
     name can be set or queried by calling NNETPJQ().  Do not pass a value
     for <cNewQueue> to query the queue name.  A new queue can be set by
     specifying <cNewQueue>.  If <cUser> is not the current user, access
     rights for the mail system of the user are required.

 Examples

     .  Determine the queue in the job definition MYJOB:

        ? NNETPJPQ('MYJOB')

     .  Set the queue in the job definition MYJOB to LINEPRINTER:

        ? NNETPJQ('MYJOB', 'LINEPRINTER')

See Also: NNETPJFSRV()

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