[FM Discuss] pdf help

adam adam at xs4all.nl
Tue Jan 4 05:28:56 PST 2011


i did this:

#!/bin/bash
pdftk $1 burst
for f in pg_*
do
  pdftk $f $f cat output $f.pdf
  rm $f
done

for g in pg_*
do
  pdfnup --nup 2x1 $g --outfile $g.pdf
  rm $g
done

pdftk pg_* cat output $1_combined.pdf






if anyone can optimise this rather fugly script i'd be happy to see
it :)

adam







On Tue, 2011-01-04 at 12:21 +0100, adam wrote:
> On Tue, 2011-01-04 at 12:14 +0100, helen varley jamieson wrote:
> > i would do it in open office, by creating a landscape doc & putting them 
> > side by side then exporting as a pdf. (i imagine it's also possible to 
> > do something like this in inkscape but i'm not familiar with that app yet).
> 
> :)
> 
> thanks. too much cpu as the a5 files are big. need  a script i think...
> 
> adam
> 
> > 
> > h : )
> > 
> > On 4/01/11 11:20 AM, adam hyde wrote:
> > > hey
> > >
> > > anyone know how to get two a5 files and put them side by side on an a4
> > > pdf?
> > >
> > > using free software of course...
> > >
> > > struggling...
> > >
> > > adam
> > >
> > >
> > >
> > 
> > 
> 
> 
> _______________________________________________
> Discuss mailing list
> Discuss at lists.flossmanuals.net
> http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net





More information about the Discuss mailing list