Print text file from server

I found a great kirupa post about how to print a movie clip from flash. Here it is:

This thread only talked about movie clips being printed. I would like to print a text file from a server. This text file is being read from the website via loadVars, but it would be more powerful if I could print the server text file verses the textbox that is loading the text file. Plus in flash I only read one text file at a time but there are eight files to print. So, how can one print a text file on a server via flash?