# phpman > man > paperconfig(8)

[PAPERCONFIG(8)](https://www.chedong.com/phpMan.php/man/PAPERCONFIG/8/markdown)                      Linux Administrator's Manual                      [PAPERCONFIG(8)](https://www.chedong.com/phpMan.php/man/PAPERCONFIG/8/markdown)



## NAME
       **paperconfig** - configure the system default paper size

## SYNOPSIS
       **paperconfig** [ **-v**,**--version** ] [ **-h**,**--help** ] [ **-p**, **--paper** _papername_ | **--force** ]

## DESCRIPTION
       **paperconfig**  sets the system (or default) paper to be used by tools using the **papersize** file.
       It can either ask interactively for the paper  to  use  or  be  called  non-interactively  by
       scripts.

       When  the  paper  size has been changed, **paperconfig** notifies other packages of the change by
       running the scripts in the _/etc/libpaper.d_ directory.

## OPTIONS
### -v --version
              Print the version of **paperconfig** and exit.

### -h --help
              Print help about usage and exit.

### -p --paper
              Use _papername_ if possible. If _papername_ is not a valid paper, print an  error  message
              and exit.

### --force
              Force  interactive  selection  of the system paper even if the actual paper is a valid
              one.

## ENVIRONMENT
       **PAPERCONF** Full path to a file containing the paper size to use; this file will  be  rewritten
       with the system paper size.

## FILES
       **/etc/papersize**      Contains the name of the system-wide default paper size to be used if the
                           **PAPERSIZE** variable is not set.

       **/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.  **run-parts** is used
                           to run the scripts, therefore their names  must  comply  with  **run-part's**
                           naming requirements.

## AUTHOR
       Yves Arrouye <<arrouye@debian.org>>

## SEE ALSO
       [**paperconf**(1)](https://www.chedong.com/phpMan.php/man/paperconf/1/markdown)
       [**papersize**(5)](https://www.chedong.com/phpMan.php/man/papersize/5/markdown)




Debian/Linux                               5 January 2005                             [PAPERCONFIG(8)](https://www.chedong.com/phpMan.php/man/PAPERCONFIG/8/markdown)
