On Thursday, March 15, 2018 5:22:26 AM CET the...@sys-concept.com wrote:
> On 03/14/2018 08:52 PM, Danny YUE wrote:
> > On 2018-03-14 20:08, Poncho <pon...@spahan.ch> wrote:
> >> On 14.03.2018 20:10, the...@sys-concept.com wrote:
> >>> Is there a suitable replacement package for "pdftk".
> >>> Currently pdftk is masked and might be dropped from portage tree  :-/
> >>> 
> >>> The packages require GCC 5 or earlier and are therefore masked in the
> >>> 17.0 profiles.
> >>> 
> >>> I use pdftk only to merge two pdf file (overlap tax form).
> >>> eg.
> >>> pdftk t4-flat-02b.pdf stamp  1.pdf  output out1.pdf
> >> 
> >> /usr/bin/pdfunite
> >> 
> >> it's a provided by app-text/poppler
> > 
> > Besides, app-text/poppler contains some very useful functions.
> > pdfunite is one of them, which let you concatenate several PDF files
> > into one.
> > 
> > Another piece I found useful is pdfseparate. It can separate a PDF file
> > into pages.
> > 
> > The combination of pdfunite and pdfseparate let you replace a single
> > page in a PDF file.
> > 
> > Command `equery f poppler' shows:
> >   /usr/bin/pdfdetach
> >   /usr/bin/pdffonts
> >   /usr/bin/pdfimages
> >   /usr/bin/pdfinfo
> >   /usr/bin/pdfseparate
> >   /usr/bin/pdftocairo
> >   /usr/bin/pdftohtml
> >   /usr/bin/pdftoppm
> >   /usr/bin/pdftops
> >   /usr/bin/pdftotext
> >   /usr/bin/pdfunite
> 
> That is not what I (we) need.
> pdfunite - will join several PDF file into one (this is not what I want).
> 
> I need to "overlap" two PDF file, one on top of another, it is like
> watermarking.  I only do it once a year when I print a tax form/slips.

Maybe script your own solution?
Extract images from the PDF
Overlay the images
convert the images back to PDF

--
Joost


Reply via email to