Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PDF printer driver wierdness
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP4
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
01046439
Message ID:
01046448
Vues:
15
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform