On 6/03/2013 17:44, Tiziana Herrera wrote:
Please help me,
I created a pdf that is generated ok but when i click print it shows
a message that says:
theres an error on this page, it might not be shown correctly ,
please contact the person that created
my pdf is set to no compression and its version to 1.2
as shown below
Document.Compress = False
pdfw.SetPdfVersion(PdfWriter.PDF_VERSION_1_2)
am i missing anything ?
Yes, you used an illegal operator inside a text block.
Somewhere in your code, you have a sequence that looks like:
canvas.beginText();
...
canvas.rectangle(...);
...
canvas.endText();
move the rectangle() method outside the text block.
You may have other errors, but this was the first one that showed up in
the crystal ball I consulted to mysteriously look at your code.
You may get more info if you show us your actual code so that we don't
have to use our crystal ball.
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php