paper(1)

paper1

Print paper size information

Usage

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

Overview

Print paper size information.

--all

show information about all known paper sizes

--no-size

do not show paper sizes (width followed by height)

--unit UNIT

unit in which to show sizes [pt, mm, in; default: natural units]

--help

display this help message 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 output is designed to be both human- and machine-readable. 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.

•

The PAPERSIZE environment variable

•

The user's default paper size in $XDG_CONFIG_HOME/papersize

•

The current locale's default paper size (if supported by the system)

•

The system default paper size in /etc/papersize

•

The first paper size in the system list

•

The first paper size in the user's list

Environment

PAPERSIZE

Paper size to use.

Files

/etc/papersize

System default paper size.

$XDG_CONFIG_HOME/papersize

User's default paper size.

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

Author

Written by Reuben Thomas.

Reporting bugs

Report bugs at https://github.com/rrthomas/libpaper

From libpaper 2.2.8-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.