<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>PS_CLOSE</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><H1
><A
NAME="AEN1"
></A
>PS_CLOSE</H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN15"
></A
><H2
>Name</H2
>PS_close -- Closes a PostScript document</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN18"
></A
><H2
>Synopsis</H2
><P
>#include <pslib.h></P
><P
>void PS_close(PSDoc *psdoc)</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN21"
></A
><H2
>DESCRIPTION</H2
><P
>Closes the PostScript document. It will not close a file pointer
passed to PS_open_fp(3). It only closes files which were opened by
pslib itself.</P
><P
>This function outputs a last line into
the PostScript document, which is a PostScript comment containing
the number of pages. It also writes the bookmark tree.</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN25"
></A
><H2
>SEE ALSO</H2
><P
>PS_open_fp(3), PS_open_file(3), PS_delete(3)</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN28"
></A
><H2
>AUTHOR</H2
><P
>This manual page was written by Uwe Steinmann <CODE
CLASS="EMAIL"
><<A
HREF="mailto:uwe@steinmann.cx"
>uwe@steinmann.cx</A
>></CODE
>.</P
></DIV
></BODY
></HTML
>