table of contents
PS_CLOSE(3) | Library Functions Manual | PS_CLOSE(3) |
NAME¶
PS_close — Closes a PostScript documentSYNOPSIS¶
#include <pslib.h>void PS_close(PSDoc *psdoc)
DESCRIPTION¶
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.