Webmail 6.60 Print

Discussion forum for Enterprise Edition.
Post Reply
Seppy
Posts: 31
Joined: Thu Apr 12, 2007 9:07 am

Webmail 6.60 Print

Post by Seppy »

Hi,

we use ME Enterprise Edition 6.60, but since the last update we can not Print from webmail in Firefox 15.0.

Best Regards
Seppy

MailEnable-Ian
Site Admin
Posts: 9738
Joined: Mon Mar 22, 2004 4:44 am
Location: Melbourne, Victoria, Australia

Re: Webmail 6.60 Print

Post by MailEnable-Ian »

Hi,

We are aware if this and is a raised issue that will be addressed in the upcoming release. I don't have a time frame sorry.
Regards,

Ian Margarone
MailEnable Support

aram
Posts: 26
Joined: Mon Aug 01, 2011 4:43 pm

Re: Webmail 6.60 Print

Post by aram »

In the meantime you can use Ctrl-P to print the e-mail on that window where the Print button does not function.
-Dan

davidp
Posts: 2
Joined: Mon Sep 24, 2012 2:08 am

Re: Webmail 6.60 Print

Post by davidp »

We had this problem also. Jumped into the code and found a solution.

If you test the Mailenable Webmail Demo site, it actually doesn't have this issue with printing. I viewed the source and updated our version with the following:

The following belongs to page: /mewebmail/Mondo/lang/sys/Forms/MAI/PrintPreview.aspx

Code: Select all

<script type="text/javascript" language="JavaScript">
	<!--
	    var isIE = false;
	    
	    function SubmitToPage(PageURL) {
	        document.FrmMain.action = PageURL;
	        document.FrmMain.submit();
	    }

	    function ME_Print()
	    {
	        document.getElementById("printheader").style.display = 'none';
	        document.getElementById("printheader").style.visibility = 'hidden';

	        if (isIE == true){
	            //alert("ie");
	            document.execCommand('print',false,null);
	        }else{
	            //alert("other");
	            window.print();
	        }
	        
	        document.getElementById("printheader").style.display = 'block';
	        document.getElementById("printheader").style.visibility = 'visible';
	    }

	    function ME_Close()
	    {
	        
	            window.close();
	        
	    }
	// -->
	</script>
Our version did not have the following lines:

Code: Select all

var isIE = false;
and

Code: Select all

     if (isIE == true){
	            //alert("ie");
	            document.execCommand('print',false,null);
	        }else{
	            //alert("other");
	            window.print();
	        }

The print button was then fixed. Hope this helps someone out. :o)

Cheers
Dave

Seppy
Posts: 31
Joined: Thu Apr 12, 2007 9:07 am

Re: Webmail 6.60 Print

Post by Seppy »

Thanks for this Fix, it works ;-)

Post Reply