209 lines
3.6 KiB
HTML
209 lines
3.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of PAPERCONF</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>PAPERCONF</H1>
|
|
Section: User Commands (1)<BR>Updated: 24 April 2001<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
<B>paperconf</B>
|
|
|
|
- print paper configuration information
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>paperconf</B>
|
|
|
|
[
|
|
[
|
|
<B>-p</B>
|
|
|
|
]
|
|
<I>paper</I>
|
|
|
|
|
|
|
<B>-d</B>
|
|
|
|
|
|
|
<B>-a</B>
|
|
|
|
]
|
|
[
|
|
<B>-z</B>
|
|
|
|
]
|
|
[
|
|
<B>-n</B>
|
|
|
|
|
|
|
<B>-N</B>
|
|
|
|
]
|
|
[
|
|
<B>-s</B>
|
|
|
|
|
|
|
<B>-w</B>
|
|
|
|
|
|
|
<B>-h</B>
|
|
|
|
]
|
|
[
|
|
<B>-c</B>
|
|
|
|
|
|
|
<B>-m</B>
|
|
|
|
|
|
|
<B>-i</B>
|
|
|
|
]
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>paperconf</B>
|
|
|
|
prints information about a given paper.
|
|
The information that can be obtained is the name of the paper, its
|
|
size and its width or height.
|
|
When called without arguments,
|
|
<B>paperconf</B>
|
|
|
|
prints the name of the system- or user-specified paper, obtained by
|
|
looking in order at the
|
|
<B>PAPERSIZE</B>
|
|
|
|
environment variable, at the contents of the file specified by the
|
|
<B>PAPERCONF</B>
|
|
|
|
environment variable, at the contents of
|
|
<B>/etc/papersize</B>
|
|
|
|
or by using
|
|
<B>letter</B>
|
|
|
|
as a fall-back value if none of the other alternatives are successful.
|
|
By default, width and height of the paper are printed in PostScript points.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-p</B><I> paper</I>
|
|
|
|
<DD>
|
|
Specify the name of the
|
|
<I>paper</I>
|
|
|
|
about which information is asked.
|
|
<DT id="2"><B>-d</B>
|
|
|
|
<DD>
|
|
Use the default builtin paper name.
|
|
<DT id="3"><B>-a</B>
|
|
|
|
<DD>
|
|
Consider all known paper names.
|
|
<DT id="4"><B>-z</B>
|
|
|
|
<DD>
|
|
If the paper name is unknown, print it but issue a message on the
|
|
standard error and exit with a non-zero code.
|
|
<DT id="5"><B>-n</B>
|
|
|
|
<DD>
|
|
Print the name of the paper.
|
|
<DT id="6"><B>-N</B>
|
|
|
|
<DD>
|
|
Print the name of the paper with the first letter capitalized.
|
|
<DT id="7"><B>-s</B>
|
|
|
|
<DD>
|
|
Print the size (width followed by height) of the paper.
|
|
<DT id="8"><B>-w</B>
|
|
|
|
<DD>
|
|
Print the width of the paper.
|
|
<DT id="9"><B>-h</B>
|
|
|
|
<DD>
|
|
Print the height of the paper.
|
|
<DT id="10"><B>-c</B>
|
|
|
|
<DD>
|
|
Use centimetres as unit for paper size.
|
|
<DT id="11"><B>-m</B>
|
|
|
|
<DD>
|
|
Use millimetres as unit for paper size.
|
|
<DT id="12"><B>-i</B>
|
|
|
|
<DD>
|
|
Use inches as unit for paper size.
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>ENVIRONMENT</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="13"><B>PAPERSIZE</B>
|
|
|
|
<DD>
|
|
Paper size to use regardless of what the papersize file contains.
|
|
<DT id="14"><B>PAPERCONF</B>
|
|
|
|
<DD>
|
|
Full path to a file containing the paper size to use.
|
|
</DL>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>FILES </H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="15"><B>/etc/papersize</B>
|
|
|
|
<DD>
|
|
Contains the name of the system-wide default paper size to be used
|
|
if the
|
|
<B>PAPERSIZE</B>
|
|
|
|
and
|
|
<B>PAPERCONF</B>
|
|
|
|
variables are not set.
|
|
</DL>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Yves Arrouye <<A HREF="mailto:arrouye@debian.org">arrouye@debian.org</A>>
|
|
<A NAME="lbAI"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+papersize">papersize</A></B>(5)
|
|
|
|
<P>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="16"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="17"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="18"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="19"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="20"><A HREF="#lbAF">ENVIRONMENT</A><DD>
|
|
<DT id="21"><A HREF="#lbAG">FILES </A><DD>
|
|
<DT id="22"><A HREF="#lbAH">AUTHOR</A><DD>
|
|
<DT id="23"><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:05:21 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|