I am developing a Bitmap virtual printer driver based on Microsoft
Universal Printer Driver(Unidrv)
Problem is inside driver i am not getting the value of "dmCollate"
member of "DEVMODE"
I read in MSDN they specify This member is ignored unless the printer
driver indicates support for collation by setting the dmFields member
to DM_COLLATE. also try after set dmFields to DM_COLLATE but then also
i am not getting the value of dmCollate.
I tried using
PDEVMODEW pDevMode;
pDevMode = (PDEVMODEW)pDevObj->pPublicDM;
pDevMode->dmFields = DM_COLLATE;
But i am not getting the value of "pDevMode->dmCollate"
If any one have idea on this topic then please help me.
Thanks in advance