将HTML转换为PDF api

pastebin/TxJ6YbSU

I have this HTML and need to convert it to PDF, I have used many libraries PHP but nothing works right, when the images appear the html is bugged or when the html is perfect the images do not appear being absolta or relative to the urls ... Somebody help me please, my client can not afford a lib that does this and I do not know what else to do