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

Japanese Crop Marks on IDS output?

$
0
0

I am currently implementing an IDS solution in Tokyo. Japanese crop marks are required by my client to be on all outputs, laser printed and X1A PDFs. My solution works fine in InDesign workstation, marks are what they should be. However in IDS I get north american crop marks and the layout name slug is unprintable because it includes Japanese characters. I was told there is no Pacific rim version of IDS, but there appear to be one for InDesign. The menu for Japanese Crop marks is visible in the Japanese localized machines I work with but not in the north american machines, Any help with this would be greatly appreciated!


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

C# app throws error when connecting to indesign server

$
0
0

It throws this exception:

Invalid syntax (Exception from HRESULT: 0x800401E4 (MK_E_SYNTAX))
   at System.Runtime.InteropServices.Marshal.MkParseDisplayName(IBindCtx pbc, String szUserName, UInt32& pchEaten, IMoniker& ppmk)
   at System.Runtime.InteropServices.Marshal.BindToMoniker(String monikerName)

 

Caused by this line:

InDesignServer.Application app = (InDesignServer.Application)(System.Runtime.InteropServices.Marshal.BindToMoniker("config uration_noport"));

 

The server is successfully running with the no configuration parameters therefore the configuration name by default should be "configuration_noport".

 

Any idea why it's throwing this error? This is a C# 4.0 console application connecting to Indesign Server CS 5 (7.0).

how can I fix a corrupted indesign file

$
0
0

Hi, actually I have a corrupted indesign file which close the program while opening , how can i fix it ?

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

XMP

$
0
0
A question was asked recently regarding XMP in InDesign Server under a different message...

"I have one more doubt how to create XMP file,hwo to send my information to xmp file,and how to use the xmp in indesign server"

There is a sample script in the InDesign Server SDK demonstrating the use of XMP in an InDesign file. The script is located at: <SDK>/scripting/InDesign CS3 Server Scripting/Sample Scripts/JavaScript/MetadataExample.jsx

Hope that helps,
Susan

Licence InDesign Server

$
0
0
Hello

I live in Brazil and the care here ADOBE to InDesign Server is very bad. So I have some questions for you:

1 - How much does it cost on average leave the IDS?
2 - What requirements to get a test version?

Thank you

Indesign CS3 Server, .Net and cyrillic

$
0
0
I'am trying to develope a Silverligt Interface for Indesign Setrver and using SOAP as a protocol between IDS and .NET. Everyting works fine (even German Umlatus) until i try to send a cyrillic text.
One example:
I'am sending "абвгд" and IDS creates text with content "01234".
I thought .Net sends the content incorrect, that'swhy i opened the SOAP Envelope - the text was correct. I wrote "абвгд" inside the .jsx-file which create a PDF file - IDS created correct again.

Maybe there is anybody, who had the same problem a can help me.

Kind regards,
Petar

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

Duplicate relationship message

$
0
0
Hi,

I get the following messages when the CS4 server starts, what do they mean ?

Duplicate relationship for element "getStyleForPE 'eGsp' kNAEventScriptElement1[Unknown3rdPartyPrefix + 0 ]" on object "document 'docu' kDocumentObjectScriptElement[DocFramework + 40 ]" for client kCoreScriptManagerBoss from kNAPluginID and kNAPluginID (DOM: "kAppleScriptMgrBoss InDesign Server Roman enUS 4.0")
Duplicate relationship for element "UpdateItemByTemplateInfo 'eIbt' kNAEventScriptElement2[Unknown3rdPartyPrefix + 1 ]" on object "document 'docu' kDocumentObjectScriptElement[DocFramework + 40 (0x16328)]" for client kCoreScriptManagerBoss from kNAPluginID and kNAPluginID (DOM: "kAppleScriptMgrBoss InDesign Server Roman enUS 4.0")
Duplicate relationship for element "getStyleForPE 'eGsp' kNAEventScriptElement1[Unknown3rdPartyPrefix + 0 ]" on object "document 'docu' kDocumentObjectScriptElement[DocFramework + 40 (0x16328)]" for client kCoreScriptManagerBoss from kNAPluginID and kNAPluginID (DOM: "kAppleScriptMgrBoss InDesign Server Roman enUS 5.0")
Duplicate relationship for element "UpdateItemByTemplateInfo 'eIbt' kNAEventScriptElement2[Unknown3rdPartyPrefix + 1 ]" on object "document 'docu' kDocumentObjectScriptElement[DocFramework + 40 (0x16328)]" for client kCoreScriptManagerBoss from kNAPluginID and kNAPluginID (DOM: "kAppleScriptMgrBoss InDesign Server Roman enUS 5.0")
Duplicate relationship for element "getStyleForPE 'eGsp' kNAEventScriptElement1[Unknown3rdPartyPrefix + 0 ]" on object "document 'docu' kDocumentObjectScriptElement[DocFramework + 40 (0x16328)]" for client kCoreScriptManagerBoss from kNAPluginID and kNAPluginID (DOM: "kAppleScriptMgrBoss InDesign Server Roman enUS 6.0")
Duplicate relationship for element "UpdateItemByTemplateInfo 'eIbt' kNAEventScriptElement2[Unknown3rdPartyPrefix + 1 ]" on object "document 'docu' kDocumentObjectScriptElement[DocFramework + 40 (0x16328)]" for client kCoreScriptManagerBoss from kNAPluginID and kNAPluginID (DOM: "kAppleScriptMgrBoss InDesign Server Roman enUS 6.0")

.fr script element definition

resource VersionedScriptElementInfo(10)
{
// Contexts
{
kFiredrakeScriptVersion, kCoreScriptManagerBoss, kWildFS, k_Wild,
}
// Elements
{
// Specifies an event
Event
{
kNAEventScriptElement1,
e_getStyleForPE,
"getStyleForPE",
"get the style for a pe type id",
StringType, "The style",
{
p_PE, "pe_id", "The pe id", StringType, kRequired,
}
}
Event
{
kNAEventScriptElement2,
e_UpdateItemByTemplateInfo,
"UpdateItemByTemplateInfo",
"Update NA box by Doc Id, position, type and PE",
BoolType, "Success or Failure",
{
p_docID, "DocumentId", "Document Id", StringType, kRequired,
p_position, "position", "Position", StringType, kRequired,
p_type, "type", "Type", Int32Type, kRequired,
p_peid, "peid", "Publication ID", StringType, kRequired,
}
}

// Specifies a property
Property
{
kNAItemIsNAItem,
p_IsNAItem,
"isNAItem",
"Is NAItem",
BoolType,
{}
kNoAttributeClass,
}

// Connects this plug-in's events and properties to scripting.
Provider
{
kCS4ServerScriptProviderBoss, // provider boss ID
{
Object{ kDocumentObjectScriptElement },
Event{ kNAEventScriptElement1 },
Event{ kNAEventScriptElement2 }
}
}

Provider
{
kNAItemScriptProviderBoss, // provider boss ID
{
Object{ kPageItemObjectScriptElement },
Property{ kNAItemIsNAItem, kReadOnly }
}
}
}
};

Best regards
John

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

Searching in indd documents...

$
0
0
Hello,

I don't know if it's a bug but when I open a document with the InDesign Server CS3, create a text frame with some content and then try to search for it, nothing is found. I need to save the document first and then repeat the search to find something that is contained by the created text frame. I think with the InDesign Server CS2 it was possible to search for new content without saving the document first...

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 :(

InDesign Server command-line flags

$
0
0
How can I get command-line flags list of InDesign Server?

Actually the situation is testclient doesn't work.
I installed InDesign Server and SDK.
I run InDesignServer.com then I use something like this "testclient -server t.js".
Server and client runs on same comp.
As result I have this exception:
SOAP FAULT: SOAP-ENV:Client
"Unknown error"
Detail: TCP connect failed in tcp_connect()

in SDK indesign-server-test-client.pdf I found:
"Using InDesign Server
In order to use the test client, you must have a machine that has InDesign Server installed and
running properly, as the test client will communicate with the InDesign Server application.
For instructions on running and terminating InDesign Server, including command-line flags,
please refer to the InDesign Server Installation and Configuration Guide."

Any suggestion?

Exporting an .indd file to PostScript

$
0
0
Using the CS3 Server CORBA API, is there a way to export an InDesign file to PostScript? I see examples in the SDK snippets foloder to export to EPS and PDF, but not to PostScript.

Thanks,
Jennifer

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

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

importxml does not retain image

$
0
0

hi

 

I have one indesing document in that I have place one rectangle frame control and place one image on it and then export xml of that document.

and save document.

now I  am chnaging image in exported xml file.

and wirte bellow script to inport and save document with some other name.

But when I open that new document in indesign desktop  it is not displaying image

image  displays properly in exported jpeg file.

I have chacked tag property in that it displays new image path. but image is displayed in page.

 

var myDoc = app.open(File("c:/test.indd"));
myDoc.importXML(File("c:/test.xml"));
myDoc.save(File("c:/test1.indd"));

myDoc.exportFile(ExportFormat.jpg, "c:/test.jpg");
myDoc.close();

 

 

can you please tell me what can be the problem ?

How to group rectangle and textFrames

$
0
0

Hi all,

 

I am trying To group one rectangle And textframe In Indesign Server And executing the below code:

 

Dim mygroup As InDesignServer.Group
Dim gparray(1)
gparray.SetValue(CaptionFrame, 0)
gparray.SetValue(rect, 1)
mygroup = IndDoc.Groups.Add(CType(gparray, InDesignServer.Objects))

 

Above line throwing the following exception
'Unable to cast object of type 'System.Object[]' to type 'InDesignServer.Objects'.

 

Regards,

Suresh

 

InDesign Server fonts are locked even after document closed

$
0
0

Hi!

 

We get "file in use" messages from windows, after installing latest InDServer update.

 

We create packages from open documents, on the server, then we close the documents.

After that a piece of code is to move the package to another location. This "move" fails now, after installing the update called 7.0.3.533.

 

That upgrade was also called: Adobe InDesign Server CS5 Release Update 7.0.3 WIN

 

 

0302 - OTF reported as problem.JPG

Screen-shot: Manually repeating the MOVE FOLDER method call.

 

Is this a known error? What can be done?

The InDesign documents are using "document fonts", that is these fonts should be local to the document.

 

We also could find no specification of the changes implemented in 7.0.3.533.

 

Best regards,

Andreas Jansson

Viewing all 20709 articles
Browse latest View live


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