Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatically Creating PDF's
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01005728
Message ID:
01005776
Vues:
17
>I am trying to automatically create a PDF of a report when the user clicks a button.
>
>Therefore I have
>
>SET PRINTER TO NAME '\\xp000429\QuestPDM PDF PRINTER Driver 375'
>REPORT FORM "U:\questpdm\reports\fabricsubmission.frx" NOEJECT NOCONSOLE TO File
>
>But I keep getting an error messgage 'Error Accessing Printer spooler'
>
>Can anybody help me please?
>
>In addition to this how can I automatically create the name of the PDF file as whatever the value of my variable named 'PDFname' is?
>
>Many Thanks

In report form command try TO Printer instead of TO FILE. Also try set printer to before set printer to name. I'm not sure it all would work, though. Did you test this printer before manually?
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform