Forums: Front End:

 

IE7 and print

first
 

poliguin IE7 and print

I don't know how familiar any of you are with printing on the web, but i have quite a problem.

The pages we need to print work just fine in every other browser, but in IE7 if i call window.print() it seems to default to "shrink to fit", causing everything to be shrunken - which stinks since there are bar codes.

I've been searching around and everything keeps bringing me back to forums.microsoft.com/MSDN/ShowPost.aspx?PostID=983052&SiteID=1 - which isn't very helpful since people are just posting snippets of code.

now has anyone come across this issue and found a solution that doesn't involve a hotfix?

var _oRLY = {HAI:function(){return this.KTHXBYE(); },KTHXBYE:function(){ return this.HAI();},init:function(){ this.HAI()};_oRLY.init()?'YARLY':'NOWAI';
quote
 

OvineWorrier

Wow.

Not got round to playing with this till tonight. I'd never noticed. How annoying.

Bleat for me, baby...
quote
 

poliguin

here's the f'd up thing.

i had it working - in all browsers except ie7. now i played with it and played with it and played with it more. basically the print job has the same thing printed twice with a message in between.

ie:
[top section]

message

[top section repeated]

btw, there's a patch for it - if you're one of the people smart enough to actually realize the "enhancement" (ms reps actually refer to the "scale to fit" as an enhancement). this patch allows the user to specify the default printing size to be something from the install default of "scale to fit". but the kicker is that if you're one of many people that prints from an iframe, the default for ie, not the patch, is used - ie, when printing from an iframe, the default is always going to be "scale to fit". lovely "enhancements"

it was eventually agreed upon to get rid of the print job on the bottom. once that was done away with all of a f'n sudden the job printed as it looked on the web. wtmf???????????????????

now i just need to adjust the containing element's cm based on browser, which is a hell of a lot easier.
bottom line - var headache = (web + print) ? true : false;

var _oRLY = {HAI:function(){return this.KTHXBYE(); },KTHXBYE:function(){ return this.HAI();},init:function(){ this.HAI()};_oRLY.init()?'YARLY':'NOWAI';
quote
 
first
 

Forums: Front End: IE7 and print

 
New Post
 
You must be logged in to post