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

where are adobe fonts installed in Mac OSX?

$
0
0

Hi,

I need the same Adobe fonts in Photoshop CS6 and InDesign CS6.

Where are they installed in OSX?

Do my Adobe programs install fonts in a different folder than other programs do?


Indesign CS6 Server Licensing

$
0
0

Hi,


What are the differences between the Limited Single Instance and the Limited Single Instance Development?


I can see the following link however would like to know the following questions as well.

http://www.adobe.com/products/indesignserver/buying-guide.displayTab3.html


What are the restrictions for the Limited Single Instance Development edition that would impact the development and testing activity?


Thanks.

Debugging Javascript on InDesign CS3 Server

$
0
0
I, like most developers, need to be able to debug my programs. Thus far I have been opening a file and writing to it if I want to see any debug messages. It looks like this...

my_log = createLogFile("filename",app,true);
add_to_log(my_log, debug_string);
my_log.execute();

This would create a file called "filename.txt", add the value of debug_string to the my_log object, then write the log to a file using execute.

However, this approach is not very helpful when doing loops for example. If I have a loop that is breaking my script and I want to check a value that is changing inside a loop I have to create a file, add the error to the log, and execute (write) the log for each pass in the loop. For instance:

for (var i = 0; i < some_array.length; i++) {
my_log = createLogFile("debug_log"+i, app, true);
add_to_log(my_log, some_array[i]);
my_log.execute();
...
whatever is normally in here
...
}

This is the only way I can figure out which item in my array is breaking the script. So, my ultimate question is this:

How do I debug an InDesign server javascript program? Can I write to STDOUT, or STDERR? Some other way? Thanks for any and all help.

_ Sean

Is InDesign Server really the only solution for me?

$
0
0

I'm an independent developer working on a data management platform (which I would like to commercialise at some stage but certainly not right now). The primary reason for developing this is to form the base for another system I'm developing with a small independent school to help them manage all of their administrative tasks more effectively. This means that more or less every need, in terms of document production, management and publication must be supported by a system that they use.

 

Below is what I need from the system where document production is required. I'm just wondering if someone can help me get some perspective on whether or not InDesign server is my only option. The core of the systems are web based, hosted with MS (Azure) and built using C# on an SQL background. I'm not even sure about how I would run an InDesign server instance to link with this setup but that is a separate challenge (suggestions welcome).

 

Document features already managed.

  • Document storage, version control and management (multiple formats etc) - already handled very simply in code with the file storage and the SQL DB.
  • Production of Invoices (and other billing documents), reports, newsletters, company documents, letters, contracts, surveys, posters, adverts... (etc. etc. - you see where this is going)
    • Generating documents from templates (preferably InDesign produced and uploaded to the server) - content can be presented as XML (or whatever is needed as it will be translated when pulled from the database) as PDFs. Ability to export in other formats would be preferable but PDF is the most generally useful.
    • Simple modification of templates. This bit is less important as the system will contain most of the templates that will be required but being able to make some layout changes within the system would be really useful to give some flexibility to the user without having to leave the system.

 

Essentially, I need to be able to do everything in code so that the system can spit out documents as required without them having to think about layout or design. From everything I've heard about the costs of InDesign server and having looked at the subscription costs for printui - it is far too expensive for a business that operates on a very small budget. At present, this system will just be used by them - and that may well only ever be the case so I'm starting worry about what I can do. I am aware of the PDF creation libraries available to simplify document production and am also considering that route. This whole project is largely about labour saving to reduce costs on the business, so being able to just create InDesign templates and upload them would be the ideal solution for us.

 

I hope that someone is able to offer some help or just talk through ideas with me as this whole area of the system is slowing progress quite significantly.

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

Importing of PDF Export Preset

$
0
0
Does anyone know how to import an existing PDF export preset into IDS. Ideally I'd like to set up Presets in InDesign desktop and then copy them into IDS, but I cant find where the preset files are stored. Alternatively, I could save existing presets as .joboptions files, and then use the script interface to import them. I cant find the right calls to make.

Thanks.

Deactivate Undo

$
0
0

Hi folks,

 

does the InDesign Server (CS3) write an undo stack? If yes, is it possible to deactivate this feature via a c++ plugin or with a JavaScript command?

 

Cheers Tino

From XMLElement to Page Item

$
0
0

Hi All,

 

 

