LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

paperconf

displays paper size information

TLDR

Show default paper size
$ paperconf
copy
Show paper width
$ paperconf -w
copy
Show paper height
$ paperconf -h
copy
Show specific paper
$ paperconf -p [a4]
copy
Show in millimeters
$ paperconf -m
copy

SYNOPSIS

paperconf [options] [paper]

DESCRIPTION

paperconf displays paper size information. Queries system paper settings.The tool shows dimensions and names. Part of libpaper.

PARAMETERS

-p PAPER

Select the paper name to query (a4, letter, legal, …). Without this, the system default is used.
-d
Use libpaper's built-in default instead of the system setting.
-a
Iterate over every known paper.
-n
Print the paper name.
-N
Print the paper name with the first letter capitalized.
-s
Print size as width followed by height.
-w
Print width.
-h
Print height.
-c
Express dimensions in centimetres.
-m
Express dimensions in millimetres.
-i
Express dimensions in inches (default is PostScript points).
-z
Return an error when an unknown paper is given instead of falling back.

INSTALL

sudo apt install libpaper-utils
copy
sudo dnf install libpaper
copy
sudo pacman -S libpaper
copy
sudo apk add libpaper
copy
sudo zypper install libpaper
copy
brew install libpaper
copy
nix profile install nixpkgs#libpaper
copy

CAVEATS

Part of libpaper. System paper configuration. Regional defaults.

HISTORY

paperconf is part of libpaper for querying paper size configuration.

SEE ALSO

paperconfig(8), lp(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid