PDF force download via jsp not possible in IE ??????????????

Hi guys,
          I am providing a jsp page which when displayed will prompt the user to Open or Save or Cancel on a PDF file. For some reason, the code is not working in Internet Explorer. Its working in Opera, Mozilla, Mozilla Firefox. But not working in IE. However, in my organisation, only IE is used. Therefore its paramount that it works in IE. Pls help me.
          Im attatching the snnipet of code that i am using.
          <%@ page language="java"%>
          <%@ page import="java.io.*"%>
          <%
          File file = new File ("C:\\Documents\\List.pdf");
          response.setContentType ("application/pdf");
          response.setHeader ("Content-disposition", "attachment; filename=List.pdf");
          BufferedInputStream in = new BufferedInputStream(new FileInputStream(file));
          ServletOutputStream outs = response.getOutputStream();
          byte bytes[] = new byte[4096];
          int i = 0;
          try
          while ((i = in.read(bytes,0,4096)) != -1)
          outs.write(bytes,0,i);
          catch (IOException ioe)
          ioe.printStackTrace();
          in.close();
          outs.flush();
          outs.close();
          %>
          The problem is as follows:
          The name of the jpf that forwards the requet to the jsp is DownloadPDFController.jsp and the url in IE comes as http://localhost:8053/downloads/DownloadPDFController.jpf
          Now, when this jpf runs and the control comes to the jsp, the pop-up box comes with three options Open, Save and Cancel. But the name of the file to be saved is not the PDF file but the jpf file that is displaying the file.
          This means that what actually is happening is that , the pop download box is coming with the name DownloadPDFController.jpf. I cant understand why its trying to save the JPF.
          The funny bit is that this happens only in IE and not in any other browser.
          Please help !!
          Thanks guys,
          Nikhil

Put this at start:
          out.clear();
          if it does not work then... are you using post or get... use Post if you are using get...

Similar Messages

  • Adobe Acrobat XI pro version, Windows 7, running on iMac parallels, converting pdf to a pdf with reduced size is not possible, error: error in converting the file! What to do? Its a bit annoying not to be able to store pdf files in reduced size, any idea?

    Adobe Acrobat XI pro version, Windows 7, running on iMac parallels, converting pdf to a pdf with reduced size is not possible, error: error in converting the file! What to do? Its a bit annoying not to be able to store pdf files in reduced size, any idea?? Thanks, Jörg

    Hi Jorg ,
    Are you trying to reduce the file size with the "Reduced size PDF" in the save as other option.
    Give it a try if you haven't done it prior.
    Open that PDF>File>Save as Other>Reduced size PDF.
    If possible ,please share the snapshot of the error message with us so that we can have a look in order to assist you further.
    Regards
    Sukrit Dhingra

  • Load, edit or delete PDF presets in CS6 InDesign not possible.

    Load, edit or delete PDF presets in CS6 InDesign not possible, it says: The folder may be write protected.
    How do I solve this problem? I also work with Adobe Acrobat Professional X.

    OK.
    Lets back up a bit and take things step by step so we all know exactly what's going on, and what you've tried and haven't tried.
    First, what version of Windows are you using? The use simple file sharing is the very last option on my system (XP Pro) if you open Explorer and then use Tools > Folder Options > and select the View tab. This is also the tab where you will need to make hidden and system files visible, and I strongly recommend showing extensions for known file types as well. As far as I know this option (not to use simple file sharing) is available in XP home, too.
    Second, once you've taken care of the first part, please do a search using the search in Windows Explorer, for *.joboptions under all files and be sure to select more options to search hidden and system files. You may find these files in more than one location, but the bulk of them will be in \Documents and Settings\All Users\Documents\Adobe PDF\Settings (note that this is the same directory as the one in the tree called "shared documents" -- I have no idea why the name is displayed differently in the folder tree than in the path in the address bar). Right click on one of those and select "Open Containing Folder" option.
    The folder should open in a new window. Click the go up one level button in the toolbar (looks like a folder with an upward arrow on it), then right-click the settings folder icon and select either Properties or Sharing and Security (both open the properties dialog) and click on the security tab.
    At this point, in all probability, the allow options are all grayed out because they should be inherited from the parent object. On my system the only user listed is "everyone" and they have full control. If yours is different, please let us know, and we'll go from there. If it's the same we'll try something different.
    Peter

  • Making pdf content downloadable via link in Iview problem

    Hi,
    I have been having problems with the following scripting code, where I have a link that when clicked makes a PDF file stored in the KM downloadable to the users local area.The file does download to the users desktop but when opened, the content is corrupt. So when a user clicks the view link the PDF document is loaded into the browser iframe with no issues. However when they click the download link they get the attached error.The file can be viewed properly through an  iframe in an iview on the portal but when downloaded via this script 'token missing' errors occur.
    I have pasted the code and would appreciate any help offered.
    Thanks
    Rebecca
    pResponse.write("<a onClick=\"blur(); downloadDoc('" + fileIds<i> +  "'); return false;\" href=\"javascript: void(0);\">");
                                       pResponse.write("<img src=\"" + docURL + downloadGif + "\" border=0 width=\"16\" height=\"20\" alt=\"Download\"></a></td>");
                                       pResponse.write("</tr>");
                             pResponse.write("</table>");
    Generate the link to use for file downloads
                             IPortalComponentURI componentURI = pRequest.createPortalComponentURI();
                             componentURI.setContextName(downloadPCDPath);
                             String uri = componentURI.toString();
                             pResponse.write("<script>");
                             pResponse.write("function downloadDoc(docToDownload)");
                             pResponse.write("{");
                             pResponse.write("document.getElementById('downprint').src = '" + componentURI.toString() + "?rid=' + docToDownload; ");
                             pResponse.write("}");
                             pResponse.write("</script>");
                             pResponse.write("<script><!--\n");
                             pResponse.write("function changeURL(newurl) {\n");
                             pResponse.write("this.location.href = newurl;\n");
                             pResponse.write("}\n");
                             pResponse.write("//--></script>");
                             pResponse.write("<iframe name=\"downprint\" src=\"\" style=\"width: 0; height: 0;\"></iframe>");
                        } //end if
                   printStyle(pResponse);
              } catch (AccessDeniedException ex) {
                   ex.printStackTrace();
                   mDbUtil.writeException(ex, pResponse );
              } catch (ResourceException ex) {
                   ex.printStackTrace();
                   mDbUtil.writeException(ex, pResponse );
              } catch(Exception ex) {     
                   ex.printStackTrace();
                   mDbUtil.writeException(ex, pResponse );

    I am not quite sure what this is supposed to be doing, however, a better method would be to have a custom component which accepts a RID to a resource. This component would then read the content of the PDF (using its bytes) and write these bytes out to the HttpServletResponse output stream. You need to make sure that the HTTP header content-disposition is also set correctly (can't remember exactly what this should be, however, a quick google search should return the correct results).
    This should be all you need to do I believe. Let me know if you need any help with this further
    D

  • Cannot read PDF files downloaded via acsm

    The app does not allow copying and reading the PDF downloaded via acsm delivery mechanism as it reports to be protected.  Is this known issue or needs to be treated like a feature request. On PC, you read this document via Adobe Digital Editions.
    Thanks, soujanna

    That is definitely a very old Reader version!  Uninstall it, then install the latest Reader for Vista, which is 10.1.9

  • Creating a PDF-Mail-Attachment via Abap Mapping possible ?

    Hi folks,
    I am trying to build a szenario like: Getting an Idoc -> sending it to abap mapping -> map a pdf from smartforms in abap -> map the from/to for the mail payload -> come back from abap mapping -> send it with the mail adapter .
    But now I am stuck at the point "coming back from abap mapping", because the pdf -data seems to become unreadable because of conversion. I am using Ixml and trying to attach the create pdf (looks hex-right at that point) by method create_simple_element as content-tag of the mail. But after rendering and coming back out of mapping, it seams that that data is not converted from xstring back in the right way. Can someone give a hint ? Is that way by IXML not possible for data including binary-data ? Have I to go another way?
    Thanks in advance
    Detlef

    > as content-tag of the mail.
    Sometimes I have to read the request several times to find the issue:
    No you cannot put a binary as part of an XML element.
    You can only send a plain binary as payload, so the whole mail would be nothing besides the PDF.
    In PI 7.1 you can create also an additional attachment out of mapping, but I do not know if this works for ABAP mapping also.
    The whole "I want to send an email with attachment out of PI" topic is not supported from PI development in any way.
    So you have to write a lot of code (especially Java code) to achieve this.
    > Regarding your opinion. Its based on customer requirements to have central focal point in dezentral landscape.
    The PI expert has to advise the customer for the scenarios. That is part of the job.

  • Download Open Office - Not possible with Windows 8?

    Hello,
    I tried to download free Open office but the computer said no to this, it is not possible in Windows 8. Is there any other free Word and Excel I can download? I don´t need every app in MS Office, only Word and Excel.
    Also - when I tried to open a .doc saved document in Wordpad, I didn´t succed. Wordpad only showed a lot of strange signes and not the text. How can I open my word documents in Wordpad?
    This question was solved.
    View Solution.

    Hi,
    OpenOffice supports Windows 8 and 8.1:
        http://www.microsoft.com/en-us/windows/compatibility/CompatCenter/ProductDetailsViewer?Name=OpenOffi...
    Have you tried to copy and paste ? Wordpad won't/can't keep all Word formats.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • PDF files download as JSP

    I just upgraded to Leopard 10.5.6 this weekend from Tiger 10.4.11 then upgraded to 10.5.8. All went well except for a small glitch in Mail which I got fixed with the help of this forum. My newest problem is this morning I went online to my bank to download our monthly statement which always is in PDF format. The file downloaded fine, except the file title says it's a PDF, but the extension is .jsp. I contacted the bank and they have changed nothing so I am wondering is there a setting I need to change somewhere that would affect the download? At present I haven't found an application that will open .jsp files, but first I want to get them back to PDF format. Any suggestions will be appreciated.

    Title Man wrote:
    I just upgraded to Leopard 10.5.6 this weekend from Tiger 10.4.11 then upgraded to 10.5.8. All went well except for a small glitch in Mail which I got fixed with the help of this forum. My newest problem is this morning I went online to my bank to download our monthly statement which always is in PDF format. The file downloaded fine, except the file title says it's a PDF, but the extension is .jsp. I contacted the bank and they have changed nothing so I am wondering is there a setting I need to change somewhere that would affect the download? At present I haven't found an application that will open .jsp files, but first I want to get them back to PDF format.
    Have you tried renaming the file so that its extension is ".pdf"? I believe I regularly download PDF files that have "jsp" in the file name, but renaming them corrects the problem.

  • PS CC - download test version not possible

    not possible "https://creative.adobe.com/products/download/photoshop" not working - can this be? thanks!
    Forward to this - page not available
    aam://SAPCode=PHSP/?productVersion=15.0?passPhrase=Y1fjETqKXzV0NLe1WTGQaXVKVBZa+or9dxYuyVR TtS19TN1I7xipvQAxU8X0KkTebACh6lYHKAHK3FFw4pCKu0sWrnp6zgULiMouLkCsBZXDK7IgW90XkcDuW+HBmw1DJ smt65YcwH7rdfAuXd49iPsnNE3rgGsiW7L/RGXuOqg=

    Thank to all!
    It first looked like an error on download-site or whatever... but it I think it's a local system error.
    solution:
    1. download and install Creative Cloud App > only in WINDOWS SAFE MODE (otherwise error 50)
    2. installation APP / Photoshop etc. > only in normal started system (otherwise installation fail on third party application etc.)
    Now it's running - cool!
    Thanks,
    Barbara

  • Streaming via 3G not possible?

    I thought (but didn’t check) that one of the benefits of Match would be that I could stream my entire music collection to my iOS 6 iPhone any place any time anywhere so long as I had WiFi or 3G connectivity. It will stream or download by WiFi, and it will download via 3G (with the usual ‘charges may apply’ warning), but it won’t stream by 3G. Pick an album and unless I’ve previously downloaded it, the song-titles are ghosted out. Am I doing something wrong or does Match just not stream over 3G?

    Found it! You've got to enable Settings > iTunes & App Stores > Use Mobile Data

  • BLOB download via WPG_DOCLOAD not working: what's with the document table?

    Hi,
    We upgrade our APEX application to 4.2 on RDBMS 11.2.0.1.0, and now our file downloads are failing with 404-not found errors.
    Documents are stored as BLOBs in a dedicated table TICKETDOC. Uploading works fine via APEX, I can query the docs in the table and all is looking fine so far.
    I have a report column formatted as HTML, making it a clickable thumbnail which should open the file in a separate browser window when clicked.
    HTML format for column:
    +*
    <img src="#OWNER#.DOWNLOAD_FILE?p_id=#THUMBNAIL#" height=40">
    </a>
    *+
    This is supposed to call our own procedure TICKET.DOWNLOAD_FILE, which calls WPG_DOCLOAD:
    +*
    create or replace
    PROCEDURE "DOWNLOAD_FILE" (p_id in number) AS
    l_mime varchar2(255);
    l_length number;
    l_file_name varchar2(2000);
    lob_loc BLOB;
    v_found BOOLEAN := FALSE;
    CURSOR c_doc IS
    SELECT doctype, doc, naam, DBMS_LOB.GETLENGTH(doc)
    FROM ticketdoc
    WHERE ticketdocid = p_id;
    CURSOR c_mail IS
    SELECT mimetype, content_attachment, filenaam, DBMS_LOB.GETLENGTH(content_attachment)
    FROM mailattachment
    WHERE mailattachmentid = p_id;
    param_val owa.vc_arr;
    p_table Varchar2(200);
    l_errm varchar2(2000);
    BEGIN
    p_table := 'TICKETDOC';
    IF p_table = 'TICKETDOC' THEN
    OPEN c_doc;
    FETCH c_doc INTO l_mime, lob_loc, l_file_name, l_length;
    IF c_doc%FOUND THEN
    v_found := TRUE;
    else
    END IF;
    CLOSE c_doc;
    ELSIF p_table = 'MAILATTACHEMENT' THEN
    OPEN c_mail;
    FETCH c_mail INTO l_mime, lob_loc, l_file_name, l_length;
    IF c_mail%FOUND THEN
    v_found := TRUE;
    END IF;
    CLOSE c_mail;
    END IF;
    IF v_found THEN
    --initialise owa with some environment variable
    param_val (1) := 1;
    owa.init_cgi_env(param_val) ;
    -- Set up HTTP header
    -- Use an NVL around the mime type and if it is a null, set it to
    -- application/octect - which may launch a download window from windows
    owa_util.mime_header(nvl(l_mime,'application/octet-stream'), FALSE );
    -- Set the size so the browser knows how much to download
    htp.p('Content-length: ' || l_length);
    -- The filename will be used by the browser if the users does a "Save as"
    htp.p('Content-Disposition: attachment; filename="' || l_file_name || '"');
    -- Close the headers
    owa_util.http_header_close;
    -- Download the BLOB
    wpg_docload.download_file( Lob_loc );
    END IF;
    exception
    when others then
    l_errm := sqlerrm;
    raise;
    END;
    *+
    The idea is to display a thumbnail image which, when clicked, will open the document (image, pdf, whatever) in a new browser window.
    Executing the procedure in SQLDeveloper works fine and I can query the downloaded BLOB (getlength etc).
    However, when I click the thumbnail in the APEX application I get a 404.
    Enabling debug via exec dbms_epg.set_dad_attribute('APEX', 'error-style', 'DebugStyle') yields the following:
    +*
    Fri, 31 May 2013 09:41:35 GMT
    Error retrieving document.
    Please verify that the document you requested exists in the document table
    DAD name: apex
    PROCEDURE : TICKET.DOWNLOAD_FILE
    URL : http://XDB HTTP Server:8080/apex/TICKET.DOWNLOAD_FILE?p_id=1091
    PARAMETERS :
    ===========
    p_id:
    1091
    ENVIRONMENT:
    ============
    PLSQL_GATEWAY=WebDb
    GATEWAY_IVERSION=2
    SERVER_SOFTWARE=Oracle Embedded PL/SQL Gateway/11.2.0.1.0
    GATEWAY_INTERFACE=CGI/1.1
    SERVER_PORT=8080
    SERVER_NAME=XDB HTTP Server
    REQUEST_METHOD=GET
    QUERY_STRING=p_id=1091
    PATH_INFO=/TICKET.DOWNLOAD_FILE
    SCRIPT_NAME=/apex
    REMOTE_HOST=
    REMOTE_ADDR=127.0.0.1
    SERVER_PROTOCOL=HTTP/1.1
    REQUEST_PROTOCOL=HTTP
    REMOTE_USER=ANONYMOUS
    ORACLE_SSO_USER=
    OSSO_IDLE_TIMEOUT_EXCEEDED=
    OSSO_USER_GUID=
    HTTP_CONTENT_LENGTH=0
    HTTP_CONTENT_TYPE=
    HTTP_USER_AGENT=Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
    HTTP_HOST=localhost:8080
    HTTP_ACCEPT=text/html,application/xhtml+xml,*/*
    HTTP_ACCEPT_ENCODING=gzip,deflate
    HTTP_ACCEPT_LANGUAGE=nl-BE,en-US;q=0.5
    HTTP_ACCEPT_CHARSET=
    HTTP_COOKIE=__utmc=31852350; __utmz=31852350.1366364489.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utma=31852350.974780296.1366364489.1366364489.1369990367.2; ORA_WWV_USER_61804796552973=930EBD5017F98F039F659148EAE74140; ORA_WWV_REMEMBER_UN=JO:ticket; ORA_WWV_F4000_P4150_TREE=RenderingTree%3A3727930518286945_columns%3A3729417793306453; SHARED_SESSION=87D7D96BC5A457924CB86A817315D30E; [email protected]
    HTTP_IF_MODIFIED_SINCE=
    HTTP_REFERER=http://10.0.25.1/apex/f?p=101:40:7036965658754:::::
    HTTP_SOAPACTION=
    HTTP_ORACLE_ECID=
    HTTP_ORACLE_CACHE_VERSION=
    HTTP_AUTHORIZATION=
    WEB_AUTHENT_PREFIX=
    DAD_NAME=apex
    DOC_ACCESS_PATH=docs
    DOCUMENT_TABLE=wwv_flow_file_objects$
    PATH_ALIAS=
    REQUEST_CHARSET=AL32UTF8
    REQUEST_IANA_CHARSET=UTF-8
    SCRIPT_PREFIX=
    HTTP_IF_MATCH=
    HTTP_CACHE_CONTROL=
    SOAP_BODY=
    HTTP_X_ORACLE_DEVICE_CLASS=
    HTTP_X_ORACLE_DEVICE_ORIENTATION=
    HTTP_X_ORACLE_DEVICE_MAXDOCSIZE=
    HTTP_X_ORACLE_DEVICE=
    HTTP_X_ORACLE_ORIG_ACCEPT=
    HTTP_X_ORACLE_ORIG_USER_AGENT=
    HTTP_X_ORACLE_USER_LOCALE=
    HTTP_X_ORACLE_USER_NAME=
    HTTP_X_ORACLE_USER_DISPLAYNAME=
    HTTP_X_ORACLE_USER_USERKIND=
    HTTP_X_ORACLE_USER_AUTHKIND=
    HTTP_X_ORACLE_USER_DEVICEID=
    HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE1=
    HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE2=
    HTTP_X_ORACLE_USER_LOCATION_ADDRESSLASTLINE=
    HTTP_X_ORACLE_USER_LOCATION_BLOCK=
    HTTP_X_ORACLE_USER_LOCATION_CITY=
    HTTP_X_ORACLE_USER_LOCATION_COMPANYNAME=
    HTTP_X_ORACLE_USER_LOCATION_COUNTY=
    HTTP_X_ORACLE_USER_LOCATION_STATE=
    HTTP_X_ORACLE_USER_LOCATION_POSTALCODE=
    HTTP_X_ORACLE_USER_LOCATION_POSTALCODEEXT=
    HTTP_X_ORACLE_USER_LOCATION_COUNTRY=
    HTTP_X_ORACLE_USER_LOCATION_TYPE=
    HTTP_X_ORACLE_USER_LOCATION_X=
    HTTP_X_ORACLE_USER_LOCATION_Y=
    HTTP_X_ORACLE_SERVICE_HOME_URL=
    HTTP_X_ORACLE_SERVICE_PARENT_URL=
    HTTP_X_ORACLE_HOME_URL=
    HTTP_X_ORACLE_MODULE_CALLBACK_URL=
    HTTP_X_ORACLE_MODULE_CALLBACK_LABEL=
    HTTP_X_ORACLE_CACHE_USER=
    HTTP_X_ORACLE_CACHE_SUBID=
    HTTP_X_ORACLE_CACHE_AUTH=
    HTTP_X_ORACLE_CACHE_DEVICE=
    HTTP_X_ORACLE_CACHE_LANG=
    HTTP_X_ORACLE_CACHE_ENCRYPT=
    HTTP_X_ORACLE_ASSERT_USER=
    *+
    I made minor adjustments to the original (pre-4.2) code:
    * initialised owa with some environment variable
    * registered DOWNLOAD_FILE in wwv_flow_epg_include_mod_local
    but still no success.
    Any ideas on how to fix this?
    Greetz
    Jo

    As I understand:
    The procedure works.
    The link 'appears' to work. (ie you saw the procedure run a 2nd at the database level)
    But it doesn't actually work (because you get a 404)
    I think I ran into an issue, on a completely different page type, that produced an 'error 404'. (I can't seem to reproduce it, though)
    The only way I discovered what was really going on was with an HTTP sniffer. (eg HTTPFox for FireFox)
    Through that, I noticed that the browser was (for some reason) calling a completely non-sensible APEX page. (hence the PAGE NOT FOUND error)
    My solution was to add a "submit to self" branch point.
    If that doesn't work, I'm at a loss.
    MK

  • Pdf/x-4 2010 pdf preset made via Indesign not compatible with Illustrator?

    Hello all
    I am working with a digital printing company and want to create a pdf preset that they can distribute to their customers to help make sure pdfs are properly made for their workflow. We've tested pdf/x-4 on their equipment and want to make that standard the base for their preset.
    I made a preset in IndesignCC which shows up and is accessible in InDesignCC and PhotoshopCC, but is not accessible in IllustratorCC. It does not show up in the presets list in the "save as... pdf" dialogue. It does show up in the Edit>Adobe PDF Presets function though.
    When I attempt to load the .joboptions file into Illustrator via that Adobe PDF Presets function I get the error "The preset is not recognized as a valid .joboptions file."
    I noticed that IllustratorCC is using the pdf/x-4 (2008) standard, while InDesignCC is using the pdf/x-4 (2010).
    Is IllustratorCC not yet compatible with the 2010 standard? If not, this is a serious wrench in the pdf preset workflow that allows the applications to share .joboptions files amongt themselves.
    Any thoughts or help solving the problem of sharing that InDesign Generated preset with Illustrator would be much appreciated.
    Michael Riordan
    Owner/Adobe Certified Instructor
    Digital DesignLab
    http://www.learnadobesoftware.com

    Hi jdanek, thanks for replying. PDF/x-4 supports transparency natively, supports multiple color spaces (this allows the vendor's rips to handle color conversion), and is an excellent option for their PDF print engine workflow. They want a custom variety that sets the resolution, bleed, etc. to give to their customers.
    I did resolve the issue by making a new preset in Illustrator. That one is also available in InDesign and Photoshop but still, I'm curious as to why the InDesign-made preset is not compatible with Illustrator.
    Michael Riordan
    Owner/Adobe Certified Instructor
    Digital DesignLab
    http://www.learnadobesoftware.com

  • Download Lightroom CC not possible: page not found

    Hi @all,
    I'm trying to download the german version of Lightroom CC but when on this page "Software für digitale Fotografie | Download Adobe Lightroom 6: kostenlos testen" I click on "Testversion" (https://creative.adobe.com/de/products/de/download/lightroom) and the following page is not loaded. Instead it says "page not found". Any ideas?
    Edit: Problem only occurs when using firefox (37.0.2). Download with the IE worked.

    In order to install Lightroom cc , you need to install it via Creative Cloud desktop app :
    If you are getting page not found error , try with below links ,.
    WINDOWS:
    Click on the below link and download Creative Cloud setup file and use the same to install the Creative Cloud Desktop application.
    https://ccmdls.adobe.com/AdobeProducts/KCCC/1/win32/CreativeCloudSet-Up.exe
    MAC:
    Click on the below link and download Creative Cloud Installer file and use the same to install the Creative Cloud Desktop application.
    https://ccmdls.adobe.com/AdobeProducts/KCCC/1/osx10/CreativeCloudInstaller.dmg
    https://helpx.adobe.com/creative-cloud/help/install-apps.html

  • Printing PDF files with smb/cups not possible // SLPReg status -20!

    Hello *,
    i am running SAMBA 3.6.1-1 and CUPS 1.5.0-1 on a dedicated system. Printer: Canon Pixma IP4500 (USB).
    The problem is that all Windows 7 clients are not able to print PDF files (since few months) on that printer while printing these files with Linux software is no problem. The PDF files are neither encrypted nor forbidden to print.
    I tried to print with Adobe Acrobat Reader X (latest) and Foxit Reader. Both are preparing the pages to be printed and close their printing dialog after processing. Windows printing queue does not show any jobs (which it even does not when printing simple images with MS Paint, which is not a problem).
    Windows systems are using the Canon Inkjet 4500 and Canon iP 4500 driver (manually installed). Printing images works with both drivers.
    I searched for "SLPReg […] failed with status -20!" but found no helpful information.
    /var/log/cups/error_log
    D [24/Dec/2011:23:05:35 +0100] Report: clients=0
    D [24/Dec/2011:23:05:35 +0100] Report: jobs=499
    D [24/Dec/2011:23:05:35 +0100] Report: jobs-active=0
    D [24/Dec/2011:23:05:35 +0100] Report: printers=2
    D [24/Dec/2011:23:05:35 +0100] Report: printers-implicit=0
    D [24/Dec/2011:23:05:35 +0100] Report: stringpool-string-count=199735
    D [24/Dec/2011:23:05:35 +0100] Report: stringpool-alloc-bytes=14344
    D [24/Dec/2011:23:05:35 +0100] Report: stringpool-total-bytes=3718136
    D [24/Dec/2011:23:05:36 +0100] cupsdNetIFUpdate: "lo" = localhost:631
    D [24/Dec/2011:23:05:36 +0100] cupsdNetIFUpdate: "eth0" = 192.168.2.9:631
    D [24/Dec/2011:23:05:36 +0100] cupsdNetIFUpdate: "lo" = localhost:631
    D [24/Dec/2011:23:05:36 +0100] cupsdNetIFUpdate: "eth0" = [v1.fe80::1e6f:65ff:fe51:1b3+eth0]:631
    D [24/Dec/2011:23:05:36 +0100] send_slp_browse(0x7f7d52023050 = "IP4500")
    E [24/Dec/2011:23:05:36 +0100] SLPReg of "IP4500" failed with status -20!
    D [24/Dec/2011:23:05:48 +0100] send_slp_browse(0x7f7d52017c90 = "IP4500_Duplex")
    E [24/Dec/2011:23:05:48 +0100] SLPReg of "IP4500_Duplex" failed with status -20!
    D [24/Dec/2011:23:06:07 +0100] send_slp_browse(0x7f7d52023050 = "IP4500")
    E [24/Dec/2011:23:06:07 +0100] SLPReg of "IP4500" failed with status -20!
    D [24/Dec/2011:23:06:19 +0100] send_slp_browse(0x7f7d52017c90 = "IP4500_Duplex")
    E [24/Dec/2011:23:06:19 +0100] SLPReg of "IP4500_Duplex" failed with status -20!
    D [24/Dec/2011:23:06:35 +0100] Report: clients=0
    D [24/Dec/2011:23:06:35 +0100] Report: jobs=499
    D [24/Dec/2011:23:06:35 +0100] Report: jobs-active=0
    D [24/Dec/2011:23:06:35 +0100] Report: printers=2
    D [24/Dec/2011:23:06:35 +0100] Report: printers-implicit=0
    D [24/Dec/2011:23:06:35 +0100] Report: stringpool-string-count=199735
    D [24/Dec/2011:23:06:35 +0100] Report: stringpool-alloc-bytes=14344
    D [24/Dec/2011:23:06:35 +0100] Report: stringpool-total-bytes=3718136
    D [24/Dec/2011:23:06:38 +0100] cupsdNetIFUpdate: "lo" = localhost:631
    D [24/Dec/2011:23:06:38 +0100] cupsdNetIFUpdate: "eth0" = 192.168.2.9:631
    D [24/Dec/2011:23:06:38 +0100] cupsdNetIFUpdate: "lo" = localhost:631
    D [24/Dec/2011:23:06:38 +0100] cupsdNetIFUpdate: "eth0" = [v1.fe80::1e6f:65ff:fe51:1b3+eth0]:631
    D [24/Dec/2011:23:06:38 +0100] send_slp_browse(0x7f7d52023050 = "IP4500")
    E [24/Dec/2011:23:06:38 +0100] SLPReg of "IP4500" failed with status -20!
    D [24/Dec/2011:23:06:50 +0100] send_slp_browse(0x7f7d52017c90 = "IP4500_Duplex")
    E [24/Dec/2011:23:06:50 +0100] SLPReg of "IP4500_Duplex" failed with status -20!
    /etc/samba/smb.conf
    load printers = yes
    printing = cups
    printcap = cups
    [printers]
    path = /var/spool/samba
    printable = yes
    public = yes
    writable = no
    /etc/cups/printers.conf
    # Printer configuration file for CUPS v1.5.0
    # Written by cupsd on 2011-12-24 22:25
    # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
    <Printer IP4500>
    UUID urn:uuid:f9850f70-d898-39ad-4e0a-9edfecf4977b
    Info Canon iP4500 series
    Location Keller
    MakeModel Canon PIXMA iP4500 - CUPS+Gutenprint v5.2.7
    DeviceURI usb://Canon/iP4500%20series?serial=42E635
    State Idle
    StateTime 1306084752
    Type 45084
    Accepting Yes
    Shared Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    DenyUser xy
    OpPolicy default
    ErrorPolicy stop-printer
    </Printer>
    <Printer IP4500_Duplex>
    UUID urn:uuid:14fcd3ca-2118-380e-5033-79beb09bb3b7
    Info Canon iP4500 series (Duplex)
    Location Keller
    MakeModel Canon PIXMA iP4500 - CUPS+Gutenprint v5.2.7
    DeviceURI usb://Canon/iP4500%20series?serial=42E635
    State Idle
    StateTime 1324761079
    Type 45084
    Accepting Yes
    Shared Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    OpPolicy default
    ErrorPolicy stop-printer
    </Printer>

    Hi,
    I can, unfortanetly, confirm this problem for me with a Brother HL-2030 and an HP Officejet 5600 series.
    cups error log
    D [03/May/2012:21:42:46 +0200] Report: printers=3
    D [03/May/2012:21:42:46 +0200] Report: printers-implicit=0
    D [03/May/2012:21:42:46 +0200] Report: stringpool-string-count=10577
    D [03/May/2012:21:42:46 +0200] Report: stringpool-alloc-bytes=13088
    D [03/May/2012:21:42:46 +0200] Report: stringpool-total-bytes=192536
    D [03/May/2012:21:43:48 +0200] cupsdNetIFUpdate: "lo" = localhost:631
    D [03/May/2012:21:43:48 +0200] cupsdNetIFUpdate: "eth0" = 192.168.2.100:631
    D [03/May/2012:21:43:48 +0200] cupsdNetIFUpdate: "tun0" = 10.8.0.1:631
    D [03/May/2012:21:43:48 +0200] cupsdNetIFUpdate: "lo" = localhost:631
    D [03/May/2012:21:43:48 +0200] cupsdNetIFUpdate: "eth0" = [v1.fe80::201:2eff:fe27:6993+eth0]:631
    D [03/May/2012:21:43:48 +0200] Report: clients=0
    D [03/May/2012:21:43:48 +0200] Report: jobs=233
    D [03/May/2012:21:43:48 +0200] Report: jobs-active=0
    D [03/May/2012:21:43:48 +0200] Report: printers=3
    D [03/May/2012:21:43:48 +0200] Report: printers-implicit=0
    D [03/May/2012:21:43:48 +0200] Report: stringpool-string-count=10577
    D [03/May/2012:21:43:48 +0200] Report: stringpool-alloc-bytes=13088
    D [03/May/2012:21:43:48 +0200] Report: stringpool-total-bytes=192536
    D [03/May/2012:21:44:50 +0200] cupsdNetIFUpdate: "lo" = localhost:631
    D [03/May/2012:21:44:50 +0200] cupsdNetIFUpdate: "eth0" = 192.168.2.100:631
    D [03/May/2012:21:44:50 +0200] cupsdNetIFUpdate: "tun0" = 10.8.0.1:631
    D [03/May/2012:21:44:50 +0200] cupsdNetIFUpdate: "lo" = localhost:631
    D [03/May/2012:21:44:50 +0200] cupsdNetIFUpdate: "eth0" = [v1.fe80::201:2eff:fe27:6993+eth0]:631
    D [03/May/2012:21:44:50 +0200] Report: clients=0
    D [03/May/2012:21:44:50 +0200] Report: jobs=233
    D [03/May/2012:21:44:50 +0200] Report: jobs-active=0
    D [03/May/2012:21:44:50 +0200] Report: printers=3
    D [03/May/2012:21:44:50 +0200] Report: printers-implicit=0
    D [03/May/2012:21:44:50 +0200] Report: stringpool-string-count=10577
    D [03/May/2012:21:44:50 +0200] Report: stringpool-alloc-bytes=13088
    D [03/May/2012:21:44:50 +0200] Report: stringpool-total-bytes=192536
    printers.conf
    # Printer configuration file for CUPS v1.5.0
    # Written by cupsd on 2011-12-24 13:14
    # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
    <Printer CUPS-PDF>
    UUID urn:uuid:ad99f5dd-2577-355f-759c-6b2941a88d34
    Info Virtual PDF Printer
    Location Zion
    MakeModel Generic CUPS-PDF Printer
    DeviceURI cups-pdf:/
    State Idle
    StateTime 1309396700
    Type 8450124
    Accepting Yes
    Shared Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    OpPolicy default
    ErrorPolicy stop-printer
    </Printer>
    <Printer HL2030>
    UUID urn:uuid:1b453a5d-ade0-3ddb-45e4-c5bcfe1feabd
    Info Brother HL-2030 series
    Location Zion
    MakeModel Brother HL-2030 Foomatic/hl1250 (recommended)
    DeviceURI usb://Brother/HL-2030%20series?serial=G6J274210
    State Idle
    StateTime 1324728260
    Type 8433668
    Accepting Yes
    Shared Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    OpPolicy default
    ErrorPolicy stop-printer
    </Printer>
    <Printer HP5600>
    UUID urn:uuid:8d882659-3c7e-319f-5072-38d14683cfaf
    Info HP Officejet 5600
    Location
    MakeModel HP Officejet 5600 Series, hpcups 3.11.10
    DeviceURI hp:/usb/Officejet_5600_series?serial=CN838F31ZQ04B2
    State Idle
    StateTime 1324728896
    Type 8425484
    Accepting Yes
    Shared Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    OpPolicy default
    ErrorPolicy stop-printer
    </Printer>
    smb.conf
    # NOTE: If you have a BSD-style print system there is no need to
    # specifically define each individual printer
    [printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = yes
    # Set public = yes to allow user 'guest account' to print
    guest ok = yes
    writable = no
    printable = yes
    Did you find a solution in the meantime?

  • TRYING TO SEND AN EMAIL VIA JSP not working

    I think what im doing is right but i keep getting errors...therefore...its wrong..
    <form action="mailer.jsp" method="post">
         To :<br>
         <input type="text" name="to" class="std"></input><br>
         From :<br>
         <input type="text" name="from" class="std"></input><br>
         Subject :<br>
         <input type="text" name="subject" class="std"></input><br>
         Message :<br>
         <textarea rows="10" cols="80" name="message"></textarea>
         <br>
         <input type="submit" value="Send"></input>
         </form>Mailer.jsp
    <div class="frame">
         <jsp:useBean id="mailer" class="com.stardeveloper.bean.test.MailerBean">
              <jsp:setProperty name="mailer" property="*"/>
              <% mailer.sendMail(); %>
         </jsp:useBean>
         Email has been sent successfully.
         </div>MailerBean.java
    package com.stardeveloper.bean.test;
    import java.io.*;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.event.*;
    import javax.mail.internet.*;
    public final class MailerBean extends Object implements Serializable {
         /* Bean Properties */
         private String to = null;
         private String from = null;
         private String subject = null;
         private String message = null;
         public static Properties props = null;
         public static Session session = null;
         static {
              /*     Setting Properties for STMP host */
              props = System.getProperties();
              props.put("mail.smtp.host", "mail.brunel.ac.uk");
              session = Session.getDefaultInstance(props, null);
         /* Setter Methods */
         public void setTo(String to) {
              this.to = to;
         public void setFrom(String from) {
              this.from = from;
         public void setSubject(String subject) {
              this.subject = subject;
         public void setMessage(String message) {
              this.message = message;
         /* Sends Email */
         public void sendMail() throws Exception {
              if(!this.everythingIsSet())
                   throw new Exception("Could not send email.");
              try {
                   MimeMessage message = new MimeMessage(session);
                   message.setRecipient(Message.RecipientType.TO,
                        new InternetAddress(this.to));
                   message.setFrom(new InternetAddress(this.from));
                   message.setSubject(this.subject);
                   message.setText(this.message);
                   Transport.send(message);
              } catch (MessagingException e) {
                   throw new Exception(e.getMessage());
         /* Checks whether all properties have been set or not */
         private boolean everythingIsSet() {
              if((this.to == null) || (this.from == null) ||
                 (this.subject == null) || (this.message == null))
                   return false;
              if((this.to.indexOf("@") == -1) ||
                   (this.to.indexOf(".") == -1))
                   return false;
              if((this.from.indexOf("@") == -1) ||
                   (this.from.indexOf(".") == -1))
                   return false;
              return true;
    }

    I think what im doing is right but i keep getting
    errors...therefore...its wrong..i don't see any errors posted, so it must not be wrongThe error occurs because the OP did not use BSD-style braces.

Maybe you are looking for

  • What is the minimal number of open ports needed to use forms apps

    Hi, Our network administrators are doing a network segmentation / security project and they want to make it so that only authorized users can ping or see my oracle EBS server on the network, but they also want to lock down all ports that users can se

  • Can't restore folders from Time Machine after Lion

    Hello guys, after upgrading to Lion 10.7.1 I can't seem able to restore some old folders from Time Machine Here's what happens: I log in TM, I can scroll through my old backups, I can choose the folders I want to restore, I can click on the folder, b

  • RED footage not showing up on external monitor (CS6)

    Hello all, When I select a RED clip (R3D) and place it in the source window to play it back.  It does not show up on my external monitor. (via Blackmagic Intensity Pro). However, it shows up once placed in the timeline. This is a problem because when

  • About include text in sapscript form printing

    hi experts:     I am learning about form printing,the control command-include,for example:INCLUDE ZTEST OBJECT TEXT ID ST. the question is:how to ceate the text?    thanks

  • Want to upload vendor masters thru FK01

    < MODERATOR:  All points have been UNASSIGNED and the message locked.  Please do not share email addresses, documents, or links to copyrighted or company confidential information on these forums.  If you have some information, please consider posting