Re: [iText-questions] Simplex printing vs. Duplex printing of PDFs

2009-07-02 Thread Leonard Rosenthol
No there is not. What software are you using to print the PDFs? Perhaps that can be extended/modified to address your need? Leonard On 7/2/09 12:46 PM, "Classen, Brendan" wrote: I have a web application, users of which need to be able to print a PDF in simplex or duplex mode. I tell them

Re: [iText-questions] Verify PDF certification validity using iText

2009-07-02 Thread Leonard Rosenthol
Not with any high level API, but you could certainly find out the information you need using the infrastructure of iText's low level PDF reading library. Leonard On 7/2/09 8:34 AM, "JC Guerrero" wrote: Many thanks Paulo and Andreas for your quick response. I have been reviewed the thread abo

Re: [iText-questions] "trailer not found."

2009-07-02 Thread Leonard Rosenthol
Quick clarification... Acrobat/Reader will ONLY look at the linearization information when viewing in a browser. All desktop viewing ignores it. Leonard On 7/2/09 10:43 AM, "Paulo Soares" wrote: Looks like the files are truncated. If the files are linearized Acrobat won't look for the trai

Re: [iText-questions] Transparent background for whole pdf

2009-07-02 Thread Leonard Rosenthol
Yup - check with the folks at PDFTron, they are good folks! (and say "Hi" to them from me) Leonard On 7/2/09 7:09 AM, "Ian Rashkin" wrote: Thanks - that's intuitively clear to me and judging by your email address I'm guessing you know of what you speak. So probably I am asking the wrong que

[iText-questions] Simplex printing vs. Duplex printing of PDFs

2009-07-02 Thread Classen, Brendan
I have a web application, users of which need to be able to print a PDF in simplex or duplex mode. I tell them no problem, however, legally the documents that they are printing out in duplex must have blank pages inserted every so often so that the back side of a page is blank rather than having t

Re: [iText-questions] Verify PDF certification validity using iText

2009-07-02 Thread JC Guerrero
Many thanks Paulo and Andreas for your quick response. I have been reviewed the thread about version comparison and I have similar needs. Now that I know there is no documentation from Adobe about legal or not legal changes on a certified document, I will try to get an alternative. What I really

Re: [iText-questions] Table header/footer problem

2009-07-02 Thread mister bean
Strictly speaking, this requirement cannot be met using page events: "All parts need to fit tightly together so no spacing between the parts (so the page footer for the last page can be in the middle of the page depending on the size of the report)" Page events, which trigger the printing of h

Re: [iText-questions] "trailer not found."

2009-07-02 Thread Paulo Soares
I'll have look. Paulo > -Original Message- > From: Dean Krueger [mailto:dmkrue...@gmail.com] > Sent: Thursday, July 02, 2009 4:15 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] "trailer not found." > > Ok, here is a smaller one.. Thanks! > > > On T

Re: [iText-questions] "trailer not found."

2009-07-02 Thread Paulo Soares
It can read but the PDF must have the trailer and not have more than 1k of garbage after it. It's better to look at one of those PDFs. Paulo > -Original Message- > From: Dean Krueger [mailto:dmkrue...@gmail.com] > Sent: Thursday, July 02, 2009 4:04 PM > To: Post all your questions abou

Re: [iText-questions] "trailer not found."

2009-07-02 Thread Dean Krueger
Does that mean, iText doesn't support this type of PDF? I thought it couldn't write linearized file but could read them. Thanks Dean On Thu, Jul 2, 2009 at 10:43 AM, Paulo Soares wrote: > Looks like the files are truncated. If the files are linearized Acrobat won't > look for the trailer as all

Re: [iText-questions] "trailer not found."

2009-07-02 Thread Paulo Soares
Looks like the files are truncated. If the files are linearized Acrobat won't look for the trailer as all the information it requires is in the linerization tables. Paulo > -Original Message- > From: Dean Krueger [mailto:dmkrue...@gmail.com] > Sent: Thursday, July 02, 2009 3:00 PM > To

