When printing from a web agent, Domino creates the HTML tags that are necessary to show your output as a HTML page. This is fine, if you don´t want to access the header or create XML. If you print a HTTP header as the first output from the agent, Domino does not add any standard tags:
Print "Content-Type:text/plain"
Print "Content-Type:text/html"
Print "<html>"
Remember that you can not
send binary data from an agent!