Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Prawn | 4,425 | 4,037 | 273 | 3 months ago | 41 | December 31, 2020 | 117 | other | Ruby | |
Fast, Nimble PDF Writer for Ruby | ||||||||||
Prawn Qrcode | 48 | 34 | 1 | a month ago | 13 | June 16, 2020 | 1 | apache-2.0 | Ruby | |
An extension to prawn for easy QR Code generation/rendering | ||||||||||
Sinatra Prawn | 46 | 2 | 12 years ago | 3 | August 10, 2014 | 5 | mit | Ruby | ||
Sinatra extension to add support for pdf rendering with Prawn templates. | ||||||||||
Prawn Assist | 11 | 14 years ago | 1 | Ruby | ||||||
Helper functions to parse HTML and create output to assist rendering PDF using prawn (or some other renderer) | ||||||||||
Pdfcraft | 5 | 1 | 5 years ago | 6 | May 23, 2018 | 2 | mit | Ruby | ||
A cute little Rails plugin for rendering PDFs | ||||||||||
Tilt Prawn | 2 | 8 years ago | mit | Ruby | ||||||
sinatra-prawn is an extension for sinatra to enable rendering of pdf files using prawn templates.
sudo gem install sbfaulkner-sinatra-prawn -s http://gems.github.com
add these lines to your project Gemfile
source "http://gems.github.com" gem "sbfaulkner-sinatra-prawn"
and run
bundle install
require 'rubygems' require 'sinatra' require 'sinatra/prawn' set :prawn, { :page_layout => :landscape } get '/' do content_type 'application/pdf' prawn :pdf end __END__
Brent Faulkner <[email protected]>
Copyright © 2009 unwwwired.net, released under the MIT license