php 引用prince类,提示不能加载pdf

<?php
//require '../bootstrap.php';

require 'prince.php';

//print_r() ;

//exit();
$prince = new Prince('D:\\prince\\engine\\bin\\prince.exe');

//$prince = new Prince('D:\prince\engine\bin\prince.exe');
header('Content-Type: application/pdf');
header('Content-Disposition: inline; filename="foo.pdf"');
$prince->convert_file_to_passthru('http://www.baidu.com');

?>

如上代码,打开网页提示不能加载pdf
附件: 您所在的用户组无法下载或查看附件