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>nnetpmodes()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETPMODES()
 Determines the mode name for a device
------------------------------------------------------------------------------
 Syntax

     NNETPMODES(<cDevice>,[<cServer>,<nConId>]) --> aModes

     Netware: 2.2 and 3.11

 Arguments

     <cDevice>  Designates the name of the device for which the modes are
     determined.

     <cServer>  Designates the name of the file server for which the
     device definitions are used.  Your workstation must be attached to
     <cServer>.

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

 Returns

     NNETPMODES() returns a one-dimensional array that contains the names of
     the modes defined for <cDevice>.

 Description

     NOVELL NET PRINT MODES
     Netware allows you to manage printer and form information in a database
     (NET$PRN.DAT).  For each device you can define modes that contain
     functions for <cDevice>.  NNETPMODES() returns a list of modes defined
     for <cDevice>.

 Example

     Determine and display the modes for device HPLJ:

     aModes = NNETPMODES('HPLJ')
     FOR i = 1 TO LEN(aModes)
     ? aModes[i]
     NEXT[i]

See Also: NNETPMODFU()

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