From: Rob Kaufman Date: 2006-07-19T05:49:06+09:00 Subject: Re: Printing Barcodes from Ruby I agree with you that the create_fdf method is kind of a "magic" hack, but it allows you to very simply take hash data to fill in a form. I'll be honest, though I understand how it works, I didn't create this method or do much to change it. Using pdftk makes a lot of since to me, since leveraging a separate tool increases the debugging base. We're using Acrobat to create our form template. Rob Kaufman On 7/17/06, listrecv@gmail.com wrote: > > Rob Kaufman wrote: > > Right now we're using the method described here -> > > http://wiki.rubyonrails.org/rails/pages/HowtoGeneratePDFs under the > > heading PDF Form Fill. It calls pdftk externally, it is not a ruby > > binding or anything. Don't be put off by this being a Rails link, the > > technique works just fine without Rails installed. > > > Rob, > > I took a look at that. Looks good, except that FDF generator looks > very hackish. Is there a cleaner way of doing this, perhaps using > XFDF? > > (Also, how did you generate the PDF initially - just using a word > processor, and adding form fields in Acrobat?) > > >