Second commit

Improvements do print_view.
generate_pdf method created.
Perl server side to generate the PDF based on a HTML file