Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Appending pdf documents..
Message
 
To
12/02/2008 16:11:25
Chris Sund
Silhouette Solutions
Utah, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01291956
Message ID:
01292247
Views:
31
>Does anyone have any advice or know of any tools to combine more than one pdf into a single pdf programmatically?
>
>Here's my scenerio, I'm open to other ideas as well. In my app I have pdf attachments that are basically scanned documents that a person attaches to a certain record. There is a vfp report that gets printed that requires these attachments to be printed at the same time. I want to print the vfp report, and take each attachment, combine them into one document, and send that to the printer. I know how to send them to the printer, I would like to combine them before I do it though. Each record may have 4-5 attachments. If I want to print 20 records then all of sudden my printer que has over 100 documents waiting to print. I would like to minimize them.
>
>Thanks!
>
>Chris

Ghostscript will do this. I run it from vfp.
runcommand=ALLTRIM(config.cpathtogswin)+' -sDEVICE=pswrite -dNORANGEPAGESIZE -dBATCH -dNOPAUSE -sOutputFile='+lcOutputfile+' '+lcPDF1+ ' ' +lcPDF2

RUN &runcommand
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform