PDF::Writer, create pdf and insert in other pdf file

Hi folks(wharever it mean my english is so bad…)

the following code create a PDF:

#!/usr/bin/ruby

require ‘pdf/writer’

pdf = PDF::Writer.new

pdf.text “Hello Matz”, :font_size => 22

pdf.save_as “novo.pdf”

########################################

now I wanna save this pdf as a last page of a existing pdf.

any tips?

On Wed, Mar 26, 2008 at 1:23 PM, Ricardo P. [email protected]
wrote:

########################################
now I wanna save this pdf as a last page of a existing pdf.
any tips?

Can’t be done with PDF::Writer or straight Ruby. You might be able to
do it with Cairo’s PDF support.

-austin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs