# Installation

To run dviout for Windows, you need files of dviout.exe, dviout.hlp and dviout.cnt (or/and dvioute.hlp and dvioute.cnt for HELP in English).
These files must be placed in the same directory (it is desirable to avoid the path name including space characters).
To display or print a TeX dvi file, dviout for Windows needs font files. If the resolution (dpi) does not match your printer's resolution, the printing result would not be proper.
Dviout must know the resolution and the location of the font. These are described by the dviout parameters -dpi:, -TEXROOT: and -TEXPK: (and if necessary, -F:, -L:, etc.).
If the required font files are provided and these Parameters are set properly, ([Guess] button is available to automatically set -TEXROOT:, -TEXPK:, and -F:), the dvi file can be displayed in a Windows view.
These settings above, Associating dvi files with dviout, and registering dviout in the start menu can be done by selecting "Option -> Install".
The -BMP: parameter adjusts the view size or the contrast, and sets them as defaults.
If the dvi file can be displayed in a Windows view, printing would be also possible. If the printed position on the paper is not proper, it is necessary to adjust the offsets in the printing position. These are adjusted by the -LM: and -TM: parameters.
As in the former MS-DOS version of dviout, it is possible to describe these parameters in a file dviout.par(which should be in the same directory containing dviout.exe).
However, it is more recommended to set various parameters from the dviout.exe because a wider variety of settings are possible as described below. (For example, the parameters are automatically changed when printing.)
In addition, Associating dvi files with dviout would be useful.
The font files needed in the commonly used environments are as follows.
1. European language PK Font Glyph File with a name like cmr10.300pk (The number 300 denotes the resolution (in dpi) of the font. This must match your printer's resolution when printing.
Usually the fonts with resolutions 1.2 and 1.2^2 times as high as the base resolution, cmr10.360pk and cmr10.432pk in this case, are also required.)
If the corresponding TrueType fonts exist, they can be used in place of PK fonts.
2. When using ASCII Japanese TeX, the Japanese font metric files (jfm file) are required (standard jfm files such as min10.tfm etc. are implemented in dviout).
Even if the European language PK font file does not exist, the missing PK font can be created by Automatic Font Generation function of the dviout. (When the MakeTeXPK is supported, see Q_F6.)
1. Setting the Resolution
2. Setting the Font Path
3. Adjusting the Display Scale
4. Adjusting the Print Position
5. Associating dvi files with dviout
Note: On multi-user machines such as Windows NT, the individual settings for each user are also possible besides the common default settings(Q_S6).
Note: In addition, if you want to import Image data files or print out using Japanese font in LBP, some useful information can be found in Q&A and Contents.