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.
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,
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.
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.
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).
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.
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.
I added sections to the demo app that show how to generate PDFs from a popup:
Also added a demo of how to generate a PDF of a repeating group across multiple pages
I wrote this guide on how to send a PDF via email
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
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
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.
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 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.
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.