Copy link to clipboard
Copied
Hello, kind and respectable Adobe community.
I would like to ask if there is a solution to the following problem:
-- I need to create the "[SAVE PDF-A]" button in the PDF file, which saves the file in PDF\A format --
I prefer to use javascript code.
If it will be necessary to use tools integrated into Acrobat - I also accept.
Thanks in advance respectable Acrobat universe.
Best regards.
Copy link to clipboard
Copied
You can do it using the saveAs method of the Document object.
One of its parameters is cConvID which allows converting the file to various formats, including PDF/A.
This is all documented in the Acrobat JS API Reference.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Dear colleague, thank you for your timely response and for your time spent solving my problem.
I realized that I didn't define the problem described above well.
In fact I would have to create a PDF form with fillable fields to send it to customers. Customers only have Acrobat Reader. In the form I need to implement a "[SAVE PDF-A]" button that saves the form (with the fields filled in by customers) in PDF\A format.
Option: Conversion (Sava as -> PDF\A) integrated into Acrobat leads to the following message => "No output intent defined. To convert a PDF file to PDF\A you need an output intent. Define an output intent in the preflight preferences ." , which greatly complicates reaching the goal.
The only way that could solve the problem => is Acrobat JS API Reference as you reported. I'm doing the research, but for the moment I haven't solved it yet...
Thanks again.
Copy link to clipboard
Copied
Acrobat Reader can't save as PDF/A.