plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

request.h (793B)


      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 
     15 #define MAXREQUEST	30
     16 
     17 typedef struct {
     18 	char	*want;
     19 	int	page;
     20 	char	*file;
     21 } Request;