I have a page with two frames: a Graphic Frame and a Text Frame. These two are tagged to a XMLElement. From a XMLRule I'm trying to set their contents. To set the text content, i'm using XMLElementsetContents(VariableTypeUtils.createString("my text")). But, to set the graphic content I'm having problems. I'm trying to use the XMLElement.getXMLContent(), but I don't know how to narrow it to use. Anybody has a code snippet to do this or an adivice for me?

 

Thanks,

Best Regards.


Hyperlinks in CS2 documents won't work after document is opened in CS4.

$
0
0

We have several products that were developed in InDesign CS2, all loaded with hyperlinks. We had made PDFs from these documents using Acrobat 8.0 and the internal "chapter" links worked fine. We then upgraded to Adobe Acrobat 9.0, and still the PDF links worked.  Then we upgraded our InDesign to CS4. PDFs were made in Adobe 9.0, but links didn't work! Acrobat seemed to be looking for a "default" link designation:  Our link path consisted of the server name (mapped to our "P:" drive), followed with specific folder and file location for the link. The default location Adobe seemed to be looking for was "I:\data\ (followed by the correct folder and file location)."  One person tried to outsmart this default designation by actually putting our files on our own "I:" drive, to match the default link being produced.  In return we got a duplicate link designation: "I:\data\ (followed by the correct folder and file location)\data (followed by the correct folder and file location)" -- absolutely insane!

I'm a "non-techie" so please bear with me.  Several questions come to mind:

1.       Is there a problem with our server "mapping" and why would Adobe reject our "P:" server ID and throw in an "I:\data" in its place?  Would there be certain alpha server designations that Adobe doesn't play well with, or local servers it has trouble reading?

2.       Are there compatibility issues caused by upgrading from InDesign CS2, skipping CS3, and going on to a CS4 upgrade?  If we had an interim upgrade to CS3, would CS2 links have had a problem?

3.       there be problems with the way our ID CS4 and Adobe Acrobat 9.0 packages were installed?  If IT used an installation "Wizard" and a basic install for each, should there have been specific requirements (or plugins) enabled that would accommodate our hyperlink needs?

With no solution at hand, we're forced to manually remake all our product links in our upgraded CS4 documents.  Should we fear further InDesign upgrades?  Is there a magic pill or patch that would cure our hyperlinking woes?

Please help!

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

8/20/09

 

NOTE:  I just read about a problem a user was having with hyperlinks and Adobe Acrobat 7.0  I realize the scenario is a bit different, but the problem sounds similar:

Acrobat 7.0 and Adobe Reader 7.0 search only web servers for PDF files that are linked to Office documents via hyperlinks. Acrobat 7.0.5 and Adobe Reader 7.0.5 search web servers, local drives, and shared drives for linked PDF files.

I'm wondering if possibly the same thing isn't happening with 9.0.  Perhaps that's why we keep seeing the default "I:\data" link location popping up.  If this "is" the case, does anyone know of an upgrade, patch, or possibly a plug-in or setting that would let 9.0 look for links on local drives?

[CS3] Enabling full redo/undo support

$
0
0

Is there any way to enable full redo/undo support in the InDesign server?

Or can I write my own redo/undo functionality?

 

Thanx in advance.

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.

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

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

Simply open a file

$
0
0

Hi,

 

This is my first attempts to script IDS. I am stuck with the simpliest command: open a file.

 

app.open(File(myFilePath));

 

It returns an error.

 

<IDSP:RunScriptResponse><errorNumber>1</errorNumber><errorString>open</errorString><scriptResult></scriptResult></IDSP:RunScriptResponse>

I first developed on Indesign desktop and the script just works fine. I read the IDS scripting guide so I am aware of restrictions and I think I avoided them.

Is there anything to be aware of for opening files ?

Best,

Loic

Passing arguments to jsx file externally

$
0
0

Hi,

 

I have a script (javascript, jsx) that will parse content from InDesign (.indd) documents using InDesignServer. I want to be able to pass the filename, as well as the path of the indesign file as parameters to this script.

 

I have tried this vbs solution:

 

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

runjavascript.vbs

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

Option Explicit

On Error Resume Next


Dim appRef

Dim javaScriptFile


Set appRef = CreateObject( "Photoshop.Application" )


appRef.BringToFront


javaScriptFile = "C:\myscript\test.jsx"


call appRef.DoJavaScriptFile( javaScriptFile, Array(Array("one","two"), Array("three")), 1)


------

