Aspose pdf java applet

Aspose,

We found the following forum thread that is 2 years old and wanted to know, does aspose pdf support running inside an applet?

http://www.aspose.com/community/forums/230978/can-aspose.words-process-java-applets-when-converting-html-to-word-document/showthread.aspx#230978.

We are having an issue that after we fill in the pdf form fields and print the pdf, it prints fine but without the form fields filled in.

Here is a code snip for what we are using


Input and output are both byte streams

Form form = new Form(input, output);

JSONArray fields = documentJson.getJSONArray("fields");

for (int fieldIndex = 0; fieldIndex < fields.length(); fieldIndex++) {

// get the field from the input data

JSONObject field = fields.getJSONObject(fieldIndex);

String value = field.getString("value");

if (value != null)

form.setField(field.getString("name"), value);

}

form.allFlatten();

//form.save();

form.close();

Hi Jcirceo,

Please share the filled PDF file with us, so we could try to print it at our end and see why it is not printing the form field data. You can save the filled PDF to disk and share with us.

We’re sorry for the inconvenience and looking forward to help you out.
Regards,


I have attached the pdf before it's filled out, I will send the filled in pdf later today.

I don't have the project setup on this workstation and my laptop is not with me.

attached is the pdf before it's sent to the printer but after the fields have been filled out.

It prints fine from the java console but not from a java applet.

Hi Jcirceo,

Thank you very much for sharing the input PDF file. We’ll look into this issue at our end and update you accordingly. Please spare us some time for further investigation.

We’re sorry for the inconvenience.
Regards,

Thanks for looking at this, do you have an estimate as to when we’d have an answer?

FYI:

We have a deadline coming up and I have written an applet using your component.

Hi Jcirceo,

I have been working on this issue at my end using the latest version. However, I’m unable to print the PDF file at all even using the console application. The printed output is completely blank. Could you please try to use the latest version (3.7.0) at your end and share the results with us as well? I just want to make sure that we’re on the same page before moving forward.

We’re sorry for the inconvenience and looking forward to help you out.
Regards,

I am using aspose-pdf-kit-3.7.0.jar. I was able to print.

Let's take my pdf out of the equasion.

Can you provide an example of printing a pdf inside an applet with form fields?

Thanks for your help it is greatly appreciated.

Hi Jcirceo,

I would like to share with you that the code for printing is same for any type of application, whether a console application or an applet. Also, the code is same whether the PDF contains form fields or not. However, as I shared earlier, I was unable to print the PDF successfully even with a console application. Nevertheless, we’ll further test it – in an Applet as well – and try to investigate why the component is unable to print the PDF properly. You’ll be updated with the results accordingly.

We’re sorry for the inconvenience.
Regards,

Here is the content I derived converting your HTML content into neat Markdown format:

I appreciate your commitment to helping me resolve this issue.

Having an example to base my code on will help.

FYI: I was able to print using an applet inside eclipse it’s when I deployed to a website that I had issues.

Hi Jcirceo,

Please spare us some time and we’ll update you with the results of the investigation and the sample.

We’re sorry for the inconvenience.
Regards,

Do you have an estimate as to when this would be done?

Hi Jcirceo,

We need to investigate this issue in detail at our end. It has already been added in our to-do list. We’ll be able to provide you the sample and any further details within a week or two. Please spare us some time.

We’re sorry for the inconvenience and appreciate your cooperation.
Regards,

Hi Jcirceo,

We have looked into this issue on priority basis and I have reproduced the same issue at my end. I’m afraid, our team will have to investigate this issue in detail. The issue has been logged as PDFKITJAVA-24691 in our issue tracking system. You’ll be updated via this forum thread once it is resolved.

We’re sorry for the inconvenience. If you have any further questions, please do let us know.
Regards,

I was wondering if there has been any progress made on this? thanks

Hi Jeff,

I’m sorry to inform you that this issue is not yet resolved. However, I have asked our team to share the ETA of this issue. You’ll be updated via this forum thread as soon as the response is received.

We’re sorry for the inconvenience.
Regards,

An ETA shouldn't take this long, you should talk with your team.

Hi Jeff,

Our team has further investigated this issue and shared the ETA. I would like to share that the fix for this issue will be available at the end of June 2011. You’ll be notified via this forum thread once it is resolved.

We’re sorry for the inconvenience.
Regards,