graph_close.c 287 B

123456789101112131415161718
  1. /*
  2. * Close down the graphics processing. This gets called only at driver
  3. * termination time.
  4. */
  5. #include "psdriver.h"
  6. void PS_Graph_close(void)
  7. {
  8. if (!ps.no_trailer) {
  9. output("%%%%BeginTrailer\n");
  10. output("END\n");
  11. output("%%%%EndTrailer\n");
  12. }
  13. fclose(ps.outfp);
  14. }