doc.flattenPages documentation: http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/JS_API_AcroJS.89.472.html
If you have the option to "print to pdf" , it will "print" ( actually save) a new pdf and it should not be a form anymore, but a standard pdf. Otherwise search for pdf printer online, Some are free.
Hi Rich, this is exactly what I wanted to do, to print to pdf, and actually
save it to my disk, but the system only take it to the printer que, waiting
to be printed. how can I save a copy to my computer then?
You would have to have a virtual pdf printer installed on our system, there are some free ones online, such as Bullzip. After installing, choose Bullzip pdf printer when you go to print. It will save a new pdf on your desktop when you click Print
My computer is a Mac, it seems Bullzip is only for Windows. Any
recommendation for Mac?
Acrobat Pro is all you need, as per earlier reply.
If you are having trouble using print to PDF a last minute workaround may be to export the PDF to JPEG ( a multiple page form will export to single page Jpegs though- but you can combine them and create a new PDF using acrobat.
Why bother with all of these round-about solutions? Just flatten the file, as George suggested. It's the easiest, fastest and best way of doing it.
Here is the scenario.
We have a PDF form for a court Docketing Statement. The form is fillable to assist the user, but the form itself does not comply with the requirements for efiling.
The simplest solution I've seen is CutePDF for PC and pdfwriterformac for the Mac.
I hate having to direct our user base to a third party application to accomplish such a basic task, but I don't see any way around it. I even tried the Adobe Reader Create PDF subscription for $22/year, but it can't take PDF as input and produce a flattened file. Why is this so hard?
If anyone from Adobe reads this, please let me know if I'm missing something, or pass it on to someone who has authority to get a fix implemented.
Thank you Kindly.
Once the user completes the form, what happens to the PDF? Do they send it to you of somehow send it to someone else?
If someone only has Reader, then flattening and printing to PDF by way of Adobe is not possible. You have to have a PDF printer or Acrobat. If folks have Acrobat, they can simply print the file to PDF. As mentioned, there are several 3rd party products that act as PDF printers.
It is exactly what I'm looking for. I downloaded it, and began following the directions. (I am using Mac OSX Mavericks.)
On Mac systems, locate "Adobe Acrobat Pro.app" in your Applications folder, show the package contents, and extract the .js file into:
To check the correct folder location (for all operating systems and customized installs), open Acrobat and press CMD-J or Ctrl-J to open the interactive console, clear the contents, type
select that text and press CMD-Enter or Ctrl-Enter. The path to use will be shown in the console.
I'm very baffled and not sure what to do. I've scoured the internet but can't find the answer. I'm hoping you or someone else might know.
Incidentally, all I want to do is flatten an interactive pdf so I can send it to someone and they won't be able to make any changes to it. (Maybe it's time to start looking for a 3rd party pdf printer...)
Thank you so much!
What version of Acrobat are you using and what type of Mac are you using?
I'm using Acrobat X, and a Macbook Pro, OS X version 10.9.5.
Wow. I don't know how you found that but it was super helpful. (I'm bookmarking it for future reference!) Thank you!
I really appreciate your help!
You probably should remove it. I would also suggest using the user folder instead, which is given by:
This should be an existing folder on your system.
I removed it, and tried this, but nothing happened.
Just to be sure I'm doing it correctly, I deleted all other content, then pasted that code in. Then I highlighted it, pressed function/control, and hit the return button on the keyboard viewer (per the article you referenced). I then tried opening the drop down (see screenshot) and doing it again. Nothing.
However, there is obviously a user folder. I just can't figure out where it is. Am I still doing something wrong?
It should be something like:
YES!!!!! That was it! It works now!!! Wow, I can't even tell you how much I appreciate you hanging in there with me. Thank you thank you thank you thank you!
It's good to know you got it working. We couldn't have you printing to PDF.
When I do this, I get the following error message:
"Security settings or digital signatures in this file prevent flattening"
I can't seem to disable security settings? Help?
You'll need to remove the digital signature or the security policy that's preventing the file from being edited to be able to flatten it.
No doubt! Unfortunately, ability to edit these settings is 'greyed out' in the preferences menu.