# No se puede usar "html2pdf.loqode.repl.co"

**URL:** <https://community.glideapps.com/t/no-se-puede-usar-html2pdf-loqode-repl-co/69218>\
**Category:** Ask for Help\
**Created:** [January 3, 2024, 9:48pm UTC](https://community.glideapps.com/t/no-se-puede-usar-html2pdf-loqode-repl-co/69218 "2024-01-03T21:48:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wilkin\_Estrada\_Ayola](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wilkin_estrada_ayola/32/60035_2.png) [@Wilkin\_Estrada\_Ayola](https://community.glideapps.com/u/Wilkin_Estrada_Ayola)\
**Post date:** [January 3, 2024, 9:48pm UTC](https://community.glideapps.com/t/no-se-puede-usar-html2pdf-loqode-repl-co/69218/1 "2024-01-03T21:48:19Z")

</div>

Desde el medio día no he podido encontrar la solución para generar pdfs usando “[html2pdf.loqode.repl.co](http://html2pdf.loqode.repl.co)” al parecer el link está roto.

Alguna solución alternativa para esto?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [January 3, 2024, 9:56pm UTC](https://community.glideapps.com/t/no-se-puede-usar-html2pdf-loqode-repl-co/69218/2 "2024-01-03T21:56:07Z")

</div>

@Loqode

---

<div class="post-metadata">

**Author:** ![Loqode](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/loqode/32/50217_2.png) [@Loqode](https://community.glideapps.com/u/Loqode)\
**Post date:** [January 3, 2024, 10:32pm UTC](https://community.glideapps.com/t/no-se-puede-usar-html2pdf-loqode-repl-co/69218/3 "2024-01-03T22:32:19Z")

</div>

Replit recently _removed_ their free plan and automatically unpublished my html2pdf app. I have created another instance on Netlify, so you have 3 options:

## **1. Use the new tool:**

`https://pdfwizard.netlify.app?PDF="Insert Your HTML Here"`

## **2. Host the code yourself:**

```auto
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>HTML to PDF</title>
  <script src="https://cdn.tailwindcss.com"></script>
  <script>
    function getUrlParameter(name) {
      name = name.replace(/[\[]/, '\\[').replace(/[\]]/, '\\]');
      var regex = new RegExp('[\\?&]' + name + '=([^&#]*)');
      var results = regex.exec(location.search);
      return results === null ? '' : decodeURIComponent(results[1].replace(/\+/g, ' '));
    }

    function loadPdfContent() {
      const pdfContent = getUrlParameter('PDF');
      if (pdfContent) {
        document.getElementById('content').innerHTML = pdfContent;
        setTimeout(function () {
          window.print();
        }, 500); // 1000 milliseconds = 1 second
      }
    }
  </script>
</head>

<body onload="loadPdfContent()">
  <div id="content"></div>
</body>

</html>

```

## **3. Enrol in my Glide Document Masterclass**

For more robust & flexible methods of free PDF generation, you enrol in my Glide Document Masterclass by **[clicking here.](https://bit.ly/loqode-gdm)**

[![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/a/3a51b756e3fa42d0f35b05edd044e63caa27a058.jpeg "🔥 Glide Course - The Glide Document Masterclass (Official Trailer)") ](https://www.youtube.com/watch?v=gS5nt39V-vI)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [January 12, 2024, 2:27am UTC](https://community.glideapps.com/t/no-se-puede-usar-html2pdf-loqode-repl-co/69218/4 "2024-01-12T02:27:59Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
