1PAPERCONF(1) General Commands Manual PAPERCONF(1)
2
3
4
6 paperconf - print paper configuration information
7
9 paperconf [ [ -p ] paper | -d | -a ] [ -z ] [ -n | -N ] [ -s | -w | -h
10 ] [ -c | -m | -i ]
11
13 paperconf prints information about a given paper. The information that
14 can be obtained is the name of the paper, its size and its width or
15 height. When called without arguments, paperconf prints the name of
16 the system- or user-specified paper, obtained by looking in order at
17 the PAPERSIZE environment variable, at the contents of the file speciā
18 fied by the PAPERCONF environment variable, at the contents of the file
19 /etc/papersize , consulting the values controlled by the LC_PAPER
20 locale setting, or by using letter as a fall-back value if none of the
21 other alternatives are successful. By default, width and height of the
22 paper are printed in PostScript points.
23
25 -p paper
26 Specify the name of the paper about which information is asked.
27
28 -d Use the default builtin paper name.
29
30 -a Consider all known paper names.
31
32 -z If the paper name is unknown, print it but issue a message on
33 the standard error and exit with a non-zero code.
34
35 -n Print the name of the paper.
36
37 -N Print the name of the paper with the first letter capitalized.
38
39 -s Print the size (width followed by height) of the paper.
40
41 -w Print the width of the paper.
42
43 -h Print the height of the paper.
44
45 -c Use centimetres as unit for paper size.
46
47 -m Use millimetres as unit for paper size.
48
49 -i Use inches as unit for paper size.
50
51
53 PAPERSIZE Paper size to use regardless of what the papersize
54 file contains.
55
56 PAPERCONF Full path to a file containing the paper size to
57 use.
58
60 /etc/papersize Contains the name of the system-wide default paper
61 size to be used if the PAPERSIZE and PAPERCONF
62 variables are not set.
63
65 Yves Arrouye <arrouye@debian.org>
66
68 papersize(5)
69
70
71
72
73 24 April 2001 PAPERCONF(1)