Re: [Rails] Re: Re: wkhtmltopdf and PDFkit

2010-11-30 Thread David Kahn
On Tue, Nov 30, 2010 at 3:25 AM, Conor Nugent wrote: > Hi Nick, > > I think that you are right and the problem lies with your installation > of wkhtmltopdf given your command line problems. Maybe try uninstalling > wkhtmltopdf > > apt-get remove wkhtmltopdf > > and then installing via PDFKit > >

[Rails] Re: Re: wkhtmltopdf and PDFkit

2010-11-30 Thread Conor Nugent
Hi Nick, I think that you are right and the problem lies with your installation of wkhtmltopdf given your command line problems. Maybe try uninstalling wkhtmltopdf apt-get remove wkhtmltopdf and then installing via PDFKit pdfkit --install-wkhtmltopdf or manually Sorry, I know this isn't mu

[Rails] Re: Re: wkhtmltopdf and PDFkit

2010-11-29 Thread Nick Burdick
Conor Nugent wrote in post #963078: > Hi David, > > I'm really glad the post helped! Thank you for all your advise too! David, Conor, I tried to install via the method mentioned by Conor above and when I generate a PDF, it comes up blank. I also try running from the command line and I also get a

[Rails] Re: Re: wkhtmltopdf and PDFkit

2010-11-22 Thread Conor Nugent
Hi David, I'm really glad the post helped! Thank you for all your advise too! -- Posted via http://www.ruby-forum.com/. -- 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-t...@googlegroups.

Re: [Rails] Re: Re: wkhtmltopdf and PDFkit

2010-10-05 Thread David Kahn
Yeah, that does work, but if you do it with the tr, it will do it on every tr --- so you get a lot of pages! I think what I did was in my logic is judiciously add the page break css when I am approaching a certain # of lines. Guess it just depends on what you are trying to do. Best! David On Tue

[Rails] Re: Re: wkhtmltopdf and PDFkit

2010-10-05 Thread Conor Nugent
Yeah, I'm really looking forward to playing around with it and thanks again for your help. Ryan Bates mentions a css solution to the problem you have described in his railscast. Basically involves using page-break-before: always; for the items you don't want split Here is the ascii version of