[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FN_SDEFCPF()
Set Default Capture Flags
------------------------------------------------------------------------------
Syntax
fn_sDefCPF(<aFlags>) -> NIL
Arguments
<aFlags> the structure for aflags is in netto.ch
Returns
<aCapFlags> is an array filled with the printer job flags for the
specified LPT. The Array is defined in netto.ch
Description
This function sets capture flags for the default LPT. First you must
get the default capture flags useing the fn_gDefCpF 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_sDefCPF(aFlags). 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_sDefCpF(aFlags)
RETURN (NIL)
Source: N:\SRC\PRINT\CAPFLAGS.PRG
Author: Kevin Maher/Steve Tyrakowski
See Also:
fn_gDefCpF()
fn_gSPCapF()
fn_sSPCapF()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson