Skip to main content
Oreri
Known Participant
February 1, 2025
Question

Define specific PDF export preset for specific InDesign document

  • February 1, 2025
  • 2 replies
  • 1495 views

Hello,

I have an InDesign document that I use for my invoices, each time I make a new one I export the last page of the document using a specific preset, which I only use for this invoice document. Given that InDesign by default keeps the latest export preset, there's a great chance that when I export a document from this or any other document the preset is not the right one, which is not a huge deal but in the long run it's a bit annoying, since each document export might need some specific settings, but this particular one always needs the same.

My question is: is there a way to tell InDesign that whenever I'm exporting a page from the invoice document, the preset must be by default set to the one I indicate?

 

Thank you,

L

2 replies

TᴀW
Legend
February 1, 2025

This one-line script (save it from a text editor with a .jsx extension) will export your document using whatever pdf preset you choose (just change the string between the quotes to the name of your preset):

document.exportFile(ExportFormat.PDF_TYPE, File.saveDialog(), true, app.pdfExportPresets.item("YourPresetName"));
Frans v.d. Geest
Community Expert
Community Expert
February 1, 2025

File/Adobe PDF Pre Sets/Define. Create and name your styles, and when exporting directly choose that style. Easy.

Oreri
OreriAuthor
Known Participant
February 1, 2025

Thank you Frans. Perhaps my wording wasn't very clear: I have already saved my preset for this kind of export. What I hope I could do was to assign that preset to this specific document, so that each time I'm exporting a PDF from this particular document (cmd+E), it has by default the characteristics set in the preset without having to select it in the exporting dialog.

But as you mentioned this command, I have realized that I can go to File>Adobe PDF Pre Sets and select the one I want from the menu, which is slightly faster than selecting it from the dialog box. If only there was a way to assign to that particular preset a keyboard shortcut...

Thank you,

L

Robert at ID-Tasker
Legend
February 1, 2025

@Oreri

 

Why are you using InDesign for invoices?