paperprev(3paper)

paperprev3paper

Return informations about a paper

Part of paperinfo(3paper).

Synopsys

#include <paper.h>

const struct paper* paperinfo(const char* papername)
const struct paper* paperwithsize(double psw, double psh)

const struct paper* paperfirst(void)
const struct paper* papernext(const struct paper* pinfo)
const struct paper* paperprev(const struct paper* pinfo)
const struct paper* paperlast(void)

Overview

paperinfo() returns a pointer to a struct paper containing informations about the paper with name papername paperwithsize() looks for a paper whose width and height is psw and psh in PostScript points, and return a pointer to a struct paper corresponding to the paper found.

paperfirst() and paperlast() return the first and last entries for papers. Iteration from one entry to the next or the previous one can be done with papernext() and paperprev() respectively.

Releases

5 releases since Debian 1.2 (Rex); the text changed 1 time.

  1. 1.2–1.3
  2. 2.0–2.2

From libpaperg 1.0.3-13.potato1 in Debian 2.2 (Potato). Parsed by carta from the page's man source.