image thumbnail

Print with Internet Explorer

version 1.2.0.1 (1.63 KB) by Matthew Simoneau
Prints out a URL with Internet Explorer

2.4K Downloads

Updated 01 Sep 2016

View License

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)."

Cite As

Matthew Simoneau (2021). Print with Internet Explorer (https://www.mathworks.com/matlabcentral/fileexchange/21746-print-with-internet-explorer), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!