Print a document with a Digital Signature

Hello;


I have Word documents (.doc) that contain the Word Digital Signature Line. I understand that modifying / saving these documents will invalidate the signature and remove the certificate.

But is there no way to print them or save an image with the Valid Certificate visible on the Digital Signature line?


Hi ,


Thanks for your inquiry.

When you print a document with a signature line using Aspose.Words the signature is rendered as a plain image on the output. Currently Aspose.Words does not validate signature lines during import so the image appearance should appear the same.

All of this means the signature should appear correctly during printing. If you have any problems, could you please attach your document here for testing?

Thanks,

I’ve attached two documents with a digital signature.

If I save as JPG to view or Print it does not show the Signed state.

The code is simple, to print:
Aspose.Words.Document doc = new Aspose.Words.Document(FileName, new LoadOptions(password));
doc.Print();

To save as JPG:

Aspose.Words.Document doc = new Aspose.Words.Document(FileName, new LoadOptions(password));
Aspose.Words.Saving.ImageSaveOptions imageOptions = new Aspose.Words.Saving.ImageSaveOptions(SaveFormat.Jpeg);
for (int x = 0; x < doc.PageCount; x++)
{
imageOptions.PageIndex = x;
imageOptions.PageCount = 1;
imageOptions.JpegQuality = 100;
doc.Save(<span style="color:blue;">string</span>.Format(<span style="color:#a31515;">"{0}_Page{1}.jpg"</span>, FileName, x + 1), imageOptions);

}


Hi there,


Thanks for attaching your document here. I managed to reproduce the issue on my side. I have logged this as an issue. We will inform you as soon as there are any developments.

In the mean time only the original signature (without signing) is rendered.

Thanks,

The issues you have found earlier (filed as WORDSNET-1748) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

The issues you have found earlier (filed as WORDSNET-4074) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(4)