We have introduced a new PDF to HTML converter to the Pdfcrowd API. The converter is available in the API client libraries version 5.4 and higher.
We have introduced a new PDF to HTML converter to the Pdfcrowd API. The converter is available in the API client libraries version 5.4 and higher.
New:
We added a new method which sets a mobile user agent to use for conversion.
We have released a new version of our Save as PDF and Save as Image WordPress plugins.
New:
Pdfcrowd website has been restructured. Main changes:
API clients have been updated to version 5.2.2 and WordPress plugins to version 2.6.2 to reflect the changes in the API reference.
We have released a new version of our Save as PDF and Save as Image WordPress plugins.
Changed:
We have released a new version of our Save as PDF and Save as Image WordPress plugins.
New:
Changed:
Fixed:
In this tutorial you will learn how to add header and footer to PDF created by Pdfcrowd API. We will use PHP for illustrative purposes, but the code would be essentially the same in all languages the API supports.
Let's start with instantiating the Pdfcrowd client and setting the page format to Letter:
$client = new \Pdfcrowd\HtmlToPdfClient($user_name, $api_key);
$client->setPageSize('Letter');
The next step is to design our HTML footer and header. We can use special CSS classes that will be expanded as follows:
pdfcrowd-page-count
- the total page count of printed pagespdfcrowd-page-number
- the current page numberpdfcrowd-source-url
- the source URL of the main documentFixed:
Fixed:
We have released a new version of our Save as PDF and Save as Image WordPress plugins.
New:
Changed:
Fixed: