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>nnetjcpl()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETJCPL()
 Sets or determines the number of characters per line for a job
------------------------------------------------------------------------------
 Syntax

     NNETJCPL(<cQueue>,<nJob>,[<nNewChar>],[<cServer>|
        <nConId>]) --> nChar

     Netware: 2.2 and 3.11

 Arguments

     <cQueue>  Designates the name of the print queue that is accessed.

     <nJob>  Designates the job number of the job that is processed in
     <cQueue>.

     <cNewChar>  Designates the new number of characters per line for
     <nJob>.

     <cServer>  Designates the name of the file server on which <cQueue>
     is processed.  Your workstation must be attached to <cServer>.

     <nConId>  Designates the connection ID of your workstation on
     <cServer>.

 Returns

     NNETJCPL() returns the number of characters per line for  <nJob>.  If an
     error occurs, the function returns -1.

 Description

     NOVELL NET CHARACTERS PER LINE
     With NNETJCPL(), you can set or determine the number of characters per
     line for <nJob>.  To query the number of copies, do not pass a value for
     <nNewChar>.  A new number of characters can be set by passing the
     selected number.  The number of characters is simply informative; this
     information is not evaluated by Netware.

     The required job is specified by its job number.  The job number has
     nothing to do with the logical position of a job within a queue; for
     example, the job with the highest priority in a queue is not
     automatically job number 1.  The job number must be determined with
     NNETCAPJOB() or NNETJLIST().

 Examples

     .  Determine the number of characters for the first job in the
        queue LINEPRINTER:

        nJob = BIN2I(LEFT(NNETJLIST('LINEPRINTER'), 2))
        ? NNETJCPL('LINEPRINTER', nJob)

     .  Set the number of characters for the first job in the queue
        LINEPRINTER to 72:

        nJob = BIN2I(LEFT(NNETJLIST('LINEPRINTER'), 2))
        ? NNETJCPL('LINEPRINTER', nJob, 72)

See Also: NNETJLPP() NNETJTXT()

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