Libpaper

Version: 
1.1.28
Release date: 
Tuesday, 11 October, 2016

License:

Interface:

The paper library and accompanying files are intended to provide a simple way for applications to take actions based on a system- or user-specified paper size. This release is quite minimal, its purpose being to provide really basic functions obtaining the system paper name and getting the height and width of a given kind of paper) that applications can immediately integrate.

This software is distributed as RPM package.

Installation with rpm

This program is installable using the rpm package manager. See below for the install string. Required prerequisites are automatically processed by the package manager and, if needed, downloaded and installed.

libpaper-devel-1.1.28-1.oc00 (29/12/2020)
(note: development files, not needed by the end user)
libpaper-debuginfo-1.1.28-1.oc00 (29/12/2020)
libpaper-1.1.28-1.oc00 (29/12/2020)
Repository: Netlabs stable
The paper library and accompanying files are intended to provide a simple way for applications to take actions based on a system- or user-specified paper size. This release is quite minimal, its purpose being to provide really basic functions (obtaining the system paper name and getting the height and width of a given kond of paper) that applications can immediately integrate. A more complete library, using a capabilities file for papers (giving, in addition to the size, informations like paper weigth, color, etc) will be released later. See the sources for paperconf(1) in src/paper.c for how to use the library. Adding new paper sizes ====================== If a paper format is missing, one need to add it to lib/paperspecs. The format of this file is one paper format per line, with the name of the format, the width and height of the format separated with space. You may add an option measurement unit among in, ft, pt, m, dm, cm, mm or you may leave the default unit of "point". By defaults the width and height are specified in the "point" unit, which is 1/72 inch (2.54 cm). This is the A4 entry: a4 210 297 mm that was previously written as a4 595 842 The sizes here are 595 points / 72 points pr inch * 2.54 cm per inch = 20.99 cm and 842/72*2.54 = 29.70 cm. The A4 format is 210x297 mm so this is a good approximation. (Source: <URL:http://en.wikipedia.org/wiki/A4_paper_size>) Copyright (C) Yves Arrouye <yves@debian.org>, 1996 Adrian Bunk <bunk@fs.tum.de> , 2000 --------------------------------------------------------- Tue Sep 24 06:38:34 Yves Arrouye <arrouye@marin.sevy.fr> * completed the set of manual pages. * added the libpaper.so.1 link in installation. * added -E to less flags. Tue Aug 13 19:14:51 1996 Yves Arrouye <arrouye@marin.sevy.fr> * abstract interface (struct paper hidden) so that future changes can be made safely. * stores dimensions as double, still in PS points. Sun Aug 11 15:16:46 1996 Yves Arrouye <arrouye@marin.sevy.fr> * lib/paper.c: added paperinit(), paperdone(), paperfirst(), paperlast(), papernext() and paperprev(), removed papertable(). * lib/paper.h: added new prototypes. * src/paper.c: added -N option. Removed trailing spaces in what is printed. * examples/gsfrontend.c: corrected PAPERSIZE to PAGESIZE. * examples/a2ps: added calls to paperinit() and paperdone(), added agressive page size selection at printing time. Sat Jul 20 10:15:49 1996 Yves Arrouye <arrouye@marin.fdn.fr> * Makefile.in: changed for PAPERSIZE. * lib/paper.c: added the PAPERSIZE environment variable. * examples: new directory containing examples (gs.sh and diffs for a2ps-4.3).
Record updated last time on: 12/04/2024 - 17:29

Translate to...

Add new comment