Code covered by the BSD License  

Highlights from
Print with Internet Explorer

5.0

5.0 | 3 ratings Rate this file 15 Downloads (last 30 days) File Size: 1.63 KB File ID: #21746

Print with Internet Explorer

by

 

14 Oct 2008 (Updated )

Prints out a URL with Internet Explorer

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7.6 (R2008a)
Other requirements Windows Internet Explorer
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
17 Aug 2011 mohammed

perfect

16 Oct 2009 port tracker

One more request, if I may - Is it possible to print only the document of the web, not the entire page (I think it's done in document.write() method in javascript but have no idea how to integrate it with the above code).

Thanks again,
porter

16 Oct 2009 port tracker

excellent work, really helped me !
Is it possible to create the same function also with firefox? (the problem with the protected zone in IE is a bit bothering)

Thanks,
porter

Updates
17 Feb 2009

Usage update.

04 Jan 2010

Add trademarks.

Contact us