0

I need to create a new pdf file from other pdf files, for example i have file1.pdf, file2.pdf need to create a new_file.pdf, that contains page 1, 4, 6 from file1.pdf, and 1, 3, 4 from file2.pdf. I need to get the pages as they are, not parse them as texts.

  • 1
    possible duplicate of [Create PDF, insert it in another and merge pages - ruby PDF tool?](http://stackoverflow.com/questions/4379790/create-pdf-insert-it-in-another-and-merge-pages-ruby-pdf-tool) – ghoppe Jun 21 '11 at 14:28

1 Answers1

0

How to generate PDF from markdown using pure ruby

How do you combine PDFs in ruby?

These are answers to your question.

Community
  • 1
  • 1
Ryanmt
  • 3,215
  • 3
  • 22
  • 23
  • From what I understood prawn is only to create a new pdf not manipulating a saved pdf, and the pdf-merge only merge all pages from one file to another – rafael.lee Jun 21 '11 at 15:17