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

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 CC 2015 trial license issue

$
0
0

I am really struggling to start InDesign server on my Windows 8 machine. I did following steps after spending lot of time:

1) Download trial server

2) Installed it on my machine

3) Download APTEE and run it

4) run command - adobe_prtk --tool=startTrial --leid=InDesignServer-CC-Win-GM

 

But still no joy! Can anyone help me on this

Problem wit Java via ORB: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No

$
0
0
I try to use the Java API to drive an InDesign Server CS3.<br />I have set up Windows Services for two InDesign Server instances, both using diffenrent prots and different IOR Files.<br /><br />When I try to connect the Adobe Java SampleClient (from teh SDK. Adobe InDesign CS3 Server SDK\samples\sampleclient-java-corba) I can connet to InDesign one or two times.<br /><br />After that i get an Exception on the next try:<br />org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No<br /><br />same thin occours when I use the precompiled java program musing the sampleclient.bat.<br /><br />One strange thing could be encountered here. I definitely do not use port: 2512" as mentioned in the error message. I use port 2267n and it works for just two client calls (after each restart of the InDesign Service).<br /><br />any hints?<br />What ist the thing about OmniOrb? Do I have to install somthing except the adobe InDeign Server and the SDK?<br /><br />many thanks in advance<br />Joachim<br /><br />sampleclient.bat's output:<br />--------------------<br />C:\Programme\Adobe\Adobe InDesign CS3 Server SDK\samples\sampleclient-java-corba<br />\scripts>java -classpath "..\lib\sampleclient-java-corba.jar;..\..\..\lib\InDesi<br />gnServerAPI.jar" com.adobe.ids.SampleClient -iorfile "c:\Temp\InDesignCS3Server2267ior.txt" "C:\Workshops\InDesignServer\WWPScripts\SavePageAsJpg.jsx"<br />28.10.2008 17:21:36 com.sun.corba.se.impl.transport.SocketOrChannelConnectionImp<br />l <init><br />WARNUNG: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR<br />_TEXT; hostname: 192.168.1.152; port: 2512"<br />org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No<br />        at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(U<br />nknown Source)<br />        at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(U<br />nknown Source)<br />        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(<br />Unknown Source)<br />        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(<br />Unknown Source)<br />        at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.create<br />Connection(Unknown Source)<br />        at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.begin<br />Request(Unknown Source)<br />        at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(Unknow<br />n Source)<br />        at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(Unknown S<br />ource)<br />        at org.omg.CORBA.portable.ObjectImpl._is_a(Unknown Source)<br />        at com.adobe.ids.basics.ApplicationHelper.narrow(Unknown Source)<br />        at com.adobe.ids.SampleClient.main(Unknown Source)<br />Caused by: java.net.ConnectException: Connection refused: connect<br />        at sun.nio.ch.Net.connect(Native Method)<br />        at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)<br />        at java.nio.channels.SocketChannel.open(Unknown Source)<br />        at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket<br />(Unknown Source)<br />        ... 9 more

[IDS Win]How to flush Indesign server.

$
0
0
Hi All,
I am using Indesign server to create documents which contains text, images & tables. My job is to create & export documents to pdf. Document are sometimes contains 300 plus pages. And cs2 server process this jobs one after the other in queue ..may be 100 jobs in a queue. Here after certain amount of time a 'out of memory' error comes up and Indesign server gets crashed(its around after processing 30-40 jobs).
I have taken care to delete all allocated meomary in my program through New- delete pair. Still after each job allocated memory to Indesign keeps increasing.
Is there any way so that I can purge memory from Indesign after my job complition? I tried to use 'PurgeMemory' over IDocumentList but its not that effective.
Any suggestions are most welcommed!

Thanks,
Rahul.

Using pdf preset file in Indesign server

$
0
0

Hi,

Using pdf preset as a input file to generate pdf files using indesign server . It gives the error as per below

rrmsg=PDF error:Invalid value for parameter 'using' of method 'exportFile'. Expected PDFExportPreset, but received FALSE

 

pdf preset file used is as Adobe PDF Preset 1.joboptions

 

Any workaround to fix the above error msg ???

Looking for developer for Server Scripting project

$
0
0

Hi everybody,

 

For a customer project we're looking for a developer with experience in InDesign Server Scripting (we have a InDesign Plugin, but not much experience with Server Scripting) and I hope to find somebody here in this forum.

For the project several InDesign and InCopy document with simple content must be opened and read and the content must be written in one final InDesign Document. Simple for the InCopy documents, more complicated for the InDesign files, they can include images.

 

If you're interested in helping us with this project, please answer here or send me a mail to kfriese@dataplan.de.

 

Thanks

Klaus

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

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


Font woes; also asked in scripting.

$
0
0

Hi,

I am having issues using a valid font in an automated server system, I've created a thread in scripting here; https://forums.adobe.com/thread/1803689

If any of you have any insight into this kind of issue, I would love to hear it!

Thanks,

G

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

Indesign CC 2014 Server.

$
0
0

Hi,

Is InDesign CC 2014 Sever compatible with "Windows 2008 Server R2" ?

Combining or Merging Indesign Files (IDML/INDT)

$
0
0

Greetings,

 

I would like to inquire about a possible performance problem regarding combining multiple IDML / INDT files or copying pages via Indesign Server Scripting API.

Note that we are using Indesign Server CS6 (with latest 8.0.2 update).

 

Currently, we are using the following line to merge multiple indesign documents (IDML/INDT)

document.pages.everyItem().duplicate(LocationOptions.AFTER, baseDocument.pages[lastPageIndex])

 

Above line performs what is needed (textframes are threaded, etc), however there is a possible issue with its performance which degrades horribly especially after several merging operations and if there are several pages in the base document or the document to be copied (though the performance is more affected when the document to be copied has many pages)

 

Testing done:

#1 For the below test, Notice that the merging is not constant and degrades per minute (performance may possible degrade when using a larger document)

 

start

end

time elapsed for pages.everyItem.duplicate

 

operation done

with a base of 42 page INDT document

12:13:33

12:15:28

0:01:55

 

add 42 page INDT file

12:15:29

12:18:35

0:03:06

 

add another 42 page INDT file

12:18:37

12:22:53

0:04:16

 

add another 42 page INDT file

12:22:54

12:28:15

0:05:21

 

add another 42 page INDT file

12:28:17

12:34:30

0:06:13

 

add another 42 page INDT file

 

 

TOTAL

 

 

 

 

0:20:51

 

 

 

with a base of 42 page IDML document

12:13:58

12:16:44

0:02:46

 

add 42 page IDML file

12:16:56

12:20:59

0:04:03

 

add another 42 page IDML file

12:21:11

12:26:21

0:05:10

 

add another 42 page IDML file

12:26:35

12:32:39

0:06:04

 

add another 42 page IDML file

12:32:50

12:40:06

0:07:16

 

add another 42 page IDML file

 

 

TOTAL

 

 

 

 

0:25:19

 

 

 

Time elapsed is 20 minutes for INDT and 25 minutes for IDML. it adds ~1 minute for each document added (for a 42 page, this duration may increase when no of pages increase).

 

#2 For below test, we noticed that INDT seems to perform faster than IDML (though it is larger by 10x and is a binary file)

 

 

with a base of 838 page IDML document

14:30:44

14:55:40

0:24:56

 

add 42 page IDML file

 

 

 

 

 

 

 

 

 

 

with a base of 838 page INDT document

15:14:55

15:23:40

0:08:45

 

add 42 page INDT file

 

#3 For below test, notice that the merging degrades by several minutes even if you just increase the number of pages.

Notice that we added the documents according to increasing no of pages as we found out that it performs significantly faster than not (saved several hours)

I also incorporated the doc.save and gc calls but it still doesn't help reduce the whole merging process to several minutes. (still takes 11 hours just to merge 33 documents with total of 1046 pages)

Note that we also checked binary merging (merging small files first but the resulting time is much larger than above)

 

with a base of 1 page IDML document

15:58:45

15:58:52

0:00:07

 

add 1 page IDML file

15:58:53

15:59:00

0:00:07

 

add 1 page IDML file

15:59:01

15:59:08

0:00:07

 

add 2 page IDML file

15:59:09

15:59:18

0:00:09

 

add 2 page IDML file

15:59:19

15:59:29

0:00:10

 

add 3 page IDML file

 

 

 

 

perform $.gc  and doc.save into temp IDML

15:59:35

15:59:42

0:00:07

 

add 4 page IDML file

15:59:44

15:59:52

0:00:08

 

add 6 page IDML file

15:59:54

16:00:05

0:00:11

 

add 6 page IDML file

16:00:08

16:00:21

0:00:13

 

add 6 page IDML file

16:00:23

16:00:49

0:00:26

 

add 7 page IDML file

 

 

 

 

perform $.gc  and doc.save into temp IDML

16:00:53

16:01:03

0:00:10

 

add 7 page IDML file

16:01:05

16:01:19

0:00:14

 

add 8 page IDML file

16:01:22

16:02:18

0:00:56

 

add 10 page IDML file

16:02:22

16:04:12

0:01:50

 

add 17 page IDML file

16:04:17

16:06:41

0:02:24

 

add 19 page IDML file

 

 

 

 

perform $.gc  and doc.save into temp IDML

16:06:50

16:09:14

0:02:24

 

add 20 page IDML file

16:09:19

16:12:31

0:03:12

 

add 20 page IDML file

16:12:37

16:15:53

0:03:16

 

add 21 page IDML file

16:15:59

16:21:00

0:05:01

 

add 26 page IDML file

16:21:07

16:27:25

0:06:18

 

add 27 page IDML file

 

 

 

 

perform $.gc  and doc.save into temp IDML

16:27:40

16:38:28

0:10:48

 

add 37 page IDML file

16:38:38

16:50:42

0:12:04

 

add 39 page IDML file

16:50:55

17:08:09

0:17:14

 

add 42 page IDML file

17:08:21

17:28:39

0:20:18

 

add 44 page IDML file

17:28:55

17:58:32

0:29:37

 

add 52 page IDML file

 

 

 

 

perform $.gc  and doc.save into temp IDML

17:58:58

18:26:26

0:27:28

 

add 52 page IDML file

18:26:42

19:11:57

0:45:15

 

add 63 page IDML file

19:12:16

20:08:49

0:56:33

 

add 64 page IDML file

20:09:09

21:13:22

1:04:13

 

add 67 page IDML file

21:13:59

22:39:28

1:25:29

 

add 67 page IDML file

 

 

 

 

perform $.gc  and doc.save into temp IDML

22:40:15

0:35:17

1:55:02

 

add 84 page IDML file

0:35:48

3:30:53

2:55:05

 

add 98 page IDML file

 

 

TOTAL

 

 

 

 

11:26:36

 

 

 

Notice that I have already added $.gc and doc.save per 5 documents however the effect is lost/not significant around the 4th/5th time.

 

Please confirm if there is something that can be done to resolve above Indesign's performance for merging / copying pages from one document to another.

or suggest alternative code or some setting that we may have missed.

Hide cmd windows after running LBS bat file

$
0
0

Hi,

 

Now I am working on a solution of converting indd file to pdf on server side in our product.

Since this process may cost time I choose LBS with job queue, but after running "startup-indesign-server-CORBA-4instances.bat" there four cmd windows will popup to listen to request.

What I want is that can I hide these window after they started? I don't want customers to close this windows for their careless.

I have tried to write a .vbs script to hide the cmd window but failed.

Anyone has an idea?

 

 

Thanks

Darren

How do you upload/download Indesign Documents to the server through client interface?

$
0
0

Hi,

 

   I am new to Adobe Indesign Server and just got the trial version and am starting to play around with it. I need the Adobe Indesign server to generate preview from .indd packaged files. Currently I am uploading the .indd files directly on the Indesign server to generate previews. Any idea on how to upload/download files from Indesign Server using their client interface. I am currently using their sampleclient and eventually plan to use the SOAP api for building a client. Any help appreciated.

 

Thanks,

CC

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.


How to run apache in port 80?

$
0
0

Hi All

 

I need to run indesign server - LBQ on port 80 instead of default port 8080. I tried by changing server.xml.

But it doesn't seem to work. Could anyone suggest on this?

 

thanks in advance!

 

FYI

 

InDesign Server CC 2014

Windows 2012 R2

如何使用C#开发 InDesign Server插件

$
0
0

现在刚开始学习使用InDesign,想使用C#开发 InDesign Server。但所有的SDK都是基于java或者C++

如果使用C#开发?

InDesignServerService not running on specified port

$
0
0

Hello,

 

 

 

I'm having an issue where I've downloaded the trial version of InDesign CC Server 2014 for use with Sitecore's PXM module. According to their instructions, if I were to modify the .msc file located at C:\Program Files\Adobe\Adobe InDesign CC Server 2014 by setting the port setting to a specific value, it should then listen on that port provided I restart the service. The InDesignServerService is running according to the task manager, but when I check via netstat, I don't see it at all.

 

Is anyone familiar with issue and if so, what might I be missing? Any help is appreciated.

 

 

 

Thank you,

 

Anthony

Adobe Typekit fonts not found

$
0
0

I have an instance of InDesign Server CC 2014 set up on configuration_noport that happily finds my Adobe Typekit fonts, If I run the Indesign server as a service using the same configuration none of my Typekit fonts are found.  I am running the service as the same user as my Desktop user, and also have tried rebooting the box with no success.

 

Does anyone have any ideas how I can force the service to be able to find the Typekit fonts?

 

Thanks.

 

Leigh Warren

Custom LBQ?

$
0
0

Has anyone here built a custom LBQ vs the one that's included with InDesign Server? I'm installing CS9 on some new servers and LBQ is being quite difficult in running properly. I have no issues with the default LBQ running on CS6 but with CS9? hmm, not so good. So anyways, didn't know if anyone has written a custom LBQ or is everyone using the default one supplied by Adobe?

Viewing all 20709 articles
Browse latest View live


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