473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 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 1787
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...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.