Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PDF printer driver wierdness
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP4
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01046439
Message ID:
01046448
Views:
16
Hi Hans,

You can use free wwPdf class from http://west-wind.com/presentations/pdfwriter/pdfwriter.htm that handles PDfWriter quirks.

>I'm having some strange issues with PDF writer. Here's my code:
>
>SET PRINTER TO NAME "Acrobat pdfWriter"
>lcOut = 'OUT\' + lcStem
>REPORT FORM HsaContrib NOCONSOLE TO FILE (lcOut)
>
>My code should create a file in the OUT subfolder, which it does sometimes, but the file is empty. It also creates a file in the root folder, which is not empty. I'm not asking for two files.
>
>I tried giving up and putting the file in the root folder, but then ran into other issues.
>
>Sometimes it wont print the file, saying that a file already exists, which I take to mean some sort of temporary acrobat file. I can see the file in the windows printer folder. It says its deleting, but never does. Sometimes I just get an error ERROR LOADING PRINTER DRIVER.
>
>I tried to fix the empty files with SET PRINTER TO DEFAULT, and SET PRINTER OFF, but that didnt work.
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform