Skip to main content
pardalek
Inspiring
April 17, 2007
Question

PDF preset simplier

  • April 17, 2007
  • 5 replies
  • 1154 views
Hello, <br /><br />I use this to load a named pdf preset:<br /><code><br />InterfacePtr<IPDFExptStyleListMgr> docPDFExptStyleListMgr((IPDFExptStyleListMgr*)docWorkspace->QueryInterface(IID_IPDFEXPORTSTYLELISTMGR));<br />int32 nStyleIndex=docPDFExptStyleListMgr->GetStyleIndexByName(profileName);<br />if( (nStyleIndex >-1) && (nStyleIndex<docPDFExptStyleListMgr->GetNumStyles()) )<br />styleRef = docPDFExptStyleListMgr->GetNthStyleRef(nStyleIndex);<br /></code><br /><br />In Desktop InDesign I just create the preset in the dialog. It is OK. But now I want to use the same preset in InDesign Server. Is there a way to transfer the preset from Desktop to Server, so I can use the code? Or do I have to do it in a different way?<br /><br />The same with IFlattenerStyleListMgr.
This topic has been closed for replies.

5 replies

Participant
April 28, 2008
Hello,

Can you explain better how I must to use this script:
app.importFile(ExportPresetFormat.printerPresetsFormat,"APreset.prst");

Or is there another way to load EPS presets in IDServer on the host machine?

Thanks in advance.
pardalek
pardalekAuthor
Inspiring
April 19, 2007
Thank you for help. I will try this asap.
Participating Frequently
April 18, 2007
You should just be able to copy the '.joboptions' files that contain the presets from your laptop to the machine that hosts ID server.

These joboptions files are in 'C:\Documents and Settings\All Users\Shared Documents\Adobe PDF\Settings' on Windows and '\Library\Application Support\Adobe PDF\Settings' on the Mac.

EPS presets are different. They're not stored system-wide. You'll need to save the preset on your laptop through the Print Presets dialog, then load it in IDServer on the host machine. Probably the easiest way to do that is with the script...

app.importFile(ExportPresetFormat.printerPresetsFormat,"APreset.prst");
pardalek
pardalekAuthor
Inspiring
April 18, 2007
Thank you for the quick reply, Tom. But could you please help me with this:

I have a production server running IDServer. On my laptop I design my production files and have the PDF presets defined. When I am finished with the design I transfer the prod files to the server. But how do I transfer the PDF/EPS presets?

THX!Pardal!
Participating Frequently
April 17, 2007
PDF export presets are stored system-wide. Those created in InDesign are accessible to InDesign server (or any other Adobe product that supports PDF export) and vice versa (on the Mac they're stored in '/Library/Application Support/Adobe PDF/Settings'

Flattener styles created in InDesign will also be accessible in ID server provided they are referenced in a PDF export style. If not they will need to be re-created on ID server.