Export PDF of unique pages, spreads via Javascript

Hello

Thank you for taking the time to read this post. I am a beginner when it comes to scripts, so apologies if this is really simple.

I tried the search all over the internet and even looked through the Adobe guides and can't seem to find what I'm looking for.

I have put something in place in pairs printers, facing pages etc.

Via Javascript, I can export in spreads.

I also want to be able to export as single pages.

for example PDF a range of pages to: 2,3,6,7,8,5,4,1

Do it manually, I simply change the export for the below settings:

Screen Shot 2016-05-24 at 1.08.31 pm.png

How can I do this via Javascript?

Thanks in advance.

I don't think you can do like this.

you apply app.pdfExportPreferences.exportReaderSpreads = false

and after this you applying parameters of your "e-mail", who have the option to export as the pasta spread and settings if I think well last will overwrite the previous one.

In my view, that it will be easier for you to create 2 settings in indesign, recognize cases and apply search e.g. 'email_spreads' and 'email_singles' settings and control them with the button of your radio.

Otherwise you should not apply predefine the indesign pdf presets and write all parameters in your script - in this case, you will be able to drive pages/how to export spreads

Tags: InDesign

Similar Questions

  • Export PDF for Mac Pages

    Adobe Pro DC will export to pdf for the Mac Pages, without using MS Word (I have no word)?

    Yes, the PDF must be exported to Word. This does NOT MEAN WORD IS USED. You do not actually export to an application, you export to a file.

    Word saves the DOC or DOCX files. When you export a PDF file (using one of the paid services) makes a DOC or DOCX file. That's all. Apparently, Pages can read DOC or DOCX files. Here is a video on reading Word into Pages documents. https://www.YouTube.com/watch?v=IxxP7I5zy-8

    I don't really understand the thing "export to Mac. You export on Mac or Windows. If necessary you get the file for Mac. You use Pages. Quite.

  • Export PDF of selected page elements.

    Hi all

    Can we export selected elements, rather than the entire page in pdf format. If yes how it's done.

    Jasmine

    See Programming Guide InDesign http://www.adobe.com/devnet/indesign/pdfs/programming-guide.pdf page 469 as your starting point.

  • Is it possible to pdf content that spreads and have the page number on the two-page spread?

    Is it possible to PDF content chemically and have page numbers on the two pages of the spread? If for example spread 1 would be page 1 and 2 but would be only considered as page 1. Is is possible to change it to be page 1 and 2 and still a gap?

    The way to do this is to display the pdf as unique pages and then open Acrobat to change the initial display of the document settings. (There are in the file properties). Make the change, close and save the document, and then when reopen you it, you will see as spreads, but the search for the page will follow your InDesign page numbers.

  • ID CS5.5 export interactive PDF as single pages, no spreads

    I read the instructions wrong? I have a 116 page book. When I export to PDF for printing, it exports correctly, showing a page at a time. When I export to interactive PDF, pages come out as single large pages, and I find myself with a book of 58 pages in landscape format. I tried all the settings. Yes, I chose 'single page' in the area of the layout (if I select 'Two up', I find myself with 4 pages on the screen).

    Advice? I don't know I'm missing something obvious. Thank you.

    What attracts almost everyone by surprise. It's actually by design, but judging by the posts here not necessarily the best design decision. There are two ways to address this via script. Active / disables the export function extends offshore for interactive PDF export (see Interactive PDF from InDesign CS5 always a extends on |) InDesignSecrets).

    Another method is to divide the "spreads" before exporting it ("see InDesignSecrets" Blog Archive"Breaking Pages Apart to bleed off the coast a thorn and http://www.printisrael.com/indesign/scripts/freeware/SeparatePages.jsx).

    Make sure you read all the comments in the two articles. If you are unsure how to install a script, see How to install scripts in InDesign | InDesignSecrets

  • Is it possible to export a pdf file, so it conceives as extends on a computer desktop, but as unique pages on a mobile/tablet device?

    Is it possible to export a pdf file, so it conceives as extends on a computer desktop, but as unique pages on a mobile/tablet device?

    Hey chrisr60180361,

    I'm sorry this is not possible.

    You will need to save another copy of the PDF file with the unique page for mobile devices.

    Kind regards

    Nicos

  • Cannot export interactive pdf via javascript

    Hi we are generating PDF with the link url in it, if we want to use type PDF interactive to export our PDF via javascript, however, when we use below the function exportfile, it throws error:

    DOC.exportFile (ExportFormat.INTERACTIVE_PDF, leader (pdfFile));

    Output console: result: Script Exception: object does not support the property or method 'INTERACTIVE_PDF '.

    We use CS5.5 (7.5) and it works when changing ExportFormat to:

    DOC.exportFile (ExportFormat.pdfType, File (pdfFile));

    Please help.thank you.

    Make sure your app.scriptPreferences.version is set on CS5.5 (= 7.5)

  • Interactive display of unique page for PDF

    A publication that I'm working on is set up as a double-page double. When I export as an interactive PDF with layout 'single page' selected, the PDF file always sees as a spread. How can I do consider a single page?

    (I use ID 5.5)

    If I remember correctly, only InDesign CS6 can export interactive PDF files with unique pages. Earlier versions (CS5 and CS5.5) still exports an InDesign spread over a single PDF page... then if you view a page at a time in the drive, you see in fact any spread.

    You can change this in two ways:

    (1) turn on/off facing pages of your document settings and export while you have only a single page / spread (you may experience problems with your tough useful)

    (2) change export method with small script:

    http://InDesignSecrets.com/interactive-PDF-from-InDesign-CS5-always-has-spreads-on.php

    Just do scroll through the comments, basic find this scipt in downloadable file here too...

    The unique layout option you mentioned is for Adobe Reader or Acrobat. It s used to set the display mode (1 page at the time, two pages at once etc.). It has nothing to do with the export itself...

  • Convert pages of propagation for unique pages using javascript

    Hi all

    Is there a way to convert all pages in the spread or pages face to face unique pages in an Indesign document using javascript. I use Indesign CS6. Used master pages are unique pages only. Thanks in advance.

    Before:

    Spreadpages.PNG

    After:

    Singlepages.PNG

    Kind regards

    Bachi. D

    Hello

    app.activeDocument.documentPreferences.facingPages = false;

    app.activeDocument.spreads.everyItem () .allowPageShuffle = true;

    Rgds

    Jarek

  • How to set null article Page in Session Via JavaScript

    Request Express 4.2.6.00.03

    We set a value in a control SELECTION, 'P5_DATASET_NAME ', in the session with a dynamic Action on the change of this control.

    We do this with the following JavaScript code snippet:

    Apex. Server.Process ("dummy"

    , {pageItems: '#P5_DATASET_NAME'}

    , {dataType: "text"}

    Async: false,

    complete: function (ajaxResponse)

    {

    var ignoredReturn = ajaxResponse.responseText;

    }

    });

    It works perfectly, as long as the user selects a value not zero in the drop-down list SELECT down. In other words, we can make any selection (other than NULL), pop up the session in the developer toolbar and immediately see the new value it. In addition, if we then refresh an interactive report on the page that uses the value of this element in the SELECT source, he correctly extraction based on the new value.

    * HOWEVER * if the user selects the NULL option (only if they choose this option), value in the session remains unchanged and continues to be set to the previous value. The $v function correctly reports the null value. If the is updated interactive report it is based on the previous value.

    So, the question is, what is special about NULL? How can I position "unplugged", the value of a session (or null) article page via JavaScript?

    Thank you

    -Joe

    Joe Upshaw wrote:

    Request Express 4.2.6.00.03

    We set a value in a SELECTION control, "P5_DATASET_NAME", at the session with dynamic Action on the change of this control.

    We do this with the following JavaScript code snippet:

    Apex. Server.Process ("dummy"

    , {pageItems: '#P5_DATASET_NAME'}

    , {dataType: "text"}

    Async: false,

    complete: function (ajaxResponse)

    {

    var ignoredReturn = ajaxResponse.responseText;

    }

    });

    It works perfectly, as long as the user selects a value not zero in the drop-down list SELECT down. In other words, we can make any selection (other than NULL), pop up the session in the developer toolbar and immediately see the new value it. In addition, if we then refresh an interactive report on the page that uses the value of this element in the SELECT source, he correctly extraction based on the new value.

    * HOWEVER * if the user selects the NULL option (only if they choose this option), value in the session remains unchanged and continues to be set to the previous value. The $v function correctly reports the null value. If the interactive report is updated it is based on the previous value.

    So, the question is, what is special about NULL? How can I position "unplugged", the value of a session (or null) article page via JavaScript?

    Another question is: why are you going to this length instead of just using the source attribute Page to go on IR region, which will be automatically put in the session state until the IR is updated?

  • Some hyperslinks in the exported PDF file takes the Viewer to the pages "broken/missing. For example, the hyperlinks to specific of Youtube videos does not work, they brought to a youtube page is missing.

    Some hyperslinks in the exported PDF file takes the Viewer to the pages "broken/missing. For example, the hyperlinks to specific of Youtube videos does not work, they brought to a youtube page is missing.

    Hi Sarah!

    I solved it! I had to use the original URL shorter links to create

    functional hyperlinks or try to short the links using Google URL Shortener.

    I don't know why it worked by doing this, but he did!

    With the friendly and happy greetings!

    Sonny. A

    2015-11-24 9:32 GMT + 01:00 aadeshs76610910 [email protected]>:

    You talked

    by aadeshs76610910

    https://forums.Adobe.com/people/aadeshs76610910?et=notification.mention> * in

    Re: A few hyperslinks in the exported PDF file takes the Viewer to

    pages "broken/missing. For example specific Hypertext to Youtube videos links

    does not work, they will bring to a youtube page is missing. in Adobe

    Community *-view aadeshs76610910 you reference

    https://forums.Adobe.com/message/8209923?et=notification.mention#8209923>

  • can I convert a file of double-page spreads in a unique pages file

    I have a double page file I want to convert a file of unique pages.  How can I do this in Acrobat?

    Some people have written some JavaScript to fix this, but I'm not sure with scans. If you wait, one of the people with JavaScript could drop in and help (do not expect an immediate response). If you search the forum, you might find the script references. This happens once or twice a year. If it's a small file and you have time, you can crop the left and save, then recrop the side of writing and keep them. Then mix the two files and reorganize. After you place your order, you can go to the tools of protection and use the option delete hidden and make one save slot for we hope to get the desired result. I think that simply duplicate JavaScript code each page crop both, repeating the process through the entire file then remove hidden information and save, but not sure.

  • Page ID Export PDF/EPS size problems

    Hello InDesigners,

    I set up a document with the following properties 265 x 375 mm (without bleed or slug), as seen in the pictures below. However, when you export to PDF or EPS slightly reduced page size (see third photo). Is it possible to solve this problem and export formats of exact page? I use InDesign CS6 - v8.0.2.

    Thanks in advance for your help.

    P.S. The same problem also happens for standard paper such as A4 and A3 sizes.

    ID Doc Setup.png(ID Doc parameters)

    ID Paper size.png(Size of EPS when opened in Illustrator)

    ACRO properties.png(Acrobat PDF exported properties)

    For the PDF, Acrobat preferences panel change: units > units page & ruler mm

  • With adobe export how to convert PPT to pdf with notes pages it only makes the slides

    With adobe export how to convert PPT to pdf with notes pages it only makes the slides

    Hi Robert,.

    We understand your problem, but with the subscription online, we can only convert the slides in PDF format. Speaker's notes would not get converted to PDF.

    If you want to convert the speaker notes with slides, then you need to buy the complete PDF solution: Adobe Acrobat

    Hope that answers your question. I would like to know if you have any other questions.

    Kind regards

    ~ Dominique

  • When you create a PDF to ppt, pdf can be created in unique pages instead of a complete document

    When you create a PDF to ppt, pdf can be created in unique pages instead of a complete document?

    After Acrobat create a PDF from multiple pages, you can use the Extract command to break into single pages. You can do this either in tools > Pages, or in the Options menu for the Page thumbnails pane.

Maybe you are looking for

  • Lost Apps on TV

    After a recent software update my KDL-32EX523, I lost almost all my apps including Netflix and Amazon Instant Video. I have Skype only (do not use) as the external application only. Any suggestions how to get back my apps?

  • Problem restoring from Time Machine complex

    BACKGROUND: I never tried to do a restore from Time Machine. PROBLEM: 2009 iMac internal drive is unreadable. * Previously saved on Time Machine before the problem of disk internal. Replaced the internal drive with 500 GB ssd When I try to restore th

  • Cannot change programs and features "Let Windows manage"

    I changed my programs and features for best performance when it has been set to let windows manage now I can't change it back keeps saying change admin and I am the administrator how to change it back

  • Greetings: My turn off system and I need help 62115816

    Hello community: I have a HP laptop b216NR 2000 reads as follows (System disable 62115816) solutions.

  • athw8x.sys causing accidents - DRIVER_IRQL_NOT_LESS_OR_EQUAL

    Original title: causing accidents athw8x.sys Hello, I have a laptop Toshiba Windows 8 running.  I don't have any major problems with it for a few years, but recently, he has been blocked due to an error DRIVER_IRQL_NOT_LESS_OR_EQUAL.  I looked for an