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

UTF8 script arguments communication between InDesign Server and SOAP Client

$
0
0

UTF8 script arguments communication between InDesign Server and SOAP Client is not right, any solution about it?

Client return to server value is not the right encoding , and Server push to client argument not right too, Why?

 

Thanks

 

My SOAP Client is written by Flex .


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 Server and InDesign Product integration

$
0
0

Hi,

 


I'd like to know if is possible to integrate InDesign server and InDesign product? I'm making a application that I'd like to change just the text of frames made by designer. When designer open a document and make some change on layout of the page I'd like to get this event on my indesign server and send back to indesign product the text to frame that he made. Is it possible?

 


thanks

InDesign Server serial number

$
0
0

Hi,

 

We have a customer who bought InDesign server at a company that has gone out of business...

 

We now need to know our customers' serial number, but I cannot find a way to get the serial number of the InDesign Server installation through the command line?

 

Anyone knows how I can find out the serial number of an existing installation?

 

Kind Regards,

 

Tom A.

How to create a xml element for Text with Java?

$
0
0

Hi @ all,

 

I want to tag a part of a text with Java.

Like the InDesign function "Tag für Text" (maybe "tag for text" in english)

 

tagged text.png

Is there a way to tag text with Java?

I tried to autoTag and to markup the text with an existing xml, but only got IdsExceptions.

 

here the code where to tag the text:

 

XMLElement newXML = parentXML.addXMLElement(VariableTypeUtils.createString("newXML"),OptArg.noVariableType());

Text[] texts = para.findText(OptArg.noBoolean());

for (Text text : texts)

{

   //TODO tag text

}

 

Exception throwing code:

 

text.autoTag();

text.markup(newXML);

newXML.markup(VariableTypeUtils.createObject(text));

Forcing InDesign Server to create a PDF/X-3:2002 PDF. Is it possible?

$
0
0

Hello everybody,

 

I am actually working on a project where ADs are coming from a external system; this system has a "bug": it creates EPS files with included images (as expected) but it leaves inside that EPS files OPI comments.

 

This will cause the Adobe InDesign Client (CS4, 6.0.5) to show this message when exporting the indd doc as PDF using the [PDF/X-3:2002] preset (or any other PDF/X preset because OPI comments are not allowed in PDF/X files):

http://idisk.mac.com/lucabassini/Public/adobe/forum/Picture2.png

 

When receiving this message, the user can click on the OK button and save the PDF anyway.

 

Now look at this .jsx I produced for testing purpose:

 

var myFolder = "/c/test-files/";

var myDoc = "abobe-testcase.indd";

var myPDFExportPreset = app.pdfExportPresets.item("[PDF/X-3:2002]");

var myDocument = app.open(File(myFolder + "/" + myDoc));

var myDocumentName = myDocument.name;

var myPDFName = myDocumentName.replace("indd", "pdf");

var myLinks = myDocument.links;

for (i = myLinks.length-1; i >= 0 ; i--) {

     var myLink = myLinks[i];

     var myLinkName = myLink.name;

var myNewFolderPath = myFolder;

var myNewPath = myNewFolderPath + myLinkName;

     var myNewFile = new File(myNewPath);

     if (myNewFile.exists) {

          myLink.relink(myNewFile);

     }

}

myDocument.exportFile(ExportFormat.pdfType, File(myFolder + "X_" + myPDFName), myPDFExportPreset);

myDocument.close(SaveOptions.no);

 

The script will end at the bolded line and the message I can see on the InDesignServer console is represented by this:

http://idisk.mac.com/lucabassini/Public/adobe/forum/Picture1.png

 

Don't care about the message in Italian, it's the same represented by the English dialog.

 

My question is: is it possible to force the creation of the PDF? Because actually I didn't find any possible solution to accomplish it.

 

Any help would be very appreciated

 

Best Regards,

Luca Bassini

IDS on WinServer 2008 Location of joboptions files

$
0
0

I am attempting to find where to put my joboption file on Windows Server 2008. Indesign Desktop is not installed on this server, nor can it be. I tried

C:\Users\Administrator\AppData\Roaming\Adobe\Adobe PDF\Settings

 

The job option file I am attempting to use is: PDFX1a 2001.joboptions

 

but my javascript that works locally does not on the server. My function call is:

 

mydoc.exportFile(ExportFormat.pdfType, File(file), app.pdfExportPresets.item("[PDF/X-1a:2001]"));

 

but that results in an error as the item is not found.

 

Any help would be appreciated.

 

Thanks,

 

Mike

Getting unable to snap in error when trying to run indesign server as service

$
0
0

Hi,

 

I am trying to get the indesign server cs5 as a service to run at a particular port on 64bit windows vm platform. The documentation pointed towards trying to operate the .msc file in <installation_folder>/adobe/indesign x64/ folder.  However I am getting a snap-in error. I have tried installing it through mmc.exe, but fails with the same error. It is a trial version right now.

 

The error reads

"MMC could not create a snap in. The snap-in might not have been installed correctly.

Name: IndesignServerService

 

CLSI ID:{xxxxxxxxxxxxx}

"

 

I have uninstalled, reinstalled and restarted many times.

Any info will be helpful. I am wondering if all the dlls have been registered correctly.

 

Thanks

Ravi


InDesign Server Developer Edition, PDF export problem

$
0
0

I'm currently testing our application on IDS CS5, using Developer Edition. Whenever I attempt to export a PDF, I receive the following error:

Wed Mar  2 10:17:29 2011 WARN [server] Colour in one or more placed graphics cannot be represented as CMYK.  Non-CMYK colour is not compliant with the PDF/X-1a standard. You can click OK to produce a valid PDF, but it will not be a PDF/X-1a compliant file.
Wed Mar  2 10:17:29 2011 ERROR[server] JavaScript Error!
Error Number: 2
Error String: User cancelled this action.
Engine: main
Line: 1428
Source: this.document.exportFile(ExportFormat.pdfType, documentFile);
Interpreter: CS4 (6.0)

This happens even with a completely blank document. It works fine if I export JPGs or an INDD file from the same file. I'm guessing this is due to the watermark that Developer Edition places on every page. I'm fine with that, but not actually being able to export an X-1a PDF makes testing quite tricky.

Any suggestions?

64 bit

$
0
0

I'm going to be installing Server for a client (my first one). Quite obviosly, I'd like to install the 64 bit Windows version.

 

Does anyone have any tips regarding "gotchas" on 64 bit as opposed to 32 bit? Are there 64 bit specific bugs? Other issues to be aware of?

 

TIA!

Harbs

CS4: XMP info missing for placed images

$
0
0

Hi all,

 

in Documents produced on our InDesign Servers, the XMP information is missing from placed images, and also not available to later PDF export.

If we re-link the same images via InDesign Desktop, the XMP information is loaded.

 

Does anybody know the problem, is there even any matching InDesign Server configuration flag or alike?

 

Thanks,

Dirk

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

Data Merge

$
0
0

We have started to utilize the merge tool in CS5.5.

 

Are there any ways of created a merged PDF From Indesign faster?

 

Indesign Server?

 

Scripting?

 

Any ideas will be appreciated.

 

 

 

Thank you

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

  }

}


Friendly Help for Server Javascript

$
0
0

In case anyone missed it on the Scripting forum:

 

I've added Friendly Versions of the OMV Help files for InDesign Server CS5, 5.5, and 6 to my set of downloadable files: http://www.jongware.com/idjshelp.html

They are also browsable on-line, courtesy of John Hawkinson: http://jongware.mit.edu/ (then go to the URL for your version).

 

The Friendliness is best appreciated with the Windows CHM versions (when viewed with a good viewer), but the HTML versions also are much improved over the original ESTK Viewer versions: a better insight in class hierarchy, and much, much more internal links.

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

rectangle.place (Placing Image) - InDesign vs InDesignServer

$
0
0

Any help or suggestions or even guesses appreciated here. Thanks!

 

I have a script that correctly places images in tagged rectangles via script in InDesign, the script then exports to PDF. All is well.


When I run the same script with the same image path folder structure in InDesignServer, the exported PDF does not show the 'placed' images. I'm getting no errors in my console.


Early in the script I have;

myInDesign.imagePreview = True


I place the images with;

myRectangle.Place myFile, False

myRectangle.fit 1668247152

myRectangle.fit 1667591779

for each myItem in myRectangle.items

     myItem.itemLink.unlink

next



I've tried it with and without the .unlink code (an attempt to force embedding of the images)


In all other aspects the script works the same on ID as IDS. I'm starting my ID CS6 server with InDesignServer -previews


I suspect I'm missing something with the PDF export preferences, but have no idea why it's working on ID and not on IDS.


Any help greatly appreciated.

 

(I have cross-posted this in the InDesign Forum. I will remove one or the other if answered)

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.

Upgrading from CS6 to CC 2014.

$
0
0

Hi all,

 

We have a couple of production CS6 servers that are processing dynamic IDML files into final .pdf or .indd (ready for print) packages. We're not doing anything fairly custom besides multiple pages, dynamic tagging, etc.

 

I would like to upgrade from CS6 to CC2014. Are there any major steps/hurdles to do so? I'm not finding a lot of 2014 documentation out there on this either. Oh, we're using LBQ to load balance and queue up the jobs to our multi-instance version of CS6.

Viewing all 20709 articles
Browse latest View live


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