1PAPERINFO(3)               Library Functions Manual               PAPERINFO(3)
2
3
4

NAME

6       paperinfo, paperwithsize, paperfirst, paperlast, papernext, paperprev -
7       return informations about a paper
8

SYNOPSYS

10       #include <paper.h>
11
12       const struct paper* paperinfo(const char* papername)
13       const struct paper* paperwithsize(double psw, double psh)
14
15       char*  papername(const struct paper*)
16       double paperpswidth(const struct paper*)
17       double paperpsheigth(const struct paper*)
18
19       const struct paper* paperfirst(void)
20       const struct paper* papernext(const struct paper* pinfo)
21       const struct paper* paperprev(const struct paper* pinfo)
22       const struct paper* paperlast(void)
23

DESCRIPTION

25       paperinfo() returns a pointer to a struct paper containing informations
26       about  the  paper with name papername paperwithsize() looks for a paper
27       whose width and height is psw and psh in PostScript points, and  return
28       a pointer to a struct paper corresponding to the paper found.
29
30       papername()  returns  the name of a paper described by an opaque struct
31       paper object paperpswidth() returns the width, in PostScript points, of
32       a  paper  described  by  an  opaque struct paper object paperpsheight()
33       returns the height, in PostScript points, of a paper  described  by  an
34       opaque struct paper object
35
36       paperfirst()  and  paperlast()  return  the  first and last entries for
37       papers.  Iteration from one entry to the next or the previous  one  can
38       be done with papernext() and paperprev() respectively.
39

SEE ALSO

41       paperinit(3), paperdone(3) defaultpapername(3)
42       papersize(5)
43
44
45
46
47                               24 September 1996                  PAPERINFO(3)
Impressum