summaryrefslogtreecommitdiff
path: root/paper/paperconfig.8
blob: eb615ed753e82aed884614f6ac5984cd0ae92f85 (plain)
    1 .\" paperconfig.8, Copyright (C) 1996, Yves Arrouye <arrouye@debian.org>
    2 .TH PAPERCONFIG 8 "10 April 2021"
    3 .SH NAME
    4 .B paperconfig
    5 \- configure the system default paper size
    6 .SH SYNOPSIS
    7 \fBpaperconfig\fR [\fB\-\-version\fR|\fB\-\-help\fR|\fB\-\-paper \fIpapername\fR|\fB\-\-choose]
    8 .SH DESCRIPTION
    9 .B paperconfig
   10 queries the current paper size, and sets the system default paper to
   11 be used by tools using the \fBpapersize\fR file. It can either ask
   12 interactively for the paper to use or be called non-interactively by
   13 scripts.
   14 .PP
   15 When the paper size has been changed,
   16 .B paperconfig
   17 notifies other packages of the change by running the scripts in the
   18 .I /etc/libpaper.d
   19 directory.
   20 .PP
   21 When no paper is specified, \fBpaperconfig\fR prints the
   22 current system paper size.
   23 .SH OPTIONS
   24 .TP
   25 .BR "\-v\fP, \fB\-\-version"
   26 Print the version of
   27 .B paperconfig
   28 and exit.
   29 .TP
   30 .BR "\-h\fP, \fB\-\-help"
   31 Print help about usage and exit.
   32 .TP
   33 .BI "\-p\fP, \fB\-\-paper" " papername"
   34 Use
   35 .I papername
   36 if possible. If
   37 .I papername
   38 is not a valid paper, print an error message and exit.
   39 .TP
   40 .BR "\-c\fP, \fB\-\-choose"
   41 Choose system paper interactively.
   42 .SH FILES
   43 .TP
   44 .I /etc/libpaper.d
   45 Directory of scripts to run after the paper size has been changed.
   46 This package puts no scripts here, but other packages may.
   47 .B run-parts
   48 is used to run the scripts.  Therefore their names must comply
   49 with
   50 .BR run-part 's
   51 naming requirements.
   52 .SH AUTHOR
   53 Yves Arrouye <arrouye@debian.org>, Reuben Thomas <rrt@sc3d.org>
   54 .SH SEE ALSO
   55 paper(1), runparts(8)

Generated by cgit