Effacer les filtres
Effacer les filtres

How to preset printer location for MATLAB to use without searching for one

4 vues (au cours des 30 derniers jours)
Hyung-Sik Kim
Hyung-Sik Kim le 4 Jan 2018
To print anything from MATLAB, it currently takes sometime to search the printers available. Can I preset MATLAB preference for printer path to use? If yes, what is the way?

Réponses (1)

Vishwas Kumar
Vishwas Kumar le 9 Jan 2018
You need to set up default printer in your operating system as MATLAB accesses the defaults to figure out where to print, if no defaults are found, it tries to search for printers.
The output of " printopt " should show if you have a default printer set up. For Windows, I believe it uses the default printer set up in Control Panel -> hardware and sound -> Devices and Printers. For Mac and Linux , it uses the output of
lpr -r
Have a look at the printopts.m file to get a better idea of how MATLAB is handling this.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by