Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_frx2html
Message
From
16/10/1998 11:00:13
 
 
To
16/10/1998 10:50:12
Shihchau Tai
Apic Systems Pte Ltd
Singapore, Singapore
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00147393
Message ID:
00147493
Views:
45
>>>>>My customer needs to send invoices using email.
>>>>>
>>>>>I tried _frx2html and found that the report data are truncated. Any solution?
>>>>>
>>>>>Is EPS genrepox better?
>>>>>
>>>>>What is the best solution?
>>>>
>>>>We recently implemented a mechanism for making our reports downloadable form the web in Adobe Acrobat format. You could do the same with email. Adobe PDFWriter comes with a virtual printer device that creates a pdf when printed to. If you go to West wind's support page and search for pdf, you will find a lot of discussion on what it takes to do this.
>>>
>>>I have heard about Acrobat PDF. However, if I am not wrong, each recipient needs to have Acrobat reader installed. My users don't like the idea.
>>>
>>>Or did I miss out anything?
>>
>>No, you are correct. But Acroreader is free, and pdf is becoming a sort of standard for formatted documents over the internet.
>
>The receipients probably wouldn't even know what is Adobe.
>
>Just curious. Is it easy to implement? I don't have to buy WC, do I?

No, it was not difficult to implement. The essence of the routine is like:

Modify __pdf.ini to output to your preset textfile.
SET PRINTER TO Adobe Acrobat
REPORT FORM myreport TO PRINTER NOCONSOLE

Rick's class just takes care of modifying the ini file, and implements a semaphore locking mechanism to ensure that multiple concurrent hits on the the printer get processed. using this class, my end of the code was around 10 lines.

The wwPDF class ships with the enterprise version of WC, but Rick has posted all of the code on his website, so I assume it should be ok to use.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform