Solved

Printing a pdf from a link

Posted on 2006-07-13
5
221 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
Comment Utility
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
Comment Utility
lostboyinsofla,

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

Regards
Plucka
0
 

Author Comment

by:lostboyinsofla
Comment Utility
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
Comment Utility
Then it's not possible
0
 

Author Comment

by:lostboyinsofla
Comment Utility
:(
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now