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

Font Corruption with InDesign Server CS 5.5

$
0
0

Hello,

 

We have a production system that is working great with our applications. Recently we put some new fonts in the Adobe Font directory (not the Windows Font directory) and on some of our .pdf outputs there was font corruption (lots of weird characters, etc). It seemed that the system read those fonts and corrupted different outputs, even when they were not referencing those specific fonts.

 

I ended up copying the new fonts into the Windows font directory and all went ok but now we're not seeing those specific fonts being used by InDesign.

 

So question - when I have a piece that requires a specific font, where do I put that font on the server and how to place it so it won't corrupt my other systems and their outputs that don't use those fonts?


Outlines in master pages

$
0
0

Hello everybody, I have found a problem with the ouline function in the indesign server scripting.

I don't know if this is the correct section or I must use "Indesign scripting"

 

Well, I am going to try to explain my problem:

 

I have a script to do (between others) the ouline of all the document. My problem appear when I want to do the outline of some content placed and linked in the master.

For example, the page number is usually place in the master page and is a link added with a "special character".

The problem is that althought the outline is correctly made, the content of the box is wrong. It is not the page number, but the character 'A' which appears when the special character is added.

 

It seems that the problem is that when the system try to do the outline the content of the link is lost.

One solution would be to take to the front end the box, i.e. quit that box to the master page, but I don't know how can I do that from the script.

 

I hope that everything is well explained and someone could help me.

 

Regards

making cross domains call to indesignserver using jsonp?

Indesign Server CS6 errors

$
0
0

Hi

We use indesign server cs6 highly for background processing, but we got often too much problems (bugs) and did not know where to find support, we are going crazy.

 

Problems:

1) We get this error when opening and exporting to jpg and xml some indesign files. THIS HAPPENS on EXPORT JPG of indesign. Code:

app.consoleout("INIT JPG");

theDocument.exportFile(ExportFormat.JPG, new File(jpg_out) );

app.consoleout("FINISH JPG");:

unknown encoding ##UTF-8: using iso88591 as fallbackcs61.jpg

 

2) When inserting text into some stylerange that contains newlines , randomly, not always, the style of the style range is loosed and do not know why. example of code:

text = text.replace(/{br}/g, "\r");

text = text.replace(/{br_special}/g, "\n");

style_range.contents = text;//LOOSE styleeess??!

 

Please can anyone help or give any suggestions?

InDesign Server CS6 cannot open more than 140 files? Error 3588.

$
0
0

I'm testing InDesign Server CS6. One instance, one thread. Is it not able to keep opened more than 140 concurrent files?

 

Console Server gives me this Error: 3588.

 

Thanks,

IndesignServer Object Model files

$
0
0

Greetings

 

I was wondering: when loading the IndesignServer Object Model in extendscript_toolkit , where are those files located?

It looks like an Adobe Flex application, that loads like for example, and XML or something.

 

Does anyone know where I can find all the class files information in a seperate file or something, for Indesign Server?

 

Thanks!

 

Regards

 

Mario

Running sample .command files return "command not found"

$
0
0

Greetings,

 

I'm trying to run the following script located in the SDK sample folder:

 

startup-indesign-server-CORBA-4instances.command

 

This is what I run in Terminal (mac):

 

/Applications/Adobe\ InDesign\ CS6\ Server/samples/load-balancing-and-queuing-clients/indesignserver-startup-scripts/startup- indesign-server-CORBA-4instances.command

 

and this is what Terminal returns: : command not found.

 

Anybody any idea what's going on and how I can run this script? I've tried sudo already but nothing...

 

Thanks!

 

Greetings

 

M.

How to flush Indesign server.

$
0
0

I am using Indesign server to create documents which contains text and images. My job is to create & export documents to pdf. Document are sometimes contains 100 plus pages. I'm closing the document each time.

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


Problem processing files when plug-in not available

$
0
0

I our newspaper production we us a third party plugin: MEDIALINKID(MODEL).PLN fra Atex. When Indesign server tries to process documents saved from compuers using this plug-in, indesign server produce this error message:

06/25/13 15:03:39 ERROR [server] The document "ABBSA1-2105-1-002-T.indd" uses one or more plug-ins which are not currently available on your system. MEDIALINKID(MODEL).PLN

I have tried to install the plugin in Indesign server plug-in folder but that does not help. Is it possible to instruct Indesign Server to ignore the missing plugin message? A far as I know there are no content in the files that are dependent on the plug-in being available.

Unable to run Multiple Sessions in InDesign Server

$
0
0

Hi,

 

I was trying to execute the following code simultaneously using two threads. But it executed only the first thread and it got stuck with the second thread while it was exceuting the line stub.beginSession(). Please comment on this.

 

try {

 

 

                              // Setup the parameters

                              RunScriptParameters runScriptParams = new RunScriptParameters();

                              runScriptParams.setScriptLanguage("javascript");

 

 

                              runScriptParams.setScriptText("alert('hello world')");

 

                              BasicClientConfig basicClientConfig = new BasicClientConfig();

                              SimpleChain httpChain = new SimpleChain();

                              httpChain.addHandler(new CommonsHTTPSender());

                              basicClientConfig.deployTransport("http", httpChain);

 

 

                              // Make a service

                              Service inDesignService = new ServiceLocator(basicClientConfig);

                              ServiceStub stub = (ServiceStub) inDesignService

                                                  .getService(new URL("http://127.0.0.1:8470"));

 

 

                              UnsignedInt sessionID = stub.beginSession();

                              System.out.println("begin session : " + sessionID.toString());

 

 

                              // Set sessionID into header so that server knows run scripts in

                              // a session context.

                              SOAPHeaderElement header = new SOAPHeaderElement(

                                                  "http://ns.adobe.com/InDesign/soap/", "sessionID");

                              header.addTextNode(sessionID.toString());

                              stub.setHeader(header);

 

 

                              IntHolder errorNumber = new IntHolder(0);

                              StringHolder errorString = new StringHolder();

                              DataHolder results = new DataHolder();

 

 

                              // Execute the script

 

 

                              stub.runScript(runScriptParams, errorNumber, errorString, results);

 

 

                              if (errorNumber.value == 0) {

                                        System.out.println("Script success");

                                        if (results.value.getData() == null)

                                                  System.out.println(": Script reported no errors");

                                        else

                                                  System.out.println(" ("

                                                                      + results.value.getData().getClass().getName()

                                                                      + "): " + results.value.getData());

                              } else {

                                        System.err.println("Error number: " + errorNumber.value);

                                        if (!errorString.value.equals(null))

                                                  System.err.println(errorString.value);

                              }

 

 

                              try {

                                        stub.endSession(sessionID);

                              } catch (NullPointerException e) {

                              }

 

 

                              System.out.println("end session : " + sessionID.toString());

 

 

                    } catch (IllegalArgumentException e) {

                    } catch (IOException e) {

                              System.err.println(e.getMessage());

                    } catch (Exception e) {

                              System.err.println(e.getMessage());

                    }

 

Thanks And Best Regards,

Dinesh.

InDesignServer Jpeg - antiAlias jpegColorSpace

$
0
0

Can anyone tell me if antiAlias, jpegColorSpace and embedColorProfile exist in the InDesignServer Jpeg output? I know with the stanalone application you can use JPEGExportPreference.

 

 

 

opJPG.antiAlias = true;

 

opJPG.embedColorProfile = true;

 

opJPG.jpegColorSpace = JpegColorSpaceEnum.RGB;

 

 

 

 

 

Thank you,

 

Warren

I am facing difficulties activating InDesign CS6 server

$
0
0

I'd like to share with you my frustration about InDesign CS6 Server which tries to do the very same as shown above, but apparenty noone at Adobe did think about the fact that ID Server has NO GUI. So as a customer youre left with an Installation that provides NO means for later offline activation, but provides the very same link at installation, basically guiding you through a process that can not be accomplished with ID Server by any means.

Moreover, the Installer claims there is a 7-day grace period until you MUST have activated your license but even with entering a valid code the Server wont start from second ONE, stating "Adobe InDesign Server is not properly licensed and will now quit". This sort of misdesign is what makes customers furious! And then they wonder why people use circumvention technologies.

InDesign Server 10 CC 2014

$
0
0

Hi there,

 

we are using InDesign CS4 upt o CC 2014 and have some automation going with InDesign Server.

Our latest InDesign Server is 9. This workflow can't handle CC 2014- Documents.

 

Is there any Release-Date for InDesign Server CC 2014?

 

Many thanks,

Florian

downgrade license

$
0
0

hi.

 

today, we have a license adobe indesign server multi instance creative cloud

