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

     NNETPFUNCS(<cDevice>,[<cServer>,<nConId>]) --> aFuncs

     Netware: 2.2 and 3.11

 Arguments

     <cDevice>  Designates the name for the device for which the
     functions 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

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

 Description

     NOVELL NET PRINT FUNCTIONS
     Netware allows you to manage printer and form information in a database
     (NET$PRN.DAT).  For each device, functions are defined to put the device
     into specific modes.  NNETPFUNCS() returns a list of functions defined
     for <cDevice>.  This allows you to link the printer control to the
     Netware printer management within your application.

 Example

     Determine and display the functions for device HPLJ:

     aFuncs = NNETPFUNCS('HPLJ')
     FOR i = 1 TO LEN(aFuncs)
     ? aFuncs[i]
     NEXT i

See Also: NNETPFUNCO()

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