request.h 794 B

12345678910111213141516171819202122
  1. /*
  2. *
  3. * Things used to handle special PostScript requests (like manual feed) globally
  4. * or on a per page basis. All the translators I've supplied accept the -R option
  5. * that can be used to insert special PostScript code before the global setup is
  6. * done, or at the start of named pages. The argument to the -R option is a string
  7. * that can be "request", "request:page", or "request:page:file". If page isn't
  8. * given (as in the first form) or if it's 0 in the last two, the request applies
  9. * to the global environment, otherwise request holds only for the named page.
  10. * If a file name is given a page number must be supplied, and in that case the
  11. * request will be looked up in that file.
  12. *
  13. */
  14. #define MAXREQUEST 30
  15. typedef struct {
  16. char *want;
  17. int page;
  18. char *file;
  19. } Request;