1GSLP(1) Ghostscript GSLP(1)
2
3
4
6 gslp - Format and print text using ghostscript
7 gsbj - Format and print text for BubbleJet printer using ghostscript
8 gsdj - Format and print text for DeskJet printer using ghostscript
9 gsdj500 - Format and print text for DeskJet 500 BubbleJet using ghost‐
10 script
11 gslj - Format and print text for LaserJet printer using ghostscript
12
14 gslp -12BclqRr -b<header> -f<font> -F<hfont> -L<lines> -p<outfile>
15 -T<n> --add-to-space <units> --add-to-width <units> --columns <n> --de‐
16 tect --first-page <n> --kern <file.afm> --last-page <n> --(head‐
17 ing|footing)-(left|center|right) <string> --margin-(top|bot‐
18 tom|left|right) <inches> --no-eject-(file|formfeed) --spacing <n>
19 [gs options] [files]
20 gsbj [options] [files]
21 gsdj [options] [files]
22 gsdj500 [options] [files]
23 gslj [options] [files]
24
26 This utility provides functionality approximately equivalent to the
27 Unix enscript(1) program. It prints plain text files using a single
28 font. It currently handles tabs and formfeeds, but not backspaces. It
29 will line-wrap when using fixed-pitch fonts. It will also do kerning
30 and width adjustment.
31
32 The default device (-sDEVICE=) and resolution (-r) are as follows:
33 gslp epson 180
34 gsbj bj10e 180
35 gsdj deskjet 300
36 gsdj500 djet500 300
37 gslj laserjet 300
38 By default the current date is formatted as the center header.
39
41 Standard switches implemented:
42 -12BclqRr -b<header> -f<font> -F<hfont> -L<lines> -p<outfile>
43
44 Sun switches implemented:
45 -T<n> set tab width
46
47 Switches ignored:
48 -GghKkmow -# -C -d -J -n -P -S -s -t -v
49
50 Switches added:
51
52 --add-to-space <units>
53 add the given number of 1/72" units to the width of each
54 space (may be negative)
55
56 --add-to-width <units>
57 add the given number of 1/72" units to the width of each
58 character (may be negative)
59
60 --columns <n>
61 print in <n> columns
62
63 --detect
64 treat the file as PostScript if it starts with %!
65
66 --first-page <n>
67 start printing at page <n>
68
69 --kern <file.afm>
70 kern using information from the given .AFM file
71
72 --last-page <n>
73 stop printing after page <n>
74
75 --(heading|footing)-(left|center|right) <string>
76 set the heading/footing fields; use -B first to clear
77
78 --margin-(top|bottom|left|right) <inches>
79 set a margin
80
81 --no-eject-(file|formfeed)
82 end-of-file/FF only starts a new column, not a new sheet
83
84 --spacing <n>
85 use double (n=2), triple (n=3), etc. spacing
86 Also, the string %# in a heading or footing is replaced with the page
87 #.
88
90 gs(1)
91
93 This document was last revised for Ghostscript version 9.55.0.
94
96 Artifex Software, Inc. are the primary maintainers of Ghostscript.
97 This manpage by George Ferguson.
98
99
100
1019.55.0 27 September 2021 GSLP(1)