Adding a Print Button to Roundcube Toolbar

How to add a print button to the toolbar of the Roundcube webmail client. The following instructions are based on Roundcube version 0.5.1 with default skin, but likely apply to other versions as well.