LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

paperconfig

sets system paper size

TLDR

Set default paper size
$ paperconfig -p [a4]
copy
Set to letter size
$ paperconfig -p letter
copy
Reconfigure interactively (Debian/Ubuntu)
$ dpkg-reconfigure libpaper1
copy

SYNOPSIS

paperconfig [options]

DESCRIPTION

paperconfig sets the system-wide default paper size used by the libpaper library (e.g., a4, letter, legal). Applications that query libpaper (such as many printing and TeX tools) use this value as their default.The tool rewrites /etc/papersize to hold the chosen paper name. Available paper names can be listed with paperconf -a.

PARAMETERS

-p PAPER

Set paper size.
-h, --help
Display help.

CAVEATS

Root required. Part of libpaper. Affects printing defaults.

HISTORY

paperconfig is part of libpaper for setting system paper size.

SEE ALSO

paperconf(1), lp(1)

Copied to clipboard
Kai