We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Add-Ons
default app icon

pdfl.io

By tripleNERDscore
Media
Free

Description

Realtime PDFs Of Your Webpages! Sick of designing special PDFs for pages of your website or app? Let pdfl.io do it!

pdfl.io

Generate PDFs from your template, powered by pdfl.io

Installation

Copy the pdflio folder to your system/user/addons folder.

Head to your add-ons page and install the add-on.

Settings

API KEY: Your pdfl.io API key. Get your at https://pdfl.io.

Template Tags

The basic usage of the tag is:

{exp:pdflio:link url="https://example.com/"}

This will generate a link that, when accessed, will download a copy of the URL you enter as a param.

Example use:

<a href="{exp:pdflio:link url='https://example.com/'}">
    Download Example.com for some reason
</a>

Parameters

pdfl.io also has a number of parameters you can use to format your PDF!

filename

A url encoded string that will be set as the filename of the PDF. The .pdf extension is not required. Default: the slugified URL sent in with the request

{exp:pdflio:link url="https://example.com/" filename="my-awesome-pdf.pdf"}

no_background

Will not render the background images for the page. Default: false

{exp:pdflio:link url="https://example.com/" no_background="y"}

greyscale

Will render the PDF in greyscale. Default: false

{exp:pdflio:link url="https://example.com/" greyscale="y"}

format

Set the paper format for the PDF. Default: Letter

Options:

  • Letter: 8.5in x 11in
  • Legal: 8.5in x 14in
  • Tabloid: 11in x 17in
  • Ledger: 17in x 11in
  • A0: 33.1in x 46.8in
  • A1: 23.4in x 33.1in
  • A2: 16.54in x 23.4in
  • A3: 11.7in x 16.54in
  • A4: 8.27in x 11.7in
  • A5: 5.83in x 8.27in
  • A6: 4.13in x 5.83in

{exp:pdflio:link url="https://example.com/" format="A4"}

top_view_only

By default, pdfl.io will load the entire web page. If you only want what is in the specific screen view, set this option. Default: false

{exp:pdflio:link url="https://example.com/" top_view_only="y"}

disable_javascript

By default, pdfl.io will load all javascript on the page, and dismiss all alerts. Set this option to disable all javascript on a page. Default: false

{exp:pdflio:link url="https://example.com/" disable_javascript="y"}

disable_images

Set this option to disable all images on the page. Default: false

{exp:pdflio:link url="https://example.com/" disable_images="y"}

just_wait

Set this option to wait until all network activity on the page has ended. NOTE: If the page has long running scripts, there is a chance this will cause a timeout, or stop your PDF from rendering.

{exp:pdflio:link url="https://example.com/" just_wait="y"}

delay

Set this option to delay X seconds before rendering the PDF. Especially useful if you have a page preloader on the page. Default: unset

{exp:pdflio:link url="https://example.com/" delay="3"}

SUPPORT

We want to make sure you have what you need on this. Email support@triplenerdscore.net for help.

You can also submit issues on our Issue Tracker

ATTRIBUTIONS

ICON: The pdfl.io icon was created by my daughter, Claire!

CHANGELOG

1.0.2 - Fixing settings

1.0.1 - Bug fixes

SUPPORT

We want to make sure you have what you need on this. Head to docs.triplenerdscore.net for help!

You can also submit issues on our Issue Tracker

Information
Version 1.0.5
Last Update 2 years ago
Compatibility EE 7, 6, 5, 4
License MIT
Links
  • Documentation
  • Support
Free
ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.