Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:27

IE 6.0 crashes when printing page with menu under HP 2200d


Poster: Marc-Andre.Roberge __at__ mus.ul
Dated: Monday August 12 2002 - 18:58:08 BST

I am using IE6.2600.000 with all the recent security patches and printing with an HP LaserJet 2200d using the PCL6 driver dated 14 June 2002 (version 4.3.2.192). I can print everything flawlessly, with one major exception.

If I attempt to print a page contaning a Milonic menu (version 4.5.01), including Milonic's home page, I get a large-size message saying "Iexplore. An error has occurred in your program. ... Close | Ignore." Then the small window (typical of IPFs and GPFs) appears, saying "Iexplore caused a general protection fault in module HPBF3220.DRV at ...", where HPBF3220.DRV is my printer driver.

When I go to the Windows\Temp directory, I see a dozen 1KB files plus a file about five times as large as the file I had attempted to print and a randomly generated filename such as triHGKBL.htm. This seems to be a file generated by IE for printing purposes; it is normally deleted after a successful printing. I can see that IE generates code for each entry and subentry of the menu. I am reproducing a part of what was generated when trying to print the Milonic home page. You will see that one of the<script> lines has been replaced with a series of value assignments.

With tests I did on my own site, pages print as correctly as Netscape 4.79 can do such a thing. It also prints perfectly using my HP LaserJet 5p using either IE or NN. So far my solution has been to follow the advice on the HP support site, i.e., reverting to a PCL5e driver. The downside is that I lose the ability to print at 1200dpi. Later on, I tried printing the page with the previous-generation driver which seemed to work and I started having problems.

I don't know if others have experienced similar problems. I wonder whether Andy is able to find a solution to this problem. I must emphasize that I can print everything I want flawlessly but for pages containing the menu. It seems that its presence causes a major problem for IE under a specific brand of an otherwise superb printer. From the page that the printer gives me after the crash, it seems that there has been a PCL XL error in subsystem Kernel due to an IllegalTag. All this is most curious.

Code:
<SCRIPT language=JavaScript src="/menu/sidemenu_array.js"
type=text/javascript></SCRIPT>

<SCRIPT language=javascript> menu1=menus[1]; menu2=menus[2]; menu3=menus[3]; menu4=menus[4]; menu5=menus[5]; menu6=menus[6]; menu7=menus[7];</SCRIPT>

<SCRIPT language=JavaScript src="/menu/mmenu_array.js"
type=text/javascript></SCRIPT>

<SCRIPT language=javascript> menu1=menus[1]; menu2=menus[2]; menu3=menus[3]; menu4=menus[4]; menu5=menus[5]; menu6=menus[6]; menu7=menus[7]; menu8=menus[8]; menu9=menus[9]; menu10=menus[10]; menu11=menus[11]; menu12=menus[12]; menu13=menus[13]; menu14=menus[14]; menu15=menus[15]; menu16=menus[16]; menu17=menus[17]; menu18=menus[18]; menu19=menus[19];</SCRIPT>

<SCRIPT language=JavaScript src="/menu/mmenu.js" type=text/javascript></SCRIPT>
<IFRAME id=ifmenu1
style="Z-INDEX: 5; FILTER: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0); LEFT: 14px; VISIBILITY: visible; WIDTH: 151px; POSITION: absolute; TOP: 160px; HEIGHT: 312px"
src="file://C:\WINDOWS\TEMP\triGOKBL.htm" frameBorder=0 scroll="none"></IFRAME>
<DIV id=menu1
style="BORDER-RIGHT: #00008b 1px solid; BORDER-TOP: #00008b 1px solid; Z-INDEX: 21; BACKGROUND: #fffacd; FILTER: progid:DXImageTransform.Microsoft.Fade(duration=0.2)progid:DXImageTransform.Microsoft.Shadow(color='#777777', Direction=135, Strength=5)overflow:hidden; LEFT: 14px; VISIBILITY: visible; BORDER-LEFT: #00008b 1px solid; WIDTH: 144px; BORDER-BOTTOM: #00008b 1px solid; POSITION: absolute; TOP: 160px">
<DIV id=el0
onmouseover=";this.style.background='#000099';style.color='#FFFFFF';this.style.cursor='default';ShM=1;; popi('# type=header;align=center;','menu1',0);;;;return stch('');"
style="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: normal; FONT-SIZE: 10px; BACKGROUND: #000099; PADDING-BOTTOM: 3px; MARGIN: 0px; WIDTH: 138px; COLOR: #ffffff; PADDING-TOP: 3px; FONT-STYLE: normal; FONT-FAMILY: Verdana, Tahoma, Arial, Helvetica, sans-serif; TEXT-ALIGN: center"
onmouseout="rep_img(); popdn(this,0, 'menu1', '# type=header;align=center;', '#000099', '#FFFFFF', '');;;; return stch('');"><B>Our
Newsletter</B></DIV></A>
<DIV style="TEXT-ALIGN: left">
<DIV onmouseover=clearTimeout(Mtimer)
style="BACKGROUND: #00008b; WIDTH: 144px; CLIP: rect(0px 100% 1px 0px); POSITION: absolute; HEIGHT: 1px"
onmouseout=popdn();></DIV></DIV>