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