Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
3

create the "[SAVE PDF-A]" button

Explorer ,
Sep 19, 2023 Sep 19, 2023

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.

TOPICS
Edit and convert PDFs , JavaScript , PDF forms
620
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 19, 2023 Sep 19, 2023

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 19, 2023 Sep 19, 2023
tempo dedicato risolvere il mio problema. Mi sono accorto che non ho definito bene il problema descritto sopra. Di fatto io dovrei creare un modulo PDF con i campi compilabili per inviarlo ai clienti. I clienti hanno solo Acrobat Reader. Nel modulo devo implementare un pulsante "[SAVE PDF-A]" che salva il modulo (con i campi compilati dai clienti) in formato PDF\A. Opzione: Conversione (Sava come -> PDF\A) integrato nell Acrobat induce ai seguente messaggio => "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." , che complica molto la raggiunta al obiettivo. Unica via che potrebbe risolvere il problema => è Acrobat JS API Reference come ha referito Lei. La, che sto facendo le ricerche, ma per il momento ancora non ho risolto... Grazie Ancora.
 
clear
 
 
 
 
 
 
 
 
931 / 5,000
 

Translation results

Translation result

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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 19, 2023 Sep 19, 2023

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 19, 2023 Sep 19, 2023
LATEST

Acrobat Reader can't save as PDF/A.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines