# 🚀 \[New Plugin\] PDF Creator

**URL:** <https://forum.bubble.io/t/new-plugin-pdf-creator/258683>\
**Category:** Plugins\
**Created:** [April 20, 2023, 6:27pm UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683 "2023-04-20T18:27:06Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexcooney5](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alexcooney5/32/206227_2.png) [@alexcooney5](https://forum.bubble.io/u/alexcooney5)\
**Post date:** [April 20, 2023, 6:27pm UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/1 "2023-04-20T18:27:07Z")

</div>

Hi all,

I recently released the [PDF Creator plugin](https://bubble.io/plugin/pdf-creator-1675455627701x328076485237669900). Here’s what you can do with it:

1. Generate a PDF for any single element in your bubble app
2. Generate a PDF for MULTIPLE elements in your bubble app
3. Automatically download the PDFs you create
4. Save created PDFs to your database
5. Generate PDFs of repeating groups cleanly across multiple pages
6. Trigger workflows using the “A PDF Creator Recorded” custom event

There’s plenty of customisation options available. You can:

1. Choose between landscape and portrait layout
2. Set the margin on the top, bottom, left and right
3. Give your PDF a custom name
4. Set the quality of the PDF using the “scale” value

**Check out the demo app I put together to see the detail on how the plugin:**  
[https://pdf-creator-demo.bubbleapps.io/](https://pdf-creator-demo.bubbleapps.io/) (the editor is public!)

**I’ve also put together a detailed video tutorial on how to use the plugin:**

[![](https://img.youtube.com/vi/zB3cAuvcwK4/maxresdefault.jpg "How to Generate PDFs - Bubble.io Tutorial") ](https://www.youtube.com/watch?v=zB3cAuvcwK4)

**Plugin page:**

> **[PDF Creator Plugin for Bubble, by Cranford Tech](https://bubble.io/plugin/pdf-creator-1675455627701x328076485237669900)**
>
> PDF Creator Plugin page on Bubble, by Cranford Tech. Add PDF Creator in one click to your app. Bubble lets you build web apps without any code.

If you any questions on how the plugin works, let me know in the comments 🙂

---

<div class="post-metadata">

**Author:** ![anon7950936](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@anon7950936](https://forum.bubble.io/u/anon7950936)\
**Post date:** [April 20, 2023, 7:16pm UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/2 "2023-04-20T19:16:46Z")

</div>

Great plugin! It seems smooth UX!

Wondering if saving or creating pdf’s is mobile responsive? Or does element (to create a pdf out of) needs to be a fixed and wide spread element group? If not if there is possibility to add this option, where we can add a custom size, to make a pdf always at that size.

Thanks!

---

<div class="post-metadata">

**Author:** ![alexcooney5](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alexcooney5/32/206227_2.png) [@alexcooney5](https://forum.bubble.io/u/alexcooney5)\
**Post date:** [April 21, 2023, 7:01am UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/3 "2023-04-21T07:01:24Z")

</div>

Thanks @anon7950936 🙂

Yes, I can confirm the plugin creates PDFs in a “mobile responsive” way - the elements do not need to have a fixed width or height,

![2023-04-21 07.55.34](https://us1.discourse-cdn.com/bubble/original/3X/8/4/84bb8cde445b7171669c5bf9b4e2789811fe0b43.gif)

For example, you’ll see in the below demo that the “invoice” element does not respond perfectly to the reduced screen width. But when you generate a PDF of it, the outcome is still anicely formatted.

If you have any other questions just let me know!

---

<div class="post-metadata">

**Author:** ![nocodejordan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nocodejordan/32/123255_2.png) [@nocodejordan](https://forum.bubble.io/u/nocodejordan)\
**Post date:** [May 24, 2023, 3:09pm UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/4 "2023-05-24T15:09:06Z")

</div>

Wow! Looks good @alexcooney5. To follow on the previous question, how should we size our element so that it would fit perfectly on the portrait/landscape view? I note that there are margin controls for your plugin but no width/length controls.

---

<div class="post-metadata">

**Author:** ![alexcooney5](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alexcooney5/32/206227_2.png) [@alexcooney5](https://forum.bubble.io/u/alexcooney5)\
**Post date:** [July 23, 2023, 9:31am UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/6 "2023-07-23T09:31:54Z")

</div>

Hi @nocodejordan, thank you for the kind words 🙂.

You are correct - there are margin controls but no width/length controls. The elements respond based on the settings of the parent container.

For example, in the below example I have no fixed width in the parent group that contains the two text elements. Each text element has a min width of 300px. You’ll see there’s plenty of space between the two texts in the resulting PDF (with the group taking up the full width of the PDF).

![2023-07-23 10.27.22](https://us1.discourse-cdn.com/bubble/original/3X/9/e/9e8d029493976a2510e856c1dc1d618962e7e900.gif)

The second parent group has a fixed width of 700px (and again, text elements have a min width of 300px). You’ll see the resulting PDF responds to the fixed width of the parent group.

![2023-07-23 10.29.40](https://us1.discourse-cdn.com/bubble/original/3X/0/4/04a14d2260b1f6d071dc3e69467c4f5353cbedd7.gif)

Getting your element to perfectly fit the PDF view may take a bit of trial and error. I advise starting off with setting the max width of the element you are PDF-ing to “inf” and adjusting from there if necessary.

Hope that helps and if you have any other questions let me know!

PS - very sorry for the late response. Didn’t catch the notification ☹ Have added an alert to this thread so won’t miss any comments in futures.

---

<div class="post-metadata">

**Author:** ![alexcooney5](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alexcooney5/32/206227_2.png) [@alexcooney5](https://forum.bubble.io/u/alexcooney5)\
**Post date:** [July 23, 2023, 10:22am UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/7 "2023-07-23T10:22:30Z")

</div>

**JULY-23 UPDATES AND TIPS:**

- I added sections to the demo app that show how to generate PDFs from a popup:

![2023-07-23 10.38.02](https://us1.discourse-cdn.com/bubble/original/3X/e/e/ee9ce4ed72c8d0bb53d87b0c72633d87757610cb.gif)

- Also added a demo of how to generate a PDF of a repeating group across multiple pages

![2023-07-23 10.40.47](https://us1.discourse-cdn.com/bubble/original/3X/d/1/d1c24b40f2ec57c8a17093bcc2a751aa4fa2c04c.gif)

- I wrote this guide on how to send a PDF via email

> [@How to send a PDF via email](http://forum.bubble.io/t/how-to-send-a-pdf-via-email/257727):
>
> How to generate a PDF and send it via email from your bubble in 8 steps: Install the [PDF Creator plugin](https://bubble.io/plugin/pdf-creator-1675455627701x328076485237669900) [2023-04-14 19.58.41] Drop the PDF Creator element on the page that has the element you want to PDF [2023-04-15 11.31.04] Ensure the “Expose the option to add an ID attribute to HTML elements” option is ticked under Settings → General [2023-04-14 20.02.28] Add an ID Attribute to the element you want to PDF and send via email. In this instance, we’re adding an ID Attribute (“table”) …

- The plugin is now compatible with Right-to-Left (“RTL”) scripts (including Arabic and Hebrew). There was previously a bug that meant the spacing was off for RTL scripts

---

<div class="post-metadata">

**Author:** ![rcgrcontato8](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@rcgrcontato8](https://forum.bubble.io/u/rcgrcontato8)\
**Post date:** [July 23, 2023, 10:34am UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/8 "2023-07-23T10:34:17Z")

</div>

if I already have a pdf ready and I want to edit it?

include one more custom page at the end and on each page of the pdf I paste a code.  
need to use in an electronic signature platform.

---

<div class="post-metadata">

**Author:** ![alexcooney5](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alexcooney5/32/206227_2.png) [@alexcooney5](https://forum.bubble.io/u/alexcooney5)\
**Post date:** [July 23, 2023, 10:50am UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/9 "2023-07-23T10:50:22Z")

</div>

Hi @rcgrcontato8, I’m afraid the plugin isn’t currently designed to edit existing PDFs - just to generate new ones from elements loaded on the page.

Thanks for the suggestion though - I’ll add to the list of features I want to add in the future 🙂

---

<div class="post-metadata">

**Author:** ![alexcooney5](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alexcooney5/32/206227_2.png) [@alexcooney5](https://forum.bubble.io/u/alexcooney5)\
**Post date:** [September 8, 2023, 11:25am UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/10 "2023-09-08T11:25:35Z")

</div>

**SEPTEMBER-23 UPDATES:**

Added the ability add footers to your PDF. You can:

- Add text elements to the left- and right-hand side of the footer
- Add automatic page numbers by typing “page-counter” into either the “Left Footer Content” or “Right Footer Content” fields
- Specify margins and font size/color
- Draw a line at the top of the footer

![2023-09-08 12.24.40](https://us1.discourse-cdn.com/bubble/original/3X/0/c/0c049ce14ab3ccd6629e61b01d35fb71abf5555c.gif)

Full details and sample workflow available on the [plugin demo page](https://pdf-creator-demo.bubbleapps.io/).

---

<div class="post-metadata">

**Author:** ![alexcooney5](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alexcooney5/32/206227_2.png) [@alexcooney5](https://forum.bubble.io/u/alexcooney5)\
**Post date:** [September 14, 2023, 2:04pm UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/11 "2023-09-14T14:04:13Z")

</div>

Just released a video tutorial on how to apply footers to your PDFs!

[![](https://img.youtube.com/vi/4zrCgDgdBNo/maxresdefault.jpg "Generate a PDF with a FOOTER - Bubble.io Tutorial") ](https://www.youtube.com/watch?v=4zrCgDgdBNo)

---

<div class="post-metadata">

**Author:** ![blake1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/blake1/32/14524_2.png) [@blake1](https://forum.bubble.io/u/blake1)\
**Post date:** [September 14, 2023, 4:26pm UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/12 "2023-09-14T16:26:58Z")

</div>

What size pdf is this supposed to create? Is there a way to set it to Letter 8.5x11? The pdf’s I get are 8.27x11.69.

---

<div class="post-metadata">

**Author:** ![alexcooney5](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alexcooney5/32/206227_2.png) [@alexcooney5](https://forum.bubble.io/u/alexcooney5)\
**Post date:** [September 14, 2023, 4:49pm UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/13 "2023-09-14T16:49:50Z")

</div>

Hi @blake1, it currently outputs the PDF in A4 size.

However, I have been meaning to add the ability to select other sizes. I’ll aim to implement this feature tomorrow and get back to you.

---

<div class="post-metadata">

**Author:** ![alexcooney5](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alexcooney5/32/206227_2.png) [@alexcooney5](https://forum.bubble.io/u/alexcooney5)\
**Post date:** [September 15, 2023, 1:58pm UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/14 "2023-09-15T13:58:39Z")

</div>

Hi again @blake1, I’ve just released an updated version of the plugin that allows you to specify the “Format” of your PDF. There are a range of options, including A1-A10 and letter sizes.

 ![Screenshot 2023-09-15 at 14.56.35](https://us1.discourse-cdn.com/bubble/original/3X/3/4/345facae2a20c05ccdfbbba6c443ed133ae5bda6.png)

You’ll need to upgrade to the latest version of the plugin to access this feature.

Hopefully this is what you’re looking for - if you’ve any questions just let me know 🙂

---

<div class="post-metadata">

**Author:** ![laurence](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/laurence/32/24296_2.png) [@laurence](https://forum.bubble.io/u/laurence)\
**Post date:** [October 7, 2023, 2:17am UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/15 "2023-10-07T02:17:43Z")

</div>

I like the simplicity of setting up and using this plugin.

I can also see areas for enhancement. In particular, right off the top, is it possible to identify a group or in some other way specify a header for every page of the output PDF?

I am not familiar with a4 size paper. How compatible is this with US letter, i.e. 8.5 X 11 in?

Is the plugin generating a bitmap image for the PDF page(s) or is it retaining text?

Thanks.

---

<div class="post-metadata">

**Author:** ![alexcooney5](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alexcooney5/32/206227_2.png) [@alexcooney5](https://forum.bubble.io/u/alexcooney5)\
**Post date:** [October 8, 2023, 11:48am UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/16 "2023-10-08T11:48:44Z")

</div>

Hi @Laurence, thanks for the feedback and detailed suggestions!

To answer your questions:

_ **is it possible to identify a group or in some other way specify a header for every page of the output PDF?** _

This isn’t possible right now, but it’s a feature I’ve added to the roadmap.

_ **I am not familiar with a4 size paper. How compatible is this with US letter, i.e. 8.5 X 11 in?** _

The dimensions of an a4 size document is 8.3 x 11.7 inches. If you’re looking for 8.5 X 11 inches, you can use the “letter” option.

_**Is the plugin generating a bitmap image for the PDF page(s) or is it retaining text?**_

The plugin is effectively capturing an image of each element selected.

Hope that helps and if you’ve any other questions let me know 🙂

---

<div class="post-metadata">

**Author:** ![laurence](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/laurence/32/24296_2.png) [@laurence](https://forum.bubble.io/u/laurence)\
**Post date:** [October 9, 2023, 4:09pm UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/17 "2023-10-09T16:09:59Z")

</div>

Thanks for the quick response, Alex.  
I appreciate what you’ve done with PDF Creator.  
I’m looking for a way to produce searchable PDFs. And page headers are essential for my application.

It seems to me that Bubble’s responsive engine provides the bulk of the logic needed to format a page for print, but I don’t suppose third party plugin developers have enough access to the internals in order to leverage the responsive engine for rendering as PDF.

---

<div class="post-metadata">

**Author:** ![rcgrcontato8](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@rcgrcontato8](https://forum.bubble.io/u/rcgrcontato8)\
**Post date:** [October 11, 2023, 12:59am UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/18 "2023-10-11T00:59:19Z")

</div>

Eu também gostaria desse recurso e ter como mesclar PDFs e editar PDF já prontos.

---

<div class="post-metadata">

**Author:** ![alexcooney5](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alexcooney5/32/206227_2.png) [@alexcooney5](https://forum.bubble.io/u/alexcooney5)\
**Post date:** [October 12, 2023, 3:05pm UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/20 "2023-10-12T15:05:35Z")

</div>

Obrigado pelas sugestões. Certamente gostaria de adicionar a capacidade de mesclar PDFs existentes e planejo fazê-lo (mas pode levar algum tempo). Adicionar a capacidade de editar PDFs existentes seria bem mais difícil, receio.

Desculpe se meu português não está bom 🙂

---

<div class="post-metadata">

**Author:** ![alexcooney5](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alexcooney5/32/206227_2.png) [@alexcooney5](https://forum.bubble.io/u/alexcooney5)\
**Post date:** [October 26, 2023, 9:29am UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/21 "2023-10-26T09:29:14Z")

</div>

**October-23 Updates**

Product

- Just released an updated version of the plugin that has a “Save to Database” yes/no field.
- If set to no, the output PDF will NOT be saved down to the File Manager section of your Bubble database.

Tutorials

Also wanted to highlight this excellent tutorial that @joemanier created recently on how to use the PDF Creator plugin 🙂

[![](https://img.youtube.com/vi/RcituE5-4n4/maxresdefault.jpg "How to Create Beautiful PDFs - Bubble.io Tutorial") ](https://www.youtube.com/watch?v=RcituE5-4n4&t=839s)

---

<div class="post-metadata">

**Author:** ![alexcooney5](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alexcooney5/32/206227_2.png) [@alexcooney5](https://forum.bubble.io/u/alexcooney5)\
**Post date:** [November 2, 2023, 4:25pm UTC](https://forum.bubble.io/t/new-plugin-pdf-creator/258683/22 "2023-11-02T16:25:54Z")

</div>

Just released version 1.7.4 of the plugin.

The latest version includes improved error handling.

[Next page](https://forum.bubble.io/t/new-plugin-pdf-creator/258683.md?page=2)
