Jon,
Re your post to "sixwest"
I have wondered myself about printing one page from another.
I have cobbled together this code from various sources including this
newsgroup - I think Murray was one of them.
function print_page()
{
if (window.print)
{ parent.index_main.focus(); top.frames['index_main'].print() }
else
alert("Select \"Print\" from the menu")
}
I call this function from a frame (named sidebar) to print another frame
(named index_main). It works fine.
Can I ask your expert advice.
1. Does this work because I am printing another *frame* rather than
another *page* ?
2. Is it possible to adapt this approach to print another page?
I can see the idea behind your suggestion
Open the other page in a new window
Print it onload
If one could then automatically close it, I assume it would do what is
wanted (albiet with a bit of trickery).
--
Cheers,
Trevor L.
Website:
http://tandcl.homemail.com.au
(see website to send email)
Jon said:
Hi,
Can't be done. You have to display a page before you can print it.
Best you could do is open the page in a new window and set it to
print onload