私はmpdfライブラリを使用していますが、サーバー上のフォルダーで個別に機能しますが、アプリケーションにmpdfライブラリを含めると、空白のページが出力されます。Firebug経由でHTMLが表示された場合は、
<html>
<head></head>
<body></body>
</html>
以下は私のページコードです
session_start();
error_reporting(-1);
//include files and mpdf library
$id=(int)$_GET['id'];
//some mysql query and and
$html = "<div id=\"print_target_box\" style=\"display:block;\">";
// some php mysql manipulations
$html .="<b>..</b>
<strong>...</strong><br/>";
// many div and block concatenate by $html.="";
$html .="</div>";
$mpdf = new mPDF();
$mpdf->debug = true;
$mpdf->WriteHTML($html);
$mpdf->Output();
exit;
echo phpinfo();
zlibセクションの下に戻ります
Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value
等々...
私もこのリンクを読んだ