Print with Internet Explorer

Prints out a URL with Internet Explorer
2.4K Downloads
Updated 1 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 (2026). 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
Version Published Release Notes
1.2.0.1

Updated license

1.2.0.0

Add trademarks.

1.1.0.0

Usage update.

1.0.0.0