0

Hello

I'm trying to print a Text file using Borland (example: Test.txt) without opening the file (I'm done with my program, and this is a feature I'love to have by pressing a "Print report" button) with no success. Any one done this before?

Thanks

2
Contributors
1
Reply
2
Views
13 Years
Discussion Span
Last Post by Narue
0

So you want to add a new feature without doing any work? ;) Since the data is already in a file, the path of least resistance is to send it to the spooler by way of a system command:

case ON_LEFT_CLICK: system ( "print test.txt" ); break;
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.