Bug fix for printing
Merge branch 'master' of https://github.com/clarus/smart-print