%general-entities; ]> $Date$ libpaper-&libpaper-version; libpaper Introduction to libpaper This package is intended to provide a simple way for applications to take actions based on a system or user-specified paper size. &lfs101_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &libpaper-md5sum; Download size: &libpaper-size; Estimated disk space required: &libpaper-buildsize; Estimated build time: &libpaper-time; User Notes: Installation of libpaper Install libpaper by running the following commands: autoreconf -fi && ./configure --prefix=/usr \ --sysconfdir=/etc \ --disable-static && make This package does not come with a test suite. Now, as the root user: make install && mkdir -vp /etc/libpaper.d The /etc/libpaper.d directory contains scripts to run after the paper size has been changed. This package puts no scripts here, but other packages may. If the fcron package has not been installed, create the run-parts script as shown in the section. Command Explanations mkdir -pv /etc/libpaper.d: libpaper expects that packages will install files into this directory. Configuring libpaper Configuration Information Create /etc/papersize to set the default system paper size. Issue the following command as the root user to set this to 'A4' (libpaper prefers the lowercase form). You may wish to use a different size, such as letter. cat > /etc/papersize << "EOF" a4 EOF Contents Installed Programs Installed Library Installed Directories paperconf, paperconfig, run-parts libpaper.so /etc/libpaper.d Short Descriptions paperconf prints paper configuration information paperconf paperconfig configures the system default paper size paperconfig libpaper.so contains functions for interrogating the paper library libpaper.so