If you have mktexpk.exe, makepk.exe or MakeTeXPK.exe, you can employ Automatic Font Generation for European language fonts by using a file template.pks provided with dviout. Specifically,
1. Pass the path to mktexpk.exe or MakeTeXPK.exe.
2. Make sure that mktexpk, makepk or MakeTeXPK works correctly by executing in a command line.
If the location of the fonts created by mktexpk.exe or MakeTeXPK (for example, c:\usr\local\share\texmf\fonts\pk\^s.^dpk) is not included in -TEXPK:, add it.
3. If the printer in "mode_name=" of template.pks is different from yours, you should change this option. If you use mktexpk.exe, you should replace MakeTeXPK in template.pks by mktexpk.
4. template.pks is set in -gen: in "Option -> Setup Parameters -> Font2" by its full path name. For example, set
-gen:c:\dviout\utility\template.pks
and press the [Save] and [Apply] buttons.
The direct specification can also be made by the setting starting with ` such as
-gen:`mktexpk --dpi ^d --bdpi ^D --mag ^M ^s
-gen:`c:\ptex\bin\MakeTeXPK.exe ^s ^d ^D ^M CanonCX
Note: If the location of the fonts generated by mktexpk or MakeTeXPK is not given in -TEXPK:, dviout cannot find the generated fonts and an error Cannot resolve Fonts occurs.
If dviout seems to be freezed in creating fonts, see Q_O23.
In some system, makepk.exe is used in place of mktexpk.exe.