]> git.ipfire.org Git - thirdparty/cups.git/blob - data/raster.defs
Merge CUPS 1.4svn-r7319.
[thirdparty/cups.git] / data / raster.defs
1 /*
2 * "$Id: raster.defs 343 2007-07-13 19:52:48Z mike $"
3 *
4 * This file contains the standard definitions for enumerated attributes
5 * in the CUPS raster page device dictionary.
6 *
7 * Copyright 2007 by Apple Inc.
8 * Copyright 1997-2005 by Easy Software Products.
9 *
10 * These coded instructions, statements, and computer programs are the
11 * property of Apple Inc. and are protected by Federal copyright
12 * law. Distribution and use rights are outlined in the file "LICENSE.txt"
13 * which should have been included with this file. If this file is
14 * file is missing or damaged, see the license at "http://www.cups.org/".
15 */
16
17 /* Jog values */
18 #define CUPS_JOG_NONE 0 /* Never move pages */
19 #define CUPS_JOG_FILE 1 /* Move pages after this file */
20 #define CUPS_JOG_JOB 2 /* Move pages after this job */
21 #define CUPS_JOG_SET 3 /* Move pages after this set */
22
23 /* Orientation values */
24 #define CUPS_ORIENT_0 0 /* Don't rotate the page */
25 #define CUPS_ORIENT_90 1 /* Rotate the page counter-clockwise */
26 #define CUPS_ORIENT_180 2 /* Turn the page upside down */
27 #define CUPS_ORIENT_270 3 /* Rotate the page clockwise */
28
29 /* CutMedia values */
30 #define CUPS_CUT_NONE 0 /* Never cut the roll */
31 #define CUPS_CUT_FILE 1 /* Cut the roll after this file */
32 #define CUPS_CUT_JOB 2 /* Cut the roll after this job */
33 #define CUPS_CUT_SET 3 /* Cut the roll after this set */
34 #define CUPS_CUT_PAGE 4 /* Cut the roll after this page */
35
36 /* AdvanceMedia values */
37 #define CUPS_ADVANCE_NONE 0 /* Never advance the roll */
38 #define CUPS_ADVANCE_FILE 1 /* Advance the roll after this file */
39 #define CUPS_ADVANCE_JOB 2 /* Advance the roll after this job */
40 #define CUPS_ADVANCE_SET 3 /* Advance the roll after this set */
41 #define CUPS_ADVANCE_PAGE 4 /* Advance the roll after this page */
42
43 /* LeadingEdge values */
44 #define CUPS_EDGE_TOP 0 /* Leading edge is the top of the page */
45 #define CUPS_EDGE_RIGHT 1 /* Leading edge is the right of the page */
46 #define CUPS_EDGE_BOTTOM 2 /* Leading edge is the bottom of the page */
47 #define CUPS_EDGE_LEFT 3 /* Leading edge is the left of the page */
48
49 /* cupsColorOrder values */
50 #define CUPS_ORDER_CHUNKED 0 /* CMYK CMYK CMYK ... */
51 #define CUPS_ORDER_BANDED 1 /* CCC MMM YYY KKK ... */
52 #define CUPS_ORDER_PLANAR 2 /* CCC ... MMM ... YYY ... KKK ... */
53
54 /* cupsColorSpace values */
55 #define CUPS_CSPACE_W 0 /* Luminance */
56 #define CUPS_CSPACE_RGB 1 /* Red, green, blue */
57 #define CUPS_CSPACE_RGBA 2 /* Red, green, blue, alpha */
58 #define CUPS_CSPACE_K 3 /* Black */
59 #define CUPS_CSPACE_CMY 4 /* Cyan, magenta, yellow */
60 #define CUPS_CSPACE_YMC 5 /* Yellow, magenta, cyan */
61 #define CUPS_CSPACE_CMYK 6 /* Cyan, magenta, yellow, black */
62 #define CUPS_CSPACE_YMCK 7 /* Yellow, magenta, cyan, black */
63 #define CUPS_CSPACE_KCMY 8 /* Black, cyan, magenta, yellow */
64 #define CUPS_CSPACE_KCMYcm 9 /* Black, cyan, magenta, yellow, *
65 * light-cyan, light-magenta */
66 #define CUPS_CSPACE_GMCK 10 /* Gold, magenta, yellow, black */
67 #define CUPS_CSPACE_GMCS 11 /* Gold, magenta, yellow, silver */
68 #define CUPS_CSPACE_WHITE 12 /* White ink (as black) */
69 #define CUPS_CSPACE_GOLD 13 /* Gold foil */
70 #define CUPS_CSPACE_SILVER 14 /* Silver foil */
71
72 #define CUPS_CSPACE_CIEXYZ 15 /* CIE XYZ */
73 #define CUPS_CSPACE_CIELab 16 /* CIE Lab */
74
75 #define CUPS_CSPACE_ICC1 32 /* ICC-based, 1 color */
76 #define CUPS_CSPACE_ICC2 33 /* ICC-based, 2 colors */
77 #define CUPS_CSPACE_ICC3 34 /* ICC-based, 3 colors */
78 #define CUPS_CSPACE_ICC4 35 /* ICC-based, 4 colors */
79 #define CUPS_CSPACE_ICC5 36 /* ICC-based, 5 colors */
80 #define CUPS_CSPACE_ICC6 37 /* ICC-based, 6 colors */
81 #define CUPS_CSPACE_ICC7 38 /* ICC-based, 7 colors */
82 #define CUPS_CSPACE_ICC8 39 /* ICC-based, 8 colors */
83 #define CUPS_CSPACE_ICC9 40 /* ICC-based, 9 colors */
84 #define CUPS_CSPACE_ICCA 41 /* ICC-based, 10 colors */
85 #define CUPS_CSPACE_ICCB 42 /* ICC-based, 11 colors */
86 #define CUPS_CSPACE_ICCC 43 /* ICC-based, 12 colors */
87 #define CUPS_CSPACE_ICCD 44 /* ICC-based, 13 colors */
88 #define CUPS_CSPACE_ICCE 45 /* ICC-based, 14 colors */
89 #define CUPS_CSPACE_ICCF 46 /* ICC-based, 15 colors */
90
91
92 /*
93 * End of "$Id: raster.defs 343 2007-07-13 19:52:48Z mike $".
94 */