New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Options set in described methods resulting error #201
Comments
These are questions about wkhtmltopdf so you should ask there. This here is only a PHP wrapper around it. If you check |
I think this thread could be reopen since it's actually resulting error when you try different variables. |
What do you mean by "not work"? Is there an error from wkthmltopdf or is there a problem with the created command string? |
@mikehaertl thanks for your quick feedback. I searched more about this and I think margin-top is only available as a global variable. |
We can't fix this here. Our library is only a wrapper for |
Yeah that's what I understood. Thanks for your support. |
Hi!
Tried to set options directly within called methods as described in docs but seems it's not possible?
$pdf->addCover('cover.html', ['orientation' => 'Portrait']);
Error:
$pdf->addPage('page1.html', ['encoding' => 'UTF-8']);
Error:
And because of above, it's impossible to mix multiple pages of different orientation. Is there any workaround on how to combine pages with different orientation in a single PDF file without using any other software?
The text was updated successfully, but these errors were encountered: