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>nnetjban()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETJBAN()
 Determines if a banner page is printed for a job
------------------------------------------------------------------------------
 Syntax

     NNETJBAN(<cQueue>,<nJob>,[<lNewTitle>],[<cServer>|
        <nConId>]) --> lTitle

     Netware: 2.2 and 3.11

 Arguments

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

     <lNewTitle>  Designates whether a banner page for <nJob> is printed
     (.T.) or not (.F.).

     <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

     NNETJBAN() returns .T. if a banner page is printed.

 Description

     NOVELL NET JOB BANNER PAGE
     Under Netware, a banner page can be printed before each print job to
     show the user name.  However, if a banner page is not necessary, it can
     be suppressed by passing the parameter <lNewTitle> with .F..

     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 if a banner page is printed for the first job in the
        queue LINEPRINTER:

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

     .  Suppress the banner page for the first job in the queue
        LINEPRINTER:

        nJob = BIN2I(LEFT(NNETJLIST('LINEPRINTER'), 2))
        ? NNETJBAN('LINEPRINTER', nJob, .F.)

See Also: NNETJBFILE() NNETPJBAN()

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