S
S
signalizator2013-04-05 17:05:26
linux
signalizator, 2013-04-05 17:05:26

How to convert html to pdf on the server?

How can you convert html or rtf to pdf as quickly and accurately as possible?
It is required to convert documents such as invoices, acts, packing lists with css design.
Currently using wkhtmltopdf, however it requires xvfb and doesn't feel very fast.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
Y
Yuri Shikanov, 2013-04-05
@signalizator

HTML can be converted to pdf using phantom.js .

S
startsevdenis, 2013-04-05
@startsevdenis

mPDF to help you (http://www.mpdf1.com/mpdf/index.php)
A couple of days ago I had the same problem. Perfectly converts from html. You can include css. Well documented.
Researched 3 converters, this one turned out to be the best.

S
smoked, 2013-04-05
@smoked

unoconv dag.wieers.com/home-made/unoconv/ converts well, but drags the openoffice library with it
Can be used from the console.

A
akamajoris, 2013-04-06
@akamajoris

Whichever application you choose, most applications require a framebuffer for the virtual display, so xvfb is a must. As a full-fledged renderer, you can choose Webkit. For a lighter version of CutyCapt.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question