Form to PDF
Has anyone created a form to pdf method before I start? Idea is to allow downloading a PDF of the form's data. i.e. for paper or document management systems.
8 Replies
Have a look at this package - https://spatie.be/docs/laravel-pdf/v1/introduction
Introduction | laravel-pdf
laravel-pdf
Thanks I know how to generate PDF's, it's more if anyone has built a method for generating the page for printing/pdf.
Hi @toeknee
Did you progress with this?
Looking for a solution to convert a completed form/page, into a stored PDF.
Not really I built a custom quick render
Ahh..ok.
Is that easily done, can you point me somewhere ?
Sorry, I just used DomPDF and did it on an action, rendering a blade. i.e.
I use Typeset.sh
@toeknee Thanks for supplying this. It is similar to what I am doing, but I have an issue with the extensive CSS from filament and the other locations not being available.
Other than creating the css and making them statically available (not keen), have you found a way around that ?
@SoraKeyheart , does Typeset.sh go anyway to solve the CSS issue?