Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 9 and PS2PDF
Message
De
20/07/2005 21:03:18
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
01034049
Message ID:
01034510
Vues:
21
*-- Send to second printer
SET PRINTER TO NAME (la_printers[ln_useprn, 1])
REPORT FORM (thisform.rptform) NOCONSOLE TO FILE &lc_psname
*-- Create pdf
= ps2pdf(lc_psname)
*-- Restore to original printer
SET PRINTER TO NAME (lc_oldprn)

Nadja

I tried setting the adobeps printer as the default printer, and the problem disappeared.

The above code functioned ok in VFP7 and VFP8.

The REPORT FORM is not respecting the set printer to and the file that is created is not a Postscript file, unless the postscript printer is the default.

Sending a non postscript file to ps2pdf causes the crash.

Bill Fitzgerald, MCP
Woodbury Systems Group
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform