Hi I had similar problems. Except that instead of printing the previous page bu the printers prints my parent window.
I actually had this direct print script using javascript on my popup windows. But it only prints my parent window. Is there a solution for this?