Problem flattening dynamic PDF

Hi all,
we have a problem: we created a form using the designer and then we merge it with xml data. The output is a little pdf file (about 300kb) that take about 400MB of memory to be opened by acrobat reader.
I supposed that the reason is that the merging between data and layout is made dinamically by acrobat reader.
Am I right?
So, we try to flatten the PDF server-side to avoid client side merging but it doesn't work:
- if I try to use OutputService/transformPDF the process doesn't produce any error... it simply doesn't do anything... no pdf output, no error, no stalled process in the adminui... just this line of log
"2008-05-20 16:40:10,500 INFO [com.adobe.formServer.FormServer] ALC-FRM-001-501: FormName:6474897e6c92f44172d0f02e8e86bfd7 : FormPreference:PDFA : Debug:false : PDFVersion:null : Content Root:C:\temp\AdobeDocumentStorage\local\docm1211288446656 : Base URL:null : App Root:null : User Agent:null" and then nothing...
- if I try to use ConvertPDFService/toPS it raise an exception telling me that it needs a flattened PDF as input
"2008-05-20 16:51:20,500 ERROR [com.adobe.livecycle.convertpdfservice.exception.ConvertPdfException] ALC-CNP-001-304: Input Document is not a flattened PDF Document"
Any help?

Bryan,<br /><br />We solved this issue by removing <acrobat> tag in xml source for xdp file.

