Skip to main content
bavalde
Participant
January 28, 2016
Answered

Automate FM2015 Publish via CLI call

  • January 28, 2016
  • 4 replies
  • 1182 views

Is it possible to automate Framemaker 2015 File > Publish, ie to call this function from the commandline?

Typical usage would be to automate building html/pdf/etc output from a Jenkins buildbot.

Somewhat related question: why is not pdf an option in the File > Publish dialog? Having pdf output menu option

under File > Save as PDF and the rest under File > Publish could have been good enough in 2015 but seriously:

this is 2016 after all.

BR Bjørn Asle

    This topic has been closed for replies.
    Correct answer Mike-Hardy

    See this message:

    Re: How to access the Publisher module

    4 replies

    Legend
    January 28, 2016

    Hi Bjørn,

    Arnis Gubins‌ brought in the key factor here. The EULA for the normal FrameMaker license explicitly prohibits what you are trying to do.

    You can find the FrameMaker Software License Agreement here: Adobe FrameMaker Software License Agreement.

    Section 2.1.7.2:

    For clarification and without limitation, the foregoing does not permit Customer to install or access (either directly or through commands, data, or instructions) the Software: (a) from or to a Computer not part of Customer’s Internal Network; (b) for enabling web hosted workgroups or web hosted services available to the public; (c) by any individual or entity to use, download, copy, or otherwise benefit from the functionality of the Software unless licensed to do so by Adobe; (d) as a component of a system, workflow or service accessible by more than the Permitted Number of users; or (e) for operations not initiated by an individual user (e.g., automated server processing).

    To build a business process for automated publishing, I suggest that you have a look at Adobe FrameMaker Publishing Server (aka "FMPS"). Adobe FrameMaker Publishing Server (2015 release) is an enterprise software to automate multichannel publishing. Access publishing services remotely and output bidirectional content in multiple formats: HTML5, WebHelp, EPUB, KF8, MOBI, PDF, and CHM, and as mobile apps. Integrate with CMSs using web APIs or built-in connectors.

    Let me know if you have any questions regarding FrameMaker Publishing Server.

    Kind Regards,

    Stefan Gentz

    Arnis Gubins
    Inspiring
    January 28, 2016

    Stefan,

    My understanding of the license is that if the user manually starts FM on a desktop machine, such that an Extendscript initial script (or plug-in) runs the rest of the required procedure, that this does not violate any of the conditions that you reference for the EULA section 2.1.7.2.

    If one skips the Jenkins/Buildbot CI automation step, is this still not allowed under the current license?

    Legend
    January 28, 2016

    Well, I'm definitively not a legal expert, so I cannot answer that :-)

    My personal understanding is (don't take it as an "official answer from legal department"):

    If you start FM manually and execute an ExtendScript manually, than everything is on the secure side.

    If you start FM manually and during start up an initial script / plugin is executed automatically and this script/plugin performs automated publishing – hm. E.g. if this script/plugin runs "forever" and watches e.g. a hot folder and then triggers a publishing process every time something new comes in, than this is very likely no longer covered by the license agreement. (In some way, you would turn the normal FrameMaker into some sort of FrameMaker Server by simulating features or functionalities covered by FMPS.)

    I tend to say, this is some sort of legal limbo.

    However, one thing is pretty clear: If you create or use a software, that automatically starts FrameMaker and then automatically executes something, this is not covered by the license.

    My take on that: With 499$ per month FMPS is reasonably enough priced to setup a professional business publishing process. And it offers quite a lot. So why go on that slippery road of legal limbo and base a professional enterprise process on it, when there is a legally clean and professional solution available at a reasonable price that can give you and your legal department piece of mind ;-)

    Arnis Gubins
    Inspiring
    January 28, 2016

    Bjørn,


    FYI, as long as someone manually starts the process on the desktop, you can try to use the Extendscript initial script approach as shown in the link posted by Mike. However, if you completely automate this to run unattended, then you may be in violation of Adobe's licensing for FM [that's why they have the FM Publishing Server version].

    Mike-HardyCorrect answer
    Participating Frequently
    January 28, 2016
    Jeff_Coatsworth
    Community Expert
    Community Expert
    January 28, 2016

    IMHO, output via PDF is “printing”; output via Publish is “generation”