Skip to main content
Inspiring
Feb 1, 2013 7:19 PM UTC
Question

Using cfpdf addWatermark on the developer's edition.

I'm trying to add a watermark to a PDF that I generated using cfdocument on my local box with CF 9 developer's edition. I'm not seeing the watermark and I'm wondering if it just won't show in a PDF created with the developer's edition, because CF puts it's own watermark there "Adobe ColdFusion Developer/Trial Edition Not for Production Use". Does anyone know if that's the case? My script seems to be working without any errors but I don't see the watermark image.

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

SteveTXAuthor
Inspiring
Feb 2, 2013 7:33 PM UTC

So the issue, it seems, is that for PDFs generated via cfdocument you have to set the foreground attribute to "yes" for the watermark image to display.

Translate
Anit_Kumar
Inspiring
Feb 4, 2013 9:48 AM UTC

The foreground attribute is for placement of the watermark on the page:-

Yes: the watermark appears in the foreground (over the page content).

No: the watermark appears in the background (behind the page content).

If you are using the developer/trial version, then you can't remove/overwrite the watermark from the pdfs created using cfdocument.

We will suggest you, to switch to Standard/Enterprise version for the same.

Translate