I am generating an HTML document and in that document only I put the image to print that document. What I want is once the user clicks on that image to print the HTML document that image should not be printed along with the HTML document. Is it possible to do so and if yes how can I achieve this?
Two ideas off the top of my head: 1) Originally set a CSS attribute of display:block on the image, then just before you fire off the print operation, set it to display:none. This may not work in all of the browsers you may need to support. 2) Almost all browsers allow you to swap out images. Just before printing, swap out the image with one that's either transparent or a flood of the page background color. hth, bear [ July 10, 2002: Message edited by: Bear Bibeault ]