Pdfcrowd & Ruby on Rails Demo
Sample for dynamic and static HTML to PDF conversions.
ruby ruby-dev ruby-bundler
Replace 'your_username' with your Pdfcrowd username and 'your_apikey' with your Pdfcrowd API key in app/controllers/demo_controller.rb file. Sign up for a free trial if you don't have the credentials.
gem install rails bundle install
Web server start
rails server -p 8080
Open a sample web page http://localhost:8080/
Invoke a conversion to PDF by pressing buttons at the bottom of the page.