Questions tagged [pdf]
The pdf tag has no usage guidance.
26
questions
2
votes
3
answers
104
views
Enupal Snapshot: Fail to save setting for Craft Nitro with status code '127'
I keep having issues when trying to save the settings for Enupal Snapshot at Craft Nitro,
Below is the error message I found at the log file,
[enupal\snapshot\Snapshot::error] Something went wrong ...
1
vote
1
answer
41
views
PDF creation with password
My client is setting up a digital downloads shop (PDF's) and has a requirement that after one or multiple products are purchased the PDF's are then available for download.
He wants one or more of the ...
1
vote
1
answer
51
views
Adding an additional Download PDF to orders
Is there a hook or something I can use to add an additional Download PDF option to the Edit Order screen? It looks like a dropdown, but I can't find any docs on how to add to it.
1
vote
1
answer
36
views
Craft Pro 3.1.33 - Download PDF in admin user profile
In Craft 3 Pro i need to download a PDF file that a template form submits to active user profile.
The PDF submits from the front and goes to the admin area under the user account profile.
The ...
0
votes
0
answers
30
views
Enupal PDF plugin: Passing Variable to Template
I'm using the Enupal PDF plugin and am trying to pass a variable ID into my template that generates the PDF... I'm assuming the following documents how to pass the variable through to the template - (...
1
vote
0
answers
266
views
How do I correctly upload a new Asset from a temp file I generated from a service method?
Preamble
Craft 3.1.26
PHP 7.2.8 on Mamp Pro 5.1.1
I browsed to my storage/reports folder and made sure in Finder than full read/write privileges are granted.
What's goin on
I have a module with a ...
1
vote
2
answers
755
views
Generate previews of PDF files (Craft 3)
Is it possible to auto-generate PDF preview images with Craft 3 transforms?
Or are there any Craft 3 plugins that do this? I see a few Craft 2 versions.
1
vote
1
answer
361
views
How Do I Add a rel="canonical" HTTP Header to Embedded PDF Files?
I'm working on project where I would like to directly embed PDFs onto web pages. We'll be using Google's PDF viewer as the embed tool and implementing via a macro.
Here is the macro as it stands now: ...
1
vote
1
answer
274
views
Get PDF file from Assets Folder - Element API
I have a PDF folder within assets and having trouble accessing the file path once chosen by the user.
To get something like an image from assets within a matrix I do something like this which works: ...
1
vote
1
answer
378
views
Missing Download PDF Button in Orders for Craft Commerce
I'm not sure what happened, but the "Download PDF" button that is on the orders in the CMS is missing. I thought maybe the order PDF template file or path was missing but both of those are there. Is ...
2
votes
3
answers
509
views
Possibility to use Craft's search function to search in PDF files
I have a client who wants to search for specific PDF files when she makes use of Craft's search function. The way she wants the PDF's to be found is that the words inside of the PDF is somehow ...
2
votes
2
answers
752
views
Generate pdf with form submission data
I'm using amforms for a client and need to create a user confirmation email that has a pdf attached containing the submitted form data, like a receipt.
After a little google searching, I believe I'd ...
0
votes
1
answer
109
views
Uploading PDFs with Imagick extension enabled seems to rasterize and compress the PDFs
Uploading PDFs to Craft3 with Imagick extension enabled seems to rasterize and compress the PDFs.
Also, if I manually swap out the files after upload, it works fine until I have to edit something in ...
2
votes
1
answer
365
views
Craft - suitability for membership/user registration and document upload/management
I have created about 30 sites using Perch but find it somewhat frustrating, especially the support. Considering using Craft for my next project but can it handle:
Membership/user registration. Ie can ...
3
votes
1
answer
917
views
Generate PDF's (Printmaker plugin) with a static header and footer
Does somebody know if it's possible with Printmaker to provide each page, of the PDF you generate, with a static footer and/or header?
Printmaker makes use of the dompdf library. In the documentation ...
1
vote
1
answer
259
views
Printmaker Plugin — Some Questions
Why he generate the PDF again and again when nothing changes? Is there a hidden option for that?
I tried to use it with the Google Font Rubik but no chance. Any Ideas?
Is it possible to Save the ...
1
vote
1
answer
116
views
Order PDF in back-end error with Globals
I have created a PDF template for orders and this works fine on the front-end. However, when I click to Download PDF through the admin panel in an order. I get an error that:
Variable "companyInfo" ...
2
votes
1
answer
756
views
Craft Commerce View Order PDF, Not Download
Is it possible to 'view' an order's PDF rather than download/create it first? I ask because I'm working on PDF templates and I can't figure out how to view the progress/changes I'm making without ...
0
votes
0
answers
84
views
Craft Commerce: Imagick stops PDF order downloads
We needed to use Imagick so that our users could upload .bmp files to Craft - this works fine, however we noticed this directly stops users downloading PDFs orders from the website and a server errors ...
1
vote
1
answer
106
views
Change how the PDF filename is formatted?
In the Commerce plugin, there are several ways to download a PDF of a specific order.
However, the default formatting of the PDF filename isn't very helpful...
Order-...
1
vote
1
answer
1k
views
PDF preview thumbnail options?
I'm using the most recent Craft CMS 2.6.2791. I'd like to generate preview thumbnails for pdf assets in my templates, so I found this plugin:
https://github.com/carnesmedia/pthumb
However, following ...
2
votes
1
answer
560
views
How to link images inside an order PDF?
In my order PDF template I have an image that shows when I preview the template as a web page but not in the generated PDF. I’ve tried SVG, PNG and JPEG.
If I use a relative path I get the error ...
3
votes
2
answers
699
views
How to attach an order PDF in an order confirmation email?
I am currently adding a link to download the order PDF in the confirmation email with {{ order.getPdfUrl() }} but also want this to be an attachment.
1
vote
1
answer
169
views
Printmaker plugin cuts off HTML when rendering PDF link
I’ve got a funny Printmaker issue here that I hope you can help me with!
I’m using the following code to generate a link to a PDF:
{% set vars = { title: supportGuides.title, body: supportGuides....
4
votes
2
answers
2k
views
Serve PDF file at url with variable
Is it possible to serve a file in a Twig template? I need to get a file (asset) from a global setting, and serve it at a particular URL.
This code is close, but it seems that source() is the wrong ...
1
vote
2
answers
635
views
Help with Printmaker Plugin
Has anyone had any success with Printmaker PDF plugin?
I’m not sure where to put the tags? The only way I can get the template to actually load is to add the Printmaker tags at the end of the ...