Specifies printing options. A combination of values from PRINTFLAG is passed in the grfFlags parameter of IPrint::Print.
typedef enumMembers{
PRINTFLAG_MAYBOTHERUSER = 1,
PRINTFLAG_PROMPTUSER = 2,
PRINTFLAG_USERMAYCHANGEPRINTER = 4,
PRINTFLAG_RECOMPOSETODEVICE = 8,
PRINTFLAG_DONTACTUALLYPRINT = 16,
PRINTFLAG_FORCEPROPERTIES = 32,
PRINTFLAG_PRINTTOFILE = 64
} PRINTFLAG;
PRINTFLAG_MAYBOTHERUSER
User interaction permitted. If this flag is not set, no part of the printing process may interact with the user.
PRINTFLAG_PROMPTUSER
Prompt the user for job-specific printing options, using the normal print dialog for the object. Support for this option is required. Only valid if PRINTFLAG_MAYBOTHERUSER is specified.
PRINTFLAG_USERMAYCHANGEPRINTER
Only valid if PRINTFLAG_PROMPTUSER is specified. Indicates that the user may change the target printer; in the absence of this flag, the user must print on the default printer.
PRINTFLAG_RECOMPOSETODEVICE
The object should attempt to recompose itself to the indicated target device. In the absence of this flag, the object should, if possible, retain any existing compositional-device association that it may have.
PRINTFLAG_DONTACTUALLYPRINT
Carry out actions resulting from user actions or object-recomposition, but donÆt actually carry out the printing operation.
PRINTFLAG_PRINTTOFILE
Print to the file that is named in the portname field of DVTARGETDEVICE.
See Also