I tried that out and still didn't work.
I used the JPedal library to print and it is working beautifully.
Looks like ootb java printing couldn't handle printing the pdf successfully.
Thanks for all your help
Regards,
Aditya Gollakota
On 8 June 2011 21:46, Aditya Gollakota <aditya.gollak...@gmail.com> wrote:
> Thanks, I'll try that tomorrow at work and let you know how it goes.
>
> Regards,
>
> Aditya Gollakota
>
>
>
> On 8 June 2011 21:41, Leonard Rosenthol <lrose...@adobe.com> wrote:
>
>> Yup!
>>
>>
>>
>> *From:* Aditya Gollakota [mailto:aditya.gollak...@gmail.com]
>> *Sent:* Wednesday, June 08, 2011 7:35 AM
>>
>> *To:* Post all your questions about iText here
>> *Subject:* Re: [iText-questions] Livecycle generated PDF filled with
>> iText doesn't print form fields
>>
>>
>>
>> So do a form.removeXfa() after populating the fields?
>>
>> Regards,
>>
>> Aditya Gollakota
>>
>> On Jun 8, 2011 9:33 PM, "Leonard Rosenthol" <lrose...@adobe.com> wrote:
>> > If you're flattening, be sure to throw away the XFA!
>> >
>> > -----Original Message-----
>> > From: 1T3XT BVBA [mailto:i...@1t3xt.info]
>> > Sent: Wednesday, June 08, 2011 1:48 AM
>> > To: Post all your questions about iText here
>> > Subject: Re: [iText-questions] Livecycle generated PDF filled with iText
>> doesn't print form fields
>> >
>> > On 8/06/2011 7:42, Aditya Gollakota wrote:
>> >> Hi,
>> >>
>> >> When I create the PDF template from Livecycle, I choose to save it as
>> >> a static form, so when I use the method stamper.getAcroFields(), along
>> >> with form.getFields(), the key to the Map<String,Item> has a list of
>> >> the fields in the PDF template.
>> >> They look like
>> >> Header[0].ReceiptNumber[0]
>> >> Header[0].CustomerName[0]
>> > OK, then we've established that you do have AcroForm fields.
>> > You also throw away all interactivity, because you're using
>> setFormFlattening(true); What happens if you open the PDF that is filled out
>> in Adobe Reader?
>> > Does it look OK? Are the fields filled in?
>> >
>> >
>> ------------------------------------------------------------------------------
>> > EditLive Enterprise is the world's most technically advanced content
>> authoring tool. Experience the power of Track Changes, Inline Image Editing
>> and ensure content is compliant with Accessibility Checking.
>> > http://p.sf.net/sfu/ephox-dev2dev
>> > _______________________________________________
>> > iText-questions mailing list
>> > iText-questions@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/itext-questions
>> >
>> > iText(R) is a registered trademark of 1T3XT BVBA.
>> > Many questions posted to this list can (and will) be answered with a
>> reference to the iText book: http://www.itextpdf.com/book/ Please check
>> the keywords list before you ask for examples:
>> http://itextpdf.com/themes/keywords.php
>> >
>> >
>> ------------------------------------------------------------------------------
>> > EditLive Enterprise is the world's most technically advanced content
>> > authoring tool. Experience the power of Track Changes, Inline Image
>> > Editing and ensure content is compliant with Accessibility Checking.
>> > http://p.sf.net/sfu/ephox-dev2dev
>> > _______________________________________________
>> > iText-questions mailing list
>> > iText-questions@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/itext-questions
>> >
>> > iText(R) is a registered trademark of 1T3XT BVBA.
>> > Many questions posted to this list can (and will) be answered with a
>> reference to the iText book: http://www.itextpdf.com/book/
>> > Please check the keywords list before you ask for examples:
>> http://itextpdf.com/themes/keywords.php
>>
>>
>> ------------------------------------------------------------------------------
>> EditLive Enterprise is the world's most technically advanced content
>> authoring tool. Experience the power of Track Changes, Inline Image
>> Editing and ensure content is compliant with Accessibility Checking.
>> http://p.sf.net/sfu/ephox-dev2dev
>> _______________________________________________
>> iText-questions mailing list
>> iText-questions@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>
>> iText(R) is a registered trademark of 1T3XT BVBA.
>> Many questions posted to this list can (and will) be answered with a
>> reference to the iText book: http://www.itextpdf.com/book/
>> Please check the keywords list before you ask for examples:
>> http://itextpdf.com/themes/keywords.php
>>
>
>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php