Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
PDF::Writer, create pdf and insert in other pdf file.
Ricardo Pog
3/26/2008 5:23:00 PM
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?
--
Posted via
http://www.ruby-...
.
1 Answer
Austin Ziegler
3/26/2008 8:24:00 PM
0
On Wed, Mar 26, 2008 at 1:23 PM, Ricardo Pog <ricardo85x@gmail.com> wrote:
> 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?
Can't be done with PDF::Writer or straight Ruby. You might be able to
do it with Cairo's PDF support.
-austin
--
Austin Ziegler * halostatue@gmail.com *
http://www.halo...
* austin@halostatue.ca *
http://www.halo...
feed/
* austin@zieglers.ca
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
PDF::Writer, create pdf and insert in other pdf file.
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password