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

BridgeTalk in indesign Server

$
0
0

I'm using InDesign Server for CS6 (x64). I'm using bridgetalk for the first time on my local machine. I am trying to understand why I'm getting the error "ERROR: Target Could Not Be Launched". Does this mean my bridge isn't working? Or does the syntax appear wrong for the following example code:

 

function infoFrombr() {

   var bt = new BridgeTalk;

   bt.target = "bridge";

   bt.body = "app.document.presentationPath;"

   bt.onResult = function(resObj) {

      var myResult = resObj.body;

      $.writeln( "BridgeTalk result = " + myResult );

      doSomethingNow( myResult );

   }

  

   bt.onError = function( inBT ) { doSomethingNow( inBT.body, null ); };

   $.writeln("doing it");

   bt.send( 50 );

}

 

 

function doSomethingNow( result ) {

      $.writeln("doing it");

      $.writeln(result);

}

 

$.writeln("test");

infoFrombr();

$.writeln("test_end");


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.

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.

Quien podria ayudarme con este problema,instale mi id server cs6 pero no inicia del todo,no genera previsualizacion

[IDS CORBA JAVA] running InDesign CS3 Server and Java components on different machines

$
0
0
We are developing a InDesign CS3 Server solution with the Java API and CORBA. We have the Java components in one machine and use the standard CS3-CORBA interface to communicate with the Server, which is on another machine. The only thing we have to do, is to provide the ior.txt file to the client machine.

Everything functions well, BUT...

on the document "Introduction to Adobe InDesign CS3 Server" (Technical note #10123) you can read:

"NOTE: The currently supported workflow is to have InDesign Server, the IOR file, and the Java program all on the same machine." (page 11)

"Furthermore, while CORBA provides support for accessing objects across multiple machines, we only support running both InDesign Server and the Java components on the same machine." (page 16)

So we are a little bit concerned about implementing a solution based on this architecture. Why should someone write this, if a distributed architecture does in fact function?

Has anyone have more information about this issue?

Kind regards,
Pepe

Exporting to JPEG and keeping the bleed

$
0
0
How do i export my indesign file with bleed into a jpeg then bring it into photoshop while retaining this bleed?

How to call InDesign SOAP?

$
0
0
I'm new to InDesign server. I started InDesign server using command indesignserver port 18383. Running HelloWorld.jsx via TestClient is working fine . But now I need write a PHP program to call InDesign SOAP API. I did some searching but I could not figure out what the parameters and path are. My InDesign server is on 192.168.0.150:18383
and I'm using PHP 5's SOAP extension. If there is sample code, that would be great. Any help would be appreciated.

1, Where I can find following information:
What is Method Name? such as SomeFunction
what is Endpoint? such as URL http://x.x.x.x:8080/soap
what is SOAPAction? such as urn:xmethods-delayed-quotes#SomeFunction
what is Method Namespace URI? such as urn:xmethods-delayed-quotes
What is Input Parameters?
What is Output Parameters?

Or
2, use wsdl - but what is the path of some.wsdl? and what is SomeFunction? I know there is function called RunScript

Following are some sample PHP code I need:

$client = new SoapClient("some.wsdl");

$client = new SoapClient("some.wsdl", array('soap_version' => SOAP_1_2));

$client = new SoapClient("some.wsdl", array('login' => "some_name",
'password' => "some_password"));

$client = new SoapClient("some.wsdl", array('proxy_host' => "localhost",
'proxy_port' => 8080));

$client = new SoapClient("some.wsdl", array('proxy_host' => "localhost",
'proxy_port' => 8080,
'proxy_login' => "some_name",
'proxy_password' => "some_password"));

$client = new SoapClient("some.wsdl", array('local_cert' => "cert_key.pem"));

$client = new SoapClient(null, array('location' => "http://localhost/soap.php",
'uri' => "http://test-uri/"));

$client = new SoapClient(null, array('location' => "http://localhost/soap.php",
'uri' => "http://test-uri/",
'style' => SOAP_DOCUMENT,
'use' => SOAP_LITERAL));

$client = new SoapClient("some.wsdl",
array('compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP));

$server = new SoapClient("some.wsdl", array('encoding'=>'ISO-8859-1'));


Thanks

Robert

Eps Export

$
0
0
Images within InDesign document do not showup within exported Eps preview. If I display the Eps file within ghostview everything looks good (text and images), but when I display the Eps data within a tool that only looks at the preview I ony get text - no images. Has anyone seen this?

Thanks

Steve

.createTOC() every time use createBookmarks = true

$
0
0

Hello @all,

 

I have a problem with the following code to auto-update my TOCs in InDesign CS4:

 

var myDocument = app.activeDocument;

alert("createBookmarks: " + myDocument.tocStyles.itemByName("Kapitel 1").createBookmarks);  // --> this show me "false"

var myStory = myDocument.createTOC(myDocument.tocStyles.itemByName("Kapitel 1"), true /*replacing*/);

 

After this action I have entries from the TOC ("Kapitel 1") in my pdf bookmark? Why?

 

I also tried for test purpose the following:

myDocument.tocStyles.itemByName("Kapitel 1").duplicate();

 

This copy of my TOC has the option "pdf bookmars" on "true"?!

 

How can I force, that I get NO createBookmarks for this TOCs?

If I use manually "layout-->toc-formats-->update TOC" it works fine for me.

 

Regards,
Jessi

Javascript - added images display as grey boxes

$
0
0

I am attempting to add an Image to an InDesign document via a javascript that I am executing via the RunScript() soap method of InDesign Cs4 server.  The script I am using to add an image is something similar to this:

 

var imageFile = File("//c/images/animage.pdf");
var imageGraphic = myDocument.pages.item(0).place(imageFile, null, imageLayer);
imageGraphic = imageGraphic[0];
var imageFrame = imageGraphic.parent;
imageFrame.geometricBounds = [IMAGE_TOP_Y, IMAGE_TOP_X, IMAGE_BOTTOM_Y, IMAGE_BOTTOM_X];
imageFrame.fit(FitOptions.proportionally);
imageFrame.fit(FitOptions.frameToContent);

 

The script adds the image correctly, but when I pull up the document with InDesign, the Images are displayed as grey boxes.  I am able to fix this within InDesign designer by manually setting the "Display Performance" to "High Quality" through the menus, but I need to handle this via the script run on the server.  I attempted to update the script to the following:

 

var imageFile = File("//c/images/animage.pdf");
var imageGraphic = myDocument.pages.item(0).place(imageFile, null, imageLayer);
imageGraphic = imageGraphic[0];
var imageFrame = imageGraphic.parent;
imageFrame.geometricBounds = [IMAGE_TOP_Y, IMAGE_TOP_X, IMAGE_BOTTOM_Y, IMAGE_BOTTOM_X];
imageFrame.fit(FitOptions.proportionally);
imageFrame.fit(FitOptions.frameToContent);

 

//HERE IS THE NEW LINE
imageFrame.localDisplaySetting = DisplaySettingOptions.HIGH_QUALITY;

 

This script runs without problems within the CS4 ExtendScript Toolkit on my local pc.  However, when I run the script against the InDesign CS4 server, I get the following error:

 

Error Number: 55
Error String: Object does not support the property or method 'localDisplaySetting'

 

Does anyone have any advice on how I should proceed?  My main goal is to have the image display correctly without the grey box.

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)

How do I get the Application object for a running instance of InDesign Server from VBScript and C++

$
0
0

I have a running instance of InDesign Server CS6 which I launched using the following command:

"C:\Program Files\Adobe\Adobe InDesign CS6 Server x64\InDesignServer.com" -port 12345

 

I tried running the following VBScript file to access this running instance:

Set myApp = WScript.GetObject("configuration_12345")

myApp.ConsoleOut("Foo")

Set myApp = Nothing

 

But I get this error (launched using 64-bit wscript.exe):

---------------------------

Windows Script Host

---------------------------

Line:          1

Char:          1

Error:          File name or class name not found during Automation operation

Code:          800A01B0

Source:           Microsoft VBScript runtime error

 

I also tried to access this instance using C++ COM:

int _tmain(int argc, _TCHAR* argv[])

{

          HRESULT hr = ::CoInitializeEx(NULL, COINIT_MULTITHREADED);

          if (FAILED(hr))

          {

                    printf("COM init failed\n");

                    return 0;

          }

 

          IDispatch* pUnk = NULL;

          hr = ::CoGetObject(L"configuration_12345", NULL, __uuidof(IDispatch), (void**)&pUnk);

          if (SUCCEEDED(hr))

          {

                    pUnk->Release();

                    pUnk = NULL;

          }

          ::CoUninitialize();

          return 0;

}

 

But, CoGetObject returns 0x800401e4 (MK_E_SYNTAX).

 

However, if I use the "helloworld-csharp-com" sample, using "configuration_12345" as the config, it works fine. Why is it not working with VBScript and C++?

 

I'm running Windows 8, 64-bit, IDS CS6 8.0

InDesign Server (CS5.5 and CS6) CPU hog when no activity is happening.

$
0
0

Hi all,

 

Strange scenarios we are seeing in one of our production systems. When a .pdf if generated it works great. I see InDesign get hit and the .pdf renders quickly. Then about 10-15 seconds later when there is no activiity happening I see InDesign spike (and in the Event log I see 'executing javascript') and it takes that instance to full CPU for about 2-3 minutes then dies off. This is all without any additional commands or jobs being sent to it from the web server.

 

During the time that it is spiked out of course no other jobs can work with it until this process gets killed or dies off naturally. I've been trying to investigate to find out what is causing this but haven't seen a concrete answer.

 

Any ideas/thoughts from the community on this?

 

thanks

Indesign server trial not licensing

$
0
0

i am trying to get Indesign server Trial working... without any result.

 

this is the result in adobe_prtk

 


Copyright 2012 Adobe Systems Incorporated

All rights reserved.

StartTrial Successful

Return Code = 0

 

still get no working server

 

message

 

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

Anyone any idea ??

 

Peter

Single Instance to Multi Instance licensing

$
0
0

Is it possible to upgrade from single instance license to multi instance license? If yes, what is the cost involved?


I can't get indesign server to listen on the admin port on osx.

$
0
0

I've tried the example (with other ports) from the sdk with no success:

"/Applications/Adobe InDesign CS6 Server/InDesignServer.app/Contents/MacOS/InDesignServer" -port 12345 -heartbeatupdateinterval 10 -adminport 18485

The port isn't showing when I list the ports using lsof.

 

When I use LBQ the same things occurs. We start the server with:

/Applications/Adobe\ InDesign\ CS6\ Server/InDesignServer.command -configuration config_ior2 -pluginpath Server/Corba -iorfile ~/ServerTestFiles/LBQ/iors/ior2.txt -adminport 12342 -previews

 

When sending a REST call with KillInstance pointing to the ior file the same error occur as when calling the port through curl:

java.net.ConnectException: Connection refused

  at java.net.PlainSocketImpl.socketConnect(Native Method)

  at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)

  at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)

  at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:18

.....

 

On windows it's working as expected.

 

Is there something to take into account when starting on mac?

 

System:

Mac OSX (10.9.4)

Indesign Server CS6 ver 8.0

PDF intermittent export problems (e.g Font embedding sometimes fails)

$
0
0

Hello,

 

Currently we're experiencing some weird issue with our Indesign Server in one of our environments ( we do not experience the same problem in our other env which has the same configuration)

It is often exporting some PDFs with problems in its font information (when opening the PDF in the viewer, some of the text is missing and the reader shows a prompt "Cannot extract the embedded font '<some alphanumeric prefix>' + <font_name>'. Some characters may not display or print correctly")


We are not using any font manager/3rd party plugins and have also tried to clear/refresh the font cache / list (*.lst) files and reset Indesign Server preferences (by deleting specific the pref folders as advise in one of the forum posts)

The problem is intermittent as exporting the PDF from the IDML again doesn't cause the error so not sure why this is happening.

 

Note that we are exporting the PDF to a shared folder (but mapped to a local folder where indesign server is located, the folder is referenced in indesign with the remote path e.g \\192.168..x.x\Shared\<output_file>.pdf). There is no antivirus installed on the computer.

 

Does anyone have any similar problem or any advise on what else I can investigate?

 

Thanks

InDesign CS3 Server installation problem with DOTNET 2.0SP1, DOTNET 3.0SP1

$
0
0
I am try to install InDesign CS3 server on Win2003R3 Std edition.

Software already installed before install InDesign CS3 server.
1) jdk 1.5.14
2) Microsoft DOTNET 2.0
3) Microsoft DOTNET 2.0 SP1
4) Microsoft DOTNET 3.0
5) Microsoft DOTNET 3.0 SP1

InDesign CS3 server installer report error at the end of installation:
-----------------------------------------------------------
Summary
Successfully installed: 1 component(s):
[ok] Shared Components

Errors: 2 component(s):
X Adobe InDesign CS3 Server
Component install failed
X Shared components
Component install failed
-----------------------------------------------------------

If I had another PC installed those software, InDesign CS3 server installation got no problem:
1) jdk 1.5.11
2) Microsoft DOTNET 2.0

Do InDesign CS3 server got probelm with DOTNET 2.0 SP1 and upper version?

Starting InDesign server from a remote location

$
0
0

Hi All,

 

I have a java application program running on a remote machine say M1.

I have InDesign Server CS6 installed on another machine say M2.

 

Now my question is as follows.

Is it possible to start InDesign Server which will serve SOAP request from a java application program(running on M1).

 

Regards,

Alam

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!

Viewing all 20709 articles
Browse latest View live


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