I have created two PDF file with the help of TCPDF. The first document have one page and the second one have two pages. But the second document (With 2 pages) pushing some errors like "An Error exist in this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem.". This error coming only with Adobe Acrobat Reader 11. But i tried the same document open with other readers(Foxit Reader 5.0, Adobe Reader 8.0, SumatraPDF reader). I didn't get any errors. Please help me as soon as possible the earliest .
You are right we created two texts, one for printing and one for screen. The field (1111111111) fetching from the database and inserting to the $pdf->text().
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have created two PDF file with the help of TCPDF. The first document have one page and the second one have two pages. But the second document (With 2 pages) pushing some errors like "An Error exist in this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem.". This error coming only with Adobe Acrobat Reader 11. But i tried the same document open with other readers(Foxit Reader 5.0, Adobe Reader 8.0, SumatraPDF reader). I didn't get any errors. Please help me as soon as possible the earliest .
Last edit: Sanoj .K V 2014-07-22
Please anybody help me. This is very urgent......
You should provide your code and/or the pdf for more advice.
Thanks for the response. Attaching the document.
If you open the pdf in notepad, on line 1013 you can see there is a linefeed missing between ET and EMC and this is a syntax error.
It may be worth updating your TCPDF version. Can you share your php so I can see how you create that field (1111111111)?
Also you seem to create the text twice. Once for screen and once for print rather than once for both.
You are right we created two texts, one for printing and one for screen. The field (1111111111) fetching from the database and inserting to the $pdf->text().