Using MATLAB Graphics     Search    Help Desk 

Output Formats Created by Ghostscript

On Windows and UNIX systems, The MathWorks distributes with MATLAB a program called Ghostscript. Ghostscript is optionally used by MATLAB's print command to provide support for a variety of output devices that are not supported by MATLAB's built-in drivers. When you use a Ghostscript device, MATLAB generates a Level 1 PostScript file (either color or black and white, depending on the Ghostscript device), and then calls the appropriate Ghostscript driver, which converts the output to the specified format. This output is then saved to the filename you specify in the print command, or sent to the printer (if you do not specify a filename).

Ghostscript is copyrighted by Aladdin Enterprises and is provided under the terms of the Free Software Foundation's GNU General Public License. This license allows you to make and distribute copies of the Ghostscript files provided with MATLAB, namely the executable file gs and all other files found in the ghostscript directory, provided that you comply with the terms of the GNU General Public License. You will find a copy of this license in the file gsrights, which is part of the MATLAB distribution. This file, and the rights described therein, do not apply to the whole of, or any other part of, the MATLAB, Simulink, or toolbox programs.

The MathWorks will provide you with source code for Ghostscript if you so request. Ghostscript (including source code) is also available directly from the Free Software Foundation and from many sources on the Internet.

This table summarizes the Ghostscript device drivers provided with MATLAB.

Device
Description
-dlaserjet
HP LaserJet
-dljetplus
HP LaserJet+
-dljet2p
HP LaserJet IIP
-dljet3
HP LaserJet III
-ddeskjet
HP DeskJet and DeskJet Plus
-ddjet500
HP Deskjet 500
-dcdjmono
HP DeskJet 500C printing black only
-dcdjcolor
HP DeskJet 500C with 24 bit/pixel color and high-quality color (Floyd-Steinberg) dithering (UNIX only)
-dcdj500
HP DeskJet 500C (UNIX only)
-dcdj550
HP Deskjet 550C (UNIX only)
-dpaintjet
HP PaintJet color printer
-dpjxl
HP PaintJet XL color printer
-dpjetxl
HP PaintJet XL color printer
-dpjxl300
HP PaintJet XL300 color printer (UNIX only)
-ddnj650c
HP DesignJet 650C (UNIX only)
-dbj10e
Canon BubbleJet BJ10e
-dbj200
Canon BubbleJet BJ200
-dbjc600
Canon Color BubbleJet BJC-600 and BJC-4000
-dln03
DEC LN03 printer
-depson
Epson-compatible dot matrix printers (9- or 24-pin)
-depsonc
Epson LQ-2550 and Fujitsu 3400/2400/1200
-deps9high
Epson-compatible 9-pin, interleaved lines (triple resolution)
-dbmp256
8-bit (256-color) BMP file format
-dbmp16m
24-bit BMP file format
-dpcxmono
Monochrome PCX file format
-dpcx16
Older color PCX file format (EGA/VGA, 16-color)
-dpcx256
Newer color PCX file format (256-color)
-dpcx24b
24-bit color PCX file format, three 8-bit planes
-dpbm
Portable Bitmap (plain format)
-dpbmraw
Portable Bitmap (raw format)
-dpgm
Portable Graymap (plain format)
-dpgmraw
Portable Graymap (raw format)
-dppm
Portable Pixmap (plain format)
-dppmraw
Portable Pixmap (raw format)



[ Previous | Help Desk | Next ]