Solved

Force pdf download rather than open in a browser

Posted on 2011-02-24
1
284 Views
Last Modified: 2012-05-11
I need to download a pdf rather than open it in a browser window.

The reason I need to do this is because the pdf has a 'send by email' button on it which only works from the users PC not online.

<a href="pdfs/set1.pdf"><img src="images/setmenupic.jpg" alt="Set menus" width="203" height="210" border="0" /></a>

Any ideas?
0
Comment
Question by:BrighteyesDesign
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
jferrellnet earned 500 total points
ID: 34970524
You could zip the .PDF file with 7zip / WinZip, then link to that file. However, the user will have to know how to extract the .PDF file.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
html form layout 4 49
Validating number not work with decimal 4 42
Anchor Bookmark 6 31
Sticking text to shapes in Raphael.js 6 37
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

736 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