Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 234
  • Last Modified:

Printing a pdf from a link

Is there anyway for me to print a pdf file from a link in a coldfusion template?  Ideally I would like the pdf to just print with a print dialog box opening up.  If I can't do that then my second choice would be to just have the print dialog box display and not have a pop-up window.

Any thoughts?
0
lostboyinsofla
Asked:
lostboyinsofla
  • 2
  • 2
2 Solutions
 
mmc98dl1Commented:
I dont believe so. In an html page you would be able to use some js like

<script>window.print()</script>

Because pdf is a plugin to the browser or its launched xternally to the browser you dont have any control over it.

I also doubt that pdf writers have the option to force print on open, after all that defeats the purpose of the pdf right?
0
 
PluckaCommented:
lostboyinsofla,

Is this in a controlled environment or to users out in Internet land.

Regards
Plucka
0
 
lostboyinsoflaAuthor Commented:
THis is to users on the internet.  I don't have any control over their OS or browser.
0
 
PluckaCommented:
Then it's not possible
0
 
lostboyinsoflaAuthor Commented:
:(
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now