man-pages/man8/paperconfig.8.html
2021-03-31 01:06:50 +01:00

152 lines
3.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of PAPERCONFIG</TITLE>
</HEAD><BODY>
<H1>PAPERCONFIG</H1>
Section: Linux Administrator's Manual (8)<BR>Updated: 5 January 2005<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
<B>paperconfig</B>
- configure the system default paper size
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>paperconfig</B>
[
<B>-v</B>,<B>--version</B>
]
[
<B>-h</B>,<B>--help</B>
]
[
<B>-p</B>, <B>--paper</B><I> papername</I>
|
<B>--force</B>
]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>paperconfig</B>
sets the system (or default) paper to be used by tools using the
<B>papersize</B>
file.
It can either ask interactively for the paper to use or be called
non-interactively by scripts.
<P>
When the paper size has been changed,
<B>paperconfig</B>
notifies other packages of the change by running the scripts in the
<I>/etc/libpaper.d</I>
directory.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-v</B>,<B>--version</B>
<DD>
Print the version of
<B>paperconfig</B>
and exit.
<DT id="2"><B>-h</B>,<B>--help</B>
<DD>
Print help about usage and exit.
<DT id="3"><B>-p</B>, <B>--paper</B><I> papername</I>
<DD>
Use
<I>papername</I>
if possible. If
<I>papername</I>
is not a valid paper, print an error message and exit.
<DT id="4"><B>--force</B>
<DD>
Force interactive selection of the system paper even if the actual paper
is a valid one.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>ENVIRONMENT</H2>
<B>PAPERCONF</B>
Full path to a file containing the paper size to use; this file will
be rewritten with the system paper size.
<A NAME="lbAG">&nbsp;</A>
<H2>FILES</H2>
<DL COMPACT>
<DT id="5"><B>/etc/papersize</B>
<DD>
Contains the name of the system-wide default paper size to be used
if the
<B>PAPERSIZE</B>
variable is not set.
<DT id="6"><B>/etc/libpaper.d</B>
<DD>
Directory of scripts to run after the paper size has been changed.
This package puts no scripts here, but other packages may.
<B>run-parts</B>
is used to run the scripts, therefore their names must comply with
<B>run-part's</B>
naming requirements.
</DL>
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>
Yves Arrouye &lt;<A HREF="mailto:arrouye@debian.org">arrouye@debian.org</A>&gt;
<A NAME="lbAI">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+paperconf">paperconf</A></B>(1)
<BR>
<B><A HREF="/cgi-bin/man/man2html?5+papersize">papersize</A></B>(5)
<P>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="7"><A HREF="#lbAB">NAME</A><DD>
<DT id="8"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="9"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="10"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="11"><A HREF="#lbAF">ENVIRONMENT</A><DD>
<DT id="12"><A HREF="#lbAG">FILES</A><DD>
<DT id="13"><A HREF="#lbAH">AUTHOR</A><DD>
<DT id="14"><A HREF="#lbAI">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:15 GMT, March 31, 2021
</BODY>
</HTML>