» Archive for the 'iText' Category

PortableNotary-an open source software to verify pdf signature

Friday, February 15th, 2008 by rubypdf

PortableNotary is an open source software to verify pdf signature, bases on iText, you can download it from here.

PortableNotary permits you to verify pdf signature. It is OS independent and can be used from command line.

using nup_pdf to convert PDF to booklet

Monday, January 14th, 2008 by rubypdf

from planetpdf forum, some body asked a question about ” Print PDf like book”

Suppose i have 12 pages in my pdf, I would like to print pdf on front and back sides (with 2 pages on front and 2 pages on back):
Here is the result I would like to have :
Front page 1 : 12p-1p
Back page 1 : 2p-11p
Front page 2 : 10p-3p
Back page 2 : 4p-9p
Front page 3 : 8p-5p
Back page 3 : 6p-7p

So I think maybe nup_pdf can do this job, after tested, we can do it in this way
nup_pdf in.pdf out.pdf 2 -k 1

reference:
how to make N-up PDF with free software
http://forum.planetpdf.com/webboard/wbpx.dll/read?163955,7

PdfReader not opened with owner password

Wednesday, December 12th, 2007 by rubypdf

I search the source code of itext-src2.0.6 and iTextSharp-4.0.7 with the keyword “PdfReader not opened with owner password”, and get the following result,

itext-src-2.0.6
[F:\soft\0710\itext\itext-src-2.0.6\com\lowagie\text\pdf\PdfCopyFieldsImp.java]
Line 115 : throw new IllegalArgumentException(”PdfReader not opened with owner password”);
[F:\soft\0710\itext\itext-src-2.0.6\com\lowagie\text\pdf\PdfReaderInstance.java]
Line 85 : throw new IllegalArgumentException(”PdfReader not opened with owner password”);
[F:\soft\0710\itext\itext-src-2.0.6\com\lowagie\text\pdf\PdfStamperImp.java]
Line 103 : throw new IllegalArgumentException(”PdfReader not opened with owner password”);

itextsharp-4.0.7
F:\soft\0712\itextsharp-4.0.7\iTextSharp\text\pdf\PdfCopyFieldsImp.cs(102): throw new ArgumentException(”PdfReader not opened with owner password”);
F:\soft\0712\itextsharp-4.0.7\iTextSharp\text\pdf\PdfReaderInstance.cs(86): throw new ArgumentException(”PdfReader not opened with owner password”);
F:\soft\0712\itextsharp-4.0.7\iTextSharp\text\pdf\PdfStamperImp.cs(92): throw new ArgumentException(”PdfReader not opened with owner password”);