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  print information about all known paper sizes
15
16       --name print paper names (by default, the name is not printed when only
17              one paper argument is given)
18
19       --size print paper sizes (width followed by height)
20
21       --unit=UNIT
22              print dimensions in the given unit [default: PostScript points]
23
24       --help display this help and exit
25
26       --version
27              display version information and exit
28
29       paper prints information about the given paper sizes, which can include
30       the  standard  form  of  its  name,  its width and height.  The name is
31       matched case-insensitively, and ignoring spaces.
32
33       If neither a paper size nor the --all option is given, the current  pa‐
34       per size is used.
35
36       The current paper size is obtained by looking in order at the following
37       values until a non-empty value is found.  If no paper size  is  config‐
38       ured, paper exits with an error.
39
40       •      The PAPERSIZE environment variable
41
42       •      The user's default paper size in $XDG_CONFIG_HOME/papersize
43
44       •      The LC_PAPER environment variable (if supported by the 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
67       Copyright © 2013-2020 Reuben Thomas <rrt@sc3d.org>.  Released under the
68       GPL version 3, or (at your option) any later version.
69

SEE ALSO

71       paperspecs(5)
72
73
74
75paper 2.3                          July 2022                          PAPER(1)
Impressum