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>nnetcrtq()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETCRTQ()
 Creates a new print queue
------------------------------------------------------------------------------
 Syntax

     NNETCRTQ(<cQueue>,[<cQueuePath>]) --> lSuccess

     Netware: 2.2 and 3.11

 Arguments

     <cQueue>  Designates the name of the queue that is created.

     <cQueuePath>  Designates the directory where the new queue is
     created.

 Returns

     NNETCRTQ() returns .T. if the new queue (<cQueue>) has been created
     successfully.  If an error occurs, the Novell error code can be queried
     with the NNETERROR() function.

 Description

 NOVELL NET CREATE QUEUE

     NNETCRTQ() allows you to create a new print queue on a file server.  In
     addition to the name of the queue (<cQueue>), you can specify the
     directory (<cQueuePath>) where the new queue is created.  If no
     directory is passed, the queue directory is established in the
     SYS:SYSTEM directory of the default server.  Supervisor rights are
     required to create a new print queue.

 Examples

     .  Create the queue LINEPRINTER on the default server:

        IF NNETCRTQ('LINEPRINTER')
        ? 'Queue created successfully!'
        ELSE
        ? 'Queue could not be created!'
        ENDIF

     .  Create the queue LINEPRINTER on the file server DEV:

        NNETCRTQ('LINEPRINTER','DEV/SYS:SYSTEM')

See Also: NNETADDQUS() NNETDELQ()

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