dvips: config
2.1 'config.ps' installation
============================
Dvips has its own configuration files: a file 'config.ps' for sitewide
defaults, and a file 'config.PRINTER' for each printer (output device).
Since these are site-specific, 'make install' does not create them; you
must create them yourself.
(These Dvips configuration files are independent of the Kpathsea
configuration file 'texmf.cnf' (⇒(kpathsea)Config files).
Dvips configuration files contents and searching are described fully
in ⇒Config files. The simplest way to create a new configuration
file is to copy and modify the file 'dvipsk/contrib/config.proto',
seasoning with options to your taste from ⇒Config files. Here is
'config.proto' for your reading pleasure:
% Prototype Dvips configuration file. (Public domain.)
% How to print, maybe with lp instead lpr, etc.
o |lpr
% Default resolution of this device, in dots per inch.
D 600
% Metafont mode. (This is completely different from the -M command-line
% option, which controls whether MakeTeXPK is invoked.) Get
% <ftp://ftp.tug.org/tex/modes.mf> for a list of mode names. This mode
% and the D number above must agree, or MakeTeXPK will get confused.
M ljfour
% Memory available. Download the three-line PostScript file:
% %! Hey, we're PostScript
% /Times-Roman findfont 30 scalefont setfont 144 432 moveto
% vmstatus exch sub 40 string cvs show pop showpage
% to determine this number. (It will be the only thing printed.)
m 3500000
% Correct printer offset. You can use testpage.tex from the LaTeX
% distribution to find these numbers. Print testpage.dvi more than once.
O 0pt,0pt
% Partially download Type 1 fonts by default. Only reason not to do
% this is if you encounter bugs. (Please report them to
% <tex-k@tug.org> if you do.)
j
% Also look for fonts at these resolutions.
R 300 600
% With a high resolution and a RISC cpu, better to compress the bitmaps.
Z
% Uncomment these if you have and want to use PostScript versions of the
% fonts.
%p +cmfonts.map
%p +lafonts.map
%p +cyrfonts.map
%p +eufonts.map
% To include another configuration file here.
%c FILENAME
% You will also want definitions for alternative paper sizes -- A4,
% legal, and such. Examples in contrib/papersize.level2 and
% contrib/papersize.simple.