šŸšØ HTML2PDF Deprecated [UPDATE + ALTERNATIVES]

God Bless you, for Saving us all. I am Actually a systems Developer at a Community High School with over 2K Students. And i have to tell you. Folks here are loving the feature of being able to print PDF seamlessly

UPDATE: I believe the dev link is no longer working now.

2 Likes

You are very welcome!! Glad I can help :pray:
We all level-up together :rocket:

I just tested and it works :face_with_monocle:

Can you please tell me if Iā€™m doing something wrong, the PDFwizard link is working but apparently it has limitations.

When you click this link, what happens?
https://81477b6b-70f9-464e-a644-cc79738b18fb-00-2dp7qyh8jyudg.worf.replit.dev/?PDF=HTML

This is what I get

Very strange, seems to work for me and other no problemsā€¦
What about the link below?

https://pdfwizard.netlify.app?PDF=HTML

This has been working for me, but it has limitations on the length of HTML Code. Any workaround. please? I am stranded.

1 Like

Okā€¦ Iā€™ve launched a third version of this app on another hostā€¦ Does it work?

https://pdfwizard.onrender.com/?PDF=HTML

3 Likes

@Loqode Itā€™s so touching you keep fighting for us all :sob:
Thank you! (I havenā€™t checked if the latter works)

3 Likes

Works well! Many thanks!

1 Like

Youā€™re welcome!! We all level-up together :muscle:

FYI: For everyone on this post, I have edited my original post with the updated options to clarify all of the alternatives.

6 Likes

Your Work is Highly Appreciated by the community, Thank you

2 Likes

Hey @loqode,

Is it possible to control the PDF Download Settings by default? When I download my PDF on the phone, the orientation gets off and it gets splited into 2 pages.

Also, is it possible to customize the name of the PDF? By default, the file name is HTML 2 PDF? Can I customize that through glide?

Hello The Links are down, Please Help :frowning:

I made my own static Page on github but Iā€™m getting the error of URI too long, How to fix that?

Browser limits the length of URLs, looks like PDF you are trying to generate is too longā€¦

I am aware the character length I have for My PDFs are ridiculously high, However the Replit link is down, it worked fine with it.

but if I use my own deployment it returns Error 414.

1 Like

Have you tried other links? They work.
If your PDF is too long, then I suggest joining Document Masterclass. It is the best, most advanced option.

To address this, youā€™ll need to check your server configuration and find out what the maximum allowed limit is for URL length. Some hosts have different policies.

One workaround is to create a button labeled ā€œTest Printā€ containing short data, which sometimes succeeds in triggering a print for long URLs.

2 Likes

Hi Marco,

Iā€™m having trouble hosting this on my own. Iā€™ve already created a subdomain called : printpdf.mysubdomain.com and Iā€™ve already change the public.html file with your code. But I get this weird https error. What could be the problem?

This site canā€™t be reached

The webpage at https://invoiceprint.mysubdomain.com/public_html/invoiceprint/printpdf/?PDF=<div%20style%3D"margin%3A2rem%202rem%202rem%202rem"%3B%20>%0A%20%20<div%20style%3D"text-