Save pdf documents.

Hi,
I want to force the browser to ask whether to save or open
pdf documents like other documents and not automatically open the
pdf documents in the browser.
I pull pdf files from a folder and display on the webpage.
When the user click on the link, i want the browser to ask whether
users want to open or save the pdf file.
thanks,

Well there should be some way of passing a sufficient amount
of data back to the CFM page that will render the PDF using
cfcontent.
For instance if you know all the files are in a particular
directory, you should be displaying the files in the directory with
a URL parameter specifying the file name, e.g.
http://mydns.com/getPDF.cfm?filename=xyz.
Again this link should be dynamically generated when you're
iterating through your list of files.
The getPDF.cfm file will just append the filename to the
known physical path of the directory all files are located in. This
solution has to be tailored for your exact circumstances, but you
get the idea.
-Tim

Similar Messages

  • I CAN'T SAVE PDF DOCUMENTS

    Hi, After installing Adobe Reader 10.1.10 can't to do several actions. I saw that since version 9. I can't save PDF  documents provided by internet companies. The options that appears below, like  to save, print, + or -, are flashing all the time and can't do anything. If I click right button in the name of the document, the option save destiny like...is deshabilited too. What can I do? pls urgent. My operative system is Windows 7.

    Best to keep the replies in the other post, but I wanted to comment on something you said "I was told that Adobe X is a 32 bit program and that could be why it's running slow." Yes, it's a 32 bit program. No, it's complete nonsense to say that 32 bit programs run slow. There seems to be a general belief that 64 bit is better because, well, because, um, because it's a bigger number so it must be, right? Sorry, I'm not mocking you, but there is such nonsense about this, that I think software makers are having to put a lot of effort into making 64 bit software for no good reason at all.

  • My Adobe Acrobat will no longer let me save PDF documents

    I own the Adobe Creative Suite 4 that comes with Adobe Acrobat, which for years has allowed me to save PDF documents. Last month I decided to test Adobe Acrobat Pro for 30 days to see how well it converted PDF documents, and have since decided against it. I did not subscribe or buy a license for it and would like to be able to use my old version of Adobe Acrobat to save PDF documents, but it no longer allows me to do so. I re-installed it from the disk but it still won't let me save PDF files. I do not want to purchase a program that I already have just to be able to save PDF documents and would like to know how to get mine to work again. I work on a Mac.
    Thank you to anyone that can help me.

    Hi Sara,
    the Suite comes with Adobe Acrobat, and I've had it for a few years, I paid full price for the suite. However, it seems that after I downloaded the new Acrobat Reader the old one no longer shows up for me to show you the issue. The new one works. And I think it is very odd that it did that as well. My guess is that the trial version of Pro that I downloaded to test out messed with the old version I had, and it refused to let me use it for a while, then I was able to force it to come up but the "Save" option was just NOT highlighted as an option. I was even having a difficult time downloading the regular version of Adobe Acrobat up until today, after I posted on this website. Every time I tried it said it couldn't because I already had a version in my computer. But today it allowed me. Very bizarre. A definite glitch I think. Anyhow, I don't think we can proceed because I can't get my old version up, the new one probably wrote over the old one. So...thank you again for your interest, I really appreciate it.

  • Which API can use to save PDF document with Adobe Reader 9?

    Hello,
        which API can use to save PDF document with Adobe Reader 9? It is said that "CosDocSaveWithParams" can't be used.
    thanks!
    jimmy

    Unless the PDF file is "READER ENABLED for SAVE" (see the adobe product pages on LiveCycle Reader extensions server)
    You are not able to call a Save at all, if the document is reader enabled then you need to use the JavaScript call to save the document,
    As you appear to be wanting to do this in a plug-in you would need to call the script from a plug-in, this can be done using the AFExecuteThisScript () function call.
    Please note that this does will fail if the document is not reader enabled for save and you need to include the Forms HFT in your plug-in,
    This plug-in would also have to be approved by Adobe to be used with the reader and as you are implementing a function that is available in the full Acrobat product this may not be a straight forward approval.
    HTH
    Malky

  • Save PDF documents to iCloud

    I'm sure this has been discussed befor but has anyone figured out how to save PDF documents to iCloud?

    Unfortunately, there no way to view PDFs on your device using this method, not until iOS 6 comes out.
    You need a pdf viewer on your device, like Goodreader.  You can get PDF files into Goodreadeer by using itunes to sync from mac to device.

  • How to save PDF document as DOC ?

    Hello,
    i wold like to know if it's possible to do "Save As" from a PDF document to a DOC file using C# and Acrobat SDK (i have acrobat pro installed),
    and if so, how ?
    Thanks.

    Yes, you can do this using the JSObject bridge.  Details are in the Acrobat SDK

  • How can I save PDF document after Digital signature ?

    I am using adobe reader and after signing the document (Digital signature) I can not save the document.

    What is your operating system?  What is your Reader version?
    I probably won't have an answer for you, but the information may help somebody else who might.

  • Can you save PDF Document Properties in InDesign PDF Presets?

    It's great to be able to save my PDF settings as an export preset in InDesign, but inevitably, I still have to open my PDF in Acrobat and adjust the initial view in document properties. Does anyone know if it's possible to include any of these settings in the InDesign export settings, to save time?   Thanks!

    Hey there,
    No, I don't believe it's possible to set the "Initial View" or other Acrobat-specific preferences through InDesign.
    -Mikey

  • Why do I get garbled data when I save PDF document to Excel 2010?

    Hello,
    I am trying to save a Adobe Acrobat Pro PDF as an Excel spreadsheet.  I was able to do this once without any problems. 
    I tried it today and when I open the spreadsheet it contains garbled data. (example: ?oard' for the word Board)
    Thank you for any help you can offer.

    What is your operating system?  Reader version?
    First, Google Chrome uses its own PDF viewer, not the Adobe Reader plugin.
    When right-clicking/Save Target as: does the same thing happen with this link http://helpx.adobe.com/pdf/adobe_reader_reference.pdf ?

  • How do I save PDF documents in Adobe Reader on my iPad?

    I add files to my Adobe Reader on my iPad from Acrobat.com. They show up as recent and they disappear after a while.  Contrary to what I was told on this site earlier (items don't disappear in recents unless it is to full), my documents/files do disappear.  I was working on a document earlier and now 3 hours later ii's gone. I don't always have access to wireless enternet when I need to open the documents.  Also,when I download (or what ever it's called when you open them up on an iPad), the notes and highlights that I did on the document have disappeared. 

    I apologize for misunderstanding your comment. It's easy to misunderstand what we read here and often I find that if I just ask more questions people are frustrated so I erred on the side of providing information rather than witholding it and asking more questions. If you are frustrated I apologize, but being abusive doesn't help any of us =). Everyone in these forums who is trying to help is a volunteer. I happen to be paid by Adobe to build the Reader but I volunteer in the forums during my lunch hour or extending my day to answer questions. I'm doing my best.
    My understanding of our cache is limited, but it looks to me like our current Acrobat.com cache is 100 megabytes. We will start pushing files out of the cache from the least recently used forward until the cache size is less than 100MB. We don't currently have a way to explicitly mark Acrobat.com files to be saved locally. One way to achieve this would be to open the file from Adobe Reader into another app and then open it again in Adobe Reader which will place it in your Documents. Alternatively, you can use iTunes to add the files to your Documents from your Desktop after downloading them from Acrobat.com. I recognize that this is a little strange and will result in 2 copies of the document (one in the Acrobat.com cache and one in Documents) but I wanted to provide the option. I've emailed another engineer to verify my understanding of the cache and to see if she can provide a better workaround.

  • I'm unable to print or save pdf documents without losing text. Margins are not maintained page to page and text size might not be maintained either.

    Printing within Firefox is untenable. I lose text at page break or a right margin. This happens when printing or saving as "pdf" file. Everything works fine in Safari.

    Dear user,
    You are getting such output because you have checked ON the setting 'Print to file' in one of your previous prints. For resolving this issue, kindly uncheck option 'Print to file' present in bottom left corner of print dialog and then click on 'Print' (See attached image for reference).
    Hope this will solve your problem.
    Thanks
    sonal

  • Attempted to save pdf document to adobe cloud and received error message

    Why am I receiving error message after clicking on save to cloud?

    Hello Spelly78,
    It sounds like you are unable to install the latest version of iTunes using Windows 7 due to this error message. I would use the troubleshooting in the following article named:
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    Here is a general overview of the troubleshooting to be done:
    General installation troubleshooting
    Empty your Temp folder and restart your computer.
    Completely remove iTunes and its related components.
    Install the latest version of iTunes.
    Additional troubleshooting
    After performing each of the steps below, you'll need to remove iTunes and its related components and install iTunes again to determine whether the issue was resolved.
    Make sure you have an administrator account.
    Make sure your folder names don't contain unusual characters.
    Get the latest Windows updates.
    Disable conflicting software.
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • Show PDF document in Browser (Internet Explorer)

    Hi
    I need to show a PDF document in Internet Explorer.
    We have some static PDF documents in the application. Depending on user selection we determine the name of the PDF document and somehow we have to display in Browser.
    Refer below code, steps and problem.
    Step 1) I convert the PDF document to ByteArrayOutputStream using below code in a Java class and store this stream to a session variable.
    File pdfFile = new File("c:\\temp.pdf");
    byte[] data = new byte[(int) pdfFile.length()];
    ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
    FileInputStream fileInputStream = new FileInputStream(pdfFile);
    int count = 0;
    while (fileInputStream.read(data) != -1)
    byteArrayOutputStream.write(data, 0, count);
    Step 2) After this the control is transferred to a servlet. It retrieves the stream from session variable and does following (Servelt is called such that it should open new browser window. This is OK.)
    response.setHeader( "Content-disposition", "inline; filename = avb.pdf");
    response.setContentType("application/pdf");
    response.setBufferSize(byteArrayOutputStream.size());
    response.setContentLength(byteArrayOutputStream.size());
    try
         byteArrayOutputStream.writeTo(response.getOutputStream());
         response.flushBuffer();
    catch (IOException e)
         //Handle execption               
    PROBLEM: It asks to save pdf document. But after saving I am not able to open document. It shows messge that the document is not of PDF type. But it is actually a PDF so my guess is that something is wrong in above code snippets.
    Please help.
    Thanks.

    FileInputStream fileInputStream = new FileInputStream(pdfFile);
    int count = 0;
    while (fileInputStream.read(data) != -1)
        byteArrayOutputStream.write(data, 0, count);
    }Poor unloved count variable.

  • Adobe Reader X/10 - continued crash problems trying to save PDFs

    Dear all,
    I wonder if anyone can help me.... I have been having ongoing problems when trying to save PDF documents online while using the downloaded Adobe Reader 10 or X version. It always crashes/freezers when I press the 'save' button in the 'save as' dialogue box. I have to use end program and start all over again.
    I use Windows XP (Professional, Service Pack 3) and both Mozilla Firefox 4.0.1 and IE 8 web browsers. I have followed the links suggested to prevent in future after the problem has been reported - I have unstalled and reinstalled Reader a few times now, as well as checked that I have been using the most up to date version of Reader 10 or X. Then reopened everything again thinking it's solved and then crash (ARGH!). Has anyone else had similar issues?
    This is most frustrating to say the least, not withstanding the time delays affecting work outputs when the system crashes on the 'save as' dialogue box (after pressing save). I have lost faith in Adobe now ... I used to consider the free download of Reader a great asset, now it is a true annoyance and may or may not work entirely.
    Any help or advice would be great, even alternative PDF software.
    Many thanks in advance
    Ruth

    The response from 370H55V is correct in theory and in actual fact was very close to the solution, but the response was more cryptic than helpful. I first encountered this yesterday after upgrading users on a Terminal Server from Reader v8 to v9. My first instinct was to upgrade to v10, which I did, but the problem still existed, so I rolled back to v8 and the issue was resolved. Unfortunately however this was not a solution and it was a requirement that we upgraded to at least v9. The error was as described that in IE 8 when a PDF file was opened inside the browser(or embedded as some might say), and you press SAVE (or even sometimes print) within the adobe reader toolbar, IE would flicker and crash on the page and then recover the page, saying this page has been recovered, but no saving would happen. This would happen if protection was turned off in Adobe Reader, and if it was on (default), then pressing SAVE would just make IE freeze as previously reported.
    So to understand what was happening, I ran FILEMON and REGMON by SYSINTERNALS. Regmon showed nothing of significance. Filemon showed a lot more. It was getting an access denied error on c:\windows\system32\shell32.dll. There was no reason for this however because the permissions on this file allow all users to read and execute. But then I remembered what shell32.dll does. It brings up the SAVE AS dialog box that allows you select the path of where to save the file – essentially this is calling the shell of explorer.exe.
    So this is actually the cause of the crash. When Adobe Reader makes the call to the SAVE AS dialog box – CRASH!!!!! Why???
    Well it’s quite simple. The default location that the SAVE AS dialog box starts in is MY Documents and this is where to start looking for the source of the error. To find out were “my documents” is for your session, open REGEDIT and go to:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
    Look for the key: PERSONAL and in it is a REG_SZ containing the path to “my documents” for the current user. This is generally something like C:\documents and settings\<username>\My Documents on Windows XP/2003 and something like C:\Users\<username>\Documents on Win7/ 2008.
    Now in our case the setting for this key was U:\ which was a mapped network drive to the path: \\server\username\mydocs. U:\ did exist and the user had full permission to it. So I changed the path on the personal key to C:\documents and settings\<username>\My Documents – the default setting. I went back to IE, opened a PDF document from a website, viewed the file and then pressed SAVE on the adobe toolbar. BINGO BABY!!!! Worked perfectly.
    But again this was not a solution because in a network, you need your users to have their “my documents” in their own home drive, which is generally located on a remote share on a server. So I put the PERSONAL setting in the registry back to U:\ and crash back to square one. I then put the path of the U:\ in the key instead of just U: drive, so PERSONAL now had a REG_SZ value of \\server\username\mydocs. Went out to IE again, launched a PDF, pressed SAVE. BINGO BABY!! It worked. So clearly this was a UNC Path resolution issue or something similar, but why did it only happen from v9 of Adobe Reader and whose fault is it – Microsoft or Adobe. Well I suspect both. I suspect that Adobe maybe making a weak Shell call in their code which doesn’t resolve the path properly, and a possible bug in the MS Shell call may be adding to this issue.
    Anyway, I did some further testing for some fun. I took permissions away from the user to their “My documents” folder and was also able to replicate the same crash. I set the PERSONAL registry key to a folder that didn’t exist and same crash. So basically if the SAVE AS shell call can’t resolve or access the path as set in the PERSONAL key the you will get this crash.
    The way I solved it for the network users, was to set the registry key for PERSONAL to \\server\username\mydocs via Group Policy, also a logon script may also work. Additionally you could use Folder Redirection in Group Policy to set the path for MY Documents on a per user basis. This also was tested and work.
    For non-network users check the PERSONAL key and get the path and then find that path and check permissions etc. Replace it with the default location or even point it to a path that you know exists and has full access.
    As a final tip, also look at the registry Key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
    And find the PERSONAL path. It will be something like %USERPROFILE%\my documents in XP/2003 and %USERPROFILE%\Documents in Win7/2008. This is the default location and if the PERSONAL KEY does not exist in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders then windows reverts back to the User Shell Folders key to get the path. It is a good idea to check that path in this area as well.
    Hope this helps.

  • Can't preview or save pdf files with Firefox 5

    Ever since I updated to Firefox 5, I've been unable to preview/save pdf documents in websites. One example is the Citibank website.
    Is there any plug-in you would recommend? I would prefer if it's a freeware. Thanks.

    Thanks for taking the trouble to look at my problem, Michael.   I don't know to post a link to a file.
    The files I want to view and save are located on the separate websites of 2 different share registries.   I used to be able to do this, but now can't.   When I try to "Save As ....."  I can't because the files show up as a non-pdf file, a specific example of such a filename is:  "PaymentAdvice?Paymentkey=AGKHAINTJUN12,109011151746,1,1".   I rang both of the 2 share registries who confirmed that I should not have the problem I am experiencing.
    Looking at other threads, some folk have got things to work when the went back to Adobe 9 instead of 10.  Any thoughts?

Maybe you are looking for