Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PARAM NAME in IE vs. Netscape

Status
Not open for further replies.

Rexolio

Technical User
Aug 29, 2001
230
Hi,

I have a test program I've been evaluating that prints from Internet Explorer browsers. The program works great but the support is very poor because its a small,foreign company.

The program doesn't work in Netscape, and I believe its because of the PARAM tags. Can anyone tell me how I might transform the code below to work in Netscape, or is it impossible?

<OBJECT ID=&quot;ucIWP&quot; WIDTH=150 HEIGHT=40
CLASSID=&quot;CLSID:E7DC3A33-B622-11D4-A4C7-00D059080CAD&quot;
CODEBASE=&quot;iwp.cab#version=1,0,0,217&quot;>
<PARAM NAME=&quot;iwpLines&quot; VALUE=&quot;96&quot;>
<PARAM NAME=&quot;iwpLines[1]&quot; VALUE=&quot;iwpOrientation portrait&quot;>
<PARAM NAME=&quot;iwpLines[2]&quot; VALUE=&quot;iwpPaperSize 1&quot;>
<PARAM NAME=&quot;iwpLines[3]&quot; VALUE=&quot;iwpSetMeasurementUnit rowcol&quot;>
<PARAM NAME=&quot;iwpLines[4]&quot; VALUE=&quot;iwpFont Verdana&quot;>
<PARAM NAME=&quot;iwpLines[5]&quot; VALUE=&quot;iwpFontSize 8&quot;>
<PARAM NAME=&quot;iwpLines[6]&quot; VALUE=&quot;iwpPrint 4 ^ 2 ^ Test Line 1&quot;>
<PARAM NAME=&quot;iwpLines[7]&quot; VALUE=&quot;iwpPrint 5 ^ 2 ^ Test Line 2&quot;>
<PARAM NAME=&quot;iwpLines[8]&quot; VALUE=&quot;iwpPrint 6 ^ 2 ^ Test Line 3&quot;>
</OBJECT>

Thanks for any help!!!

Rexolio
rexolio@bellsouth.net
 
Applets in Netscape use the standard applet tag. Simple example:
Code:
<applet code =&quot;Whatever.class&quot; archive=&quot;Whatever.jar&quot; width=200 height=200>
</applet>
One thing that will help is to go to Sun's site and download the HTML Converter. This will convert a HTML page using Java Applets to work in both Netscape and IE using Sun's Java Plugin. It is a nice little utility. Here is the URL:
This is basically another case of MS not trying to play nicely. Wushutwist
 
wushutwist,

I've got the converter, but am having problems using it. Seems to not want to allow this line in the Command Prompt:

java -classpath . HTMLConverter

your comments/suggestions would be appreciated!

Rexolio
 
Do you have a Jave Runtime Environment installed on your computer? If so then what is the exact error java is returning (i.e. ClassNotFound or whatever)? Wushutwist
 
wushutwist,

Hey, I didn't have the Java Runtime Environment installed but I do now and was able to use the program successfully. However, it didn't do anything. I mean, it obviously worked, but didn't convert anything because it didn't find any applet tags, and I'm need to convert FROM object tags TO applet, not the other way around. Am I still missing something or there another way to do this?

Thanks,
rexolio
 
I may of jumped the gun on things (teaching me to take the time to actually read the post). Are you using an Applet, because I don't see where you specify the jar or classname? If you are using an ActiveX control then you are out of luck when it comes to Netscape. Sorry for any confusion. Wushutwist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top