Issue printing with internet explorer 10, 11

Hello,

I have a problem with the internet explorer 10,11 printing quality.

I have a simple asp.net program that generate barecode in a bmp picture. those picture are displayed and the users print them.

With internet explorer 8 and 9, the barcode are readable by the scanner.

With the higher versions of internet explorer, the barcode are not readable.

You can see it in the following picture (printed on the same printer but with different versions of ie, red are wrong, green are correct)

Any idea of the problem source? any tricks to resolve the issues?

thx a lot.

Benjamin Cappon

August 28th, 2015 12:55pm

Hi,

Start>Run>Dxdiag

ensure you have updated (windows update)

Try also

Start>Control Panel>Display>Adjust Clear Type text

review your html markup for the barcode image. It should be using css for sizing, not the height or width attributes.

eg. <div style="width:50%;margin:auto"><img src="bcode.png" style="width:100%"/></div>

so that the natural aspect ration (ratio of the image's native width to height) is maintained.

not <img src="bcode.png" width="200" height="100"/>.

Post questions about html, css and scripting for web site development to http://stackoverflow.com. If possible include with your questions a link to your website or a mashup (jsfiddle.com) that shows the issue.

Regards.

Free Windows Admin Tool Kit Click here and download it now
August 29th, 2015 3:20am

Are you sure that shot marked IE9 isn't also from IE8 inadvertently?  IE8 used something called "-ms-interpolation-mode" for image smoothing.  It was removed from IE9.  And just recently, the msdn article that said so has been removed too.

http://msdn.microsoft.com/en-us/library/ie/ms530822(v=vs.85).aspx

 

Well, this is very confusing.  Here it is.  Sort of.

https://msdn.microsoft.com/en-us/library/Ff521095(v=VS.85).aspx

 

And here too.  Sort of.

http://help.dottoro.com/lcasdhhx.php

 

Kind of hide-and-seek, eh?  Anyway.  Here's a recent MS-Connect discussion about "-ms-interpolation-mode".  Check the screenshots there.  It's amazing, the difference.

https://connect.microsoft.com/IE/feedback/details/1014683/poor-down-sample-of-images-since-ie9

 

I think the fellow who posted just before me must have forgotten about it, or something.

https://social.msdn.microsoft.com/Forums/ie/en-US/82f7db90-88af-42be-a632-aa07ee674307/poor-quality-downsized-image-in-ie9




I think he may also have forgotten that ClearType applies only to text, not BMP bitmap images, or something.

  • Edited by mm 5 hours 2 minutes ago
  • Proposed as answer by mm 1 hour 52 minutes ago
August 29th, 2015 4:59pm

Also, there was formerly a "-ms-filter" css setting.  It was removed from IE10.

 

https://msdn.microsoft.com/en-us/library/ms530752(v=vs.85).aspx  -ms-filter property

https://msdn.microsoft.com/en-us/library/ms532853(v=vs.85).aspx  Visual Filters and Transitions Ref

https://msdn.microsoft.com/en-us/library/ms533004(v=vs.85).aspx  ICMFilter Filter

 

From those docs, the recommended setting for printing this kind of graphics was with this css:

style="filter:progid:DXImageTransform.Microsoft.ICMFilter(Intent=Graphic)"

 

That would no longer work, with IE10 and IE11.  So, maybe that's it.
 

--------

 

btw.  That obsoleted ms-proprietary filter property should not be confused with the W3C Standards filter property.  Here is a recent msdn thread, (featuring the person who posted just before me), which discusses the new one.  Just for comparison.

https://social.msdn.microsoft.com/Forums/en-US/3c7b2e81-523d-45cd-8150-7e50e1538a73/css-filter-in-microsoft-edge

 

Here's another one dating back to 2010 (again with our featured spokesman), which illustrates three filter variants.  Complete with lectures about security zones, validation, feature-detection, everything except what the OP asked about.  At least, that's what the OP said twice.

https://social.msdn.microsoft.com/Forums/ie/en-US/c5ee5068-39d2-4625-b80e-cf25114bb610/howto-determine-differences-of-a-users-ie-browser

  • Edited by mm 1 hour 53 minutes ago
  • Proposed as answer by mm 1 hour 52 minutes ago
Free Windows Admin Tool Kit Click here and download it now
August 31st, 2015 12:36am

I've also tested opening the picture with internet (not the html but only the picture), no css, no resizing and the problem is the same...

@yo mama: the screenshot / version is correct

thx

August 31st, 2015 3:37am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics