Debian Codegraph @

src/testpattern/testpattern.sample

raw
1 # Sample test pattern file, for use with Gutenprint test pattern generator
2 #
3 # Copyright 2001-2016 Robert Krawitz ([email protected])
4 #
5 # This program is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by the Free
7 # Software Foundation; either version 2 of the License, or (at your option)
8 # any later version.
9 #
10 # This program is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 # for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <https://www.gnu.org/licenses/>.
17
18 # Printer/driver settings.
19 # Printer model
20 printer escp2-870;
21 # Resolution, or print quality
22 parameter Resolution 720sw;
23 # Media source (if appropriate for your printer)
24 parameter InputSlot Standard;
25 # Media type (what kind of paper)
26 parameter MediaType Photo;
27 # ink_type
28 parameter InkType PhotoCMYK;
29 # Paper size
30 parameter PageSize Letter;
31 # Dither algorithm
32 #parameter DitherAlgorithm Ordered;
33 parameter DitherAlgorithm Ordered;
34
35 mode RGB 8;
36
37 # Note that due to limitations in the lexical analyzer and parser, all
38 # floating point values must be specified with a decimal point.
39
40 # Placement settings
41 # Horizontal size, as fraction of paper width (defaults to 1.0)
42 hsize 0.33;
43 # Vertical size, as fraction of paper width (defaults to 1.0)
44 vsize 0.33;
45 # Left margin, as fraction of paper width (defaults to 0)
46 left 0.66;
47 # Top margin, as fraction of paper width (defaults to 0)
48 top 0.66;
49
50 # Output settings
51 # These settings are used as the base values for all ramps. These settings
52 # are multiplied by the appropriate values in each pattern definition
53 # to compute the effective gamma and conversion values. All of these
54 # default to 1.0.
55 # Gamma value applied to all inks
56 gamma 1.0;
57 # Additional gamma correction applied to cyan, magenta, yellow, and black inks
58 gamma cyan 1.0;
59 gamma magenta 1.0;
60 gamma yellow 1.0;
61 gamma black 1.0;
62 # Amount of each ink that should be used when black is converted to CMY.
63 # These values must be greater than 0 and must not exceed 10.
64 level cyan 1.0;
65 level magenta 1.0;
66 level yellow 1.0;
67
68 # Maximum amount of ink that will be printed, relative to solid coverage.
69 # 1.0 means that every dot position that can be printed will be. Normally
70 # at high resolutions less ink should be printed. This is similar to
71 # density in normal RGB mode, but does not affect photo ink conversion.
72 ink_limit 1.0;
73
74 # Density. Unlike normal RGB mode, the CMYK16 input mode used by the
75 # test pattern generator does not automatically scale the amount of ink
76 # used by the resolution and paper type (see ink_limit above). The test
77 # driver separates the functions of ink limiting and photo ink conversion
78 # to allow maximum control over the output.
79 density 1.0;
80
81 # Do we want a thin black line between each band? (default yes)
82 blackline 0;
83
84 # Number of steps in each ramp (default 256)
85 steps 16;
86
87 # Pattern specifiers
88 # BLACK RAMP BLACK BLACK CYAN MAGENTA YELLOW
89 # ENDPOINTS CONVERSION
90 # Lower Cyan Min Min Min Min
91 # Upper Magenta Max Max Max Max
92 # Yellow Gamma Gamma Gamma Gamma
93
94 # 0) White band
95 pattern 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0;
96 # 1) C sweep
97 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0;
98 # 2) M sweep
99 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0;
100 # 3) Y sweep
101 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0;
102 # 4) Pure CMY sweep
103 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 1.0 1.0 0.0 1.0 1.0;
104 # 5) K sweep
105 pattern 0.0 0.0 1.0 1.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0;
106 # 6) Adjusted CMY sweep
107 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.0 1.0 0.0 -2.0 1.0 0.0 -2.0 1.0 0.0 -2.0 1.0;
108 # 7) Pure CMY sweep
109 pattern 1.0 1.0 1.0 1.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0;
110 # 8) Adjusted CMY sweep
111 pattern 1.0 1.0 -2.0 -2.0 -2.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0;
112 # 9) CMYK, transition band 10-30%
113 pattern 0.1 0.3 1.0 1.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0;
114 # 10) Adjusted CMYK, transition band 30-70%
115 pattern 0.3 0.7 -2.0 -2.0 -2.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0;
116 # 11) CMYK, transition band 10-99.9%
117 pattern 0.1 0.999 1.0 1.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0;
118 # 12) CMYK, transition band 30-99.9%
119 pattern 0.3 0.999 1.0 1.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0;
120 # 13) CMYK, transition band 50-99.9%
121 pattern 0.5 0.999 1.0 1.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0;
122 # 14) Adjusted CMYK, transition band 10-30%
123 pattern 0.1 0.3 -2.0 -2.0 -2.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0;
124 # 15) CMYK, transition band 30-70%
125 pattern 0.3 0.7 1.0 1.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0;
126 # 16) Adjusted CMYK, transition band 10-99.9%
127 pattern 0.1 0.999 -2.0 -2.0 -2.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0;
128 # 17) Adjusted CMYK, transition band 30-99.9%
129 pattern 0.3 0.999 -2.0 -2.0 -2.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0;
130 # 18) Adjusted CMYK, transition band 50-99.9%
131 pattern 0.5 0.999 -2.0 -2.0 -2.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0;
132 # 19) Y+M (R) sweep
133 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 1.0 1.0;
134 # 20) Y+M+.25C sweep
135 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.25 1.0 0.0 0.0 1.0 0.0 0.75 1.0 0.0 0.75 1.0;
136 # 21) Y+M+.25C sweep (using K)
137 pattern 0.0 0.0 1.0 1.0 1.0 0.0 0.25 1.0 0.0 0.0 1.0 0.0 0.75 1.0 0.0 0.75 1.0;
138 # 22) Y+M+.5C sweep
139 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.5 1.0 0.0 0.0 1.0 0.0 0.5 1.0 0.0 0.5 1.0;
140 # 23) Y+M+.5C sweep (using K)
141 pattern 0.0 0.0 1.0 1.0 1.0 0.0 0.5 1.0 0.0 0.0 1.0 0.0 0.5 1.0 0.0 0.5 1.0;
142 # 24) Y+M+.75C sweep
143 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.75 1.0 0.0 0.0 1.0 0.0 0.25 1.0 0.0 0.25 1.0;
144 # 25) Y+M+.75C sweep (using K)
145 pattern 0.0 0.0 1.0 1.0 1.0 0.0 0.75 1.0 0.0 0.0 1.0 0.0 0.25 1.0 0.0 0.25 1.0;
146 # 26) Y+M+.9C sweep
147 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.9 1.0 0.0 0.0 1.0 0.0 0.1 1.0 0.0 0.1 1.0;
148 # 27) Y+M+.9C sweep (using K)
149 pattern 0.0 0.0 1.0 1.0 1.0 0.0 0.9 1.0 0.0 0.0 1.0 0.0 0.1 1.0 0.0 0.1 1.0;
150 # 28) C+Y (G) sweep
151 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0;
152 # 29) C+Y+.25M sweep
153 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.25 1.0 0.0 0.75 1.0 0.0 0.0 1.0 0.0 0.75 1.0;
154 # 30) C+Y+.25M sweep (using K)
155 pattern 0.0 0.0 1.0 1.0 1.0 0.0 0.25 1.0 0.0 0.75 1.0 0.0 0.0 1.0 0.0 0.75 1.0;
156 # 31) C+Y+.5M sweep
157 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.5 1.0 0.0 0.5 1.0 0.0 0.0 1.0 0.0 0.5 1.0;
158 # 32) C+Y+.5M sweep (using K)
159 pattern 0.0 0.0 1.0 1.0 1.0 0.0 0.5 1.0 0.0 0.5 1.0 0.0 0.0 1.0 0.0 0.5 1.0;
160 # 33) C+Y+.75M sweep
161 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.75 1.0 0.0 0.25 1.0 0.0 0.0 1.0 0.0 0.25 1.0;
162 # 34) C+Y+.75M sweep (using K)
163 pattern 0.0 0.0 1.0 1.0 1.0 0.0 0.75 1.0 0.0 0.25 1.0 0.0 0.0 1.0 0.0 0.25 1.0;
164 # 35) C+Y+.9M sweep
165 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.9 1.0 0.0 0.1 1.0 0.0 0.0 1.0 0.0 0.1 1.0;
166 # 36) C+Y+.9M sweep (using K)
167 pattern 0.0 0.0 1.0 1.0 1.0 0.0 0.9 1.0 0.0 0.1 1.0 0.0 0.0 1.0 0.0 0.1 1.0;
168 # 37) C+M (B) sweep
169 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.0 1.0 0.0 1.0 1.0 0.0 1.0 1.0 0.0 0.0 1.0;
170 # 38) C+M+.25Y sweep
171 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.25 1.0 0.0 0.75 1.0 0.0 0.75 1.0 0.0 0.0 1.0;
172 # 39) C+M+.25Y sweep (using K)
173 pattern 0.0 0.0 1.0 1.0 1.0 0.0 0.25 1.0 0.0 0.75 1.0 0.0 0.75 1.0 0.0 0.0 1.0;
174 # 40) C+M+.5Y sweep
175 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.5 1.0 0.0 0.5 1.0 0.0 0.5 1.0 0.0 0.0 1.0;
176 # 41) C+M+.5Y sweep (using K)
177 pattern 0.0 0.0 1.0 1.0 1.0 0.0 0.5 1.0 0.0 0.5 1.0 0.0 0.5 1.0 0.0 0.0 1.0;
178 # 42) C+M+.75Y sweep
179 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.75 1.0 0.0 0.25 1.0 0.0 0.25 1.0 0.0 0.0 1.0;
180 # 43) C+M+.75Y sweep (using K)
181 pattern 0.0 0.0 1.0 1.0 1.0 0.0 0.75 1.0 0.0 0.25 1.0 0.0 0.25 1.0 0.0 0.0 1.0;
182 # 44) C+M+.9Y sweep
183 pattern 1.0 1.0 1.0 1.0 1.0 0.0 0.9 1.0 0.0 0.1 1.0 0.0 0.1 1.0 0.0 0.0 1.0;
184 # 45) C+M+.9Y sweep (using K)
185 pattern 0.0 0.0 1.0 1.0 1.0 0.0 0.9 1.0 0.0 0.1 1.0 0.0 0.1 1.0 0.0 0.0 1.0;