Printing a txt or doc file

Mar 30 2010 7:50 AM
Hi im beginner in builder c++
need your help
say i got a form with a button i want when button clicked to print on paper a .txt file that ive got saved in the project folder
hows this done
i tried
system("print test.txt")
but didnt work