%general-entities; ]> 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. &lfs121_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; Installation of libpaper Install libpaper by running the following commands: ./configure --prefix=/usr \ --sysconfdir=/etc \ --disable-static \ --enable-relocatable \ --docdir=/usr/share/doc/libpaper-&libpaper-version; && make To test the results, issue: make check. Now, as the &root; user: make install Command Explanations --enable-relocatable: This switch is needed to run the tests. Configuring libpaper Configuration Information The paper size is automatically determined from the system locale; see LC_PAPER in locale(7). If you want to override it, create a papersize file in the user configuration directory. For example: mkdir -pv ~/.config && echo "a4" > ~/.config/papersize If you want to override the paper size globally (for all users), set up the PAPERSIZE environment variable. For example: echo "PAPERSIZE=a4" > /etc/profile.d/libpaper.sh You may use a different paper size, such as letter. Contents Installed Programs Installed Library Installed Directories paper and paperconf libpaper.so /usr/share/doc/libpaper-&libpaper-version; Short Descriptions paper prints paper configuration information paper paperconf prints paper configuration information in a compatibility mode paperconf libpaper.so contains functions for interrogating the paper library libpaper.so