gsdj500 Man page

GSLP(1) Ghostscript GSLP(1)


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 ghost‐
gslj – Format and print text for LaserJet printer using ghostscript


gslp -12BclqRr -b

-f -F -L -p
-T –add-to-space –add-to-width –columns
–detect –first-page –kern –last-page –(head‐
ing|footing)-(left|center|right) –margin-(top|bot‐
tom|left|right) –no-eject-(file|formfeed) –spacing
[gs options] [files] gsbj [options] [files] gsdj [options] [files] gsdj500 [options] [files] gslj [options] [files]


This utility provides functionality approximately equivalent to the
Unix enscript 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.


Standard switches implemented:
-12BclqRr -b

-f -F -L -p

Sun switches implemented:
-T set tab width

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

Switches added:

add the given number of 1/72″ units to the width of each
space (may be negative)

add the given number of 1/72″ units to the width of each
character (may be negative)

print in columns

treat the file as PostScript if it starts with %!

start printing at page

kern using information from the given .AFM file

stop printing after page

set the heading/footing fields; use -B first to clear

set a margin

end-of-file/FF only starts a new column, not a new sheet

use double (n=2), triple (n=3), etc. spacing
Also, the string %# in a heading or footing is replaced with the page



This document was last revised for Ghostscript version 9.18.


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

9.18 5 October 2015 GSLP(1)