]>
Commit | Line | Data |
---|---|---|
2d35d8ee | 1 | /* |
ed19bd98 | 2 | * "$Id: common.h,v 1.2 1999/03/24 18:01:41 mike Exp $" |
2d35d8ee | 3 | * |
4 | * Common filter definitions for the Common UNIX Printing System (CUPS). | |
5 | * | |
6 | * Copyright 1997-1999 by Easy Software Products. | |
7 | * | |
8 | * These coded instructions, statements, and computer programs are the | |
9 | * property of Easy Software Products and are protected by Federal | |
10 | * copyright law. Distribution and use rights are outlined in the file | |
11 | * "LICENSE.txt" which should have been included with this file. If this | |
12 | * file is missing or damaged please contact Easy Software Products | |
13 | * at: | |
14 | * | |
15 | * Attn: CUPS Licensing Information | |
16 | * Easy Software Products | |
17 | * 44141 Airport View Drive, Suite 204 | |
18 | * Hollywood, Maryland 20636-3111 USA | |
19 | * | |
20 | * Voice: (301) 373-9603 | |
21 | * EMail: cups-info@cups.org | |
22 | * WWW: http://www.cups.org | |
23 | */ | |
24 | ||
25 | /* | |
26 | * Include necessary headers... | |
27 | */ | |
28 | ||
29 | #include <stdio.h> | |
30 | #include <stdlib.h> | |
31 | #include <string.h> | |
32 | #include <errno.h> | |
33 | #include <ctype.h> | |
34 | #include <time.h> | |
35 | ||
36 | #include <cups/cups.h> | |
37 | #include <cups/language.h> | |
38 | #include <cups/string.h> | |
39 | ||
40 | ||
41 | /* | |
42 | * Globals... | |
43 | */ | |
44 | ||
45 | extern int Orientation, /* 0 = portrait, 1 = landscape, etc. */ | |
46 | Duplex, /* Duplexed? */ | |
47 | LanguageLevel, /* Language level of printer */ | |
48 | ColorDevice; /* Do color text? */ | |
49 | extern float PageLeft, /* Left margin */ | |
50 | PageRight, /* Right margin */ | |
51 | PageBottom, /* Bottom margin */ | |
52 | PageTop, /* Top margin */ | |
53 | PageWidth, /* Total page width */ | |
54 | PageLength; /* Total page length */ | |
55 | ||
56 | ||
57 | /* | |
58 | * Prototypes... | |
59 | */ | |
60 | ||
ed19bd98 | 61 | extern ppd_file_t *SetCommonOptions(int num_options, cups_option_t *options); |
2d35d8ee | 62 | |
63 | ||
64 | /* | |
ed19bd98 | 65 | * End of "$Id: common.h,v 1.2 1999/03/24 18:01:41 mike Exp $". |
2d35d8ee | 66 | */ |