This structure provides printing parameters for the IG_PDF_doc_print function.
Declaration:
|
Copy Code
|
typedef struct tagAT_PDF_PRINTOPTIONS
{
AT_DWORD size;
LPAT_PDF_PRINTPARAMS printParams;
AT_PDF_BOOL emitToFile;
HIG_PDF_STREAM printStm;
AT_WORD paperWidth;
AT_WORD paperHeight;
AT_DWORD dontEmitListLen;
char** dontEmitList;
AT_PDF_BOOL emitToPrinter;
char* command;
LPVOID cancelProc;
LPVOID clientData;
int startResult;
LPVOID userCallbacks;
int nCopies;
AT_UINT PPDFeatures;
AT_UINT ppdFileName;
} AT_PDF_PRINTOPTIONS;
typedef AT_PDF_PRINTOPTIONS FAR* LPAT_PDF_PRINTOPTIONS;
|
Members:
Name |
Type |
Description |
size |
AT_DWORD |
Size |
printParams
|
LPAT_PDF_PRINTPARAMS |
AT_PDF_PRINTPARAMS structure. Applies to PostScript file.
|
emitToFile
|
AT_PDF_BOOL |
Create a PostScript file; must be FALSE for now.
|
printStm
|
HIG_PDF_STREAM |
Writeable HIG_PDF_STREAM that points to file stm or proc stm.
|
paperWidth
|
AT_WORD |
Width of paper in points.
|
paperHeight
|
AT_WORD |
Height of paper in points.
|
dontEmitListLen
|
AT_DWORD |
Number of fonts that should not be downloaded.
|
dontEmitList
|
char** |
List of fonts (T1, TT, CID) that should not be downloaded.
|
emitToPrinter
|
AT_PDF_BOOL |
Output PDF file to a PS or non-PS printer; must be TRUE for now.
|
command
|
char* |
Optional command line arguments, used only if emitToPrinter is true.
Example: "lp" or "lpr"
|
cancelProc
|
LPVOID |
CancelProc and clientData are optional for emitToFile or emitToPrinter. LPFNIG_PDF_PRINTCANCELPROC callback function.
|
clientData
|
LPVOID |
Optional data passed to cancelProc. Applies to both PostScript printer and file.
|
startResult
|
int |
Spooler ID from StartDoc().
|
userCallbacks
|
LPVOID |
Unused. Set to 0.
|
nCopies
|
int |
Unused. Set to 0.
|
PPDFeatures
|
AT_UINT |
Unused. Set to 0.
|
ppdFileName
|
AT_UINT |
Unused. Set to 0.
|