Highlighted

PDFs created with cfdocument are not shown in Microsoft Edge.

New Here ,
Feb 20, 2018

Copy link to clipboard

Copied

we have problems with PDFs created with cfdocument (CF 11) and the Microsoft Edge Browser.

Edge shows only a white page.

Here is the Link to a Sample Document, please try it on Edge:

https://unimedia.ag/Rechnung.pdf

The same PDF, but opened and saved with Acrobat DC.

This PDF is shown in Edge

https://unimedia.ag/Rechnung2.pdf

What can we do to create compatible PDFs also for Edge with cfdocument?

Thanks in advance
Herbert

Views

580

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

PDFs created with cfdocument are not shown in Microsoft Edge.

New Here ,
Feb 20, 2018

Copy link to clipboard

Copied

we have problems with PDFs created with cfdocument (CF 11) and the Microsoft Edge Browser.

Edge shows only a white page.

Here is the Link to a Sample Document, please try it on Edge:

https://unimedia.ag/Rechnung.pdf

The same PDF, but opened and saved with Acrobat DC.

This PDF is shown in Edge

https://unimedia.ag/Rechnung2.pdf

What can we do to create compatible PDFs also for Edge with cfdocument?

Thanks in advance
Herbert

Views

581

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 20, 2018 0
Advocate ,
Feb 20, 2018

Copy link to clipboard

Copied

Please show example code used to create the PDF document. That way we can try it in our environment and see what result we get.

Cheers

Eddie

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 20, 2018 0
New Here ,
Feb 20, 2018

Copy link to clipboard

Copied

Hello Eddie,

we use <cfpdf action="ADDWATERMARK to merge our letterhead with the created content from cfdocument to our final invoice PDF.

<cfpdf action="ADDWATERMARK" destination="#application.docpath#\fbRechnungen\Rechnung_FB#dateformat(redatum, "yy")##dateformat(redatum, "mm")##dateformat(redatum, "dd")#-#id#.pdf" source="mydocument" copyfrom="#application.docpath#fbDocs\RE_background_INT.pdf" opacity="10" overwrite="Yes" showonprint="Yes"></cfpdf>

Here is our letterhead:
https://unimedia.ag/RE_background_INT.pdf

Herbert

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 20, 2018 0
Advocate ,
Feb 20, 2018

Copy link to clipboard

Copied

Are you saying that if you don't add the watermark then the resulting PDF works correctly in MS Edge?

Cheers

Eddie

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 20, 2018 0
Adobe Community Professional ,
Feb 20, 2018

Copy link to clipboard

Copied

This wouldn't surprise me at all. Certain PDF features will prevent PDFs from rendering in browsers. The way CF implements watermarks is not the same as how Acrobat itself does it.

Dave Watts, CTO, Fig Leaf Software

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 20, 2018 0
New Here ,
Feb 20, 2018

Copy link to clipboard

Copied

Yes that's right.

The PDF created with cfdocument works correctly in MS Edge

https://unimedia.ag/invoice.pdf


But the combined watermarked PDF doesn't.

We use this method for many years and had no problems so far, until now with Edge.

Cheers
Herbert

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 20, 2018 0
Advocate ,
Feb 20, 2018

Copy link to clipboard

Copied

As a matter of interest, if you serve only the "RE_background_INT.pdf" file as the response to the Web request, does MS Edge display it correctly?

If not, try opening it and re-saving it on the server with Adobe Acrobat. It is possible that file itself is the source of the problem.

Cheers

Eddie

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 20, 2018 0
New Here ,
Feb 20, 2018

Copy link to clipboard

Copied

Both PDFs are displayed correctly in Edge:

https://unimedia.ag/RE_background_INT.pdf

https://unimedia.ag/invoice.pdf

But the "watermarked" doesn't.

https://unimedia.ag/invoice_watermarked.pdf

Herbert

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 20, 2018 0
Advocate ,
Feb 21, 2018

Copy link to clipboard

Copied

I can confirm that using CF11, Internet Explorer, Google Chrome and Mozilla Firefox successfully show the resulting PDF document, but Microsoft Edge does not.

Cheers

Eddie

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 21, 2018 0
New Here ,
Feb 22, 2018

Copy link to clipboard

Copied

Hello Eddie,

thank you for your support.

Is this a bug in CF11 or in Edge?

That means for us we have to create our documents completely in one cfdocument-statement.

HTML in cfdocument is very tricky, but i think for now this the only option.

Best regards and greetings from Vienna
Herbert

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 22, 2018 0
Advocate ,
Feb 27, 2018

Copy link to clipboard

Copied

hkk  wrote

Is this a bug in CF11 or in Edge?

You will need to contact Adobe directly to have them investigate whether or not this is a bug in ColdFusion.

Cheers

Eddie

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 27, 2018 0