Closes #77 Fix print.php to properly format custom fields