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>nnetpfunco()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETPFUNCO()
 Determines the control sequences of a function definition
------------------------------------------------------------------------------
 Syntax

     NNETPFUNCO(<cDevice>,<cFunc>,[<cServer>,<nConId>])
        --> cControl

     Netware: 2.2 and 3.11

 Arguments

     <cDevice>  Designates the name of the device that is processed.

     <cFunc>  Designates the name of a function that is established for
     <cDevice>.

     <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

     NNETPFUNCO() returns the control sequence defined in NET$PRN.DAT for the
     function <cFunc> of <cDevice>.

 Description

     NOVELL NET PRINT FUNCTION CODES
     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.  With NNETPFUNCO(), you can determine the control
     sequence for <cFunc> of <cDevice>.  This allows you to link the printer
     control to the Netware printer management within your application.

 Example

     Determine the control sequence for the reset function of the device
     HPLJ, and send it to the printer:

     PRINTSEND(NNETPFUNCO('HPLJ', 'RESET'))

See Also: NNETPFUNCS()

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