
how to set an arbitrary printer driver in print dialog box without showing the dialog box
I want to set an arbitrary printer driver in print dialog box (CPrintDialog
object) without showing the Print Dialog Box using DevName and DEVMODE
structure . To set a printer driver MSDN says "initialize a DEVMODE and a
DEVNAMES structure and assign the global memory handle for the structure to
the hDEvMode and hDevNames members." Is there anyone who know how to do it,
and can help me.
Sam Ohnuki