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

Numerous InDesign server crashes

$
0
0

We use InDesign Server CC 2014 (10.2.0.69) running on a Windows Server 2012 R2. We encounter a LOT of crashes and the crash reports refer mostly (99% of the events) to ntdll.dll as the faulting module, the other ones are MSVCR110.dll or StackHash.

What we tried: deactivate antivirus and running InDesign Server as Administrator. No luck.

 

Does it sound familiar to anyone?

Thanks!


I have an idea about the Adobe InDesign application program to increase the selling power of Adobe InDesign , by adding an additional menu , with an additional menu which I mean more important to the future of printing . How can I relate directly to the

$
0
0

I have an idea about the Adobe InDesign application program to increase the selling power of Adobe InDesign , by adding an additional menu , with an additional menu which I mean more important to the future of printing .

How can I relate directly to the developer adobe indesingn ........... !

How can i using eclipe to bulid sampleclient-java-soap?

$
0
0

it can not import “com.adobe.ns.InDesign.soap.IDSPScriptArg;”&“localhost.Service_wsdl.Service;”

i use windows7

93(CKNF3J8F9(KC$O%O~W3L.png

Is El Capitan supported?

$
0
0

Hello,

does anyone know if El Capitan supports Creative Cloud InDesign? I'm looking to buy a new iMac which will only come with El Capitan as the OSX.

Thanks!

Mike

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.

Applying pagenumber start to document

$
0
0
I'm trying to apply a startpage number to a document.

When I use Section.pageNumberStart in CS3 Server it replies with "is not a function".

Can anyone give me a hint.

Thanks

Erwin

Error while loading PDF Preset file

$
0
0
Dear All,

I am trying to create a PDF of the InDesign Document after my process. For that I load the preset file generate the PDF and unload Preset file from the server. On this it gets removed properly from the temporary folder also.
Problem is when I run the process second time using the same preset file InDesign Server throws an error "This file is already open by another user or another application. This file may be stored on a network server and cannot be opened until the other user closes it."

It works only if I restart the server. Can somebody help me on this its urgent.

Thanks in advance.

Regards
Farzana.

InDesign Server and Streams

$
0
0
I have reviewed Web Service call to instruct InDesign Server to run scripts, import XML files and export EPSs files, but is there another way to interface to the server without using all these files (maybe steams)?

This is not a problem, just need to make sure I cleanup all the temporary files when done.

Steve

German umlaut crashes the InDesign Server CS3

$
0
0
Hi folks,

the InDesign Server CS3 crashes repeatable by having any german umlaut in the jsx file submitted via SOAP to the server. The SOAP content seams to be valid encoded. Following error is printed by the server on the console:

ASSERT 'secondValue >= 128' in ..\..\..\source\private\utils\StringUtils.cpp at
line 417 failed.
ASSERT 'thirdValue >= 128' in ..\..\..\source\private\utils\StringUtils.cpp at l
ine 421 failed.
ASSERT 'fourthValue >= 128' in ..\..\..\source\private\utils\StringUtils.cpp at
line 425 failed.
UnicodeSavvyString::CheckPairedSurrogates - bad LowSurrogate not prec
eded by HighSurrogate
UnicodeSavvyString::CheckPairedSurrogates - bad LowSurrogate not prec
eded by HighSurrogate
ASSERT 'fNumChars == numChars' in c:\development\cobalt\source\private\strings\U
nicodeSavvyString.cpp at line 533 failed.

Tino

Indesign Server CS4 service is not starting on Windows Server 2003 64bit

$
0
0

Hello guys,

 

I am not able to start Indesign Server CS4 service on windows Server 2003 SP2 64bit .

I have successfuly configured the service with InDesignServerService.msc, set the port to 18555. InDesignServerWinService the Log On option is set to "This Account". Also tried using different accounts!

 

When starting the indesign service from windows Service control panel I get this error:

Could not start the InDesignServerService x64 service on Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fashion.

 

Error log from windows Event viewer:
Error
Timeout (30000 milliseconds) waiting for the InDesignServerService x64 service to connect.

 

Indesign server application works if launching from command line with the specified port 18555.

If trying to lauch IndesignServerService.exe from command line, there is a delay and finally nothing happens.

 

I have also tried launching 32bit indesign server service and the same error comes.

 

Would be grateful for your thoughts!

 

Message was edited by: Andrewdev Server specs: Windows Server 2003 Standard x64 Edition Service Pack 2 Intel Xeon CPU 3.00Ghz 9.76 GB of Ram Server is running virtualy on Xen hypervisor, there is no antivirus and windows firewall is disabled.

Replacing Placeholder Images and Text

$
0
0

Hello,

 

I am designing a system which needs to be able to replace images and text in InDesign documents with new versions.  For example, we might have many documents containing a company logo and want to replace the company logo in all of the documents with a new one.

 

I have InDesign Server CS4 and some of the Java CORBA samples up and running.  I have tried using data merge fields; I can get the com.adobe.ids.preferences.DataMerge objects for them but these objects don't seem to have any methods for updating the fields.  Perhaps data merging is not designed to do what I'm trying to achieve.

 

Can anyone suggest a way of defining placeholder images and replacing them programatically?

 

Thanks,

 

Francis

 

P.S. here is the code that I have so far:

 

import java.io.File;

import com.adobe.ids.*;
import com.adobe.ids.basics.*;
import com.adobe.ids.datamerge.DataMergeField;
import com.adobe.ids.enums.kSaveOptionsNo;
import com.adobe.ids.preferences.DataMerge;
import com.adobe.ids.sdk.utils.ApplicationUtils;

/**
* Demo of InDesign data merging using InDesign Server
*
* @author Bright Interactive
*/
public class DataMergeTest
{
    public static void main(String[] args) throws Exception
    {
        String ior = args[0];
        String inFileName = args[1];
        String outFileName = args[2];

        File testInFile = new File(inFileName);
        if (!testInFile.exists())
        {
            System.err.println(testInFile + " does not exist");
            System.exit(1);
        }

        Document doc = null;
        ApplicationUtils utils = new ApplicationUtils(ior);
        try
        {
            Application app = utils.getApplication();
            app.consoleout("DataMergeTest starting");
            VariableType vtFile = VariableTypeUtils.createFile(inFileName);
            doc = DocumentHelper.narrow(app.open(vtFile).asObject());

            DataMerge dataMerge = doc.getDataMergeProperties();
            // next line throws an IdsException :-(
//            DataMergeField pictureField = dataMerge.getNamedChildDataMergeField("Picture");
//            System.out.println("pictureField = " + pictureField);

            DataMergeField[] dataMergeFields = dataMerge.getAllChildDataMergeFields();
            for (int i = 0; i < dataMergeFields.length; i++)
            {
                DataMergeField dataMergeField = dataMergeFields[i];
                System.out.println(dataMergeField.getFieldName());
                if (dataMergeField.getFieldName().equals("Picture"))
                {
                    System.out.println("Found picture field");
                    // not sure what to do with dataMergeField now!
                }
            }


            app.consoleout("DataMergeTest done");
        }
        finally
        {
            if (doc != null)
            {
                try
                {
                    doc.close(OptArg.makeSaveOptionsEnum(kSaveOptionsNo.value),
                          OptArg.noFile(),
                          OptArg.noString(),
                          OptArg.noBoolean());
                }
                catch (IdsException e)
                {
                    e.printStackTrace();
                }
            }

            try
            {
                utils.destroyORB();
            }
            catch (Exception e)
            {
                e.printStackTrace();
            }
        }
    }
}

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.

SOAP Server Root

$
0
0

I am setting up a new publication automation system.

 

I have a Flex front-end in the browser that calls InDesign Server via SOAP.  Everything works perfectly on my local.  But when I move my flash files to a production server I'm getting a security error.

 

I think I need to put a crossdomain.xml file on the root of the SOAP server... but - I have no idea where that root is!  I've searched everywhere (and dropped files in dozens of places hoping to stumble across it) but no luck.

 

Does anybody know where the SOAP root is?  e.g.  when I type:  http://myserver:8888 which shows my SOAP config -> what folder is that?

 

I'm running InDesignServer CS5 on a windows machine.

 

 

Or, if there are any other suggestions, I'm open to hearing them.. I've tried compiling my flex project with -use-network - and I've also set my Flash Global Security settings on the production server to allow the IDS server... but  no luck...

 

thanks in advance...

Indesign Server CC Trial issues

$
0
0

The installation instructions states

 

You need to download Adobe Provisioning Toolkit Enterprise Edition (APTEE) for using the InDesign Server trial

 

The download link only refers to CS6, CS5.5 & CS5 not CC

Since there is no Adobe Provisioning Toolkit Enterprise Edition for CC I decided just to install and run the trial.

 

However I got the Adobe InDesign Server is not properly licensed and will now quit message.

According to the CC Release notes it says:

 

InDesign CC Server needs to be activated before it can be used. If the computer is online, activation is done automatically when you install. You need to provide your Adobe ID, and serial number when prompted by the installer. Unless the software is activated, you'll see an error, "Adobe InDesign Server’ is not properly licensed and will now quit."

 

My computer was online yet the it seems it didn't perfom the automatic activation as it suggests. When I entered my AdobeID credentials I did not get any errors saying it could not connect online.

 

So I had to do something and decided to use the Adobe Provisioning Toolkit Enterprise Edition for CS6.

This allowed me to get pass the licensing issue.

 

The next problem was I was getting DDE Server Window:InDesignServer.exe System Error popup. Telling me The program can't start because svml_dispmd.dll is missing from your computer.

 

C:\Program Files\Adobe\Adobe InDesign CC Server x64>indesignserver
================================================================================

.  InDesign CC Server Version 9.0 x64 Evaluation
.  Copyright 1999-2013 Adobe Systems Incorporated and its licensors.
.  All rights reserved. See the other legal notices in the ReadMe.
================================================================================

11/28/13 08:08:49 INFO  [server] Initializing
11/28/13 08:08:49 INFO  [server] Loading the application
11/28/13 08:08:49 INFO  [server] Scanning for plug-ins
11/28/13 08:08:49 INFO  [server] Registering 113 plug-ins
11/28/13 08:08:53 INFO  [server] Completing Object Model
11/28/13 08:08:53 INFO  [server] Saving Object Model
11/28/13 08:08:53 INFO  [server] Initializing plug-ins
11/28/13 08:08:53 INFO  [server] Calling Early Initializers
11/28/13 08:08:53 INFO  [server] Starting up Service Registry
11/28/13 08:09:02 INFO  [server] Executing startup services
11/28/13 08:09:02 INFO  [server] Using configuration configuration_noport
11/28/13 08:09:02 INFO  [server] Initializing Application
11/28/13 08:09:02 INFO  [server] Completing Initialization
11/28/13 08:09:02 INFO  [server] Calling Late Initializers
11/28/13 08:09:08 INFO  [server] Image previews are off
11/28/13 08:09:08 INFO  [server] Server Running
11/28/13 08:09:08 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign CC Server x64\Scripts\startup scripts\ConnectInstancesToESTK.js
11/28/13 08:09:08 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign CC Server x64\Scripts\converturltohyperlink\startup scripts\ConvertURLToHyperlinkMenuItemLoader.jsx
11/28/13 08:09:08 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign CC Server x64\Scripts\converturltohyperlink\ConvertURLToHyperlinkMenuItem.jsxbin

 

So after browsing the net to see where I can get this missing svml_dispmd.dll I found this post http://software.intel.com/en-us/forums/topic/285859

and decided to install what it suggested.

I still got the missing dll error so I copied it from C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler into C:\Program Files\Adobe\Adobe InDesign CC Server x64

 

Now it just sits there and hangs at the same spot

11/28/13 08:09:08 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign CC Server x64\Scripts\converturltohyperlink\ConvertURLToHyperlinkMenuItem.jsxbin

 

What the heck is going on here?

 

 

I have installed Indesign Server CC on another machine and although I did not get the missing dll problem it still however hangs at the same spot mentioned above.

Could someone from Adobe please help. The already I'm losing days with this trial and I will have little days left to test this product.

InDesign Server 10 CC 2014

$
0
0

Hi there,

 

we are using InDesign CS4 upt o CC 2014 and have some automation going with InDesign Server.

Our latest InDesign Server is 9. This workflow can't handle CC 2014- Documents.

 

Is there any Release-Date for InDesign Server CC 2014?

 

Many thanks,

Florian


InDesign Server CC - AppleScript - activate document

$
0
0

We have an issue to run our AppleScripts with the CC version. It seems that something has changed regarding how to activate ("talk to") a document in InDesign Server CC.

This script changes the behaviour of printing inks in ink manager. With CS5, it runs, with CC i got an error.

 

tell application "Adobe InDesign Server"

   

    activate

   

    set myDocument to document 1

   

    tell myDocument

       

        set docInks to inks

       

        repeat with x from 1 to count docInks

           

            if is process ink of item x of docInks is false then

               

                set convert to process of item x of docInks to true

               

            end if

           

        end repeat

       

    end tell

   

end tell

 

 

I assume the line

set myDocument to document 1

works no longer.

Which is the right expression?

InDesign Server Package Issue

$
0
0

Hi,

I am facing a new issue that never rose before with the package feature with inDesign Server. Suddenly nor the indd file, nor the fonts folder, nor the Links folder are created. All I get is the "instructions.txt" file. Weirdly enough I produce a pdf file which faithfully represent what my indd is expected to be. The contents are well placed (texts and pictures)…So at some point it's obvious the file exists but somehow something is corrupted when InDesign wants to package the file.

Actually my workaround is to mimick the package feature myself. However i would like to understand what's going wrong here.

 

Even weirder, in some cases, the package is just fine. So I am feeling there is some wront artefact is ome file but thos files got nively packaged in the past. I use to place fonts in the Applications fonts folder. But i tried to remove any fonts, restart server and it didn't fix it.

 

Any hints ?

 

Best regards,

 

Loic

[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.

Problems with Anchored object when package

$
0
0

I have problems with anchored objects when creating a package with indesign server, i have include a single script that targets to different files, one with an anchor in it and a second with no anchor.

 

Rem HelloWorld.vbs
Set app= CreateObject("InDesignServer.Application.CS3")
app.PublishTerminology 4.0
app.ScriptPreferences.Version = 4.0
Rem Create a new document.
Set myDocument = app.Open("c:\indesigntst\Anchored_Test.indd")
Rem Package
If Not myDocument.Package("c:\indesigntst\Anchored_Test\", False, False, False, False, False, False, False) then
MsgBox app.errorListErrors.Count
end if
app.Documents.Item(1).Close

Set myDocument = app.Open("c:\indesigntst\HelloWorld.indd")
Rem Package
If Not myDocument.Package("c:\indesigntst\HelloWorld\", False, False, False, False, False, False, False) then
MsgBox app.errorListErrors.Count
end if
myDocument.Save "c:\indesigntst\ts.indd"
app.Documents.Item(1).Close

 

I don't see any error or alike, and package returns true, but no folder is created.

 

Packaing of the same document works fine on desktop edition off indesign...

Any ideas?

Porting CS4 to CS5 in java

$
0
0

Hi,

 

In my company we want to switch from CS4 server to CS5 server.

 

We use java to talk to our server, so currently we use indesignserverapi.jar and snippets.jar for CS4.

 

When I open the project (e.g. in eclipse) I tried to put the indesignserverapi.jar and snippers.jar for CS5 in the classpath.

 

I saw a few compile errors due to methods that were renamed, but I could replace those method calls with other calls since only the 'name' of it seemed to have changed in the new jar.

 

Now my question is:

 

I (think) I ported my java code to be compatible with CS5. So normally when i build my code and put it on the server it should work correctly.

 

But will it work when I put my ported CS5 code on a server that still runs CS4??

 

Will it be backwards compatible?

 

And if not, do have to maintain multiple version or are there other solutions to have 1 version and still be backwards compatible?

 

Kind regards,

 

Jimmy

Viewing all 20709 articles
Browse latest View live


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