Copy link to clipboard
Copied
Fellow FM Developers,
I have the FDK8 and have been using framemaker as a processor of templates. We have successfully written a program that uses the framemaker in a user account currently logged in. In other words, USER A logs in with their account on Computer A and processes files just fine. Now, we would like to set up a system where jobs are submitted by USER A and runs on a remote Computer B which processes the document and saves it as a PDF.
We want to make it so users can submit a job through a web service using the .NET framework. We have tried to do this, however we are failing on one crucial part of our development. I am trying to use the single most important (asynchronis) connectivity line:
F_ApiWinConnectSession( NULL, NULL, &ClassID );
This is because we want to have framemaker start in the background with this execution of this service. Unfortunately, without the GUI available this command fails. We have obviously created a Progid and it has been registered in the registry. We did this by runnning :
FrameMaker.exe /progid:FrameMaker.Automation.2 /auto
Can anyone help me with trying to get framemaker to run in a background. Is there a way to process the documents without have the GUI up and loaded and then have it process the document.
Your help is greatly appreciated,
Adam
Copy link to clipboard
Copied
Hi Adam,
There are a few FDK developers around here, but this sounds like a tough question. It is not anything I am familiar with. If nobody can help here, consider posting to the FrameDev Yahoo forum at:
http://groups.yahoo.com/group/Frame_dev
That list is dedicated to the FDK.
By the way, I would be remiss if I didn't mention that this architecture sounds like a client/server setup, which would likely require a server license of FrameMaker. Maybe you already know all that... just wanted to point that out.
Russ
Copy link to clipboard
Copied
Hi Russ,
Thanks for your comments. Yes, I this is really similar to the client/server model. However, I only have one user at a time submitting jobs. I think of the reason to have a server license would be to utilize multiple users send jobs. The license to the server is very expensive and overkill for our needs specifically.
Thanks for the link.
Adam
Copy link to clipboard
Copied
Adam,
The server license is more tuned to the type of output that you are creating, regardless of the number of users. If you are creating content from external sources and generating a PDF in an automated way via FM, then you need a server license (period).
Read your FM EULA carefully.