[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

background image in pdf ... how ?

Frioffol Friofool

10/16/2008 3:31:00 PM

Hi all,

I'm looking for a tool to create a pdf file with a background image
embedded.

I have to make invoice with a specific background and put details orders
on the top of this background.

Did you know a library to do that ?

I have already used pdf:writer but i didn't find how to do that.

Thanks for your help !
--
Posted via http://www.ruby-....

1 Answer

Gregory Brown

10/16/2008 3:53:00 PM

0

On Thu, Oct 16, 2008 at 11:31 AM, Frioffol Friofool <friofool@gmail.com> wrote:
> Hi all,
>
> I'm looking for a tool to create a pdf file with a background image
> embedded.
>
> I have to make invoice with a specific background and put details orders
> on the top of this background.
>
> Did you know a library to do that ?
>
> I have already used pdf:writer but i didn't find how to do that.

You could do this easily in Prawn (or PDF::Writer) by just calling
image on each page.
Please try to use Prawn instead of PDF::Writer if possible. It will
be the way forward for the Ruby PDF project, and PDF::Writer will
eventually be deprecated.

http://prawn.majesticseacre...

If you have further questions, please join the Prawn list:

http://groups.google.com/group/...

-greg

--
Technical Blaag at: http://blog.majesticseacr... | Non-tech
stuff at: http://metametta.bl...