if (!$pdf1) { print "Create PDF failed \n"; GETOUT; }