Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emulating print media in Internet Explorer

I am implementing printing of a web page that is originally displayed in Internet Explorer.

I would like to use the browser "Inspect Element" functionality when in print mode. So I would like to emulate print media, while still actually displaying the page in the browser.

Google Chrome has exactly this functionality.

Is this available in Internet Explorer. In particular, IE11?

like image 810
Klas Mellbourn Avatar asked Oct 14 '14 09:10

Klas Mellbourn


People also ask

How do I print with emulate CSS media?

Click the menu icon to choose tabs to open Select the “Rendering” tab Scroll to bottom of the “Rendering” tab options Choose print from the options for Emulate CSS media

How to print web pages in Internet Explorer 11?

When you are ready to print web pages in Internet Explorer 11 using the app version of Internet Explorer 11, click the “Print” button below the printing options. Print Web Pages in Internet Explorer 11: A picture of printing web pages in Internet Explorer 11 using the “App” version of Internet Explorer 11.

How do I use the print media query?

The print media query controls how your page looks when printed. To force your page into print preview mode: Press Control + Shift + P (Windows, Linux) or Command + Shift + P (macOS) to open the Command Menu. Type rendering, select the Show Rendering option, and press Enter. The Rendering panel opens in the Drawer.

How to fix Internet Explorer won't print preview?

Refer to the steps: 1 Open Internet Explorer, press ALT key and click on File option. 2 In the drop down list select Print Preview and change the page setup settings by clicking Settings button. 3 Restart the Internet Explorer the and check if it helps. More ...


1 Answers

I do not believe that IE11 currently supports the F12 developer tools in print preview.

I do not know whether such support is in the works, but you could consider adding a suggestion to IE platform suggestion box on UserVoice.

If you're looking to debug issues that only appear during printing, perhaps you could create a simpler case, add a DIV that displays debugging info, and then display your DIV using a print media stylesheet.

Hope this helps...

like image 186
Lance Leonard Avatar answered Sep 20 '22 14:09

Lance Leonard