Solved

Printing a pdf from a link

Posted on 2006-07-13
5
227 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

856 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