TCPDF错误:setPage()函数上的页码错误:0
我的代码:
include_once('class/tcpdf/tcpdf.php');
include_once("class/PHPJasperXML.inc");
include_once ('setting.php');
$xml = simplexml_load_file("Relatorio/relatorio.jrxml"); //informe onde está seu arquivo jrxml
$PHPJasperXML = new PHPJasperXML();
$PHPJasperXML->debugsql = false;
$PHPJasperXML->xml_dismantle($xml);
$PHPJasperXML->connect($server, $user, $pass, $db);
$PHPJasperXML->transferDBtoArray($server, $user, $pass, $db);
$PHPJasperXML->outpage("I", "");
有人可以帮我解决这个问题吗?
答案 0 :(得分:-2)
如果您在设计时删除任何乐队,那么将其恢复,那么您的文档就可以了