PDF attachment to mail

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
clausld
Posts: 1
Joined: Sun Mar 14 2004

PDF attachment to mail

Post by clausld »

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?
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

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.
Post Reply