469,289 Members | 2,330 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,289 developers. It's quick & easy.

Problem printing website frame in TS.

We run into a strange problem with a client when printing a frame from a
website. On the site there is a button that performs the following
javascript code:

parent.myFrame.focus();
window.print();

This is the normal way to print a specific frame from a website. Our client
works on a SBS2003 with Terminal Server and when they hit the button all
frames are printed out, not just the selected one. At first I thought that
the print option 'all frames individually' was selected, but that wasn't the
case. The right option ('only the selected frame') was selected.

So it looks like the focus() method does not work. I tried the same website
on another Terminal Server and that worked perfect. So I guess it has
something to do with that specific Terminal Server. But I can't figure out
what?!

Also searched on the internet and newsgroups, but unfortunately I can't find
a similar problem description nor suggestions to a solution.

Anyone ideas how to solve this problem?? Or a workaround??

Thanks in advance for answering.
Richard
Jul 23 '05 #1
1 1634
On 14 Mar 2005 01:08:56 -0800, rb******@gmail.com (Richard Brand)
wrote:
We run into a strange problem with a client when printing a frame from a
website. On the site there is a button that performs the following
javascript code:

parent.myFrame.focus();
window.print();

This is the normal way to print a specific frame from a website. Our client
works on a SBS2003 with Terminal Server and when they hit the button all
frames are printed out, not just the selected one. At first I thought that
the print option 'all frames individually' was selected, but that wasn't the
case. The right option ('only the selected frame') was selected.

So it looks like the focus() method does not work. I tried the same website
on another Terminal Server and that worked perfect. So I guess it has
something to do with that specific Terminal Server. But I can't figure out
what?!


I would still imagine it's a focusing issue,, most of the printing
problems are.

I'd suggest using ScriptX http://www.meadroid.com/scriptx/ to just get
rid of all the problems.

Cheers,

Jim
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Rahul Chatterjee | last post: by
1 post views Thread by Brandon | last post: by
3 posts views Thread by Ohad Young | last post: by
1 post views Thread by dana lees | last post: by
2 posts views Thread by Balamurali C | last post: by
3 posts views Thread by reachmano | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.