Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all 20709 articles
Browse latest View live

InDesignServer instance of LBQ cost up to 1.2GB memory

$
0
0

Hi,

 

I have use InDesignServer to convert indd files to pdf with the help of LBQ feature of IDS.

But at first, the memory of each instance cost 90-150Mb, after a lots of test of converting yesterday, I find it costs up to 1.2 GB for each instance while starting up, CPU usage of each instaces can up to 25%!!!!

What's the problem? I restarted the computer and reinstall the IDS, but it still costs about 1.2 GB for each IDS instance.

 

Can anyone tell me what happened?

 

 

Darren.


PhotoShop Server???

$
0
0

Hi!

 

I wonder if there is a "Server PhotoShop" for conversion of images and generation of previews.

Sorry, i dont speek inglish very well.

Thanks

Font Not Found.

$
0
0

Hi there,

 

Running InDesign Server with a front-end that takes imported IDML files and creates a print ready .pdf. Something I noticed is that sometimes a font is missing and I get the error message from InDesign server about this. It doesn't affect the .pdf output (except for the missing font but it substitutes it). Is there a way that when an IDML file is imported that the fonts are passed to the InDesign server to process? Or do I have to install all the fonts on the server instead?

 

Just trying to figure out what's the best way to do this.

 

Thanks.

 

~Allen

How to change the default logging location to a specified location in InDesign Server

$
0
0

I have configured the logs to be written to the Windows EventLogs using the command  -LogToApplicationEventLog while starting InDesign server instance. But is it possible to provide a log file location from where I can read the logs programatically?

 

Any help will be appreciated.

 

Thanks

Swarup

Clarification on InDesign Activation (trial)

$
0
0

so right now on my windows server which is 2008 r2 I have the following installed

Captur00e.PNG

I am trying to get InDesign CC Server 2014 trial activated and here is what I have done so far

Captur00e.PNG

So I got the error that it is not properly licensed so next I ran the command from the Adobe Manager Directory : adobe_prtk --tool=StartTrial --leid=V7{}InDesignServer-10-Win-GM

Captur00e.PNG

 

Captur00e.PNG

 

Now I got a successful StartTrial indicator, so I will go back and try again

 

Captur00e.PNG

I am confused at this point? I got the right return code for successful, but yet its not licensed properly?

Just wondering if anyone has any suggestions regarding this? or maybe I am missing something and doing something incorrectly somewhere?

pb running "Catalog Producer"

$
0
0

I'm trying to set up the Demo of "Catalog Producer" in AEM 6.1 which use Indesign CC Server 2014

 

I have a running instance of AEM 6.1

I have a running instance of InDesign CC Server 2014

 

When I create a new catalog page in AEM I get some feedback from IDS but the page generation failed.

 

06/10/15 12:54:32 INFO  [javascript] Ex├®cution du script

06/10/15 12:54:32 INFO  [script] Started IDSPrint Script - Export generation....

06/10/15 12:54:32 INFO  [script] Fetching resource from CQ: /content/dam/catalogs/templates/Geometrixx Shoes.indd

06/10/15 12:55:13 ERREUR        [serveur] JavaScript Erreur !

 

Num├®ro de l'erreur : 54

Chaîne de l'erreur : Uncaught JavaScript exception: open

 

Moteur : main

Ligne : 565

Source :     cleanup(exportFolder);

 

Does it make sens form anybody ?

How/what can I check to find where is the issue ?

 

Many thanks

[IDS Win]How to flush Indesign server.

$
0
0
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.

logs in Indesign Server

$
0
0

Hi Experts,

 

We are running multiple instances of Indesign server service. But for all the instances Logs are coming into single file. Is it possible to separe the logs for each instance of server.

 

It will be great help for analysing each server request. If possible please let us know.

Thanks in advance.

 

Regards,

sameer


ExtendScript Toolkit cannot launch InDesign CS6 Server

$
0
0

I have installed the trial version of InDesign Server CS6 on Windows 2008 and am trying to run scripts against it using the ExtendScript Toolkit, but it is not working. When I select "Adobe InDesign CS6 Server" from the drop-down list in the upper left, I get an alert box that says "Cannot launch target Adobe InDesign CS6 Server!". When expanding the details box it just repeats that same message.

 

I can start InDesign fine using either the command line or the windows service and it responds to requests. As far as I can see, it is just ExtendScript that is having problems with it.

 

I have combed through the event logs and can't find anything there indicating what the problem might be. I have also googled everything I can think of looking for a solution with no luck.

 

Has anyone else run into this? Any suggestions on a solution or at least where I might be able to track down a useful error message that says why it can't launch InDesign?

How to copy and rename the indt file from one location to another

$
0
0

What would be syntx in jsx for copying and renaming the indt files from one location to another location.

Fonts load and unload

$
0
0

Hi all,

 

I working a project that we receive artwork(idml file + fonts) and we have to generate pdf files.

 

I need to "load" and "unload" fonts from indesign context. Right now I´m copying them (to indesign´s font´s folder) before  pdfs´ generation, but when i need to remove it, I can´t.. Indesign locked it.

 

It´s there anyway to release this fonts?  Is It possible to load it from another folder besides "indesign fonts´folder"

 

Regards

InDesign Server configuration and fonts

$
0
0

When you start multiple instances of InDesign Servers you specify the different configuration names.

 

Is it possible that 2 instances of InDesign Servers running on the same server with different configuration names have different fonts installed?

 

I.e. can I install some fonts of configuration level, not for the entire server?

[CS5] InDesign Server LBQ - execute copy of a script?

$
0
0

Hello,

 

Currently we are using the LBQ (load balancing) to queue up scripts to be run on our instances in IDS. After the scipt is run, we're trying to (within our .NET code) delete the script file. This works most of the time, but every once in a while we get an IO exception stating that "the file cannot be deleted because it is in use." I've run several tests and narrowed it down to being directly related to IDS executing the script, but thats about as far as I've gotten.

 

One idea that came up was to see if IDS could possible open up a copy of the script file and execute it (whether that be an option of the LBQ EnqueueJob() method, or a configuration setting on the server itself). I know that from within a script you can open up other files "as copies" but I wasn't sure if IDS had a similar ability. This would be nice because it wouldn't have to open the physical script file, thus we'd never have any trouble deleting it.

 

Has anyone ever done anything like this or know of something similar we could try?

 

Many thanks in advance!

 

-lhan

In-design Server CS4 Export to RTF format with Images not working via Java API

$
0
0

I'm using Adobe In-Design Server CS4.  And I'm accessing it via the Java SDK API interface.

 

While attempting to export my story to Rich Text Format (RTF), the images are getting left out. 

 

Yet, taking the exact same .idml file, opening it inside the desktop In-Design App, clicking inside the story, selecting "Export" & choosing "RTF", gives me a .rtf file that includes the images. 

 

Am I missing some setting somewhere in the SDK that I have to expliciately state I want images?  Or do I need to do my export off something other than the Story object? 

 

I know the images are valid, as not only does the export to RTF via the desktop application work, but through the SDK API, I can Export to PDF & the pdf includes the images.  So the image files are valid.  

 

 

Here's a code snippet.  Note the "closeDocument" method simply invokes the typical doc.close method with some custom exception handling.

 

 

                 int mainStoryIndex = 0;

                 boolean isRTF = true;  //flag to control export of rtf or pdf file.

         String documentPath = localTempDir + File.separatorChar + "NewDocument.idml";

         String pdfPath= localTempDir + File.separatorChar + "NewDocument.pdf";

         String rtfPath= localTempDir + File.separatorChar + "NewDocument.rtf";

         VariableType vtDocument = myApp.open( VariableTypeUtils.createFile( documentPath ) );

         com.adobe.ids.basics.Document doc= DocumentHelper.narrow(vtDocument.asObject());

                    

                if(isRTF) {

                          Story exportStory = doc.getAllChildStorys()[mainStoryIndex];

                          exportStory.doExport(VariableTypeUtils.createEnumeration( com.adobe.ids.enums.kExportFormatRTF.value ), rtfPath, optPreset, OptArg.noString(), OptArg.noBoolean());

                          closeDocument(doc, documentPath );

                } else {

                          doc.doExport( VariableTypeUtils.createString("Adobe PDF"), pdfPath, optPreset, OptArg.noBoolean(), OptArg.noString(), OptArg.noBoolean());

                          closeDocument(doc, documentPath);

                }

Issue with Alignment eps v jpg

$
0
0

We have a library of logos created in Indesign. These are files that our Indesign Server CS4 uses to render logos for our customers. They have a choice of rendering a jpeg or eps, however even though they are rendered from the same Indesign file the eps version looks as if the elements are misaligned (see attached file). My suspicion is that because the text is converted to outline for the eps (and not the jpeg), that this making the text wider and it is growing to the right causing the misaligned look. Is there any resource to look through regarding Indesign server converting text to outline? Something I can send to our CTO?

LOGO TEST2.jpg

Regards, Tim


How to convert idml to image via soap

$
0
0

This is cross-posted on stack overflow, so if anyone want's delicious SO rep points, head on over to http://stackoverflow.com/questions/9946460/indesign-server-how-to-export-idml-as-image and I'll be more than happy to dole them out.

 

I need the very simple functionality in my application to convert an idml file to image. I will have access to InDesign Server through SOAP but am having trouble understanding the process for actually doing this.

I have not used SOAP services in forever, and even then only for a few simple things so can someone explain the process to me?

From digging through the dozens of scattered pdfs it seems like the process has something to do with passing a javascript script to the server which will then execute against the InDesign API.

  1. Is this summation correct?
  2. How is the idml file itself passed to the server?
  3. I can't find an actual Api anywhere. How do I 'export idml to tiff' for example?

Is the Script Api for InDesign server...anywhere?

$
0
0

The closest thing I can find to a published script API is the InDesign Scripting Guide pdf (by the way Adobe, I know you love pdfs, but it is an awful format for documentation, these sort of documents is actually what HTML was invented for - use it pretty please?)

 

However, this only seems to discuss the api that is available from within InDesign. I am scripting InDesign server and it seems to be somewhat different, for example activeDocument is not actually a property on app. Is this API actually published anywhere?

Cannot start multiple sessions in CS6

$
0
0

Hi,

 

I am trying the new multi threads feature from IDS CS6 (contra using multiple instances).

But I seem unable to start several sessions from the same client.

 

I do have a machine with 4 core processors (even a multi-instances license), so I should be able to start 4 sessions in parallel.

I start a single IDS instance with SOAP on port 12345.

 

Using SoapUI:

- I make a call to "BeginSession": it returns successfully (for example sessionID 2)

- If I make a second call to "BeginSession", it returns a SOAP fault telling me that the call is already part of a session...

- If I make a third call, it returns successfully (sessionID 3)

- And so on, every second call will fail

- Furthermore, it seems that the failing call triggers the end of the previous session, because I am unable to call EndSession after that. It would explain why every second call will succeed.

- if I call BeginSession, then EndSession, BeginSession, EndSession... it works without problem.

 

I also tried using two different clients running from two different computers, against the same InDesign Server:

- Call BeginSession from client 1: success

- Call BeginSession from client 2: success

- Call EndSession from client 1: success

- Call EndSession from client 2: success

- If a client tries to open a two sessions in a row (without callind EndSession on the first one), it fails as I described in the first case above.

- If a client tries to close the session opened by the other client, I get a SOAP fault too.

 

 

So in conclusion, are we limited to open only one session per client???

Does IDS CS6 retain information on which client opened which session, and then ensure to have a maximum of one session per client?

 

This is a big problem, as I want a unique controller opening the sessions and running all server script calls... It should definitely need to open several sessions in parallel, else there would be no point in using multi-sessions instead of multi-instances.

 

Thanks for your help,

Martin

Anyone had problems running the debug version of InDesign CS6 Server

$
0
0

Hi Folks,

 

A number of developers at my firm have tried using the debug version of InDesign Server CS6, but find they cannot run it with the following error:

 

     ERROR [server] Adobe InDesign Server is not properly licensed and will now quit.

 

In each case the installer ran correctly and a valid serial number for debug CS6 used (from the Adobe Partners site).

 

We have no problems with the release version of CS6 server, or CS5/CS5.5 debug/release versions.

 

Has anyone suffered the same problem?

 

Thanks,

 

Andrew

SWF full screen mode

$
0
0

I need to generate a SWF file that will be converted into EXE and recorded a CD. When I run the EXE file on the CD takes it to appear in full screen. I can not do this in InDesign. The file is generated, but when I run is converted not appear in full screen. Only appears if I give the command CTRL F.

Viewing all 20709 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>