I am trying to add a cover page to my mydbr pdf export.
I am running the following command and am having an error where the cover page is not generated. When I run the command locally on the server it complains about "--margin-top being specified in the inocrrect location. The error is below:
Failed command: "C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe" -q cover http:\localhost/test.html --header-html http://localhost/mydbrDev/user/export_header_pdf.php --margin-top 20 --header-spacing 8 C:\Windows\Temp\mydbr_export_854423126.html -
I am running the following myDBR command to include the cover page:
select 'dbr.wkhtmltopdf', 'cover http:\\localhost/test.html';
The HTML code that I'm using for the cover page is below:
<html>
Hello World
</html>