My application builds and prints HTML reports using AxWebBrowser.ExecWb method. Lately each time a report is printed a thin horizontal line is printed across it. It's not supposed to be there, it doesn't appear in any preview (Word, browser), but it's always there on the paper, always at the same absolute location and regardless of the printer type. Any ideas?
A:
Step 1. Is the "line" actually in the document?
View Source. Look at the HTML. Is there an <hr>
tag? Are there <div>
tags that could create the line? An embedded image? A boundary on a table with a non-zero width? Lots of things can do this.
You must look at the HTML.
If the line is not actually in the HTML, then it's out of your control. It's printer drivers or some such.
Step 2. If the line is in the document, what did you change between when it worked and "Lately"? Nothing? That's what they all say.
You must find everything that changed that leads up to the HTML.
S.Lott
2010-03-14 19:40:39
thank you, there actually was an incorrectly configured <hr> tag that caused this problem
2010-03-15 10:13:27