Home
> Uncategorized > Download a webpage as a #PDF
Download a webpage as a #PDF
If you have a webpage that you’d like your users to download and take with them, such as a ticket, receipt, map or timetable; then offering a PDF download is a handy way to do this. However, if your content is dynamic, then you may find that you’ve hit a problem.
By adding the following HTML to your page, you can create a download link for the current page; so your users can have a PDF version of what they are looking at;
<a onclick=”location.href=’http://pdf.apixml.net/download.aspx?url=’
+ location.href” >
<img src=”https://cdnjs.cloudflare.com/ajax/libs/foundicons/3.0.0/svgs/fi-page-export-pdf.svg” />
</a>
You can get more info on this at http://pdf.apixml.net/
Categories: Uncategorized
Comments (0)
Trackbacks (0)
Leave a comment
Trackback