in reply to (OT) Problem in displayiing on the browser

You could just do HTML format for both and put <pre></pre> tags around your text. The advantage of this is you can display your reports as basic text - thus massively speeding up display time if your reports are large - but still insert images and markup wherever needed.