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>nnetpjcrt()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETPJCRT()
 Creates an empty print job file
------------------------------------------------------------------------------
 Syntax

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

     Netware: 2.2 and 3.11

 Arguments

     <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

     NNETPJCRT() returns .T. if the print job file has been created
     successfully.

 Description

     NOVELL NET PRINT JOB (DEFINITION FILE) CREATE
     NNETPJCRT() allows you to create an empty job definition file
     (PRINTCON.DAT) for the current user or any other user.  Job definitions
     can be added to this file by calling NNETPJADD().  If <cUser> is not the
     current user, access rights for the mail system of the user are
     required.

 Note

     Important!  If a print job file for <cUser> already exists, all job
     entries are lost when you call NNETPJCRT().

 Example

     Create a new job definition file for the current user:

     cDef = 'SYS:MAIL/+REMLEFT(NNETUSERID(), '0')+'PRINTCON.DAT'
     IF !FILE(cDef)
     NNETPJCRT()
     ENDIF

See Also: NNETPJADD()

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