Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing to PDF with CR 7.0
Message
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00862641
Message ID:
00862913
Views:
16
Thanks Craig. I was able to use Rick Strahl's wwAPI to write the correct values into the PDFWriter registry settings.

Regards,

E.R.
>This is not a Crystal Reports question, but rather a PDF question as the PDF distiller is prompting you for the file. You should look at the download chapters for MegaFox on the Hentzenwerke website. It includes a chapter in PDFs.
>
>
>>I need to programatically print to a PDF file. I'm setting the printer driver to the PDFWriter, but I'm being prompted for a file name to print to. I'd like to set the file name and print without a prompt but I can't find the property.
>>
>> APP = Create('Crystal.CRPE.Application')
>> REPORT = app.OpenReport('xyz2pdf.rpt')
>> report.selectprinter('','Acrobat PDFWriter','Disk')
>> report.PrintOut(.f.) && Getting prompt for "Save PDF as" file name here.
>>
>>TIA,
>>
>>E.R.
Regards,

E.R. Gilmore
Previous
Reply
Map
View

Click here to load this message in the networking platform