All threads / Is there anyone who could offer advice or help with Generating a PDF Within the Program?

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Is there anyone who could offer advice or help with Generating a PDF Within the Program?

BushyTail asked in Rails

Hello, I am a college student working on a senior capstone that utilizes the use of Ruby on Rails. I am attempting to generate a PDF within the program, and I am stuck. Is there anyone who could offer advice or help point me in the right direction for help?

I have tried to use Wicked PDF, but what I am trying to do is more advanced. In the capstone project, I have to create a generate PDF function for the Arachni Penetration-Testing Web Application, version 1.5.1. The task I am given is to create a function that generates a PDF report looking exactly like the HTML report, which involves more than just text. I have hit a roadblock, and I am wondering if there is someone out there who can help me with this.

As I understand WickedPDF is exactly what you are looking for. You build your classic HTML view with all the things you need (images, links, text, styling) and Wicked builds a PDF from it. Have a look at their homepage. https://wkhtmltopdf.org/

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 34,674+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.