but we need install indesign server cs6 and we don't have the serial number for the installation .

how canI downgrade the license please ?

 

Best regards

Tessier Julien

How to work with Layout Windows

$
0
0

myDoc.layoutWindows[0] not working with indesign server It shows object not supported.

Any alternative for this to use with indesign server??


Upgrading from CS6 to CC 2014.

$
0
0

Hi all,

 

We have a couple of production CS6 servers that are processing dynamic IDML files into final .pdf or .indd (ready for print) packages. We're not doing anything fairly custom besides multiple pages, dynamic tagging, etc.

 

I would like to upgrade from CS6 to CC2014. Are there any major steps/hurdles to do so? I'm not finding a lot of 2014 documentation out there on this either. Oh, we're using LBQ to load balance and queue up the jobs to our multi-instance version of CS6.

InDesign Server Custom Dictionary Management

$
0
0

Hi,

 

I have an InDesign Server with 8 ports running in one Windows Server. Currently, I have assigned 4 InDesign ports for UK client, and 4 InDesign ports for US client.

 

How can I configure the ports in such way 4 ports to use UK Dictionary always, and US Dictionary for the rest of ports. Especially, I have customer defined dictionaries to use.

 

Please advise how to achieve this.

How to tell programmatically check InDesign Server is functioning properly

$
0
0

We have InDesign Server CS5.5 deployed in our environment and, occasionally, the windows service will be running however it doesn't seem to function and needs to be restarted.  Obviously, this causes impacts to our user base as well as satisfaction issues.  I'm wondering if anyone knows of an technical approach to invoke it programmatically to see if its responding in a way that would declare it online and operational.  The desired goal would be to put availability monitoring on it in such a way that it would notify us as soon as an outage was detected but cannot find an elegant way to do this.  We tried to invoke an API to create a PDF but it generates a new folder and document each time it is checked plus this seems like a somewhat heavy operation.  Since we wanted monitoring on it to check very regularly, every minute or less, we had concerns that this approach would end up leaking a lot of storage.

 

Any thoughts would be appreciated!  Please be aware that I'm very much a novice when it comes to InDesign Server

Script for Data merge InDesign CC server 2014

$
0
0

I am executing following script for data merge operation. Not generating any error, But neither it merge data from csv data source into new indd file.

 

var myFile = new File("E:/*.indd");

 

var myDocument = app.open(myFile);

Script for Data merge InDesign CC server 2014

with (myDocument.dataMergeOptions) {

linkImages = true;

removeBlankLines = false;

createNewDocument = true;

documentSize = 100;

} // (end of dataMergeOptions)

 

myDocument.dataMergeProperties.selectDataSource(new File ('E:\Employees.csv'));

myDocument.dataMergeProperties.mergeRecords();

 

myDocument.save(new File("E:/*indd"));

myDocument.close ();

 

 

I am working on InDesign CC Server 2014 with ExtendScript toolkit.

InDesign Server Running Samples trouble

$
0
0

Hi all,

 

I am having troubles to run the sdk samples properly. I downloaded the trial version and "licenced" with a prerelase serial that I have been given as a member of the prerelase program. My intention is not to build any commercial system, I just wish I can have InDesign Server at hand so I can master my skills onto it.

 

So now I am trying to run the sample code as indicated in the sdk :

 

//Running the server with terminal

InDesignServer -port 12345

 

//Exceuting sampleclient

/Applications/Adobe\ InDesign\ CS6\ Server/InDesignServer.command sampleclient -host localhost:12345 /Applications/Adobe\ InDesign\ CS6\ Server/myScript.jsx

 

I am getting an licence error message (rawly translated from French to English): "Your version only allows one single use. Please contact your reseller for an update"

I am guessing the prerelease licence has limited the use of the server.

 

So my question is : how could one get his hands on a unlocked NFR licence for testing purposes ? I mean it could stamp a big red mark, only output jpgs, I really don't care. What I care is getting the idea and mechanisms of driving IDS with PHP/SOAP. As a consultant, I may have to promote and sell InDesign Server to my clients but it would help if could set demos and have a whole understanding of technologies and costs implied.  Is that somehow possible ? I hope so because I work with Enfocus and Callas and they all provide NFR keys to resellers and promoters. It's just making sense to me.

 

Hope I am not misunderstood in my intentions,

 

TIA for your inputs,

 

Loïc

Viewing all 20709 articles
Browse latest View live


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