Two licenses need to be initialized

Hi,


I’m using Aspose.PDF v4.1.2 and I need to initialize two licenses for that single library (aspose.pdf.License, com.aspose.pdf.License), is it intended? Can you remove one license?

Thanks,
Mariusz

Hi Mariusz,

Thanks for contacting support.

During the creation of the autoported mergedAPI of Aspose.Pdf for Java, the code in com.aspose.pdf and com.aspose.pdf.facades is ported from the current Aspose.Pdf for .NET. However, the aspose.pdf package remains the same as the legacy Aspose.Pdf for Java (prior to the release of v4.0.0).

Therefore, in current releases, you need to initialize the license twice for different packages.

For the sake of correction, I have logged this in our issue tracking system as PDFNEWJAVA-33693. We will try to fix this problem and will keep you updated on the status of the correction.

We apologize for the inconvenience.

Hi Mariusz,


Thanks for your patience.

I am pleased to share that the issue related to license initialization is resolved in latest release of Aspose.Pdf for Java 4.2.0. Now you only need to call the following code lines to initialize the license and there is not need to separately instantiate an object of aspose.pdf.License class.

[Java]
com.aspose.pdf.License newjavalic = new com.aspose.pdf.License();
newjavalic.setLicense(“Aspose.Total.Product.Family.lic”);

Hello,

Before
Aspose.Java for java 4.2.0, initialization of licence for library “aspose.pdf.License”
(in addition of “com.aspose.pdf.Licens”) was needed to remove “Evaluation only”
message for PDF files converted from image. Despite of correction of issue PDFNEWJAVA-33693,
I still have “Evaluation only” on PDF files converted from image.

Note that
with the same license “Aspose.Total for Java”, we haven’t the message
“Evaluation only” on PDF converted with Presentation.Save (Aspose.Slides) or Document.Save
(Aspose.Word).

Find in
attachment the java code that we use to perform image conversion to PDF.

Please,
could you investigate?

Thank you.

Regards

<!–[if gte mso 10]>

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Tableau Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}

<![endif]–>

Hi Samuel,


Thanks for sharing the details.

Can you please share the license file so that we can test the scenario at our end. Please follow the instructions specified over following link for information on How to send a license?

We are sorry for this inconvenience.

Hi Samuel,


Thanks for sharing the license file.

I have tested the scenario using Aspose.Pdf for Java 4.2.0, where I have used following code snippet to initialize the license and in order to convert the image to PDF format, I have used the same code snippet which you shared in your earlier posts and I am unable to notice Evaluation watermark in resultant PDF file. Please try downloading Aspose.Pdf for Java 4.2.0 from website as we upgraded the build over download module which includes the resolution of similar issue.

For your reference, I have also attached the resultant PDF file generated over my end. In case you still face the same issue, please feel free to contact.

Hello,

It works now as expected by using the last version of Aspose.Pdf for Java 4.2.0.

Thank you.

Regards.

Hi Samuel,


I am glad to hear that your problem related to license is fixed. Please continue using our product and in case I can be of any further assistance, please feel free to contact.

The issues you have found earlier (filed as PDFNEWJAVA-33693) have been fixed in Aspose.Pdf for Java 4.2.1.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.