Thanks for the response. I cd to the directory and then used *.PDF at the end, which worked. I ended up using:

<x-tad-smaller>gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=merged.pdf *.PDF

Thank seems similar to your solution.
Mitch




</x-tad-smaller>

On Feb 5, 2004, at 10:09 PM, [EMAIL PROTECTED] wrote:

Message: 1
From: A Ballesteros <[EMAIL PROTECTED]>
Subject: Re: [Fink-users] Ghostscript
Date: Wed, 4 Feb 2004 08:07:06 -0800
To: fink-users Users <[EMAIL PROTECTED]>

On Feb 3, 2004, at 8:07 AM, Mitchell Turner wrote:

I am trying to use ghostscript to merge several PDF files into a
single file. I read that the following command line will do this:

gs -sDEVICE=pdfwrite -dNOPAUSE -dQUIET -dBATCH
-sOutputFile=combined_doc.pdf /Users/mitchell/Desktop/PDF_Temp

<SNIP>

Anyone know how to merge several PDFs into a single document using
Ghostscript.

I had to do the same thing the other day. This worked for me:

s -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=merged.pdf
source1.pdf source2.pdf source3.pdf etc.pdf

taken from here:

http://www.macosxhints.com/article.php?
story=2003083122212228&query=gs+pdf+merge


Reply via email to