Forcing InDesign Server to create a PDF/X-3:2002 PDF. Is it possible?

Hello everybody,
I am actually working on a project where ADs are coming from a external system; this system has a "bug": it creates EPS files with included images (as expected) but it leaves inside that EPS files OPI comments.
This will cause the Adobe InDesign Client (CS4, 6.0.5) to show this message when exporting the indd doc as PDF using the [PDF/X-3:2002] preset (or any other PDF/X preset because OPI comments are not allowed in PDF/X files):
http://idisk.mac.com/lucabassini/Public/adobe/forum/Picture2.png
When receiving this message, the user can click on the OK button and save the PDF anyway.
Now look at this .jsx I produced for testing purpose:
var myFolder = "/c/test-files/";
var myDoc = "abobe-testcase.indd";
var myPDFExportPreset = app.pdfExportPresets.item("[PDF/X-3:2002]");
var myDocument = app.open(File(myFolder + "/" + myDoc));
var myDocumentName = myDocument.name;
var myPDFName = myDocumentName.replace("indd", "pdf");
var myLinks = myDocument.links;
for (i = myLinks.length-1; i >= 0 ; i--) {
     var myLink = myLinks[i];
     var myLinkName = myLink.name;
var myNewFolderPath = myFolder;
var myNewPath = myNewFolderPath + myLinkName;
     var myNewFile = new File(myNewPath);
     if (myNewFile.exists) {
          myLink.relink(myNewFile);
myDocument.exportFile(ExportFormat.pdfType, File(myFolder + "X_" + myPDFName), myPDFExportPreset);
myDocument.close(SaveOptions.no);
The script will end at the bolded line and the message I can see on the InDesignServer console is represented by this:
http://idisk.mac.com/lucabassini/Public/adobe/forum/Picture1.png
Don't care about the message in Italian, it's the same represented by the English dialog.
My question is: is it possible to force the creation of the PDF? Because actually I didn't find any possible solution to accomplish it.
Any help would be very appreciated
Best Regards,
Luca Bassini

I had confirmation that this is actually not possible by javascript.
Ciao,
Luca

Similar Messages

  • Can I export a PDF in InDesign Server and return it to the calling client?

    Using Java/CORBA between a client machine and InDesign Server, I would like to:
    1. Make a remote call to InDesign server  to create a document, passing IDML as a parameter on the call
    2. Make another remote call to InDesign server to export a PDF, returning the PDF on the call return.
    Is this possible? I notice that the doExport method does not return a PDF to the calling client. Instead, it saves the PDF on the server. I don't see any apis which would allow me to do the above.
    The use case here is a web application which need to "preview" an image. The image consists of a template and some variable data which is sent to an InDesign server for composition and is returned as an image.
    Thanks for any help.

    I fail to see the issue. You have added crop marks, have you not? For all intents and purposes those are marks that are supposed to be visible and printable for cutting in the real world. If you don't want them, don't use them. Acrobat can generate them on the fly for printing, anyway.
    Mylenium

  • How can I create multiple PDF files from multiple InDesign files?

    I have 144 InDesign files that I need to create a PDF file for each. I do not want to open each InDesign file to create the PDF's. Acrobat Batch create won't open the InDesign files. Is there another way?

    Only InDesign can do this. You may want to look at InDesign automation.

  • Installing .csf files and using them to create a pdf from Indesign.

    I have a .csf file that was sent to me that I need to:
    1.     Install (not sure how to do that in CS4),
    2.     And be able to use in Indesign when I create a pdf from an Indesign file.
    I'm not sure how to do this.

    Like it or not, InDesign is a color managed application, and your files are all being managed.
    You'll always have less grief if the working spaces match the output, but that isn't always possible. If you want to to convert to the profiles specified in the CSF file, choose one of the "Convert to Profile" settings and select the correct profile as the destination. You'll have two options, preserve numbers, or don't preserve numbers.
    Preserving numbers will cause colors to shift, but will preserve 100% K blacks. Not preseving numbers will change the numbers to give you the closes match possible in appearance, but will royally screw up your 100% K type if going to press.

  • InDesign server export .pdf, AND save .indd

    Hey all,
    Just a quick question. Is it possible to script InDesign server to export a .pdf to a certain folder location AND save the original .indd file to another folder location all automatically?
    Cheers,
    Steve.

    Sure. I suppose the typical way to tell it where to put the files would be to pass the paths as parameters to the script and retrieve them with app.scriptArgs.get(). See the SDK for more info.
    Jeff

  • [IDS Win]How to flush Indesign server.

    Hi All,
    I am using Indesign server to create documents which contains text, images & tables. My job is to create & export documents to pdf. Document are sometimes contains 300 plus pages. And cs2 server process this jobs one after the other in queue ..may be 100 jobs in a queue. Here after certain amount of time a 'out of memory' error comes up and Indesign server gets crashed(its around after processing 30-40 jobs).
    I have taken care to delete all allocated meomary in my program through New- delete pair. Still after each job allocated memory to Indesign keeps increasing.
    Is there any way so that I can purge memory from Indesign after my job complition? I tried to use 'PurgeMemory' over IDocumentList but its not that effective.
    Any suggestions are most welcommed!
    Thanks,
    Rahul.

    Well, it's been two years since the last activity in this thread, and I am having this exact same problem with InDesign Server CS4.
    I have a .NET web application that calls the IDS through SOAP and simply tells it to run a JavaScript.  In simple terms, the script opens an InDesign file, imports some XML, makes some minor formatting changes, and exports the PDF to the filesystem.  The .NET webapp then receives the status message and redirects the user directly to the finished PDF which they can then view/save/etc.
    This all works perfectly, but while it's running, I see the memory usage of InDesignServer.exe spike by several MB, and then it settles back down to a still-higher-than-initial value. Eventually, the InDesignServer.exe is taking up several hundred MB and my server starts giving out-of-memory errors.
    I'm not sure what I'm doing wrong. Like the original poster asked, it appears as though I should be flushing something that I am not. I've researched this "ErrorList" that was referenced, and my memory "leak" seems to be bigger than this (although I could be wrong), but I can't find anything in the language reference on how to programmatically flush this after each document. I'm not even sure if this is the culprit.
    Can anybody help? Many many thanks in advance
    The contents of my JavaScript is as follows (and you'll see that I'm closing the document each time):
    // We encapsulate the meat of the code in a main() function and then call main() at
    // the bottom of the script in order to facilitate proper returns
    // see http://ericwillis.wordpress.com/2008/04/18/return-value-from-indesign-server-script-via-so ap/
    function main()
         // Our script requires a school code to be passed in as an argument
         // We begin by assuming that it hasn't been passed
         var message='Error: schoolCode parameter required';
         // if the argument HAS been passed...
         if(app.scriptArgs.isDefined('schoolCode'))
              // We change our return message and proceed with processing
               message='Success: No problems reported';
              // This is our work folder
              var projectPath='/E/mywebsite/';
              // this is our starting template
              var doc = app.open(File(projectPath + 'source/Template.indd'));
              // the template has been "tagged" with XML placeholders, so here we are
              // importing the data to replace them. The filename of the XML is
              // dependent on the school code that was passed as an argument
              doc.importXML(File(projectPath + 'work/' + app.scriptArgs.getValue('schoolCode') + '.xml'));
              // The next portion of the script scans the entire document for overset
              // text (text that flows outside of it's container). If any is found, it changes
              // the text colour to red so that the author knows that they overtyped
              //Create a color.
              try{
                   doc.colors.item("Red").name;
              catch (myError)
                   doc.colors.add({name:"Red", model:ColorModel.process, colorValue:[20, 100, 80, 10]});
              // loop through each "story"
              for(x=0;x<=doc.stories.length-1;x++)
                   // if the current story has overset text...
                   if(doc.stories.item(x).overflows)
                        // change the text colour to our previously created colour
                        doc.stories.item(x).fillColor = doc.colors.item("Red");
                        // Change the message too so that we know on the server side
                        // that there's a problem
                        message='Warning: Contains overset text';
                   // We couldn't find a way to use styles to place an outside border
                   // around a variable-width & length table that we're creating
                   // dynamically in the XML. To solve this, the following loop finds all
                  // of the tables in the document and places a border around their
                  // outside-most edges only
                   // Loop through each table in this story
                   for(y=0;y<=doc.stories.item(x).tables.length-1;y++)
                        // myTable will refer to each table
                        var myTable=doc.stories.item(x).tables.item(y);
                        // Header stroke
                        var myRow=myTable.rows.item(0);
                        myRow.topEdgeStrokeColor="Black";
                        myRow.topEdgeStrokeTint=100;
                        myRow.topEdgeStrokeType="Solid";
                        myRow.topEdgeStrokeWeight=0.5;
                        myRow.topEdgeStrokeOverprint=true;
                        // Do left border
                        var myCol=myTable.columns.item(0);
                        myCol.leftEdgeStrokeColor="Black";
                        myCol.leftEdgeStrokeTint=100;
                        myCol.leftEdgeStrokeType="Solid";
                        myCol.leftEdgeStrokeWeight=0.5;
                        myCol.leftEdgeStrokeOverprint=true;
                        // Do right border
                        var myCol=myTable.columns.item(myTable.columns.length-1);
                        myCol.rightEdgeStrokeColor="Black";
                        myCol.rightEdgeStrokeTint=100;
                        myCol.rightEdgeStrokeType="Solid";
                        myCol.rightEdgeStrokeWeight=0.5;
                        myCol.rightEdgeStrokeOverprint=true;
                        // Do bottom border
                        var myRow=myTable.rows.item(myTable.rows.length-1);
                        myRow.bottomEdgeStrokeColor="Black";
                        myRow.bottomEdgeStrokeTint=100;
                        myRow.bottomEdgeStrokeType="Solid";
                        myRow.bottomEdgeStrokeWeight=0.5;
                        myRow.bottomEdgeStrokeOverprint=true;
              // Set some PDF export prefs
              app.pdfExportPreferences.cropMarks=false;
              app.pdfExportPreferences.colorBars=false;
              app.pdfExportPreferences.bleedMarks=false;
              app.pdfExportPreferences.useSecurity=false;
              // Export the PDF to the filesystem
              // the filename is dependent on the school code that was passed
              // as an argument
              doc.exportFile(ExportFormat.PDF_TYPE, File(projectPath + 'work/' + app.scriptArgs.getValue('schoolCode') + '.pdf'));
              // Close the document
              doc.close(SaveOptions.no);
         // Return whatever message was produced by this function
         return message;
    // call our main function
    main();

  • Indesign Server Licensing

    I am looking into purchasing a 3rd party product for doing dynamic date publishing using Indesign. The vendor is telling me in order to be complaint with Adobe I need to purchase an Indesign Server license even though the 3rd party application doesnt need it. It will basically sit on the shelf and collect dust. The vendor isnt even looking for us to purchase Indesign Server through, so its not like they are making any money.
    Just doesnt make sense on why I would need to purchase it. I have tried calling Adobe sales reps numerous times and either no one knows the answer or I never get called back from the people who are supposed to know the answer.
    I figured this was the best board to post this on, not sure if it would be better somewhere else.
    Does anyone have any insight into this? Any response is greatly appreciated.
    Thanks!

    I had trouble - the instructions send you down some confusing paths - but I got it working eventually. The "Installation Instructions.pdf" file indicates you need to activate the trial with Adobe Provisioning Toolkit Enterprise Edition (APTEE), but sends you to a link that says nothing about APTEE. It turns out you can find APTEE in a download called Adobe Application Manager Enterprise (AAME), which doesn't say much about APTEE, but does install APTEE in "C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\Enterprise\utilities\APTEE\CS6". You don't actually need to create a distribution package of the product installer with the UI of the installed AAME software as you might be led to believe; in the folder above is a command line tool, for which the "indesign-server-cs6-release-notes.pdf" file provides incorrect command line information regarding how to activate the 90 day trial (spurious spaces at line breaks and in command line options that are supposed to be "--" not "- -"). The actual correct command line I used successfully to activate the trial was "adobe_prtk --tool=StartTrial --leid=InDesignServer-CS6-Win-GM" .
    It really shouldn't have taken that much figuring out (especially since the InDesign Server CS6 installer itself has a UI which suggests you can just choose an option for trial mode). You can only get on the right track by reading and then ignoring the instructions, and searching around for the right download on the Adobe site.
    Glenn

  • Indesign server trial

    Hello, I would like to find a trial version of Adobe Indesign server (CS4 or CS5). I try to download it in the download area, but the link is broken. Thanks.

    I had trouble - the instructions send you down some confusing paths - but I got it working eventually. The "Installation Instructions.pdf" file indicates you need to activate the trial with Adobe Provisioning Toolkit Enterprise Edition (APTEE), but sends you to a link that says nothing about APTEE. It turns out you can find APTEE in a download called Adobe Application Manager Enterprise (AAME), which doesn't say much about APTEE, but does install APTEE in "C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\Enterprise\utilities\APTEE\CS6". You don't actually need to create a distribution package of the product installer with the UI of the installed AAME software as you might be led to believe; in the folder above is a command line tool, for which the "indesign-server-cs6-release-notes.pdf" file provides incorrect command line information regarding how to activate the 90 day trial (spurious spaces at line breaks and in command line options that are supposed to be "--" not "- -"). The actual correct command line I used successfully to activate the trial was "adobe_prtk --tool=StartTrial --leid=InDesignServer-CS6-Win-GM" .
    It really shouldn't have taken that much figuring out (especially since the InDesign Server CS6 installer itself has a UI which suggests you can just choose an option for trial mode). You can only get on the right track by reading and then ignoring the instructions, and searching around for the right download on the Adobe site.
    Glenn

  • How to create small PDFs with reasonable quality images?

    Help me Obiwan Adobe!
    There seem to be several utilities around the web that claim to do this, but I figured I'd ask the experts first. There must be some sort of step by step technique outlined somewhere that enables you to create PDFs that have reasonable image quality but don't come with such extreme weight that they can't be emailed.
    I have seen suggestions ranging from using the Print to PDF function in InDesign (sometimes that works, sometimes not), to exporting out of InDesign using the PDF/X1a preset (used to work ok, but now does not seem to crunch the files down as much as they used to) to adjusting preferences to a lower screen resolution—not in the export or save as dialog box—then saving as reduced size. I've tried almost every technique I have seen but to no avail.
    So I assume there is something I am missing. In builiding an InDesign file that you want to severely compress, is it better to use JPEGs or other PDFs or something else for placed images?
    I know it is alot to ask, and clearly native Acrobat functions are not much help, but I have several uses for this. I do a lot of book design and prefer to send drafts to clients that are at least good enough for them to look at without fuzzy images. I also would like to put together a portfolio PDF document that does not require sending through FTP. In fact most places that ask for my portfolio PDF want it smaller than 1.5 MB. That seems to be impossible.
    So there you go. Somebody needs to write a book. In fact, if I get some good direction, maybe I'll do it.
    Thanks

    A lot depends on the types of images you have and the resolution. You may be best adjusting the resolution first in InDesign and then creating the PDF. For the options in the export, you may have to ask in the ID forum since the export is an ID function. Printing to the Adobe PDF printer is the other that was suggested (I usually hear that the ID export is the best way to go, but I don't have ID to confirm). In printing to the Adobe PDF printer there are several options to consider -- one is the selection of the job settings to use. The default is Std that embeds all but the Adobe fonts and has a slightly lower graphics resolution than Press or Print settings. Also, in the advanced button of the Adobe PDF printer>layout (may vary with Acrobat version), select the Graphic>Print Quality and lower it. I use 300 dpi and several others recommend 600. The default is 1200 that is useless unless you are expecting folks to zoom to see fine details.
    If you open the job settings Adobe PDF Settings>Default Settings (select one of the settings files - probably press or print, or try Std if you want) and check the graphic tab to see the resolution that will be used for the graphics. A combination of this resolution setting and the Print Quality should address your issues.

  • Using reports to "just" create a pdf file

    Hi All,
    I'm using oracle aplication server 10g.
    I have a situation where i must send several emails into my clients. I want to use the reports server to create several pdf files attached into a "pretty" mail message.
    In the end the user will get a full report in a "pretty" html message with several pdf files.
    I have already done a very flexibal pl/sql procedure that can send emails into any mail server and using any amount of attach files.
    I have already done the reports and i can call them find from the find from oracle forms creating a pdf file.
    My problem is that i can't stop the oracle from calling the browser and showing the report on the user screen. I simple want to generate the reports... create a html email message attach the reports (pdf) and send them into the user
    Using the build in email support in oracle reports is out of the question because it's a bit limited.
    Any help would be great.

    Hi,
    Thanks a lot for your reply.
    But i do not want to use reports to send the email, i just want him to generate a pdf file and NOT OPENING the pdf file on the user browser, having that i will use my own pl/sql procedure to send the email with the pdf file attached.
    I need this because because reports is a bit limit in the email respect, and with a build in email procedure i can do a lot more things (mail queues, elaborate messages, mail store etc)
    PS: i'm using the rp2rro.rp2rro_run_product package to run the reports
    Miguel Angelo
    Message was edited by:
    [email protected]

  • InDesign Server crashes on PDF export

    I've narrowed the problem down to the PDF presets we have defined.
    We have two PDF Presets that we use with our InDesign Server, one for low quality and one for high quality.
    When exporting a document using our high quality preset, IDS will sometimes crash altogether and will have to be restarted. We've never had this problem using our low quality preset.
    The only differences between the two presets are the image compression settings. Our HQ preset is set to 200PPI for color & grayscale images, while our LQ preset is set to 72 for color and 120 for grayscale images. Also, Image quality is set to High on our HQ and Medium on our LQ preset. Those are the ONLY descrepancies between the two.
    Does IDS have problems with exporting higher quality PDFs? Is this a known issue with ID?
    I can lower the quality of the PDF and it seems to fix the issue, but I'd like to know why this happens. Also, the whole purpose of exporting in HQ is to have a "high quality" PDF.
    Production Server Hardware -
    Windows Server 2008 R2 x64
    Two of these processors - Intel Xeon CPU X5570 @ 2.93 GHz - 8 cores
    20 GB of memory
    Software Running -
    Adobe InDesign Server CS5 v 7.0.3

    I don't use the server edition, but the regular version certainly doesn't have a problem with high resolution. I have once or twice, though, seen a problem with a custom preset created in an earlier version. This seems to have disappeared for me with the 7.0.3 update, though.
    Prests being as easy to creat as they are, though, you might want to try remaking any problem presets, starting from one of the canned presets if possible, and see if it makes a difference.

  • I need to create a PDF from InDesign that people can edit in Reader or Acrobat

    I need to create a PDF from InDesign that people can edit (for example, change a name from "John" to "Johnny") from either Adobe Reader or Adobe Acrobat. I have already looked at forms, but they do not keep your font colors, faces, and sizes and just make everything that is selected as a text form Black, 12pt, Times New Roman.
    Can anyone here help me?

    Vincent,
    If you use Acrobat pro, generate your .pdf file and then save it as (french version):
    ... so that anyone using Acrobat Reader (or Pro, of course) can modify the .pdf file (with limitations), add comments, ...
    If you want to try to "protect" your .pdf file, you can try with this (in the "Préférences" menu (french version)):

  • What would cause logo colors to change when creating a PDF from an InDesign file?

    Hi,
    My graphic designer has a publication laid out in InDesign. When he creates a PDF file of the book to send to the printer, the colors of our logo on the cover change. Dramatically. The really weird thing is that everything still looks normal on his computer, which is off-site. But when he sends the file to me or the printer, it has the wrong colors. We're all at a loss as to why this is happening. Any ideas?
    Also, I'm just an editor and my experience with InDesign is pretty much limited to making text changes so I'm not well-versed in the lingo. If you could dumb down any advice you may have, it would be greatly appreciated!
    Thanks!
    Shawna

    Shawna, there really isn't realistic hope that anyone could troubleshoot the problem from here with the information you've given. If I was answering your graphic designer, I'd be interrogating him/her about the methods employed all along the way from the logo as a stand-alone file to it's placement in InDesign to the InDesign transparency blend space, possible effects or blend modes applied, and the wide range of possibilities surrounding the methods and settings used in the export/conversion to PDF.

  • What's needed for a PDF processing module for InDesign Server?

    Hello,
    After digging through lots of documentation and whitepapers, I am still puzzled about what would be an efficient way to implement a software module that handles some specific processing tasks of PDF output (automatically generated in InDesign Server and targeted for various types of print configurations from small-run LFP up to very high volume commercial printing).
    We have a working standalone script that uses Acrobat's preflight and correction functions, and now we would like to port and integrate this into a server-based workflow. Apparently, there is no Acrobat Server product available. Distiller Server does exist, but seems to be limited to converting PostScript to PDF without the PDF-to-PDF processing features we need. Some of the functionality that is typically found in RIPs (e.g. converting colours to a preset output intent with highly configurable options [for pixel/vector elements, black and spot colour ink issues etc.] and flattening native transparency) could probably be implemented using the Adobe PDF Print Engine, but this seems a bit overkill and would probably require extensive programming from scratch. I suspect there should be a smarter way to use existing software – but which? I am not yet familiar with InDesign Server; does its SDK permit full access to the same parts/functions of the PDF library that Acrobat uses for its preflight and correction features?
    Any help is welcome.
    Eric

    Gordon,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Adobe Acrobat as a server to create PDF using PDF templates and field values

    I'm writing a web page to create a PDF using fields that we ask for them in the screen.
    My idea is:
    1. Ask for field values (text values and a photo) in my web
    2. Run Adobe Acrobat to load a PDF template (PDF form) and mix with the field values
    3. Create a final PDF mixing values and template
    4. Show to document to the user in his client web browser. I guess the only way to do that is to create the PDF on a server with Adobe Acrobat Pro and send to the user browser a JPEG that will represent the  PDF: If I do this operation in the PDF visor at the client browser, the problem is that it will will be mandatory to install Adobe Acrobat in each cliente because only this visor can manage javascript.
    Can you tell me if this idea is correct? It is possible to use Adobe Acrobat on a Server to create PDF when some proccess needs?

    and what other Adobe product o procedure can we use to do that?
    I only need to create a PDF mixing PDF Templete, field values and javascript.
    Thanks for your help.

Maybe you are looking for