Similar Messages

  • Flattening Dynamic pdf with .xdp fragment

    Hello,
    I'm having problems, flattening merged dynamic pdf's , that have fragments from a source .xdp file, if i set default values inside the xdp, it shows up. They are generated inside the .xdp with some javascript code. They show up in the dynamic version, but they are gone in the static version, Anyone knows a solution for this?
    Thanks in advance.

    Was the form you are trying to import this data to created with LiveCycle Designer?
    I would fill in the form then export the data to XDP and see what the differences are.

  • Flatten Dynamic pdf Files

    Hi,
    I have a dynamic pdf file where users complete text fields, drop down lists and image fields. I also have lock all fields button script that I found in this forum to lock all form fields once user completes it. I was wondering is there a way to save or produce a flat static pdf file in the end? Sometime the dynamic form can increase in size due to the size of image inside the image field. So is there a way to flatten all its contents in the end and produce a smaller copy of that file? This way any user even with old version of adobe reader can open it  since its no longer a dynamic form.
    I know sometimes I can do it by printing it as an "adobe pdf" file but it does not allow me when have the permissions set-up. I dont want to give full access too. What permissions do I need to change to enable this? Is there another way to flatten a dynamic file in the end? Has anyone done this?

    Thanks radzmar...sorry it took me awhile to get back to you.
    This is were I have a problem. Since these LC forms are password protected with a permission pwd to prevent the form from being edited, I am unable to print this form to PDF. It gives out the following message:
    %%[ ProductName: Distiller ]%%
    This PostScript file was created from an encrypted PDF file.
    Redistilling encrypted PDF is not permitted.
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    I am guessing that above message is displayed since the document is restricted from being changed. So is there a way to allow a pdf printing with the permission password enabled?
    Alternatively, I thought another way to flatten pdfs might be to save the pdf file as jpeg image or any image file. But that doesn't work when the permission pwd is enabled as well since it shows the message "Insufficient permissions for image extraction". So whats the solution in this case? what are my options to flatten the pdf files in the end when the permission password is enabled?

  • Problems with dynamic PDF display in reader 8.1.0

    I have created a dynamic PDF Form having 30 text fields in a row. All these fields are bounded to XSD. The design is like, a row of fields display a single user informations. When I import a XML with 100 user informations, then my PDF crashes. If I import a XML with 50 user informations, then it works fine. Anything beyond that count causes the PDF to close automatically. I believe, its the number of fields which causes the problem. I may be wrong.
    I also needs to enter 100 user informations by adding rows one by one. The PDF becomes very slower when I add beyond 35th row. I'm using Livecycle designer 8.0 for designing dynamic PDFs and using Adobe reader 8.1.0 for viewing.
    Can anyone help me on this?

    Hi,
    I figured our there was a setting to enable/disable  Javascript which caused this issue.
    I was using javascript in the LC 8 for manipulations in the dynamic pdfs.
    I enabled the javascript and now it is working fine.
    Thanks,
    Vidya

  • Problems with Dynamic PDF design

    I have created a dynamic PDF Form having 30 text fields in a row. All these fields are bounded to XSD. The design is like, a row of fields display a single user informations. When I import a XML with 100 user informations, then my PDF crashes. If I import a XML with 50 user informations, then it works fine. Anything beyond that count causes the PDF to close automatically. I believe, its the number of fields which causes the problem. I may be wrong.
    I also needs to enter 100 user informations by adding rows one by one. The PDF becomes very slower when I add beyond 35th row. I'm using Livecycle designer 8.0 for designing dynamic PDFs and using Adobe reader 8.1.0 for viewing.
    Can anyone help me on this?

    Here is the link:
    http://www.destiny-seminars.com/dev/index.html
    The dev directory contains:
    index.html
    contact.html
    speaking.html
    training.html
    about.html
    The first page to look at where I had the most recent, most completed page, is - about.html. That will be my template for the rest.  Also, there was supposed to be a feed from my blog showing up on this page; it was also perfect at first. Then, my shaded black site links section and and the copyright footer quit showing up. When I commented out the blog feed code, the footers showed up again. At one time, it all was working. so this is yet another problem I cannot figure out why stuff is changing seemingly by itself.
    These pages were originally created in an online tool called webflow.com. It worked great, but they did not honor the full trial changes before they made site updates that eliminated any free use at all. This code for all files and images were exported into a zip file. The CSS files are titles as follows, in the css directory:
    normalize.css
    timothy-hartwell.css
    webflow.css
    Please help!

  • Save dynamic PDF as flattened or read only

    I finished filling a form, which is a dynamic PDF. Now that I'm done filling it out, I want to save it as a regular PDF, where the fields cannot be edited, and anyone can open it without needing a special version of adobe (basically just a regular PDF viewer), since it's easier to email, and anyone can open it without a problem. Can this be done?
    I have a MacBook Pro, with Yosemite OS.
    Thanks guys

    Do you understand what "flattening" a PDF does?
    It converts fields and annotations content into the context of the PDF and removes the form fields and annotations and they cannot be recovered to their original objects.
    I would look at making the fields read only and using a digital signature to disclose if the PDF has been changed after the signature has been applied.

  • Dynamic PDF Crashing Older PC's

    I've created a dynamic pdf that I've tested on several machines and works well. However this pdf also needs to work on company computers that are fairly old, we're talking 40gb hard drive and original windows XP old here. On these old computers the dynamic pdf crashed adobe reader 9 where the static pdf form didn't. Sadly the form needs to be dynamic in order to work properly.
    Does anyone have any ideas on how to make these old computers not freak out when they try to open the pdf? At the moment they can't at all and often encounter runtime errors or just crash completely. I was looking into converting it back into  static pdf or somehow flattening it at a final point.
    thanks for the help.

    I might be a memory management problem.
    Acrobat Reader doesn't manage memory very well (if at all). If it needs, it tries to allocat memory, if there's no memory left, it crashes.
    A quick memory occupation test (just opening your form) turned out this way:
    - Reader 9.1 (no pdf opened) - 26.892K
    - Reader 9.1 + your form (dynamic) - 335.380K
    - Reader 9.1 + your form (static) - 53.232K
    Your form, if dynamic, hogs almost 280MB more memory than the same form saved as static. Maybe your form just needs more resources than the older PC's have.
    This is my 2cents, but this is a department i'm not very comfortable, maybe some of the forum users that are more knowledgeable of the inner working of Acrobat Reader can provide a better overview.

  • Reader XI "save" button creates "save as"-dialog in a dynamic PDF

    I made a dynamic PDF with LCD ES4. Sometimes it occurs that a "save as"-dialog appears though I pushed the "save"-button. I am using Reader XI 11.0.07 on a Windows 7 Pro system. Suggestions?

    This don't seems to be a problem of the form.
    It's more likely that Readers save operation fails because the file is used by another process (Exploerers preview pane for example) or there are no rights to save into the current directory.

  • Acrobat x pro crashes when I try to flatten a pdf after using typewriter to insert a date

    acrobat x pro crashes when I try to flatten a pdf after using typewriter to insert a date.
    Has anybody else seen this problem? Is there a fix?
    I wanted to download the demo of acrobat XI but it says the previous version will be removed and deactivate the license. That sucks!

    Yes it is up to date.
    I can use the stamp tool and flatten it after with no problems, but the typewriter tool crashes it upon attempting to flatten.

  • Populating dynamic PDF Form Content

    I have a livecycle form I designed that I need to populate with data coming from ColdFusion. Easy enough except for the dynamic areas of my form. I have numerous subforms in my PDF where a user can add extra fields (or rows in a table) and then submit the form. The problem is that I don't know how to access the fields within the subform when there is more than one to populate them. Can't post a dump of the submitted form, but it flows like this:
    form1
         page_1_subform
              subform
                   subform
                        subform
                             array of text fields
    I can process this with no problems on the CF side, but when trying to populate the form I'm having problems. I have javascript in the form that will add enough instances of the fields, but it doesn't populate them.
    Any thoughts???

    Take a look at this blog entry how you can use xml to populate dynamic forms.
    http://www.supportobjective.com/blog/index.cfm/2010/5/27/ColdFusion-and-multirow-forms-ins ide-Dynamic-PDFs
    You might find a way using this approach.

  • Hyperlink in a dynamic PDF form

    Hi guys,
    I've created a dynamic PDF form in LiveCycle designer, and I want to insert hyperlink in to this form - but I don't know how to do it. My Link Tool in Adobe Acrobat is inactive.
    Any advice?
    Cheers
    Marian

    Thanks,
    I just needed to change text field to rich text and now I'm able to insert an URL. But now another problem pops up - I'd like to open directly from this PDF a file stored on the DFS file sharing server. My links open in browser - how can I fix this please?
    Marian

  • Dynamic PDF field value doesn't display XFDF value when no keyboard focus

    I created a simple PDF (test.pdf) file (one text field), and saved it as a "static PDF". I created a XFDF file, and when I double-click on the XFDF file, the sample PDF opens and the field is populated.
    Here's the problem: I save test.pdf as a "dynamic pdf" file. I double-click on the xfdf file and the pdf opens up, but the data is not displayed in the field. If you click on the field, the text appears. If you click out of the field, it disappears. If you update the field value, and navigate away, the value stays.
    There is nothing but the field on the page, no scripts, no subforms, nothing.
    Is this a bug in Adobe Reader 7.0? or is there some weird setting in Live Cycle Designer that I'm missing?
    Thanks

    What is your xfdf file look like? Something like:<br /><br /><?xml version="1.0" encoding="UTF-8"?><br />     <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"><br />          <f href="file:///C|/test3.pdf" /><br />     <fields><br />          <field name="firstName"><br />               <value>William</value><br />          </field><br />          <field name="lastName"><br />               <value>White</value><br />          </field><br />     </fields><br /></xfdf>

  • Dynamic .pdf forms

    Hello everyone,
    I am trying to find an application for my Curve 3300 that is able to render Adobe Dynamic XML Forms (it's a .pdf form, but it is created using LiveCycle Designer and has dynamic content that makes finding a renderer difficult.)
    I've tried the free trial of beamberry, and it isn't able to render the form... I get a "you need a newer version of adobe reader" error.
    Has anyone else out there had the same issue? If so, how did you resolve it? Can PDF To Go read dynamic .pdf forms?
    I'd appreciate any help that any one can offer.
    - Scott
    P.S. does anyone know which version of Adobe Reader is functionally equivalent to the Blackberry .pdf reader apps? Is it possible to know that, or are they two different creatures altogether?
    P.P.S. I figure that alot of people won't have any experience with dynamic .pdf forms... Here is a link to a sample dynamic .pdf form that I created for testing purposes. If you think that you have an app that can read it, please try opening the linked .pdf file on your blackberry. If anyone out there is able to view it, please let me know what software you are using. Thanks alot for your help.
    Solved!
    Go to Solution.

    For anyone in the future who has a similar issue, I've come up with a fairly simple workaround. It adds an extra step of work, but it allows you to continue using dynamic forms in your workflow.
    The ideal solution is if your office has a server-side adobe document output service. You can push your form to the server, have it extract the data into a datawarehouse, then output a flattened .pdf. A flattened .pdf cannot be (easily) edited, and all code behind is removed. This solution is the 'best', (and it's the only way to flatten an xfa form, as far as Adobe is concerned) but it also costs some coin, especially if you don't have any existing infrastructure to support the server-side service.
    The free solution (which I have opted for) is to use a virtual printer to 'print' the document to a suitable format. There are many free virtual printers out there, but I have decided to go with CutePDF Writer. I print to the CutePDF writer, and the output is, essentially, a flattened Blackberry compatible .pdf form. The only issue is that you cannot edit a flattened document (a bonus in my situation, but still something to keep in mind... You can still edit the original document, as the flattened .pdf is a copy, not a transformation.)
    You can even add a print button to the form with some JavaScript to specify the printer as 'CutePDF Writer'. Altogether, it's easier than recreating all of the business forms that have been made in a static format, and you can still leverage all the benefits of a dynamic form.
    I know that this isn't central to the Blackberry, and I apologize for that, but I had a rough time with this issue, and I'm hoping to help someone with the same issue in the future. Again, thanks to those who helped.
    - Scott

  • Flattening a pdf-file

    In the last version of acrobat reader for the ipad, I can "flatten" a pdf-file before emailing. (only then!)
    It seems to me that the "flattening' is not really "flattening" the pdf-file !
    When I open this pdf-file on my computer with acrobat reader, acrobat still recognises the pdf as a form en not just as an pdf-file. (I get the remark that i can fill-in this form, but can't save it)
    (no problem with that)
    But when  mailing  the pdf to my "work" mail-address, the file is allways blocked by the firewall/security, saying it can not recognise the "file type" and the pdf-file is corrrupt.
    When I use other apps (like "pdf master pro", "writepdf" or "Powerpdf"), I get a really "flattened" pdf. (never blocked by the firewall, not recognised as a form in acrobat reader X, no changes possible)
    It is a little bit absurd to fill in a form in acrobat reader (with the dropdown boxes, javascript routines, pop-up remarks, ....)  en then  have to reopen it in another app, just to email a really flattened pdf-file.
    I would use the other apps, but al these apps are having troubles with the dropwdown-fields, the javascript, the field-type (=>opening the numeric keyboard then filling in numbers) ....
    Solutions ?  (of do I have to wait at a new update ?)
    grtz;

    Ok, this is an XML/XFA/Designer form.
    You cannot use JavaScript designed for Acrobat forms (Acroforms). I suspect that is the problem. You must develop JavaScript using the Designer JavaScript object model. Not sure if that even supports flattening, since it isn't really a PDF at all with all that XML stuff.

  • How do I create a Dynamic PDF in ColdFusion

    I am using ColdFusion CS4 and I need to create a dynamic PDF certificate for the user when they finish a short test.
    Their name is in a session var and should dynamically enter in to the Name field of the certificate as well as the date.
    The user can print The PDF certificate, which must be protected to Allow Print only.
    I have a PDF created in Adobe Lifecycle Designer. This contains all the data and a text field Name and Data that needs the dynamic input from ColdFusion.
    <cfpdfform action="populate" source="certificate.pdf">
          <cfpdfsubform name="form1">
                <cfpdfsubform name="page1">
                      <cfpdfformparam name="employeeName" value="John Hollings" />
                      <cfpdfformparam name="date" value="#dateformat(now(), 'dd mmmm, yyyy')#" />
                      <cfpdfformparam name="submitURL" value="#CGI.SCRIPT_NAME#" />
                      </cfpdfsubform>
          </cfpdfsubform>
    </cfpdfform>
    Thsi work but the PDF textFields are open to edit, I need to lock down the PDF so only printing can operate...
    No Copy of data
    No Saving the file (if possible)
    Only print and close

    act332 wrote:
    If I make a form in Adobe Pro9 it opens Lifecycle and I am back there.
    Unfortunately, I am not using Acrobat 9/LiveCycle. So I cannot really provide any specifics there. For usage questions, you might try asking on the Acrobat/LiveCycle forums.   But from CF's perspective, the key is the form's _format_.  Acrobat (AcroForms) and LiveCycle forms are two totally different formats internally.  (Like MS Office 2007 files versus MS Office 2003 files). To flatten a form from CF, it must be an AcroForm:
    http://www.planetpdf.com/article.asp?ContentID=adobe_live_cycle_designer_and_acrobat_pdf_f orms_under_the_hood&page=1
    act332 wrote:
    I am trying to allow a user to print a document (certificate) with their name and date dynamically inserted, this document
    Well as I mentioned, you can use cfpdf or ddx to set whatever permissions you need. The default is "All" (ie all actions are allowed) but you can restrict the permissions by passing in a list of which permissions _should_ be allowed. Anything not included in the list will be restricted.
    <cfpdf permissions="None" ...>   OR
    <cfpdf permissions="AllowPrinting" ...>  OR
    <cfpdf permissions="AllowPrinting,AllowCopy" ...>  OR

Maybe you are looking for