### 36.5.5 Running a single Mif2Go conversion or print job

Here are examples of how you can use runfm to:

Convert a book

Update a chapter

Convert a single-file document

Print and update a chapter

Create a PostScript file.

Convert a book

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

Update a chapter

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

Print and update a chapter

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

Create a PostScript file

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.5.4 Troubleshooting failed runfm processes |  | 36.5.6 Running a series of Mif2Go conversions |