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

Cannot save "Untitled-4" under a new name.

$
0
0
I'm getting this error trying to run the HelloWorld.jsx Script on a Windows Server 2003 VM machine inside OSX.

I've been working with the server with no problems, having been able to test scripts to import XML, and export in various formats..

I had just written a Windows App test client in C# .Net, the aim being to develop an Object Pool to control multiple instances, and was going to use HelloWorld as the test script... and now this.

The same script runs perfectly well from the ActionScript IDE, both in the Windows Server and on OSX.

InDesign Server is running as a Windows Service.
I can view the WSDL on http://localhost:1978/?wsdl ... fine.

Any ideas?

InDesign Server command-line flags

$
0
0
How can I get command-line flags list of InDesign Server?

Actually the situation is testclient doesn't work.
I installed InDesign Server and SDK.
I run InDesignServer.com then I use something like this "testclient -server t.js".
Server and client runs on same comp.
As result I have this exception:
SOAP FAULT: SOAP-ENV:Client
"Unknown error"
Detail: TCP connect failed in tcp_connect()

in SDK indesign-server-test-client.pdf I found:
"Using InDesign Server
In order to use the test client, you must have a machine that has InDesign Server installed and
running properly, as the test client will communicate with the InDesign Server application.
For instructions on running and terminating InDesign Server, including command-line flags,
please refer to the InDesign Server Installation and Configuration Guide."

Any suggestion?

CS4: Can InDesign Server open an expanded idml package?

$
0
0

Hi all,

 

I know how to use app.packageUCF() to compress an idml folder structure into an idml file that InDesign can then open. Is there any way to skip this step? It seems a waste to compress it only to immediately turn around and decompress it (I assume) in order to open it.

 

Thanks,

Jeff

InDesign Server on virtual machine

$
0
0

Hello all,

 

We are planning to install InDesign server 5 on virtual machine. Can anybody let me know if this ok to go ahead or are there any known issues

 

Thanks in advance.

 

Murthykb

Important Changes to InDesign Server CS6

$
0
0

There are a couple of changes that were introduced specific to InDesign Server in CS6.

 

1) Java APIs are no longer supported. All scripting must be done using the same scripting languages as InDesign Desktop (i.e. Javascript, VB, or Applescript). It seems that the development costs for the Java APIs were too high for continued support. If you are starting development on new projects that might be migrated to CS6 or later, you probably do not want to use Java.

 

This does not mean to say you cannot develop your apps in Java. You can still connect from a Java app via SOAP, but no Java API calls can be made. The documentation that will be shipped with ID Server CS6 has some guidlines for porting code to Javascript, and if you need any help, just pop on over to the Scripting forum...

 

2) CS6 introduces "Session Support". Calls made via SOAP can be executed in separate threads grreatly increasing performance for SOAP calls. This is different than separate instances in that all the sessions are run within the same instance of InDesign, but scripts can be executed in concurrent threads. So ID Server now has both multi-threaded and multi-instance support.

 

HTH,

Harbs

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?

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,

Applescript server 10 2014

$
0
0

Hi There

 

 

Have anyone tried to use applescript with a CC 2014 (10) server  ???? almost nothing works for me...

 

I can create a document and save it, but can't open the same document....

 

Just a simple script...

tell application "InDesignserver"

set MyDok to make new document

save MyDok to "Mac HD:file.indd"

end tell

 

then...

tell application "InDesignserver"

Open "Mac Hd:file.indd"

end tell

 

i get : The document "file.indd" could not be opened. InDesignserver cannot open files of this type

 

very strange because the file was created by the same server ???


Activating indesign server 5.5

$
0
0

When we try to activate using adobe_prtk with leid as indesingserver-cs5.5-win-gm we get return code=1. What should be to activate

JPEG single page export from multipage document

$
0
0
Hello Experts: I have a function to create a JPEG file given a page number from a multipage document. The problem is that InDesign Server will actually create JPEG files for all the pages -despite the given page range (I just want to create one). It appends the page number starting on page 2 (and will create the JPEG's desired file name for the first page in the document, and so on)

Here is my sample code:

Somewhere I will initialize the document to use it globally:
app.open(File(inDocumentPath));
currentDocument = app.documents[0];

Here is my current function:

function ExportAsQualityJPG(inSaveAsDocumentPath, inPageNumber)
{
app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.maximum;
app.jpegExportPreferences.resolution = 300;

pageName = currentDocument.pages.item(inPageNumber-1).name;
app.pdfExportPreferences.pageRange = pageName;
// app.jpegExportPreferences.pageString = pageName; --> Does not work

currentDocument.exportFile(ExportFormat.jpg, File(inSaveDocumentPath), app.pdfExportPresets.item("[High Quality Print]"));
}

I will do something like later:

ExportAsQualityJPG("//Documents/InDesign/Page2.jpg", 2);

As I mentioned above, it will actually create images for all pages in the document. For example, if the INDD doc has 3 pages, it will create these images:
Page2.jpg (actual page 1)
Page22.jpg (actual page 2)
Page23.jpg (actual page 3)

Any help or tip would be really appreciated.

Thanks,

G.O.

rectangle.place (Placing Image) - InDesign vs InDesignServer

$
0
0

Any help or suggestions or even guesses appreciated here. Thanks!

 

I have a script that correctly places images in tagged rectangles via script in InDesign, the script then exports to PDF. All is well.


When I run the same script with the same image path folder structure in InDesignServer, the exported PDF does not show the 'placed' images. I'm getting no errors in my console.


Early in the script I have;

myInDesign.imagePreview = True


I place the images with;

myRectangle.Place myFile, False

myRectangle.fit 1668247152

myRectangle.fit 1667591779

for each myItem in myRectangle.items

     myItem.itemLink.unlink

next



I've tried it with and without the .unlink code (an attempt to force embedding of the images)


In all other aspects the script works the same on ID as IDS. I'm starting my ID CS6 server with InDesignServer -previews


I suspect I'm missing something with the PDF export preferences, but have no idea why it's working on ID and not on IDS.


Any help greatly appreciated.

 

(I have cross-posted this in the InDesign Forum. I will remove one or the other if answered)

Adobe InDesign CS5 Server SDK - libraries JAVA

$
0
0

trying with helloworld.java in ids cs5 server sdk.

the library com.adobe.ids.sdk.utils.* cannot be imported.

any idea how/from where to import it?

 

are there more libraries 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.

Cannot start trial InDesign Server CC Mac

$
0
0

Following the instructions here:

http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/c reativesuite/pdfs/Adobe_Provisioning_Toolkit_Enterprise_Edition_v5.pdf

 

I run the following command:

 

./adobe_prtk --tool=StartTrial --leid=InDesignServer-CS6-Mac-GM

 

This is the response:

 

          Copyright 2012 Adobe Systems Incorporated

          All rights reserved.

StartTrial Successful

Return Code = 0

 

Then I go run InDesign Server:

 

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

Usage: InDesignServer [options]

 

What is going on?

Cannot start Trial for InDesignServer

$
0
0

Hi!

 

This problem drives me nuts.

 

I have installed a fresh new version of Microsoft Server 2012.

I download the latest version of InDesign-Server for Windows.

I install Adobe Application Manager Enterprise Edition 3.1.

 

I use booth adobe_prtk.exe from the AAMEE and from the Adobe Provisioning Toolkit Enterprise Edition with

 

adobe_prtk.exe --tool=StartTrial --leid=InDesignServer-CS6-Win-GM

 

I get this result

 

StartTrial Successful

Return Code = 0

 

But if i try to start InDesignServer, the console prompts

 

Adobe InDesign Server is not properly licensed and will now quit. (On my machine the german translation of this error).

 

 

What I'm doing wrong?

 

The strange thing is... If I call

 

adobe_prtk.exe --tool=StartTrial --leid=FooBarFooBarFoo

 

the tool says also

 

StartTrial Successful

Return Code = 0

 

 



Grey Lines around the image while generating PNG from INDD file

$
0
0

Capture.PNG

Hi,

 

I am using the InDesign Server to generate the PNG image and PDF from INDD file. While designing we do mapping of variable data fields, e.g., Text will be replaced by dynamic text, image will be replaced by dynamic image, barcode will be drawn on the basis of input at the image generation from InDesign Server.

 

Now when I do this mapping, a grey color line comes by itself and surrounds that particular image/ barcode (will be known as Variable Data fields). This grey line signifies that this data field is a variable datafield which will be replaced dynamically at the time of PDF OR Image generation by InDesign Server.

 

Now the InDesign Server is behaving different when:

 

1. when PDF is generated : Proper PDF gets generated by replacing all the variable data fields and with out any grey lines.

2. when PNG is generated : Image got generated by replacing all the variable data fields, but the images and barcode still contains the grey lines which were just to signify the Designer about the variable datafield.

 

Therefore, InDesign Server is generating the PNGs with the greylines surrounding the images and barcodes, which is not correct. Can any one let me know how can I remove these grey lines from PNG?

 

Please find one sample screenshot of INDD file in the attached file.

 

 

Warm Regards,

Rahul

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

Import Excel with charts and keep text content

$
0
0

I'm developing solution based on InDesign Server and need to import excel document containing chart and text content to InDesign doc.

I haven't found any way to import it and still have a capability to work with text content. Most threads suggest two practice:

     1. export document to pdf/eps and import

     2. copy\paste chart using the clipboard alone from the other content

Neither way is sutable for me.

Is there any solution, from indesign or third-party, that allows me to import excel file with text content and keep charts available for high-resolution printing. I.e. charts could be vector images or high-quality raster.

Complication is I need it in script for InDesign Server without any clipboard or selection. Also, Office COM-model isn't suitable because of server and multi-thread limitations.

InDesign Server CC2014 Trial issue

$
0
0

Hi,

 

I cannot start our InDesign Server CC 2014 (Windows Server 2008). I have installed the software and was logged with our Adobe ID and installation was successful without any error message. The installation manual states that “InDesign CC Server needs to be activated before it can be used. If the computer is online, activation is done automatically when you install.” However, I got an error message when I tried to launch InDesign Server: “Adobe InDesign Server is not properly licensed and will now quit”.

 

Since  I had previously installed InDesign Server CS6 on another machine, I tried to use the APTEE to start the trial. I used the CS6 one because I did not find any version for CC 2014, I finally got the message:

StartTrial Successful

Return Code = 0

but when I tried to launch again InDesign Server, I always get the Adobe InDesign Server is not properly licensed and will now quit message.

I also read this thread but did not find the solution Indesign Server CC Trial issues

 

Thanks for help!

Using InDesign Server CC PC with Mac Clients

$
0
0

We have a situation currently where we will be retiring our OS X xserve running InDesign Server with the expectation to move to the windows version on a VM. An interesting questions has come up about the fact that the paths for Mac and PC users are different and we need the InDesign Server for PC to be able to work with the mac pathing of all of our clients. While I am aware there is a way we could use packaging to avoid the issue, we have plugins that wont work with that and need to use absolute paths for images.

 

I am sure people have dealt with this issue in the past but unfortunately have not been able to find much information about it. Can anyone shed some light on this for me.

Viewing all 20709 articles
Browse latest View live


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