How to 'save a copy' of a pdf?

I am trying to change the security of the pdf  in which 'extend features in adobe reader' option is enabled. To change this i have to save a copy of a pdf.
How to save a copy of a pdf  using acrobat sdk or javascript or batch processing?
I have tried saveAs method in javascript but it doesnt work.
Please Advice.

Im trying to save the document in a location, but it is giving me a "Error 3: Bad parameter".
Here is my code.
DURING
          ASFileSysReleasePath(fileSys,pathName);
          ASPathName newPathName = ASFileSysCreatePathName(fileSys, ASAtomFromString("D:\\newPdf.pdf"),NULL,NULL);
          PDDocSave(pdDocForExp, PDSaveFull | PDSaveCopy, newPathName,fileSys, NULL, NULL);
          PDDocClose(pdDocForExp);
HANDLER
           char  buf[256], errmsg[256];
            sprintf(buf,  "Error %d: %s", ErrGetCode(ERRORCODE),      
            ASGetErrorString( ERRORCODE, errmsg,  sizeof (errmsg) ) );
            AVAlertNote(buf);
END_HANDLER

Similar Messages

  • Unable to save a copy of encrypted pdf with Acrobat Pro 10.0

    I create an encrypted pdf using prince a tool to convert HTML documents to pdf. I am unable to save a copy of the pdf file when i use Acrobat Pro 10.0.
    It displays the following error
    "The document could not be saved. There was a problem reading this document(21)."
    However Acrobat Reader (basic) allows me to do so.
    I am also able to save a copy of the document with Acrobat pro 7. I raised this issue with Prince and they told me that it could probably be a bug/unwanted behaviour with Acrobat Pro 10.0
    My system environment details:
    OS: Windows xp
    Acrobat Pro: 10.0.0
    Acrobat Reader: 10.1.0

    Use the forum for Adobe Acrobat.

  • How to save data model design in pdf or any format..?

    how to save data model design in pdf or any format..?
    i ve created design but not able to save it any mage or pdf format

    File -> Print Diagram -> To PDF File

  • Unable to save a copy of encrypted pdf with Acrobat Pro

    I create an encrypted pdf using princexml a tool to convert HTML documents to pdf. I am unable to save a copy of the pdf file when i use Acrobat Pro 10.0.
    It displays the following error
    "The document could not be saved. There was a problem reading this document(21)."
    However Acrobat Reader (basic) allows me to do so. I am also able to save a copy of the document with Acrobat pro 7. I raised this issue with Prince and they told me that it could most probably be a bug/unwanted behaviour with Acrobat Pro 10.0
    My system environment details:
    OS: Windows xp
    Acrobat Pro: 10.0.0
    Acrobat Reader: 10.1.0

    Use the forum for Adobe Acrobat.

  • How To Save Jpeg Copy As Action

    Hi - how do I create an action that saves my open image as a jpeg copy in the same directory as the original? Rather than save as export I am doing a straight 'Save As...' and then selecting the jpeg option. When you do this the 'save as copy' is greyed out. If I 'Save As..' but before changing to jpeg, whilst it is a PSD file I can select 'save as copy', then select the jpeg option. Whilst the box is greyed out it is still ticked. However it still does not save as a copy, but overwrite the original.
    Any clues? Using CS5.

    Hi.
    You can also use the keyboard shortcut Alt+Ctrl+S (save as copy) when recording the action to add copy to the name.
    There's an obvious one I missed. This solves a problem lurking in the action. Duplicate preserves the original name (plus "copy").  But the Save dialog will open to the spot recorded in the action. Not the source document folder. You might have to navigate to the right folder. So in this statement,
    The file should be saved to the same folder...
    needs a small correction. Change "should" to "probably won't".
    Using "Duplicate" severs the ties between the original document and the copy. Alt+Ctrl+S retains that link and the Save dialog opens the right folder.  If your Save step isn't conditional, the new file will be named Original Name plus "copy.jpg". So the action gets really simple.
    1. Ctrl+Alt+S. With Format set to Jpg.
    Thanks, MTSTUNER.
    Peace,
    Lee

  • Is it possible to save a copy of a PDF form created in Livecycle Designer ES3?

    Hey,
    I've created a form using the trial version of Livecycle ES3 however when I view the form I get this message:
    "you cannot save data typed into this form. Please print your completed form if you would like to keep a copy for your records."
    Is there a way around this/ is this just with the trial version? If I download the full version will the forms then be saveable?
    I don't want to send out the form to people unless they are able to save a copy as I think that this could cause issues.
    Answers much appreciated!

    If you use the File > Distribute Form this does allow recipients to save data entered into the form.  However, beware of the following points:
    1.  File > Distribute Form will take you through a process to gather information about your preferences for distribution including destination email addresses.  Once you have gone through this process, subsequently there is no option to change or reset any of the original inputs.  For example, if you wish to change the destination email address, you need to open the PDF in Acrobat Pro and go to Edit > Preferences and select the identity category.  The email address can be changed there.
    2.The File > Distribute Form, seems to make other changes to the PDF too, because it uses the email address entered when Distribute Form is first used, to submit the PDF by email.  If you have an email submit button in your form, like I did, this does not work any longer in Adobe Reader.  Clicking it now simply prompts to save a local copy of the PDF. The submit does work in Acrobat Pro, but this is useless for a distributed form.
    Paul

  • How to save sap script output in  pdf document

    hi abapers
    how to save the output of sap script in sap so that can retrieve the saved document later.
    i have to save the rcia output from sap script in pdf document in sap so that it can be retrieved later
    how to use dms

    PDF Creation + connection to DMS
    cheers
    Aveek

  • HOW TO SAVE A SCANNED FILE IN PDF FORMAT

    I HAVE A HP LASER JET M1005MFP PRINTER...
    HOW CAN I SAVE A SCANNED FILE IN PDF FORMAT..???
    PLEASE HELP AS SOON AS POSSIBLE AS IT IS URGENT.

    To get your issue more exposure I would suggest posting it in the commercial forums since the LaserJet M1005 is a commercial product. You can do this at Commercial Forums.
    I hope this helps!
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • How to save ONE single page of pdf document?

    I have a 115 page pdf document that I can open in Adobe Reader. I want to email just ONE page of this file to someone. How do I save just that one page from the file (as opposed to sending the entire pdf document)?
    I know, lame question. Thanks for any help!
    Angela

    If you're on a mac forget about Acrobat on Lion (maybe even Snow Leopard and Leopard too). I ran into this issue on Lion so here I am....
    you have to go through the routine of "printing to",, With Acrobat go to the printer preferences panel > select pdf, select save as pdf... only to find you cannot and get some even more riduclous and useless pop up telling you to chose file save as.... which only lets you save the entire document! Utter
    waste of time and space...and not what you are after.
    Solution... Open the pdf with Preview, then Cmd + P will bring up the same dialog box mentioned above with pdf down bottom left... First enter the page number into the pages option's From dialog... eg From 40 to 40 (= page 40 only) then hit the pdf bitton and dave as,,, Works perfectly with Preview but no chance with Acrobat!!!! I am starting to get the feeling that this product is fast becoming redundant as it seemingly is not up to basic operations such as printing or saving off a single page anymore. Plenty of freeware solutions are now available on the net - some of which I am quite sure would handle this... but since preview is installed on mac by default.... why not?
    After all this have a good think abou whether you will or even need to Upgrade Acrobat the next time round. It seems the more 'advanced' Adobe get the more useless certain products are becoming.... Don't know if it's just me...
    UPDATED Sept 11
    Seems there is a way to print a single page with Acrobat X.. but not at all as straightforward as mentioned above...
    You need to go View>Tools> Extract, then select the page you want and save it as a seperate pdf. Then open the new pdf and print that... Wonderfully intuitive on Adobe' s part....

  • How can save the lessons as a pdf?

    how can I save the lessons as a pdf? Or save the video for offline?

    Hi,
    If you are talking about Adobe muse help articles, you can try to print -> in Print Preview, save them as pdf. Like in this screenshot
    Hope this helps

  • How to save current output page as pdf or xls format?

    hello expert,
    i have  make 2D line graph . now i am trying to save current output page as pdf or xls format.
    how can i do this?
    please reply soon
    thanks in advance

    I have a similar problem with Firefox on android. When saving a page as PDF, often the PDF page size isn't big enough and just shows part of the full web page. Is there any way to set the PDF page size and make it bigger,say A4 or some other size?

  • Does anyone know how to change the copy on a pdf made in Indesign?  I don't have that software on my Mac

    Does anyone know how to change the text on a pdf made in Indesign when my Mac doesn't have that software?   Thanks,

    If you don't have access to Acrobat Pro or Nitro PDF Pro,  see this article:
    http://www.labnol.org/software/edit-pdf-files/10870/

  • How to save a bitmap to a pdf file format?

    Hello,
    We have a scanning application that can write out BMP files or TIFF files.  My boss would like to have the files in PDF format.  Is there a way to do this?  I can write code if given the specs.  Call an external routine if there is one available for free or low cost.  I initially get the info from a handle to a DIB, convert it to a Bitmap object, then save it to a TIFF.  I am using VB.NET and am looking for a solution that isn't too costly in cash or time since the benefit is small, but I do not know if there is one.  Even if someone can point me in the right direction I would appreciate it.
    Thanks

    Open in a graphics package and print to the Adobe PDF printer. TIFF files can be opened directly in Acrobat and converted (you would then use Save As to get the PDF). BMP files are not in the list of files converted by Acrobat, but you could still try -- might get an error message, but maybe it will work also.

  • How to save selected pages of a PDF file in Adobe 11.0.07

    I upgraded to Adobe XI version  11.0.07.
    Example:
    I have a 100 page PDF and I want to save a portion of the pages:
    Pages 49-57 of the 100.
    Is there a way to do that, I cannot seem to get it to do it, I think Adobe 9 it was possible
    Thanks

    Hi tanasiluv,
    Please check the video: http://tv.adobe.com/watch/learn-acrobat-xi/extracting-pages/
    to know how to extract pages from a pdf and create new pdf using Adobe Acrobat.
    Regards,
    Rave

  • How to save and then close a PDF Using Acrobat 9 (URGENT)

    I have been looking for a soultion for long time now but
    couldn't find any.
    I'm using a dynamic PDF form desgined using LC Desginer and created a button that should save the current opened form in the same location (no need to define the location because what I want to use is the command File -> Save) and then close the application (I'm using Acrobat 9 Pro Extended).
    I tried many scripts and gone throw JavaScript™ for Acrobat® API Reference but no luck.
    Once I click on the button I get the following error: NotAllowedError: Security settings prevent access to this property or method.
    Will you please help in this issue as it took long time and my project manager is pushing to get resolved ASAP.
    Guys, I'm new to this kind of tecnology so please be patient with me.
    Thanks in advance for your valuable help.
    The code I used in click event of the button is as follow:
         var myDoc = app.newDoc();
         myDoc.saveAs();
         myDoc.closeDoc(true);
    catch (e)
         xfa.host.messageBox(""+e);
    I used this earlier and got the same error:
    try{
          var myDoc = event.target;
         myDoc.saveAs();
    catch (e)
         xfa.host.messageBox(""+e);
    try{

    Hi Niall,
    function(){return A.apply(null,[this].concat($A(arguments)))}
    function(){return A.apply(null,[this].concat($A(arguments)))} 
    The app.execMenuItem works here. Is your form designed to be opened in Acrobat/Reader or are you opening the form in html?
    The form will be opened by Acrobat/Reader. The statement worked but what I need is to save the PDF in the current location without popping up the Save As dialog box. In other words I would like to perform Ctrl+Saction and then exit the application not only close the form because the Content Management Solution we are using will require the application to be closed so it can CheckIn the document.
    I tried to use app.execMenuItem("Save");  but it seems it is not working because once I try to close the application or the form using app.execMenuItem("Close"); the do you want to save changes to "FORM" before closing? dialog box pops-up.
    For closing the application I tried app.execMenuItem("Exit"); and I got this error: InvalidArgsError: Invalid arguments.
    function(){return A.apply(null,[this].concat($A(arguments)))}
    function(){return A.apply(null,[this].concat($A(arguments)))}Also you may want to consider how you are reader enabling the form. If you are using Acrobat to extend the form, then certain features like database connections will not work.
    The customer has Adobe LC Reader Extension so I will use it to extend the PDF but right now I do use Acrobat so I don't need to extend the PDF everytime I need to test it.
    Can I get all the arguments that execMenuItem uses?
    I really appreciate your help Niall.
    PS: I couldn't reply earlier yesterday because my work is on the server and I was at home (my time is +3 GMT it was night when I got your reply)
    Regards
    Mazen

Maybe you are looking for

  • PR Number, Operating unit and Organization

    Can any one please let me know if there is any Table or View available which gives me the relation between PR number, which Operating unit it belongs to and the Organization it belongs to. For a given PR number I want to find out its Operating Unit a

  • C API

    Hi, I was looking for a C API that worked like JMS and found the C API that comes with SUN MQs. Do you know if this C API works with other message brokers like MQ from Websphere? I need an open source API. Do you know if the C API from SUN is open so

  • Can't uninstall AIR - XP?

    Hi guys, I'm trying to test my badge installer and have seen that it is not working if the user does not have AIR installed. It's able to install the AIR file correctly, but on other machines without the AIR runtime it fails. Now to debug this and fi

  • InDesign can't load sample plug-in

    Hy, I posted the same question on StackOverflow, so this could seem a bit like cross posting, but I didn't know this forums existed, and I think I can't get a more qualified audiece to view my question here, so here I go: It's my first expirience wit

  • Optimizer run error - COM error 2 1 when deleting transportation orders

    Hi Experts, Optimizer run job (program /SAPAPO/RMSNPOPT) gets failed with following error: - COM error 2 1 when deleting transportation orders Can anybody let us know why this error occurs and how to resolve it. Thanks a lot. Regards, Chandan