These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Creating PDF Docs based on a Data Entry Screen

JohnSWilliams
Registered: Sep 7 2010
Posts: 2

I am creating a quoting system for our sales team. Each product they quote has a specific quote page along with 1-3 specifications pages to go along with it. What I would like to be able to do is use a single data entry screen to allow the user to select the machine from a combo box, enter specific pricing for that machine, and then click a button to compile all the pages (seperate pdf docs) for that machine into a single pdf document. Currently, I have the data entry screen and all the pdf quote sheets in a single pdf document (35MB!!!!) which is to large for practical purposes, hence the desire to generate on the fly. Any suggestions on how to go about this?

I have heard of document level scripts, but unsure how to implement.

John

My Product Information:
Acrobat Standard 9.3.1, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Unfortunately you can't easily run the functions that merge PDF documents from a script inside a PDF. The standard way to do this is to place the code into a Folder Level Function.

Go to the tutorials section of this website and do a search on "Folder Level" in the "JavaScript" category. You'll get 3 pages of results. Lots of it is info you'll need to write the script including a tutorial on inserting pages into a PDF, using the trusted function, and writing folder level scripts.


Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

JohnSWilliams
Registered: Sep 7 2010
Posts: 2
Thanks Tom, I will take a look at those tutorials.

John