Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to send report output via e-mail
Message
From
09/11/1998 13:49:29
 
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00155058
Message ID:
00155849
Views:
16
>>Can you tell me a strategy for allowing report output to be e-mailed? I'd like to have an option in my customized printer setup dialogue box that allows the report result to go to e-mail. Would it be possible to copy the report page-by-page from an invisible print preview window to the Windows clipboard, then from there gather the images in an Acrobat file? Or is there a better approach?
>
>Easier would be to install the Adobe Acrobat printer driver (the last time I looked, it cost ~$200 for the Adobe Acrobat file creation utilities), and with that driver selected, send the output to a file - that'll create a .PDF format file that you can attach to an email.

This is a really good solution, IMHO, we are using it on our website. There are some problems, however with the way that Acrobat allows you to automate this. Firstly, the way you specify an output filename is with an ini file, before sending the print job. This is really stupid, but workable. This and other problems are handled rather gracefully by Rick Strahl's wwPDF class. I'm not sure if this class is officially public domain, but he has posted the entire source for it on his website. You will turn it up by going there and searching for wwPDF.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform