Batch encrypt pdf files

Hello All,
I am new here and not sure where to file this. I cannot find a category for automator
My question is, are you able to make the encrypt pdf files action under automator work? I tried to create a workflow to do the following :
1. Select finder items
2. Encrypt pdf files
After running this workflow, nothing happens to my pdf files. Can you please advise how to make this work?
Thanks!

help?

Similar Messages

  • Index/catalog & encrypt PDF files

    Hi,
    I wish to archive thousands of PDF invoices. I can do this quite easily by putting them on a CD or DVD and creating a catalog Index... however I also wish to encrypt each document and password protect it. Again this is easily achieved by creating a batch process to add Security. When I have done this the catalogue index does not work anymore - it doesn't work either when I select "Encrypt all documents except metadata (acrobat 6 and later compatible)".
    Does anyone know how to index/catalog & encrypt PDF files?
    I use Vista SP1 & Acrobat pro Extended 9.0.0
    Thanks.
    Elfed.

    Right of course, I'm a little tired this morning.
    I copied over my new js file(s) to the C:\Program Files\Adobe\Acrobat 8.0\Acrobat\Javascripts folder.
    Now that I have done that, I run the following code and get the error shown at the bottom:
     Type AcrobatCAcroAppType;AcrobatCAcroAppType =
    Type.GetTypeFromProgID("AcroExch.AVDoc"); 
    CAcroAVDoc avDoc = (Acrobat.CAcroAVDoc)Activator.CreateInstance(AcrobatCAcroAppType); 
    Type AcrobatPDDocType;AcrobatPDDocType =
    Type.GetTypeFromProgID("AcroExch.PDDoc"); 
    CAcroPDDoc pdDoc = (Acrobat.CAcroPDDoc)Activator.CreateInstance(AcrobatPDDocType); 
    try
     if (avDoc.Open(fileName, "")) //open the PDF
    pdDoc = (CAcroPDDoc)avDoc.GetPDDoc(); 
    Object jsAcroObj = pdDoc.GetJSObject(); 
    Type T = jsAcroObj.GetType(); 
    object[] saveAsParam = { "test" };T.InvokeMember(
    "TestFunction", BindingFlags.InvokeMethod | BindingFlags.Public | BindingFlags.Instance, null, jsAcroObj, saveAsParam); 
    Console.WriteLine("\tExport complete."); 
    if (avDoc.Close(1) != true) avDoc.Close(1);}
    else Console.WriteLine("Cannot open: " + fileName);}
    catch (Exception ex){
    Console.WriteLine(ex);}
    Code fails at
    T.InvokeMember line with the following error:
    System.Runtime.InteropServices.COMException (0x80020006): Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))

  • Encrypted PDF file open error

    Hi All,
    problem is when i open to outlook to check mail at that time i got mail but attached file is not open which is encrypted file
    so please help how to open attached file following process i do .
    1: convert otf to pdf file
    2: download pdf file into application server
    3:encrypt pdf file with password protect
    4:upload pdf file from application server
    5:send mail
    1. OTR TO PDF
    CALL FUNCTION 'CONVERT_OTF'
       EXPORTING
         format                      = 'PDF'
         max_linewidth               = 132
    *   ARCHIVE_INDEX               = ' '
    *   COPYNUMBER                  = 0
    *   ASCII_BIDI_VIS2LOG          = ' '
    *   PDF_DELETE_OTFTAB           = ' '
       IMPORTING
         bin_filesize                = gv_bin_filesize
    *   BIN_FILE                    =
        TABLES
          otf                         = gt_otf
          lines                       = gt_pdf_tab
       EXCEPTIONS
         err_max_linewidth           = 1
         err_format                  = 2
         err_conv_not_possible       = 3
         err_bad_otf                 = 4
         OTHERS                      = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    then download pdf file into application server using following code
    OPEN DATASET l_file FOR OUTPUT IN BINARY MODE  .
      IF  sy-subrc = 0 .
        LOOP AT gt_pdf_tab.
          TRANSFER gt_pdf_tab TO l_file .
        ENDLOOP.
        CLOSE DATASET l_file  .
      ELSE.
        WRITE : / 'operating system could not open file' .
      ENDIF.
    *Then i use command line mode Encryptpdf, from verypdf.com, *
    so successfuly file encrypted and password protected.*
    Then upload pdf filw which is encrypted form application server
    OPEN DATASET to_file FOR INPUT IN BINARY MODE.
      IF sy-subrc = 0.
        DO .
          READ DATASET to_file INTO gs_objbin. "GS_PDF_TAB.
          IF sy-subrc = 0.
            APPEND gs_objbin TO gt_objbin .  "GS_PDF_TAB TO GT_PDF_TAB.
          ELSE.
            EXIT.
          ENDIF.
        ENDDO.
        CLOSE DATASET to_file.
      ENDIF.
    then i use use FM SO_NEW_DOCUMENT_ATT_SEND_API1
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data                    = gs_docdata
         put_in_outbox                    = 'X'
         commit_work                      = 'X'
    * IMPORTING
    *   SENT_TO_ALL                      =
    *   NEW_OBJECT_ID                    =
        TABLES
          packing_list                     = gt_objpack
    *   OBJECT_HEADER                    =  I_OBJTXT
         contents_bin                     = gt_objbin
         contents_txt                     = i_objtxt
    *   CONTENTS_HEX                     =
    *   OBJECT_PARA                      =
    *   OBJECT_PARB                      =
          receivers                        = gt_reclist
       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
    Edited by: Krupaji on Oct 27, 2010 11:31 AM

    Related FM SO_NEW_DOCUMENT_ATT_SEND_API1 you can check following example:
    clear : gs_docdata,gt_objbin. "
        refresh : gt_objbin . "
    *   gs_docdata-obj_name = 'ord_accept'.
        gs_docdata-obj_name = 'Invoice'.
        gs_docdata-expiry_dat = sy-datum + 10.
    *   gs_docdata-obj_descr = 'Your Invoice No : '.
        gs_docdata-obj_descr = detail1.
        gs_docdata-sensitivty = 'F'. "Functional object
        gs_docdata-doc_size = gv_desc_lines * 255.
        clear gs_objpack-transf_bin.
    * Start line of object header in transport packet
    *    GS_OBJPACK-TRANSF_BIN = 'X'.
        gs_objpack-doc_size = gv_desc_lines * 255.
        gs_objpack-head_start = 1.
        gs_objpack-head_num = 0.
        gs_objpack-body_start = 1.
        gs_objpack-body_num = gv_desc_lines.
        gs_objpack-doc_type = 'RAW'.
    *    GS_OBJPACK-OBJ_NAME = 'ORDER_ACCEPTANCE'.
    *    GS_OBJPACK-OBJ_DESCR = 'ORDER_ACCEPTANCE.PDF'.
        append gs_objpack to gt_objpack.
      endif.
    *• Passing the SAP Script text lines to SAPoffice: Single List with Column Length 255 table
      clear : gs_objbin, gs_pdf_tab.
    *&      Encrypted file
      filename = name.
      if name is initial.
        concatenate   'd:\pdf\' main_dtl-vbeln '.PDF' into name.
      filename = name.
    endif.
    data: pdf type ref to cl_hrasr00_pdf_generation.
      data : lt_data            type solix_tab.
      open dataset filename for input in binary mode.
      if sy-subrc eq 0.
        read dataset filename into filex.
      endif.
      if filex is not initial.
        call function 'SCMS_XSTRING_TO_BINARY'
          exporting
            buffer        = filex
          importing
            output_length = file_length
          tables
            binary_tab    = gt_objbin.
      endif.
      close dataset filename.
    describe table gt_objbin lines gv_tab_lines.
      clear gs_objbin.
      read table gt_objbin into gs_objbin index gv_tab_lines.
      if sy-subrc = 0.
        gs_objpack-doc_size = ( gv_tab_lines - 1 ) * 255 + strlen( gs_objbin ).
        gs_objpack-transf_bin = 'X'.
        gs_objpack-head_start = 1.
        gs_objpack-head_num = 0.
        gs_objpack-body_start = 1.
        gs_objpack-body_num = gv_tab_lines.
        gs_objpack-doc_type = 'PDF'.
        gs_objpack-obj_name = 'INVOICE'.
        gs_objpack-obj_descr = 'Invoice Order'.
        append gs_objpack to gt_objpack.
      endif.
    call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        exporting
          document_data                    = gs_docdata
         put_in_outbox                    = 'X'
         commit_work                      = 'X'
    * IMPORTING
    *   SENT_TO_ALL                      =
    *   NEW_OBJECT_ID                    =
        tables
          packing_list                     = gt_objpack
    *   OBJECT_HEADER                    =  I_OBJTXT
         contents_bin                     = gt_objbin
         contents_txt                     = i_objtxt
    *   CONTENTS_HEX                     =
    *   OBJECT_PARA                      =
    *   OBJECT_PARB                      =
          receivers                        = gt_reclist
       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
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      else.
        open dataset name for input in binary mode.
        if sy-subrc eq 0.
          delete dataset filename.
        endif.

  • How to change the font and size in the fillable field of an encrypted PDF file?

    hi!
    I’d like to change the font and size in the fillable field of an encrypted PDF file I-485 from www.uscis.gov/files/form/i-485.pdf
    I’m using Adobe Acrobat Pro 9 in Windows XP. I firstly tried Adobe LiveCycle Designer, but the I-485 file requires password to be opened, which I don’t know.
    Then I tried to print it to a PDF file, and use the Typewriter tool to fill in the form. But got error message while printing it to PDF file:
    This PostScript file was created from an encrypted PDF file.
    Redistilling encrypted PDF is not permitted.
    The I-485 file can be exported to unencrypted postscript file, but got the same error message while trying to open the ps file.
    I don’t know much about pdf file, can anyone please help?
    Thanks a lot!

    Ask the creator of the file for a unprotected version.

  • How to batch upload PDF files into database BLOB

    Hello.
    I have a requirement to batch upload PDF files into BLOB column of an Oracle 8.1.7 table from Forms 6i Web. The content of the blob column (ie. the PDF content) MUST be displayable from all client software (eg. Oracle Web forms, HTML forms, etc.)
    Our environment is
    Middle-tier is 9iAS on Windows/2000
    Database is Oracle 8.1.7.0.0 on VMS
    Oracle Web Forms 6i Patch 10
    Basically my Oracle web form program will display a list of PDF files to upload and then the user can click on the &lt;Upload&gt; button to do the batch upload. I have experimented the following approaches but with no luck.
    1. READ_IMAGE_FILE forms built-in = does NOT work because it cannot read PDF file. I got error FRM-47100: Cannot read image file
    2. OCX and OLE form item = cannot use this because it does NOT work on the Web. I got error FRM-41344 OLE object not defined
    3. I cannot use DBMS_LOB to do the load because the PDF files are not in the database machine.
    4. Metalink Note 1682771.1 (How to upload binary documents back to database blob column from forms). When I used this, I got ORA-6502 during the hextoraw conversion. In using this solution, I have downloaded a bin2hex.exe from the Google site. I've noticed that when I looked at the converted HEX file, each line has the character : (colon) at the beginning of each line. I know the PDF file has been converted correctly to HEX format because when I convert the HEX file back to BIN format using hex2bin.exe, I'm able to display the converted bin file in Acrobat Reader. When I removed the : (colon) in the HEX file, I did NOT get the ORA-6502 error but I CANNOT display the file in Acrobat Reader. It gives an error "corrupted file".
    5. upload facility in PL/SQL Web toolkit - I tried to automatically submit the html form (with htp.p) but it does NOT load the contents of the file. I called the URL from Oracle forms using web.show_document. There seems to be issues with Oracle Web forms (JInitiator) and HTML (+ htp.p).
    The other options I can think of at this point are:
    1. Use SQL*Loader to do the batch upload via SQL*Net connection and use HOST() built-in from Oracle Webforms to execute SQL*Loader from the 9iAS.
    2. Write a Visual Basic program that reads a binary file and output the contents of the file into a byte array. Then build a DLL that can be called from Oracle webforms 6i via ORA_FFI. I don't prefer this because it means the solution will only work for Windows.
    3. Write a JSP program that streams the PDF file and insert the contents of the PDF file into blob column via JDBC. Call JSP from forms using web.show_document. With this I have to do another connection to the database when I load the file.
    4. Maybe I can use dbms_lob by using network file system (NFS) between the application server and VMS. But this will be network resource hungry as far as I know because the network connection has to be kept open.
    Please advise. Thank you.
    Regards,
    Armando

    I have downloaded a bin2hex.exe from the Google site.
    ... each line has the character : (colon) at the
    beginning of each line. I'm afraid it isn't a correct utility. I hope you'll find the source code of a correct one at metalink forum:
    Doc ID: 368771.996
    Type: Forum
    Subject: Uploading Binary Files: bin2hex and hex2bin do not reproduce the same file
    There is some links to metalink notes and some example about working with BLOB at http://www.tigralen.spb.ru/oracle/blob/index.htm. Maybe it helps. Sorry for my English. If there is any problem with code provided there, let me know by e-mail.

  • Can I batch print PDF files with Adobe Acrobat Reader X

    can I batch print PDF files with Adobe Acrobat Reader X?  I have tried from Windows Exploer (Windows XP) and it looks like the files are opening but they do not print.
    Pat

    Very strange!  What is your installed Reader version?
    Try disabling Protected Mode in Adobe Reader [Edit | Preferences | Security (Enhanced)].

  • This PostScript file was created from an encrypted PDF file.

    I have a postscript file which has been created from secure or encrypted (opening restriction) pdf.
    Now when i use distiller to convert this postscript file to pdf then distiller cannot produce a pdf file.
    The log file contains following text:
    This PostScript file was created from an encrypted PDF file.
    Redistilling encrypted PDF is not permitted.
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    1) Is there a way to convert this postscript file into pdf ?
    I have a limitation that i cannot remove security from secure pdf.
    2) Do distiller provide any settings which can be changed to convert
    this kind of ps(from secure pdf) to pdf.
    3) Can we provide password to distiller during process of conversion to
    pdf.
    4) If above methods do not work then is there a way we can
    programatically use Distiller Api's for conversion of postscript (in case
    of postscript created from secure pdf) to pdf
    Like methods 'FileToPdf' etc.
    Thanks in advance.

    I am facing a similar problem.
    My workflow dictates that I convert the input PDF job initially to PS and finally back to PDF. If the input PDF file is secure (it's not encrypted - you will still be able to open the document), the redistillation of PS to PDF fails while using Normalizer 6.0 && 9.0 libraries. If I use Normalizer 505 library, the redistillation succeeds. I have checked with the same generated PS on both Distiller 6.0 && 9.0, and both the versions fail to reconvert as well. I am a little surprised that 6.0 and 9.0 will fail to do something that 505 library manages.
    Any suggestions?

  • Batch lock PDF files

    We mostly have Acrobat 9 or X standard licenses and few Pro 9.  What I'm looking for is the ability to batch lock PDF files before we post them to consultants or partners.                   
    I know you can lock each PDF via Standard.  Pro gives you the ability to batch do it but it makes no sense to upgrade 40 licenses just for that feature.  Last resort option would be to create multipage PDFs and lock that vs. the individual but I'd like the ability to do the individual.
    The files are being locked down to print at 150dpi only.  That way the PDF's can't be imported into Illustrator and saved out to a CAD file.

    Hello
    We look exactly for the same. A Batch Script to have multiple files merged in one PDF. Can you please also send me a PM for further Information?
    Thanks a lot
    regards
    Stefan

  • Encrypted pdf file

    Hi,
    I received pdf file to my email, when i open it on my iphone the pages were blanks (White) i ask the sender to resend me the file as I thought there is some error sending it, but again the same, when i went home i open the file on mac and it is asked me for a password, then it is open and both files were fine,
    So please any one know how to open encrypted pdf file on iPhone ????

    Apparently you cannot. Sorry.

  • How to compress a batch of pdf files in different sizes to a specific target (20 mb)

    Hi,
    How do I compress a batch of pdf files in different sizes (21-39 mb) to a specific target (20 mb)?
    Thanks:)

    By endless trial and error.

  • How secure is an encrypted pdf file?

    I am using Acrobat XI Pro => Require a password to open document => use a password that is 'Best' with the 4 gray rectangles on the right lighting up green => Compatibility: Acrobat X and later, Encryption Level: 256-AES
    In other words, the above is the strongest security that Acrobat XI Pro has to offer by way of encryption. But just how secure is this strongest security? Any of the experts here care to give a lay person a feel for the level of security in case the encrypted pdf file gets in the wrong hands?

    It would be very hard (take a very long average amount of time) to crack the security with that password and encryption level, but both the "document open" and "change security" passwords should have the same high level of strength since both can be used to open the document. Be sure to use passwords that aren't susceptible to dictionary attacks.
    Check out this site: https://www.grc.com/haystack.htm
    but read the background information so you know what it's showing.

  • Need To Open An Encrypted PDF File That I Created.  No Password.

    I have Acrobat 8.  I created a document and then tried to put security on it.  Now I cannot even open the document.  It gives me the message:  "You do not have access rights to the encrypted document."  I never entered a password or anything.  I need to get this document reopened.  Also, I pasted some JPEG signatures into the document.  My reason for security measures was to make sure nobody could edit the document and right click and save as the signature JPEG.  First thing first- getting the document opened.  Then let me know how to just make it so that someone can only read and print the document and not be able to edit any typewriter insertions.  PLEASE HELP!!!!

    Hi Dom,
    Let's start with Certificate Security is not the same as Password Security. If you had encrypted the PDF file using Password Security, then whatever password you used to lock the document you would use to unlock the document. It's pretty straight forward, and in the cryptography world it would be know as symmetrical security in that you use the same key (password) to lock and unlock the file. Think of it as using a key to lock your front door to your house when you leave and the exact same key to unlock the door when you return, that's what symmetrical security is.
    Certificate security is a totally different beast. Certificate Security uses asymmetrical encryption meaning there are two different keys involved, a public key and its corresponding private key. When these keys are generated there is a voodoo that goes on that gives these two keys a symbiotic relationship in that (and this is the basic tenet of asymmetrical encryption) what one key locks only its corresponding other key can unlock. Either key can lock (really encrypt) something and only its corresponding other key can unlock (decrypt) it once it's been locked. Of these two seemingly magical keys one is designated as a private key that only the key owner has access to, and the other is designated as a public key that the whole world has access to. If you lock something with your private key then only its corresponding public key can unlock it, and yes that means that not even the private key can unlock it. You can also lock something using the public key in which case only the corresponding private key can successfully unlock it.
    When you encrypt (think of that as "lock") a PDF file using Certificate Security you are encrypting the file using one or more public keys. That is, you encrypt the file for a list of recipients where each recipient has provided you with their public key and they in turn will decrypt the document using their private key. The number of recipients is theoretically limitless, but practically there is a limit in that each recipient you include will cause the file size to grow a little and at some point you'd make the file size too large for the computer to handle, but for the sake of our discussion think unlimited number of recipients. When you encrypted the file you were asked to select a recipient. If you don't also select yourself as a recipient then you end up locking yourself out of the file, and that's exactly what happened in your case. I see from above that you are using version 8, but I believe it was version 9 where we added the warning to make sure to add yourself as a recipient so as to not lock yourself out of the file (I can't remember if it was version 8 or 9, but since you didn't mention that warning I'll assume that we didn't add the warning until 9).
    Unless you added yourself at the time you encrypted the file there is no going back to add yourself later because if you can't open the file you can't edit the file. You are locked out forever. You could ask the person that you included as a recipient to see if they can open the file and remove security, but you would have had to make them a document owner when you encrypted the file. If you restricted their editing capabilities then they won't be able to remove security, but at least you could see the contents of the file.
    I know this has all been a bit geeky, and I haven't gone into how to procure a public/private key pair, but I don't want to dump too much data on you in one post. If you need more information let me know and I'll be glad to provide it.
    Steve

  • Can I open an encrypted pdf file from Dropbox with my iPhone, iPad, or iPad Mini?

    Mac OS 10.9.3 encrypts a pdf file using Acrobat XI, then sends it to Dropbox.  Mobile device retrieves encrypted file from Dropbox.  Then can mobile device user open (unencrypt) the pdf file?

    George, you wrote something that encouraged me to try to encrypt a PDF document again using the security icon on the menu bar of my old Acrobat 8 Professional. It worked this time (it wouldn't encrypt on my first try, and I wrongly assumed that it wasn't compatible with Maverick OS).  I dropped document into Dropbox, retrieved it with mobile devices; and when I tapped on the document, it simply asked for the password and opened perfectly. When moving to a different screen, then back to the secured PDF file, one must re-enter the password again (which is good).
    As far as what PDF viewer -- I don't know.  I have the Acrobat Reader APP on my devices, is that the reader the document is using??  I've never figured out which APPs are running at any particular time on these devices.
    Many, many thanks for your reply!!

  • How do I convert a batch of pdf files to tiff

    I need to convert batches of 2000 multipage pdf files to a multipage tiff file with the same name as the original pdf

    Can't do it with Reader but it may be possible in Acrobat.
    Try asking in the Acrobat forum.
    http://forums.adobe.com/community/acrobat/creating__editing_%26_exporting_pdfs

  • Issue in encrypted PDF file

    I had encrypted one PDF file using VC++ component.
    But when i open the encrypted file in Adobe Professional it asks for saving the file.
    Password for encrypted file is : "a"
    1) File which is encrypted(Original File)
    http://www.2shared.com/file/4686154/673db65f/blank.html
    2) Encrypted File Using VC++ component
    http://www.2shared.com/file/4686152/8e5e136a/Unsaved_Encr.html
    if opened in adobe professional it asks to save, when we try to close the PDF.
    3) Following link is for file which i had opened in Adobe Professional, and choose to save when it asks for saving.
    http://www.2shared.com/file/4686153/f95923fc/Saved_Encr.html
    Can anyone please help me, why the encrypted file asks to save, when opened in Adobe professional.
    Also when i choose to save the file after opening it in Adobe professional, why it changes whole structure of my encrypted file.
    Thanks.

    Thanks Leonard,
    Is it possible for you to tell me why PDF is invalid or broken.
    OR what wrong thing done by me that broken the PDF.
    Thanks Again.

Maybe you are looking for