fixes print functionality (closes #55) and adds print hint support