DoJavaScriptFile takes 3 params, the first being the script, the 2nd is an array of params. In my example, you can have an array of arrays of params. When you receive params from javascript side, it will see param 0 as (one, two), param 1 is (three). For most people, simple case is fine: eg:


call appRef.DoJavaScriptFile( javaScriptFile, Array("one","two", "three"), 1)


The javascript would look like this:


test.jsx

---------

#target photoshop


if (arguments.length > 0)

alert("ARGUMENT 0 = " + arguments[0]);


----

from the jsx side, there's a magical variable called "arguments" of array type. When you pass variables in, the 1st one will be arguments[0], the next one would be arguments[1], and so forth.


To execute this from command line, (assuming everything lives in c:\myscript):


cscript c:\myscript\runjavascript.vbs

 

 

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

 

This approach does not work, because I get an error from the CreateObject function, it cannot create an object for InDesignServer.Application.

 

Ideally, I want to be able to pass arguments from a python script to a jsx script.

 

Setup:

InDesign CS4 .indd documents

Win2k8 server

JavaScript (via ExtendScript toolkit)

InDesignServer CS5.5 (32bit)

SmartLayout plugin


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)

How do I get the Application object for a running instance of InDesign Server from VBScript and C++

$
0
0

I have a running instance of InDesign Server CS6 which I launched using the following command:

"C:\Program Files\Adobe\Adobe InDesign CS6 Server x64\InDesignServer.com" -port 12345

 

I tried running the following VBScript file to access this running instance:

Set myApp = WScript.GetObject("configuration_12345")

myApp.ConsoleOut("Foo")

Set myApp = Nothing

 

But I get this error (launched using 64-bit wscript.exe):

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

Windows Script Host

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

Line:          1

Char:          1

Error:          File name or class name not found during Automation operation

Code:          800A01B0

Source:           Microsoft VBScript runtime error

 

I also tried to access this instance using C++ COM:

int _tmain(int argc, _TCHAR* argv[])

{

          HRESULT hr = ::CoInitializeEx(NULL, COINIT_MULTITHREADED);

          if (FAILED(hr))

          {

                    printf("COM init failed\n");

                    return 0;

          }

 

          IDispatch* pUnk = NULL;

          hr = ::CoGetObject(L"configuration_12345", NULL, __uuidof(IDispatch), (void**)&pUnk);

          if (SUCCEEDED(hr))

          {

                    pUnk->Release();

                    pUnk = NULL;

          }

          ::CoUninitialize();

          return 0;

}

 

But, CoGetObject returns 0x800401e4 (MK_E_SYNTAX).

 

However, if I use the "helloworld-csharp-com" sample, using "configuration_12345" as the config, it works fine. Why is it not working with VBScript and C++?

 

I'm running Windows 8, 64-bit, IDS CS6 8.0

How to get 'clover.cmd' running as Windows service?

$
0
0

Right now I have the InDesign instances all running great as services so on a server reboot they start up fine. The clover/lbq part is  just the .cmd script and it's not running as a service. I looked in the documentation but haven't found any info on getting clover to run as a Windows service.

 

Anyone know how to set it to do this? I'm on InDesign CS6 (server).

 

thanks.

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.

Grey Lines around the image while generating PNG from INDD file

$
0
0

Capture.PNG

Hi,

 

I am using the InDesign Server to generate the PNG image and PDF from INDD file. While designing we do mapping of variable data fields, e.g., Text will be replaced by dynamic text, image will be replaced by dynamic image, barcode will be drawn on the basis of input at the image generation from InDesign Server.

 

Now when I do this mapping, a grey color line comes by itself and surrounds that particular image/ barcode (will be known as Variable Data fields). This grey line signifies that this data field is a variable datafield which will be replaced dynamically at the time of PDF OR Image generation by InDesign Server.

 

Now the InDesign Server is behaving different when:

 

1. when PDF is generated : Proper PDF gets generated by replacing all the variable data fields and with out any grey lines.

2. when PNG is generated : Image got generated by replacing all the variable data fields, but the images and barcode still contains the grey lines which were just to signify the Designer about the variable datafield.

 

Therefore, InDesign Server is generating the PNGs with the greylines surrounding the images and barcodes, which is not correct. Can any one let me know how can I remove these grey lines from PNG?

 

Please find one sample screenshot of INDD file in the attached file.

 

 

Warm Regards,

Rahul

Viewing all 20709 articles
Browse latest View live


Latest Images

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