Last updated: Jul 20, 2018

Generate a Pdf from a Url

This example will output a Pdf in browser from a URL source.

{% set urls = {0: 'https://www.google.com', 1:'http://enupal.com/en'} %}

{%  set settings = {
        filename: 'my-first-pdf.pdf'
    }
%}

{{ craft.enupalsnapshot.displayUrl(urls, settings) }}