# Pdf manipulation with RoR?

**URL:** <https://www.ruby-forum.com/t/pdf-manipulation-with-ror/105804>\
**Category:** Rails\
**Created:** [June 3, 2007, 4:47am UTC](https://www.ruby-forum.com/t/pdf-manipulation-with-ror/105804 "2007-06-03T04:47:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [June 3, 2007, 4:47am UTC](https://www.ruby-forum.com/t/pdf-manipulation-with-ror/105804/1 "2007-06-03T04:47:08Z")

</div>

New to rails and I’m working on a site for ebooks and was wondering if  
there are any plugins for rails that will allow me to generate pdfs on  
the fly like safari books, where after you order a book it prepares a  
pdf with your user name on each page.

Thankd for all the help.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [June 5, 2007, 3:07pm UTC](https://www.ruby-forum.com/t/pdf-manipulation-with-ror/105804/2 "2007-06-05T15:07:12Z")

</div>

No, there aren’t, but you can use the pdfstamp.pl from Perl’s  
Text::PDF to do it. That’s what I use for my ebook on building e-  
commerce sites in Rails.

–  
Benjamin C.  
[http://www.bencurtis.com/](http://www.bencurtis.com/) – blog  
[http://agilewebdevelopment.com/rails-ecommerce](http://agilewebdevelopment.com/rails-ecommerce) – build e-commerce  
sites with Rails

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [June 5, 2007, 3:29pm UTC](https://www.ruby-forum.com/t/pdf-manipulation-with-ror/105804/3 "2007-06-05T15:29:18Z")

</div>

There are no plugins for rails, but you can use this library in your  
app : [http://ruby-pdf.rubyforge.org/](http://ruby-pdf.rubyforge.org/)

–  
Bilek
