Printing and Exporting Figures with MATLAB    

Types of Printer Drivers

There are two main types of MATLAB printer drivers: built-in MATLAB and Ghostscript. See the "Drivers" table in the reference pages for print for the complete list.

Built-in MATLAB drivers are written specifically for MATLAB and include Windows, PostScript, and HPGL. Ghostscript drivers use Ghostscript, a free software conversion program, to convert your figure into printer-model-specific instructions. Examples of Ghostscript drivers are Epson and HP.

How the Drivers Communicate with the Printer

The figure below shows how MATLAB uses the different types of drivers to communicate with the printer.

Windows Drivers.   Windows drivers communicate with native printer drivers, which in turn communicate with the printer. Native printer drivers come with your printer, are installed on your system, and work with the operating system. Trouble when using Windows drivers is frequently due to the native drivers. See Trouble with Native Drivers for more information.

PostScript, HPGL, and Ghostscript Drivers.   The PostScript, HPGL, and Ghostscript drivers all communicate directly with the printer.

Figure 1-1: How Different Drivers Communicate with the Printer


 Printer Drivers Choosing the Right Driver