in reply to Having trouble printing HTML page

Nihil Angst,

I am in agreement with both Ovid, and derby. I would like to offer one suggestion though.

The following HERE style is deprecated.

print <<ENDHTML; .... .... .... ENDHTML #Notice there is another line here before EOF, #and that ENDHTML is flush to the left

You should use quotes around the ENDHTML section.

print << 'ENDHTML'; .... .... .... ENDHTML #Notice there is another line here before EOF, #and that ENDHTML is flush to the left

In both examples there is an extra line before the EOF can be reached.
Both examples also show ENDHTML is flush to the left most margin.

Just my two cents - Kristofer