Jump to content

Can I create my own PDF Writer in PHP if yes then how?


Recommended Posts

I'm not asking create pdf using scripts like FPDF, jsPDF, TCPDF, etc. I've used them but it had not worked like expected. So I've thought why not create my own PDF Creator but I don't have any idea that how I will create a pdf writer using php. What I want to do is convert the whole page to pdf including styles & markup without any type of compromising the markup & style. You can look out the page I want convert to pdf here: https://whatsnew.cf/admin/accounting/invoice.php?do=view&oid=15188130456&refid=49

Link to comment
Share on other sites

Yeah, it's good but it requires "WKHTMLtoPDF" installed to execute the commands from PHP. If I want to use PHPWKHTMLtoPDF, I must have to install WKHTMLtoPDF on the system. In my local server it's possible but in HelioHost, it's not possible as Root Admins definitely will not allow me to install the framework on the system. That's why I want to create my own PDF Writer in PHP without any dependencies.

Link to comment
Share on other sites

Okay, I will try some scripts from the website you specified if no-one has fullfilled my expectations then I will let you know.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...