Some Primitive yet causing me headache question
Hi all,
I have a print dialog problem. I want to change the printer shown in CPrintDialog before the DoModal() call. I have saved CPageSetupDialog structure which handles the wanted printer name...
I would appreciate any hint,
Thanks
Rob
[268 byte] By [
RobHood] at [2007-11-18 22:14:50]

# 1 Re: Some Primitive yet causing me headache question
Hi,
CPrintDialog has a member variable:
PRINTDLG m_pd;
try to modify this variable and then call DoModal().
# 2 Re: Some Primitive yet causing me headache question
Thanks for your reply,
I did try. But the main issue for me is to copy the structure of m_psd of CPageSetupDialog, where my customized settings are saved including the printer name, to the m_pd structure of CPrintDialog, where the user should be able to print the document.
I am sure that this is feasable, and I have tried many techniques, but it seems I am missing up something.
To the next,
Rob