-
Notifications
You must be signed in to change notification settings - Fork 97
Use system wide installed wkhtmltopdf #27
Comments
Hi!, i think you could, without any modification in the library, you could do something like this in the startup services.AddWkhtmltopdf("PATH_TO_SYSTEM_WIDE_VERSION"); |
Unfortunately the
For example, it is not possible for the binary file to be located under |
Yeah, i forgot about those lines, the online way i think it could work is with a few modifications |
i think im gonna add a parameter in the setup like "usesystemwide" or something like that....and invoke wkhtmltopdf, the only catch is that the path to wkhtmltopdf will have to be added to the env variable PATH |
Also there are line in I'm planning to implement such feature in my fork. We can collaborate on that. I think user should be able to provide full path to executable, also I suggest removing the static path from settings. |
Hi @gurustron! yes, i had planned to do that in the weekend, i have little time available as this moment, if you have the time, please, be my guest |
Is there any chance to use a system wide installed version of wkhtmltopdf?
Because my hoster already deploys an up to date version on theirs servers. I have multiple services which use pdf rendering with wkhtmltopdf and it would be very nice to use the version provided by the system, instead having every app it's own binary
The text was updated successfully, but these errors were encountered: