R
Rincewind.Morpork
Hi,
I've got a serious Problem with the CPrintDlg. I'm starting the Dialog
with the following Code:
/*
CPrintDialog *printDlg = new CPrintDialog(FALSE, PD_ALLPAGES |
PD_RETURNDC, NULL);
printDlg->m_pd.nMinPage = printDlg->m_pd.nMaxPage = 1;
printDlg->m_pd.nFromPage = printDlg->m_pd.nToPage = 1;
printDlg->DoModal();
m_PrinterName.SetWindowText(printDlg->GetDeviceName());
m_pDataHold->m_PrinterName = printDlg->GetDeviceName();
*/
The Problem is, that this code works fine for most of the Mashines it
is used on, but on one Computer there is only the first Printer in the
Dropdownlist shown. Other Programs on this Computer such as Office
have all the available Printers in their List so its definitely a
Problem with this specific Program. I've already tried to readjust
this Problem on my own machine but its always working correctly here.
I hope its specific enough, if not, just tell me.
Marcus
I've got a serious Problem with the CPrintDlg. I'm starting the Dialog
with the following Code:
/*
CPrintDialog *printDlg = new CPrintDialog(FALSE, PD_ALLPAGES |
PD_RETURNDC, NULL);
printDlg->m_pd.nMinPage = printDlg->m_pd.nMaxPage = 1;
printDlg->m_pd.nFromPage = printDlg->m_pd.nToPage = 1;
printDlg->DoModal();
m_PrinterName.SetWindowText(printDlg->GetDeviceName());
m_pDataHold->m_PrinterName = printDlg->GetDeviceName();
*/
The Problem is, that this code works fine for most of the Mashines it
is used on, but on one Computer there is only the first Printer in the
Dropdownlist shown. Other Programs on this Computer such as Office
have all the available Printers in their List so its definitely a
Problem with this specific Program. I've already tried to readjust
this Problem on my own machine but its always working correctly here.
I hope its specific enough, if not, just tell me.
Marcus