[iText-questions] "trailer not found."

2009-07-02 Thread Dean Krueger
Hi, I have some PDF's created by a customer, using Distiller 9 on windows. When I try to open a PdfReader, I get an exception "trailer not found.", Stack Trace is : iTextSharp.text.pdf.PdfReader.RebuildXref() at iTextSharp.text.pdf.PdfReader.ReadPdf() at iTextSharp.text.pdf.PdfReader..ctor(String

Re: [iText-questions] Test if some elements fits in a page

2009-07-02 Thread Paulo Soares
The better way is to create a new ColumnText, the first one is "spent" anyway. Paulo > -Original Message- > From: natros [mailto:nat...@gmail.com] > Sent: Thursday, July 02, 2009 12:32 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Test if some elements fits

Re: [iText-questions] Transparent background for whole pdf

2009-07-02 Thread Mike Marchywka
> From: > To: lrose...@adobe.com; itext-questions@lists.sourceforge.net > Date: Thu, 2 Jul 2009 07:09:07 -0400 > Subject: Re: [iText-questions] Transparent background for whole pdf > > Thanks – that’s intuitively clear to me > and judging by your email address I’m guessin

[iText-questions] Test if some elements fits in a page

2009-07-02 Thread natros
I have been doing some experiments with ColumnText to see if some iText element fits in the page. I'm witting 38 time the word "Hello" and 5 times the word "World". If the last 5 words does not fit in the page I want them in a new page. Here is what I did Document doc = new Document(); try { Pdf

Re: [iText-questions] TSA in iText 2.1.6

2009-07-02 Thread Paulo Soares
TSA in iText is oriented to be used inside an external signature with signed attributes to also support OCSP. The main objective was to make it work, now we'll have to improve on the details. Paulo > -Original Message- > From: Bert Vingerhoets [mailto:bert_vingerho...@inventivegroup.com

Re: [iText-questions] Transparent background for whole pdf

2009-07-02 Thread Ian Rashkin
Thanks - that's intuitively clear to me and judging by your email address I'm guessing you know of what you speak. So probably I am asking the wrong question. Basically, I am using PDFTron's PDF2Image to "convert" the pdf doc to an image (my app needs the pdf for the print-ready, final document,

[iText-questions] TSA in iText 2.1.6

2009-07-02 Thread Bert Vingerhoets
Hi, I was checking out the new functionality of iText 2.1.6, especially the added TSA support. In absence of documentation or examples, I took a look at the code to determine how to use the timestamping functionality. However, all I could find about the subject were the interface TSAClient and

Re: [iText-questions] pdf to png or jpg

2009-07-02 Thread Ian Rashkin
I'm using PDFTron's PDF2Image, and it works very nicely. Currently having problems trying to get transparency to carry through, but that is likely more my fault in my pdf creation than theirs. _ From: pri...@samea.de [mailto:pri...@samea.de] Sent: June 24, 2009 2:47 AM To: Post

Re: [iText-questions] Verify PDF certification validity using iText

2009-07-02 Thread Andreas Kuehne
Hi JC, I do understand the concept of certification the way that it should hinder software to do further 'unallowed' changes. To track the changes that happened to a document later on and compare the different versions is a difficult task. There was a mail thread regarding version comparsion

Re: [iText-questions] Verify PDF certification validity using iText

2009-07-02 Thread Paulo Soares
There's no documentation from Adobe on what is considered legal or not to add to a certified doc. iText doesn't do any verifying other than verifying the signature. Paulo > -Original Message- > From: JC Guerrero [mailto:jcwarrior.l...@gmail.com] > Sent: Thursday, July 02, 2009 8:50 AM

[iText-questions] Verify PDF certification validity using iText

2009-07-02 Thread JC Guerrero
Hello. First, sorry for my english... I'm using Java iText to certify PDF document and get control of changes allowed in document. I want to only allow to append new digital signatures over the certified document. The PDF certified with sap.setCertificationLevel(PdfSignatureAppearance.CERTIFIED_