Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PAPERINFO(3)		    Library Functions Manual		    PAPERINFO(3)

NAME
     paperinfo, paperwithsize, paperfirst, paperlast, papernext, paperprev - re-
     turn informations about a paper

SYNOPSYS
     #include <paper.h>

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

     char*  papername(const struct paper*)
     double paperpswidth(const struct paper*)
     double paperpsheigth(const struct paper*)

     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)

DESCRIPTION
     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.

     papername() returns the name of a paper described by an opaque struct paper
     object  paperpswidth()  returns the width, in PostScript points, of a paper
     described by an opaque struct  paper  object  paperpsheight()  returns  the
     height,  in PostScript points, of a paper described by an opaque struct pa-
     per object

     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.

SEE ALSO
     paperinit(3), paperdone(3) defaultpapername(3)
     papersize(5)

				24 September 1996		    PAPERINFO(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=paperprev&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help