Porting from cgi-bin.pl to CGI.pm
Generation of PDF format on the fly
