Attachment can't be opened in Acrobat

I'm using the Adobe PDF library to add an attachment to a document that already has attachments, so I add 2 new entries (for the name and for the embedded file) to the end of the /Names array under /EmbeddedFiles.
When I save out the PDF and open it in Acrobat I can see the attachment listed in the attachment panel, but when I try to open, delete, or save that attachment Acrobat does nothing.  I used Preflight but it doesn't show any syntax errors.
At first I suspected there was something wrong with the way I built up my embedded file but everything looks fine.  So I tried positioning my new attachment at the beginning of the /Names array.  Magically it works and Acrobat can open/save/delete the attachment without issue.
If the /Names array is empty to start with (no attachments) and I add to the array everything is fine.  The problem seems to be adding on to the end of an existing /Names Array.  If I instead position my new attachment either at the beginning or not at the end of the array it works.
I used an alternative PDF viewer and I was able to open the attachment for the case where Acrobat can't
This seems like an Acrobat bug to me, thoughts?

Ok, I do see the mentioning about lexical order in the pdf reference.  So I made a very simple example, the file has attachments 1.bmp, 2.bmp, and 3.bmp.  3.bmp is the one I added.
Example that doesn't work in Acrobat:
http://www.sendspace.com/file/128cu3
I would think 1.bmp, 2.bmp, 3.bmp would be the correct lexical order for the keys in the /Names entry, but it doesn't work!
Example that does work in Acrobat:
http://www.sendspace.com/file/myusdk
I would think 3.bmp, 1.bmp, 2.bmp would be the incorrect lexical order for the keys in the /Names entry, but it works!

