in reply to Having trouble printing HTML page

Is your closing ENDHTML preceeded by any white space? If it's not flush left, you will get the error message you describe.

-derby