i am attempting to fill a pdf that has fields with data submitted from a user. i am using pdftk but never tried to run something outside of ruby. does anyone have any tips, or articles in regards to running an app outside of ruby such as this to accomplish this task. pdftk is command line operational. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Fri, 2008-04-25 at 07:29 -0700, rushnosh wrote:> i am attempting to fill a pdf that has fields with data submitted from > a user. > > i am using pdftk but never tried to run something outside of ruby. > does anyone have any tips, or articles in regards to running an app > outside of ruby such as this to accomplish this task. > > pdftk is command line operational.---- see the PDF page on http://wiki.rubyonrails.org I have used a number of techniques suggested there including pdftk and also am using the rjb (ruby-java-bridge) which uses itext to generate PDF data fills of forms. Both work well. Craig --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
the use of PDFtk requires GCJ and there seems to be some confusion in regards to installation of this as GCC is installed on mac osx. has anyone got pdftk to work. i have been able to generate the FDF. there is also a note the acrobat 7 uses xml accomplish this. any hints on how to solve this would be great. On Apr 25, 7:34 am, Craig White <craigwh...-BQ75lA0ptkhBDgjK7y7TUQ@public.gmane.org> wrote:> On Fri, 2008-04-25 at 07:29 -0700, rushnosh wrote: > > i am attempting to fill a pdf that has fields with data submitted from > > a user. > > > i am using pdftk but never tried to run something outside of ruby. > > does anyone have any tips, or articles in regards to running an app > > outside of ruby such as this to accomplish this task. > > > pdftk is command line operational. > > ---- > see the PDF page onhttp://wiki.rubyonrails.org > > I have used a number of techniques suggested there including pdftk and > also am using the rjb (ruby-java-bridge) which uses itext to generate > PDF data fills of forms. Both work well. > > Craig--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
http://www.accesspdf.com/article.php/20041130153545577 suggests that you can use one of the Macintosh pre-built binaries for OS X 10.3 or 10.4.1 or higher and not have to deal with gcj (which is necessary to build from source). You shouldn''t need to build it from source if you don''t want to. As for FDF - you really should get the book PDF Hacks (by the author of pdftk by the way). He fully explains PDF/FDF and many things you can do with it. I have exchanged some e-mails with Sid (the author of PDF Hacks and pdftk), he''s really great, knowledgeable and the book is cheap. Craig On Fri, 2008-04-25 at 09:32 -0700, rushnosh wrote:> the use of PDFtk requires GCJ and there seems to be some confusion in > regards to installation of this as GCC is installed on mac osx. > has anyone got pdftk to work. > > i have been able to generate the FDF. there is also a note the acrobat > 7 uses xml accomplish this. > > any hints on how to solve this would be great. > > On Apr 25, 7:34 am, Craig White <craigwh...-BQ75lA0ptkhBDgjK7y7TUQ@public.gmane.org> wrote: > > On Fri, 2008-04-25 at 07:29 -0700, rushnosh wrote: > > > i am attempting to fill a pdf that has fields with data submitted from > > > a user. > > > > > i am using pdftk but never tried to run something outside of ruby. > > > does anyone have any tips, or articles in regards to running an app > > > outside of ruby such as this to accomplish this task. > > > > > pdftk is command line operational. > > > > ---- > > see the PDF page onhttp://wiki.rubyonrails.org > > > > I have used a number of techniques suggested there including pdftk and > > also am using the rjb (ruby-java-bridge) which uses itext to generate > > PDF data fills of forms. Both work well. > > > > Craig > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> suggests that you can use one of the Macintosh pre-built binaries for OS > X 10.3 or 10.4.1 or higher and not have to deal with gcj (which is > necessary to build from source).criag, yes, i have been to accesspdf and read thru all the docs. i don''t understand what you mean by using the pre-built binaries. are you saying that i can run pdftk without installing gcj. i am installing pdftk with macports and from the readings this is going to take a long time. i hope this works. as i mentioned i have FDF working and it creating the text file without problems, it''s a matter of now getting pdftk to work with it. On Apr 25, 1:36 pm, Craig White <cr...-CnJ8jr4MGtxl57MIdRCFDg@public.gmane.org> wrote:> http://www.accesspdf.com/article.php/20041130153545577 > > suggests that you can use one of the Macintosh pre-built binaries for OS > X 10.3 or 10.4.1 or higher and not have to deal with gcj (which is > necessary to build from source). > > You shouldn''t need to build it from source if you don''t want to. > > As for FDF - you really should get the book PDF Hacks (by the author of > pdftk by the way). He fully explains PDF/FDF and many things you can do > with it. I have exchanged some e-mails with Sid (the author of PDF Hacks > and pdftk), he''s really great, knowledgeable and the book is cheap. > > Craig > > On Fri, 2008-04-25 at 09:32 -0700, rushnosh wrote: > > the use of PDFtk requires GCJ and there seems to be some confusion in > > regards to installation of this as GCC is installed on mac osx. > > has anyone got pdftk to work. > > > i have been able to generate the FDF. there is also a note the acrobat > > 7 uses xml accomplish this. > > > any hints on how to solve this would be great. > > > On Apr 25, 7:34 am, Craig White <craigwh...-BQ75lA0ptkhBDgjK7y7TUQ@public.gmane.org> wrote: > > > On Fri, 2008-04-25 at 07:29 -0700, rushnosh wrote: > > > > i am attempting to fill a pdf that has fields with data submitted from > > > > a user. > > > > > i am using pdftk but never tried to run something outside of ruby. > > > > does anyone have any tips, or articles in regards to running an app > > > > outside of ruby such as this to accomplish this task. > > > > > pdftk is command line operational. > > > > ---- > > > see the PDF page onhttp://wiki.rubyonrails.org > > > > I have used a number of techniques suggested there including pdftk and > > > also am using the rjb (ruby-java-bridge) which uses itext to generate > > > PDF data fills of forms. Both work well. > > > > Craig--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
OKAY 4 hours and 30 minutes later after trying to install pdftk i get an error cannont built pdftk because opt/local/bin/gcj-mp-4.2 missing?????? possibly because of..... http://trac.macports.org/projects/macports/ticket/13553 has anyone installed pdftk on a mac (10.4) thanks. On Apr 25, 2:07 pm, rushnosh <rashan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > suggests that you can use one of the Macintosh pre-built binaries for OS > > X 10.3 or 10.4.1 or higher and not have to deal with gcj (which is > > necessary to build from source). > > criag, yes, i have been to accesspdf and read thru all the docs. i > don''t understand what you mean by using the pre-built binaries. > are you saying that i can run pdftk without installing gcj. > > i am installing pdftk with macports and from the readings this is > going to take a long time. i hope this works. > > as i mentioned i have FDF working and it creating the text file > without problems, it''s a matter of now getting pdftk to work with it. > > On Apr 25, 1:36 pm, Craig White <cr...-CnJ8jr4MGtxl57MIdRCFDg@public.gmane.org> wrote: > > >http://www.accesspdf.com/article.php/20041130153545577 > > > suggests that you can use one of the Macintosh pre-built binaries for OS > > X 10.3 or 10.4.1 or higher and not have to deal with gcj (which is > > necessary to build from source). > > > You shouldn''t need to build it from source if you don''t want to. > > > As for FDF - you really should get the book PDF Hacks (by the author of > > pdftk by the way). He fully explains PDF/FDF and many things you can do > > with it. I have exchanged some e-mails with Sid (the author of PDF Hacks > > and pdftk), he''s really great, knowledgeable and the book is cheap. > > > Craig > > > On Fri, 2008-04-25 at 09:32 -0700, rushnosh wrote: > > > the use of PDFtk requires GCJ and there seems to be some confusion in > > > regards to installation of this as GCC is installed on mac osx. > > > has anyone got pdftk to work. > > > > i have been able to generate the FDF. there is also a note the acrobat > > > 7 uses xml accomplish this. > > > > any hints on how to solve this would be great. > > > > On Apr 25, 7:34 am, Craig White <craigwh...-BQ75lA0ptkhBDgjK7y7TUQ@public.gmane.org> wrote: > > > > On Fri, 2008-04-25 at 07:29 -0700, rushnosh wrote: > > > > > i am attempting to fill a pdf that has fields with data submitted from > > > > > a user. > > > > > > i am using pdftk but never tried to run something outside of ruby. > > > > > does anyone have any tips, or articles in regards to running an app > > > > > outside of ruby such as this to accomplish this task. > > > > > > pdftk is command line operational. > > > > > ---- > > > > see the PDF page onhttp://wiki.rubyonrails.org > > > > > I have used a number of techniques suggested there including pdftk and > > > > also am using the rjb (ruby-java-bridge) which uses itext to generate > > > > PDF data fills of forms. Both work well. > > > > > Craig--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Fri, 2008-04-25 at 14:07 -0700, rushnosh wrote:> > suggests that you can use one of the Macintosh pre-built binaries for OS > > X 10.3 or 10.4.1 or higher and not have to deal with gcj (which is > > necessary to build from source). > > criag, yes, i have been to accesspdf and read thru all the docs. i > don''t understand what you mean by using the pre-built binaries. > are you saying that i can run pdftk without installing gcj. > > i am installing pdftk with macports and from the readings this is > going to take a long time. i hope this works. > > as i mentioned i have FDF working and it creating the text file > without problems, it''s a matter of now getting pdftk to work with it. >---- are you saying that this won''t install/work? http://www.pdfhacks.com/pdftk/OSX-10.3/pdftk1.12_OSX10.3.dmg.gz Craig --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> are you saying that this won''t install/work? > > http://www.pdfhacks.com/pdftk/OSX-10.3/pdftk1.12_OSX10.3.dmg.gzisn''t this 10.3 specific. i am running 10.4 and i ran macports are your saying that this will run on 10.4 as well? On Apr 25, 5:03 pm, Craig White <cr...-CnJ8jr4MGtxl57MIdRCFDg@public.gmane.org> wrote:> On Fri, 2008-04-25 at 14:07 -0700, rushnosh wrote: > > > suggests that you can use one of the Macintosh pre-built binaries for OS > > > X 10.3 or 10.4.1 or higher and not have to deal with gcj (which is > > > necessary to build from source). > > > criag, yes, i have been to accesspdf and read thru all the docs. i > > don''t understand what you mean by using the pre-built binaries. > > are you saying that i can run pdftk without installing gcj. > > > i am installing pdftk with macports and from the readings this is > > going to take a long time. i hope this works. > > > as i mentioned i have FDF working and it creating the text file > > without problems, it''s a matter of now getting pdftk to work with it. > > ---- > are you saying that this won''t install/work? > > http://www.pdfhacks.com/pdftk/OSX-10.3/pdftk1.12_OSX10.3.dmg.gz > > Craig--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Fri, 2008-04-25 at 17:12 -0700, rushnosh wrote:> > are you saying that this won''t install/work? > > > > http://www.pdfhacks.com/pdftk/OSX-10.3/pdftk1.12_OSX10.3.dmg.gz > > isn''t this 10.3 specific. i am running 10.4 > and i ran macports > > are your saying that this will run on 10.4 as well?---- I''ve led you to the page that answers your question. I didn''t write the page, I didn''t compile the software, I have never tried to install it so I think my answer would be far more meaningless than either reading the page I previously linked or downloading and trying it yourself. Craig --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
got it working with macports. On Apr 25, 8:30 pm, Craig White <craigwh...-BQ75lA0ptkhBDgjK7y7TUQ@public.gmane.org> wrote:> On Fri, 2008-04-25 at 17:12 -0700, rushnosh wrote: > > > are you saying that this won''t install/work? > > > >http://www.pdfhacks.com/pdftk/OSX-10.3/pdftk1.12_OSX10.3.dmg.gz > > > isn''t this 10.3 specific. i am running 10.4 > > and i ran macports > > > are your saying that this will run on 10.4 as well? > > ---- > I''ve led you to the page that answers your question. > > I didn''t write the page, I didn''t compile the software, I have never > tried to install it so I think my answer would be far more meaningless > than either reading the page I previously linked or downloading and > trying it yourself. > > Craig--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---