Printer missing from SetupPrinter dialog

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Printer missing from SetupPrinter dialog

Postby olaeld » Tue Apr 17, 2012 1:18 pm

One of our users has experienced a situation where the SetupPrinter dialog did not list all available printers. Upon restarting the application, the printer was listed. Does SetupPrinter somehow cache its list of printers? Is there something that can be done to ensure that all available printers will be listed upon calling SetupPrinter?

We are using VPE 6.10, Professional Edition.
olaeld
 
Posts: 7
Joined: Tue May 10, 2011 12:13 pm

Re: Printer missing from SetupPrinter dialog

Postby IDEAL Software Support » Wed Apr 18, 2012 12:08 pm

SetupPrinter() calls the Windows API standard Printer Setup Common Dialog. We can not control or change the behaviour of the Common Dialog, since it is a component of the Windows operating system.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Re: Printer missing from SetupPrinter dialog

Postby olaeld » Thu Apr 19, 2012 10:30 am

Thanks for the feedback! Could you please tell which particular method is called (MSDN reference), so I can investigate further?
olaeld
 
Posts: 7
Joined: Tue May 10, 2011 12:13 pm

Re: Printer missing from SetupPrinter dialog

Postby IDEAL Software Support » Thu Apr 19, 2012 3:28 pm

The name of the called Windows API function is PrintDlg().
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 22 guests