Displaying 20 results from an estimated 200 matches similar to: "wickedpdf"
2013 Feb 25
3
How to use same css in pdf for wkhtmltopdf
hi I am not getting the css in my pdf i wanna use same css for my pdf also
rather going for new css for pdf. how can I use same css which I use in my
views. I am using wkhtmltopdf for pdf generation and one more thing is how
get page page brake using wkhtmltopdf.
Cheers,
Kp
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
2013 Feb 04
3
Wicked pdf
Hello Guys
I am using rails 3.2.8 and wickedpdf.
Its working well in local but not in production.Below is the production
logs error.
"***************\"/var/www/apps/staging/shared/bundle/ruby/1.9.1/bin/wkhtmltopdf\"
-q \"file:///tmp/wicked_pdf_9892_0.html\"
\"/tmp/wicked_pdf_generated_file_9892_0.pdf\" ***************"
RuntimeError: Failed to
2013 Jan 31
1
WickedPdf error in production
Hello everyone,
I am using rails -v 3.2.8.
I am using wickedpdf to generate pdf. Its working well in my local machine.
But its not working in production server.
ompleted 500 Internal Server Error in 4443ms
RuntimeError (Failed to execute:
"/var/www/apps/staging/shared/bundle/ruby/1.9.1/bin/wkhtmltopdf" -q
"file:///tmp/wicked_pdf_5855_0.html"
2012 Oct 04
1
Page Break issue with Wkhtmltopdf
<https://lh5.googleusercontent.com/-Ic75bafROg0/UG10hP-nizI/AAAAAAAAAAc/NkV_Bom9rYI/s1600/552.png>
Hi all im facing a problem with wkhtmltopdf i am unable to break a page for
pdf output. can any one help me to do that.
Cheers,
Kp
--
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
2010 Mar 16
7
Recommendations for pdf generators
hi, everyone,
i have googled around for some pdf generators. Found
1) PDF::Writer which is a little dated
2) Rupdf (http://scoop.simplyexcited.co.uk//2007/12/15/rupdf-simple-
ruby-pdf-rails-plugin/ and http://agilewebdevelopment.com/plugins/rupdf)
- it''s a little dated. Last revision was on 15th of Dec, 2007.
Any recommendations for pdf generators?
thank you
--
You received this
2008 Dec 16
3
Princely Plugin: get nil.size error
Hi All,
I want to generate pdf with css. I am using princely plugin.
This is code which I written
def pdf
prince = Prince.new()
html_string = render_to_string(:template =>
''/users/paid_invoice.pdf.erb'')
send_data(
prince.pdf_from_string(html_string),
:filename => ''some_document.pdf'',
:type =>
2012 Nov 26
5
Missing template pages/layout only occasionally
I have my app email me errors when they occur. I get this about 2-3
times a week with thousands of hits a day to the site. pages/show is a
.html.erb file that renders the partial
_strategicrelationshipacademy.html.erb essentially. Or whatever partial
it calls for. I get this on many different ''pages''. Obviously the
partial exists if it renders it fine most of the time. What
2012 Sep 12
8
Round off method in 1.8.7
Hi all
i am trying to use round method if have a value 2.08 i want it as 2.1 and
it worked in 1.9.2 but not in 1.8.7 is there any other way of doing it.
USING 1.9.2
1.9.2p320 :001 > 2.08.round(1)
=> 2.1
1.9.2p320 :002 > 2.04.round(1)
=> 2.0
USING 1.8.7
irb(main):001:0> 2.08.round
=> 2
irb(main):002:0> 2.08.round(1)
ArgumentError: wrong number of arguments (1 for
2012 Oct 27
7
Photo Paperclip::CommandNotFoundError
Hi all,
I am using paperclip plugin. when i am trying to upload photo i am
getting this error " Photo Paperclip::CommandNotFoundError "
and i am getting this error on my server production mode. if i run on
development mode on my server i can able to upload the pic. why this is
happening i have no idea.
can any help me out.
Cheers,
Kp
--
You received this message because
2009 Jul 13
12
.html/.html.erb/.rhtml to PDF
Hello All,
I wanted to convert .html file into .pdf.
is there any rails plugin ??
Thanks,
Sandip R~
--
Ruby on Rails Developer
http://sandip.sosblog.com
http://funonrails.wordpress.com
www.joshsoftware.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2010 Sep 15
5
OT: Installing static binary of wkhtmltopdf
This is OT but have not been able to get a response elsewhere (stack
overflow and the project site itself) so thought someone here might know or
have some ideas.
First, I am using wkhtmltopdf stand alone without any of the rails gems as I
found that for some reason using WickedPdf or PdfKit my pdf''s did not
generate with active links from the links from those in the html. When I run
2012 Sep 15
2
[RSpec Testing] Methods take two arguments
Hello,
Here is my *pdf_helper.rb* => http://pastebin.com/QU1kTKXk. I want to test,
if self.create method can take more than two arguments. But, when I try to
run my test. It showed
*PdfHelper Should have two arguments
Failure/Error:
create_pdf.should_receive(object,template).with(user,file)
NameError:
undefined local variable or method `create_pdf'' for
2010 Feb 02
3
Generating a PDF using popen and wkhtmltopdf
As described on wkhtmltopdf Google group
(http://code.google.com/p/wkhtmltopdf/issues/detail?id=162), I have a
problem generating a PDF while using popen and wkhtmltopdf.
wkhtmltopdf takes HTML code as input and ouputs a PDF file. Here is what
I''m doing:
command = ''"C:\Program Files\wkhtmltopdf\wkhtmltopdf.exe" - - -q''
IO.popen(command,
2010 Nov 15
2
How to add an exe to Rails app
I have been hacking around with this for a bit but want to see if there is
an easy way:
I am using Heroku and I have the wkhtmltopdf static binary in:
rails_root/vendor/wkhtmltopdf
I am not using any plug ins for wkhtmltopdf, just the executable, on purpose
and want to keep it this way.
My code wants to execute wkhtmltopdf:
# tell wkhtmltopdf to convert html file to pdf
2013 Jun 09
2
Minitest mock or stub methods
Hi
I''m building a small library to use in my Rails app which interacts with a
3rd party API. It fetches artists and tracks.
So I have:
lib/my_lib.rb
lib/my_lib/artist.rb
lib/my_lib/track.rb
To get an artist I do
artist = MyLib::Artist.find("Oasis")
Which returns an instance of Artist if it finds (via 3rd party API) it or
nil otherwise.
Then I can call artist.tracks which
2011 Jan 12
14
WickedPDF vs PDFKit vs. Prawn, etc.
Thoughts on using WickedPDF vs PDFKit vs. Prawn or others for developing
forms with dynamic content?
TIA,
Garrett Lancaster
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2012 Feb 14
4
What I'm doing wrong, has_and_belong_to_many
Hello, I''m trying to insert into my migrate but when I try on rails
console this error shows:
1.9.3-p0 :001 > group = Group.new
=> #<Group id: nil, name: nil, description: nil, created_at: nil,
updated_at: nil>
1.9.3-p0 :002 > group.name = "Group Name"
=> "Group Name"
1.9.3-p0 :003 > group.description = "Description"
=>
2013 Jan 15
4
Ruby e Grafos
Olá sou Luiz Danin, novo neste forum, e necessito de informações para
meu tcc. Gostaria de saber se há um api Ruby para desenhar grafos de
forma iterativa movimentando os mesmos.
--
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
2012 Mar 20
9
Rails 3 generate pdf
Dear All,
i am developing an application with rails 3, and now i need to generate
a pdf file,i search a lot, and try a lot ,such as prawn ,PDFkit and so
on, it seems that prawn is no response in rails3, and when i use PDFKit,
it asked me to install wkhtmltopdf first, i try to install this,but
failed, anyone can help me ?
Thanks very much.
Daisy
--
Posted via http://www.ruby-forum.com/.
--
2013 Jun 25
2
How to save xml values to mysql database
Hi All,
I have a xml and I have to save those values into my mysql
database using ruby1.87. How can I do it. Kindly guide me how can I get
values and save them.
Thanks in advance
Cheers,
Kp
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send