\label{sec:konfigurationseintraege}
Configuration entries can be specified using different ways. To create
A4 output for a grayscaled laser printer you can use one of the
following commands:
\begin{lstlisting}
bmeps -l ps2 -o color=no -o media.size=A4 ...
bmeps -l ps2 -o c=n -o m.s=A4
bmeps -l ps2,color=no,media.size=A4 ...
bmeps -l ps2,c=n,m.s=A4 ...
\end{lstlisting}
Alternatively you can create a configuration file
\begin{lstlisting}
[printer:ps2]
color		=	no
media size	=	A4
\end{lstlisting}
and use the ``-l'' option to choose the configuration:
\begin{lstlisting}
bmeps -l printer ...
\end{lstlisting}

I recommend to use the full configuration entry name in the
configuration file. Abbreviations should be used on the command line only.

The following configuration entries can be used:
\begin{itemize}
\item	\texttt{output type} = \textit{string}\\
\texttt{o.t}\\
Output type, either ``ps'', ``pdf'' or ``bb'' (bounding box file
for \LaTeX{}).\\
\begin{tabular}{rl}
eps1:&ps\\
eps/eps2:&ps\\
eps3:&ps\\
ps1:&ps\\
ps/ps2:&ps\\
ps3:&ps\\
pdf12:&pdf\\
pdf13:&pdf\\
pdf/pdf14:&pdf\\
faxpdf:&pdf\\
bb:&bb\\
\end{tabular}
\item	\texttt{level} = \textit{string}\\
\texttt{l}\\
Format level, either ``1'', ``2'' or ``3'' for \textsc{ps/eps}
or ``1.2'', ``1.3'' or ``1.4'' for \textsc{pdf}.\\
\begin{tabular}{rl}
eps1:&1\\
eps/eps2:&2\\
eps3:&3\\
ps1:&1\\
ps/ps2:&2\\
ps3:&3\\
pdf12:&1.2\\
pdf13:&1.3\\
pdf/pdf14:&1.4\\
faxpdf:&1.4\\
\end{tabular}
\item	\texttt{color} = \textit{boolean}\\
\texttt{c}\\
decides whether to create colored or grayscaled output.\\
\begin{tabular}{rl}
eps1:&off\\
eps/eps2:&on\\
eps3:&on\\
ps1:&off\\
ps/ps2:&on\\
ps3:&on\\
pdf12:&on\\
pdf13:&on\\
pdf/pdf14:&on\\
faxpdf:&off\\
\end{tabular}
\item	\texttt{pdf fit} = \textit{string}\\
\texttt{p.f}\\
establishes the initial zoom factor when opening a \textsc{pdf} file:
\begin{itemize}
\item	\texttt{width}\\
image width fits window width,
\item	\texttt{height}\\
image height fits window height,
\item	\texttt{page}\\
shows page completely in window.
\end{itemize}
\begin{tabular}{rl}
pdf12:&page\\
pdf13:&page\\
pdf/pdf14:&page\\
faxpdf:&width\\
\end{tabular}
\item	\texttt{interpolate} = \textit{boolean}\\
\texttt{i}\\
enables/disables image interpolation in \textsc{pdf} and
\textsc{ps} level 2 and 3 output.\\
\begin{tabular}{rl}
eps/eps2:&on\\
eps3:&on\\
ps/ps2:&on\\
ps3:&on\\
pdf12:&on\\
pdf13:&on\\
pdf/pdf14:&on\\
faxpdf:&on\\
\end{tabular}
\item	\texttt{jpeg interpolate} = \textit{boolean}\\
\texttt{j.i}\\
works in conjunction with ``interpolate'' and
enables/disables image interpolation when passing through
\textsc{dct} encoded data from a \textsc{jpeg} file.
If this option is disabled, interpolation is turned of for
\textsc{dct} passthrough.\\
\begin{tabular}{rl}
eps/eps2:&off\\
eps3:&off\\
ps/ps2:&off\\
ps3:&off\\
pdf12:&off\\
pdf13:&off\\
pdf/pdf14:&off\\
faxpdf:&off\\
\end{tabular}
\item	\texttt{encoding} = \textit{string}\\
\texttt{e}\\
lists the encoding and compression mechanisms to use. List items
are separated by a colon, abbreviations can be used, i.e.
``a:r:f:d'' for ``ascii85:run-length:flate:dct''.\\
\figimage{compression}{Compression and encoding algorithms}%
The order of appearance in the list is insignificant, see
figure~\vref{fig:compression} for possible sequences of encodings.
The following encodings/compressions can be used:
\begin{itemize}
\item	\texttt{ascii85}\\
\texttt{a}\\
ASCII85-Encoding. If deactivated, ASCII-Hex-Encoding is used.
\item	\texttt{run-length}\\
\texttt{r}\\
Run-length compression.
\item	\texttt{flate}\\
\texttt{f}\\
Flate compression.
\item	\texttt{dct}\\
\texttt{d}\\
\textsc{dct} compression.\\
Bmeps does not \textsc{dct} compress data, but it can pass through
\textsc{dct} compressed data from \textsc{jpeg} files.
\end{itemize}
\begin{tabular}{rl}
eps1:&\textsc{ascii}-Hex\\
eps/eps2:&ASCII85, \textsc{dct}\\
eps3:&ASCII85, flate, \textsc{dct}\\
ps1:&\textsc{ascii}-Hex\\
ps/ps2:&ASCII85, \textsc{dct}\\
ps3:&ASCII85, flate, \textsc{dct}\\
pdf12:&ASCII85, flate, \textsc{dct}\\
pdf13:&ASCII85, flate, \textsc{dct}\\
pdf/pdf14:&ASCII85, flate, \textsc{dct}\\
faxpdf:&ASCII85, flate, \textsc{dct}\\
\end{tabular}
\clearpage
\item	\texttt{jfif sof set} = \textit{string}\\
\texttt{j.s.s}\\
PostScript level 2 only allows \({\text{SOF}}_0\) and
\({\text{SOF}}_1\) markers in \textsc{dct} compressed data.\\
Some printers and interpreters implement support for additional
markers. To specifiy the set of marker, create a colon-separated list
of number, i.e. ``0:1:2'' to allow \({\text{SOF}}_0\), \({\text{SOF}}_1\)
and \({\text{SOF}}_2\).\\
\begin{tabular}{rl}
eps/eps2:&0:1\\
eps3:&0:1\\
ps/ps2:&0:1\\
ps3:&0:1\\
pdf12:&0:1\\
pdf13:&0:1\\
pdf/pdf14:&0:1\\
faxpdf:&0:1\\
\end{tabular}
\item	\texttt{transfer alpha channel} = \textit{string}\\
\texttt{t.a.c}\\
transfers alpha channel data to output (only \textsc{pdf} 1.4). This
option deactivates mixing against a background and creation of
image masks.\\
\begin{tabular}{rl}
pdf/pdf14:&on\\
faxpdf:&on\\
\end{tabular}
\item	\texttt{mix} = \textit{boolean}\\
\texttt{m}\\
activates mixing against a background color if the input images
contains alpha data. If available bmeps uses the background color specified
in the input file, a default background is used otherwise.\\
\begin{tabular}{rl}
eps1:&on\\
eps/eps2:&on\\
eps3:&on\\
ps1:&on\\
ps/ps2:&on\\
ps3:&on\\
pdf12:&on\\
pdf13:&on\\
pdf/pdf14:&off\\
faxpdf:&off\\
\end{tabular}
\item	\texttt{background} = \textit{rgb-triple}\\
\texttt{b}\\
specifies the default background for mixing, the colors are given as
numbers in the range from 0.0 to 1.0 separated by colon
(i.e. ``1:0.5:1'' for magenta).\\
\begin{tabular}{rl}
eps1:&white\\
eps/eps2:&white\\
eps3:&white\\
ps1:&white\\
ps/ps2:&white\\
ps3:&white\\
pdf12:&white\\
pdf13:&white\\
pdf/pdf14:&white\\
faxpdf:&white\\
\end{tabular}
\item	\texttt{always use default background} = \textit{boolean}\\
\texttt{a.u.d.b}\\
always uses the default background color for mixing, no matter whether
or not the input contains a background color chunk.\\
\begin{tabular}{rl}
eps1:&off\\
eps/eps2:&off\\
eps3:&off\\
ps1:&off\\
ps/ps2:&off\\
ps3:&off\\
pdf12:&off\\
pdf13:&off\\
pdf/pdf14:&off\\
faxpdf:&off\\
\end{tabular}
\item	\texttt{create image mask} = \textit{boolean}\\
\texttt{c.i.m}\\
converts input alpha channel into an image mask.\\
\begin{tabular}{rl}
eps3:&off\\
ps3:&off\\
pdf12:&off\\
pdf13:&off\\
pdf/pdf14:&off\\
faxpdf:&off\\
\end{tabular}
\item	\texttt{image mask trigger level} = \textit{numeric}\\
\texttt{i.m.t.l}\\
specifies the trigger level for conversion of alpha data to image masks,
must be in the range \(0\leq x\leq 1\).\\
\begin{tabular}{rl}
eps3:&0.000001\\
ps3:&0.000001\\
pdf12:&0.000001\\
pdf13:&0.000001\\
pdf/pdf14:&0.000001\\
faxpdf:&0.000001\\
\end{tabular}
\item	\texttt{use resolution chunk} = \textit{boolean}\\
\texttt{u.r.c}\\
attempts to use resolution data from input to scale the output image.\\
\begin{tabular}{rl}
eps1:&off\\
eps/eps2:&off\\
eps3:&off\\
ps1:&off\\
ps/ps2:&off\\
ps3:&off\\
pdf12:&off\\
pdf13:&off\\
pdf/pdf14:&off\\
faxpdf:&off\\
\end{tabular}
\item	\texttt{media size} = \textit{string}\\
\texttt{m.s}\\
specifies a media size to fit output:
\begin{itemize}
\item	media size name: A3, A4, A5, B4, B5, Letter, Legal, Tabloid, Ledger,
Statement, Executive, Folio, Quarto or 10x14.
\item	4 numbers separated by colon: x0, y0, x1 and y1.
\item	8 numbers separated by colon: bx0, by0, bx1, by1, ix0, iy0, ix1 and iy1.
The b\ldots values specify the bounding box written to output, the image
is placed in the rectangle specified by the i\ldots values. The
b\ldots-rectangle must completely include the i\ldots-rectangle.
\end{itemize}
\emph{Note:} ``u.r.c'' und ``m.s'' can not be combined.\\
\begin{tabular}{rl}
eps1:&-\\
eps/eps2:&-\\
eps3:&-\\
ps1:&-\\
ps/ps2:&-\\
ps3:&-\\
pdf12:&-\\
pdf13:&-\\
pdf/pdf14:&-\\
faxpdf:&A4\\
bb:&-\\
\end{tabular}
\item	\texttt{separated dictionary} = \textit{boolean}\\
\texttt{s.d}\\
uses a ``\ldots dict begin \ldots{} end'' construct to avoid overwriting
existing definitions.\\
\begin{tabular}{rl}
eps/eps2:&on\\
eps3:&on\\
ps/ps2:&on\\
ps3:&on\\
\end{tabular}
\item	\texttt{vmreclaim} = \textit{boolean}\\
\texttt{v}\\
adds ``1~vmreclaim'' at the end of output to suggest a garbage collection.
This options requires the separated dictionary (``s.d'').\\
\begin{tabular}{rl}
eps/eps2:&off\\
eps3:&off\\
ps/ps2:&off\\
ps3:&off\\
\end{tabular}
\item	\texttt{operator dictionary} = \textit{boolean}\\
\texttt{o.d}\\
provides a dictionary as argument to the image operator (\textsc{ps}
level 2, or 3).\\
\begin{tabular}{rl}
eps/eps2:&on\\
eps3:&on\\
ps/ps2:&on\\
ps3:&on\\
\end{tabular}
\item	\texttt{multiple data sources} = \textit{boolean}\\
\texttt{m.d.s}\\
creates multiple data sources for red, green and blue. This allows
run-length compression for lines and areas in the same color.\\
\begin{tabular}{rl}
eps/eps2:&off\\
eps3:&off\\
ps/ps2:&off\\
ps3:&off\\
\end{tabular}
\item	\texttt{showpage} = \textit{boolean}\\
\texttt{sh}\\
activates/deactivates the use of the showpage operator in \textsc{ps}
output. Output images for stand-alone viewing should contain a showpage
operator. Images for inclusion into other documents (i.e. using
\LaTeX{}) should not contain it.\\
\emph{Note:} If the input contains multiple frames, the showpage
operator is always used.\\
\begin{tabular}{rl}
eps1:&off\\
eps/eps2:&off\\
eps3:&off\\
ps1:&on\\
ps/ps2:&on\\
ps3:&on\\
\end{tabular}
\item	\texttt{dsc comments} = \textit{boolean}\\
\texttt{dsc.c}\\
create \textsc{dsc} comments in \textsc{ps/eps} output.\\
\begin{tabular}{rl}
eps1:&on\\
eps/eps2:&on\\
eps3:&on\\
ps1:&off\\
ps/ps2:&off\\
ps3:&off\\
\end{tabular}
\item	\texttt{draft} = \textit{boolean}\\
\texttt{d}\\
activates draft mode. In draft mode bmeps only reads the image size
and draws a placeholder rectangle.
\end{itemize}
\clearpage
