Thank you, it is working now. I thought I already sent this message, but didn't see it appear. Anyway, I am using the print HTMLFILE with each print line. The other way did something, but all I saw was a blank screen.
You guys are great. Wish I had known this place existed before, when I was really pulling my hair out.