Displaying 20 results from an estimated 600 matches similar to: "Generating a PDF using popen and wkhtmltopdf"
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
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.
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 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 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"
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
2012 Sep 11
10
wickedpdf
Hi all i''m trying to generate pdf and i got this error
Location of wkhtmltopdf unknown and i also get
Bad wkhtmltopdf''s path
gpa/vendor/plugins/wicked_pdf/lib/wicked_pdf.rb:26:in `initialize''
/EDWARD/_gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `new''
/EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `make_pdf''
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/.
--
2009 Sep 30
3
How to search and replace all urls on a HTML string using RUBY gsub
Hi ,
I trying to search and replace all urls on a HTML string
using gsub .
CODE
html = "<a href=''http://site.com.br''><img src=''http://site3.com/
image.jpg''></a><a href=''http://newx.com.br''><img src=''http://localhost/
imagem.jpg''></a>";
pattern = /<a
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
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 Aug 09
1
Factor moderators in metafor
I'm puzzled by the behaviour of factors in rma models, see example and
comments below. I'm sure there's a simple explanation but can't see it...
Thanks for any input
John Hodgson
------------------------------------- code/selected output -----------------
library(metafor)
## Set up data (from Lenters et al A Meta-analysis of Asbestos and Lung
Cancer...
##
2010 May 13
20
HTML and CSS to PDF
I would like to take a rails page and convert it to a pdf. I don''t want
to have to generate the code myself for making the pdf, so it should
obey css. What is the best tool for doing this? Does the tool use the
standard css, or can I provide it alternative print-css?
Thanks in advance,
Jonathan Steel
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
2012 May 03
5
[PATCH/RFC 0/6] New mux client request to list open tcp forwardings.
These patches implement a new mux client request to list the currently opened
TCP forwardings. It also removes some todos regarding keeping the list
of forwardings in the options up-to-date.
Bert Wesarg (6):
attach the forwarding type to struct Forward
merge local and remote forward lists
generate unique ids for forwardings to be used for identification
remove closed forwardings from
2011 Dec 04
2
a weird question about gdata:::
Dear R People:
If I put in:
> findPerl
Error: object 'findPerl' not found
But if I use:
> gdata:::findPerl
function (perl, verbose = "FALSE")
{
errorMsg <- "perl executable not found. Use perl= argument to
specify the correct path."
if (missing(perl)) {
perl = "perl"
}
perl = Sys.which(perl)
if (perl == "" ||
2010 Jan 15
2
Generating views in pdf, rtf, or doc format
I have a requirement to generate views (list and show views, including
data and uploaded images) into a format that can be saved and/or
emailed. I''m looking for opinions on the easiest way to achieve this.
I''ve researched the use of both PDF::Writer and Prawn, and it seems that
to re-generate my views in pdf format will require a lot of work. Is
there an easier way using .rtf
2015 Sep 07
5
[PATCH 0/4 v3] builder: support for Simple Streams metadata
Hi,
this series adds a basic support for Simple Streams v1.0 metadata
files. This makes it possible to create a repository .conf files with
[cirros]
uri=http://download.cirros-cloud.net
format=simplestreams
to read the latest version of each CirrOS image.
Thanks,
Pino Toscano (4):
builder: add non-int revisions
builder: add simple libyajl binding
build: expose HAVE_YAJL to automake
2011 Mar 31
3
[LLVMdev] inserting exit function into IR
Hi Joshua,
I have a function foo and I want to insert exit(0) at the end of foo.
The problem is M.getFunction returns null, which is understandable. I am not
sure what to do. Below is the code snippet.
void foo(int argc, char* argv[]) {
printf("hello world\n");
exit(0); //***I want to insert this exit
}
My llvm code snippet is
vector<const Type *> params =
2014 Oct 27
2
[LLVMdev] How to call a pointer that points to a C function
I have a pointer to a function that I need to invoke without going
through llvm::Module::getOrInsertFunction. This example does not work:
static int add(int x, int y);
llvm::Value *one, *two;
llvm::Constant* addfn
= llvm::ConstantInt::get(JB->getIntPtrTy(DataLayout), (intptr_t)add);
llvm::Type* args[] = { Int32Ty, Int32Ty };
llvm::FunctionType* ftype = llvm::FunctionType::get(Int32Ty,
2006 Jan 26
2
Change email template for Salted Hash Login Generator?
There are a couple of things I''m trying to do with the salted hash login
generator.
First off I am trying to change the email template to include some other
things such as links to the site, instructions and other email goodness.
Second I am trying to find where the gem is pulling the app_url from
because I changed it to reference my host name, but I have not been able
to get it to