Use builtin function for print preview
Merge pull request #40 from juhasch/master

Use builtin function for print preview