<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-8074982418507073759.post4847786738602758314..comments</id><updated>2009-02-08T10:25:32.074-08:00</updated><title type='text'>Comments on peabrane -- a developer blog: PDF Templates via Rails</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.peabrane.com/feeds/4847786738602758314/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8074982418507073759/4847786738602758314/comments/default'/><link rel='alternate' type='text/html' href='http://www.peabrane.com/2007/03/pdf-templates-via-rails_6778.html'/><author><name>jayWHY</name><uri>http://www.blogger.com/profile/05612399661521845914</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8074982418507073759.post-3748294925500683004</id><published>2009-02-08T10:25:00.000-08:00</published><updated>2009-02-08T10:25:00.000-08:00</updated><title type='text'>Not sure what happened, it did work.  Hmm.  I upda...</title><content type='html'>Not sure what happened, it did work.  Hmm.  I updated the project on rubyforge and github.  It does work now.  &lt;BR/&gt;&lt;BR/&gt;http://github.com/jaywhy/pdf-stamper/tree/master&lt;BR/&gt;http://rubyforge.org/projects/pdf-stamper/</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8074982418507073759/4847786738602758314/comments/default/3748294925500683004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8074982418507073759/4847786738602758314/comments/default/3748294925500683004'/><link rel='alternate' type='text/html' href='http://www.peabrane.com/2007/03/pdf-templates-via-rails_6778.html?showComment=1234117500000#c3748294925500683004' title=''/><author><name>jayWHY</name><uri>http://www.blogger.com/profile/05612399661521845914</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04626331783445521630'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.peabrane.com/2007/03/pdf-templates-via-rails_6778.html' ref='tag:blogger.com,1999:blog-8074982418507073759.post-4847786738602758314' source='http://www.blogger.com/feeds/8074982418507073759/posts/default/4847786738602758314' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8074982418507073759.post-7461740432192529849</id><published>2009-02-04T10:47:00.000-08:00</published><updated>2009-02-04T10:47:00.000-08:00</updated><title type='text'>I couldn't install this gem.D:\InstantRails-2.0-wi...</title><content type='html'>I couldn&amp;#39;t install this gem.&lt;BR/&gt;D:\InstantRails-2.0-win\rails_apps\ruby_snippets&amp;gt;gem sources&lt;BR/&gt;*** CURRENT SOURCES ***&lt;BR/&gt;&lt;BR/&gt;http://gems.rubyforge.org/&lt;BR/&gt;http://gems.github.com&lt;BR/&gt;&lt;BR/&gt;D:\InstantRails-2.0-win\rails_apps\ruby_snippets&amp;gt;gem install pdf-stamper&lt;BR/&gt;&lt;BR/&gt;ERROR:  could not find gem pdf-stamper locally or in a repository&lt;BR/&gt;&lt;BR/&gt;I did it numerous times, but couldn&amp;#39;t get in installed. Whats the problem?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8074982418507073759/4847786738602758314/comments/default/7461740432192529849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8074982418507073759/4847786738602758314/comments/default/7461740432192529849'/><link rel='alternate' type='text/html' href='http://www.peabrane.com/2007/03/pdf-templates-via-rails_6778.html?showComment=1233773220000#c7461740432192529849' title=''/><author><name>millisami</name><uri>http://millisami.myopenid.com/</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.peabrane.com/2007/03/pdf-templates-via-rails_6778.html' ref='tag:blogger.com,1999:blog-8074982418507073759.post-4847786738602758314' source='http://www.blogger.com/feeds/8074982418507073759/posts/default/4847786738602758314' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8074982418507073759.post-3871527127546850675</id><published>2007-12-26T19:47:00.000-08:00</published><updated>2007-12-26T19:47:00.000-08:00</updated><title type='text'>Hi, After much banging-of-the-head-against-the-wal...</title><content type='html'>Hi, After much banging-of-the-head-against-the-wall I figured out how to circumvent the "Can't start the AWT" error on Leopard.  Rjb::load has an optional second argument that's an array of command-line args for the java vm.  Adding -Djava.awt.headless=true seems to do the trick.  Ultimately, line 12 in the current version should reads as follows:&lt;br /&gt;&lt;br /&gt;Rjb::load(File.join(File.dirname(__FILE__), '..', '..', 'ext', 'itext-2.0.4.jar'), ['-Djava.awt.headless=true'])&lt;br /&gt;&lt;br /&gt;Dunno how it affects non-Mac environments but my guess is that it won't hurt.  Anyway, thanks for this great code, and please continue to work on it- it's quite useful.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8074982418507073759/4847786738602758314/comments/default/3871527127546850675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8074982418507073759/4847786738602758314/comments/default/3871527127546850675'/><link rel='alternate' type='text/html' href='http://www.peabrane.com/2007/03/pdf-templates-via-rails_6778.html?showComment=1198727220000#c3871527127546850675' title=''/><author><name>Daniel</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.peabrane.com/2007/03/pdf-templates-via-rails_6778.html' ref='tag:blogger.com,1999:blog-8074982418507073759.post-4847786738602758314' source='http://www.blogger.com/feeds/8074982418507073759/posts/default/4847786738602758314' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8074982418507073759.post-3427435265875531082</id><published>2007-06-07T02:57:00.000-07:00</published><updated>2007-06-07T02:57:00.000-07:00</updated><title type='text'>This is was I was looking for !

I have this solve...</title><content type='html'>This is was I was looking for !&lt;br /&gt;&lt;br /&gt;I have this solved in a java application using a servlet; now I am trying to rewrite my application in ruby/rails.&lt;br /&gt;&lt;br /&gt;Into which file does the pdfstamper code go ? Would that be a model file ?&lt;br /&gt;&lt;br /&gt;Does it matter where you place the itext.jar and if so , where do you have to place it ?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Is there any rule regarding the path to the template ?&lt;br /&gt;&lt;br /&gt;Thank you</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8074982418507073759/4847786738602758314/comments/default/3427435265875531082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8074982418507073759/4847786738602758314/comments/default/3427435265875531082'/><link rel='alternate' type='text/html' href='http://www.peabrane.com/2007/03/pdf-templates-via-rails_6778.html?showComment=1181210220000#c3427435265875531082' title=''/><author><name>ed</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.peabrane.com/2007/03/pdf-templates-via-rails_6778.html' ref='tag:blogger.com,1999:blog-8074982418507073759.post-4847786738602758314' source='http://www.blogger.com/feeds/8074982418507073759/posts/default/4847786738602758314' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8074982418507073759.post-2153496190510458727</id><published>2007-03-06T00:06:00.000-08:00</published><updated>2007-03-06T00:06:00.000-08:00</updated><title type='text'>Thank you for the excellent blogpost. I have added...</title><content type='html'>Thank you for the excellent blogpost. I have added a link to it in my FAQ: http://itext.ugent.be/library/question.php?id=35&lt;br /&gt;&lt;br /&gt;Some extra pointers:&lt;br /&gt;&lt;br /&gt;You are right when you say there is only one product that can create XFA forms: Adobe LiveCycle Designer. But there are plenty of other products that can create AcroForms.&lt;br /&gt;See http://itext.ugent.be/library/question.php?id=31 to read more about the difference between the two flavors of PDF forms.&lt;br /&gt;&lt;br /&gt;As for using Image placeholders: there's a possible solution in the third comment of the FAQ entry on forms, but in a more recent iText version a new method was added to iText that makes it easier to replace a button (buttons are the best placeholders for images): search for AcroFields.replacePushbuttonField()</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8074982418507073759/4847786738602758314/comments/default/2153496190510458727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8074982418507073759/4847786738602758314/comments/default/2153496190510458727'/><link rel='alternate' type='text/html' href='http://www.peabrane.com/2007/03/pdf-templates-via-rails_6778.html?showComment=1173168360000#c2153496190510458727' title=''/><author><name>Bruno Lowagie</name><uri>http://www.lowagie.com/</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.peabrane.com/2007/03/pdf-templates-via-rails_6778.html' ref='tag:blogger.com,1999:blog-8074982418507073759.post-4847786738602758314' source='http://www.blogger.com/feeds/8074982418507073759/posts/default/4847786738602758314' type='text/html'/></entry></feed>