Acrobat User Community Forums

You are not logged in.     Log in to your AUC account.     Don't have an account? Sign up today

#1 2007-03-22 15:48:55

kevinbridges
Guest

Combing/layering files

I am looking for a scripted way to combine a PDF file, some html text, and a .jpg logo file into a single PDF file for printing.  Not sure if this will require plug-in's or 3rd party utilities, or if it can be done entirely in Acrobat.

Thanks.

Kevin Bridges


My Product Information:
Acrobat Standard 7 / Windows

 

#2 2007-03-26 12:55:06

thomp
Member

Registered: 2007-04-23
Posts: 1027

Re: Combing/layering files

This can be done entirely in JavaScript.

The "app.openDoc()" function will convert both HTML and image files into PDF.  If the HTML is on a server, use the "doc.getURL()" function to convert it.  Once the files are converted to PDF, they can be merged using the "doc.insertPages()" function.  To write an automation script you'll need to create a folder level script and place the main code into a trustedFunction.  It'll need to be activated with a menu item or toolbar button.  Take a look at AcroButtons, which is for creating toolbar buttons.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

AcrobatUsers.com  >>  User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in