Export a PDF with Acrobat Layers

How do you do this via scripting? In the normal InDesign PDF export UI, this is referred to as "Create Acrobat Layers" and is only enabled for Acrobat version 6+

That property doesn't seem to do it. Here's the code I'm trying without success:
function ExportAsPDF(inDocumentPath, inSaveDocumentPath)
     try
        app.open(File(inDocumentPath));
        currentDocument = app.documents[0];
          var preset = app.pdfExportPresets.item("[High Quality Print]").duplicate();
          with(preset)
               exportLayers = true;
               subsetFontsBelow = 0;       
            pdfColorSpace = PDFColorSpace.CMYK;
            pdfDestinationProfile = PDFProfileSelector.USE_DOCUMENT;
        currentDocument.exportFile(ExportFormat.pdfType, File(inSaveDocumentPath), preset);
     catch(thisError)
          throw thisError;
As I said before, I'm trying to get a PDF with layers.

Similar Messages

  • Problem printing PDF with Acrobat Pro 9.4.4

    Hi!
    I can't correctly print a PDF with Acrobat Pro that was created in Indesign CS5.
    I want to print it on a letter format (8,5 X 11") and it offers me a format of 8,49 X 10,99". It results in having my document being printed as tile with it's original format 12 X 21,5" as if I didn't adjust the format to be reduced.
    I temporary used Preview to print my PDF, but now I can't as the encoding in which I received the PDF used to be "Creo Normalizer JTP" and now it is "Adobe PDF Library 9.9"
    If anyone can help!
    This is my first time here, thanks in advance for your help

    Here's what it looks like (I work in french, hope you can understand)
    I just updated my software, thanks for that!
    Now, my problem is still on... I still have the very same result when I print. I did selected the correct Page Scalling I needed. I did selected the paper size I wanted. I chose Shrink to Printable Area and I tried with Fit to Printable Area.
    Since I've had this problem the size appears as : 8,49 X 10,99 (Instead of 8,5 X 11). I tried with Legal (8,5 X 14) but it appears as 8,49 X 13,99. I went through the preferences, but I can't find anything that could be the problem.
    Any other idea?
    Thanks!!
    Also, Preview was very helpful, as it did print my PDF correctly! I understand it's not the best... but it did the job

  • Can't print to pdf with Acrobat 7.1.0 in Vista

    I am unable to print to pdf with Acrobat 7.1.0 in Windows Vista.  I used to be able to, now all of a sudden that functionality is gone.  I haven't knowingly done any upgrades since the last time I successfully printed to pdf, but I do have autoupdates enabled, so I can't say what Microsoft may have been up to recently.  When printing to pdf from Internet Explorer 7, the window simply closes.  A printer icon shows up in the system tray but registers 0 print jobs and soon disappears.  When printing to pdf from Word (2003), Word crashes with a series of message boxes saying something about attempting recovery.  Any suggestions?

    AcroTray is running.  Thanks for asking that question, as this is one thing that I have disabled on computers running XP, since disabling it in XP doesn't adversely affect my limited use of Acrobat in any way.  I have not disabled it with Vista.  I tried printing to file, and that also caused the window to close.  I happened to have a second IE7 window open when attempting to print to file, and it did not close, so it only affects the active window.  I don't know if that helps at all; when a program crashes, I typically observe it take with it all open windows associated with that program, so the fact that this is only closing the active window seems potentially useful to me in my ignorance of what is the root cause. 

  • How to convert large Word 2007 doc (1200 KB) to PDF with Acrobat 9 Standard

    I'm trying to convert a large Word 2007 document to PDF with Acrobat 9 Standard.  It gets as far as 58% and then says it is unable to complete the conversion.  How can I fix this?

    The file you are working on is really not that large. There probably is a problem on a certain page of the document. Break the document in half. Try to create a pdf file from each half. Hopefully, one half prints properly and one-half does not. Take the half that does not break it in half.  Try to convert each half into a pdf, etc...
    Eventually, you will find which page has a problem. Most likely there is a graphic or a font used on that page that has problem. Most likely a graphic. That graphic will need to be recreated.

  • How do I insert and delete pages from a pdf with acrobat 10X?

    How do I insert and delete pages from a pdf with acrobat 10X?

    Alternatively, be sure your page thumbnails panel is open, and click on the icon highlighted in this image, just under the heading.
    You will see a dropdown with the options you need.

  • Please advice on adding 3D-animation files into a PDF with Acrobat Pro DC.

    Hello,
    Where is the button animation in Acrobat Pro DC?
    Can you give me advice on adding 3D-animation files into a PDF with Acrobat Pro DC.
    I have Acrobat PRO DC .
    Thank you.

    Hi George,
    I just tried adding the files as attachments; however I didn't like doing that because it increased the file size of my PDF document quite a bit. 
    I'm not sure if you're familiar with the "Insert Object" command in MS Word, but I want to do the same thing in my PDF document...but the key is, anyone must to be able to open the embedded file from any location.
    I created an MS Word document with several embedded objects.  I was later asked to PDF the Word document, but since embedded MS Word objects do not migrate to the PDF, I am now trying to embed the same files I embedded into my Word document into my PDF document over top of the icon image.  The file types I'm trying to embed include MS Word, Excel, PowerPoint, and Adobe PDF.  Does this make more sense?  I want to create a hyperlink over top the icon image that was PDF'd from the MS Word document which allows any user to click on the link and open the separate file.

  • Exporting to pdf with new numbers app

    recently i upgraded from numbers 09 to numbers 3.0. i have a worksheet with 2 pages. with numbers 09 when i export to pdf it export as pdf with 2 pages works fine. but in numbers 3.0 when i wxport the same worksheet it combines both pages in one pdf page so i can't print it on 2 pages. any solution ?

    Vikas
    The solution is to Print to PDF rather than Export to PDF.
    You will see that there are two pages in the Print dialog preview, and when you choose PDF, Open in Preview, you will see that the PDF version of the file has two pages.
    Jerry

  • How do you convert an Autocad drawing into a pdf with Acrobat X Standard?

    How do you convert an Autocad drawing into a pdf with Acrobat X Standard?

    Something to try -
    Having installed Acrobat Standard you have the Adobe PDF virtual printer installed.
    From your authoring application do a "file-print" and select the Adobe PDF printer rather than the attached local or network printer / plotter.
    Be well...

  • Edit a pdf with acrobat X

    I want to make changes to a PDF with Acrobat X

    Opening a PDF in Acrobat X Pro your click-path would be:
    Tools - Content and under "Edit Text & Objects" select the desired tool.
    Be well...

  • FF 19 for Mac. changed preferences to open PDFs with Acrobat Reader. Now when I click on a pdf link, an about:blank FF window opens (pdf then opens)

    The change in preferences opens the pdf appropriately with Acrobat Reader, as desired, but before it does, FF opens a brand new blank window (about:blank). How can that action be stopped?

    Yes, I mean the eternal application.
    Ctrl-click does open the dialog, but that does not cause new/blank FF window to show up.....however shift-click opens the new/blank window, then opens another FF window with a "New Tab" heading, then opens the pdf with Acrobat Reader.....
    If open the dialog and select "open in new tab" (open in Acrobat Reader is not an option), a new tab is opened, and the the pdf come up in Reader (without opening a new FF window). In earlier FF, it just opened directly in Reader (or acrobat) without opening a new tab or window.
    Thanks

  • Bulk convert text to PDF with Acrobat

    Hi. When I convert a text file to PDF with Acrobat X Pro the character spacing in the resulting file is incorrect.  The columns of numbers which do correctly line up in the text file, do not line up correctly in the PDF file.  I adjust the settings for the conversion in the CREATE PDF FROM WEB PAGE box and I choose a fixed-width font.   If I use Adobe PDF Converter (the printer driver) the result is perfect.  If I open the text file with Microsoft Word and then convert it to PDF with PDFMaker, it is also perfect. I want to use Acrobat so that I can bulk convert my 300 text files to PDF.   Can you please help as I have tried everything?  Thank you.  Paul Pontikis (Deakin University)

    Thank you for responding LoriAUC.  I have 300 (*.txt) files that I only ever open with Notepad. I don't every open them in a web browser.  I want to bulk convert them to PDF.  The orientation of the resulting PDFs must be landscape.  It appears that the only way to select LANDSCAPE in Acrobat is to adjust the settings in the CREATE PDF FROM WEB PAGE box.  It seems that Acrobat uses its HTML Conversion Engine to convert text files to PDF.  When I do this and then bulk convert them using Bulk Convert Files to PDF, the orientation is correct, that is, landscape instead of the default portrait setting, however the character spacing is imprecise and the columns of data are wavy.
    Message was edited by: paulatdeakin

  • Accessing PDF with Acrobat viewer javabean

    I accessed a PDF Document with the Acrobat Viewer JavaBean and its totally working fine as given in :https://today.java.net/pub/a/today/2005/10/20/accessing-pdf-with-acrobat-viewer-javabean.h tml
    But I also wanted markup/annotations features in the same acrobat viewer. Is there a way to implement these features? The api given above in the link doesn't seem to provide all the updated features of acrobat. Any kind of help is appreciated.
    Thanks !

    Verify if you have the jar containing com/apple/mrj/MRJAboutHandler in your class path.
    It think it's called [MRJToolkitStubs-1.0.jar|http://mirrors.ibiblio.org/pub/mirrors/maven/mrj/jars/MRJToolkitStubs-1.0.jar]

  • Export as pdf with watermarks

    Hi everybody,
    I would like to export an inDesign document as a pdf with watermarks.  Is that possible?  If not, how can I do that otherwise?

    josefina - GA wrote:
    Hi everybody,
    I would like to export an inDesign document as a pdf with watermarks.  Is that possible?  If not, how can I do that otherwise?
    Have you tried creating the watermark on its own layer? ID CS4 has an export option to preserve layers in PDFs, and in Full Acrobat (not Reader) you can show or hide layers as you prefer. In full Acrobat I believe that you can set security to prevent users from changing the visibility and order of layers, as well as other security options.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Exporting a pdf with sections

    I was asking if it would be possible exporting a Pages file in a pdf file with sections, making these usable in Preview or another pdf reader. The exporting process works fine with the hyperlinks, but not with the favorites. Maybe I asking too much to Pages, but I believe there aren't other alternative to Acrobat standard in order to make indexed or sectioned pdf, so I try with the forum. A really wide treasure box.
    Thanks to all for a wise reply.

    Embed it. Export with Acrobat 6 or higher compatibility.
    Bob

  • Exporting a pdf with audio

    Hi there,
    I am making a pdf that I'm putting online for download. It needs to contain embedded audio files, OR links to the audio files.
    I have tried using hyperlinks, but the problem here is that my personal file path gets imbedded. The hyperlinks obviously cannot point to the audio files on my computer alone, but they do need to point to the user's computer. I can not point the hperlinks to the audio files on the web, because they will not be on line. - The audio will be downloaded along with the pdf.
    I would appreciate some advice if someone could help.
    Thanks!
    -Matt

    Embed it. Export with Acrobat 6 or higher compatibility.
    Bob

Maybe you are looking for

  • After Ios 8 upgrade I am unable to download new apps?

    After the upgrade to iOs 8 I am unable to download new apps from the iOs App Store. I have attempted to download the "Instapaper" App this mornig several times and have been unsuccessful. I launch the App Store and find the Instapaper App, click on t

  • Move data from multiple Tables to a Single Table & Convert the list to ALV.

    Hi, My aim is to get the list of Materials with their descriptions, with MRP Controller, with Unrestriced Qty. & the Reorder Qty. So, I have to fetch the data from different tables. But finally I am not able to copy or move the fetched data from mult

  • CF7 on RH Linux 5 install error

    I'm attempting to install Cold Fusion 7 on Red Hat Linux 5 (32-Bit!! OS) and receiving the following errors: awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory dirname: error while loading

  • What will happen if I install Lion on my macbook pro core duo??

    What will happen if I install Lion on my macbook pro core duo? I have one of the first Intel MacBook Pro's with a Core Duo processer, I'm having hard drive problems so want to format it and re-install my OS. I can't find my Snow Leopard disk so the e

  • Spamhaus ?

    Hello , was tried to send email to inbox.lv mail user and got reply from mail server : Message-id: <[email protected]> Date: Mon, 19 Aug 2013 23:37:14 +0300 Subject: =?utf-8?B?0L/RgNC40LzQtdGA0L3QviDRgtCw0LrQuNC1INCy0L7Qv9GA0L4=?=   =?utf-8?B?0YHRiw=