PDF files that are created online usually make use of the server-side languages (and their extensions/libraries for PDF).

jsPDF, a free JavaScript library, doesn't need any server-side script and can create PDF files on the client-side.

jsPDF

It has support for text (styling is possible), drawing shapes and images. Also, the document can be set as landscape and metadata like subject an title can be added as well.

The library works with no requirements in modern browsers and has a Flash-fallback for the others.

WebResourcesDepot Feed