print improvements by @mroze

Work in progress.

Missing bits:
 - "letter" format templates
 - no "mini map" for now

Additionnally, the legend page (lastPage) is never shown.