paper - Man Page

print paper size information

Synopsis

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

Description

Print paper size information.

--all

print information about all known paper sizes

--name

print paper names (by default, the name is not printed when only one paper argument is given)

--size

print paper sizes (width followed by height)

--unit=UNIT

print dimensions in the given unit [default: PostScript points]

--help

display this help and exit

--version

display version information and exit

paper prints information about the given paper sizes, which can include the standard form of its name, its width and height. The name is matched case-insensitively, and ignoring spaces.

If neither a paper size nor the --all option is given, the current paper size is used.

The current paper size is obtained by looking in order at the following values until a non-empty value is found. If no paper size is configured, paper exits with an error.

Environment Variables

PAPERSIZE

Paper size to use.

Files

/etc/papersize

System default paper size.

$XDG_CONFIG_HOME/papersize

User's default paper size.

Author

Written by Reuben Thomas.

See Also

paperspecs(5)

Referenced By

epsffit(1), extractres(1), includeres(1), paperspecs(5), psbook(1), psjoin(1), psnup(1), psresize(1), psselect(1), pstops(1), tl-psnup(1), tl-psresize(1), tl-pstops(1).

January 2021 paper 2.3