Blame


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