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>nnetpjlpt()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETPJLPT()
 Sets the LPT device for a print job definition
------------------------------------------------------------------------------
 Syntax

     NNETPJLPT([<cJob>],[<nNewLPT>],[<cUser>],[<cServer>|
        <nConId>]) --> nLPT

     Netware: 2.2 and 3.11

 Arguments

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

     <nNewLPT>  Designates a new LPT device for <cJob>.  Values from 1 to
     3 (LPT1 to LPT3) are valid.

     <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

     NNETPJLPT() returns the LPT device.  A return value of -1 indicates an
     error.

 Description

     NOVELL NET PRINT JOB LPT
     A local parallel interface, referred to the definition, must be
     specified for each print job definition.  The LPT device of a print job
     definition can be set or queried by calling NNETPJLPT().  Do not pass a
     value for <cNewLPT> to query the LPT device.  A new LPT device can be
     set by designating a value for <cNewLPT> between 1 and 3 for LPT1 to
     LPT3.  If <cUser> is not the current user, access rights for the mail
     system of the user are required.

 Examples

     .  Determine the LPT device in the job definition MYJOB:

        ? NNETPJLPT('MYJOB')

     .  Set the LPT device in the job definition MYJOB to 2:

        ? NNETPJLPT('MYJOB', 2)

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