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

Use API to generate PDF from PDF template containing native script

New Here ,
Sep 15, 2024 Sep 15, 2024

We have a bunch of PDFs that contain Native Script to dynamically change the PDF layout based on some data entered into the PDF via a form.

 

Currently we have a Adobe Pro running on a virtual machine; using a bunch of other tools we are able to open the relevant PDF, enter the data, (at which point the Native Script alters the PDF) and then save the updated PDF.

 

This works, but its cumbersome and flaky.

 

Ideally we would do all of this using the PDF Services API. However I cannot find any examples of using PDF templates or PDFs containing Native Script; only creating PDFs from Word etc (bmp, doc, docx, gif, jpeg, jpg, png, ppt, pptx, rtf, tif, tiff, txt, xls and xlsx).

 

Is this possible with the API?

TOPICS
Document Generation API , General , How to , Node.js SDK , PDF Services API
991
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 17, 2024 Sep 17, 2024

What exactly do you mean by "Native Script?"

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
New Here ,
Sep 17, 2024 Sep 17, 2024

Perhaps I've used the wrong terminology, don't know too much about Adobe / PDFs.

 

Our client supplies us with PDFs that have forms in them.

When values are entered into the form, the PDF updates  (conditionally changes images, values, lines etc).

I assume the forms are driven by some kind of native adobe script.

 

These only work when the PDFs are opened in Adobe Acrobat DC Pro.

So we install that on a VM, open the PDFs with it, then use some tools to populate the form then save the updated PDF.

 

Our preferred solution would be sending the PDF along with the values to the API and have that return an updated PDF.

 

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 18, 2024 Sep 18, 2024

Can you share one of the PDF forms? We may have a solution for you but I'd need to see the form.

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
New Here ,
Sep 23, 2024 Sep 23, 2024

Hi @Joel Geraci , I've tried sending you a file. The message editor would not let me send because of HTML formatting. I tried several times to fix. It then told me I had reached my limit of private messages, so perhaps it did actually send at least one of them and you have it...?

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
New Here ,
Sep 27, 2024 Sep 27, 2024

Here is an example

Example PDF 

 

If you enter 1600 as the width, everything should update
Then change width to 2400 and all the images and designs should update

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
New Here ,
Oct 08, 2024 Oct 08, 2024
LATEST

Hi @Joel Geraci, did you have any luck with the file I sent you?

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
Resources