PAPER(1)

๐ŸŽ€ paper(1) โ€” print paper size information ๐ŸŽ€

๐Ÿ’– NAME ๐Ÿ’–

paper โ€” print paper size information.

โœจ SYNOPSIS โœจ

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

๐ŸŒธ DESCRIPTION ๐ŸŒธ

Okay bestie, here's the vibe: paper prints paper size information. You give it PAPER... sizes or --all, and it spills the tea on stuff like the standard form of the name, plus width and height. The output is designed to be both human- and machine-readable, which is honestly iconic.

  • --all โ€” show information about all known paper sizes
  • --no-size โ€” do not show paper sizes (that's width followed by height, bestie)
  • --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. No cap.

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 VARIABLES ๐Ÿฆ‹

  • PAPERSIZE โ€” Paper size to use. That's the whole assignment, periodt.

๐ŸŒˆ FILES ๐ŸŒˆ

  • /etc/papersize โ€” System default paper size.
  • $XDG_CONFIG_HOME/papersize โ€” User's default paper size.

๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Written by Reuben Thomas. Shoutout to the author, fr fr.

๐Ÿ’… REPORTING BUGS ๐Ÿ’…

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

Copyright ยฉ 2013-2022 Reuben Thomas <rrt@sc3d.org>. paper comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of paper under the terms of the GNU General Public License version 3, or, at your option, any later version. See <https://www.gnu.org/licenses/gpl-3.0.html>.

๐Ÿงš SEE ALSO ๐Ÿงš

paperspecs(5)


That's the whole iconic manual, bestie โ€” sourced from paper 2.2.5, dated September 2024 ๐Ÿ’…โœจ

๐Ÿ“ฆ where this page comes from