Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to save it to a file ?
Message
From
27/09/2001 13:17:54
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00561482
Message ID:
00561557
Views:
23
Hi Benoit,

Have you tried to save this report as a PDF file?. First you need Adobe Acrobat Writer installed on your computer then in your code you have the following:

&& change from the default printer driver to Adobe Acrobat Writer driver

set printer to name "Acrobat PDFWriter"

&& lets say you have a report called "invoice" where "invm" is the invoice
&& Number

report form invoice noconsole to file &invm

&& change back to the old printer driver

set printer to DEFAULT

&&This works if you have windows NT on you computer. If you have windows 98 or &&95 for example, in order to get PDFWriter to print unattended under Win95 a &&couple of settings need to be made in the Win.ini file

[Acrobat PDFWriter]

PDFFileName=C:\WINDOWS\TEMP\__wwpdf.pdf

bDocInfo=0

&& the best website for that is
&& http://www.west-wind.com/presentations/pdfwriter/pdfwriter.htm

&& Good luck
Previous
Reply
Map
View

Click here to load this message in the networking platform