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

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


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

In some cases mapStylesToXMLTags() method raises an exception!

$
0
0

HI,

 

I am trying to map styles to xml tags, and interestingly it works on some InDesign document while in some cases it dosen't work. It raises an exception IDS exception: 1.0, thats why I am not be able to understand what is the root couse behind that exception. So please if you have any idea, please let me know that.

 

Thanks in advance,

Suman Saurav

Adobe InDesign Server CC 2014 compatible with Windows 2012 Server R2.

$
0
0

The systemrequirements are maybe not up to date.

There i can not see the R2 version supported.

 

Are all newer releases supported?

 

Thx

Indesign server license expiry date

$
0
0

How to know the license expiry date for indesign server??

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

How to run Indesign CS3 as a Service with Port number

$
0
0
Hello all,

I would like to run the InDesign CS3 Server as a service on Windows. It seems that after installing the Server it automatically installs as a service. But where can I assign the port number. If under Services properties of InDesign Server under Parameters I mention -port 1050 on Ok button it removes the parameter information.

I am doing right or is there some other way to start the Server as Service with Port number.

Thank you all in advance.

Regards
Farzana.

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.

InDeSign Server - Flex - SOAP - Business cards tutorial - MISSING Arguments for Script

$
0
0
Hello, <br /><br />I test even Adobe Flex with InDesign server. I am occupied with<br />the Business cards tutorial. The Problem is, which no arguments are<br />transferred to servers at InDesign. The Script is executed and the new document and the pdf are produced.<br />But without contents!? Is the error situated in it WSDL file? Here my<br />data:<br />InDesign Server Port = 8070<br />Mac Localhost = http://localhost:8888<br />The IDSP Root = http://localhost:8888/IDSP.wsdl<br /><br />IDSP.wsdl Content<br /><br /><?xml version="1.0" encoding="UTF-8"?><br /><definitions name="Service"<br /> targetNamespace="http://localhost:8888/IDSP.wsdl"<br /> xmlns:tns="http://localhost:8888/IDSP.wsdl"<br /> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"<br /> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"<br /> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<br /> xmlns:xsd="http://www.w3.org/2001/XMLSchema"<br /> xmlns:IDSP="http://ns.adobe.com/InDesign/soap/"<br /> xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"<br /> xmlns:MIME="http://schemas.xmlsoap.org/wsdl/mime/"<br /> xmlns:DIME="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/"<br /> xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"<br /> xmlns="http://schemas.xmlsoap.org/wsdl/"><br /> .........<br />......<br /><service name="Service"><br /> <documentation>gSOAP 2.7.8c generated service definition</documentation><br /> <port name="Service" binding="tns:Service"><br />  <SOAP:address location="http://localhost:8070"/><br /> </port><br /></service><br /><br /></definitions><br />  <br />Flex MXML Content:<br /><br /><?xml version="1.0" encoding="utf-8"?><br /><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"><br />     <mx:WebService id="wsIDSP"<br />          wsdl="http://localhost:8888/IDSP.wsdl"<br />          endpointURI="http://localhost:8070"<br />          useProxy="false"><br />          <mx:operation name="RunScript" resultFormat="e4x"><br />               <mx:request><br />                   <runScriptParameters><br />                      <scriptLanguage>javascript</scriptLanguage><br />                      <!--Optional:--><br />                      <scriptFile>/Volumes/Macintosh HD/Applications/Adobe InDesign CS3 Server/Scripts/myScripts/businessCards.jsx</scriptFile><br />                      <scriptArgs><br />                     <scriptArg><br />                         <name>name</name><br />                         <value>{nameInput}</value><br />                    </scriptArg><br />                    <scriptArg><br />                         <name>company</name><br />                         <value>{companyInput}</value><br />                    </scriptArg><br />                    <scriptArg><br />                         <name>title</name><br />                         <value>{titleInput}</value><br />                    </scriptArg><br />                      </scriptArgs><br />                   </runScriptParameters><br />               </mx:request><br />               <br />          </mx:operation><br />     </mx:WebService><br />     <mx:Script><br />          <br />              [Bindable]<br />              public var nameInput:String="";<br />              [Bindable]<br />              public var companyInput:String="";<br />              [Bindable]<br />              public var titleInput:String="";<br />              <br />              private function makeCards(name:String, title:String, company:String):void<br />              {<br />                   nameInput = name;<br />                   companyInput = company;<br />                   titleInput = title;<br />                   <br />                   wsIDSP.RunScript.send();<br />              }<br />          <br />     </mx:Script><br />     <mx:Form width="410" height="277" x="46" y="34" horizontalScrollPolicy="off"><br />          <mx:FormHeading label="Business Card Information"/><br />          <mx:FormItem label="Name"><br />               <mx:TextInput id="textName" width="100%" /><br />          </mx:FormItem><br />          <mx:FormItem label="Title"><br />               <mx:TextInput id="textTitle" width="100%" /><br />          </mx:FormItem><br />          <mx:FormItem label="Company"><br />               <mx:TextInput id="textCompany" width="100%" /><br />          </mx:FormItem><br />          <mx:FormItem x="75"><br />               <mx:Button x="150" label="Print Cards" <br />                         click="makeCards(textName.text, textTitle.text, textCompany.text)"/><br />          </mx:FormItem><br />          <mx:Text x="47.5" y="194" text="{wsIDSP.RunScript.lastResult.errorNumber}" width="383" height="20"/><br />          <mx:Text x="47.5" y="224" text="{wsIDSP.RunScript.lastResult.errorString}" width="381" height="20"/><br />          <mx:Text x="47.5" y="254" text="{wsIDSP.RunScript.lastResult.scriptResult.data}" width="383" height="24"/><br />     </mx:Form><br /><br />     <br /></mx:Application>

Import configuration presets...

$
0
0
When importing office documents in the client application InDesign CS3 you can select presets that have been previously saved. Where can I find those presets in the InDesign Server CS3 JavaScript API?
Thanks!

InDesign Server Installation and Configuration Guide

$
0
0
Hi everybody
I try to ask one silly Q.
Where can I get this document.
I found many references but no link :(

PDF Preset (joboptions)

$
0
0

Hi,

 

Where do PDF Preset files or joboptions files need to be stored for InDesign CS3 Server to "see" them. Would InDesign Server need to be restarted to pick up changes to the Presets?

 

 

Thanks

The remote procedure call failed. (Exception of HRESULT: 0x800706BE)

$
0
0

 

when calling           

Document idDoc = (Document)idApp.Open(inddTemplate, false);


sometimes COMException is produced:


The remote procedure call failed. (Exception of HRESULT: 0x800706BE)


Some stacktrace:

 

at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[]

aWrapperTypes, MessageData& msgData)

bei InDesign._Application.Open(Object From, Boolean ShowingWindow)

 

This error does not appear everytime. We tried to reinstall InDesign (Adobe Indesign CS3 trial Version 5.0.2) but it not helped

 

I found the same problem in other thread http://forums.adobe.com/message/1307758#1307758

But i did not find the answer.

 

thanks in advance

Problems saving CS5 documents with InDesign Server CS5.5

$
0
0

I've come across a problem which appears to be related to saving converted CS5 documents as CS5.5 using InDesign Server.

 

In my C++ server code I have a method to open documents. Here's part of it...

 

============

// Open the document.

IDFile DocumentFile(DocumentPath);

UIDRef TemporaryRef(UIDRef::gNull);

 

if (Utils<IDocumentCommands>()->Open( &TemporaryRef, DocumentFile ) == kSuccess)

{

    InterfacePtr<IDocument> ptrDocument( TemporaryRef, UseDefaultIID() );

 

    if (ptrDocument != nil)

    {

        m_ReferenceID = TemporaryRef;

        HaveSucceeded = true;

         }

}

============

 

In my server console, InDesign reports the following...

 

09/01/11 13:33:17 INFO  [javascript] Executing File: C:\Program Files\My Service\DoAction.jsx
09/01/11 13:33:31 WARN  [server] The document "Test.indd" was converted

 

At this point, I can do pretty much what I want with the document with no problems. That is apart from save it. My code to save the document is as follows...

 

============

// Save the document.

if ((m_ReferenceID != UIDRef::gNull) && m_ReferenceID.ExistsInDB())

{

    if (Utils<IDocumentCommands>()->Save( m_ReferenceID, kMinimalUI ) == kSuccess)

    {

        HaveSucceeded = true;

    }

}

============

 

No change occurs to the document on the file system. In my Visual Studio 2008 Output window, I see the following...

 

First-chance exception at 0x01e62c5e in InDesignServer.exe: 0xC0000005: Access violation reading location 0x00000004.

Windows has triggered a breakpoint in InDesignServer.exe.

This may be due to a corruption of the heap, which indicates a bug in InDesignServer.exe or any of the DLLs it has loaded.

 

My code hasn't given me any problems until now. I can save CS5 documents on IDS CS5, CS5.5 documents on IDS CS5.5. I can also save the same test document in the desktop version of CS5.5 with no problems. I can only assume that something more needs to be done before the document can be saved back in CS5.5 format.

 

Has anyone seen anything similar? Any ideas are most appreciated.

 

Cheers,

Andrew

Launching instances using InDesignServerService.msc issue

$
0
0

Hi,

 

- I am using CS 5.5 server with the design merge plugin on Windows 7.

- I am using InDesignServerService.msc to configure and start indesign server instances.

- I am passing '-configuration I1 -iorfile D:\ior\I1.txt -pluginpath Server/Corba' in the command line arguments option of InDesignServerService.msc.

- When I am starting the service the instance gets launched but no folder with the instance name 'I1' gets created at 'C:\Users\personal\AppData\Roaming\Adobe\InDesign Server\Version 7.5\en_GB' unlike launching the instance from the command prompt.

 

Is the above folder craeted at any other location?

 

The design merge plugin uses 'Adobe Tags TransTable.txt' while merging the records which is placed at '...\{INSTANCE_NAME}\Meadows\DesignMerge\TransTable\' relative to the above location.

 

As this folder doesn't gets created (if instance is launched from InDesignServerService.msc), I am getting an error 'TransTableNotFound' while merging records.

 

Can anyone help !!

 

 

Thanks

Swarup


InDesign Server crashing on hyperlinks - HYPERLINKS.RPLN

$
0
0

When trying to access properties of a hyperlink it causes InDesign to crash. I can assign properties of the hyperlink but if I try and retrieve properties it hangs and crashes resulting in the error below. I'm using InDesign Server 64bit version 7.0.4.553. What's interesting is this works completely fine when testing using InDesign CS5 client version.

 

I have used Extend script toolkit to try and debug the issue but you can't even use the databrowser to look at the hyperlink properties as it'll crash there as well. But if I debug using toolkit with client version of InDesign it works fine. It really seems like an issue with InDesign Server and I'm not sure what I can do to work around/fix this problem.

 

Example script -

 

var myDoc = app.open([document path]);

for (i = 0; i < myDoc.hyperlinks.length; i++)

{

     var myHyperlink = myDoc.hyperlinks[i];  

     var newDestination = myHyperlink.destination; // - this causes indesign to crash

     //Do some processing...

}

 

 

Faulting application name: InDesignServer.exe, version: 7.0.4.553, time stamp: 0x4d891c6d

Faulting module name: HYPERLINKS.RPLN, version: 7.0.4.553, time stamp: 0x4d891ef9

Exception code: 0xc0000005

Fault offset: 0x000000000006e33b

Faulting process id: 0x1dfc

Faulting application start time: 0x01ccd52e23e3216c

Faulting application path: C:\Program Files\Adobe\Adobe InDesign CS5 Server x64\InDesignServer.exe

Faulting module path: C:\Program Files\Adobe\Adobe InDesign CS5 Server x64\Required\HYPERLINKS.RPLN

 

Any help would be great! I can post more information if needed.

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);

  }

}

Failed to export the JPEG file: Maximum size exceeded

$
0
0

When exporting a page to JPEG you might get the following error message:

 

"Failed to export the JPEG file: Maximum size exceeded. Try decreasing the resolution."

 

After some research I believe this maximum size for the resulting JPEG is set to 32767 pixels. This is the maximum value of a signed short.

Anyone can verify if this is correct?

 

 

 

Another similar error message you might get is:

 

"Failed to export the JPEG file: Not enough memory. Try decreasing the resolution."

 

I would like to know how this limit is calculated.

 

 

Test case:

 

InDesign document of 2000 mm x 2000 mm

    

    Export JPEG, format method 'BASELINE', dpi 416

          -> result preview of 32756 pixels     (2000 mm = 78,740157 inch * 416 dpi = 32756 pixels)

          => preview is exported

     Export JPEG, format method 'BASELINE', dpi 417

          -> "Failed to export the JPEG file: Maximum size exceeded. Try decreasing the resolution."

          => max size exceeded

 

     Export JPEG, format method 'PROGRESSIVE', dpi 416

          -> "Failed to export the JPEG file: Not enough memory. Try decreasing the resolution."

          => Within the max size boundaries, but not within the max memory boundaries. How is this calculated?

     Export JPEG, format method 'PROGRESSIVE', dpi 225

          -> "Failed to export the JPEG file: Not enough memory. Try decreasing the resolution."

          => Within the max size boundaries, but not within the max memory boundaries. How is this calculated?

     Export JPEG, format method 'PROGRESSIVE', dpi 224

          => preview is exported

InDesign Server CC Mac problem licensing

$
0
0

Hi all.

 

I'm trying toactivateInDesign ServerCCbutI am havinga lot of problems.

 

- MacOSX 1.8.5 Server.

- Adobeindesignserver 9.2 Debug 1_23


First of all, the package contains just a folder, not an installer.

So I suppose all I have to do is copy the content in the Applications folder.

 

In the folder I found tree different executable files:

InDesignServer.app

InDesignServer.command

indesignserverconsole.command

 

I tried toactivateInDesignwithall the methodslistedhere:

http://helpx.adobe.com/it/indesign/release-note/indesign-server-cc-release-notes.html#Requ isiti%20minimi%20di%20sistema

 

adobe_prtk --tool=StartTrial --leid=InDesignServer-CS7-Mac-GM

adobe_prtk --tool=Serialize --leid=InDesignServer-CS7-Mac-GM --serial=<MySerial> --adobeid=<MyID>

adobe_prtk --tool=Type1Exception --accept --serial=<MySerial>--responsecode=<MyResponseCode> --leid=InDesignServer-CS7-Mac-GM

 

All attemptsended with: ReturnCode = 0 but InDesign still do not start.

The error is always the same:

"Adobe InDesign Server is not properly licensed and will now quit"

 

On this server is installed also IDServer CS5, can it be aproblem?

 

I hope someone can halp me.

thanks Ivan.

InDesign Server CS6でエラー発生、原因と対処方法を教えてください。

$
0
0

InDesign Serverを利用中、下記2件のエラーが発生しました。

原因、及び対処方法をご存知の方がいらっしゃれば、教えてください。

 

When we use the InDesign Server, two issue case were occurred below:

If you find any causes, solutions , please reply for this comment.

 

 

OS: Windows Server 2008 R2 Standard

a)

Faulting application name: indesignserver.exe,

version: 8.0.1.406,

time stamp: 0x5033740b

Faulting module name: ntdll.dll,

version: 6.1.7601.17514,

time stamp: 0x4ce7c8f9

Exception code: 0xc00000fd

Fault offset: 0x0000000000054f4a

Faulting process id: 0x1334

Faulting application start time: 0x01cf2cd301390b3b

Faulting application path: C:\Program Files\Adobe\Adobe InDesign CS6 Server x64\indesignserver.exe

Faulting module path: C:\Windows\SYSTEM32\ntdll.dll

Report Id: b5097170-993c-11e3-90ff-001018c9f90e

 

b)

Faulting application name: indesignserver.exe,

version: 8.0.1.406,

time stamp: 0x5033740b

Faulting module name: AFL.dll,

version: 1.0.0.0,

time stamp: 0x4ed884f4

Exception code: 0xc0000005

Fault offset: 0x00000000000017c5

Faulting process id: 0x149c

Faulting application start time: 0x01cf72c2a380404f

Faulting application path: C:\Program Files\Adobe\Adobe InDesign CS6 Server x64\indesignserver.exe

Faulting module path: C:\Program Files\Adobe\Adobe InDesign CS6 Server x64\AFL.dll

Report Id: 8526a06c-df2e-11e3-a6c7-001018c9f90e

Viewing all 20709 articles
Browse latest View live


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