Unfortunately, Prawn doesn't support merging multiple PDFs. Templates
are designed to let you use a PDF as a starting point when you want to
do additional drawing through Prawn. You can look into software like
pdftk if you want a general-purpose PDF slicing-and-dicing tool.
Brad
Prawn templates do insert multiple pages from the source document, not
just a single page.
-Daniel
Sent from my iPhone
On Thu, Jun 30, 2011 at 8:02 AM, Peter Woolcock <wool...@gmail.com> wrote:
> Do you have a sample of How to combine multiple PDFs using templates?
My post was in response to your comment about multiple pages, not multiple PDFs.
-Daniel
What will this do?
pdf = Prawn::Document.new :template => 'path/to/first/pdf' do
start_new_page :template => 'path/to/second/pdf'
end
--
Uwe Kubosch
Systems Developer
Datek Wireless AS
u...@datek.no
http://datek.no/