Changing document properties of pdf

View: New views
7 Messages — Rating Filter:   Alert me  

Changing document properties of pdf

by Mair, Paul :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi,

I have added an empty signature field into a existing pdf document.

But I’m not able to sign the document because in the Document Properties the Sign is set to Not Allowed.

The PDF Version of the file is 1.3 (Acrobat 4.x).

Is there a possibility to manipulate this flag with iText?

Regards

Paul


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Re: Changing document properties of pdf

by Mair, Paul :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi,

I have investigated on the problem and I have found out, that I can sign the created document in Acrobat Standard 6 but not in Acrobat Reader 7 or Acrobat Reader 6.

Is there something special that I have to do or set a parameter in order to can sign the document in Acrobat Reader?

The method I used for creating an empty signature filed is the one that I have found in the mailing list.

                                    PdfReader pdf = new PdfReader("c:/test.pdf");

                                    PdfStamper stp = new PdfStamper(pdf, new FileOutputStream("c:/test_sign.pdf"));

                                    PdfFormField sig = PdfFormField.createSignature(stp.getWriter());

                                    sig.setWidget(new Rectangle(100, 100, 200, 200), null);

                                    sig.setFlags(PdfAnnotation.FLAGS_PRINT);

                                    sig.put(PdfName.DA, new PdfString("/Helv 0 Tf 0 g"));

                                    sig.setFieldName("Signature1");

                                    //sig.setPage(1);

                                    //stp.addAnnotation(sig, 1);

                                    sig.setPage(pdf.getNumberOfPages());                           

                                    stp.addAnnotation(sig, pdf.getNumberOfPages());

                                    stp.close();

Regards

Paul

 


From: itext-questions-bounces@... [mailto:itext-questions-bounces@...] On Behalf Of Mair, Paul
Sent: venerdì 7 luglio 2006 11.48
To: itext-questions@...
Subject: [iText-questions] Changing document properties of pdf

 

Hi,

I have added an empty signature field into a existing pdf document.

But I’m not able to sign the document because in the Document Properties the Sign is set to Not Allowed.

The PDF Version of the file is 1.3 (Acrobat 4.x).

Is there a possibility to manipulate this flag with iText?

Regards

Paul


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Re: Changing document properties of pdf

by Leonard Rosenthol :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

At 10:22 AM 7/7/2006, Mair, Paul wrote:
>I have investigated on the problem and I have found out, that I can
>sign the created document in Acrobat Standard 6 but not in Acrobat
>Reader 7 or Acrobat Reader 6.


         Reader is just that - a READER.   It doesn't support
digitally signing PDFs.

>Is there something special that I have to do or set a parameter in
>order to can sign the document in Acrobat Reader?


         Invest in Adobe's LiveCycle Reader Extensions Server, which
is a product that adds "special sauce" to a PDF that makes it more
functional with used in Reader.


Leonard

---------------------------------------------------------------------------
Leonard Rosenthol                            <mailto:leonardr@...>
Chief Technical Officer                      <http://www.pdfsages.com>
PDF Sages, Inc.                              215-938-7080 (voice)
                                              215-938-0880 (fax)


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Re: Changing document properties of pdf

by Mair, Paul :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

But I'm using the PdfStamper Class to add an empty a blank signature
field.
In addition with the PdfStamper Class it is also possible to set
encryption.
So maybe it is also possible to add permissions to the document in order
to let it sign by Acrobat Reader.
In the help of Acrobat Reader 7 is written:
"You can use Acrobat Reader to sign a PDF document only it the document
includes additional usage rights and an Acrobat digital signature
field."
Is it possible to set this rights by iText?
Regards
Paul

At 10:22 AM 7/7/2006, Mair, Paul wrote:
>I have investigated on the problem and I have found out, that I can
>sign the created document in Acrobat Standard 6 but not in Acrobat
>Reader 7 or Acrobat Reader 6.


         Reader is just that - a READER.   It doesn't support
digitally signing PDFs.

>Is there something special that I have to do or set a parameter in
>order to can sign the document in Acrobat Reader?


         Invest in Adobe's LiveCycle Reader Extensions Server, which
is a product that adds "special sauce" to a PDF that makes it more
functional with used in Reader.


Leonard

------------------------------------------------------------------------
---
Leonard Rosenthol
<mailto:leonardr@...>
Chief Technical Officer                      <http://www.pdfsages.com>
PDF Sages, Inc.                              215-938-7080 (voice)
                                              215-938-0880 (fax)


Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Re: Changing document properties of pdf

by Leonard Rosenthol :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

At 10:54 AM 7/7/2006, Mair, Paul wrote:
>So maybe it is also possible to add permissions to the document in order
>to let it sign by Acrobat Reader.

         Yes, using Adobe LiveCycle Reader Extensions Server.


>Is it possible to set this rights by iText?

         No.  It's one of two "internal to Adobe" sets of features in PDF.


Leonard


---------------------------------------------------------------------------
Leonard Rosenthol                            <mailto:leonardr@...>
Chief Technical Officer                      <http://www.pdfsages.com>
PDF Sages, Inc.                              215-938-7080 (voice)
                                              215-938-0880 (fax)


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Re: Changing document properties of pdf

by Markus Stork () :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I'm facing with the this problem.
I have to add a blank signature field to a PDF (while generating with iText).
This PDF have to be signed with a standard Acrobat Reader.
Any changes in iText since July 2006? Is it now possible to add special rights
to a PDF to sign it with the Acrobat Reader
?

Best regards.

Markus

Leonard Rosenthol wrote:
At 10:54 AM 7/7/2006, Mair, Paul wrote:
>So maybe it is also possible to add permissions to the document in order
>to let it sign by Acrobat Reader.

         Yes, using Adobe LiveCycle Reader Extensions Server.


>Is it possible to set this rights by iText?

         No.  It's one of two "internal to Adobe" sets of features in PDF.


Leonard


---------------------------------------------------------------------------
Leonard Rosenthol                            <mailto:leonardr@pdfsages.com>
Chief Technical Officer                      <http://www.pdfsages.com>
PDF Sages, Inc.                              215-938-7080 (voice)
                                              215-938-0880 (fax)


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Re: Changing document properties of pdf

by Paulo Soares :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For the hard of hearing: ONLY ADOBE CAN APPLY SPECIAL RIGHTS. iText will
never, never, never be able to do it.

Paulo

> -----Original Message-----
> From: itext-questions-bounces@...
> [mailto:itext-questions-bounces@...] On
> Behalf Of Markus Stork
> Sent: Thursday, April 03, 2008 10:08 AM
> To: itext-questions@...
> Subject: Re: [iText-questions] Changing document properties of pdf
>
>
> Hello,
>
> I'm facing with the this problem.
> I have to add a blank signature field to a PDF (while generating with
> iText).
> This PDF have to be signed with a standard Acrobat Reader.
> Any changes in iText since July 2006? Is it now possible to
> add special
> rights
> to a PDF to sign it with the Acrobat Reader?
>
> Best regards.
>
> Markus
>
>
> Leonard Rosenthol wrote:
> >
> > At 10:54 AM 7/7/2006, Mair, Paul wrote:
> >>So maybe it is also possible to add permissions to the
> document in order
> >>to let it sign by Acrobat Reader.
> >
> >          Yes, using Adobe LiveCycle Reader Extensions Server.
> >
> >
> >>Is it possible to set this rights by iText?
> >
> >          No.  It's one of two "internal to Adobe" sets of
> features in PDF.
> >
> >
> > Leonard

Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar