Borrar filtros
Borrar filtros

can i print file using its path or name?

2 visualizaciones (últimos 30 días)
Taral Shah
Taral Shah el 17 de Sept. de 2014
Comentada: dpb el 17 de Sept. de 2014
I am trying to print pdf file. Can anybody tell me how i can do that using PRINT command.
Thanks
  1 comentario
dpb
dpb el 17 de Sept. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by