Print with Internet Explorer

Prints out a URL with Internet Explorer


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 (2023). 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!
Version Published Release Notes

Updated license

Add trademarks.

Usage update.