1: /* this file contains the site dependent items for the ipq, iprm, ipch
2: * and impv routines.
3: *
4: * history
5: *
6: * created by Ted Bentley
7: * University of Alberta
8: * February 1984
9: * Color revisions: Martin Dubetz January 1985
10: */
11:
12: /* $Header: site.h,v 10.3 86/02/01 16:00:33 tony Rel $ */
13:
14: #define REMOTE_HOST "alberta" /* The host where the spool files are */
15: #define P_SERV "impvserv" /* The name of the server on that host */
16: #define SCREEN_FILE "/usr/tmp/impvXXXXXX" /* the disk file for screen images */
17: #define SAVE_PAGES 5 /* the number of screen images to save */
18: #define NOSPOOL /* no spool file, local previewing only*/
19: /* #define XWIND /* DO NOT TURN ON, MAKEFILE DOES IT */
20: /*for VAXSTATION */
21: /* #define IMAGEN300 /* for IMAGEN 300 dpi*/
22: #ifndef XWIND
23: #define COLOR /* include the color slide option */
24: #endif
25:
26: #ifdef IMAGEN300
27:
28: #define SIZED
29: #define MAXx 2550 /* maximum number of dots imagen 300 page */
30: #define MAXy 3300
31:
32: #ifdef SUN120
33: #define LEFTE 126 /* left edge of pscreen to start at */
34:
35: #else SUN120
36: #define LEFTE 62 /* left edge of pscreen to start at */
37:
38: #endif SUN120
39:
40: #endif IMAGEN300
41:
42: #ifndef SIZED
43:
44: #ifdef IMAGEN480
45: #define MAXx 4080 /* maximum number of dots imagen 480 page */
46: #define MAXy 5280
47: #define LEFTE 0 /* left edge of pscreen to start at */
48:
49: #else IMAGEN480
50: #define MAXx 2040 /* maximum number of dots imagen 240 page */
51: #define MAXy 2640
52: #define LEFTE 0 /* left edge of pscreen to start at */
53:
54: #endif IMAGEN480
55:
56: #endif SIZED
57:
58: /* these likely won't change */
59: #define SMAXx (MAXx / 2) /* number of dots on a screen page */
60: #define SMAXy (MAXy / 2)
61: /* calculate the screen size in bytes 2::1 compression */
62: #define SCREENSIZE (((SMAXx + 7) / 8) * SMAXy )
Defined macros
COLOR
defined in line
23; used 21 times
- in /usr/src/new/X/ximpv/dofile.c line
23,
77,
250,
272,
372,
439-444(2),
479,
722,
736,
754
- in /usr/src/new/X/ximpv/impv.c line
130,
209,
399,
422,
486,
873,
896-898(2),
908-910(2)
LEFTE
defined in line
52;
never used
MAXx
defined in line
50; used 5 times
MAXy
defined in line
51; used 4 times
SIZED
defined in line
28; used 1 times
SMAXx
defined in line
59; used 1 times
SMAXy
defined in line
60; used 1 times
Usage of this include