[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FN_SSPCAPF()
 Set Specific Capture Flags
------------------------------------------------------------------------------
 Syntax
 
      fn_sSPCapF(<aFlags>,<nDevice>) -> NIL
 
 Arguments

     <aFlags> the structure for aflags is in netto.ch

     <nDevice> LPT device, 1 - LPT1, 2 - LPT2, 3 - LPT3

 Returns

     NIL

 Description

  This function sets capture flags for a specific device.  First you must
  get the default capture flags useing the fn_gSPCapF() function.  It will
  return an array which is described in fn_gDefCpF in more detail and
  defined in netto.ch.  Then make any changes to the flags and pass the
  array to fn_sSPCapF(aFlags,1).  Only changes up to CF_FORMNAME or element
  15 in the array are allowed.

 Examples

  #include "netto.ch"
  FUNCTION Main
  LOCAL aFlags := Array(CF_FLAGCOUNT)
    aFlags[CF_PRINTFLAGS]   := Array(CF_PRINTFLAGCOUNT)
    aFlags[CF_NUMBERCOPIES] := 2
    fn_sSPCapF(aFlags, 3)
  RETURN (NIL)


 Source: N:\SRC\PRINT\CAPFLAGS.PRG

 Author: Kevin Maher/Steve Tyrakowski

See Also: fn_gDefCpF() fn_sDefCpF() fn_gSPCapF()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson