1/* 2 * This file contains the standard definitions for enumerated attributes 3 * in the CUPS raster page device dictionary. 4 * 5 * Copyright © 2007-2018 by Apple Inc. 6 * Copyright © 1997-2005 by Easy Software Products. 7 * 8 * Licensed under Apache License v2.0. See the file "LICENSE" for more 9 * information. 10 */ 11 12/* Jog values */ 13#define CUPS_JOG_NONE 0 /* Never move pages */ 14#define CUPS_JOG_FILE 1 /* Move pages after this file */ 15#define CUPS_JOG_JOB 2 /* Move pages after this job */ 16#define CUPS_JOG_SET 3 /* Move pages after this set */ 17 18/* Orientation values */ 19#define CUPS_ORIENT_0 0 /* Don't rotate the page */ 20#define CUPS_ORIENT_90 1 /* Rotate the page counter-clockwise */ 21#define CUPS_ORIENT_180 2 /* Turn the page upside down */ 22#define CUPS_ORIENT_270 3 /* Rotate the page clockwise */ 23 24/* CutMedia values */ 25#define CUPS_CUT_NONE 0 /* Never cut the roll */ 26#define CUPS_CUT_FILE 1 /* Cut the roll after this file */ 27#define CUPS_CUT_JOB 2 /* Cut the roll after this job */ 28#define CUPS_CUT_SET 3 /* Cut the roll after this set */ 29#define CUPS_CUT_PAGE 4 /* Cut the roll after this page */ 30 31/* AdvanceMedia values */ 32#define CUPS_ADVANCE_NONE 0 /* Never advance the roll */ 33#define CUPS_ADVANCE_FILE 1 /* Advance the roll after this file */ 34#define CUPS_ADVANCE_JOB 2 /* Advance the roll after this job */ 35#define CUPS_ADVANCE_SET 3 /* Advance the roll after this set */ 36#define CUPS_ADVANCE_PAGE 4 /* Advance the roll after this page */ 37 38/* LeadingEdge values */ 39#define CUPS_EDGE_TOP 0 /* Leading edge is the top of the page */ 40#define CUPS_EDGE_RIGHT 1 /* Leading edge is the right of the page */ 41#define CUPS_EDGE_BOTTOM 2 /* Leading edge is the bottom of the page */ 42#define CUPS_EDGE_LEFT 3 /* Leading edge is the left of the page */ 43 44/* cupsColorOrder values */ 45#define CUPS_ORDER_CHUNKED 0 /* CMYK CMYK CMYK ... */ 46#define CUPS_ORDER_BANDED 1 /* CCC MMM YYY KKK ... */ 47#define CUPS_ORDER_PLANAR 2 /* CCC ... MMM ... YYY ... KKK ... */ 48 49/* cupsColorSpace values */ 50#define CUPS_CSPACE_W 0 /* Luminance */ 51#define CUPS_CSPACE_RGB 1 /* Red, green, blue */ 52#define CUPS_CSPACE_RGBA 2 /* Red, green, blue, alpha */ 53#define CUPS_CSPACE_K 3 /* Black */ 54#define CUPS_CSPACE_CMY 4 /* Cyan, magenta, yellow */ 55#define CUPS_CSPACE_YMC 5 /* Yellow, magenta, cyan */ 56#define CUPS_CSPACE_CMYK 6 /* Cyan, magenta, yellow, black */ 57#define CUPS_CSPACE_YMCK 7 /* Yellow, magenta, cyan, black */ 58#define CUPS_CSPACE_KCMY 8 /* Black, cyan, magenta, yellow */ 59#define CUPS_CSPACE_KCMYcm 9 /* Black, cyan, magenta, yellow, * 60 * light-cyan, light-magenta */ 61#define CUPS_CSPACE_GMCK 10 /* Gold, magenta, yellow, black */ 62#define CUPS_CSPACE_GMCS 11 /* Gold, magenta, yellow, silver */ 63#define CUPS_CSPACE_WHITE 12 /* White ink (as black) */ 64#define CUPS_CSPACE_GOLD 13 /* Gold foil */ 65#define CUPS_CSPACE_SILVER 14 /* Silver foil */ 66 67#define CUPS_CSPACE_CIEXYZ 15 /* CIE XYZ */ 68#define CUPS_CSPACE_CIELab 16 /* CIE Lab */ 69 70#define CUPS_CSPACE_ICC1 32 /* ICC-based, 1 color */ 71#define CUPS_CSPACE_ICC2 33 /* ICC-based, 2 colors */ 72#define CUPS_CSPACE_ICC3 34 /* ICC-based, 3 colors */ 73#define CUPS_CSPACE_ICC4 35 /* ICC-based, 4 colors */ 74#define CUPS_CSPACE_ICC5 36 /* ICC-based, 5 colors */ 75#define CUPS_CSPACE_ICC6 37 /* ICC-based, 6 colors */ 76#define CUPS_CSPACE_ICC7 38 /* ICC-based, 7 colors */ 77#define CUPS_CSPACE_ICC8 39 /* ICC-based, 8 colors */ 78#define CUPS_CSPACE_ICC9 40 /* ICC-based, 9 colors */ 79#define CUPS_CSPACE_ICCA 41 /* ICC-based, 10 colors */ 80#define CUPS_CSPACE_ICCB 42 /* ICC-based, 11 colors */ 81#define CUPS_CSPACE_ICCC 43 /* ICC-based, 12 colors */ 82#define CUPS_CSPACE_ICCD 44 /* ICC-based, 13 colors */ 83#define CUPS_CSPACE_ICCE 45 /* ICC-based, 14 colors */ 84#define CUPS_CSPACE_ICCF 46 /* ICC-based, 15 colors */ 85