pdfsnag - streaming pdf generator

Fork me on GitHub

Base Request Params (GET and POST)

   url: url to generate pdf from
   html: html to generate pdf from
   name: name of generated pdf (default: output.pdf)

Additional wkhtmltopdf Request Params Supported

background,collate,copies,default-header,disable-external-links,disable-forms,disable-internal-links,disable-javascript,disable-smart-shrinking,disable-toc-back-links,enable-external-links,enable-forms,enable-internal-links,enable-javascript,enable-smart-shrinking,enable-toc-back-links,encoding,exclude-from-outline,grayscale,image-dpi,image-quality,images,include-in-outline,javascript-delay,load-error-handling,lowquality,margin-bottom,margin-left,margin-right,margin-top,minimum-font-size,no-background,no-collate,no-images,no-outline,no-pdf-compression,no-print-media-type,no-stop-slow-scripts,orientation,outline,outline-depth,output-format,page-height,page-offset,page-size,page-width,password,print-media-type,proxy,stop-slow-scripts,title,user-style-sheet,username,zoom

Read about the options

Example: Sample GET Requests

   ?url=google.com
   ?html=<h1>Hi mom&to_mom
   ?url=google.com&zoom=3&orientation=Landscape&grayscale=&encoding=UTF-8&page-height=17in&page-width=11in

Example: POST Example/Form

Name: Url:

Html: