September 4 2007 • 1:45 PM

Page Exporter Utility (PEU) 5 Script Updated for CS3

A number of people swear by the free Page Exporter Utility for exporting InDesign documents as individual PDF, JPEG, EPS, or Postscript pages (or outputting multiple PDF files as a batch process). The bad news is that it hasn’t always been easy to find a copy of it on the Web. The good news is that the script’s author, Scott Zanelli, has consented for us to post the newest version (5) here, which is supposed to work with both CS2 and CS3. (I’ve only tested it with CS3.)

You can download Page Exporter Utility here:

click to download

The Page Exporter Utility offers a number of options for exporting your files. For example, you can export each spread as an individual PDF file, specifying custom naming and so on:

PEU1

There is also a “versioning” option that lets you create a number of different PDFs from different layer combinations. For example, lets say you have one base layer and three language layers. You would want three different PDF files: english+base, french+base, and so on.

PEU2

PEU is clever, it’s relatively fast, and it has a darn good price (free). If you’re a scripter, you can even customize the script (Scott has released it under the GNU General Public License).

71 Responses discussing this post. Add yours below.

  1. Eugene Tyson
    September 4th, 2007 • 2:14 pm • Link

    Cooooool. I’m gonna be bold and try add a RTF exporter. And an export book option… which I don’t think I will be able to do, but gotta start somewhere :D

    And hope I’m not being mean here. But when you select Change Preferences. And then press cancel, yes you get the previous screen again, but without the “change preferences” option.

    Cool Script though. Thanks for sharing.

  2. Jean-Claude Tremblay
    September 4th, 2007 • 2:14 pm • Link

    Thank you IndesignSecrets and Scott Zanelli for this new version. I’m one of thoses who cannot work without it.

  3. September 4th, 2007 • 4:39 pm • Link

    Jean-Claude, can I ask what you use the script for? I’m just curious, since you said you can’t work without it … might spark some ideas with other ID users, including myself.

  4. Jean-Claude Tremblay
    September 4th, 2007 • 5:00 pm • Link

    Hi Anne-Marie, our workflows works best with single page documents (PDF prefered, but also some time EPS). The script allow for one click export to single pdf page with naming option we can configure. And even if Indesign can export multiple page document as single EPS, their is no way to use defined custom file naming. Also, when we deal with multi-language Indesign document, the script versioning feature is a real blessing.

    Until, all this is build in Indesign natively, Scott’s script is a gift from heaven!

  5. Scott Zanelli
    September 5th, 2007 • 1:39 am • Link

    Eugene,
    The “Change Preferences” option isn’t shown twice in order to protect settings in the batch exporting mode. If the preferences weren’t hidden, then they could be changed when each document’s export options were set. This would effectively “break” things for the earlier set-ups. So, it isn’t a bug, but is intentionally set up that way.

    Thanks for bringing it up though!

  6. Stacco
    September 5th, 2007 • 6:43 am • Link

    Thank you! It’s very useful!

  7. Eugene Tyson
    September 5th, 2007 • 9:06 am • Link

    Ah I see scott, I just noticed it and thought it perculiar. I wonder if there’s a way of graying that out or something. I certainly like your script. It’s very good.

  8. saeid
    September 5th, 2007 • 1:16 pm • Link

    consider you have an indesign file for imposing a large book with 20 gigabytes size of contents and 100 pages. you must export to pdf one by one manually or use this script. But I don’t why after exporting some pages indesin says IO error and I must use print to ps instead of export to pdf

  9. September 5th, 2007 • 1:33 pm • Link

    Great script! Just saved me 1 hour of work. In our magazine we do “one article – one file”. After sending pdfs to the printer, we also need to make one pdf pr article to the website. This has been tiresome exportwork from ID.

    With the batch feature in the script the whole thing was done automaticly in a few minutes!

    Thanks a lot from Norway!

  10. Mamoon Tayih
    September 5th, 2007 • 1:59 pm • Link

    I love the version feature, it suits me fine, as I work on ads that have 3 different languages all the time, thanks alot and god bless u.

    hope I can pay you back somehow!!!

  11. karel
    September 6th, 2007 • 7:44 am • Link

    Hi! its cool script! PEU4.1 not working on ma CS2 but PEU5 is ready to use! ;)

  12. Scott Zanelli
    September 6th, 2007 • 5:46 pm • Link

    Eugene,
    No way to “gray” it out and stay compatible with CS2. The batch options will also disappear after the first job’s info is entered.

    Saeid,
    Is it the same pages giving the I/O error or does the error occur at different times? Have you tried manually exporting the page that causes the I/O error using InDesign? This would help tell if it is the script causing the problem or InDesign.

  13. saeid
    September 11th, 2007 • 2:31 pm • Link

    I/O error is indesign fault not script fault. however thanks

  14. September 13th, 2007 • 9:27 pm • Link

    This script just saved me a ton of work, thank you!

  15. September 25th, 2007 • 2:10 pm • Link

    I am new to InDesign and need to install the Printer Spread plugin. Where do I place it?

  16. David Blatner
    September 25th, 2007 • 4:18 pm • Link

    I don’t know what the Printer Spread plug-in is. Do you mean this PEU script (mentioned above)? If so, you can find out more on how to install and run scripts here.

  17. September 26th, 2007 • 11:29 am • Link

    This utility has been around a while and is a must have. Scott should be commended for his fine work on this! Glad to see its CS3 ready!

  18. October 31st, 2007 • 10:03 pm • Link

    This is a godsend for us. The countless times I have to sit and wait for Acrobat to export to single pages was an extra step that was eleminated thanks to this. Thank you very much Mr. Scott Zanelli

  19. November 20th, 2007 • 8:32 am • Link

    I remember that I used this script to export .ps-files. Propably with CS2. With the new version the .ps-option seems to be gone? I am a complete dummy in programming but a look into the javascript-code shows that the .ps-option seems to be integrated. The user interface of version 4 on http://www.lonelytreesw.com/ shows the Postscript-option. The screenshot above and the script on my mac do not.

  20. November 20th, 2007 • 4:06 pm • Link

    You have to install a Print Preset that has its printer set to “PostScript File” before the PS option will appear in the script’s main dialog box. This is done because there is no way to rename a file sent to a laser printer, etc.

  21. Jeff Watkins
    December 5th, 2007 • 4:44 am • Link

    I know time put to create a script as long as this…THANK YOU!

  22. Fred G
    March 1st, 2008 • 12:12 am • Link

    is there any way to get the ouput directory to see a whole drive and to pick a folder on that drive. I would like to put each job in its own job folder with having to go to preferences and the to name the folder and then to have to delete the folder later.
    thanks

  23. March 3rd, 2008 • 3:47 pm • Link

    In the change preferences section, change the starting directory to be the root of your drive. When exporting, make the Output directory “Specific Directory”.

    This will then bring up the “Save As” style dialog to ask you where to put the exported pages. Since you set the starting directory to the root of the drive, a simple double click should get you into your needed job folder.

  24. March 23rd, 2008 • 1:37 am • Link

    I’ve been working in InDesign for over a year now, but am new to forums, etc. Put together an 188 page real estate magazine, and have been exporting 188 individual PDFs one at a time. I just had to say thanks for taking the time to put together EXACTLY the information I needed to make a SLOW TIME CONSUMING process – fast and simple. And double thanks to the script’s author Scott.

  25. Bill J
    March 28th, 2008 • 10:46 pm • Link

    This is an excellent addition to our workflow. But, when we export our varnish files, there is no page information line. It makes it difficult to “marry up” the Kodak page proofs with the varnish overlays as the varnish printer does not have its own tag line.
    Any suggestions?

  26. March 29th, 2008 • 5:42 pm • Link

    I would need more info to give a suggestion. Send me an email and we can try to figure this out:
    szanelli11lonelytreesw2222com

    (replace 11 with @ and 2222 with .)

  27. May 6th, 2008 • 1:59 pm • Link

    You have no Idea how much time this saves us. Went from an all day process to 20min!!!
    Thank you so much.

  28. Kevin
    May 6th, 2008 • 6:40 pm • Link

    Scott, how hard would it be to convert his script for use in InCopy?

  29. Mike
    June 10th, 2008 • 6:23 pm • Link

    Can this script be customized to export a multi page InDesign document to single page InDesign documents?

  30. Scott Z.
    June 26th, 2008 • 8:07 pm • Link

    Mike,
    Doesn’t seem possible to do this:
    1) Save As can’t be scripted to save individual pages.
    2) The interchange export function also doesn’t accept page ranges
    3) Doing it as a brute force method of deleting all other pages, doing a save as and reopening the orig to continue with the next page isn’t doable because linked text would reflow and not stay on the pages where it was supposed to.

  31. Scott Z.
    June 26th, 2008 • 8:12 pm • Link

    As an FYI for anyone else, Kevin emailed me with his question about a month ago and I just noticed it was posted here also (yeah, I don’t check this forum as often as I probably should). The answer was “no”, but I may download a trial version of InCopy at some point to see how much it would take to convert it over.

  32. Damian
    July 23rd, 2008 • 6:10 am • Link

    I found that when extracting pages from within Acrobat 7, that the PDF/X-3 information was deleted. At least it didn’t acknowledge it when I ran a check it afterwards. PEU however, worked a treat, it allows you to pick your PDF job settings which is great. Only problem was that it kept opening each page in Acrobat as opposed to working in the background. But I’m not complaining, saved me a lot of time!

  33. Scott Z.
    July 31st, 2008 • 8:00 pm • Link

    Damian,

    In your InDesign PDF preset, make sure the ‘View PDF after Exporting’ option is unchecked. That will stop the pages from opening up.

  34. Paul
    August 7th, 2008 • 4:35 am • Link

    This script is just what I’m looking for but I cannot get it to work! When I link Page Exporter Utility to Indesign and run from the debug menu, i get this message:

    // Check if preferences file exists, if not save one
    peuINFO["prefsFile"] = File((Folder(app.activeScript)).parent + “/PageExporter5Prefs.txt”);
    if(!peuINFO.prefsFile.exists)

    Can you help me?

  35. Scott Z.
    August 9th, 2008 • 3:55 am • Link

    Paul,
    Depending on if you aren’t using an account with admin privileges, you may be running into permission errors.

    Try installing the script in one of the following folders/directories.

    Mac OSX:
    \Users\\Library\Preferences\Adobe InDesign\Version 5.0\Scripts\

    PC, XP:
    C:\Documents and Settings\\Application Data\Adobe\InDesign\Version 5.0\Scripts\Scripts Panel

    PC, Vista:
    C:\Users\\AppData\Roaming\Adobe\InDesign\Version 5.0\Scripts\Scripts Panel\

    On the PC, these directories are usually hidden, so the easiest way to install the script (even on the Mac) is to launch InDesign CS3, open the scripts panel, right-click (PC and Mac) or control-click (Mac) on the “User” folder in the script pallet and choose ‘Reveal in Explorer’ (PC) or ‘Reveal in Finder’ (Mac). Copy or move the script into the directory/folder that is opened.

  36. Paul
    August 12th, 2008 • 3:57 am • Link

    You are a genius! Works perfectly now! What an amazing script, thank you.

  37. brian
    September 19th, 2008 • 1:30 am • Link

    great script!! inx export would be a fantastic upgrade

  38. Thatcher
    September 30th, 2008 • 12:50 pm • Link

    Fantastic!
    I agree with Brian, inx export would be SUPER nice!

  39. Robbo
    November 10th, 2008 • 4:14 pm • Link

    Absolutely love it. Thankyou x million. But I recently sent off a magazine to the printers and they wanted me to remove the 5mm at the bottom of the PDF which contains filename, date and time information. I make postscript files and then distill through Acrobat Distiller. Can I make the files without this 5mm info line at the bottom?????

  40. Scott Z.
    November 16th, 2008 • 6:47 pm • Link

    Robbo,

    I’d need some more info to help you with this. Please contact me at szanelli “at” lonelytreesw.com.

  41. Jose
    November 18th, 2008 • 11:28 am • Link

    Does anyone know if there is script that export mulitple eps files from indesign with different file names? Not just the prefix and end file name.

    Or is there a way to name pages (not master pages) in your layout????

  42. December 5th, 2008 • 7:27 pm • Link

    Sheer genius!!! You just saved me hours and hours of work.

    Thank you so much, I really appreciate this.

  43. rich Graham
    January 10th, 2009 • 6:34 am • Link

    This has been a great addition to our workflow.
    Will this version work with Indesign CS4?

  44. January 22nd, 2009 • 5:03 pm • Link

    Also works on CS4

  45. Mike Oliver
    February 6th, 2009 • 7:43 am • Link

    I can’t seem to find a way to add bleed and crop marks as well? When I do the script it exports the files as the trim size only. Thanks.

  46. February 6th, 2009 • 9:19 am • Link

    Mike,

    I don’t have time to test this right now, but try creating a new PDF preset and set the bleed settings there. Then when you use the utility, select the preset you just made.

  47. February 6th, 2009 • 6:26 pm • Link

    Mike, Sorry I was vague before.

    When defining the PDF preset (File>Adobe PDF Presets>Define…), go to the Marks and Bleeds tab, and check the boxes for Crop Marks, Use Document Bleed Settings, and Include Slug Area.

    Then save the preset.

    Now, when you run the utility, and it asks you to choose a PDF Export Preset, select the one you just made.

    I just ran it on my CS4, and it created PDF’s that showed the bleed area as well as crop marks.

    Hope that helps.

  48. Mike Oliver
    February 7th, 2009 • 7:47 am • Link

    Where are you saving your pdf preset file? When I get the option to choose I only see my distiller settings I have set up.

  49. February 7th, 2009 • 11:37 am • Link

    I’m saving it in InDesign, under File>Adobe PDF Presets>Define…

    http://img156.imageshack.us/img156/197/picture1pc7.png

  50. Mike Oliver
    February 7th, 2009 • 12:32 pm • Link

    No I mean when it ask where do you want to save the .prst file on your drive.

  51. February 7th, 2009 • 3:06 pm • Link

    It’s never asked me where I wanted to save the file.

    When I go to Define, it lists the pre-existing presets, and has buttons for creating a new preset, editing an existing one, deleting, loading or saving.

    http://img443.imageshack.us/img443/3747/picture2oy3.png

    I click New, and i get the dialogue window where I choose my settings, and then I click OK, and return to the list of presets, where I then click Done.

    Are you clicking on Save As?

  52. Mike Oliver
    February 7th, 2009 • 3:13 pm • Link

    That was it, it doesn’t say save as, just save. Didn’t realize OK was enough for a new setting. Thanks for your help!

  53. February 10th, 2009 • 11:08 pm • Link

    I found this script, well must be about a year ago now, nope just checked file dates, it was November 2007 (how time flies), It has been the most useful utility.

    I export to pdf for printing, also to sales reps for proofing, I do this many many times each day and have found it easier to have two copies of the script running. One for output to the rip & one for output to sales reps for proofing, this saves changing the Output Directory all the time. That may sound minor but it does help a lot.

    Hopefully one day they will upgrade us from CS to a newer version of Indesign and will be able to upgrade to your latest version. until then 4.1 is the best thing ever.

    Thank you Scott for a great job.

  54. February 10th, 2009 • 11:11 pm • Link

    Just one more thing if I may, It would be really good if the Done exporting as a single PDF file dialog would not show up after exporting every file. Is this possible

  55. Lee Howson
    February 15th, 2009 • 4:38 pm • Link

    Is it possible using the script to place a three digit page number at the front of each single page pdf. ie 001_Book.pdf. I’m assuming it is possible but I can’t find the option. Wonderful script though

  56. Eivind
    February 24th, 2009 • 9:02 am • Link

    This script seems to be precisely what I’m looking for, with one exeption.

    I need a batch processing program that will look into say 2 folders deep into a given directory and open InDesign CS4 documents with a certain string in the file name. For example, “_book” or “ins” and export them as a PDF.

    It looks as though this script will do most of that. Is the search by keyword element easy to implement?

  57. Malik Aziz
    March 6th, 2009 • 11:47 am • Link

    Again, a hint (and script) from InDesignSecrets.com SAVES THE DAY. Unbelievable.

    Little hint: It’d be nice if one could also turn on the Bleed for exporting. I know I can create a PDF setting which includes this but most of the times I just want PDF/X 1-a plus Bleed included.

  58. rich Graham
    April 19th, 2009 • 3:06 pm • Link

    This tool has made our prepress dept so much more efficient!
    Can’t live without it!
    We have to deal with all kinds of Doc,
    Is there a page export utility for quark 7?

  59. Rhiannon
    May 13th, 2009 • 3:58 am • Link

    This script looks useful, but doesn’t do quite what I need. I would like to be able to export, not individual pages, but individual sections of a document. (I create multi-author books as single ID documents with a section for each chapter, and then send a PDF of each chapter to the relevant author for proofing.) Could the script be adapted to cater for this need?

  60. bryce
    July 8th, 2009 • 8:56 pm • Link

    Hi there, very good script, May i know how i can take off the date and file name on the final pdf files, thanks

  61. Ric Vieira
    July 24th, 2009 • 6:30 pm • Link

    I cannot see myself using this.

    It’s not very reliable… (not professionally anyway!)

    PDF and JPEG exports are ok, but EPS and PostScript are flawed with thin white keylines around text boxes (specially over a dark back ground).

    Also both these formats crop pages very oddly!
    Needs metric measurements (not Americana).

    Briefly, when I sent these to people, their first question is:
    “… those lines are awful, I don’t like them. – Can you delete them, why did you leave them there?” etc. etc.

  62. Paolo Yabao
    July 28th, 2009 • 2:56 am • Link

    Thanks so much to Scott for coding this!! I’ve been looking for a program like this for so many issues of our mags.. thanks!! now we wont have to export per single page at a time!! Fantastic work Scottie!

  63. Tom Farris
    July 28th, 2009 • 8:46 am • Link

    Great Script. I have one problem. My file has 50 layers. On the Version Manager screen where you select Base layer and Version layer the screen doesn’t scroll t allow me to see all the layers.

  64. Paula Gray
    July 30th, 2009 • 12:48 pm • Link

    I need to know how to remove the file name and date etc. from the bottom of the final pdfs as well.
    This could possibly save us hours of work!

  65. Tom Farris
    August 3rd, 2009 • 7:39 am • Link

    On the second window “Postscript Options” under Override PS Page Size, type in your documents original page size. This cuuts off the extra .25″ the script adds to your page with the info on it. Presto – No more extra info line.

  66. Peter
    September 2nd, 2009 • 7:00 am • Link

    This page exporter script works well in CS4. Thank you. Saves hours of time.

  67. September 15th, 2009 • 8:33 am • Link

    Thank you so very much – this is exactly what I’ve been looking for!!! xoxox

  68. Greg
    October 22nd, 2009 • 6:43 pm • Link

    Hi Scott,
    We were using this utility in CS3 and it changed some of our images to LoRes if they were compressed. When exporting as one large PDF directly from CS3 they were fine. Are you aware of a bug causing this? It definitely does something to select images, which we had a sheet of pics of football players and several changed resolution. Please let me know if you are aware of this as I can document and send you if you like.
    Thanks,
    Greg

  69. Joan
    November 19th, 2009 • 11:36 am • Link

    We’re using the script on hundreds of catalog pages with InDesign CS2. It causes InDesign to crash over and over, sometimes I can only get one page PDFed. InDesign crashes while the script is running, and I have to reopen it and try again. We thought this would be a great tool but it hasn’t worked well for us. Have you heard of anyone else having this problem? I looked at some of the comments but didn’t find anyone with a similar situation.

  70. Richard Shaw
    December 8th, 2009 • 9:01 pm • Link

    A great plugin, thanks. Unfortunately my version (5.0.1) still won’t export to pdf and include the page info tags. In fact, after exporting a document using PEU, the “page information” box in the PDF export settings is unchecked ( even though it had previously been checked).

  71. Mai
    December 10th, 2009 • 6:32 am • Link

    thanks a lot it is very great script

    Mai Ali,
    Egypt

Subscribe to the Discussion

Get the ongoing discussion surrounding "Page Exporter Utility (PEU) 5 Script Updated for CS3" delivered to you. Click here to subscribe via RSS.

Leave a Reply

You can use limited HTML tags, such as <em></em> for emphasis/italics and <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .

InDesignSecrets reserves the right to edit and/or remove posts and comments.