Menu

PDF Error Only with Adobe Acrobat Reader(11)

Help
Sanoj .K V
2014-07-22
2014-07-26
  • Sanoj .K V

    Sanoj .K V - 2014-07-22

    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
    • Sanoj .K V

      Sanoj .K V - 2014-07-23

      Please anybody help me. This is very urgent......

       
  • Simon

    Simon - 2014-07-23

    You should provide your code and/or the pdf for more advice.

     
  • Sanoj .K V

    Sanoj .K V - 2014-07-23

    Thanks for the response. Attaching the document.

     
  • Simon

    Simon - 2014-07-23

    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)?

     
  • Simon

    Simon - 2014-07-23

    Also you seem to create the text twice. Once for screen and once for print rather than once for both.

     
  • Sanoj .K V

    Sanoj .K V - 2014-07-26

    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().

     

Log in to post a comment.