John,

You can write Word using Word automation. You creat a Word object and then 
manipulate it from VFP. 

I currently use CutePDF (Free) to print to PDF. Yes, it does prompt for a file 
name (not sure if you can bypass that but I didn't need to).

I have previously used Amyuni PDF Writer ($$) with great success. You tell what 
to call the PDF in your prog and you are not prompted.

Once a Word or PDF doc is created, you may need to zip it. Consider Bszip.dll 
($$)

Once the zip is done, you can automate emailing. Consider Blat.dll (Free)

HTH,

Henry

P.S. After writing this I noticed you already have the email thing figured out. 
Great! I'll keep the Blat plug anyway! ;-)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John J. 
Mihaljevic
Sent: 2006-09-13 3:02 PM
To: [EMAIL PROTECTED]
Subject: RE: VFP printing to file or email


How would I print to Word?  I'm looking at the Report Form command and see
nothing there about printing to Word.

I found a utility that creates a PDF printer, and that works nicely, but
it's extra steps for the user (Printer dialog pops up, they choose the PDF
printer, enter a file name, etc.).  I'd like to have them simply click a
button that sent the report output to a Word document or a PDF.  I already
have something that'll automatically create an email with the file attached,
but I need to make the file first.

Thanks!

John

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Chet Gardiner
> 
> Or print to word, zip and email.  All can be automated.
> 
> [EMAIL PROTECTED] wrote:
> 
> >Print to PDF and email. Both steps can be automated.
> >
> >Henry
> >
> >-----Original Message-----
> >From: [EMAIL PROTECTED] 
> >[mailto:[EMAIL PROTECTED] On Behalf Of John J. Mihaljevic
> >
> >I have a VFP 6.0 app installed in one of our plants.  Someone at 
> >another site would like to get a few reports from this system on a 
> >daily basis, but since they can be so long, we don't wanna 
> have to fax 
> >all those pages every day.  I'd like to send the output to a 
> file that 
> >can be emailed to him, but when I do that, the output file doesn't 
> >appear to be readable since it's more than just straight 
> text (graphics, fonts, etc.).
> >
> >How would I go about creating an output report file that can 
> be opened 
> >in Word (or something else) with all formatting intact?




[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to