PDF Creator
  • Introduction
    • 👋Welcome
    • Quickstart
    • Key use cases
    • Key features
  • Getting Started
    • Installing the plugin
    • Enabling ID attributes
  • Implementing Key Features
    • Generating PDFs of a single element
    • Generating a PDF of multiple elements
    • Downloading PDFs
    • Saving PDFs to your Bubble database
    • Adding footers
      • Page counters
      • Logos
    • Adding headers
    • Customising your PDF
    • Sending PDFs via email
  • Making PDF files private
  • Tips
    • How the plugin scales elements to the PDF page
    • Adding a loading screen
    • Generating PDFs of repeating groups that span multiple pages
  • Troubeshooting
    • 'Can't find element' message when using square brackets
    • Unwanted white spaces when using nested repeating groups
    • Unwanted gap at bottom of table elements
    • Traditional Chinese characters formatting
    • White space at the top of pages
Powered by GitBook
On this page
  1. Implementing Key Features

Customising your PDF

PreviousAdding headersNextSending PDFs via email

Last updated 3 months ago

The PDF Creator plugin comes with a number of options that allow you to customise your PDF

Option
Type of field
What it does

Field Name

text

Set the name of the PDF file your user creates

Auto download

yes/no

Choose whether you want the PDF to automatically download in the browser

Save to database

yes/no

Choose whether you want to save the PDF to your Bubble database

Scale

number (1-10)

The scale used for rendering the PDF. A higher value will result in a higher quality image, but also a larger file size and a longer time to create the PDF.

There are also a number of options that allow you to customise the layout of your PDF

Option
Type of field
What it does

Orientation

text

Choose either 'Landscape' or 'Portrait'

Top Margin

number

Sets a top margin in your PDF (in px)

Left Margin

number

Sets a left margin in your PDF (in px)

Bottom Margin

number

Sets a bottom margin in your PDF (in px)

Right Margin

number

Sets a right margin in your PDF (in px)

Format

text

Select the dimensions of your PDF

Custom Dimensions

number

Only applies if you select 'custom' for the 'Format'. Allows you to specify height and width in px for the PDF. Syntax is 'width, height' (EG: 400, 800)

Pagebreak

yes/no

Sets pagebreaks to avoid elements overlapping on pages of the PDF. See for more details.

this section