- Use CSS for hiding print button rather than javascript.
EXPERIMENTAL IMPLEMENTATION! Please check, though it does work on my installation, I had to shift around several functions to make them re-usable from the sql.php file.