summaryrefslogtreecommitdiff
path: root/doc/Psfiles.htm
blob: a916bb1cba5b54ecf6b31cfd8f624bebb3a9eb93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
<!doctype html>
<html lang="en">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta name="viewport" content="user-scalable=yes, initial-scale=1, width=device-width">
    <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,200i,300,300i,400,400i,600,600i,700,700i,900,900i" rel="stylesheet">
    <link rel="shortcut icon" href="images/favicon.svg">
    <title>PostScript Files Distributed with Ghostscript</title>
    <link href="default.css" rel="stylesheet" type="text/css">
</head>

<body>
    <header><div class="title"><a href="index.html"><h1 aria-label="title">Ghostscript documentation</h1><h2 aria-label="version"></h2></a></div><a href="Search.htm" aria-label="Search" id="searchSite"><div class="search"></div></a></header>
    <main>
        <article>
            <div class="outer">
                <div class="inner">
<!--START EDITING HERE-->

<h1>PostScript Files Distributed with Ghostscript</h1>

<h2><a name="toc"></a>Table of contents</h2>
<ul class="toc">
    <li><a href="#General">Generally used system files</a></li>
    <li><a href="#Obscure">More obscure system files</a></li>
    <li><a href="#Config">Configuration files</a></li>
    <li><a href="#PDF_specific">PDF-specific system files</a></li>
    <li><a href="#DPS_specific">Display PostScript-specific system files</a></li>
    <li><a href="#Art">Art and examples</a></li>
    <li><a href="#Utilities">Utilities</a></li>
    <li><a href="#Development_tools">Development tools</a></li>
    <li><a href="#Miscellany">Odds and ends</a></li>
</ul>

<!-- [1.2 end table of contents] =========================================== -->

<!-- [1.3 begin hint] ====================================================== -->

<p>For other information, see the <a href="Readme.htm">Ghostscript
overview</a>.</p>

<!-- [1.3 end hint] ======================================================== -->

<hr>

<!-- [1.0 end visible header] ============================================== -->

<!-- [2.0 begin contents] ================================================== -->

<h2><a name="General"></a>Generally used system files</h2>

<dl>
<dt><code>gs_*_e.ps</code></dt>
<dd>
These files define the Encodings known to Ghostscript.  All of
them except <code>gs_std_e.ps</code> and <code>gs_il1_e.ps</code>
are loaded only if referred to. However some are additionally built into gscencs.c.</dd>


<dt>
PostScript Encodings:</dt>
<dd>
These files are found in the <code>lib</code> subdirectory of
the Ghostscript source distribution.</dd>

<dd>
<a href="../lib/gs_ce_e.ps"><code>gs_ce_e.ps</code></a>
</dd>

<dd>These files are found in the <code>Resource/Init</code> subdirectory of
the Ghostscript source distribution.</dd>

<dd>
<a href="../Resource/Init/gs_il1_e.ps"><code>gs_il1_e.ps</code></a>,
<a href="../Resource/Init/gs_std_e.ps"><code>gs_std_e.ps</code></a>,
<a href="../Resource/Init/gs_sym_e.ps"><code>gs_sym_e.ps</code></a>.
</dd>

<dt>
PDF Encodings:</dt>
<dd>
These files are found in the <code>Resource/Init</code> subdirectory of
the Ghostscript source distribution.</dd>

<dd>
<a href="../Resource/Init/gs_mex_e.ps"><code>gs_mex_e.ps</code></a>,
<a href="../Resource/Init/gs_mro_e.ps"><code>gs_mro_e.ps</code></a>,
<a href="../Resource/Init/gs_pdf_e.ps"><code>gs_pdf_e.ps</code></a>,
<a href="../Resource/Init/gs_wan_e.ps"><code>gs_wan_e.ps</code></a>.
</dd>

<dt>
Non-standard Encodings:</dt>
<dd>
These files are found in the <code>Resource/Init</code> subdirectory of
the Ghostscript source distribution.</dd>

<dd>
<a href="../Resource/Init/gs_dbt_e.ps"><code>gs_dbt_e.ps</code></a>,
</dd>

<dd>
These files are found in the <code>lib</code> subdirectory of
the Ghostscript source distribution.</dd>

