Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » change printer in the print preview mode Collapse All
Subject Author Date
Borremans Pierre May 31, 2010 - 3:15 AM

I use the printpreview for a CExtGridWnd. But it allways print on the default printer. Is it possible to change this and ask the user for selecting the printer ?

Technical Support May 31, 2010 - 12:58 PM

You can invoke the CPrintDialog dialog to let the user change the target printer. You can use the CWinApp::SelectPrinter() API to select the required printer programmatically. The following article may be interesting for you: