.\" paperconfig.8, Copyright (C) 1996, Yves Arrouye .TH PAPERCONFIG 8 "10 April 2021" .SH NAME .B paperconfig \- configure the system default paper size .SH SYNOPSIS \fBpaperconfig\fR [\fB\-\-version\fR|\fB\-\-help\fR|\fB\-\-paper \fIpapername\fR|\fB\-\-choose] .SH DESCRIPTION .B paperconfig queries the current paper size, and sets the system default paper to be used by tools using the \fBpapersize\fR file. It can either ask interactively for the paper to use or be called non-interactively by scripts. .PP When the paper size has been changed, .B paperconfig notifies other packages of the change by running the scripts in the .I /etc/libpaper.d directory. .PP When no paper is specified, \fBpaperconfig\fR prints the current system paper size. .SH OPTIONS .TP .BR "\-v\fP, \fB\-\-version" Print the version of .B paperconfig and exit. .TP .BR "\-h\fP, \fB\-\-help" Print help about usage and exit. .TP .BI "\-p\fP, \fB\-\-paper" " papername" Use .I papername if possible. If .I papername is not a valid paper, print an error message and exit. .TP .BR "\-c\fP, \fB\-\-choose" Choose system paper interactively. .SH FILES .TP .I /etc/libpaper.d Directory of scripts to run after the paper size has been changed. This package puts no scripts here, but other packages may. .B run-parts is used to run the scripts. Therefore their names must comply with .BR run-part 's naming requirements. .SH AUTHOR Yves Arrouye , Reuben Thomas .SH SEE ALSO paper(1), runparts(8)