Some improvement added.
Just a basic prototype of map printing with xhtml2pdf.