Technical Solutions
How does MATLAB choose the default printer on Unix/Linux machines?
Date Last Modified: Friday, June 26, 2009
| Solution ID: | 1-1A8XJ | |
| Product: | MATLAB | |
| Reported in Release: | R13 | |
| Platform: | UNIX | |
| Operating System: | UNIX Any |
Subject:
How does MATLAB choose the default printer on Unix/Linux machines?
Problem Description:
How does MATLAB choose the default printer on Unix/Linux machines?
I would like to know how MATLAB determines the default printer, so I know what environment variables to change, or files to modify.
Solution:By default, MATLAB uses the printer specified in the 'cmd' variable output from PRINTOPT (if one is specified). If there isn't a printer specified in printopt.m, then the LPDEST and PRINTER environment variables are checked. |
|
|
Store

