Skip to content
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

Windows unhappy --bin isn't a valid argument - should update bin to binPath #2

Open
rezen opened this issue Dec 24, 2013 · 0 comments

Comments

@rezen
Copy link

rezen commented Dec 24, 2013

So digging through everything the code that gets generated by WkHtmlToPdf for Windows is no good - the problem for Windows, this command is not valid. If I update the config and pass directly in a binPath it works hunky dory. I think in the PdfServiceProvider you should require a binPath vs. bin and it should work correctly cross platform.

Also note, doing this way I don't have to download binaries.

  • Windows CMD *
    "C:\Program Files (x86)\wkhtmltopdf\wkhtmltopdf.exe" --bin "C:\xampp\htdocs\console/vendor/h4cc/wkhtmltopdf-amd64/bin/wkhtmltopdf-amd64" C:\Users\Administrator2\AppData\Local\Temp\tmpAA79.tmp.html C:\Users\Administrator2\AppData\Local\Temp\tmpAA7A.tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant