# -gen:

When the template file written to set the methods for creating and storing fonts (Template for Font Creation) is specified by the gen=<template_file> option, and dviout could not find the font, METAFONT starts and Automatic Font Generation is possible for missing fonts(Property Sheets->[Font2]
).
The basic font creation process and environment must be described in the template file. dviout creates the batch file containing data such as the required font name and size conforming to the template file settings, then dviout executes it. Fot these processes, METAFONT is necessary and you should check if it runs properly.
If a command in one line executes this font generation as in the case of using mktexpk, MakeTeXPK or makepk, the command line with adding the letter ` at the head can be directly set in -gen: and it is not necessary to prepare a template file.
In this case, it is desirable to write the command in the full path name. If it contains a space character, it should be written in the format of the short path name.
If the METAFONT source cannot be found or there are mistakes in the setting parameters, the needed routines are collected and output to another batch file. Then, by executing this batch file, you can create required fonts manually even if the fonts are not created automatically.