wkhtml alternative

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
MESSI
Posts: 47
Joined: Thu Dec 29, 2022 11:09 pm

wkhtml alternative

Post by MESSI »

Hello,
We have used wkhtml to generate PDF reports for several years, but we are seeking to find another replacement since wkhtml was abbandoned this year. (affordable if possible :) - we also have used CombinePROX for several projects from coolutils which is indeed an option but quite expensive).
I have asked the AI for alternatives, but I'd like to share with other developers some thoughts about this.
What do you use in your projects to transform html to PDFs?
AwareIM , 8.8, 9.0 - MariaDB, Windows Server 2012,2019, 2022 Standard
customaware
Posts: 2427
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: wkhtml alternative

Post by customaware »

We have used CombineProX for years. Yes, not cheap. But just always works.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
hpl123
Posts: 2630
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: wkhtml alternative

Post by hpl123 »

Ridiculous prices for the commercial ones, there has to be some other free / cheap option out there.

Why are you not continuing with wkhtml, are there parts of it that don't work for you? I use it extensively and never had any issues.
Henrik (V8 Developer Ed. - Windows)
customaware
Posts: 2427
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: wkhtml alternative

Post by customaware »

I need to combine HTML, PDF, Images, Excel and or Word into a single PDF Document.
That is primarily what I use it for.

Never really looked as wkhtml but looking now , it does not look like it will combine different file types into a single pdf doc.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
MESSI
Posts: 47
Joined: Thu Dec 29, 2022 11:09 pm

Re: wkhtml alternative

Post by MESSI »

hpl123 wrote: Sun Sep 24, 2023 7:28 pm Ridiculous prices for the commercial ones, there has to be some other free / cheap option out there.
We have explored some solutions out there and seems that https://weasyprint.org/ to be closest to wkhtml, also free.

As paid solution we also recommend CombinePROx from coolutils.com
hpl123 wrote: Sun Sep 24, 2023 7:28 pm Why are you not continuing with wkhtml, are there parts of it that don't work for you? I use it extensively and never had any issues.
We had some issues recently with some of our customers:
1. Some PDF's had been seen as threats by some email servers.
2. Sometimes when server is restarted - the fonts are tiny (as workaround switch versions of wkhtml).
3. As an abandoned project is not recommended for the future projects.
AwareIM , 8.8, 9.0 - MariaDB, Windows Server 2012,2019, 2022 Standard
hpl123
Posts: 2630
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: wkhtml alternative

Post by hpl123 »

MESSI wrote: Mon Sep 25, 2023 5:32 pm
hpl123 wrote: Sun Sep 24, 2023 7:28 pm Ridiculous prices for the commercial ones, there has to be some other free / cheap option out there.
We have explored some solutions out there and seems that https://weasyprint.org/ to be closest to wkhtml, also free.

As paid solution we also recommend CombinePROx from coolutils.com
hpl123 wrote: Sun Sep 24, 2023 7:28 pm Why are you not continuing with wkhtml, are there parts of it that don't work for you? I use it extensively and never had any issues.
We had some issues recently with some of our customers:
1. Some PDF's had been seen as threats by some email servers.
2. Sometimes when server is restarted - the fonts are tiny (as workaround switch versions of wkhtml).
3. As an abandoned project is not recommended for the future projects.
Yeah, the abandoned project thing is not good so I agree using this solution in a production system is not the best idea. I hope you find a good other alternative and please share your results.
Henrik (V8 Developer Ed. - Windows)
kklosson
Posts: 1650
Joined: Sun Nov 23, 2008 3:19 pm
Location: Virginia

Re: wkhtml alternative

Post by kklosson »

It certainly depends on what you need to do but I use PDFTK (https://www.pdflabs.com/) to combine PDF files via CLI on the back end. It's free.
V8.8
MySQL, AWS EC2, S3
PDFtk Toolkit
Post Reply