PDF file size grows with each save if .access property set on a field

We are seeing an odd form behavior and have isolated the apparent trigger to something we are doing in the form script.  I'm hoping someone can confirm they see the same problem, details follow:
We have a form generated in LiveCycle.  It contains a text field.  In the docReady event for that field we have javascript which sets the field to be readOnly (TextField1.access = "readOnly").  We reader extend the form so we can save it from reader and/or the plug-in/control which is used by a browser when reading PDFs.
With that simple form, open the form via the browser (we've tested with both IE and Chrome) and without doing anything else, just save the form (with a new name).  When we do that, the saved copy of the form is significantly bigger than the copy we started with.  If we then repeat the process using the newly saved file, the third copy is bigger than the second.
This file growth does not happen if you open the file in Adobe Reader (instead of in the browser).
When we look at the file contents via a text editor, what we have found is that each save via the browser is tacking on a chunk of data to the end of the file AFTER the %%EOF mark.  This new section appears to be one or more object definitions and ends with another %%EOF.  The first portion of the file (prior to the first %%EOF) is identical in all versions of the file.
If you take a copy of the file that has these extra section added, then open and save it in Adobe Reader, it eliminates those extra sections and you get a 'clean', small version of the file again.  So those extra sections are clearly erroneous and unnecessary.
Another thing worth noting, we took the script for setting the field access property out of the docReady event and put it as the click event on a button added to the form.  If you then open the form, press the button and save it you see the file growth (but not if you don't press the button.)  So it doesn't appear related to the docReady event, or timing of when we set the access property of the field.
On the small test form described above the growth of the file is around 13KBytes.  But in testing with our real forms we've found that the amount  of growth seems to be tied to the size/complexity of the form and the form data.  In our most complex form with multiple pages with hundreds of fields and a large amount of XML data (form size is 2+MB), we are getting a file size increase of 700KBytes on each save.  This is a therefore, a significant issue for us, particularly since the process in which the form is used requires the users to save it a couple of times a day over the period of a month or more.

I would start by exporting the XML data from the form before and after it grows to see if it is the underlying data that is growing and where. Did you define a schema and bind your form fields to a data connection created from the schema? That is always my first step when creating a form. It makes for a smaller saved file not including multiple levels of sub forms in the data structure.

Similar Messages

  • PDF file size grows each time form is saved (with no data changes). Why?

    I have an SAP Adobe form (PDF) and we are seeing a difference in the Save behavior between when it is viewed in Adobe Reader vs. the adobe plug-in(?) for Internet Explorer.
    When the form is viewed in Internet Explorer, every time the user saves the form the file size grows (even with no data changes in the form - i.e., open the form, hit save).  This is not true if the form is opened in Adobe Reader.
    The form in question has multiple pages but the only fields directly bound to the SAP source are a handful of identifiers (e.g., order number) and a dynamic table.  It appears from our testing that the more entries in the table when the form is created, the greater the size increase each time the file is saved.  The table length is not changed after the form is first generated.
    Is there a known difference in the behavior of Adobe Reader vs. the browser plug-in which would account for this difference?  Our users have Adobe Reader X installed on their machines.

    If this is an XFA form, as opposed to an Acroform, you should ask in the LiveCycle Desiger forum or a more relevant LiveCycle forum.

  • When I open a pdf file in Firefox and then save, how do I set the initial directory to be closer to what I want instead of a temp directory?

    When I choose to save a pdf file directly when using Firefox, it works perfectly. However, when I choose to open a pdf instead and then save it, the save directly displayed will always be a temp directory and it would be more convenient for me to choose a directory closer to where most of my files normally go. How do I change this?

    Hi,
    I partially answered your question in another posting but I feel that you´re in the wrong forum for your problem. This is for BSP development and you talk about CRM.

  • LPX file size grows every time I save (with almost no changes) - WHY?

    Hi all,
    I am just now starting to move from Logic 9 to Logic Pro X. I first imported a very simple file from logic nine as a folder project and did not import anything except the file.
    - Then, I immediately saved it.  took more than 30 secs on core i7 - why so long?
    - next I "saved a copy as" file 1a - file size 700k - nice and small.
    - that I loaded the first logic X file back in and muted a few things and saved again
    - I made some other very minor changes like muting and re-saved three or four times.
    Here is what is strange –
    Original file = 1 MB
    main LX file was 2 megs and each subsequent save gained about 1 MB each time I hit save! So, the final grew to 6 MB after just a few saves!
    I checked to see if there was some large edit history file I could purge – but it was empty because all I had done was change some mutes…
    Q: what is going on with this large file size growing every time I hit save without any major changes – I would like to know what's going on.

    It has to do with undo history, backups, and autosaves.  You can see these if you right click on the file and show package contents.  Explore in there and you should see these growing in the alternatives folder.  I would imagine there is kind of a limit to how many of these there are, but haven't looked to closely at it.

  • File Size Growing too much with every Save

    I have designed a form that uses Giids with drop-down lists and also some Image Fields.  When I am using the form and I save it the file size grows excessively with each save.  If I add even one character to a sentence the file size may grow by as much as 500K or more. Saving a few times causes the file to become far to large to send by email.  Any ideas what I need to try and fix, or is this just normal?

    Nope,  I have it unselected and it still grows by leaps and bounds.  Any other ideas?  Is there anyone I can send a form to who  can work on it for a fee?

  • Why does PDF file size increase each time I "save" tagging tasks?

    Why does PDF file size increase each time I "save" tagging tasks?
    Given:
    1) I'm running Acrobat Pro 11.0.07 (this is most current version)
    2) My file size starts at 750mb and ends up 15mb when finished tagging.
    3) Only certain documents experience this increase, i.e., no visible pattern of document characteristics
    4) PDF's are not full of images...in fact, mostly <H1> <H2> <H3> <P> <Figure> alt text, ect.
    5) Occurs with text PDF's and/or fillable forms (again, does not happen to all documents...only some)
    6) File increase occurs incrementally as tagging tasks are performed; i.e., each new save increases file size a few megabytes.
    7) Occurs whether I "save" or "save as"
    8) Difficult to optimize these files without corruption
    9) I'm running Mac OS 10.9.4 (this is most current version)

    Thank you so much for responding! I've been experimenting with the SAVE AS vs. SAVE for the past few days...and you are correct. It's funny because I've been tagging files for 2 years and never noticed this. Probably b/c I use both methods depending on the tagging tasks...some are more complicated than others and should not be overwritten. In those cases I SAVE AS new file.
    I love this forum...thank you again!

  • PS Elements 8 - "Save As" PDF File Sizes Huge

    In Photoshop Elements 8.0, Photoshop PDF file sizes are huge when using the "save as" function, using JPEG compression.
    No matter which "Image Quality" is used, the resultant PDF is huge. At "high" quality the file is 20 MB. At "medium" quality, the file is 15 MB. At "low" quality, the file is also 15 MB, much too large. This was not a problem in older versions of Elements. File sizes were typically just more than 3 MB.
    If I save the image as JPEG files using "maximum" (10) quality, "medium" (5) quality, and "low" (3) quality, I can insert the image(s) into Word and use the Acrobat Pro PDF printer driver to get PDF file sizes of 1.8 MB, 1.3 MB, and 1.1 MB. These PDF files are perfect. Even the lowest quality is perfectly readable for my purposes. The older versions of Elements worked fine so I didn't need to take the step of saving in JPEG format, importing to Word and then printing.
    Does anyone know if Photoshop Elements Version 8 is capable of saving PDF files in the smaller file sizes?  Is there a plug-in I can purchase that would give better results?
    Photoshop Elements Version 8.0 (20090905.r.605812) with all updates applied.
    OS = Windows 7 Enterprise (6.1, Build 7600).
    Thank you for any help or adevice.

    I'm dealing with the same situation.
    With Photoshop Elements I use to scan a picture at 300 dpi, save as PDF file, jpg compression medium low
    quality and alway got files under 5 Mb, even lower than that. Colour or black and white pictures.
    Now with Photoshop Elements 8.0 did the usual procedure but the pdf are huge, larger than 8 Mb, even more
    than 10 Mb !
    Am I missing any detail in settings program, perhaps ?
    Thanks for any suggestions.

  • Growing PDF File Size is Pathetic

    Hey all,
    I have been using Acrobat for a number of years but ever since my organization updated me to v9, this growing file size is pathetic! If I move a button on a form, the file size grows 100k. If I add a field, the file size grows 100k. I started with a 58k size form (with about 25 fields), and making a few changes and adding a field or two pushed the size over 1meg?!?!
    Is there ANYTHING that I can do to stop this? (and yes, I have tried "optomizing" the form using all sort of included options, and on mulitple occasions, optomizing the form ADDED size to the file!?)
    And lastly, is Adobe EVER going to fix this??
    Thanks for your time.

    Hi ~Grafiti.
    Thanks for replying.
    I thought that as well. I panic when I add a few fields and it grows to over a meg!
    On other forums, users who have this problem have said that it's Acrobat adding redundant "XML Junk" to the file. They also say that a way to remove it is to save the form as a "XDP", then "hex edit" all the junk out. Yeah...like I am gonna do all that
    Thanks again.

  • Large PDF file sizes when exporting from InDesign

    Hi,
    I was wondering if anyone knew why some PDF file sizes are so large when exporting from ID.
    I create black and white user manuals with ID CS3. We post these online, so I try to get the file size down as much as possible.
    There is only one .psd image in each manual. The content does not have any photographs, just Illustrator .eps diagrams and line drawings. I am trying to figure out why some PDF file sizes are so large.
    Also, why the file sizes are so different.
    For example, I have one ID document that is 3MB.
    Exporting it at the smallest file size, the PDF file comes out at 2MB.
    Then I have another ID document that is 10MB.
    Exporting to PDF is 2MB (the same size as the smaller ID document)... this one has many more .eps's in it and a lot more pages.
    Then I have another one that the ID size is 8MB and the PDF is 6MBwhy is this one so much larger than the 10MB ID document?
    Any ideas on why this is happening and/or how I can reduce the file size.
    I've tried adjusting the export compression and other settings but that didn't work.
    I also tried to reduce them after the fact in Acrobat to see what would happen, but it doesn't reduce it all that much.
    Thanks for any help,
    Cathy

    > Though, the sizes of the .eps's are only about 100K to 200K in size and they are linked, not embedded.
    But they're embedded in the PDF.
    > It's just strange though because our marketing department as an 80 page full color catalog that, when exported it is only 5MB. Their ID document uses many very large .tif files. So, I am leaning toward it being an .eps/.ai issue??
    Issue implies there's something wrong, but I think this is just the way
    it's supposed to work.
    Line drawings, while usually fairly compact, cannot be lossy compressed.
    The marketing department, though, may compress their very large TIFF
    files as much as they like (with a corresponding loss of quality). It's
    entirely possible to compress bitmaps to a smaller size than the
    drawings those bitmaps were made from. You could test this yourself.
    Just open a few of your EPS drawings in Photoshop, save as TIFF, place
    in ID, and try various downsampling schemes. If you downsample enough,
    you'll get the size of the PDF below a PDF that uses the same graphics
    as line drawing EPS files. But you may have to downsample them beyond
    recognition...
    Kenneth Benson
    Pegasus Type, Inc.
    www.pegtype.com

  • PDF File Size - any way to compress further?

    We have are using the Crystal for .NET export method to export a report to a .pdf file, and are having an issue with the pdf file size on a report that contains images.  The images are stored in a SQL2005 database as blob or varbinary(max).  The report executes a stored procedure that selects data (including images) to produce a quotation.  There are input parms to decide which images to print (for example A, B or both A&B). Both types of images can appear at the line level on the quotation. Type A images print in the main report, Type B images are in a subreport.  Both the main report & subreport execute a stored procedure to select an image type.
    Our issue, when both Type A and B image is selected to print on a 293 line quote.  The PDF file size is 44.23MB
    When Type A only is selected, the PDF file size is 2.64MB
    When Type B only is selected, the PFD file size is 43.95MB.
    There are more Type B images that would print at the line level than Type A, but is there any way to compress this down further as it is too large to email.

    You mention that you are using Crystal for .NET, but not what version; CR for .NET 2003, 2005, 2008. 2010?
    Applying the latest fixes for the correct version of CR would be the first thing to do.
    Next, I'd have a close look at image B as it appears to be the one adding the most "bulk". How is this image different from image A?
    General tips re. images:
    Save the files a BMPs.
    When .jpg image is inserted into Crystal Reports it is converted into bitmap format and as the result of the conversion the report may loose some quality, scale and other issues may arise... E.g.; Crystal Reports is not so good a graphics management tool
    When an image is saved as a .bmp, then there is no conversion required and thus the quality of the image should be preserved.
    Best practice: save the image with high resolution and required size as a .bmp format then insert this image into Crystal Reports.
    Resize the image to the smallest possible size and downgrade the DPI to 72. This will ensure your image is as small as possible and Crystal Reports will have to put in the least amount of work to display it.
    Have a look ar KB [1241630 - Exporting a Crystal report (XI) to PDF generates a big PDF file|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233343331333633333330%7D.do]. This KB, may apply to your version of CR, or not. In any case, you will have to use the KB as a guide and determine what the appropriate registry entry would be for your version of CR.
    One more thing. Many people like to use jpg files as they are smaller than bmp files. However, as far as Crystal Reports is concerned, this is inconsequential. The report file will be the same size if a file is inserted as a jpg or a bmp. This is due to the jpg conversion to bmp Crystal Reports does internally.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Reduce PDF File Size - any ideas?

    Hi all,
    I have a C++/C# programs that generates PDF's in Adobe Reader using Infragistics.  This is a recent change from using VS View as our old method of illustrating - we now use Infragistics.  This has resulted in our PDF File sizes almost doubling due to us now using Bookmarks within the PDFs and also having to embed the fonts.  There are some pictures used but these are already very small so they are not the issue.  I was wondering does anyone have any ideas of how we could possibly reduce the size again or any possible work arounds.
    Any help would be great.
    Colly (Ireland)

    Where do these EPS files come from Photoshop or Illustrator?
    Illustrator
    There may be nothing wrong with EPS files technically, they are considered archaic in a modern workflow. Best to save as a .ai with pdf compatible file - or to save them as  PDF x4a with Illustrator Editing Capabilities enabled.
    But I don't think there's any need to run out and convert all your files - perhaps keep it in mind going forward.
    Photoshop
    EPS is really not the best format. If it's pure raster then PSD or TIFF would be preferred format, if it's Raster + Vector Shapes, Vector Masks, Text Layers then PDF is preferred over EPS (with photoshop editing capabilities enabled).
    File sizes react differently depending on the content on the choice of compression. Heavy Vector files from Illustrator can cause Huge file sizes in PDFs.
    See this article (and more importantly the comments!)
    http://indesignsecrets.com/creating-smaller-pdfs-from-a-vector-dense-book.php
    If you can provide a bit more info  on your workflow and what settings you are using to save it would be great.

  • Using Examine Document Remove increases pdf file size !

    Hi,
    I have Adobe Acrobat Pro v9.3.0
    I've been editing a lot of scanned .pdfs - rotating and cropping pages.
    All this has previously worked fine with v8 but now I find that Acrobat 9 is increasing the .pdf file size after using Examine Document and clicking Remove
    For example:
    original file: 16,861 Kbytes
    file after cropping 74 pages (from A4 to A5): 16,879 Kbytes
    file after running Examine Document > Remove cropped metadata : 79,914 Kbytes !!!
    With Acrobat 8 this process would normally have halved the file size.
    Am I now doing something wrong ??
    Thanks in advance.

    Hello - This problem is still here !
    Acrobat 9 Pro version 9.4.2
    I've got a .pdf created by an agency (so not a scanned image) which I want to make as small as possible for emailing to hundreds of people (I'll attach it if possible somehow ?)
    I open it up when it's 331Kb
    Click Document > Examine Document
    Check the Metadata and Deleted/Cropped items
    Click Remove
    Click File > Save As and hey presto, the new file with all that stuff supposedly removed is 2,588 Kb
    Surely I'm not the only one who's bothered about .pdf file size ?

  • .pdf file size limits

    Is there a limit to .pdf file size or page count?

    Just to confirm what Bill said —
    I have several 'boxes' that I use each day.
    They range from the typical, adequate, lower price point to a high end 'power-box'.
    I have occasion to combine a large PDF document collection into a single PDF having a foot print of just under 800Mb (page count out around 2,000).
    When using the 'typical, adequate, lower price point' box this large PDF can only be consumed at a crawl.
    Bottom line is that the typical box has less RAM, resources, and integrated graphics rather than a adequately robust independent graphics card.
    These boxes just do not provide the 'logistical' support to applications (Adobe Reader, Acrobat, whatever) that render PDFs with the very high file size foot print.
    Particularly so if the PDF contains a good dose of graphics.
    For the most part I've found that end-users seriously avoid such PDFs.
    Be well...
    Message was edited by: CtDave

  • PDF file size too large

    Hi,
    I have a report (6i and 9Ids) which contains an image (stored as a blob in the database (8i)). The size of the image in the database (and as a file) is just 750k. The image is sized to fit on to the A4 report page. If I set the desformat of this report to PDF the resulting PDF output file is 10mb in size. I need to make this report available over the web so this is too large. Has anyone got any ideas as to reducing the output file size?
    I have tried the pdfcomp report parameter with no joy.
    Cheers
    Andy

    Hi Andy,
    The image you are using might be a JPEG image. In 6i and 9i, while generating the PDF file, Oracle Reports always converts the image to GIF and embed it. This image type conversion increases the file size of the outputimage and hence PDF file size increases. This is fixed in Oracle Reports 10g.
    In Oracle Reports 10g, you can select the outputimageformat based on your need, using either:
    1. commandline: OUTPUTIMAGEFORMAT
    (or)
    2. environment variable: REPORTS_OUTPUTIMAGEFORMAT
    If your image in the database is a JPEG image, set the outputimageformat to JPEG. Hence, there will not be any image type conversion and the PDF file will be very small.
    Please refer to the Publishing Reports manual to know more about the usage of these commandline/environment variable.
    Links:
    http://download-west.oracle.com/docs/cd/B10464_01/bi.904/b10314/pbr_cla.htm#644163
    http://download-west.oracle.com/docs/cd/B10464_01/bi.904/b10314/pbr_rfap.htm#644448
    Thanks,
    Regards,
    Siva B

  • PDF file size

    I have an HP Officejet 6500 E710n-z (Network) that I use at home to scan into PDFs, and I know exactly how to move the slider from "Smallest size" to "Best quality" 
    However the size of the PDFs are unacceptably large when image quality is acceptable, and if I move the slider to reduce the size then the image becomes unacceptable.  It is impossible to scan a legal document of more than a few legible pages without producing a file size too large to email .  I am forced to break these scanned documents into 3-4 page bite-sized chunks.
    A simple one page HOA Disclosure form, at 220 DPI and the slider in the middle for balance, produces a 699K PDF.  I have used other printer scanners at work (different brands) at the same 200 DPI that results in very clear documents at less than 100K per page. 
    I believe there is something wrong with HP's scan-to-PDF algorithm.  The problem must be due to some unskilled (or flawed) software design.  What will it take to have HP or third party developer (and developer staff supervision) take this seriously -- compare HP vs other brand scanners PDF files -- and update the HP drivers to fix this?
    This question was solved.
    View Solution.

    Just a follow up.  I went into chat mode with some low-level tech named Nathan, giving him the link to this thread.  After reading it, he suggested I can improve file size by using greyscale and 200 DPI.  DUH!!!!  I complained he was just humoring me, so he said I should call the tech support number.
    I did that next and spoke with a very nice young lady who actually DID take me seriously.  I could hear her typing away vigorously in the background, capturing every detail of my plea for this to be forwarded up the chain of command for serious consideration.  It was clear she understood and captured from me that there are many forum complaints that can be found with a search term "PDF File Size" that are getting weak or unacceptable "solutions" to push the slider left or use lower DPI etc.  She also captured my assurances that some competitor brands produce PDF file sizes 20 times smaller for the same image quality.
    I believe that this might actually be opened up at a higher level for consideration of an improvement in the compression algorithm.  My fingers are crossed.  Since I have about 11 months left for warranty support, I plan to contact them once or twice again before it expires, using the same case number to see if there is any progress.
    Bottom line:  At my default of 200 DPI and 20% image quality, with an average file size for a single sample page producing a file size of 281KB, a 25-page document creates a PDF file that is 7MB!  That will just barely make it past the file size limit for my email provider, but might be too large for the recipient.  That is still unacceptable, and is forcing me to consider products other than HP for this business purpose.

Maybe you are looking for

  • ITunes crashed everytime I upload a song.

    So I have so much music in my library that it wont fit all onto my computer, so i recently bought an external hard drive to fit it all. All my music copied over just fine, and I then deleted my entire library in iTunes because I didn't feel like doin

  • Enhancement :Requisitions and Job posting

    I know badi  for e-recruitment:- HRRCF00_GET_EXT_CODE . and as per my requirement ..plz provide me solution The Reference Code should be auto generated with an identifier for the company which the vacancy belongs to, following an identifier for the y

  • HT5636 need mac numeric keypad to work on a windows program in boot camp

    I have an iMac and am trying to use my wired numeric keypad on a windows program running in bootcamp. how do you make this work?

  • Discoverer Plus connecting error

    Dear All, I installed O9iAS release 2 BI installation type successfully but when i tried to invoke discoverer plus for the first time i got the following error : CORBA protocol error : Failed to connect to session <server_name>OracleDiscoverer sessio

  • Workflow advice between LR and PS?

    I currently use LR4 and PS CS6. I primarily use LR to store and tag my 30,000 photos, and I use PS for editing. By editing, I typically will adjust levels, saturate colors and do light cloning/healing. I'm going to start placing watermarks on lots of