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>nnetcapssf()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETCAPSSF()
 Sets the Novell capture mode flags
------------------------------------------------------------------------------
 Syntax

     NNETCAPSSF(<nPrinter>,[<lPageFeed>,<lBanner>,
        <nServerPrinterNr>,<nTimeout>,<nTab>,<nCopies>,
        <nForm>]) --> lAmended

     Netware: 2.2 and 3.11

 Arguments

     <nPrinter>  Designates the number of the LPT device for which the
     flags are set.  LPT1(1) to LPT3(3) are possible.

     <lPageFeed>  Designates whether the form feed at the end of a print
     job is suppressed (.T.) or transmitted (.F.).  The default value is .F..

     <lBanner>  Designates whether a banner page is transmitted (.T.) or
     not (.F.).  The default value is .F..

     <nServerPrinterNr>  Designates the server printer number between 0
     and 4.  The default value for the server printer is 0.

     <nTimeout>  Designates if a timeout is used and which one.  When you
     input 0, print jobs are not "sent off" after a particular time span.
     However, you can specify a time delay in seconds.  The default value (0)
     specifies no timeout.

     <nTab>  Designates which tabs are used, if any.  If this parameter
     is a 0, there are no tabs.  You can designate tab values between 1 and
     18.  The default value (0) specifies no tabs.

     <nCopies>  Designates the number of copies of the print job that the
     server creates.  Values between 1 and 255 are valid.  The default value
     (1) creates one copy.

     <nForm>  Designates the form definition that the server uses during
     printing.  Values between 0 and 255 are valid.  The default value
     specifies that no form definition is used.

 Returns

     NNETCAPSSF() returns .T. when the flags for the capture system have been
     changed to the designated values.

 Description

     NOVELL NETWORK CAPTURE SET SPECIFIC FLAGS
     This function allows you to make settings for the Novell capture mode.
     These setting are normally done in conjunction with the CAPTURE command
     in the DOS environment or through the PRINTCON for the print job.  All
     capture mode settings must be complete before you initiate a START
     CAPTURE command, or there is no effect.

 Notes

     .  If this function has not yet been called during the course of
        an application, the values preset by Novell or those selected in the
        last capture mode apply.

     .  A precise description of the flags can be found in the Novell
        Command Utilities Handbook under the Capture Commands heading.

 Examples

     .  Configure a print job.  Specify LPT1; suppress the form feed,
        and the "banner page"; and specify server printer 1:

        ? NNETCAPSSF(1, .T., .F., 1)      // .T. when set

     .  Specify LPT2, with form feed and banner page, server printer
        0, a 5-second timeout, a tab width of 8, and two print copies:

        NNETCAPSSF(2, .F., .T., 0, 5, 8, 2)

See Also: NNETCAPBEG()

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