How can I use device options such as PostScript and Ghostscript and still specify the printer?
There are a couple of ways to do this. On UNIX, the most common way is to use the -P flag, which allows you to specify a printer. You can use this flag in combination with a Ghostscript or PostScript driver. For example, this command will print to a printer named Nike in Postscript format: print -PNike -dps On Windows, there is an option, -v, that allows the Print dialog box to open. Again, this can be used in conjunction with any device drivers. For example, print-v -dwinc allows you to choose a printer through the dialog box (the same dialog box that opens when you pull down the File menu and select Print) using the -dwinc driver. This command is most useful in GUI applications where the designer wants you to have flexibility in choosing a printer but to use a specific driver that MATLAB provides. For MATLAB 5.2 and earlier, please refer to the manual Using MATLAB Graphics for information on capturing printer ports. Please note that in MATLAB 5.3 (to be released in the future), the p