wicked-pdf Questions

3

Solved

I've got a mailer that as follows: class Payments::LateNoticesMailer < AsyncMailer def notice(payment_id) @payment = PaymentDecorator.find(payment_id) @invoice = @payment.invoice template =...

3

When I try to include an SVG in a PDF generated by wicked_pdf (wkhtmltopdf), it comes out blank. Any idea how to get the svg to display in the pdf? app/views/barcodes/to_pdf.html.haml <descrip...
Scutter asked 24/10, 2011 at 18:27

4

Solved

I am using this guide for integrating wicked_pdf on heroku. But somehow it doesn't seem to work. I got the logs from heroku and its says this: Processing PdfController#get_pdf to pdf (for 115.248....

3

Hi i am using wicked_pdf for generating images after i save image when i generate pdf and used this tag for display image like this <%= wicked_pdf_image_tag(@image.snap.url(:original)) unless ...
Shipyard asked 29/8, 2012 at 14:35

1

So I've been banging my head on this all day yesterday trying to get PDF rendering to work properly. After trying Prawn and PDFKit, I found that the problem with at least getting it to work at all ...

3

How to create a multipage PDF in Rails representing one table of data (including column headers on each new page)? I've looked at many examples with wicked-pdf, pdfkit, and prawn but haven't seen a...
Woodsman asked 23/5, 2012 at 1:24

1

Solved

I'm using wkhtmltopdf v0.11.0 rc1 in a Rails application through wicked_pdf (I know wicked_pdf does not support the new command line parameter notation, I'm using my own fork of the gem). I thought...
Irrigate asked 24/7, 2012 at 11:14

1

I'm getting this error when I try to submit my form (PDF is supposed to be generated using Wicked PDF gem, on form submission) - NameError in PostsController#create uninitialized constant Mime::...
Deft asked 5/5, 2012 at 10:0

1

Solved

I have a controller like this: def show @professor = Professor.find(params[:id]) respond_to do |format| format.html format.pdf do render :pdf => "file_name" end end end And a simple v...
Pelorus asked 7/6, 2012 at 23:2

2

Solved

I'm successfully using wicked_pdf with SASS in development. I'm including a single .scss file, which contains several import rules for other .sass and .scss files, via this helper: def wicked_pdf_...
Johansen asked 6/10, 2011 at 21:42

1

Solved

Wicked_pdf docs show that I can use the following to change the page size: render :pdf => 'file_name', :page_size => "b10" However, this is limited to "named" page sizes such as "A4" or "L...
Demp asked 24/10, 2011 at 18:30

1

Solved

I'm using the awesome wicked_pdf gem to generate a PDF, but I can't figure out how to change certain styles within the footer. I'm having a HAML template for the footer looking roughly like this: ...
Iman asked 2/10, 2011 at 14:41

2

Solved

I have been using Wicked_pdf to render a view as a PDF and actionmailer to send emails, but I can't get them to work together. I want to attach a PDF version of a certain view to an email using act...

1

Solved

I used <%= wicked_pdf_stylesheet_link_tag "pdf" %> it shows the following output in the html <link href="/stylesheets/pdf.css?1302860585" media="screen" rel="stylesheet" type="text/css...

© 2022 - 2024 — McMap. All rights reserved.