PAPERCONF(1)

πŸ“¦
version 1.1.29build1 Β· 6 versions
, in debian bookworm, ubuntu noble

PAPERCONF(1) β€” General Commands Manual πŸ¦‹

πŸŽ€ NAME πŸŽ€

okay bestie, paperconf β€” print paper configuration information. That's it, that's the icon. Slay. πŸ’…

✨ SYNOPSIS ✨

paperconf [ [ -p ] paper | -d | -a ] [ -z ] [ -n | -N ] [ -s | -w | -h ]
       [ -c | -m | -i ]

🌸 DESCRIPTION 🌸

okay so paperconf prints info about a given paper πŸ“. The info it can give you is the name of the paper, its size, and its width or height. Very demure, very mindful.

When you call it with no arguments, paperconf prints the name of the system- or user-specified paper. It gets that by looking in order at the PAPERSIZE environment variable, then at the contents of the file specified by the PAPERCONF environment variable, then at the contents of /etc/papersize, and if none of the other alternatives are successful it uses letter as a fall-back value. Periodt. 🫢

By default, width and height of the paper are printed in PostScript points. Not inches, not vibes β€” PostScript points, no cap πŸ’….

πŸ‘‘ OPTIONS πŸ‘‘

  • -p paper β€” specify the name of the paper about which information is asked.
  • -d β€” use the default builtin paper name.
  • -a β€” consider all known paper names.
  • -z β€” if the paper name is unknown, print it but issue a message on the standard error and exit with a non-zero code. the drama: it still prints the unknown name, complains on standard error, and bails with a non-zero code 😭
  • -n β€” print the name of the paper.
  • -N β€” print the name of the paper with the first letter capitalized.
  • -s β€” print the size (width followed by height) of the paper.
  • -w β€” print the width of the paper.
  • -h β€” print the height of the paper.
  • -c β€” use centimetres as unit for paper size.
  • -m β€” use millimetres as unit for paper size.
  • -i β€” use inches as unit for paper size.

πŸ¦‹ ENVIRONMENT πŸ¦‹

  • PAPERSIZE β€” paper size to use regardless of what the papersize file contains.
  • PAPERCONF β€” full path to a file containing the paper size to use.

πŸŽ€ FILES πŸŽ€

  • /etc/papersize β€” contains the name of the system-wide default paper size to be used if the PAPERSIZE and PAPERCONF variables are not set.

πŸ’– AUTHOR πŸ’–

Yves Arrouye <arrouye@debian.org> β€” author, icon, absolute legend 🫢. No cap.

🌈 SEE ALSO 🌈

papersize(5) β€” go read that one next, bestie. It's giving companion manpage energy ✨.


Kisses and paper cuts πŸ’‹ β€” this was PAPERCONF(1) from the General Commands Manual, dated 24 April 2001. Catch you in the next manpage, bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from