Problem printing website frame in TS.

G

Guest

Guest
Archived from groups: alt.swnet.comp.lang.javascript,microsoft.public.windowsnt.terminalserver.applications,microsoft.public.windowsnt.terminalserver.misc (More info?)

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 seperately' 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.

Anyone ideas how to solve this problem??

Thanks in advance for answering.
Richard
 
G

Guest

Guest
Archived from groups: alt.swnet.comp.lang.javascript,microsoft.public.windowsnt.terminalserver.applications,microsoft.public.windowsnt.terminalserver.misc (More info?)

FYI:

I solved the problem by using the ScriptX plugin from MeadCo
(http://www.meadroid.com/scriptx/index.asp). The free part of this plugin
was enough for me to solve the problem.

Richard


"Richard Brand" <rbrand@nospam.itannex.com> schreef in bericht
news:36c7b$42305408$c355934c$4565@news.essentkabel.com...
> 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 seperately' 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.
>
> Anyone ideas how to solve this problem??
>
> Thanks in advance for answering.
> Richard
>
>
 

TRENDING THREADS