472,975 Members | 1,176 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,975 software developers and data experts.

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 1770
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rahul Chatterjee | last post by:
Hello All I have an asp page problem (the nature is slightly complex so please bear with the long winded explanation). We have a sandbox front end domain and a sandbox backend domain. The...
1
by: Brandon | last post by:
A newbie question for you all: Suppose you have a webpage with two frames: a main frame, and a second frame. You have several hyperlinks to other websites in the second frame. What you want is...
3
by: Ohad Young | last post by:
Hi, I have a frameset page that contains two frames: 1. the first frame, an aspx page, contains a menu for navigating in the website. 2. the second frame contains content, pdf, html or other...
1
by: dana lees | last post by:
Hi, I have a frameset that contains 2 frames. The upper frame has a "print" button. The lower frame has been redirected to a URL that was sent to it in a QueryString. When trying to call...
2
by: Balamurali C | last post by:
Hi All I'm having one problem, since im debuging this last one week I'm not able to do. Problem: In my webage I have two Frames(top & bottom) in the top frame I'm displaying some...
3
by: reachmano | last post by:
Hello everyone: When I view my web-page on different computers, I am having trouble with re-sizing the screen on some of them. Was wondering what should be done differently to take care of the...
6
by: centre507 | last post by:
Hi, I have three frames, top, middle and bottom. Main page has website link and I want those website content to be shown inside of middle frame while clicking links inside of top frame. ...
19
by: Jim | last post by:
Hi, I have two questions/problems pertaining to CSS horizontal dropdown menus and am hoping that someone here can help me out. (1) I'm having a problem centering the menu. I picked up the...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.