Skip to main content
Inspiring
September 28, 2015
Answered

Create a PDF automatically from a link to a cfm page

  • September 28, 2015
  • 1 reply
  • 485 views

Its been a while since I have used cfpdf tag and needed some help.

I have a page http://www.mysite.com/mypage.cfm?ID=1234 that works great.

When the user chooses that link since its a .cfm page it opens in a browser. No Problem.

But my user needs to be able to have this page as a PDF so they can save it

Is there a way when the user chooses that link it can automatically be turned into a PDF that they can save to their desktop?

So instead of opening as a cfm page it would open as a pdf?

This topic has been closed for replies.
Correct answer WolfShade

Most browsers, if not OSs, have an option for printing a PDF from a webpage (as long as Adobe Reader is installed.)

This is a bit convoluted, but I suppose you _could_ set up functionality via an AJaX call that would CFHTTP read that page, and generate a PDF from it.  Just a thought.

V/r,

^_^

1 reply

WolfShade
WolfShadeCorrect answer
Legend
September 28, 2015

Most browsers, if not OSs, have an option for printing a PDF from a webpage (as long as Adobe Reader is installed.)

This is a bit convoluted, but I suppose you _could_ set up functionality via an AJaX call that would CFHTTP read that page, and generate a PDF from it.  Just a thought.

V/r,

^_^