The solutions by ickyb0d and Spidy require that I add a line EVERYTIME I have a print!
They were the first solutions that came to me, but I wanted to find out a way to avoid doing them...
You're right.
But I don't want to use that solution because my script takes lots of time running, and the way it is now it shows up as it is processing.
And if I do as you describe I will only see the HTML page at the end.
Thanks anyway... =)