[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to joind PDF files into one (was: How to manipulate PDF documents in Debian?)



On Mon 21 Jul 2025 at 10:38:55 (-0400), Stefan Monnier wrote:
> > I used to use pdfjoin to join pdfs (though there was a bug where some
> > pages would be oriented wrongly) and I needed to join some pdfs
> > recently. But there were so many dependencies for pdfjoin that I decided
> > to try pdfunite (that somebody had recently mentioned here), which I
> > already had installed. It worked perfectly.
> 
> FWIW, I've been using the following "pdf-concat" script for years:
> 
>     % cat =pdf-concat 
>     #!/bin/sh
>      
>     gs -q -sPAPERSIZE=letter -dNOPAUSE -dBATCH -sDEVICE=pdfwrite \
>        -sOutputFile=- "$@"
>     %

No page selection, but one advantage might be that PostScript
documents can be included in the argument list. However, when
that is so, you need to make sure that the PAPERSIZE is generous
enough for those PS documents, otherwise they may be clipped.
(Apart from that, I can see no effect from PAPERSIZE.)

Cheers,
David.


Reply to: