Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing VFP Report To File For E-Mail
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00493540
Message ID:
00493591
Views:
18
>>>How can I print a VFP report to a file so that I can e-mail it.
>>
>>We have created several reports that are set up to be printed to a FILE via:
>>
>>REPORT FORM acmADLLinkToNSN TO FILE &lcFullOutPath ASCII NOCONSOLE
>>
>>This generates an ascii text file that can then be attached to an email and sent wherever we wish.
>>
>>The ASCII printing is not as pretty, but when the site does not have Word or we cant build an adobe PDF, it is a good alternative.
>>
>>HTH
>
>In addition, you can also (using some generic printer driver, say, LaserJet II)
>
>REPORT FORM my Report TO FILE &lcFullOutPath NOCONSOLE
>
>without ASCII clause . This will create a print file which the can be mailed and sent to printer using COPY /B command, This keeps you report formatting and does not require third party products, however it may not be convenient on the client side.

In addition to what Nick wrote, if instead of Laserjet II for instance, you set the printer driver to a fax printer, you can then rename the created file to .TIF, and attach it to your email. It will be more convenient for viewing the mail attachment ( by default, windows brings in the Kodak previewer )
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform