]> git.ipfire.org Git - thirdparty/cups.git/blob - filter/common.h
Import cups.org releases
[thirdparty/cups.git] / filter / common.h
1 /*
2 * "$Id$"
3 *
4 * Common filter definitions for the Common UNIX Printing System (CUPS).
5 *
6 * Copyright 1997-2001 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
61 extern ppd_file_t *SetCommonOptions(int num_options, cups_option_t *options,
62 int change_size);
63 extern void UpdatePageVars(void);
64 extern void WriteLabelProlog(const char *label);
65 #define WriteLabels() puts("espWL");
66
67
68 /*
69 * End of "$Id$".
70 */