DOKK / manpages / debian 10 / pslib-dev / PS_close.3.en
PS_CLOSE(3) Library Functions Manual PS_CLOSE(3)

PS_close — Closes a PostScript document

#include <pslib.h>

void PS_close(PSDoc *psdoc)

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.

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.

PS_open_fp(3), PS_open_file(3), PS_delete(3)

This manual page was written by Uwe Steinmann uwe@steinmann.cx.