[Novalug] concatenating pdf files

Nino Pereira pereira at speakeasy.net
Wed Nov 5 17:31:07 EST 2008


Hi,

googling for the above subject I found a very useful command string that
does this for you, with gs:

#
# gs command string with options that concatenates pdf files
# from http://www.linux.com/feature/36815

gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=output.pdf 
input-1.pdf input-2.pdf

Rather than typing this string every time, I'd like to have something
where I can say:

joinpdf output input-1 input-2

I know there should be a way to do that, with #s and <> and such
things that I might have known at one time, but not any more.

Can someone enlighten me? Thank you,

Nino

ps: one program that would do this mentioned in this article is
a dead link; the other is a commercial program that you have to
call to find out how much it costs.



More information about the Novalug mailing list