36.5.5 Running a single Mif2Go conversion or print job
Here are examples of how you can use runfm to:
Convert a single-file document
To open FrameMaker and convert a book, leaving FrameMaker open afterward:
runfm -book D:\Guides\UserGuide.book -project "Word for review"
To convert a book, with FrameMaker already open and the book file active, then close the book, leaving FrameMaker open:
runfm -project "Word for review" -close book
To update a chapter in a book, closing just the chapter file afterward:
runfm -book E:\UG.book -doc E:\Ch\Ops.fm -project 4Review -close doc
To update a chapter in a book, with the book and the chapter file already open in FrameMaker, and the chapter file active; then close both afterward, leaving FrameMaker open:
runfm -project 4Review -close book -close doc
Convert a single-file document
To open and convert a single-file FrameMaker document, closing FrameMaker afterward:
runfm -doc D:\Guides\ITGuide.fm -project "HTML for IT" -close all
To convert a single-file document that is already open in FrameMaker, closing the document afterward but leaving FrameMaker open:
runfm -project "HTML for IT" -close doc
To print a chapter to Acrobat with the book already open in FrameMaker, then convert the chapter:
runfm -doc E:\Ch\Ops.fm -project 4Review -pdf doc E:\2print\Ops.pdf
To open a book and print it to a PostScript file in directory My Documents, for later distilling:
runfm -book E:\UG.book -print book -reverse no -printer "Adobe PDF"
> 36 Converting via runfm > 36.5 Troubleshooting runfm processes > 36.5.5 Running a single Mif2Go conversion or print job