For both of these questions, James is more qualified to answer. But...
On Wed, Nov 18, 2009 at 1:11 PM, Randy Parker <
randy.j...@gmail.com> wrote:
> 1) Can I use some kind of layers to essential draw an existing pdf
> form as a base layer or watermark image, and then print my names &
> addresses on another layer (which I align just as meticulously by hand
> as I currently do for the impact printers)?
Might be worth looking into the PDF templates[1] stuff James is
working on, or if you wanted to import your PDF as a vector image,
check out PrawnVectorImport[2]
[1]
http://github.com/yob/prawn/tree/templates
[2]
http://github.com/Bluejade/PrawnVectorImport
> 2) Can you outline what would be involved in extending Prawn to do
> what Jeff asked? That is, create a pdf with editable areas of fixed
> location, size, and font, and then use prawn to write into those
> areas?
There is a start at:
http://github.com/yob/prawn-forms
But it isn't really functionally useful yet. I'm sure that if your
business throws James some monies, he'd probably round it out.
Otherwise, i'm sure he'll be happy to provide an outline.
> Though it may not matter, I don't currently have the forms as pdf
> documents. I'll have to painstakingly create them by hand so that
> they look as much as possible like the current pre-printed ones. One
> fellow here suggests doing the layout in Microsoft Word, and exporting
> the blank form to pdf. He also proposes using Word's mail-merge
> facility to populate the "editable areas" from our Rails app, instead
> of prawn.
I have no idea about whether that makes sense to do, but it sounds
like a massive kludge to me :)
I'd at least look at what pdftk and other similar tools have to offer.