@WebJoelApr 28.2007 — #Here's something I used to do when I needed to print 'just an image' like driving-directions/map on sites to be "printable". I converted it a bit to make (I think??) the contents of the DIV "#printable", be sent to the printer...
document.write('<form title="Click here to print this section"><input type=button value="Click Here To Print This Section" name="Print" onClick="printit()"></form>');
}
</script>
</center>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Praesent nonummy. In erat. Duis nibh pede, accumsan eu, pulvinar et,
volutpat vel, elit. Curabitur nec dui sed nunc congue tempus. Nulla ac
dui ac libero fringilla nonummy. Maecenas ullamcorper sodales risus.
Vivamus pretium dolor. Proin eu turpis. Phasellus ut mauris non nulla
mattis luctus. Nunc porttitor dapibus sapien. In malesuada fermentum
metus. Nulla egestas, tellus a vestibulum pharetra, nunc purus auctor
lacus, ut semper purus ipsum eu velit. Praesent dui. Nulla accumsan
turpis at erat.</p>
[COLOR="Red"]</div>[/COLOR][/B]
<div class="non_printable">
<h1>This DIV will not be printed.</h1>
<p>This div will not be printed</p>
</div>
</body>
</html>[/QUOTE] Essentailly, the javascript in the head and in the div "printable", there is a generated a 'click here to print this section", and everything between the RED div's, (should)print... (My printer is out of black ink and therefore, cannot test this 'on text'. This works for images...).