From: Tenwang on
The input parameter pDevMode is always NULL in DrvDeviceCapibilities() for
wCapability values DC_BINS and DC_BINNAMES.
I need an application copy of printer devmode in this case. I tried using
GetPrinter(), but it gave me the default devmode(the one set from Printer &
Faxes).

Does anyone know how do to that?

(Application copy of devmode will have the devmode values set in application.)


From: Tenwang on
Here, I am using Word 2003 & Word 2002. These two always gives pDevmode=NULL
for wCapability values DC_BINS and DC_BINNAMES.
However, Word 2007 gives the correct DEVMODE values.