Pdfcrowd Blog

Product updates, tips & tricks
  • HTML to PDF online tool:
    • Added more readability related options and better support for lazy loaded resources.
    • A new Save as PDF bookmarklet, see tutorial.
  • Minor documentation changes in the API clients and the WordPress plugins:
    • API clients updated to 5.6.2
    • WordPress updated to 2.9.4

HTML to Image:

  • Fixed an error when the JPEG output height exceeds the maximum allowed JPEG height.

PDF to HTML:

  • Improved ability to convert large PDF files.
  • Introduced a new error code 484, which is returned in case of an unsupported PDF feature, typically a font type.

The Pdfcrowd HTML to PDF API makes it easy to programmatically create fillable PDF forms from standard HTML forms. The API supports most of the HTML form features and, together with support for digital signatures (see Create Digital Signature in PDF), provides an easy way to create PDF forms.

This feature is available starting with Pdfcrowd API client libraries version 5.6.

Simple Example

Add an HTML form field, for example a text input:

<p>Enter name: <input type="text"></p>

Enable generation of fillable PDF forms with the setEnablePdfForms() method:

client.setEnablePdfForms(true)

The resulting PDF will display an interactive input text field.

See: Example PDF, HTML and Code

A digital signature is a piece of information placed in a PDF document that makes it possible to verify the authenticity of the document. The Pdfcrowd API allows you to programmatically create PDFs containing a digital signature field. Such PDFs can be digitally signed in, for example, Adobe Reader or Preview.

This feature is available starting with Pdfcrowd API client libraries version 5.0.

Quick Start

To add a signature field to a document, set the pdfcrowd-signature class on a DIV element and specify its dimensions.

<div class="pdfcrowd-signature" 
     style="width: 2in; height: 1in; border: 1pt solid black;">
</div>

Our HTML to PDF API will transform this element to a signature field in the resulting PDF.

Postman is a platform for using APIs. You can use it to interact with the Pdfcrowd API and convert between PDF, HTML and various image formats.

Let's first configure the API endpoint and the credentials. This configuration is common for all conversion types.

API endpoint - Select the HTTP POST method and enter the API endpoint: https://api.pdfcrowd.com/convert/

Postman - Pdfcrowd API endpoint

API credentials. The authorization method is Basic Auth. You can use either the demo credentials or your personal API credentials.