Debian Codegraph @

doc/printtarg.html

raw symbols SCIP
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta content="text/html; charset=windows-1252" http-equiv="content-type">
5 <title>printtarg</title>
6 <meta name="author" content="Graeme Gill">
7 </head>
8 <body>
9 <h2><b>target/printtarg</b></h2>
10 <h3>Summary</h3>
11 Create a PostScript (PS), Embedded PostScript (EPS) or Tagged Image File
12 Format (TIFF) file containing profile test patch values, ready for printing.<br>
13 <h3>Usage Summary</h3>
14 <span style="font-family: monospace;">printtarg [options] <i>basename</i><br>
15 &nbsp;<a href="#v">-v</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
16
17
18
19
20
21
22
23
24
25
26
27 Verbose mode<br>
28 &nbsp;<a href="#i">-i 20 | 22 | 41 | 51 | SS | i1 | p3 | CM</a> Select
29 target instrument (default i1)<br>
30 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
31 &nbsp;
32
33
34 i1 = i1Pro, 3p = i1Pro3+, CM = ColorMunki<br>
35 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
36 20
37 =
38 DTP20,
39 22
40 =
41
42
43
44
45
46
47
48
49
50
51
52 DTP22, 41 = DTP41, 51 = DTP51, SS = SpectroScan,<br>
53 &nbsp;<a href="#a">-a scale</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
54 Scale
55 patch
56 and
57 spacer
58 size
59
60
61
62
63
64
65
66
67
68
69
70 by factor (e.g. 0.857 or 1.5 etc.)<br>
71 &nbsp;<a href="#A">-A scale</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
72 Scale
73 spacer
74 size
75 by
76 additional
77
78
79
80
81
82
83
84
85
86
87
88 factor (e.g. 0.857 or 1.5 etc.)<br>
89 &nbsp;<a href="#h">-h</a>
90 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
91 Use hexagon patches for SS, double density for CM<br>
92 &nbsp;<a href="#r">-r</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
93
94
95
96
97
98
99
100
101
102
103
104 Don't randomize patch location<br>
105 &nbsp;<a href="#s">-s</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
106 Create
107 a
108 scan
109 image
110 recognition
111
112
113
114
115
116
117
118
119
120
121
122 (.cht) file<br>
123 &nbsp;<a href="#S">-S</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
124 Same
125 as
126 -s,
127 but
128 don't
129
130
131
132
133
134
135
136
137
138
139
140 generate wide orientation strip.<br>
141 &nbsp;<a href="#c">-c</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
142
143
144
145
146
147
148
149
150
151
152
153 Force colored spacers<br>
154 &nbsp;<a href="#b">-b</a>
155 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
156 Force B&amp;W spacers<br>
157 &nbsp;<a href="#n">-n</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
158
159
160
161
162
163
164
165
166
167
168
169 Force no spacers<br>
170 &nbsp;<a href="#f">-f</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
171 Create
172 PostScript DeviceN Color fallback<br>
173 &nbsp;<a href="#w">-w g|r|s|n</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
174 White colorspace encoding DeviceGray (def), DeviceRGB, Separation or
175 DeviceN<br>
176 &nbsp;<a href="#k">-k g|c|s|n</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
177 Black colorspace encoding DeviceGray (def), DeviceCMYK, Separation or
178 DeviceN<br>
179 &nbsp;<a href="#o">-o k|n</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
180 CMY
181
182 colorspace encoding DefiveCMYK (def), inverted DeviceRGB or DeviceN<br>
183 &nbsp;<a href="#e">-e</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
184
185
186
187
188
189
190
191
192
193
194
195 Output EPS compatible file<br>
196 &nbsp;<a href="#t">-t [res]</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
197 Output
198 8
199 bit
200 TIFF
201 raster
202
203
204
205
206
207
208
209
210
211
212
213 file, optional res DPI (default 200)<br>
214 &nbsp;<a href="#T">-T [res]</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
215 Output
216 16
217 bit
218 TIFF
219 raster
220
221
222
223
224
225
226
227
228
229
230
231 file, optional res DPI (default 200)<br>
232 &nbsp;<a href="#C">-C</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
233 Don't
234 use TIFF compression<br>
235 &nbsp;<a href="#N">-N</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
236 Use
237 TIFF
238 alpha
239 N
240 channels
241
242
243
244
245
246
247
248
249
250
251
252 more than 4<br>
253 &nbsp;<a href="#D">-D</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
254
255
256
257
258
259
260
261
262
263
264
265 Dither 8 bit TIFF values down from 16 bit<br>
266 &nbsp;<a href="#Q">-Q nbits</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
267 Quantize
268 test
269 values
270 to
271 fit
272
273
274
275
276
277
278
279
280
281
282
283 in nbits<br>
284 &nbsp;-<a href="#K">K file.cal</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Apply
285 printer calibration to patch values and include in .ti2<br>
286 &nbsp;<a href="#I">-I file.cal</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Include
287 calibration in .ti2 (but don't apply it)</span><br>
288
289
290 <span style="font-family: monospace;">&nbsp;<a href="#R">-R rsnum</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
291
292
293
294
295
296
297
298
299
300
301
302 Use given random start number<br>
303 &nbsp;<a href="#x">-x pattern</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use
304 given strip indexing pattern (Default = "A-Z, A-Z")<br>
305 &nbsp;<a href="#y">-y pattern</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use
306 given patch indexing pattern (Default = "0-9,@-9,@-9;1-999")<br>
307 &nbsp;<a href="#m">-m margin</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
308 Set a page margin in mm (default 6.0 mm)<br>
309 &nbsp;<a href="#M">-M margin</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
310 Set a page margin in mm and include it in TIFF<br>
311 &nbsp;<a href="#P">-P</a>
312 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
313 Don't limit strip length<br>
314 &nbsp;<a href="#L">-L</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
315 Suppress
316 any
317 left
318 paper
319 clip
320
321
322
323
324
325
326
327
328
329
330
331 border<br>
332 &nbsp;<a href="#U">-U</a>
333 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
334 Suppress CUPS cupsJobTicket: cups-disable-cmm in PS &amp; EPS files<br>
335 &nbsp;<a href="#p">-p size</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
336
337
338
339
340
341
342
343
344
345
346
347 Select page size from:<br>
348 &nbsp;&nbsp;&nbsp;&nbsp;
349 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
350 A4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
351
352
353
354
355
356
357
358
359
360
361
362 [210.0 x 297.0 mm]<br>
363 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
364 A4R&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
365
366
367
368
369
370
371
372
373
374
375
376 [297.0 x 210.0 mm]<br>
377 &nbsp; &nbsp;
378 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
379 A3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
380
381
382
383
384
385
386
387
388
389
390
391 [297.0 x 420.0 mm] (default)<br>
392 &nbsp;&nbsp; &nbsp; &nbsp;
393 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
394 A2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [420.0 x 594.0 mm]<br>
395 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;
396 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Letter&nbsp;&nbsp;
397 [215.9 x 279.4 mm]<br>
398 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;
399 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LetterR&nbsp; [279.4 x 215.9 mm]<br>
400 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
401 &nbsp; &nbsp;&nbsp;&nbsp; Legal&nbsp;&nbsp;&nbsp; [215.9 x 355.6 mm]<br>
402 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
403 &nbsp;
404
405
406
407
408
409
410
411
412
413
414
415 &nbsp;&nbsp; 4x6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [101.6 x 152.4 mm]<br>
416 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
417 11x17&nbsp;&nbsp;&nbsp;
418
419
420
421
422
423
424
425
426
427
428
429 [279.4 x 431.8 mm]<br>
430 &nbsp;<a href="#pp">-p WWWxHHH</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
431 Custom size, WWW mm wide by HHH mm high<br>
432 <br>
433 &nbsp; <i><a href="#p1">basename</a></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
434 &nbsp; Base name for input(<a href="File_Formats.html#.ti1">.ti1</a>),
435 output(<a href="File_Formats.html#.ti2">.ti2</a>) and
436 output(.ps/.eps/.tif)</span><br>
437 <h3>Usage Details and Discussion</h3>
438 <b> printtarg</b> is used to generate a PostScript or TIFF print file from
439 device test values in a .ti1 file. It output both a PostScript/EPS/TIFF
440 file, and a .ti2 file containing the device test values together with the
441 layout information needed to identify the patch location. This module can
442 also generate the image recognition templates needed to read the print
443 targets in using a scanner.<br>
444 <br>
445 <a name="v"></a> The <b>-v</b> flag turns on verbose mode. Prints
446 information about how many patches there are in a row, how many patches in a
447 set,&nbsp; and how many pages will be generated. Good for figuring out what
448 the magic number of patches should be for a particular page size.<br>
449 <br>
450 <a name="i"></a> The <b>-i</b> parameter should be used to tell printtarg
451 which instrument it should lay the patches out for. Each instrument has a
452 slightly different requirement, and will lead to a different number of
453 patches ending up on a particular page size. For a generic type of chart,
454 try <span style="font-weight: bold;">SS</span>.<br>
455 <br>
456 <a name="a"></a><a name="A"></a> <span style="font-weight: bold;">-a, -A: </span>Normally,
457 <b>printtarg</b> prints test patches that are the minimum size that can be
458 reliably and accurately read by the instrument.&nbsp; For some media, it
459 might be desirable to use test patches that are larger than this minimum
460 (e.g. if the media has poor registration, gets physically distorted in the
461 print production process, or if it has a coarse screen, and there are few
462 samples per patch), and the <span style="font-weight: bold;">-a</span> flag
463 should be given an argument greater than 1.0 to increase the patch length,
464 patch width, and spacer size between patches, if it is appropriate for the
465 type of instrument. A value of 1.5 would make the patch 50% larger for
466 instance. For the strip reading instruments the patch is made longer, the
467 strip spacing remaining the same, while for XY scanning instruments, both
468 the width and height will be increased. If a value less than 1.0 is given as
469 an argument, then the patches will be made smaller. For instance, using the
470 SpectroScan instrument it is possible to reduce the test patches to 6mm
471 rather than the default 7mm by supplying an argument of 0.857. Note that
472 this make lining up of the scan head very critical, and increases the amount
473 of bleed through from adjacent squares. For an instrument that needs color
474 spacers between patches, <span style="font-weight: bold;">-a scale</span>
475 also scales the spacer length. For some situations, this may be
476 insufficient, and the&nbsp;<span style="font-weight: bold;"> -A scale</span>
477 option can be used to additionally scale the spacer length.<br>
478 Note that the for the <span style="font-weight: bold;">DTP20</span> only <span
479 style="font-weight: bold;">-a </span>values of 1.0, 1.08, 1.54, 1.92, 2.0
480 and that the patch width will be made no smaller than its length.<br>
481 <br>
482 <a name="h"></a> Normally, <b>printtarg</b> creates a regular grid of test
483 patches, but for instruments that support arbitrary X, Y addressing (such as
484 the SpectroScan). For the <span style="font-weight: bold;">SpectroScan</span>
485 it can also create a chart using regular hexagonal patches, allowing more
486 patches to be fitted into a single sheet if the <span style="font-weight: bold;">-h</span>
487 flag is used.&nbsp; For the <span style="font-weight: bold;">ColorMunki</span>
488 instrument, <span style="font-weight: bold;">-h</span> doubles the normal
489 number of patches is printed by halving the row width. The patches are also
490 staggered to improve the detection of a poor scan.<br>
491 <br>
492 <a name="r"></a> Normally, <b>printtarg</b> randomizes the patch locations,
493 which helps strip reading instruments detect patch boundaries and the
494 direction the strip was read in, as well as being able to detect incorrect
495 strips being fed into strip reading instruments, and also assists in
496 randomizing any systematic printing errors introduced into the test chart
497 due to print engine unevenness, inkjet banding, or printing press ink key
498 settings etc. The <b>-r</b> flag turns this off, and lays the test squares
499 out in the order the values appear in, in the .ti1 file. Note that if you
500 turn this off you probably want to <a href="chartread.html#B">disable
501 bi-directional</a> strip reading in instruments such as the i1pro.<br>
502 <br>
503 <a name="s"></a> The <b>-s</b> flag does two things. One is that it causes
504 printtarg to output a chart recognition file (<a href="File_Formats.html#.cht">.cht</a>)
505 so that <a href="scanin.html"> scanin</a> can recognize the chart, and
506 convert rasterized patches into patch values, and the second is that is
507 expands the size of the leading row of patches by 50%, to help make sure
508 that each sheet can be oriented correctly by <a href="scanin.html"> scanin</a>.
509 <a name="S"></a>If <b>-S</b> is used rather than <b>-s</b>, then the
510 recognition chart will be created, but the leading row will be the same size
511 as all the other rows.<br>
512 <br>
513 <a name="c"></a> For strip reading instruments, the contrast with the
514 spacers is important in ensuring that a reading will be successful. Normally
515 <span style="font-weight: bold;">printtarg</span> ensures this by printing
516 optimally contrasting colored spacers between each measurement patch. The <b>-c</b>
517 flag is therefore the default behaviour. <a name="b"></a>If the <b>-b</b>
518 flag is used, then contrasting neutral colored spacers will be used, but
519 these generally work less reliably than colored spacers. <a name="n"></a>The
520
521
522
523
524
525
526
527
528
529
530 <b>-n</b> flag will cause spacers to be omitted, which may still work with
531 smaller numbers of test values when the patch selection is randomized, but
532 won't work successfully when a large number of test points is being used
533 (&gt;200), or when the patches are not randomized in location.<br>
534 <br>
535 <a name="f"></a><b>-f</b>: When creating a test chart for more than CMYK
536 inks, a PostScript file normally contains color settings that use the
537 PostScript level 3 "Device N" color specifications. Such color
538 specifications have a "fallback" color, for PostScript interpreters that
539 don't handle Device N specifications. Such fallback colors are normally set
540 to a grayscale estimate of the patch color, so that it is possible to tell
541 if the PostScript interpreter is not rendering the Device N values
542 correctly. <a name="f"></a>The <b>-f</b> flag, causes the fallback color
543 to be a color estimate of the Device N test patch color, which is useful for
544 diagnostic purposes.<br>
545 <br>
546 <a name="e"></a> The <b>-e</b> flag gives EPS output, rather than
547 PostScript, allowing the charts to be included in other applications.
548 Because EPS disallows the showpage command, multiple EPS files will result
549 for a multi-page test chart, each one having a two digit number sequence in
550 it's name, so if the input file name is <span style="font-weight: bold;">chart</span>,
551 then file <span style="font-weight: bold;">chart.ti1</span> will be read,
552 and file <span style="font-weight: bold;">chart.ti2</span> written,
553 together with <span style="font-weight: bold;">chart.eps</span> if there is
554 only one page, or <span style="font-weight: bold;">chart_01.eps</span>, <span
555 style="font-weight: bold;">chart_02.eps</span>, etc. if there is more than
556 one page.<br>
557 <br>
558 <a name="t"></a><a name="T"></a><span style="font-weight: bold;">-t [res],
559 -T [res]</span> The <b>-t</b> flag gives TIFF raster output rather than
560 PostScript, allowing the charts to be printed to systems that do not accept
561 PostScript input. Because few systems understand multi-page TIFF files,
562 multiple TIFF files will result for a multi-page test chart, each one having
563 a two digit number sequence in it's name, so if the input file name is <span
564 style="font-weight: bold;">chart</span>, then file <span style="font-weight: bold;">chart.ti1</span>
565 will be read, and file <span style="font-weight: bold;">chart.ti2</span>
566 written, together with <span style="font-weight: bold;">chart.tif</span> if
567 there is only one page, or <span style="font-weight: bold;">chart_01.tif</span>,
568 <span style="font-weight: bold;">chart_02.tif</span>, etc. if there is more
569 than one page. By default the resolution of the chart will be 100 Dots Per
570 Inch (DPI), but this can be changed by providing an optional DPI argument
571 after the <span style="font-weight: bold;">-t</span> or <span style="font-weight: bold;">-T</span>
572 flag. If the <span style="font-weight: bold;">-t</span> flag is used, then
573 an 8 bit per component TIFF file will be created. If the <span style="font-weight: bold;">-T</span>
574 flag is used, then a 16 bit per component TIFF file will be created. Note
575 that if 8 bit TIFF<span style="font-weight: bold;"></span> output is
576 selected (<span style="font-weight: bold;">-t</span>) without dithering (no
577 <span style="font-weight: bold;">-D) </span>then the values will by default
578 be quantized to 8 bits, and that if 16 bit TIFF<span style="font-weight: bold;"></span>
579 output is selected (<span style="font-weight: bold;">-T</span>) or 8 bit
580 TIFF with dithering (<span style="font-weight: bold;">-D)</span>, then the
581 values will by default be quantized to 16 bits (see <a href="#Q">-Q</a>
582 flag). The raster file will be the page size specified minus the <a href="#m">-m</a>
583 margin.<br>
584 <br>
585 <a name="C"></a><span style="font-weight: bold;">-C:</span> Normally the
586 TIFF files created will be compressed using LZW compression to save space.
587 Some systems may not support this compression, so it can be disabled by
588 using the <span style="font-weight: bold;">-C</span> flag.<br>
589 <br>
590 <a name="N"></a><span style="font-weight: bold;">-N:</span> When creating
591 TIFF files with more than 4 colorants, the normal Separated mode is used.
592 Some systems don't cope well with extra colorants presented in this manner,
593 and the <span style="font-weight: bold;">-N</span> flag causes all the
594 channels greater than 4 to be labelled as "Alpha" channels, which may be
595 more palatable.<br>
596 <br>
597 <a name="D"></a><span style="font-weight: bold;">-D:</span> When creating
598 TIFF files with 8 bit output, dither the values to give effective 16 bit
599 precision. Note this is applied after any quantization of the test values
600 (see <a href="#Q">-Q</a>). Note that this might interfere (i.e. give
601 alias/moire patterns) in printed output if the printer uses screening that
602 happens to clash. Note also that dithering is effectively linearly
603 interpolating between the 8 bit values using spatial averaging, and that
604 therefore the device response may also be a linear interpolation between its
605 8 bit output values, adding no effective extra precision to the device
606 measurement. <br>
607 <br>
608 <a name="Q"></a><span style="font-weight: bold;">-Q:</span> Normally the
609 target device values are floating point numbers that may get rounded and
610 quantized in the process of printing them or reproducing them on the
611 printing or display device. If some of this quantization can be accounted
612 for, it may improve the accuracy of the resulting profile, and the <span style="font-weight: bold;">Q</span>
613 parameter allows this quantization to be specified. The parameter is the
614 number of binary digits (bits) that the device values should be quantized
615 to. In many systems the right value would be 8 bits. Note that if 8 bit TIFF<span
616 style="font-weight: bold;"></span> output is selected (<span style="font-weight: bold;">-t</span>)
617 without dithering (no <span style="font-weight: bold;">-D) </span>then the
618 values will by default be quantized to 8 bits, and that if 16 bit TIFF<span
619 style="font-weight: bold;"></span> output is selected (<span style="font-weight: bold;">-T</span>)
620 or 8 bit TIFF with dithering (<span style="font-weight: bold;">-D)</span>,
621 then the values will by default be quantized to 16 bits.<br>
622 <br>
623 <a name="K"></a> The <b>-K file.cal</b> parameter specifies a printer
624 calibration file created by <a href="printcal.html">printcal</a>, and the
625 supplied calibration curves will be applied to the test patch values. This
626 allows profiling of a printing system that doesn't natively support
627 calibration. The calibration curves will also be included in the resulting
628 .ti2 file, so that they can be passed through to .ti3 file and ICC profile,
629 to allow accurate computation of ink limits.<br>
630 <br>
631 <a name="I"></a> The <b>-I file.cal</b> parameter specifies a printer
632 calibration file created by <a href="printcal.html">printcal</a>, and the
633 calibration curves will be included in the included in the resulting .ti2
634 file, so that they can be passed through to .ti3 file and ICC profile, to
635 allow accurate computation of ink limits. The calibration <span style="font-weight: bold;">is
636 not applied</span> to the test patch values, but is assumed to be applied
637 somewhere else in the printing workflow when printing the profile test
638 chart.<br>
639 <br>
640
641
642 <a name="R"></a> The <b>-R</b> parameter allows setting the random layout
643 seed. Normally the seed is chosen at random, but sometimes it is useful to
644 be able to generate a chart with the same layout, so a specific seed can be
645 specified this way. The seed (ID) used to generate a chart is recorded in
646 the .ti2 file, and is also in the label printed on the right hand side of
647 each chart.<br>
648 <br>
649 <a name="x"></a> The <b>-x</b> parameter allows specifying the labeling
650 sequence used for strips (e.g. the X axis of the chart). By default this
651 will be a character sequence A, B, C .. Z. AA, AB, AC .. ZZ, but this can be
652 changed by specifying an alternate labeling sequence pattern. The pattern
653 specifies the labeling sequence as follows: First comes the definition of
654 the symbols for each digit location, least significant to most significant,
655 each digit separated by the ',' character. Note that space is a valid
656 character. The number of definitions declares the maximum number of digits.
657 For example, for a 2 digit numerical sequence: "0123456789, 123456789" would
658 define 0..99 with the most significant digit suppressed when it is 0
659 (because it uses a space rather than 0). Ranges can be used for brevity:
660 "0-9, 1-9". As a special case, the '@' character can be used to instead of
661 '0' to indicate suppression of the leading zero: "0-9,@-9". Leading ' '
662 characters in the resulting generated sequence are omitted. Optionally
663 following this and delimited by a ';' character, are the definitions of
664 valid segments of the index sequence. For instance, to define the index
665 range to be 1..19, 30..39 one could use the pattern "0-9, 1-9;1-19,30-39".
666 Of course most of the time an alphabetic sequence will be wanted, to
667 distinguish it from the numerical sequence used to number the patches in a
668 strip. For a sequence A, B, C .. AA, AB, AC etc. (the default used in
669 Argyll), the following patter would be used: "A-Z, A-Z". For a some ECI2002R
670 charts that skip columns Y and Z, and use a leading numeric digits for
671 addressing strips over 26, the following might be used: "A-Z,
672 2-9;A-X,2A-9Z".<br>
673 <br>
674 <a name="y"></a> The <b>-y</b> parameter allows specifying the labeling
675 sequence used for patches (e.g. the Y axis of the chart). By default this
676 will be a number sequence 1, 2, ..10, 11, ... 999, but this can be changed
677 by specifying an alternate labeling sequence pattern. See the above
678 description for the labeling sequence encoding.<br>
679 <br>
680 <span style="font-weight: bold;">NOTE</span> that the pattern chosen for the
681 X and Y axes of the chart must be distinguishable, e.g. if they are both
682 numbers or both letters then reading the chart will fail.<br>
683 <br>
684 <a name="w"></a> The <b>-w</b> parameter changes how a white colorspace
685 test chart (ie. Additive Grey monochrome) will be represented in the
686 Postscript or TIFF output. The default is to use the DeviceGray
687 representation (<span style="font-weight: bold;">-wg</span>), but Device RGB
688 can also be used, where the R, G &amp;B values are all set to the same value
689 (<span style="font-weight: bold;">-wr</span>), a <span style="font-weight: bold;">White</span>
690 separation color can be specified (<span style="font-weight: bold;">-ws</span>),
691 or a DeviceN <span style="font-weight: bold;">White</span> color can be
692 used (<span style="font-weight: bold;">-wn</span>).<br>
693 <br>
694 <a name="k"></a> The <b>-k</b> parameter changes how a black colorspace
695 test chart (ie. Subtractive Grey monochrome ) will be represented in the
696 Postscript or TIFF output. The default is to use the DeviceGray
697 representation (<span style="font-weight: bold;">-kg</span>), but Device
698 CMYK can also be used, where the CMY values are zero, and just the K channel
699 is used (<span style="font-weight: bold;">-kc</span>), a <span style="font-weight: bold;">Black</span>
700 separation color can be specified (<span style="font-weight: bold;">-ks</span>),
701 or a DeviceN <span style="font-weight: bold;">Black</span> color can be
702 used (<span style="font-weight: bold;">-kn</span>).<br>
703 <br>
704 <a name="o"></a> The <b>-o</b> parameter changes how a CMY colorspace test
705 chart will be represented in the Postscript or TIFF output. The default is
706 to use the DeviceCMYK representation (<span style="font-weight: bold;">-ok</span>)
707 where the K value is always zero, or inverted Device RGB (<span style="font-weight: bold;">-or</span>),
708
709
710
711
712
713
714
715
716
717 or as a 3 channel DeviceN colorsoace can be used (<span style="font-weight: bold;">-on</span>).<br>
718 <br>
719 <a name="m"></a> The <b>-m</b> parameter sets the page margin for all
720 sides. If the printer has print margins larger than the default assumed by <span
721 style="font-weight: bold;">printtarg,</span> then critical parts of the
722 test chart may be cropped or scaled, and not printed properly.<span style="font-weight: bold;"></span>
723 Increasing the margin from the default of 6 mm to 10 or 15 mm, may alleviate
724 this problem. (Note that the number of patches per page may be reduced as a
725 consequence.) Decreasing the margin below 6 mm may be possible for printers
726 that have smaller or no margins, increasing the number of patches possible
727 on each page. A TIFF chart raster will be the size of the paper minus the
728 margin, so that it can be placed on a page that size without cropping or
729 inadvertent scaling.<br>
730 <br>
731 <a name="M"></a> The <b>-M</b> parameter sets the page margin for all sides
732 the same as <span style="font-weight: bold;"><span style="font-weight: bold;">-m</span></span>,
733 but for a TIFF chart the margin will be <span style="font-weight: bold;">included</span>
734 in the raster, meaning that the TIFF will have to be printed right to the
735 edge of the paper, or on paper larger than the raster size. (Having the
736 raster be the full page size may be useful in certain situations.)<br>
737 &nbsp; <br>
738 <a name="P"></a> The <b>-P</b> flag disables any normal limiting of strip
739 length that would normally be imposed due to guide or instrument
740 limitations. There is still an upper limit of around 500 patches or 2 Meters
741 though. Note that if you generate a strip larger than the instrument can
742 cope with, it may be unable to read the strip.<br>
743 <br>
744 <a name="L"></a> The <b>-L</b> flag suppresses the left margin that is
745 added for instruments that have a paper holder that has a clip to hold the
746 chart in place, while it is being read. (Currently this is only the Eye-One
747 Pro).<br>
748 <br>
749 <a name="U"></a> The <b>-U</b> flag suppresses the CUPS %cupsJobTicket:
750 cups-disable-cmm in PS and EPS files. By default this ensures that the
751 resulting files doesn't have color management applied to it. If you are
752 creating a test chart that should be color managed (perhaps because you want
753 to use it to verify the overall operation of the printing system), then you
754 can use the <b>-U</b> flag to disable this.<br>
755 <br>
756 <a name="p"></a> The <b>-p</b> parameter specifies the paper size. The size
757 can either be one of the default sizes, <a name="pp"></a>or can be
758 specified in millimeters. Limitations of the instrument may limit the
759 maximum number of patches in a strip. For SpectroScan, a size of &nbsp;A4 or
760 Letter (or smaller) should be used. Useful combinations of number of patches
761 and paper size are listed <a href="targen.html#Table">here</a>. The printed
762 parts of the chart will be the size of paper minus the page margin. A TIFF
763 chart will be the size of the paper minus the margin, so that it can be
764 placed on a page that size without cropping or inadvertent scaling, but also
765 see the <span style="font-weight: bold;">-M</span> flag.<br>
766 <br>
767 <a name="p1"></a><i>basename</i> is the base file name of the&nbsp;<a href="File_Formats.html#.ti1">.ti1</a>
768 file that contains the device values to be put on the test chart. <b>printtarg</b>
769 will output a <i>basename.ps</i> or one or more <i>basename_NN.eps</i> or
770 <i>basename_NN.tif </i>files files that should be printed on the devices,
771 as well as a <i>basename.ti2</i> file that contains both the device test
772 point values, and the location of the corresponding patch on the test chart.
773 If the <b>-s</b> or <b>-S</b> flag was specified, then&nbsp; one or more <i>basename_NN.cht</i>
774 files will also be generated.<br>
775 <br>
776 <a href="http://www.ghostgum.com.au/">GSview</a> or <a href="http://www.cs.wisc.edu/%7Eghost/gv/index.htm">GhostView</a>
777 are good programs to use to check what the PostScript or EPS file will look
778 like, without actually printing it out. Alternatively, use the TIFF raster
779 output for non-PostScript printers.<br>
780 <br>
781 <br>
782 <br>
783 <br>
784 <br>
785 <br>
786 </body>
787 </html>