On 2016-08-04 0315 (+0100), Mikhail Ramendik wrote:

"взять и наложить содержимое страниц a.pdf на содердимое страниц b.pdf"

Вроде pdftk такое умеет:

     background <background PDF filename | - | PROMPT>
         Applies a PDF watermark to the background of a single input PDF.  Pass 
the
         background PDF's filename after background like so:

         pdftk in.pdf background back.pdf output out.pdf

         Pdftk uses only the first page from the background PDF and applies it 
to every
         page of the input PDF.  This page is scaled and rotated as needed to 
fit the
         input page.  You can use - to pass a background PDF into pdftk via 
stdin.

         If the input PDF does not have a transparent background (such as a PDF 
created
         from page scans) then the resulting background won't be visible - use 
the stamp
         operation instead.

     multibackground <background PDF filename | - | PROMPT>
         Same as the background operation, but applies each page of the 
background PDF
         to the corresponding page of the input PDF.  If the input PDF has more 
pages
         than the stamp PDF, then the final stamp page is repeated across these
         remaining pages in the input PDF.

     stamp <stamp PDF filename | - | PROMPT>
         This behaves just like the background operation except it overlays the 
stamp
         PDF page on top of the input PDF document's pages.  This works best if 
the
         stamp PDF page has a transparent background.

     multistamp <stamp PDF filename | - | PROMPT>
         Same as the stamp operation, but applies each page of the background 
PDF to the
         corresponding page of the input PDF.  If the input PDF has more pages 
than the
         stamp PDF, then the final stamp page is repeated across these 
remaining pages
         in the input PDF.

Ответить