An Error Exists On This Page Acrobat Itext
Contents |
here for a quick overview of the site Help Center Detailed answers to adobe acrobat an error exists on this page any questions you might have Meta Discuss the workings and an error exists on this page pdf policies of this site About Us Learn more about Stack Overflow the company Business Learn
An Error Exists On This Page. Acrobat May Not Display The Page Correctly
more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community
An Error Exists On This Page Adobe Reader Dc
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Getting “An error exists on this page. Acrobat may not display the page correctly.” using ITextSharp WriteSelectedRows up vote 0 down vote favorite 1 I am having an error exists on this page acrobat 9 an issue using ITextSharp to create some tables and images that push to an MVC browser application. I think I have narrowed it down to being within adding the tables using WriteRowsSelected. Here is my code: PDFEngine.cs private byte[] BuildDocument(MemoryStream documentStream, IEnumerable
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the
Rups For Itext
workings and policies of this site About Us Learn more about an error occurred while parsing a contents stream unable to analyze the pdf file Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions debug pdf Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. http://stackoverflow.com/questions/18335501/getting-an-error-exists-on-this-page-acrobat-may-not-display-the-page-correctl Join them; it only takes a minute: Sign up PDFs generated using itextsharp giving error at the time of first print command up vote 1 down vote favorite I am getting below for the first time giving print command. "An error exists on this page. Acrobat may not display the page correctly. please contact the person who created the http://stackoverflow.com/questions/21301497/pdfs-generated-using-itextsharp-giving-error-at-the-time-of-first-print-command pdf document to correct the problem". Print out is comming very fine. and Second time print out command not giving any error. Please help me why this error is comming for the first time print. This is part of my code to create PDF PdfContentByte cb = writer.DirectContent; cb.BeginText(); Font NormalFont = FontFactory.GetFont("Arial", 12, Font.NORMAL, Color.BLACK); // Add an image to a fixed position iTextSharp.text.Image img = iTextSharp.text.Image.GetInstance(Server.MapPath("~/images/images/banner.tiff")); img.SetAbsolutePosition(35, 760); img.ScalePercent(50); cb.AddImage(img); // Draw a line by setting the line width and position cb.SetLineWidth(2); cb.MoveTo(20, 740); cb.LineTo(570, 740); cb.Stroke(); //Header Details cb.BeginText(); writeText(cb, drHead["EmpName"].ToString(), 25, 745, f_cb, 14); writeText(cb, "Employee ID:", 450, 745, f_cn, 12); writeText(cb, drHead["EmployeeID"].ToString(), 515, 745, f_cb, 12); cb.EndText(); cb.BeginText(); writeText(cb, "XXXX:", 25, 725, f_cb, 8); cb.EndText(); cb.SetLineWidth(2); cb.MoveTo(20, 675); cb.LineTo(570, 675); cb.Stroke(); cb.EndText(); // Acknowledgement section cb.BeginText(); writeText(cb, "XXXXXXXXXXXXXXXX", 20, 140, f_cb, 12); cb.EndText(); cb.EndText(); Please help me to know what is the issue. pdf adobe pdf-generation itextsharp share|improve this question edited Dec 2 '14 at 9:10 Bruno Lowagie 44k73869 asked Jan 23 '14 at 7:02 Vandana 446 add a co
gandikota-2 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ An Error Exists on this Page; Acrobat may not display the http://itext.2136553.n4.nabble.com/An-Error-Exists-on-this-Page-Acrobat-may-not-display-the-page-correctly-td2149584.html page correctly Hi Thanks to Lowagie, we are able to downloadn PDF's successfully using JSP. However, on one particular PC we get the error: "An Error Exists on this Page; Acrobat may not display the page correctly" I have reinstalled Acrobat 8 and the error still comes up. Basically, what I see is the form before it was overlaid with text generated with Lowagie an error software. On other PC's using Acrobat 8 we don't see the error. The filled form is shown as it should. I'd appreciate any help. Thanks Murthy Have a burning question? Go to Yahoo! Answers and get answers from real people who know.------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & an error exists business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ iText-questions mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/itext-questionsBuy the iText book: http://itext.ugent.be/itext-in-action/ Bruno Lowagie-2 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: An Error Exists on this Page; Acrobat may not display the page correctly murthy gandikota wrote: > "An Error Exists on this Page; Acrobat may not display the page correctly" > Basically, what I see is the form before it was overlaid with text > generated with Lowagie software. On other PC's using Acrobat 8 we don't > see the error. The filled form is shown as it should. It's hard to guess. But the error could appear if you do stuff with PdfContentByte that is not allowed according to the PDF Reference (iText can't check everything); or if you create fields using wrong keys... Could be anything... I could even be the original form that has the errors... br, Bruno ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ iText-questions mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/itext-questi