Print, AS, php and css question

text loads dynamically and being formatting with css into a flash movie, I added a button to print just the text area using php and AS. but the php file doesn’t format my text.

the best option would be onRelease to tell php to grab that txt file and format using the same css file and send it to a printer. how can I do that can someone post example please?