two layout modes , one for viewing , one for printing
Merge pull request #3 from zignig/master

Printing layout