bvGetDevMode
The function returns a pointer to the DEVMODE structure of given printer.
BESTVIEWAPI(PDEVMODE) bvGetDevMode(LPCTSTR pszPrinterName);
Parameters:
-
pszPrinterName - the name of printer
Return value: pointer to the preallocated DEVMODE structure of given printer.