Welcome Guest, Login or Sign up

Print email on less pages

By: zetalliance

Print Patch

Patch for the built in Zimbra print feature, this reduces the number of pages to print by 50% (give or take) saving the environment. It does so, by not printing (broken) attachment thumbnails.

Bugs and feedback: https://github.com/Zimbra-Community/printpatch-zimlet/issues

========================================================================

Installing

The below is ONLY for 8.6 version if you use a different Zimbra let me know, test before prod and all that, use for your own risk.

To install, first remove the patch zimlet (as root):

 rm -Rf /opt/zimbra/zimlets-deployed/_dev/tk_barrydegraaff_printpatch
 cp /opt/zimbra/jetty/webapps/zimbra/WEB-INF/tags/message/messagePrintView.tag /opt/zimbra/jetty/webapps/zimbra/WEB-INF/tags/message/messagePrintView.tag-orig
 wget https://raw.githubusercontent.com/Zimbra-Community/printpatch-zimlet/master/messagePrintView.tag -O /opt/zimbra/jetty/webapps/zimbra/WEB-INF/tags/message/messagePrintView.tag

 cp /opt/zimbra/jetty/webapps/zimbra/h/printmessage /opt/zimbra/jetty/webapps/zimbra/h/printmessage-orig
 wget https://raw.githubusercontent.com/Zimbra-Community/printpatch-zimlet/master/printmessage -O /opt/zimbra/jetty/webapps/zimbra/h/printmessage

Then as zimbra: zmmailboxdctl restart

Illustration

alt tag

Related bug: https://bugzilla.zimbra.com/show_bug.cgi?id=95856

Credits

Thanks to Grupo Hoteles Globales for funds contributed http://www.hotelesglobales.com/


Download View on GitHub

Rating ( 1 ratings )
Downloads 2270
Latest Version 0.6
Categories
Compatibility ZCS 8.5/ZCS 8.6
License GNU GPL v2
Created on 3/17/16
Updated on 10/15/21

Reviews

  • Thanks Barry! 

    By: ajcody on on 12/23/16 for version 0.5