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

CS4: export to pdf problem using COM in vb.net

$
0
0

Hi,

 

I try to export to a pdf in a vb.net console app but it keeps giving me an error. The rest of my code works fine and when I save the document I can see that everything went well.

 

Basically my code for exporting is:

 

mydoc.Export(InDesign.idExportFormat.idPDFType, pdfPath, myapp.PDFExportPresets.Item("[Press Quality]"), False, Nothing, False)

 

 

But I keep receiving the following error "Conversion from type 'PDFExportPreset' to type 'Boolean' is not valid."

I've been trying to switch param's around but nothing seems to help.

 

Thanks in advance


Font Not Found.

$
0
0

Hi there,

 

Running InDesign Server with a front-end that takes imported IDML files and creates a print ready .pdf. Something I noticed is that sometimes a font is missing and I get the error message from InDesign server about this. It doesn't affect the .pdf output (except for the missing font but it substitutes it). Is there a way that when an IDML file is imported that the fonts are passed to the InDesign server to process? Or do I have to install all the fonts on the server instead?

 

Just trying to figure out what's the best way to do this.

 

Thanks.

 

~Allen

logs in Indesign Server

$
0
0

Hi Experts,

 

We are running multiple instances of Indesign server service. But for all the instances Logs are coming into single file. Is it possible to separe the logs for each instance of server.

 

It will be great help for analysing each server request. If possible please let us know.

Thanks in advance.

 

Regards,

sameer

Cannot start multiple sessions in CS6

$
0
0

Hi,

 

I am trying the new multi threads feature from IDS CS6 (contra using multiple instances).

But I seem unable to start several sessions from the same client.

 

I do have a machine with 4 core processors (even a multi-instances license), so I should be able to start 4 sessions in parallel.

I start a single IDS instance with SOAP on port 12345.

 

Using SoapUI:

- I make a call to "BeginSession": it returns successfully (for example sessionID 2)

- If I make a second call to "BeginSession", it returns a SOAP fault telling me that the call is already part of a session...

- If I make a third call, it returns successfully (sessionID 3)

- And so on, every second call will fail

- Furthermore, it seems that the failing call triggers the end of the previous session, because I am unable to call EndSession after that. It would explain why every second call will succeed.

- if I call BeginSession, then EndSession, BeginSession, EndSession... it works without problem.

 

I also tried using two different clients running from two different computers, against the same InDesign Server:

- Call BeginSession from client 1: success

- Call BeginSession from client 2: success

- Call EndSession from client 1: success

- Call EndSession from client 2: success

- If a client tries to open a two sessions in a row (without callind EndSession on the first one), it fails as I described in the first case above.

- If a client tries to close the session opened by the other client, I get a SOAP fault too.

 

 

So in conclusion, are we limited to open only one session per client???

Does IDS CS6 retain information on which client opened which session, and then ensure to have a maximum of one session per client?

 

This is a big problem, as I want a unique controller opening the sessions and running all server script calls... It should definitely need to open several sessions in parallel, else there would be no point in using multi-sessions instead of multi-instances.

 

Thanks for your help,

Martin

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

Creating Hyperlink using InDesign CS6 Server

$
0
0

Hello,

 

Could anyone help me to automate hyperlink generation for the web related contents, I can acheive this using desktop, but not in InDesign CS6 server, since 'selection' property is not supporting by the server version.

 

Thanks,

 

Praveen

how to increase indesign server memory limit, It seems to crash when memory usage spikes to 1GB

$
0
0

how to increase indesign server memory limit, It seems to crash when memory usage spikes to 1GB

Indesign Server download link not working


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

Clarification on InDesign Activation (trial)

$
0
0

so right now on my windows server which is 2008 r2 I have the following installed

Captur00e.PNG

I am trying to get InDesign CC Server 2014 trial activated and here is what I have done so far

Captur00e.PNG

So I got the error that it is not properly licensed so next I ran the command from the Adobe Manager Directory : adobe_prtk --tool=StartTrial --leid=V7{}InDesignServer-10-Win-GM

Captur00e.PNG

 

Captur00e.PNG

 

Now I got a successful StartTrial indicator, so I will go back and try again

 

Captur00e.PNG

I am confused at this point? I got the right return code for successful, but yet its not licensed properly?

Just wondering if anyone has any suggestions regarding this? or maybe I am missing something and doing something incorrectly somewhere?

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.

Problems adding bookContents to a book

$
0
0
Hallo,

i have a simple script adding an empty book to app and then trying to add some bookContents to this book.

Whenever i try bookContents.add() i get an error reading "Referenzfehler: Vorgang vom Benutzer abgebrochen." - "Reference Error - Process aborted by user".

What's wrong with this script? Are there any user operations possible in Indesign Server? Please help!

Code:
bookFile = "C:/book.indb";
var myBook = app.books.add(File(bookFile));
var myBookContents = myBook.bookContents;
file = "C:/test.indd";
myBookContents.add(File(file));

Thanks in advance
Thilo Machill

InDesignServer Service not starting on Windows Server 2003 (32bit & 64 bit)

$
0
0

Note: this issue is different from this thread on a similar issue.

 

This problem has plagued me for weeks and I finally give up. InDesign Server installs successfully and the InDesignServerService starts, but the server does not run. I can only run the server from the command line. I've followed these installation instructions but run into the following problems:

 

1. installing by the command line: InDesignServerService /install fails and produces the following error log:

 

Installing service InDesignServerService...

Creating EventLog source InDesignServerService in log Application...

Rolling back assembly 'E:\Program Files\Adobe InDesign CS4 Server\InDesignServerService.exe'.

Affected parameters are:

   logtoconsole =

   assemblypath = E:\Program Files\Adobe InDesign CS4 Server\InDesignServerService.exe

   logfile = E:\Program Files\Adobe InDesign CS4 Server\InDesignServerService.InstallLog

Restoring event log to previous state for source InDesignServerService.

2. I cannot install or load the snap-in to MMC. When I try to install regsvr32 InDesignServerMMC.dll it cannot be found (as it's not in the InDesign Server directory). However InDesignServerMMC64.dll is in there and I was able to load the snap-in using regsvr32 InDesignServerMMC.dll, but the server still only runs when being started from the command line.

 

As I mentioned, InDesign Server runs fine when I have an active command line window open and run InDesignServer, but the moment I close the command line window, the server shuts down. Any ideas?

InDesign - ORB - Java not working

$
0
0

I am trying to use InDesign using Java via ORB.

 

When I run following java program

 

package indesigntest;

import java.io.BufferedReader;

import java.io.FileReader;

import org.omg.CORBA.ORB;

import org.omg.CORBA.Object;

import com.adobe.ids.IdsException;

import com.adobe.ids.basics.Application;

import com.adobe.ids.basics.ApplicationHelper;

public class Main {

 

    public static void main(String[] args) {

        try {

            ORB orb = ORB.init(args, null);

            BufferedReader iorIn = new BufferedReader(new FileReader("d:\\ior.txt"));

            String application_IOR = iorIn.readLine();

            Object object = orb.string_to_object(application_IOR);

            Application myApp = ApplicationHelper.narrow(object);

            myApp.consoleerr("Error occur");

            myApp.consoleout("First Hello Server");

        } catch (IdsException e) {

            e.printStackTrace();

        } catch (Exception e) {

            e.printStackTrace();           

        }

    }

}

 

 

 

I got following exception:

 

com.adobe.ids.IdsException: IDL:com/adobe/ids/IdsException:1.0

        at com.adobe.ids.IdsExceptionHelper.read(Unknown Source)

        at com.adobe.ids.basics._ApplicationStub.consoleerr(Unknown Source)

        at indesigntest.Main.main(Main.java:18)

 

 

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

 

Here is InDesign server command that is running sucessfully at backend

 

D:\>c:

 

C:\>cd\

 

C:\>cd C:\Program Files\Adobe\Adobe InDesign CS6 Server x64

 

C:\Program Files\Adobe\Adobe InDesign CS6 Server x64>InDesignServer -iorfile d:\

ior.txt -pluginpath Server\Corba

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

 

.  InDesign CS6 Server Version 8.0 x64 Evaluation

.  Copyright 1999-2012 Adobe Systems Incorporated and its licensors.

.  All rights reserved. See the other legal notices in the ReadMe.

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

 

08/09/12 17:41:07 INFO  [server] Initializing

08/09/12 17:41:07 INFO  [server] Loading the application

08/09/12 17:41:07 INFO  [server] Restoring Object Model

08/09/12 17:41:07 INFO  [server] Scanning for plug-ins

08/09/12 17:41:08 INFO  [server] Initializing plug-ins

08/09/12 17:41:08 INFO  [server] Starting up Service Registry

08/09/12 17:41:25 INFO  [server] Executing startup services

08/09/12 17:41:25 INFO  [server] Using configuration configuration_noport

08/09/12 17:41:28 INFO  [server] Initializing Application

08/09/12 17:41:28 INFO  [server] Completing Initialization

08/09/12 17:41:32 INFO  [server] Image previews are off

08/09/12 17:41:32 INFO  [server] Server Running

08/09/12 17:41:32 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adob

e InDesign CS6 Server x64\Scripts\startup scripts\ConnectInstancesToESTK.js

08/09/12 17:41:32 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adob

e InDesign CS6 Server x64\Scripts\converturltohyperlink\startup scripts\ConvertU

RLToHyperlinkMenuItemLoader.jsx

08/09/12 17:41:32 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adob

e InDesign CS6 Server x64\Scripts\converturltohyperlink\ConvertURLToHyperlinkMen

uItem.jsxbin

08/09/12 17:41:36 INFO  [server] Initializing Corba API

08/09/12 17:41:36 INFO  [server] ApplicationIOR:010000002200000049444c3a636f6d2f

61646f62652f6964732f4170706c69636174696f6e3a312e30000000010000000000000068000000

010102000b00000031302e302e302e3231390000380a000013000000ff6964735f706f61fe00b023

50010008b40031000200000000000000080000000100000000545441010000001c00000001000000

010001000100000001000105090101000100000009010100

08/09/12 17:41:36 INFO  [server] Writing IOR to 'd:\ior.txt'

 

Generated iot.txt file

 

IOR:010000002200000049444c3a636f6d2f61646f62652f6964732f4170706c69636174696f6e3a312e300000 00010000000000000068000000010102000b00000031302e302e302e3231390000d008000013000000ff696473 5f706f61fe8fa023500100130c0031000200000000000000080000000100000000545441010000001c00000001 000000010001000100000001000105090101000100000009010100

 

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

 

Environment:

Windows 7 64 bit

JDK 6

Adobe InDesign CS6 Server x64

Adobe InDesign CS5.5 Server SDK

 

Trial Activated using

"adobe_prtk --tool=StartTrial --leid=InDesignServer-CS6-Win-GM"

 

 

PLEASE LET ME KNOW WHAT I AM MISSING.

 

I am also interested in Indesign purchase if it got working.

 

 

Thanks in advance.

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

$
0
0

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

如果使用C#开发?


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

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?

Cannot Start InDesignServerService -- Win2008

$
0
0
Hi,

I installed InDesign CS4 Server Release and Debug versions on a Windows 2008 Server. However, I can't start the service of the release version, it gives me a "Error 1053: The service did not respond to the start or control request in a timely fashion" message. But I can run the server via the command line.

Also, when I try to run the debug version, via command line or via the service, I get an "The application failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail" message.

The event log gave me this details:

Activation context generation failed for "C:\Program Files\Adobe\Adobe InDesign CS4 Server Debug\InDesignServerService.exe". Dependent Assembly Microsoft.VC80.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",typ e="win32",version="8.0.50727.762" could not be found. Please use sxstrace.exe for detailed diagnosis.

I already installed c++ runtime libraries into the server.

Hope someone can help through this. Thanks in advance.

-- Jeff

populate an Indesign template from DB and convert it to PDF on a spot!!!

$
0
0
Greetings,

Is there a way to populate an Indesign template file (which is stored in a server) with a data that comes from a database, then it converts it to PDF on a spot by clicking a link on a website?

Ive been doing some research. I found a plug-in for Indesign called easycatalog which enables indesign to get data from a database. But what im trying to do is to have a link on a website where people can view a pdf file, but once clicked, the pdf is updated on a spot.

I found also something called fdf that get data from databse to a pdf file. But I don't know which fits better for my problem.

Please help!!!!
Thanks

Ayad

SOAP FAULT: SOAP-ENV:Client

$
0
0
Hi all,

I'm trying to get the Adobe InDesign Server to work, but having no experience with SOAP I'm running into a few problems.

After I make sure that the server is running I use the testclient to try HelloWorld.jsx
"testclient HelloWorls.jsx"

When executing this I get the following errors:
----
SOAP FAULT: SOAP-ENV:Client
"Unknown error"
Detail: TCP connect failed in tcp_connect()
---

Any ideas on how I can solve this? A few google searches about this problem gave me no relief...

Kind regards,
Tibor
Viewing all 20709 articles
Browse latest View live


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