OnWorks favicon

gsdj - Online in the Cloud

Run gsdj in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gsdj that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



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


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]


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.


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:

--add-to-space <units>
add the given number of 1/72" units to the width of each space (may be

--add-to-width <units>
add the given number of 1/72" units to the width of each character (may be

--columns <n>
print in <n> columns

treat the file as PostScript if it starts with %!

--first-page <n>
start printing at page <n>

--kern <file.afm>
kern using information from the given .AFM file

--last-page <n>
stop printing after page <n>

--(heading|footing)-(left|center|right) <string>
set the heading/footing fields; use -B first to clear

--margin-(top|bottom|left|right) <inches>
set a margin

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

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

Use gsdj online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 2
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 3
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • 4
    UNetbootin allows you to create bootable
    Live USB drives for Ubuntu, Fedora, and
    other Linux distributions without
    burning a CD. It runs on Windows, Linux,
    and ...
    Download UNetbootin
  • 5
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM is an easy to use
    ERP and CRM open source software package
    (run with a web php server or as
    standalone software) for businesses,
    Download Dolibarr ERP - CRM
  • 6
    SQuirreL SQL Client
    SQuirreL SQL Client
    SQuirreL SQL Client is a graphical SQL
    client written in Java that will allow
    you to view the structure of a JDBC
    compliant database, browse the data in
    Download SQuirreL SQL Client
  • More »

Linux commands