<dd>
<a href="../lib/gs_il2_e.ps"><code>gs_il2_e.ps</code></a>,
<a href="../lib/gs_ksb_e.ps"><code>gs_ksb_e.ps</code></a>,
<a href="../lib/gs_lgo_e.ps"><code>gs_lgo_e.ps</code></a>,
<a href="../lib/gs_lgx_e.ps"><code>gs_lgx_e.ps</code></a>,
<a href="../lib/gs_wl1_e.ps"><code>gs_wl1_e.ps</code></a>,
<a href="../lib/gs_wl2_e.ps"><code>gs_wl2_e.ps</code></a>,
<a href="../lib/gs_wl5_e.ps"><code>gs_wl5_e.ps</code></a>.
</dd>

<dt>
Pseudo-encodings:</dt>
<dd>
These files are found in the <code>Resource/Init</code> subdirectory of
the Ghostscript source distribution.</dd>
<dd>
<a href="../Resource/Init/gs_mgl_e.ps"><code>gs_mgl_e.ps</code></a>.
</dd>

<dd>
These files are found in the <code>lib</code> subdirectory of
the Ghostscript source distribution.</dd>
<dd>
<a href="../lib/gs_lgo_e.ps"><code>gs_lgo_e.ps</code></a>,
<a href="../lib/gs_lgx_e.ps"><code>gs_lgx_e.ps</code></a>,
</dd>

</dl>


<p>These files are found in the <code>Resource/Init</code> subdirectory of
the Ghostscript source distribution.</p>

<dl>
<dt><a href="../Resource/Init/gs_btokn.ps"><code>gs_btokn.ps</code></a></dt>
<dd><code>gs_init.ps</code> reads this in if the <code>btoken</code>
feature is included in the configuration.  It provides support for binary
tokens.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_cff.ps"><code>gs_cff.ps</code></a></dt>
<dd>Load CFF (compressed) fonts.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_fntem.ps"><code>gs_fntem.ps</code></a></dt>
<dd>Code for emulating PostScript fonts with non-PostScript font technologies.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_cidtt.ps"><code>gs_cidtt.ps</code></a></dt>
<dd>Code for emulating CID fonts with TrueType fonts.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_cidcm.ps"><code>gs_cidcm.ps</code></a></dt>
<dd>Code for recognizing font names of the form CIDFont-CMap (or
CIDFont--CMap) and creating the font automatically.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_ciddc.ps"><code>gs_ciddc.ps</code></a></dt>
<dd>Defines Decoding and CIDDecoding resource categories and related procsets.
Used for for emulating PostScript fonts with non-PostScript font technologies.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_cidfm.ps"><code>gs_cidfm.ps</code></a></dt>
<dd>Provides resource mapping for CIDFont category.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_cidfn.ps"><code>gs_cidfn.ps</code></a></dt>
<dd><code>ProcSet</code> for implementing <code>CIDFont</code> and
<code>CIDMap</code> resources.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_cmap.ps"><code>gs_cmap.ps</code></a></dt>
<dd><code>ProcSet</code> for implementing <code>CMap</code> resources.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_cspace.ps"><code>gs_cspace.ps</code></a></dt>
<dd> PostScript portion of the basic color space handling;
see the extensive comment at the head of the file
for information.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_dscp.ps"><code>gs_dscp.ps</code></a></dt>
<dd>Code to compensate for badly written PostScript files by setting
Orientation according to the DSC comments.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_epsf.ps"><code>gs_epsf.ps</code></a></dt>
<dd>Allow the interpreter to recognize DOS EPSF file headers, and skip to the
PostScript section of the file.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_fapi.ps"><code>gs_fapi.ps</code></a></dt>
<dd>Font API support.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_fonts.ps"><code>gs_fonts.ps</code></a></dt>
<dd><code>gs_init.ps</code> reads this in.  It initializes Ghostscript's
font machinery and provides some utility procedures that work with fonts.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_frsd.ps"><code>gs_frsd.ps</code></a></dt>
<dd>Support for the PostScript LanguageLevel 3
<code>ReusableStreamDecode</code> filter.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_img.ps"><code>gs_img.ps</code></a></dt>
<dd>Implementation of the traditional (non-dictionary)
form of the image and imagemask operators, and the
colorimage operator (including the Next alphaimage
facility).</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_init.ps"><code>gs_init.ps</code></a></dt>
<dd>Ghostscript reads this automatically when it starts up.  It contains
definitions of many standard procedures and initialization for a wide
variety of things.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_lev2.ps"><code>gs_lev2.ps</code></a></dt>
<dd><code>gs_init.ps</code> reads this in if the Ghostscript interpreter
includes Level 2 PostScript functions.  It contains definitions of
procedures and miscellaneous initialization for the Level 2 functions.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_ll3.ps"><code>gs_ll3.ps</code></a></dt>
<dd>Initialize PostScript LanguageLevel 3 functions.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_resmp.ps"><code>gs_resmp.ps</code></a></dt>
<dd>A procset for redefining resource categories with a resource map.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_res.ps"><code>gs_res.ps</code></a></dt>
<dd><code>gs_init.ps</code> reads this in if the Level 2 resource
machinery is included.  Currently, this is the case for all Level 2
configurations.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_setpd.ps"><code>gs_setpd.ps</code></a></dt>
<dd>Implementation of the <code>setpagedevice</code> operator.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_statd.ps"><code>gs_statd.ps</code></a></dt>
<dd><code>gs_init.ps</code> reads this in.  It creates a dummy
<code>statusdict</code> and some other environmental odds and ends for
the benefit of PostScript files that really want to be printed on a
LaserWriter.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_trap.ps"><code>gs_trap.ps</code></a></dt>
<dd>Stub support for the PostScript LanguageLevel 3 "In-RIP trapping"
feature.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_ttf.ps"><code>gs_ttf.ps</code></a></dt>
<dd>Support code for direct use of TrueType fonts.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_typ32.ps"><code>gs_typ32.ps</code></a></dt>
<dd>Initialization file for Type 32 fonts.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_typ42.ps"><code>gs_typ42.ps</code></a></dt>
<dd>Support code for Type 42 fonts (TrueType font in a PostScript "wrapper").</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_type1.ps"><code>gs_type1.ps</code></a></dt>
<dd><code>gs_init.ps</code> reads this in if the Ghostscript interpreter
includes Type 1 font capability (which it normally does).</dd>
</dl>

<hr>

<h2><a name="Config"></a>Configuration files</h2>

<p>
These files are found in the <code>Resource/Init</code> subdirectory of
the Ghostscript source distribution. Users are allowed to modify them
to configure Ghostscript.</p>

<dl>
<dt><a href="../Resource/Init/Fontmap"><code>Fontmap</code></a></dt>
<dd>Font mapping table.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/cidfmap"><code>cidfmap</code></a></dt>
<dd>CID font mapping table. Allows substitution of a CID font for another CID font or
a TrueType font for a CID font.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/FAPIconfig"><code>FAPIconfig</code></a></dt>
<dd>A configuration file for Font API client.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/FAPIfontmap"><code>FAPIfontmap</code></a></dt>
<dd>Font mapping table for Font-API-handled fonts.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/FAPIcidfmap"><code>FAPIcidfmap</code></a></dt>
<dd>Font mapping table for Font-API-handled CID fonts.</dd>
</dl>

<hr>

<h2><a name="Obscure"></a>More obscure system files</h2>

<p>
Unless otherwise stated, these files are found in the <code>Resource/Init</code> subdirectory of
the Ghostscript source distribution.</p>

<dl>
<dt><a href="../Resource/Init/gs_agl.ps"><code>gs_agl.ps</code></a></dt>
<dd>Contains the mapping from Adobe glyph names to Unicode values, used to
support TrueType fonts and disk-based Type 1 fonts.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_cet.ps"><code>gs_cet.ps</code></a></dt>
<dd>Sets a number of alternate defaults to make Ghostscript
behave more like Adobe CPSI. Useful for running the CET conformance
test suite.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_diskn.ps"><code>gs_diskn.ps</code></a></dt>
<dd>This file implements the <code>%disk</code> IODevice
(<code>diskn.dev</code> feature).  See the the language documentation
for information on the use of the %disk# devices. These PostScript
modifications primarily perform the searching of all Searchable file
systems in a defined SearchOrder when a file reference does not contain
an explicit %device% specifier (such as <code>%os%</code> or
<code>%disk0</code>%). This is required to emulate undocumented
behaviour of Adobe PostScript printers that have a disk and was
experimentally determined.</dd>
</dl>

<dl>
<dt><a href="../lib/gs_kanji.ps"><code>gs_kanji.ps</code></a></dt>
<dd>This file provides support for the Wadalab free Kanji font.  It is not
included automatically in any configuration. This file is stored in the <code>lib</code> subdirectory.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_pdfwr.ps"><code>gs_pdfwr.ps</code></a></dt>
<dd>This file contains some patches for providing information to the
<code>pdfwrite</code> driver.  It is included only if the
<code>pdfwrite</code> driver is included.</dd>
</dl>

<dl>
<dt><a href="../lib/ht_ccsto.ps"><code>ht_ccsto.ps</code></a></dt>
<dd>A default stochastic CMYK halftone.  This file is in the public domain.  This file is stored in the <code>lib</code> subdirectory.</dd>
</dl>

<dl>
<dt><a href="../lib/stcolor.ps"><code>stcolor.ps</code></a></dt>
<dd>Configure the (Epson) <code>stcolor</code> driver. This file is stored in the <code>lib</code> subdirectory.</dd>
</dl>

<hr>

<h2><a name="PDF_specific"></a>PDF-specific system files</h2>

<p>
These files are found in the <code>Resource/Init</code> subdirectory of
the Ghostscript source distribution.</p>

<dl>
<dt><a href="../Resource/Init/pdf_base.ps"><code>pdf_base.ps</code></a></dt>
<dd>Utilities for interpreting PDF objects and streams.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/pdf_draw.ps"><code>pdf_draw.ps</code></a></dt>
<dd>The interpreter for drawing-related PDF operations.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/pdf_font.ps"><code>pdf_font.ps</code></a></dt>
<dd>Code for handling fonts in PDF files.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/pdf_main.ps"><code>pdf_main.ps</code></a></dt>
<dd>Document- and page-level control for interpreting PDF files.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/pdf_ops.ps"><code>pdf_ops.ps</code></a></dt>
<dd>Definitions for most of the PDF operators.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/pdf_rbld.ps"><code>pdf_rbld.ps</code></a></dt>
<dd>Contains procedures for bebuilding damaged PDF files.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/pdf_sec.ps"><code>pdf_sec.ps</code></a></dt>
<dd>PDF security (encryption) code.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_icc.ps"><code>gs_icc.ps</code></a></dt> <dd>Support for
ICC color profiles. These are not a standard PostScript feature, but
are used in the PDF interpreter, as ICC profiles may be embedded in
PDF files.</dd>
</dl>

<p>
These files are found in the <code>lib</code> subdirectory of
the Ghostscript source distribution. These files are templates and should not be used
without modification.</p>

<dl>
<dt><a href="../lib/PDFX_def.ps"><code>PDFX_def.ps</code></a></dt>
<dd>This is a sample prefix file for creating a PDF/X-3 document
with the <code>pdfwrite</code> device.</dd>
</dl>

<dl>
<dt><a href="../lib/PDFA_def.ps"><code>PDFA_def.ps</code></a></dt>
<dd>This is a sample prefix file for creating a PDF/A document
with the <code>pdfwrite</code> device.</dd>
</dl>

<hr>

<h2><a name="DPS_specific"></a>Display PostScript-specific system files</h2>

<p>
These files are found in the <code>Resource/Init</code> subdirectory of
the Ghostscript source distribution.</p>

<dl>
<dt><a href="../Resource/Init/gs_dpnxt.ps"><code>gs_dpnxt.ps</code></a></dt>
<dd>NeXT Display PostScript extensions.</dd>
</dl>

<dl>
<dt><a href="../Resource/Init/gs_dps.ps"><code>gs_dps.ps</code></a>,
<a href="../Resource/Init/gs_dps1.ps"><code>gs_dps1.ps</code></a>,
<a href="../Resource/Init/gs_dps2.ps"><code>gs_dps2.ps</code></a></dt>
<dd><code>gs_init.ps</code> reads these in if the <code>dps</code>
feature is included in the configuration.  They provide support for various
Display PostScript and Level 2 features.</dd>
</dl>

<hr>

<h2><a name="Art"></a>Art and examples</h2>

<p>
These files are found in the <code>examples</code> subdirectory of
the Ghostscript source distribution.</p>

<dl>
<dt><a href="../examples/alphabet.ps"><code>alphabet.ps</code></a></dt>
<dd>Prints a sample alphabet at several different sizes.</dd>
</dl>

<dl>
<dt><a href="../examples/annots.pdf"><code>annots.pdf</code></a></dt>
<dd>A sample file with a wide variety of PDF "annotations".</dd>
</dl>

<dl>
<dt><a href="../examples/colorcir.ps"><code>colorcir.ps</code></a></dt>
<dd>A set of nested ellipses made up of colored bars.</dd>
</dl>

<dl>
<dt><a href="../examples/doretree.ps"><code>doretree.ps</code></a></dt>
<dd>A 3-D image produced by a modeling program.  This file is in the public
domain.</dd>
</dl>

<dl>
<dt><a href="../examples/escher.ps"><code>escher.ps</code></a></dt>
<dd>A colored version of a hexagonally symmetric Escher drawing of
interlocking butterflies.  Can be printed on monochrome devices, with
somewhat less dramatic results.</dd>
</dl>

<dl>
<dt><a href="../examples/golfer.eps"><code>golfer.eps</code></a></dt>
<dd>A gray-scale picture of a stylishly dressed woman swinging a golf club.</dd>
</dl>

<dl>
<dt><a href="../examples/grayalph.ps"><code>grayalph.ps</code></a></dt>
<dd>Grayscaled text test pattern.</dd>
</dl>

<dl>
<dt><a href="../examples/ridt91.eps"><code>ridt91.eps</code></a></dt>
<dd>The RIDT '91 logo.  Note that since this is an EPS file, you will have
to add "<code>-c&nbsp;showpage</code>" at the end of the command line to
print it or convert it to a raster file.</dd>
</dl>

<dl>
<dt><a href="../examples/snowflak.ps"><code>snowflak.ps</code></a></dt>
<dd>A rectangular grid of intricate colored snowflakes.  (May render very
slowly.)</dd>
</dl>

<dl>
<dt><a href="../examples/text_graph_image_cmyk_rgb.pdf"><code>text_graph_image_cmyk_rgb.pdf</code></a></dt>
<dd>A simple PDF containing text and graphics in both RGB and CMYK spaces.</dd>
</dl>

<dl>
<dt><a href="../examples/text_graphic_image.pdf"><code>text_graphic_image.pdf</code></a></dt>
<dd>A simple PDF containing text and graphics in RGB space.</dd>
</dl>

<dl>
<dt><a href="../examples/tiger.eps"><code>tiger.eps</code></a></dt>
<dd>A dramatic colored picture of a tiger's head.</dd>
</dl>

<dl>
<dt><a href="../examples/transparency_example.ps"><code>transparency_example.ps</code></a></dt>
<dd>A simple example of transparency.</dd>
</dl>

<dl>
<dt><a href="../examples/vasarely.ps"><code>vasarely.ps</code></a></dt>
<dd>Colored rectangles and ellipses inspired by Victor Vasarely's experiments
with tilting circles and squares.</dd>
</dl>

<dl>
<dt><a href="../examples/waterfal.ps"><code>waterfal.ps</code></a></dt>
<dd>Prints text in a variety of different sizes, to help evaluate the
quality of text rendering.</dd>
</dl>

<hr>

<h2><a name="Utilities"></a>Utilities</h2>

<p>
For more information on these utility programs, see the comments at the
start of each file .  The ones marked (*) have batch files or shell
scripts of the same name (like <code>bdftops</code> and
<code>bdftops.bat</code>) to invoke them conveniently.</p>

<p>
These files are found in the <code>lib</code> subdirectory of
the Ghostscript source distribution.</p>

<dl>
<dt><a href="../lib/align.ps"><code>align.ps</code></a></dt>
<dd>A test page for determining the proper margin and offset parameters for
your printer.</dd>
</dl>

<dl>
<dt><a href="../lib/caption.ps"><code>caption.ps</code></a></dt>
<dd>A file for putting a caption in a box at the bottom of each page,
useful for trade show demos.</dd>
</dl>

<dl>
<dt><a href="../lib/cat.ps"><code>cat.ps</code></a></dt>
<dd>Appends one file to another. Primarily used to overcome the
'copy' limitation of Windows command shell for ps2epsi</dd>
</dl>

<dl>
<dt><a href="../lib/cid2code.ps"><code>cid2code.ps</code></a></dt>
<dd>A utility for creating maps from CIDs to Unicode, useful when
substituting a TrueType font for an Adobe font.</dd>
</dl>

<dl>
<dt><a href="../lib/docie.ps"><code>docie.ps</code></a></dt>
<dd>An emulation of the CIE color mapping algorithms.</dd>
</dl>

<dl>
<dt><a href="../lib/font2pcl.ps"><code>font2pcl.ps</code></a></dt>
<dd>A utility to write a font as a PCL bitmap font.</dd>
</dl>

<dl>
<dt><a href="../lib/gslp.ps"><code>gslp.ps</code></a> *</dt>
<dd>A utility for doing "line printing" of plain text files.</dd>
</dl>

<dl>
<dt><a href="../lib/gsnup.ps"><code>gsnup.ps</code></a></dt>
<dd>A file that you can concatenate in front of (very well-behaved)
PostScript files to do N-up printing.  It is deliberately simple and naive:
for more generality, use <code>psnup</code> (which, however, requires DSC
comments).</dd>
</dl>

<dl>
<dt><a href="../lib/jispaper.ps"><code>jispaper.ps</code></a></dt>
<dd>A file that makes the <code>b0</code> through <code>b6</code>
procedures refer to JIS B paper sizes rather than ISO B.</dd>
</dl>


<dl>
<dt><a href="../lib/landscap.ps"><code>landscap.ps</code></a></dt>
<dd>A file that you can put in front of your own files to get them rendered
in landscape mode.</dd>
</dl>

<dl>
<dt><a href="../lib/mkcidfm.ps"><code>mkcidfm.ps</code></a></dt>
<dd>A utility for creating a CID font mapping table <code>cidfmap</code>
from fonts found in a specified directory.</dd>
</dl>

<dl>
<dt><a href="../lib/pdf2dsc.ps"><code>pdf2dsc.ps</code></a></dt>
<dd>A utility to read a PDF file and produce a DSC "index" file.</dd>
</dl>

<dl>
<dt><a href="../lib/pf2afm.ps"><code>pf2afm.ps</code></a> *</dt>
<dd>A utility for producing AFM files from PFA, PFB, and optionally PFM
files.</dd>
</dl>

<dl>
<dt><a href="../lib/pfbtopfa.ps"><code>pfbtopfa.ps</code></a> *</dt>
<dd>A utility to convert PFB (binary) font files to PFA (text) format.</dd>
</dl>

<dl>
<dt><a href="../lib/prfont.ps"><code>prfont.ps</code></a></dt>
<dd>A utility to print a font catalog.</dd>
</dl>

<dl>
<dt><a href="../lib/printafm.ps"><code>printafm.ps</code></a></dt>
<dd>A utility to print an AFM file on standard output.</dd>
</dl>

<dl>
<dt><a href="../lib/ps2ai.ps"><code>ps2ai.ps</code></a></dt>
<dd>A utility for converting an arbitrary PostScript file into a form
compatible with Adobe Illustrator.  NOTE: <code>ps2ai</code> doesn't
work properly with Adobe's Helvetica-Oblique font, and other fonts whose
original <code>FontMatrix</code> involves skewing or rotation.</dd>
</dl>

<dl>
<dt><a href="../lib/ps2epsi.ps"><code>ps2epsi.ps</code></a> *</dt>
<dd>A utility for converting an arbitrary PostScript file into EPSI form.</dd>
</dl>

<dl>
<dt><a href="../lib/rollconv.ps"><code>rollconv.ps</code></a></dt>
<dd>A utility for converting files produced by Macromedia's
<code>Rollup</code> program to a Type 0 form directly usable by
Ghostscript.</dd>
</dl>

<dl>
<dt><a href="../lib/stocht.ps"><code>stocht.ps</code></a></dt>
<dd>A file that installs the StochasticDefault halftone as the default,
which may improve output quality on inkjet printers.  See the file for more
information.</dd>
</dl>

<dl>
<dt><a href="../lib/viewcmyk.ps"><code>viewcmyk.ps</code></a></dt>
<dd>A utility for displaying CMYK files.</dd>
</dl>

<dl>
<dt><a href="../lib/viewgif.ps"><code>viewgif.ps</code></a></dt>
<dd>A utility for displaying GIF files.</dd>
</dl>

<dl>
<dt><a href="../lib/viewjpeg.ps"><code>viewjpeg.ps</code></a></dt>
<dd>A utility for displaying JPEG files.</dd>
</dl>

<dl>
<dt><a href="../lib/viewmiff.ps"><code>viewmiff.ps</code></a></dt>
<dd>A utility for displaying MIFF files.</dd>
</dl>

<dl>
<dt><a href="../lib/viewpbm.ps"><code>viewpbm.ps</code></a></dt>
<dd>A utility for displaying PBM/PGM/PPM files.</dd>
</dl>

<dl>
<dt><a href="../lib/viewpcx.ps"><code>viewpcx.ps</code></a></dt>
<dd>A utility for displaying PCX files.</dd>
</dl>

<dl>
<dt><a href="../lib/viewrgb.ps"><code>viewrgb.ps</code></a></dt>
<dd>A utility for displaying files created by -sDEVICE=bitrgb.</dd>
</dl>

<dl>
<dt><a href="../lib/viewraw.ps"><code>viewraw.ps</code></a></dt>
<dd>An extended utility for displaying files created by -sDEVICE=bitrgb.</dd>
</dl>

<hr>

<h2><a name="Development_tools"></a>Development tools</h2>

<p>
These files are found in the <code>lib</code> subdirectory of
the Ghostscript source distribution.</p>

<dl>
<dt><a href="../lib/acctest.ps"><code>acctest.ps</code></a></dt>
<dd>A utility that checks whether the interpreter enforces access
restrictions.</dd>
</dl>

<dl>
<dt><a href="../lib/image-qa.ps"><code>image-qa.ps</code></a></dt>
<dd>A comprehensive test of the image display operators.</dd>
</dl>

<dl>
<dt><a href="../lib/ppath.ps"><code>ppath.ps</code></a></dt>
<dd>A couple of utilities for printing out the current path, for debugging.</dd>
</dl>

<dl>
<dt><a href="../lib/pphs.ps"><code>pphs.ps</code></a></dt>
<dd>A utility to print the Primary Hint Stream of a linearized PDF file.</dd>
</dl>

<dl>
<dt><a href="../lib/traceimg.ps"><code>traceimg.ps</code></a></dt>
<dd>Trace the data supplied to the <code>image</code> operator.</dd>
</dl>

<dl>
<dt><a href="../lib/traceop.ps"><code>traceop.ps</code></a></dt>
<dd>A utility for tracing uses of any procedure or operator for debugging.</dd>
</dl>

<dl>
<dt><a href="../lib/uninfo.ps"><code>uninfo.ps</code></a></dt>
<dd>Some utilities for printing out PostScript data structures.</dd>
</dl>

<dl>
<dt><a href="../lib/viewps2a.ps"><code>viewps2a.ps</code></a></dt>
<dd>A utility for displaying the output of <code>ps2ascii.ps</code>.</dd>
</dl>

<dl>
<dt><a href="../lib/winmaps.ps"><code>winmaps.ps</code></a></dt>
<dd>A utility for creating mappings between the Adobe encodings and the
Microsoft Windows character sets.</dd>
</dl>

<dl>
<dt><a href="../lib/zeroline.ps"><code>zeroline.ps</code></a></dt>
<dd>A utility for testing how interpreters handle zero-width lines.</dd>
</dl>

<hr>

<h2><a name="Miscellany"></a>Odds and ends</h2>

<p>
These files are found in the <code>lib</code> subdirectory of
the Ghostscript source distribution.</p>

<dl>
<dt><a href="../lib/jobseparator.ps"><code>jobseparator.ps</code></a></dt>
<dd>Convience file containing a job separator sequence for use
when passing files with -dJOBSERVER.</dd>
</dl>

<dl>
<dt><a href="../lib/lines.ps"><code>lines.ps</code></a></dt>
<dd>A test program for line joins and caps.</dd>
</dl>

<dl>
<dt><a href="../lib/stcinfo.ps"><code>stcinfo.ps</code></a></dt>
<dd>Print and show parameters of the (Epson) <code>stcolor</code> driver.</dd>
</dl>

<!-- [2.0 end contents] ==================================================== -->

<!-- [3.0 begin visible trailer] =========================================== -->
<hr>

<p>
<small>Copyright &copy; 2000-2021 Artifex Software, Inc.  All rights reserved.</small>

<p>
This software is provided AS-IS with no warranty, either express or
implied.

This software is distributed under license and may not be copied, modified
or distributed except as expressly authorized under the terms of that
license.  Refer to licensing information at <a href="https://www.artifex.com">https://www.artifex.com</a>
or contact Artifex Software, Inc.,  1305 Grant Avenue - Suite 200,
Novato, CA 94945, U.S.A., +1(415)492-9861, for further information.

<p>
<small>Ghostscript version 9.55.0, 27 September 2021

<!-- [3.0 end visible trailer] ============================================= -->



<!--FINISH EDITING HERE-->
          </div><!-- close inner -->
        </div><!-- close outer -->
      </article>
    </main>
    <script src="site.js"></script>
</body>
</html>