The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Creating PDF on-the-fly?
Gerry Roston
post Jul 28 2022, 11:15 AM
Post #1





Group: Members
Posts: 3
Joined: 4-May 22
Member No.: 28,338



Sorry if this is the wrong forum section, but...

We have a web-app for which we would like the user to be able to download a PDF file. Basically, the user enters a few bits of information, a database is accessed, and the output is created. We have figured how to make PDF from this - create the HTML then convert it to PDF and download. Easy.

However, we would like to create the PDF without first having to show the HTML and we have not found good resources describing this process. Would you kindly point us to some resources that explain how to do this. Note that the web-app is for internal use at a university, so free would be preferred...
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jul 28 2022, 01:16 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,628
Joined: 10-August 06
Member No.: 7



Seems there are various libraries for PHP (a server-side scripting language) that let you do that, such as:

https://www.php.net/manual/en/book.wkhtmltox.php
https://www.geeksforgeeks.org/how-to-genera...file-using-php/
https://code.tutsplus.com/tutorials/how-to-...-php--cms-36703
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Marta
post Oct 6 2022, 01:31 PM
Post #3





Group: Members
Posts: 1
Joined: 6-October 22
Member No.: 28,578



Hello. I usually use for this
ilovepdf
smallpdf
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th March 2024 - 01:35 AM