paperconf - print paper configuration information
paperconf [ [ -p ] paper | -d | -a ] [ -z ] [ -n | -N ] [ -s | -w | -h ] [ -c | -m | -i ]
paperconf 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, paperconf prints the name of the system- or user-specified paper, obtained by looking in order at the PAPERSIZE environment variable, at the contents of the file specified by the PAPERCONF environment variable, at the contents of /etc/papersize or by using letter 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.
Specify the name of the paper about which information is asked.
Use the default builtin paper name.
Consider all known paper names.
If the paper name is unknown, print it but issue a message on the standard error and exit with a non-zero code.
Print the name of the paper.
Print the name of the paper with the first letter capitalized.
Print the size (width followed by height) of the paper.
Print the width of the paper.
Print the height of the paper.
Use centimetres as unit for paper size.
Use millimetres as unit for paper size.
Use inches as unit for paper size.
Paper size to use regardless of what the papersize file contains.
Full path to a file containing the paper size to use.
Contains the name of the system-wide default paper size to be used if the PAPERSIZE and PAPERCONF variables are not set.
Yves Arrouye <arrouye@debian.org>