Re: [iText-questions] ERROR: limitcheck OFFENDING COMMAND: gsave

2008-02-15 Thread Andrei Costescu
Thanks Fabrizio. This is the result: Not printable - max level: 1 [Page: 1,CurrentLevel: 1,obj2Name: /img1,obj2Name: /img0] Printable - max level: 1 [Page: 1,CurrentLevel: 1,obj2Name: /img0] Strange, I would have expected > 15 for non printable PDF... I see there is a differ

Re: [iText-questions] ERROR: limitcheck OFFENDING COMMAND: gsave

2008-02-12 Thread Fabrizio Accatino
Andrei, if you need to check the level of nested xobject in a pdf file, you can try to use a piece of code I wrote: http://fhtino.blogspot.com/2007/10/level-of-nested-xobject-in-pdf-file.html How to control it? It depends how you application works. AFAIK there is no (easy) way to reduce the leve

Re: [iText-questions] ERROR: limitcheck OFFENDING COMMAND: gsave

2008-02-12 Thread Andrei Costescu
I can provide a PDF that works and a PDF that gives the error - if needed. I am not sure if I can control how the PDF is constructed when using the graphics to paint it's content. >From the error I think it has something to do with xobject levels, but can I control that? Is it because of the way P

[iText-questions] ERROR: limitcheck OFFENDING COMMAND: gsave

2008-01-25 Thread Andrei Costescu
Hello, I saw there was a similar discussion, but the way of sending info to iText was different (we use PdfContentByte.createGraphics(...)). Anyway, the PDF is created but it gives an error when it is printed: ERROR: limitcheck OFFENDING COMMAND: gsave STACK: /RelativeColorimetric These pdf's