Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 9 and PS2PDF
Message
From
20/07/2005 21:03:18
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01034049
Message ID:
01034510
Views:
22
*-- 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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform