I am using CutePDF writer to convert reports into PDF files. I need to attach 'Order Confirmation' report in PDF format and send it as email to the customers all in a single button click. I have searched the forum for this and found that PDF attachment is possible.What I want to know is that if I can do it using CutePDF writer. I am not sure whether the
autosave property is available with that. I think this functionality is available with some custom versions only.Any other way to do this?. Has anybody done this using CutePDF?. Any kind of help would be appreciated.
0
Comments
Setup a specific printer by installing Win2PDF with a specific name set to store the PDF file in a user directory with a specific name.
Set Printer Selections to print the specific report (copy of original report- in my case the Purchase Order) to the specific Win2PDF instance.
In code on the button check that an e-mail address exists, if not , prompt for it.
Then call a function in a codeunit I created to handle the PDFs:
Hope this helps. As long as CutePDF can be setup to write a specific file name, this setup will work. It works for me as all my users are on 5 Citrix servers, so managing the 5 printer setups is not too difficult. Would be a royal pain if all users had their own PCs where the software needed to be installed and setup.
Your mileage may vary.
Corollary- Build and idiot proof system and nature will build a better idiot.