Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to save it to a file ?
Message
De
27/09/2001 13:17:54
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00561482
Message ID:
00561557
Vues:
24
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform