This is a modification of the Export HTML report that is shipped with MM. The difference is that a button is created to launch the script, and the HTML report is automatically displayed and printed at the end.
As requested in this thread: http://www.mediamonkey.com/forum/viewtopic.php?t=10696