Skip to main content
Inspiring
May 7, 2014
Answered

How do I generate PDF and CHM files from the a command line in windows?

  • May 7, 2014
  • 2 replies
  • 2191 views

I am trying to set up a PC to build some documents during the night. I was looking for a way to get framemaker to generate PDF and CHM files via a command line in windows? How is this done with FrameMaker 12

Thanks for the help

Alex

    This topic has been closed for replies.
    Correct answer AlexCh

    I have the pdf part of this working now. Made a jsx that generates the PDF via the doc.Save(). And when the pdf is generated the script then closes down FrameMaker via the app.Close methode.

    Then I only need to copy the script to the FrameMaker autorun dir and start FrameMaker to get the pdf genenerated.

    I am now trying to do something alike with the chm filegeneration. But I can't find anything on how to get FrameMaker to make CHM files via extend script. Is there anyone that have some good places to look for that?

    Thanks for the help

    Alex

    2 replies

    AlexChAuthorCorrect answer
    Inspiring
    May 19, 2014

    I have the pdf part of this working now. Made a jsx that generates the PDF via the doc.Save(). And when the pdf is generated the script then closes down FrameMaker via the app.Close methode.

    Then I only need to copy the script to the FrameMaker autorun dir and start FrameMaker to get the pdf genenerated.

    I am now trying to do something alike with the chm filegeneration. But I can't find anything on how to get FrameMaker to make CHM files via extend script. Is there anyone that have some good places to look for that?

    Thanks for the help

    Alex

    Inspiring
    May 19, 2014

    Full details about the environment you're working in would be more than

    helpful.... they'd be the basic before anyone can advise you.

    OS, networked/local, FM version, how you're generating the chm....

    Art Campbell

    art.campbell@gmail.com

    "... In my opinion, there's nothing in this world beats a '52 Vincent and

    a redheaded girl." -- Richard Thompson

    No disclaimers apply.

    DoD 358

    I support www.TheGrotonLine.com, hyperlocal news for Groton MA.

    AlexChAuthor
    Inspiring
    May 20, 2014

    I am using FrameMaker version 12.0.1.331 in a local installation on a Window 7 professional 64 bit.

    And I am trying to figure out how to generate CHM files using the extendScript/javascript you can use in FrameMaker 12

    /Alex

    Arnis Gubins
    Inspiring
    May 7, 2014

    That's what the FM Publishing Server was designed for (if you have very deep pockets... ).

    You would probably have to create a startup script that reads and runs entries from an external file telling FM what & how to process the desired files.

    You would then need to use the system scheduler to fire off FM at a specified time for overnight runs.

    To just do PDFs, you could try using any of the batch processors available from:

    1. Datazone (DZbatcher available at: http://www.miramo.com/english/overview/download.html)

    2. Omni Systems as part of the mif2go package (it works just fine from the demo version): http://mif2go.com/download/all