PDA

View Full Version : javascript and printing - urgh!


scorpion
11-19-2002, 04:21 PM
Hi Guys and Girls,

This place looks like fun - should learn something here...i hope :)

I'm trying to automatically print a frame within IE (it's an intranet - we only use IE). When I use my javascript to print, it always throws up a print window - which means that my users have to click ok all the time - they want to be able to print out several reports automatically. By getting the script to print and then go to the next report and print and go to the next report (you get the idea), I can achieve this. Does anyone know how? Or....if someone knows how to do this from with VB (using the web browser control), then that's fine too - is it possible to print a complete web page in VB? and not just the visible area?

Thanks everyone :)

beetle
11-19-2002, 05:18 PM
You can check out Docs JS's series of columns (http://www.webreference.com/js/index.html?start=26&page=7) on print templates.