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 LC_PAPER environment variable (if supported by the system)
44
45       •      The system default paper size in /etc/papersize
46
47       •      The first paper size in the system list
48
49       •      The first paper size in the user's list
50

ENVIRONMENT VARIABLES

52       PAPERSIZE
53              Paper size to use.
54

FILES

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

AUTHOR

63       Written by Reuben Thomas.
64

REPORTING BUGS

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

SEE ALSO

75       paperspecs(5)
76
77
78
79paper 2.0.7                      February 2023                        PAPER(1)
Impressum