Solved

Printing a pdf from a link

Posted on 2006-07-13
5
228 Views
Last Modified: 2013-12-24
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
Comment
Question by:lostboyinsofla
  • 2
  • 2
5 Comments
 
LVL 12

Assisted Solution

by:mmc98dl1
mmc98dl1 earned 250 total points
ID: 17104138
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
 
LVL 18

Expert Comment

by:Plucka
ID: 17104411
lostboyinsofla,

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

Regards
Plucka
0
 

Author Comment

by:lostboyinsofla
ID: 17104542
THis is to users on the internet.  I don't have any control over their OS or browser.
0
 
LVL 18

Accepted Solution

by:
Plucka earned 250 total points
ID: 17104599
Then it's not possible
0
 

Author Comment

by:lostboyinsofla
ID: 17104686
:(
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IIS 8.5 2 52
IPA - can it be run on a web server? 3 223
JKS to store upstart data 2 116
Internal to DMZ IIS Authentication. 3 57
A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question