PRINTNEW_SETTINGS | |
#include <editods.h> New Print Settings C definition
typedef struct { WORD Flags; /* PS_xxx */ WORD StartingPageNum; /* Starting page number */ WORD TopMargin; /* Height between body & page top */ WORD BottomMargin; /* Height between body & page bottom */ WORD ExtraLeftMargin; /* Extra left margin width (TWIPS) */ /* (beyond whats already specified in document) */ WORD ExtraRightMargin; /* Extra right margin width (TWIPS) */ /* (beyond whats already specified in document) */ WORD HeaderMargin; /* Height between header & page top */ WORD FooterMargin; /* Height between footer & page bot. */ WORD PageWidth; /* Page width override (TWIPS) */ /* (0 = "use printer's page width") */ WORD PageHeight; /* Page height override (TWIPS) */ /* (0 = "use printer's page height") */ WORD BinFirstPage; /* Index of bin for 1st page */ WORD BinOtherPage; /* Index of bin for other pages */ DWORD spare[3]; /* (spare words) */ } PRINTNEW_SETTINGS;
|