Solved

Printing in Netscape

Posted on 2000-03-18
11
162 Views
Last Modified: 2013-12-24
I have a drop-down list generated by a sql-query. It works but everytime I print that screen the item in the drop-drop list will revert back to the first row. For example:  my drop down consists of 5 items, say - a, b, c, d, and e. I select 'd', save it to the database and it appears as the selected one in the drop down, but when I select the print option on the browser, it will print out the drop-down list with 'a' being selected. Basically, I need it to print out what is on the screen. Any suggestions?
0
Comment
Question by:wills1300
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +3
11 Comments
 
LVL 5

Expert Comment

by:nathans
ID: 2632576
Is the Print out for Training?

What I usally do is print screen.

When you print it reloads the code in a sense and prints so what you had selected will not show unless you make it in the code the default selected one or do a print screen.
0
 

Author Comment

by:wills1300
ID: 2633711
I cannot do a 'print screen' because that would not capture the whole page. I did a simple test with:

<option value=1>1
<option value=2 selected>2
<option value=3>3

Displaying the page is correct. '2' will be the one display. But when I do a print preview in Netscape, the value '1' will be display. It prints correctly in IE. Suggestions?
0
 
LVL 1

Expert Comment

by:benyip020499
ID: 2634401
Sometimes, I can see a picture in the page with Nextscape but I can't print it out with Netscape. Then I use the print preview function, it shows just the same as the output of the printer. This is a NC problem.

To solve it, you should create a printer-friendly version.  Replace all the drop-down list with plain text.


0
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 
LVL 2

Accepted Solution

by:
Unifex earned 150 total points
ID: 2682478
The way we got around this was to have the selected item at the top of the list also.

In the example above we would have set the output to work this way...

<option value=2 selected>2
<option value=1>1
<option value=2>2
<option value=3>3

It can make for untidy lists but longer lists are convienient if not changed regularly and they to print fine.

Regards,
Gold
Atlas Technology Ltd
ICQ 46527451
0
 
LVL 3

Expert Comment

by:dapperry
ID: 2683747
You can tidy up Unifex's idea by actually changing the list selection order via javascript.  You remove the options of the select, and then programatically add them back in the new order.  Let me know if this would be alright, and I can dig out some code for you.

:) dapperry

0
 
LVL 5

Expert Comment

by:nathans
ID: 2683828
Who is the print out for?
What is the print out being printed for?

Answer questions like these so we can better help you.

If we know what the goal is we will not give you answers that will not help the problem.  Maybe I should say most of us won't.

Nathan Stanford
0
 
LVL 2

Expert Comment

by:Unifex
ID: 2725167
Wills1300?  You still with us?

Au.
0
 
LVL 2

Expert Comment

by:paulkd
ID: 2740829
FYI Wills1300, your formfields Print Previewed OK with my copy NC4.6.
0
 
LVL 2

Expert Comment

by:Unifex
ID: 2909498
I think Wills1300 dropped off the face of the planet.  How long do questions take to time out and drop of the site?
0
 

Author Comment

by:wills1300
ID: 3111542
Comment accepted as answer
0
 

Author Comment

by:wills1300
ID: 3111550
sorry for leaving everyone hanging. If I could split the points, I'd give everyone some, but since I can't. I have accepted Unifex "answer".

thanks all
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question