Software Alternatives & Reviews

Converting HTML to PDF using Rails

wkhtmltopdf puppeteer Wicked PDF
  1. wkhtmltopdf is an open source (LGPL) command line tools to render HTML into PDF and various image...
    Pricing:
    • Open Source
    A couple of popular gems to convert HTML to PDF in Rails are PDFKit and WickedPDF. They both use a command line utility called wkhtmltopdf under the hood; which uses WebKit to render a PDF from HTML.

    #HTML To PDF #PDF Conversion API #PDF Tools 33 social mentions

  2. Puppeteer is a Node library which provides a high-level API to control headless Chrome or Chromium...
    The gem I recommend is called Grover. It uses Puppeteer and Chromium to "print" an HTML page into a PDF. So your PDF will look exactly how your page looks in Google Chrome's print preview. This will also allow you to reuse CSS from your app rather than having to write specific CSS just for your PDF exports.

    #Automated Testing #Browser Testing #Software Development 102 social mentions

  3. PDF generator (from HTML) plugin for Ruby on Rails
    A couple of popular gems to convert HTML to PDF in Rails are PDFKit and WickedPDF. They both use a command line utility called wkhtmltopdf under the hood; which uses WebKit to render a PDF from HTML.

    #Automated Testing #PDF Tools #Office & Productivity 3 social mentions

Discuss: Converting HTML to PDF using Rails

Log in or Post with