To avoid the print dialog is open I use the function SetupPrinter(filename, PRINTDLG_ONFAIL).
What is th value SetupPrinter() returns, when the printer whose name is in the .prs-file is not found in the network?
(The .prs-file was created on another workstation on the network, where the same printer has a different name.)
It looks like the value is 0. But with the following PrintDoc, the document is not printed.
Is there a possibility to check with SetupPrinter() the existence of the printer in order to open the dialog when the printer is not available?
Thanks for help.
Friendly
klax