I would like to skip the Printer dialog in OnPrepare Printing and enter a printer name directly. I would like to have the printe preview function and so I suppose that the framework should create the DC.
I would like to skip the Printer dialog in OnPrepare Printing and enter a printer name directly. I would like to have the printe preview function and so I suppose that the framework should create the DC.
Take a look at the CPrintInfo::m_bDirect and CPrintInfo::m_pPD members. They probably will do what you want.
LA Leonard - Definitive Solutions, Inc.