PDF attachment to mail
PDF attachment to mail
Hello, I have an applikation which uses a pdf printer. From the applikation i can chose to mail to a customer and the mail applays the invoice as an pdf-file. This is working well so long as i logg on and have the pdf printer as the default printer in my profile. But if i have another printer as default printer when i logg on it isnt working. Any suggestions?
Hello,
Mainly you need to check that you application is printing to the PDF Printer.
You can do one of the following:
1 - Either specify the PDF Printer name in the print command
2 - or you can set the PDF Printer as default when launching your application and restore the default printer of the system before closing your application. This can be done using SetDefaultPrinter() and RestoreDefaultPrinter() of CDIntf().
Method 1 is advised more than Method 2.
Hope this helps.
Mainly you need to check that you application is printing to the PDF Printer.
You can do one of the following:
1 - Either specify the PDF Printer name in the print command
2 - or you can set the PDF Printer as default when launching your application and restore the default printer of the system before closing your application. This can be done using SetDefaultPrinter() and RestoreDefaultPrinter() of CDIntf().
Method 1 is advised more than Method 2.
Hope this helps.