Let Visitors Save Your Web Pages to PDF
PdfSpot offers a very simple and straightforward way to save your web pages to PDF. Just paste the following code verbatim into your HTML. It creates a link that converts the containing page to PDF.
<a href="https://www.pdfspot.com/export_to_pdf/">Export to PDF</a>
Options
You can customize the PDFs using these parameters:
PDF Document Name
This parameter is represented by the
pdf_name variable in the query string of the link to HTML to PDF converter.
The default value of this parameter is an empty string which makes the converter to use a default 'Document' name for the generated PDF document.
PDF Page Size
This parameter is represented by the
pdf_page_size variable in the query string of the link to HTML to PDF converter.
The default value of this parameter is A4.
Other possible values are A0 to A10, B0 to B5, ArchA to ArchE, Flsa, HalfLetter, Ledger, Legal, Letter, Letter11x17, Note.
PDF Page Orientation
This parameter is represented by the
pdf_orientation variable in the query string of the link to HTML to PDF converter.
The default value of this parameter is Portrait. Other possible value is Landscape.
Usage Examples
A4 Page
https://www.pdfspot.com/export_to_pdf/?pdf_page_size=A4
Letter Page, Landscape Orientation
https://www.pdfspot.com/export_to_pdf/?pdf_page_size=Letter&pdf_orientation=Landscape
MyReport as document name
https://www.pdfspot.com/export_to_pdf/?pdf_name=MyReport
Other info
- The 'Export to PDF' Link service picks up the URL of the web page from the HTTP referrer.
- The web page must be publicly accessible on the Internet.
- Only the current web page can be converted, it is not possible to specify a different URL to convert.
- The 'Export to PDF' Link service is free to use.