CFG File
If you want to use the print driver of dviout and printer other than ESC/P, PC-PR, NM system, LIPS III, LIPS IV, or ESC/Page, you have to employ a printer definition file adapted to each printer.
Also you have to convert the source file defining the required information (usually, the files have the .src extension) into a binary file (usually, the files have the .cfg extension) readable by dviout for Windows by optcfg.exe .
Read the documentation on how to write the source files. You can refer the many included examples. You can specify the output format in the PBM, G3FAX, or EPSF format by using the attached printer definition files.