Similar Messages

  • Distributing .pdf as Reader only (can't be opened in Acrobat)

    Q1)  Is there a setting that lets me save my .pdf so that it can only be opened in Reader. Right now, if a user has Acrobat on their PC the .pdf opens in Acrobat. I want it to always open in Reader.
    Q2)  Can an older version of Reader (let's say 5.0) open a document that was created in a newer version of Acrobat (let's say 9.0)? If not, does a message display instructing the user to download the latest Reader version?
    Thx
    Jan

    1) Not possible.
    2) Depends on the PDF version.

  • Why can't I open Adobe Acrobat Pro

    I have used this application for some time, but now all of a sudden It says it is restricted?

    attach a screenshot showing the message, FAQ: How do I capture and post a screen shot or... | Adobe Community

  • When sending email PO in a PDF attachment, the attachment can not be openen

    Hi all,
    We are trying to send an email with the PO in PDF format.  We got the email but the attachment can not be opened. 
    Error reads: Adobe could not open test.pdf because  it is either  not a supported file type  or because  the file has been damaged (for example , it was send as a email attachemnet and was not  correctly decoded).
    Could any body bring some light?   We know that everything in SCOT is fine because we can email the PO through configuration to the vendor without problem. It is just these extra copies that do not work.
    a) We are modifying our custom Print program to add the code below after closing the form.
    in few words:
    a) We are getting the OTF from closing the form.
    b) Converting the OTF to PDF
    c) Sending the PDF as attachment.
    data: lt_docs      TYPE TABLE OF docs.
    data: pdf_bytecount TYPE i.
    data: begin of pdfout occurs 0,
       tline type tline,
    end of pdfout.
    Ende Formulardruck --------------------------------------------------*
      CALL FUNCTION 'CLOSE_FORM'
           IMPORTING
                result = result
           tables
                otfdata = otf.
      IF RESULT-TDSPOOLID NE SPACE.
        SPOOLID = RESULT-TDSPOOLID.
        PERFORM PROTOCOL_UPDATE USING '320' SPOOLID SPACE SPACE SPACE.
      ENDIF.
      if result-userexit eq 'C' or
          result-userexit eq 'E'.
        retco = '9'.
      endif.
      CALL FUNCTION 'CONVERT_OTF_2_PDF'
        IMPORTING
          bin_filesize           = pdf_bytecount
        TABLES
          otf                    = otf
          doctab_archive         = lt_docs
          lines                  = pdfout
        EXCEPTIONS
          err_conv_not_possible  = 1
          err_otf_mc_noendmarker = 2
          OTHERS                 = 3.
    Creation of the document to be sent File Name
       maildata-obj_name = 'TEST'.
    Mail Subject
       maildata-obj_descr = 'Subject'.
    Mail Contents
       append mailtxt.
      describe table mailtxt lines tab_lines.
      read table mailtxt index tab_lines.
      maildata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( mailtxt ).
    Creation of the entry for the compressed document
      clear mailpack-transf_bin.
      mailpack-head_start = 1.
      mailpack-head_num = 0.
      mailpack-body_start = 1.
      mailpack-body_num = tab_lines.
      mailpack-doc_type = 'RAW'.
      append mailpack.
    Move OTF code to structure SOLI form email
    CLEAR solisti1. REFRESH solisti1.
    LOOP AT otf.
      solisti1-line = otf.
      APPEND solisti1.
    ENDLOOP.
    Move pdf code to structure soli form email
      clear solisti1. refresh solisti1.
      loop at pdfout.
        solisti1-line = pdfout.
        append solisti1.
      endloop.
      loop at solisti1.
         move-corresponding solisti1 to mailbin.
         append mailbin.
      endloop.
      describe table mailbin lines tab_lines.
    mailhead = 'TEST.OTF'.
      mailhead = 'TEST.PDF'.
      append mailhead.
    Creation of the entry for the compressed attachment
      mailpack-transf_bin = 'X'.
      mailpack-head_start = 1.
      mailpack-head_num = 1.
      mailpack-body_start = 1.
      mailpack-body_num = tab_lines.
    mailpack-doc_type = 'OTF'.
      mailpack-doc_type = 'PDF'.
      mailpack-obj_name = 'TEST'.
      mailpack-obj_descr = 'Subject'.
      mailpack-doc_size = tab_lines * 255.
      append mailpack.
      mailrec-receiver = '[email protected]'.
      mailrec-rec_type = 'U'.
      append mailrec.
      mailrec-receiver = '[email protected]'.
      mailrec-rec_type = 'U'.
      append mailrec.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
              EXPORTING
                   DOCUMENT_DATA              = maildata
              TABLES
                   PACKING_LIST               = mailpack
                   OBJECT_HEADER              = mailhead
                   CONTENTS_TXT               = mailtxt
                   RECEIVERS                  = mailrec
              EXCEPTIONS
                   TOO_MANY_RECEIVERS         = 1
                   DOCUMENT_NOT_SENT          = 2
                   DOCUMENT_TYPE_NOT_EXIST    = 3
                   OPERATION_NO_AUTHORIZATION = 4
                   PARAMETER_ERROR            = 5
                   X_ERROR                    = 6
                   ENQUEUE_ERROR              = 7
                   OTHERS                     = 8.
    ENDFORM.

    Dear Monica,
      You need to configure the system with respect to functional point of view and need to write the following code in print program. i have done this and solution is as follows.
    <b>  Reward me for this solution.</b>
    Process 11 (MM)     Sending RFQs and POs to vendors directly from the system instead of sending thru Courier or Fax     
    Existing Process (AS-IS)     Presently system is not supporting this requirement
    Business Requirements     RFQ’s to be linked with vendor master with e-mail to send enquiries directly through system instead of courier/fax. Vice versa P.O’s.  Specifications, drawings should also go to vendor along with mail.
    To-Be     
    Configuration Settings:                  
    1) Spro – Materials management – Purchasing – Messages – Output control – Message types – Define message types for RFQ/ PO
    •     Created ZEK1,ZMI and ZEK2 for RFQs
    •     Created ZIK,ZOC,ZOK,ZOM,ZSI, ZSK2 and ZSM for Pos
    •     The above New output types Included with existing Print Forms and Programs but modified with External send(5) medium, and added company’s letter head thru ABAP developments (details provided below)
    •     The above new output types also maintained for Fine- tuned control (thru same navigation) for New(1) and Change(2) operations
          2) Spro – Materials management – Purchasing – Messages – Output control – Message   determination schemas – Define message schema for RFQ/ PO
    •     Maintained the new output types in the control data
    3)     Maintain Condition records for the New out put types (copied same document types from the existing old output types)
    Easy access – Logistics – Materials management – Purchasing – Master data – Messages – MN01 (for RFQs)/ MN04 (for Pos)
    4)     Maintain Email id of Vendor in Vendor master.
    Developments (ABAP):
    1)  Copied the existing print programs and forms of the corresponding out types.
    2) Addition of header window in each corresponding form (HEADER window). Uploaded the HEADER3 graphics in the header window.
    INCLUDE HEADER3 OBJECT GRAPHICS ID BCOL LANGUAGE EN
    3) Added the the following code in TOP includes
                       TYPE-POOLs szadr.
               INCLUDE:  LMEDRUCKF09.
    data: intnast         LIKE snast,
          lvs_recipient   LIKE swotobjid,       "Internet
          lvs_sender      LIKE swotobjid,       "Internet
          lvs_comm_type   TYPE ad_comm,
          lvs_comm_values TYPE szadr_comm_values,
          p_retco         TYPE i.
    5)     Addition of the perform to SOS include for header window display
           PERFORM WRITE_FORM_HEADER.
    *&      Form  WRITE_FORM_HEADER
          text
    -->  p1        text
    <--  p2        text
    FORM WRITE_FORM_HEADER.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'HE1'
       FUNCTION                       = 'SET'
       TYPE                           = 'BODY'
       WINDOW                         = 'HEADER'
    IMPORTING
       PENDING_LINES                  =
    EXCEPTIONS
       ELEMENT                        = 1
       FUNCTION                       = 2
       TYPE                           = 3
       UNOPENED                       = 4
       UNSTARTED                      = 5
       WINDOW                         = 6
       BAD_PAGEFORMAT_FOR_PRINT       = 7
       SPOOL_ERROR                    = 8
       CODEPAGE                       = 9
       OTHERS                         = 10
    ENDFORM.
    6)     In the corresponding FORM include the following code has been added.
    DATA:  lvs_comm_type     TYPE   ad_comm,
            lvs_comm_values   TYPE   szadr_comm_values,
            xprogramm         type   sy-repid.
      ... use stratagy to get communication type
          CALL FUNCTION 'ADDR_GET_NEXT_COMM_TYPE'
               EXPORTING
                    strategy           = nast-tcode
                    address_number     = lfa1-adrnr
               IMPORTING
                    comm_type          = lvs_comm_type
                    comm_values        = lvs_comm_values
               EXCEPTIONS
                    address_not_exist  = 1
                    person_not_exist   = 2
                    no_comm_type_found = 3
                    internal_error     = 4
                    parameter_error    = 5
                    OTHERS             = 6.
          IF sy-subrc <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    convert communication data
          MOVE-CORRESPONDING nast TO intnast.
          MOVE sy-repid           TO xprogramm.
    7) By using the function module we can get sender and reciepient mail ids to variables lvs_recipient    lvs_sender
          CALL FUNCTION 'CONVERT_COMM_TYPE_DATA'
               EXPORTING
                    pi_comm_type              = lvs_comm_type
                    pi_comm_values            = lvs_comm_values
                    pi_country                = lfa1-land1
                    pi_repid                  = xprogramm
                    pi_snast                  = intnast
               IMPORTING
                    pe_itcpo                  = itcpo
                    pe_device                 = xdevice
                    pe_mail_recipient         = lvs_recipient
                    pe_mail_sender            = lvs_sender
               EXCEPTIONS
                    comm_type_not_supported   = 1
                    recipient_creation_failed = 2
                    sender_creation_failed    = 3
                    OTHERS                    = 4.
          IF sy-subrc <> 0.
          Avoids cancellation with message TD421
            p_retco = '1'.                                           "831984
            PERFORM protocol_update USING '740' space space space space.
          dummy message to make the message appear in the where-used list
            IF 1 = 2.
              MESSAGE S740(me).
            ENDIF.
            EXIT.
          ENDIF.
          IF xdevice = 'MAIL'.                                       "885787
        Check validity of email address to avoid cancellation with TD463
            CALL FUNCTION 'SX_ADDRESS_TO_DEVTYPE'                    "831984
              EXPORTING
                recipient_id            = lvs_recipient
                sender_id               = lvs_sender
              EXCEPTIONS
                err_invalid_route       = 1
                err_system              = 2
                OTHERS                  = 3.
            IF SY-SUBRC <> 0.
              p_retco = '1'.
              PERFORM protocol_update USING '740' space space space space.
           dummy message to make the message appear in the where-used list
              IF 1 = 2.
                MESSAGE S740(me).
              ENDIF.
              EXIT.
            ENDIF.
          ENDIF.
    8)     Attaching the new print program and form in NACE transaction.
    Steps for End user:
    1)     Creating the Purchase Order or RFQ with suitable document type through ME21N or ME41 .
    2)     Executing the transaction ME9F and in selecting the suitable output type.
    3)     Executing the transaction ZSEND_PDOC using INT as input.
    4) With above steps we can able to send purchase order or RFQ to vendor as an attachment through e-mail in PDF format.
    Regards
    Badari

  • Saving Acrobat 9.0 files to open in Acrobat 5.0

    I just purchased Acrobat 9.0 Pro. We have a workgroup of 7 staff, 3 use Acrobat 5.0, 2 Acrobat 8.0 and 1 - Acrobat 9.0 Pro. The issue is that when we use 9.0 and try and save docs, then those working in 5.0 cannot open them. We have tried everything, optimisation PDF/X/A/E, etc. Still nothing, those using 5.0 cannot open the 9.0 saved documents. It states that the files have been damaged. Is there anything that can be done? Has anyone else encountered this issue?
    Yes, the natural answer maybe to upgrade everyone to 9.0, but I don't wish to. One of the main reasons is that many of our clients do not have 9.0 reader.
    Any advice?

    I had the same problem when I installed Acrobat 9.1.2 ... others with Acrobat 5.0 received the "damaged" message trying to open the files. I found this was fixed by re-saving the file in Acrobat 9.1.2 using the "Document", "Reduce file size", "Make compatible with Acrobat 5.0 and Later", "Save".  This works fine and the users with Acrobat 5.0 can open the file for editing/viewing.
    This is tedious to do for every file printed.
    I attempted to fix my problem ongoing by setting the Distiller settings that are supposed to be used by Acrobat. In Distiller V 9.1 "Settings", "Edit settings", "Compatability", picked "Acrobat 4.0 (PDF 1.3), "Save As". Distiller now displays "Compatibility: Acrobat 4.0 (PDF 1.3)".
    However, when I then print from Acrobat 9.1.2 the resulting file's "Properties" displays "PDF Producer: Acrobat Distiller 9.0.0 (Windows)" and "PDF Version: 1.5 (Acrobat 6.x)". And the file can not be opened in Acrobat 5.0
    This appears to be a problem with Distiller not correctly saving the PDF 1.3 parameters (it appears to save PDF 1.5 by default); I have contacted Adobe directly but have not received a reply.

  • Gmail attachment open in acrobat reader

    On android phone.
    Can not open attachment .pdf in acrobat reader, some other program opens.
    Question is, how to change so it always opens in acrobat like before?

    Hi,
    It seems like you have set another app as the default viewer for PDFs. To change the same, please follow these steps:
    1. On your android device, go to Settings.
    2. Within Settings, go to Apps and then select the app which is currently set as the default viewer for PDFs.
    3. Find 'Clear Defaults' button under it and tap on it.
    Next time you open a PDF file, you will be asked which viewer to open it in. Select 'Adobe Reader' and press 'Always'.
    Please let us know if this doesn't solve your problem.
    Thanks.

  • After loading Mavericks, I can't see/open attached pdf files

    after loading OS X Mavericks on my MacBook Pro, I can't see/open attached pdf files. I've checked my Security Preferences in Safari and Enable Java Script and Allow Plug-Ins are both selected. Any ideas as to what I need to do???

    I checked as you noted above - this is what comes up
    Adobe Acrobat NPAPI Plug-in, Version 10.1.7
    so I assume (?) that it is installed. 
    I just went into my hydro bill and tried to open the pdf version and, low and behold, it opened.  So somewhere in between when I reinstalled it yesterday (after your suggestion) and just now, it is working!!!
    So thank-you for your help!!.  Cheers.

  • Since updating to Firefox 4.0.1 I can no longer open and populate fields in eith Adobe Acrobat Pro or Adobe Readers wher I used to be able to.

    In earlier version of Firefox I could open a PDF file from my Insurance provider with some of the fields automatically populated. Since upgrading to Firefox 4 I can no longer open PDF file from this site.
    I have upgraded to Adobe Acrobat X and also Adobe Reader X in an effort to resolve this issue with no luck.
    I have changed the settings under tools/options to use Adobe in Firefox as well as use Adobe as default with no difference.
    I seem to recall a note of some sort when upgrading Firefox to 4.0 about compatibility with Adobe but cannot recall the details.
    Any assistance would be appreciated.
    I use Windows 7 64 bit operating system.

    The URL below is to Adobe's Acrobat update page.
    There you'll find each of the incremental updates to Acrobat 10.
    They must be installed one at a time in sequence. 
      http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows
    Now, if after attempted updates fail then you'll need to speak with your IT Department.
    You need your install of Acrobat 10 updated to dot version 10.1.7.
    Be well...
    Message was edited by: CtDave

  • Why can't I open a Adobe PDF file sent to me by e-mail as an attachment?

    Why can't I open a Adobe PDF file sent to me by e-mail as an attachment?

    I don't know. What exactly happens? (Exactly - including all error messages in full please) What is your computer (e.g. Windows 7), browser, and email program?

  • I can no longer open excel documents in my doc to go app. Error message simple reads can not open attachment. And the attachment is now a winmail.dat

    I can no longer open excel documents in my doc to go app. Error message simple reads can not open attachment. And the attachment is now a winmail.dat

    winmail.dat files usually mean the email has been sent in rich text format - you could either the person who sent it to send it in a different format e.g. plain text or HTML, or there are a few apps in the store that support it (search for winmail.date in the store).
    winmail.dat files : http://support.apple.com/kb/TS1506

  • I can no longer open any PDF after my trial of Acrobat XI Pro finished...Help

    I can no longer open any PDF after my trial of Acrobat XI Pro finished...Help

    I would try using this tool to first remove all traces of Acrobat from your computer:
    http://labs.adobe.com/downloads/acrobatcleaner.html
    Then, you can download the full offline Reader installer from
    http://get.adobe.com/reader/enterprise/
    After downloading, restart your computer and run the installer before doing anything else.

  • Can no longer open email PDF attachment in iBooks

    Just discovered can no longer open on iPad mini any email attachment PDF file in iBooks.  Cannot tap attachment and select open in iBooks. PDF attachment opens itself automatically on the body of the email. Is this a PDF problem or iPad problem or iBooks problem.

    It's not a problem with either app. Just hold down on the open PDF to bring up the "open in" window. If hold down on the open PDF and select "Quick Look" , that will give you the full screen file and you will see the share icon in the upper right corner.

  • Why can't I open a pdf file on my desktop?  I keep getting this message: Adobe Reader could not open '8pdk_96_4.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and w

    Why can't I open a pdf file on my desktop?  I have Adobe Reader and running OS 10.10.1  I keep getting the same message: "Adobe Reader could not open '8pdk_96_4.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."

    I tried that.
    I saved the file 8pdk_96_4.pdf to my desktop and tried to open it using Adobe Reader but I get the same message: Adobe Reader could not open '8pdk_96_4.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).

  • Is there a feature in Adobe Acrobat that allows me to create a PDF that has a 'self destruct' capability?  We have a situation where we need to allow people to download PDF files, but after a set time (48 hours), the file can't be opened and read (e.g., s

    Can Acrobat create PDF files that once downloaded - can't be opened after some preset time (48 hours)?

    Hi Edward lkeda,
    I am not very sure of that however as per my knowledge , you can use Adobe send service and provide public link to your users and then after 48 hrs you can delete the file from server and make File-link inaccessible.
    Hope that helps,
    Please revert back for any further query. I will try my best to help you with your problem.
    Regards,
    Rahul Tyagi

  • I can't use thunderbird 31.2.0 to send attachement from a pdf file with Acrobat PRO XI

    I can't use thunderbird 31.2.0 (Mozilla) to send attachement from a pdf file with Acrobat PRO XI. Each time, Acrobat replies (in french) : "il n'y a pas de client pour la messagerie par défaut". Thunderbird is indicated as "by default" in the list of programs of Windows.
    Even if I type my e-mail address, etc. in the account of Acrobat, it doesn't change. Each time, I have to record a PDF file in a folder and return to Thunderbird to send it as attached. It is a too long process,  compared with Windows XP with Acrobat Reader or Acrobat 5, I had before.
    Would you please help me to explain the process. My OS is Windows 8.1.
    Thank you

    Thank you for your answer.
    What i want to do : to send PDF files as attached documents in a message
    generated by thunderbird by my e-mail address [email protected] or
    another one I have.
    When I introduce my e-mail address under Edit-Preferences-Email
    Accounts, Acrobat ask the e-mail account, the password, the IMAP for
    ingoing message (and I use POP) and SMTP for outgoing messages. Even I
    introduce all the datas, it doesn't change, Acrobat is unable to send
    the message. And the process is not convenient, because I need all my
    outgoing messages be documented inside Thunderbird.
    So, I repeat my request : how can I use thenderbird as program by
    default from Acrobat or any other software ?
    Thank you for your next message.
    Jean-Luc Rongé
    Le 21-10-14 14:24, ANAND8502 a écrit :
    >
          I can't use thunderbird 31.2.0 to send attachement from a pdf
          file with Acrobat PRO XI
    created by ANAND8502 <https://forums.adobe.com/people/ANAND8502> in
    /Acrobat Installation & Update Issues/ - View the full discussion
    <https://forums.adobe.com/message/6850947#6850947>

Maybe you are looking for