Skip to content

Not working on Windows #233

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

Closed
tertek opened this issue Mar 18, 2021 · 3 comments
Closed

Not working on Windows #233

tertek opened this issue Mar 18, 2021 · 3 comments

Comments

@tertek
Copy link

tertek commented Mar 18, 2021

Please update the README requirements that this wrapper is not supported on Windows:

Failed without error message: pdftk "A"="C:\..\template.pdf" dump_data_fields_utf8 (Exit code: 1)

Also see #62

@mikehaertl
Copy link
Owner

Well, it is... check the README here: https://github.com/mikehaertl/php-pdftk#shell-command

You need to configure the path to pdftk.exe on your system.

@tertek
Copy link
Author

tertek commented Mar 18, 2021

Maybe you could emphasize a hint for Windows users on a more general level, since I encountered the error while using getDataFields method and not the Shell Command. But thank you for the info !

pdftk path was set and tested with proper output for same file.

@tertek tertek closed this as completed Mar 18, 2021
@mikehaertl
Copy link
Owner

The Shell command is the underlying library used to execute any command. As I can not really provide "official" support for Windows, I don't want to encourage use on Windows - even though it should work in most cases.

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

2 participants