man > gsdj(1)

🏷️ NAME

gslp - Format and print text using ghostscript
gsbj - Format and print text for BubbleJet printer using ghostscript
gsdj - Format and print text for DeskJet printer using ghostscript
gsdj500 - Format and print text for DeskJet 500 BubbleJet using ghostscript
gslj - Format and print text for LaserJet printer using ghostscript

πŸš€ Quick Reference

Use CaseCommandDescription
Print a text file to default (epson)gslp file.txtOutputs to epson device at 180 dpi
Print to DeskJetgsdj file.txtUses deskjet device at 300 dpi
Print to LaserJetgslj file.txtUses laserjet device at 300 dpi
Double spacinggslp --spacing 2 file.txtAdds blank line between text lines
Two‑column outputgslp --columns 2 file.txtPrints in two columns
Set marginsgslp --margin-top 1in --margin-left 1.5in file.txtDefines top and left margins
Add page‑number headergslp -B --heading-center "Page %#" file.txt%# is replaced by page number
Kerning with AFM filegslp --kern font.afm file.txtAdjusts character spacing
Start at page 5gslp --first-page 5 file.txtSkips pages 1–4
Adjust space widthgslp --add-to-space 2 file.txtAdds 2/72β€³ to each space

πŸ“– SYNOPSIS

gslp -12BclqRr -b<header> -f<font> -F<hfont> -L<lines> -p<outfile> -T<n>
--add-to-space <units> --add-to-width <units> --columns <n> --detect --first-page <n>
--kern <file.afm> --last-page <n> --(heading|footing)-(left|center|right) <string> --margin-(top|bottom|left|right) <inches>
--no-eject-(file|formfeed) --spacing <n> [gs options] [files]
gsbj [options] [files]
gsdj [options] [files]
gsdj500 [options] [files]
gslj [options] [files]

πŸ“ DESCRIPTION

This utility provides functionality approximately equivalent to the Unix enscript(1) program. It prints plain text files using a single font. It currently handles tabs and formfeeds, but not backspaces. It will line-wrap when using fixed-pitch fonts. It will also do kerning and width adjustment.

The default device (-sDEVICE=) and resolution (-r) are as follows:

gslp      epson      180
gsbj      bj10e      180
gsdj      deskjet    300
gsdj500   djet500    300
gslj      laserjet   300

By default the current date is formatted as the center header.

βš™οΈ OPTIONS

Standard switches implemented:
-12BclqRr -b<header> -f<font> -F<hfont> -L<lines> -p<outfile>

Sun switches implemented:
-T<n> β€” set tab width

Switches ignored:
-GghKkmow -# -C -d -J -n -P -S -s -t -v

Switches added:

Also, the string %# in a heading or footing is replaced with the page number.

πŸ”— SEE ALSO

gs(1)

ℹ️ VERSION

This document was last revised for Ghostscript version 9.55.0.

✍️ AUTHOR

Artifex Software, Inc. are the primary maintainers of Ghostscript. This manpage by George Ferguson.

gsdj(1)
🏷️ NAME πŸš€ Quick Reference πŸ“– SYNOPSIS πŸ“ DESCRIPTION βš™οΈ OPTIONS πŸ”— SEE ALSO ℹ️ VERSION ✍️ AUTHOR

Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-21 05:56 @2600:1f28:365:80b0:e9a9:ac35:f5fe:ea62
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format

^_top_^