Fix print styles.

Suggestions in #52 works for me.
Merge pull request #117 from th-h/patch-2

Fix print styles.