1PAPER(1)                         User Commands                        PAPER(1)
2
3
4

NAME

6       paper - print paper size information
7

SYNOPSIS

9       paper [OPTION...] [PAPER...|--all]
10

DESCRIPTION

12       Print paper size information.
13
14       --all  show information about all known paper sizes
15
16       --no-size
17              do not show paper sizes (width followed by height)
18
19       --unit UNIT
20              unit in which to show sizes [pt, mm, in; default: natural units]
21
22       --help display this help message and exit
23
24       --version
25              display version information and exit
26
27       paper prints information about the given paper sizes, which can include
28       the standard form of its name, its width and height. The output is  de‐
29       signed  to  be  both  human- and machine-readable.  The name is matched
30       case-insensitively, and ignoring spaces.
31
32       If neither a paper size nor the --all option is given, the current  pa‐
33       per size is used.
34
35       The current paper size is obtained by looking in order at the following
36       values until a non-empty value is found.  If no paper size  is  config‐
37       ured, paper exits with an error.
38
39       •      The PAPERSIZE environment variable
40
41       •      The user's default paper size in $XDG_CONFIG_HOME/papersize
42
43       •      The  current  locale's  default  paper size (if supported by the
44              system)
45
46       •      The system default paper size in /etc/papersize
47
48       •      The first paper size in the system list
49
50       •      The first paper size in the user's list
51

ENVIRONMENT VARIABLES

53       PAPERSIZE
54              Paper size to use.
55

FILES

57       /etc/papersize
58              System default paper size.
59
60       $XDG_CONFIG_HOME/papersize
61              User's default paper size.
62

AUTHOR

64       Written by Reuben Thomas.
65

REPORTING BUGS

67       Report bugs at https://github.com/rrthomas/libpaper
68
70       Copyright © 2013-2022 Reuben Thomas <rrt@sc3d.org>.  paper  comes  with
71       ABSOLUTELY NO WARRANTY.  You may redistribute copies of paper under the
72       terms of the GNU General Public License version 3, or, at your  option,
73       any later version.See <https://www.gnu.org/licenses/gpl-3.0.html>.
74

SEE ALSO

76       paperspecs(5)
77
78
79
80paper 2.0.9                      February 2023                        PAPER(1)
Impressum