Using ghostscript
Mini-index:
Ghostscript can convert a postscript file to other graphics file formats.
You can run ghostscript like this:
gs -dNOPAUSE options files... quit.ps
Where options include
- -sDEVICE=devicetype
- to select desired output format
- -sOutputFile=filename
- to select output filename
- -r#
- where # is the resolultion of your printer in dpi if multiple
resolutions are supported
For example:
gs -dNOPAUSE -sDEVICE=laserjet -r150 -sOutputFile=myfile.lj myfile.ps quit.ps
If you are not printing in 370, you may want to copy your file to
a floppy disk.
If the printer is attached to a msdos machine, copy it to the printer with:
Ghostscript 3.53 supports all of the printers, devices, and file formats
listed below. Those listed as supported are currently compiled into
the installed executable.
The following printers are supported:
- deskjet
- H-P DeskJet and DeskJet Plus
- djet500
- H-P DeskJet 500; use -r600 for DJ 600 series
- laserjet
- H-P LaserJet
- ljet2p
- H-P LaserJet IId/IIp/III* with TIFF compression
- ljet3
- H-P LaserJet III* with Delta Row compression
- ljet4
- H-P LaserJet 4 (defaults to 600 dpi)
- ljetplus
- H-P LaserJet Plus
- lj5mono
- H-P LaserJet 5 & 6 family (PCL XL), bitmap:
- lj5gray
- H-P LaserJet 5 & 6 family, gray-scale bitmap;
- bj10e
- Canon BubbleJet BJ10e
- bj200
- Canon BubbleJet BJ200
- bjc600
- Canon Color BubbleJet BJC-600, BJC-4000 and BJC-70
- bjc800
- Canon Color BubbleJet BJC-800
- cdeskjet
- H-P DeskJet 500C with 1 bit/pixel color
- cdjcolor
- H-P DeskJet 500C with 24 bit/pixel color and
high-quality color (Floyd-Steinberg) dithering;
also good for DeskJet 540C and Citizen Projet IIc (-r200x300)
- cdjmono
- H-P DeskJet 500C printing black only;
also good for DeskJet 510, 520, and 540C (black only)
- epson
- Epson-compatible dot matrix printers (9- or 24-pin)
- eps9mid
- Epson-compatible 9-pin, interleaved lines
(intermediate resolution)
- eps9high
- Epson-compatible 9-pin, interleaved lines
(triple resolution)
- epsonc
- Epson LQ-2550 and Fujitsu 3400/2400/1200 color printers
- pj
- H-P PaintJet XL driver
- pjxl
- H-P PaintJet XL color printer
- pjxl300
- H-P PaintJet XL300 color printer;
- sparc
- SPARCprinter
- uniprint
- Unified printer driver -- Configurable Color ESC/P-,
ESC/P2-, HP-RTL/PCL mono/color driver
The following file formats are supported:
- epswrite
- EPS output (like PostScript Distillery)
- pdfwrite
- PDF output (like Adobe Acrobat Distiller)
- pswrite
- PostScript output (like PostScript Distillery)
- pxlmono
- Black-and-white PCL XL
- pxlcolor
- Color PCL XL
- bit
- Plain bits, monochrome
- bitrgb
- Plain bits, RGB
- bitcmyk
- Plain bits, CMYK
- bmpmono
- Monochrome MS Windows .BMP file format
- bmp16
- 4-bit (EGA/VGA) .BMP file format
- bmp256
- 8-bit (256-color) .BMP file format
- bmp16m
- 24-bit .BMP file format
X
- cgmmono
- Monochrome (black-and-white) CGM -- LOW LEVEL OUTPUT ONLY
X
- cgm8
- 8-bit (256-color) CGM -- DITTO
X
- cgm24
- 24-bit color CGM -- DITTO
- jpeg
- JPEG format, RGB output
- jpeggray
- JPEG format, gray output
- miff24
- ImageMagick MIFF format, 24-bit direct color, RLE compressed
- pcxmono
- PCX file format, monochrome (1-bit black and white)
- pcxgray
- PCX file format, 8-bit gray scale
- pcx16
- PCX file format, 4-bit planar (EGA/VGA) color
- pcx256
- PCX file format, 8-bit chunky color
- pcx24b
- PCX file format, 24-bit color (3 8-bit planes)
- pcxcmyk
- PCX file format, 4-bit chunky CMYK color
- pbm
- Portable Bitmap (plain format)
- pbmraw
- Portable Bitmap (raw format)
- pgm
- Portable Graymap (plain format)
- pgmraw
- Portable Graymap (raw format)
- pgnm
- Portable Graymap (plain format), optimizing to PBM if possible
- pgnmraw
- Portable Graymap (raw format), optimizing to PBM if possible
- pnm
- Portable Pixmap (plain format) (RGB), optimizing to PGM or PBM
- pnmraw
- Portable Pixmap (raw format) (RGB), optimizing to PGM or PBM
- ppm
- Portable Pixmap (plain format) (RGB)
- ppmraw
- Portable Pixmap (raw format) (RGB)
- pkm
- Portable inKmap (plain format) (4-bit CMYK => RGB)
- pkmraw
- Portable inKmap (raw format) (4-bit CMYK => RGB)
X
- plan9bm
- Plan 9 bitmap format
- pngmono
- Monochrome Portable Network Graphics (PNG)
- pnggray
- 8-bit gray Portable Network Graphics (PNG)
- png16
- 4-bit color Portable Network Graphics (PNG)
- png256
- 8-bit color Portable Network Graphics (PNG)
- png16m
- 24-bit color Portable Network Graphics (PNG)
- psmono
- PostScript (Level 1) monochrome image
- psgray
- PostScript (Level 1) 8-bit gray image
- psrgb
- PostScript (Level 2) 24-bit color image
- tiff12nc
- TIFF 12-bit RGB, no compression
- tiff24nc
- TIFF 24-bit RGB, no compression (NeXT standard format)
- tifflzw
- TIFF LZW (tag = 5) (monochrome)
- tiffpack
- TIFF PackBits (tag = 32773) (monochrome)
- faxg3
- Group 3 fax, with EOLs but no header or EOD
- faxg32d
- Group 3 2-D fax, with EOLs but no header or EOD
- faxg4
- Group 4 fax, with EOLs but no header or EOD
- tiffcrle
- TIFF "CCITT RLE 1-dim" (= Group 3 fax with no EOLs)
- tiffg3
- TIFF Group 3 fax (with EOLs)
- tiffg32d
- TIFF Group 3 2-D fax
- tiffg4
- TIFF Group 4 fax
The following graphic displays are supported:
- x11
- X Windows version 11 [default]
- x11alpha
- X Windows masquerading as a device with alpha capability
- x11cmyk
- X Windows masquerading as a 1-bit-per-plane CMYK device
- x11gray2
- X Windows as a 2-bit gray-scale device
- x11gray4
- X Windows as a 4-bit gray-scale device
- x11mono
- X Windows masquerading as a black-and-white device
- cljet5
- H-P Color LaserJet 5/5M
- ljet3d
- H-P LaserJet IIID with duplex capability
- lp2563
- H-P 2563B line printer
- oce9050
- OCE 9050 printer
- ap3250
- Epson AP3250 printer
- appledmp
- Apple Dot Matrix Printer (should also work with Imagewriter)
- ccr
- CalComp Raster format
- cdj500
- H-P DeskJet 500C (same as cdjcolor)
- cdj550
- H-P DeskJet 550C/560C/660C/660Cse
- cp50
- Mitsubishi CP50 color printer
- declj250
- alternate DEC LJ250 driver
- djet500c
- H-P DeskJet 500C alternate driver
(does not work on 550C or 560C)
- dnj650c
- H-P DesignJet 650C
- hl7x0
- Brother HL 720 and HL 730 (HL 760 is PCL compliant)
- ibmpro
- IBM 9-pin Proprinter
- imagen
- Imagen ImPress printers
- iwhi
- Apple Imagewriter in high-resolution mode
- iwlo
- Apple Imagewriter in low-resolution mode
- iwlq
- Apple Imagewriter LQ in 320 x 216 dpi mode
- jetp3852
- IBM Jetprinter ink-jet color printer (Model #3852)
- la50
- DEC LA50 printer
- la70
- DEC LA70 printer
- la70t
- DEC LA70 printer with low-resolution text enhancement
- la75
- DEC LA75 printer
- la75plus
- DEC LA75plus printer
- lbp8
- Canon LBP-8II laser printer
- lips3
- Canon LIPS III laser printer in English (CaPSL) mode
- ln03
- DEC LN03 printer
- lj250
- DEC LJ250 Companion color printer
- lj4dith
- H-P LaserJet 4 with Floyd-Steinberg dithering
- lp8000
- Epson LP-8000 laser printer
- lq850
- Epson LQ850 printer at 360 x 360 DPI resolution;
- also
- good for Canon BJ300 with LQ850 emulation
- m8510
- C.Itoh M8510 printer
- necp6
- NEC P6/P6+/P60 printers at 360 x 360 DPI resolution
- nwp533
- Sony Microsystems NWP533 laser printer [Sony only]
- oki182
- Okidata MicroLine 182
- okiibm
- Okidata MicroLine IBM-compatible printers
- paintjet
- alternate H-P PaintJet color printer
- pjetxl
- alternate H-P PaintJet XL driver
- also
- good for PaintJet 1200C and CopyJet
- r4081
- Ricoh 4081 laser printer
- sj48
- StarJet 48 inkjet printer
- st800
- Epson Stylus 800 printer
- stcolor
- Epson Stylus Color
- t4693d2
- Tektronix 4693d color printer, 2 bits per R/G/B component
- t4693d4
- Tektronix 4693d color printer, 4 bits per R/G/B component
- t4693d8
- Tektronix 4693d color printer, 8 bits per R/G/B component
- tek4696
- Tektronix 4695/4696 inkjet plotter
- xes
- Xerox XES printers (2700, 3700, 4045, etc.)
- Fax
- systems:
- dfaxhigh
- DigiBoard, Inc.'s DigiFAX software format (high resolution)
- dfaxlow
- DigiFAX low (normal) resolution
The following file formats are not supported but could be added:
- cif
- CIF file format for VLSI
- inferno
- Inferno bitmaps
- mgrmono
- 1-bit monochrome MGR devices
- mgrgray2
- 2-bit gray scale MGR devices
- mgrgray4
- 4-bit gray scale MGR devices
- mgrgray8
- 8-bit gray scale MGR devices
- mgr4
- 4-bit (VGA) color MGR devices
- mgr8
- 8-bit color MGR devices
- sgirgb
- SGI RGB pixmap format
SSD 5-Aug-96