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

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


[CS5 Java Corba] Export PDF as PNG - Error 111626 : This is not a valid InDesign Interchange documen

$
0
0

Hi,

 

i have java web application, that use indesign server to export idml files as PDF.

 

The workflow:

1. open the idml file

2. export the idml as pdf

3. close the idml file

 

Sometimes this error occured: Error 111626 : Server cannot open the idml file. This is not a valid InDesign Interchange document.

When this error occures, aftert that the indesign server sends the same error for all following idmls, that I try to export. 

The consequent is that I have to stop the server and start it again.

 

I just have this behaviour only with this error code. For all others errors the server works fine and export all idmls correctly.

What can I do. I don't want to restart the server everytime.

 

Can you help me ?

 

Thanks + Cheers

Michèle

IOR files not being created

$
0
0

I'm currently experimenting with using the InDesignServerService (windows service) as our means of starting and managing instances of InDesign Server.

 

I seem to have it working for the most part but the IOR files are not being created and I cannot figure out why. I have been messing around with the command line arguments in the InDesignServerService MMC for quite some time with no luck. The instances seem to startup fine and show "running" in the event viewer info message.

 

Command line arguments used -

-pluginpath Server/Corba -iorfile c:\IDSQueues\Default\ior1.txt -previews

 

I've made sure the account the service is running under has writes access to the ior file path. I truely don't know what else to try or why this is happening.

 

Any help would be great! thanks!

 

FYI

 

Using InDesign Developer Server CS5 (for testing) on Windows 7 64bit.

Issue in setting bleed to a document as InDesign CS5 Server plugin

$
0
0

Hello all,

I am creating a new document in InDesign CS5 Server through C++ Plugin and trying to set bleed to the document. I have used the command to set bleed. But it doesn't seem to apply properly. I check in the debug version also. It show success to the command but when I open the document there is no bleed applied. I am using following command.

 

 

InterfacePtr<ICommand> pageSetupPrefsCmd(CmdUtils::CreateCommand(kSetPageSetupPrefsCmdBoss));
if(pageSetupPrefsCmd == nil)
{
CAlert::ErrorAlert("Error in SetDocumentBleed function, pageSetupPrefsCmd is nil.");
break;
}


InterfacePtr<IDocSetupCmdData> docSetupData(pageSetupPrefsCmd, IID_IDOCSETUPCMDDATA);
if(docSetupData == nil)
{
CAlert::ErrorAlert("Error in SetDocumentBleed function, docSetupData is nil.");
break;
}

pageSetupPrefsCmd->SetItemList(UIDList(m_pDocument));
docSetupData->SetDocument(::GetUIDRef(m_pDocument));
docSetupData->SetNPagesPerSpread(1);
docSetupData->SetPageSize(pagesRectangle);
docSetupData->SetPageOrientationIsWide(bWide);
docSetupData->SetUseUniformBleed(kFalse);
docSetupData->SetBleedBox(bleedRect);
ErrorCode error = CmdUtils::ProcessCommand(pageSetupPrefsCmd);
if (error == kFailure)
CAlert::WarningAlert("Command failed");

 

 

Can some one please help me in letting me know what wrong I am doing in this command? This has become quiet critical for me.

 

Thanks all in advance.

 

Regards
Farzana.

InDesign server CS 5.5 - app.scriptArgs.get doesn't work in jsx script or simpleclient problem

$
0
0

Hello

 

I'm working with Adobe InDesing Server CS 5.5 and having problem that *.jsx script is not able to read input parameters passwd from sampleclient.exe or SOAP (same story in both cases)

I run following command:

 

     sampleclient.exe -host localhost:8080 "c:\CreateJPEG.jsx" param1="1"

also

     sampleclient.exe -host localhost:8080 "c:\CreateJPEG.jsx" param1=1

and even

     sampleclient.exe -host localhost:8080 "c:\CreateJPEG.jsx" "param1=1"

 

 

app.scriptArgs.get("param1") is always FALSE (see script body below).

Please help, I couldn't find an answer anywhere. All documents stats that this should work in a way I described, but it doesn't. Script is performed but param1 is not set.

 


Here is the script:

#target  InDesignServer

app.scriptPreferences.version = 7.0;

 

main();

function main()

{

  var eRet;   

 

 

  if (app.scriptArgs.get("param1"))

  {

    var sXMLFilePath = "C:\\CreateJPEG.xml";

    var eRet = app.createJpeg (sXMLFilePath);

  }

}

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?

Stuck parsing an InDesign document, extracting data to an XML file

$
0
0

Hi,

 

I have an indesign document of a newspaper page (1 spread + 1 page) with some articles (title, body, img, img caption) and ads (img). I need to parse this and create an XML file from which data can be stored into a mysql db. The db handling is already programmed.

 

The xml file will have this structure (page = root):

<page>

     <article>

          <title>Title</title>

          <content>Lorem ipsum</content>

          <img title=""></img>

     </article>

     <ad>

          <img title=""></img>

     </ad>

</page>

 

The .indd file is created using the Smart Layout plugin from WoodWing software. When trying to print the "TextFrames>Texts>contents" the textframes that use the smart layout plugin do not show, they seem to be not included in the data model of the app. That's why I went another route, and parsed "Stories>Texts>contents". I can get all the text objects of the page, including the articles that are created using the smart layout plugin. Among these objects are article title's and article bodies. The problem is I don't know which title belongs to which body, so I can't create a new article node in the XML. I have exported the orignal file as IDML and browsed the spread and the stories, but I see no way to link article titles (textframe), article bodies (textframe) and images (contained by rectangles) together.

 

Is there a way to solve this?

 

Setup:

InDesign CS4 .indd documents

Win2k8 server

JavaScript (via ExtendScript toolkit)

InDesignServer CS5.5 (64bit) (want to use this)

SmartLayout plugin (installs @ InDesignServer CS5.5 32bit. This 32bit InDServer does not start, it has missing dll's).

Server Developer

$
0
0

I am looking for a company to do some developement work for me, Anyone have any good experienced company they could pass along?

 

Thanks TJ


Export JPEG with InDesign Server CS4

$
0
0

Hi!

 

I have to modify an Applescript that does automatic page numbering via InDesign Server CS4 for InDesign CS4 files. The files are coming out of an editorial system. The script is generally working except the export of the JPEG. All I need is a JPEG for each page of the current InDesign file that's exported to a certain directory.

I don't receive an error message but I also don't get a preview (exported JPEG). So I guess the export statement has to be changed.

The same script works with InDesign Server CS5.5 without any problems!!

 

Do you guys have any idea how the export statement could be changed to make it work?

 

Thanks a lot,

Andreas

 

export_script.jpg

Which is quicker... PDF or PS

$
0
0

From Indesign Server, what is quicker to create from an Indesign file (for example, a four page brochure with four linked 20mb images)?

 

Would there be any speed difference between getting a PDF made (using PDFX1A standard) or a PS file made?

 

Thanks, Tim

InDesign CS 5.5 Server Optimizations

$
0
0

Hi all,

 

We have a single-instance server (Win 2008, 2 GB RAM) that is the app server for our front-end (on a separate box). When a job is processed, etc we're seeing some pretty bad latency in rendering the images, data back across the network. Both servers are connected via gig ethernet so bandwidth is defintely not the issue.

 

I've read the stress testing document on InDesign server and we'll most likely be doing some of those things to test things out. In the meantime, does anyone have any thoughts/suggestions on how to 'tweak' things to reduce some of the rendering lag and delay when using the system?

Is there any way I can know what are the list of patches installed on Indesign Server CS5

$
0
0

Hi All,

 

Is there any way I can know what are the list of patches installed on Indesign Server CS5?

Please let me know if the there is any command to do so.

 

Thanks,

Manjunath

link to InDesign cs5 server trail version

$
0
0

Hi,

 

Can anyone provide me the link to download the trail version of InDesign CS5 server.

 

Thanks,

Gopal

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

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 CS6 on OSX slowed down

$
0
0

I have CS6 installation on Mac Pro 4,1 quad core with 16GB of ram with OSX 10.9.

Only four instances are working now, and there are no other processes except one CS4 on this machine.

 

After few months server have problem with speed, sometimes server is working very slow. Changing content in one text frame, changing style takes more than one minute. Content is short, few characters and documents have less than 100 text frames.

This same operation normally takes few ms.

 

CS4 instance on this machine works fine.

 

Regards

 

Piotr

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

Applying styles with aid: attributes in InDesign CC

$
0
0

Hi all

 

We've been trying to apply different character styles to <bold> inline elements in InDesign CC, using the methods described in the following post, but without any success. Does anyone know if there's something else we can try other than mapping styles to tags, which we can only do once...

 

http://carijansen.com/2011/02/25/indesign-xml-part-2/

 

Thanks

Activate cc indesign5.5 license

interactive document 交互文档

$
0
0

您好,是否有一个帮助文件详细介绍了indesign的交互功能(动画,连接,等等)??

Viewing all 20709 articles
Browse latest View live


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