| Using MATLAB Graphics | Search  Help Desk |
print command to the default printer on your system. If you want to send the output to a different printer, you can use the -P option. The syntax is:
print -PprinternameFor example, this command sends the output to a printer named "homer":
print -PhomerThis option does not work on MS-Windows systems, which print to whatever printer you have set as your default printer.