Azzera filtri
Azzera filtri

can i print file using its path or name?

2 visualizzazioni (ultimi 30 giorni)
Taral Shah
Taral Shah il 17 Set 2014
Commentato: dpb il 17 Set 2014
I am trying to print pdf file. Can anybody tell me how i can do that using PRINT command.
Thanks
  1 Commento
dpb
dpb il 17 Set 2014
A .pdf file on disk? Matlab afaik doesn't have a packaged printer driver for pdf files; you have two choices--
1) use open to open the file in pdf viewer and then use ActiveX to print or
2) install a freeware or Adobe pdf virtual printer device to which you can then direct print towards by using printopt
There is a third that's a slight variation of 2) -- submit an OS print command via system -- essentially just execute the command that would be given to printopt to send a file to the virtual printer above.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by