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

     NNETPJDEV([<cJob>],[<cNewDevice>],[<cUser>],
        [<cServer>|<nConId>]) --> cDevice

     Netware: 2.2 and 3.11

 Arguments

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

     <nNewDevice>  Designates a new device name for <cJob>.  The device
     name must have an entry in the printer definition file (NET$PRN.DAT) on
     <cServer>.

     <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

     NNETPJDEV() returns the device name in the job definition <cJob>.

 Description

     NOVELL NET PRINT JOB DEVICE
     A print job definition can contain the name of a device.  This name can
     be set or queried by calling NNETPJDEV().  Do not pass a value for
     <cNewDevice> to query the device name.  A device name can be set by
     specifying <cNewDevice>.  To reset a device name (set to none), the
     parameter <cNewDevice> must contain an empty string ("").  If <cUser> is
     not the current user, access rights for the mail system of the user are
     required.

 Note

     .  Setting a new device name resets the current device mode.  The
        mode can then be set by calling NNETPJMODE().

 Examples

     .  Determine the device name in the job definition MYJOB:

        ? NNETPJDEV('MYJOB')

     .  Set the device name in the job definition MYJOB to HPLJ:

        ? NNETPJDEV('MYJOB', 'HPLJ')

     .  Reset the device name in the job definition MYJOB to NONE:

        ? NNETPJDEV('MYJOB', '')

See Also: NNETPJFORM() NNETPJMODE()

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