Pdfcrowd offers a very simple and straightforward way to save your web pages to PDF. Just copy the code below verbatim into your HTML. It creates a link that converts the containing page to a PDF.
<a href="http://pdfcrowd.com/url_to_pdf/">Convert this page to a PDF</a>
You can customize the PDFs using these parameters:
| Parameter | Description |
|---|---|
| width | Page width. |
| height | Page height. Use -1 for a single page PDF. |
| hmargin | Horizontal page margins. |
| vmargin | Vertical page margins. |
| footer_text | Footer text. The following variables are expanded:
|
| use_print_media | Use the print CSS media type if available. |
| pdf_name | The file name of the created PDF. If not specified then the name is auto-generated. |
Page dimensions and margins can be specified in inches (in), millimeters (mm), centimeters (cm), or points (pt). If no units are specified, points are assumed. Examples: 210mm, 8.5in
http://pdfcrowd.com/url_to_pdf/?width=210mm&height=297mmhttp://pdfcrowd.com/url_to_pdf/?width=8.5in&height=11inhttp://pdfcrowd.com/url_to_pdf/?height=-1http://pdfcrowd.com/url_to_pdf/?footer_text=page%20%phttp://pdfcrowd.com/url_to_pdf/?use_print_media=1Here is a demo.
This service is free, you don't need an account to use it. However, for commercial web sites, you might consider purchasing a Domain License for your domain which removes the Pdfcrowd logo.
?url=http://mysite.com or anything
similar; it will not work.