PDF generator - Prawn and Prawnto.

I'm quite confuse with prawn and prawnto.
is it must install prawn with prawnto to generate pdf ?
what prawnto does ?

I’m quite confuse with prawn and prawnto.

is it must install prawn with prawnto to generate pdf ?

what prawnto does ?

Prawnto adds rails support for prawn such as a template handler (.prawn). I guess you could use prawn directly if you did not use the gem but probably miss out on some ease. In fact I use wkhtmltopdf a lot and do use this without any gem and am happy with it this way for my needs.

+1 on wkhtmltopdf with no gem.

That has been the easiest for me.