matwachich Posted June 18, 2019 Share Posted June 18, 2019 Hi guys! A pretty simple UDF to convert HTML to PDF using wkHTMLtoPDF. It uses the C API of the tool (DLL), so no external process, no ActiveX or COM sh*t. See the example, and the documentation of wkHTMLtoPDF. Cheers https://github.com/matwachich/wkhtmltopdf-au3 Skeletor and robertocm 2 Link to comment Share on other sites More sharing options...
crazycrash Posted February 12, 2020 Share Posted February 12, 2020 Thanks, this is exactly what I've been looking for. I can't however get the example to work and would much appreciate some help: The script exits at the following code in the example: _HTML2PDF_Convert($pConverter) +>08:43:01 Starting AutoIt3Wrapper (19.1127.1402.0} from:SciTE.exe (4.2.0.0) Keyboard:00000809 OS:WIN_10/ CPU:X64 OS:X64 Environment(Language:0409) CodePage:0 utf8.auto.check:4 ----------- Example 01: Simplest Init done (@error=0) Phase 1/7: Loading pages !>08:43:02 AutoIt3.exe ended.rc:-1073741819 +>08:43:02 AutoIt3Wrapper Finished. >Exit code: 3221225477 Time: 1.901 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now