Bom dia Estou a tentar gerar PDF/A recorrendo à biblioteca FPDF e a sua extensão FPDFA
A versão do FPDF é a 1,8 , a extensão fpdfa foi obtida no link http://www.fpdf.org/en/script/script103.php Dado aos váriosm erros que encontrei, enviei um email para [email protected] , questionando qual a versão do FPDF que deveria usar. Resposta foi a 18, contudo até num simples código como: <?php require('fpdfa.php'); $pdf = new FPDF(); $pdf->AddPage(); $pdf->Output(); ?> Sou brindado com Warning: htmlspecialchars() expects parameter 2 to be long, string given in F:\ms4w\apps\fpdf18\fpdfa.php on line 32 Warning: htmlspecialchars() expects parameter 2 to be long, string given in F:\ms4w\apps\fpdf18\fpdfa.php on line 32 Warning: htmlspecialchars() expects parameter 2 to be long, string given in F:\ms4w\apps\fpdf18\fpdfa.php on line 32 Warning: htmlspecialchars() expects parameter 2 to be long, string given in F:\ms4w\apps\fpdf18\fpdfa.php on line 32 Fatal error: Uncaught exception 'Exception' with message 'FPDF error: Some data has already been output, can't send PDF file' in F:\ms4w\apps\fpdf18\fpdf.php:271 Stack trace: #0 F:\ms4w\apps\fpdf18\fpdf.php(1051): FPDF->Error('Some data has a...') #1 F:\ms4w\apps\fpdf18\fpdf.php(987): FPDF->_checkoutput() #2 F:\ms4w\apps\fpdf18\ex.php(14): FPDF->Output() #3 {main} thrown in F:\ms4w\apps\fpdf18\fpdf.php on line 271 Alguém conseguiu colocar a extensão a funcionar corretamente? Usam outras bibliotecas PHP para gerar PDFA's? -- Jorge Manuel Ramos Penedo
_______________________________________________ Portugal mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/portugal
