Print with Internet Explorer
Updated 1 Sep 2016
This function drives Internet Explorer® via ActiveX®. It opens the URL, waits for the page to load, and issues a "print".
There's an arbitrary 5 second wait after issuing the print before the browser. If you close too soon, printing will fail. You may need to modify this pause for your environment.
== Usage Note from Laszlo Sragner ==
"It seems that the problem was that MATLAB® starts IE in Protected Mode:off state, but if IE was setup with PM:on it cannot access the web with this IE window. This can be set on Internet Securities Properties (checkbox at the bottom)."
Matthew Simoneau (2023). Print with Internet Explorer (https://www.mathworks.com/matlabcentral/fileexchange/21746-print-with-internet-explorer), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.