Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Acrobat PDFWriter
Message
From
01/07/2002 05:30:55
 
 
To
01/07/2002 05:11:28
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00673778
Message ID:
00673781
Views:
19
>Hi there
>
>I found some code on the Internet that allows me to send the results of a VFP report to a PDF file. The only problem is that after creating such a PDF file if I try to SET PRINTER NAME TO a network printer and REPORT FORM ...
>I am getting a dialog box with a "Save PDF File As" title and a default file name of "Visual FoxPro.pdf" and Save as type: PDF Files.
>I tried SET PRINTER TO, SET PRINTER NAME TO '' and then to the actual name of the network printer, didn't work. Even after exiting out of VFP and back in it still has the Adobe PDFWriter driver as default and it won't change.
>I am running Windows 2000 and VFP6. Any more info needed please ask.
>Thank you very much.
>
>Regards,
>Severus

Try to remove the Printer driver information from your FRX files.
Open your FRX file as table and blank tag and tag2 fields, also remove the lines containing driver and device name of the printer e.g.
use myrepo.frx
go top
BLANK FIELDS tag,tag2
REPLACE expr WITH STUFF(expr,1,AT('ORIENTATION',Expr)-1,[])
use
compile report myrepo.frx
HTH
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Previous
Reply
Map
View

Click here to load this message in the networking platform