Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I print a report to a text file. 2

Status
Not open for further replies.

steve728

Programmer
Mar 16, 2003
536
US
I know I will lose any graphics in the report. That's OK.
I don't want to print to an .rtf file. It has to be a .txt file.

Thank you

Steve
 
Hello

Install the Generic/Text only printer driver in your windows installation on port FILE: , then print it to the text only printer driver and enter a filename when prompted.

John
 
That was a quick, simple, helpful reply!

Thank you!

Steve
 
Steve

I should have added that if you always want to output it to the same location, start the Add new printer wizard, but choose "New port" and specify an output filename as the location, eg C:\TEXTFILE.TXT, then choose the generic/text only driver with a specific filename.

Then, you won't be prompted for that name, and any output will be overwritten with the latest job when you print something else.
This is a handy tip if you want a specific location for automated backup or email attachments etc.

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top