Solved

Printing in Netscape

Posted on 2000-03-18
11
158 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
  • 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
 
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
X-Frame-Options - click-jacking 7 56
Internal DNS Zone Issue 13 60
JVM encoding. How to change encoding. 27 86
Webserver access problem 5 68
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now